survey-creator-react 1.9.2-beta.1 → 1.9.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/survey-creator-react.css +72 -24
- package/survey-creator-react.d.ts +159 -116
- package/survey-creator-react.js +934 -731
- package/survey-creator-react.min.css +70 -22
- package/survey-creator-react.min.js +21 -21
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.3-beta.1
|
|
3
3
|
* (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
6
6
|
*/
|
|
7
7
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("survey-react-ui"),require("survey-core"),require("react-dom")):"function"==typeof define&&define.amd?define("SurveyCreator",["react","survey-react-ui","survey-core","react-dom"],t):"object"==typeof exports?exports.SurveyCreator=t(require("react"),require("survey-react-ui"),require("survey-core"),require("react-dom")):e.SurveyCreator=t(e.React,e.SurveyReact,e.Survey,e.ReactDOM)}(this,(function(e,t,i,o){return function(e){var t={};function i(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(o,r,function(t){return e[t]}.bind(null,r));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=6)}([function(t,i){t.exports=e},function(e,i){e.exports=t},function(e,t,i){
|
|
8
8
|
/*!
|
|
9
|
-
* SurveyJS Creator v1.9.
|
|
9
|
+
* SurveyJS Creator v1.9.3-beta.1
|
|
10
10
|
* (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
11
11
|
* Github: https://github.com/surveyjs/survey-creator
|
|
12
12
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -149,7 +149,7 @@ License: MIT
|
|
|
149
149
|
/*!***************************************************!*\
|
|
150
150
|
!*** ./src/components/side-bar/side-bar-model.ts ***!
|
|
151
151
|
\***************************************************/
|
|
152
|
-
/*! exports provided: SideBarModel */function(e,t,i){"use strict";i.r(t),i.d(t,"SideBarModel",(function(){return u}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../../settings */"./src/settings.ts"),a=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ./side-bar-tab-model */"./src/components/side-bar/side-bar-tab-model.ts"),l=i(/*! ../../utils/resizer */"./src/utils/resizer.ts"),u=function(e){function t(t,i,o){void 0===i&&(i=function(){n.creator.showPropertyGrid=!1}),void 0===o&&(o=function(){n.creator.showPropertyGrid=!0});var n=e.call(this)||this;return n.creator=t,n.collapseAction=i,n.expandAction=o,n.toolbar=new r.AdaptiveActionContainer,n.onPropertyGridVisibilityChanged=function(e,t){n.isDisposed||(n.visible=t.show)},n.creator.onShowPropertyGridVisiblityChanged.add(n.onPropertyGridVisibilityChanged),n.creator.onPropertyChanged.add((function(e,t){"sideBarLocation"===t.name&&n.resizeManager.setHandles(n.getCurrentHandles())})),n.visible=n.creator.showPropertyGrid,n.createActions(),n}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"flyoutPanelMode",{get:function(){return this.visible&&this.flyoutMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeText",{get:function(){return Object(a.getLocString)("pe.close")},enumerable:!1,configurable:!0}),t.prototype.getTabById=function(e){return this.tabs.filter((function(t){return t.id===e}))[0]},t.prototype.createActions=function(){var e=this;n.settings.propertyGrid.allowCollapse&&(this._collapseAction=new r.Action({id:"svd-grid-hide",iconName:"icon-collapse-panel",css:"svd-grid-hide",title:Object(a.getLocString)("ed.hidePanel"),showTitle:!1,visible:new r.ComputedUpdater((function(){return e.visible})),action:function(){e.
|
|
152
|
+
/*! exports provided: SideBarModel */function(e,t,i){"use strict";i.r(t),i.d(t,"SideBarModel",(function(){return u}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../../settings */"./src/settings.ts"),a=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ./side-bar-tab-model */"./src/components/side-bar/side-bar-tab-model.ts"),l=i(/*! ../../utils/resizer */"./src/utils/resizer.ts"),u=function(e){function t(t,i,o){void 0===i&&(i=function(){n.creator.showPropertyGrid=!1}),void 0===o&&(o=function(){n.creator.showPropertyGrid=!0});var n=e.call(this)||this;return n.creator=t,n.collapseAction=i,n.expandAction=o,n.toolbar=new r.AdaptiveActionContainer,n.onPropertyGridVisibilityChanged=function(e,t){n.isDisposed||(n.visible=t.show)},n.creator.onShowPropertyGridVisiblityChanged.add(n.onPropertyGridVisibilityChanged),n.creator.onPropertyChanged.add((function(e,t){"sideBarLocation"===t.name&&n.resizeManager&&n.resizeManager.setHandles(n.getCurrentHandles())})),n.visible=n.creator.showPropertyGrid,n.createActions(),n}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"flyoutPanelMode",{get:function(){return this.visible&&this.flyoutMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeText",{get:function(){return Object(a.getLocString)("pe.close")},enumerable:!1,configurable:!0}),t.prototype.getTabById=function(e){return this.tabs.filter((function(t){return t.id===e}))[0]},t.prototype.createActions=function(){var e=this;n.settings.propertyGrid.allowCollapse&&(this._collapseAction=new r.Action({id:"svd-grid-hide",iconName:"icon-collapse-panel",css:"svd-grid-hide",title:Object(a.getLocString)("ed.hidePanel"),showTitle:!1,visible:new r.ComputedUpdater((function(){return e.visible})),action:function(){e.collapseSideBar()}}),this.toolbar.actions.push(this._collapseAction),this._expandAction=new r.Action({id:"svd-grid-expand",iconName:"icon-expand-panel",css:"svd-grid-expand",needSeparator:!0,action:function(){e.expandSideBar()},title:Object(a.getLocString)("ed.showPanel"),visible:new r.ComputedUpdater((function(){var t=!e.visible;return e.hasVisibleTabs&&t})),showTitle:!1}))},t.prototype.getCurrentHandles=function(){return"right"==this.creator.sideBarLocation?"w":"e"},t.prototype.getExpandAction=function(){return this._expandAction},t.prototype.collapseSideBar=function(){this.collapseAction?this.collapseAction():this.visible=!1},t.prototype.expandSideBar=function(){this.expandAction?this.expandAction():this.visible=!0},t.prototype.addTab=function(e,t,i,o){var r=this,n=new s.SideBarTabModel(e,this,t,i);return this.tabs.push(n),o&&(o()||[]).forEach((function(e){return r.toolbar.actions.push(e)})),n},t.prototype.updateHasVisibleTabs=function(){this.hasVisibleTabs=(this.tabs||[]).filter((function(e){return e.visible})).length>0},t.prototype.dispose=function(){this.creator&&!this.isDisposed&&this.creator.onShowPropertyGridVisiblityChanged.remove(this.onPropertyGridVisibilityChanged),e.prototype.dispose.call(this)},t.prototype.initResizeManager=function(e){this.resizeManager=new l.ResizeManager(e,this.getCurrentHandles())},t.prototype.resetResizeManager=function(){this.resizeManager&&(this.resizeManager.dispose(),this.resizeManager=void 0)},Object(o.__decorate)([Object(r.propertyArray)()],t.prototype,"tabs",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"headerText",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"visible",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"hasVisibleTabs",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"flyoutMode",void 0),Object(o.__decorate)([Object(r.property)({onSet:function(e,t){t.tabs.forEach((function(e){return e.visible=!1})),t._activeTab=t.tabs.filter((function(t){return t.id===e}))[0],t._activeTab&&(t.headerText=t._activeTab.caption,t._activeTab.visible=!0)}})],t.prototype,"activeTab",void 0),t}(r.Base)},"./src/components/side-bar/side-bar-tab-model.ts":
|
|
153
153
|
/*!*******************************************************!*\
|
|
154
154
|
!*** ./src/components/side-bar/side-bar-tab-model.ts ***!
|
|
155
155
|
\*******************************************************/
|
|
@@ -253,7 +253,7 @@ License: MIT
|
|
|
253
253
|
/*!*****************************************!*\
|
|
254
254
|
!*** ./src/components/tabs/logic-ui.ts ***!
|
|
255
255
|
\*****************************************/
|
|
256
|
-
/*! exports provided: SurveyLogicUI */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyLogicUI",(function(){return m}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../../property-grid/condition-survey */"./src/property-grid/condition-survey.ts"),a=i(/*! ../../settings */"./src/settings.ts"),s=i(/*! ./logic-item-editor */"./src/components/tabs/logic-item-editor.ts"),l=i(/*! ./logic-types */"./src/components/tabs/logic-types.ts"),u=i(/*! ./logic */"./src/components/tabs/logic.ts"),c=i(/*! ../../property-grid/index */"./src/property-grid/index.ts"),d=i(/*! ../../utils/actions */"./src/utils/actions.ts"),p=(i(/*! ./logic-ui.scss */"./src/components/tabs/logic-ui.scss"),i(/*! ./logic-theme */"./src/components/tabs/logic-theme.ts")),m=function(e){function t(t,i){void 0===i&&(i=null);var o=e.call(this,t,i)||this;return o.survey=t,o.options=i,o.itemUIHash={},o.options||(o.options=new a.EmptySurveyCreatorOptions),o.setupToolbarItems(),o.update(),o}return Object(o.__extends)(t,e),t.prototype.update=function(t,i){var o=this;void 0===t&&(t=null),void 0===i&&(i=null),e.prototype.update.call(this,t,i);var r=this.options.createSurvey(this.getLogicItemSurveyJSON(),"logic-items");r.css=p.logicCss,this.itemsSurveyValue=r,this.itemsSurvey.onMatrixRowRemoving.add((function(e,t){var i=o.visibleItems[t.rowIndex];t.allow=o.canRemoveItem(i)})),this.itemsSurvey.onMatrixRowRemoved.add((function(e,t){var i=o.visibleItems[t.rowIndex],r=i===o.editableItem;o.removeItem(i,!1),r&&(o.mode="view",o.updateNewActionState()),o.expressionEditorCanShowBuilder=!!o.editableItem})),this.itemsSurvey.onGetMatrixRowActions.add((function(e,t){o.readOnly||Object(d.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),this.updateItemsSurveyData()},t.prototype.dispose=function(){for(var t in e.prototype.dispose.call(this),this.itemUIHash){var i=this.itemUIHash[t];i.expressionEditor.dispose(),i.itemEditor.dispose()}this.itemUIHash={}},t.prototype.addNewUI=function(){0!=this.items.length&&this.items[this.items.length-1].isNew||this.addNew(),this.matrixItems.visibleRows[this.matrixItems.visibleRows.length-1].showDetailPanel()},t.prototype.toggleExpressionEditorIsFastEntry=function(){this.expressionEditorIsFastEntry=!this.expressionEditorIsFastEntry,this.expressionEditor&&this.expressionEditor.setIsFastEntry(this.expressionEditorIsFastEntry)},t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"items"===t&&this.updateItemsSurveyData()},Object.defineProperty(t.prototype,"expressionEditor",{get:function(){return this.expressionEditorValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemEditor",{get:function(){return this.itemEditorValue},enumerable:!1,configurable:!0}),t.prototype.getExpressionEditor=function(e){return this.getLogicItemUI(e).expressionEditor},t.prototype.getLogicItemEditor=function(e){return this.getLogicItemUI(e).itemEditor},t.prototype.getLogicItemUI=function(e){var t=this.itemUIHash[e.id];return t||((t={expressionEditor:this.createExpressionPropertyEditor(),itemEditor:new s.LogicItemEditor(e,this.options)}).expressionEditor.text=e.expression,this.itemUIHash[e.id]=t),t},Object.defineProperty(t.prototype,"expressionSurvey",{get:function(){return this.expressionEditor.editSurvey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemEditorSurvey",{get:function(){return this.itemEditor.editSurvey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemsSurvey",{get:function(){return this.itemsSurveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){return this.items.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixItems",{get:function(){return this.itemsSurvey.getQuestionByName("items")},enumerable:!1,configurable:!0}),t.prototype.onStartEditing=function(){e.prototype.onStartEditing.call(this),this.expressionEditorValue=this.getExpressionEditor(this.editableItem),this.itemEditorValue=this.getLogicItemEditor(this.editableItem),this.expressionEditorIsFastEntry=!1,this.expressionEditor.setIsFastEntry(this.expressionEditorIsFastEntry),this.expressionEditorCanShowBuilder=n.ConditionEditor.canBuildExpression(this.expressionEditor.text)},t.prototype.onEndEditing=function(){this.editableItem&&(this.editableItem.isModified=!!this.itemEditor&&!!this.expressionEditor&&(this.itemEditor.isModified||this.expressionEditor.isModified(this.editableItem.expression))),e.prototype.onEndEditing.call(this),this.expressionEditorValue=null,this.itemEditorValue=null},t.prototype.onEditableItemApply=function(){this.expressionEditor.apply(),this.itemEditor.apply(),this.editableItem.apply(this.expressionEditor.text),this.editableItem.actions.length!=this.itemEditor.panels.length&&this.itemEditor.setEditableItem(this.editableItem),this.itemEditor.resetModified(),this.editableItem.isNew=!1,this.editableItem.isSuitable(this.questionFilter,this.actionTypeFilter)?this.updateItemsSurveyData():(this.questionFilter="",this.actionTypeFilter="")},t.prototype.hasErrorInUI=function(){return this.expressionEditor.isReady?!!this.itemEditor.hasErrors()&&(this.errorText=Object(l.getLogicString)("actionInvalid"),this.survey.creator&&this.survey.creator.notify(this.errorText,"error"),!0):(this.errorText=Object(l.getLogicString)("expressionInvalid"),this.survey.creator&&this.survey.creator.notify(this.errorText,"error"),!0)},t.prototype.getExpressionText=function(){return this.expressionEditor.text},t.prototype.getEditingActions=function(){return this.itemEditor.getEditingActions()},t.prototype.getLogicItemSurveyJSON=function(){var e={elements:[{type:"matrixdynamic",name:"items",titleLocation:"hidden",detailPanelMode:"underRowSingle",allowAddRows:!1,allowAdaptiveActions:!1,rowCount:0,showHeader:!1,columns:[{cellType:"linkvalue",name:"conditions",title:this.getLocString("ed.lg.conditions")},{cellType:"linkvalue",name:"actions",title:this.getLocString("ed.lg.actions")}]}]};return Object(c.setSurveyJSONForPropertyGrid)(e),e},t.prototype.createExpressionPropertyEditor=function(){var e=this,t=new n.ConditionEditor(this.survey,null,this.options);return t.isModal=!1,t.editSurvey.onValueChanged.add((function(t,i){"textEditor"===i.name&&(e.expressionEditorCanShowBuilder=n.ConditionEditor.canBuildExpression(i.value))})),t},t.prototype.getVisibleItems=function(){var e=this;return this.items.filter((function(t){return t.isNew||t.isSuitable(e.questionFilter,e.actionTypeFilter)}))},t.prototype.updateItemsSurveyData=function(){var e=this;if(this.itemsSurvey){var t=[];this.visibleItems=this.getVisibleItems();for(var i=0;i<this.visibleItems.length;i++)t.push({conditions:this.visibleItems[i].expressionText,actions:this.visibleItems[i].actionsText});this.matrixItems.onHasDetailPanelCallback=function(e){return!0},this.matrixItems.onCreateDetailPanelCallback=function(t,i){t.onDetailPanelShowingChanged=function(){if(e.expressionEditorCanShowBuilder=t.isDetailPanelShowing,t.isDetailPanelShowing){if("view"===e.mode){var o=e.visibleItems[t.rowIndex-1];e.editItem(o)}var r=i.getQuestionByName("conditions"),n=i.getQuestionByName("actions");r.embeddedSurvey=e.expressionEditor.editSurvey,n.embeddedSurvey=e.itemEditorValue.editSurvey,e.updateRowIsAdditionalClasses(t.rowIndex-1,!1)}else e.mode="view",e.updateRenderedRows();e.updateNewActionState()},i.addNewQuestion("embeddedsurvey","conditions"),i.addNewQuestion("embeddedsurvey","actions"),i.footerActions.push({id:"saveDetailPanel",innerCss:"sl-panel__done-button",title:e.getLocString("pe.doneEditing"),action:function(){e.saveEditableItem()&&t.hideDetailPanel(!0)}})},this.matrixItems.onCellCreatedCallback=function(e){e.cell.question.linkClickCallback=function(){e.row.isDetailPanelShowing?e.row.hideDetailPanel():e.row.showDetailPanel()},e.cell.question.showClear=!1,e.cell.question.allowClear=!1},this.matrixItems.value=t,this.updateRenderedRows()}},t.prototype.updateRenderedRows=function(){var e=this;this.visibleItems.forEach((function(t,i){e.updateRowIsAdditionalClasses(i,e.visibleItems[i].isModified||e.visibleItems[i].isNew)}))},t.prototype.updateRowIsAdditionalClasses=function(e,t){this.matrixItems.renderedTable&&(this.matrixItems.renderedTable.rows[e].isAdditionalClasses=t)},t.prototype.updateNewActionState=function(){this.addNewButton.enabled="new"!==this.mode},t.prototype.setupToolbarItems=function(){var e=this;this.addNewButton=new r.Action({id:"svd-logic-addNew",title:this.addNewText,tooltip:this.addNewText,component:"sv-action-bar-item",enabled:!0,action:function(){e.addNewUI()}})},Object.defineProperty(t.prototype,"addNewText",{get:function(){
|
|
256
|
+
/*! exports provided: SurveyLogicUI */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyLogicUI",(function(){return m}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../../property-grid/condition-survey */"./src/property-grid/condition-survey.ts"),a=i(/*! ../../settings */"./src/settings.ts"),s=i(/*! ./logic-item-editor */"./src/components/tabs/logic-item-editor.ts"),l=i(/*! ./logic-types */"./src/components/tabs/logic-types.ts"),u=i(/*! ./logic */"./src/components/tabs/logic.ts"),c=i(/*! ../../property-grid/index */"./src/property-grid/index.ts"),d=i(/*! ../../utils/actions */"./src/utils/actions.ts"),p=(i(/*! ./logic-ui.scss */"./src/components/tabs/logic-ui.scss"),i(/*! ./logic-theme */"./src/components/tabs/logic-theme.ts")),m=function(e){function t(t,i){void 0===i&&(i=null);var o=e.call(this,t,i)||this;return o.survey=t,o.options=i,o.itemUIHash={},o.options||(o.options=new a.EmptySurveyCreatorOptions),o.setupToolbarItems(),o.update(),o}return Object(o.__extends)(t,e),t.prototype.update=function(t,i){var o=this;void 0===t&&(t=null),void 0===i&&(i=null),e.prototype.update.call(this,t,i);var r=this.options.createSurvey(this.getLogicItemSurveyJSON(),"logic-items");r.css=p.logicCss,this.itemsSurveyValue=r,this.itemsSurvey.onMatrixRowRemoving.add((function(e,t){var i=o.visibleItems[t.rowIndex];t.allow=o.canRemoveItem(i)})),this.itemsSurvey.onMatrixRowRemoved.add((function(e,t){var i=o.visibleItems[t.rowIndex],r=i===o.editableItem;o.removeItem(i,!1),r&&(o.mode="view",o.updateNewActionState()),o.expressionEditorCanShowBuilder=!!o.editableItem})),this.itemsSurvey.onGetMatrixRowActions.add((function(e,t){o.readOnly||Object(d.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),this.updateItemsSurveyData()},t.prototype.dispose=function(){for(var t in e.prototype.dispose.call(this),this.itemUIHash){var i=this.itemUIHash[t];i.expressionEditor.dispose(),i.itemEditor.dispose()}this.itemUIHash={}},t.prototype.addNewUI=function(){0!=this.items.length&&this.items[this.items.length-1].isNew||this.addNew(),this.matrixItems.visibleRows[this.matrixItems.visibleRows.length-1].showDetailPanel()},t.prototype.toggleExpressionEditorIsFastEntry=function(){this.expressionEditorIsFastEntry=!this.expressionEditorIsFastEntry,this.expressionEditor&&this.expressionEditor.setIsFastEntry(this.expressionEditorIsFastEntry)},t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"items"===t&&this.updateItemsSurveyData()},Object.defineProperty(t.prototype,"expressionEditor",{get:function(){return this.expressionEditorValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemEditor",{get:function(){return this.itemEditorValue},enumerable:!1,configurable:!0}),t.prototype.getExpressionEditor=function(e){return this.getLogicItemUI(e).expressionEditor},t.prototype.getLogicItemEditor=function(e){return this.getLogicItemUI(e).itemEditor},t.prototype.getLogicItemUI=function(e){var t=this.itemUIHash[e.id];return t||((t={expressionEditor:this.createExpressionPropertyEditor(),itemEditor:new s.LogicItemEditor(e,this.options)}).expressionEditor.text=e.expression,this.itemUIHash[e.id]=t),t},Object.defineProperty(t.prototype,"expressionSurvey",{get:function(){return this.expressionEditor.editSurvey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemEditorSurvey",{get:function(){return this.itemEditor.editSurvey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemsSurvey",{get:function(){return this.itemsSurveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){return this.items.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixItems",{get:function(){return this.itemsSurvey.getQuestionByName("items")},enumerable:!1,configurable:!0}),t.prototype.onStartEditing=function(){e.prototype.onStartEditing.call(this),this.expressionEditorValue=this.getExpressionEditor(this.editableItem),this.itemEditorValue=this.getLogicItemEditor(this.editableItem),this.expressionEditorIsFastEntry=!1,this.expressionEditor.setIsFastEntry(this.expressionEditorIsFastEntry),this.expressionEditorCanShowBuilder=n.ConditionEditor.canBuildExpression(this.expressionEditor.text)},t.prototype.onEndEditing=function(){this.editableItem&&(this.editableItem.isModified=!!this.itemEditor&&!!this.expressionEditor&&(this.itemEditor.isModified||this.expressionEditor.isModified(this.editableItem.expression))),e.prototype.onEndEditing.call(this),this.expressionEditorValue=null,this.itemEditorValue=null},t.prototype.onEditableItemApply=function(){this.expressionEditor.apply(),this.itemEditor.apply(),this.editableItem.apply(this.expressionEditor.text),this.editableItem.actions.length!=this.itemEditor.panels.length&&this.itemEditor.setEditableItem(this.editableItem),this.itemEditor.resetModified(),this.editableItem.isNew=!1,this.editableItem.isSuitable(this.questionFilter,this.actionTypeFilter)?this.updateItemsSurveyData():(this.questionFilter="",this.actionTypeFilter="")},t.prototype.hasErrorInUI=function(){return this.expressionEditor.isReady?!!this.itemEditor.hasErrors()&&(this.errorText=Object(l.getLogicString)("actionInvalid"),this.survey.creator&&this.survey.creator.notify(this.errorText,"error"),!0):(this.errorText=Object(l.getLogicString)("expressionInvalid"),this.survey.creator&&this.survey.creator.notify(this.errorText,"error"),!0)},t.prototype.getExpressionText=function(){return this.expressionEditor.text},t.prototype.getEditingActions=function(){return this.itemEditor.getEditingActions()},t.prototype.getLogicItemSurveyJSON=function(){var e={elements:[{type:"matrixdynamic",name:"items",titleLocation:"hidden",detailPanelMode:"underRowSingle",allowAddRows:!1,allowAdaptiveActions:!1,rowCount:0,showHeader:!1,columns:[{cellType:"linkvalue",name:"conditions",title:this.getLocString("ed.lg.conditions")},{cellType:"linkvalue",name:"actions",title:this.getLocString("ed.lg.actions")}]}]};return Object(c.setSurveyJSONForPropertyGrid)(e),e},t.prototype.createExpressionPropertyEditor=function(){var e=this,t=new n.ConditionEditor(this.survey,null,this.options);return t.isModal=!1,t.editSurvey.onValueChanged.add((function(t,i){"textEditor"===i.name&&(e.expressionEditorCanShowBuilder=n.ConditionEditor.canBuildExpression(i.value))})),t},t.prototype.getVisibleItems=function(){var e=this;return this.items.filter((function(t){return t.isNew||t.isSuitable(e.questionFilter,e.actionTypeFilter)}))},t.prototype.updateItemsSurveyData=function(){var e=this;if(this.itemsSurvey){var t=[];this.visibleItems=this.getVisibleItems();for(var i=0;i<this.visibleItems.length;i++)t.push({conditions:this.visibleItems[i].expressionText,actions:this.visibleItems[i].actionsText});this.matrixItems.onHasDetailPanelCallback=function(e){return!0},this.matrixItems.onCreateDetailPanelCallback=function(t,i){t.onDetailPanelShowingChanged=function(){if(e.expressionEditorCanShowBuilder=t.isDetailPanelShowing,t.isDetailPanelShowing){if("view"===e.mode){var o=e.visibleItems[t.rowIndex-1];e.editItem(o)}var r=i.getQuestionByName("conditions"),n=i.getQuestionByName("actions");r.embeddedSurvey=e.expressionEditor.editSurvey,n.embeddedSurvey=e.itemEditorValue.editSurvey,e.updateRowIsAdditionalClasses(t.rowIndex-1,!1)}else e.mode="view",e.updateRenderedRows();e.updateNewActionState()},i.addNewQuestion("embeddedsurvey","conditions"),i.addNewQuestion("embeddedsurvey","actions"),i.footerActions.push({id:"saveDetailPanel",innerCss:"sl-panel__done-button",title:e.getLocString("pe.doneEditing"),action:function(){e.saveEditableItem()&&t.hideDetailPanel(!0)}})},this.matrixItems.onCellCreatedCallback=function(e){e.cell.question.linkClickCallback=function(){e.row.isDetailPanelShowing?e.row.hideDetailPanel():e.row.showDetailPanel()},e.cell.question.showClear=!1,e.cell.question.allowClear=!1},this.matrixItems.value=t,this.updateRenderedRows()}},t.prototype.updateRenderedRows=function(){var e=this;this.visibleItems.forEach((function(t,i){e.updateRowIsAdditionalClasses(i,e.visibleItems[i].isModified||e.visibleItems[i].isNew)}))},t.prototype.updateRowIsAdditionalClasses=function(e,t){this.matrixItems.renderedTable&&(this.matrixItems.renderedTable.rows[e].isAdditionalClasses=t)},t.prototype.updateNewActionState=function(){this.addNewButton.enabled="new"!==this.mode},t.prototype.setupToolbarItems=function(){var e=this;this.addNewButton=new r.Action({id:"svd-logic-addNew",title:this.addNewText,tooltip:this.addNewText,component:"sv-action-bar-item",enabled:!0,action:function(){e.addNewUI()}})},Object.defineProperty(t.prototype,"addNewText",{get:function(){return Object(l.getLogicString)("addNewItem")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emptyTabPlaceHolder",{get:function(){return Object(l.getLogicString)("empty_tab")},enumerable:!1,configurable:!0}),Object(o.__decorate)([Object(r.property)()],t.prototype,"itemsSurveyValue",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"expressionEditorIsFastEntry",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"expressionEditorCanShowBuilder",void 0),Object(o.__decorate)([Object(r.property)({onSet:function(e,t){t.updateItemsSurveyData()}})],t.prototype,"questionFilter",void 0),Object(o.__decorate)([Object(r.property)({onSet:function(e,t){t.updateItemsSurveyData()}})],t.prototype,"actionTypeFilter",void 0),t}(u.SurveyLogic)},"./src/components/tabs/logic.scss":
|
|
257
257
|
/*!****************************************!*\
|
|
258
258
|
!*** ./src/components/tabs/logic.scss ***!
|
|
259
259
|
\****************************************/
|
|
@@ -265,7 +265,7 @@ License: MIT
|
|
|
265
265
|
/*!********************************************!*\
|
|
266
266
|
!*** ./src/components/tabs/test-plugin.ts ***!
|
|
267
267
|
\********************************************/
|
|
268
|
-
/*! exports provided: TabTestPlugin */function(e,t,i){"use strict";i.r(t),i.d(t,"TabTestPlugin",(function(){return s}));var o=i(/*! survey-core */"survey-core"),r=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),n=i(/*! ../simulator */"./src/components/simulator.ts"),a=i(/*! ./test */"./src/components/tabs/test.ts"),s=function(){function e(e){this.creator=e,e.addPluginTab("test",this,Object(r.getLocString)("ed.testSurvey")),this.createActions().forEach((function(t){return e.toolbar.actions.push(t)}))}return e.prototype.getSimulatorDevicesTitle=function(){return this.model?n.simulatorDevices[this.model.simulator.device].title||Object(r.getLocString)("pe.simulator"):""},e.prototype.setDevice=function(e){this.model.simulator.device=e;var t=n.simulatorDevices[this.model.simulator.device].deviceType;this.orientationSelectorAction.enabled="desktop"!=t,this.deviceSelectorAction.iconName="icon-device-"+t,this.deviceSelectorAction.title=this.getSimulatorDevicesTitle()},e.prototype.setDefaultLanguageOption=function(e){var t=this,i=!0===e||"all"===e||"auto"===e&&this.model.survey.getUsedLocales().length>1;this.languageSelectorAction.visible=i;var o=[];i&&(o=this.getLanguages("all"!==e?this.model.survey.getUsedLocales():null)),this.languagePopupModel.contentComponentData.model.setItems(o),this.languageListModel.selectedItem=o.filter((function(e){return e.id===t.model.activeLanguage}))[0]},e.prototype.getLanguages=function(e){void 0===e&&(e=null);for(var t=[],i=e&&e.length>1?e:o.surveyLocalization.getLocales(),n=0;n<i.length;n++){var a=i[n];t.push({id:a,title:r.editorLocalization.getLocaleName(a)})}return t},e.prototype.updateActions=function(){this.languageSelectorAction.title=r.editorLocalization.getLocaleName(this.model.activeLanguage),this.languageSelectorAction.visible=!0,this.creator.showSimulatorInTestSurveyTab&&(this.setDevice(this.model.simulator.device),this.deviceListModel.selectedItem={id:this.model.simulator.device},this.orientationSelectorAction.title=Object(r.getLocString)("pe.landscapeOrientation")),this.creator.showInvisibleElementsInTestSurveyTab&&(this.invisibleToggleAction.css=this.model.showInvisibleElements?"sv-action-bar-item--active":"",this.invisibleToggleAction.visible=this.model.isRunning),null!=this.creator.showDefaultLanguageInTestSurveyTab&&this.setDefaultLanguageOption(this.creator.showDefaultLanguageInTestSurveyTab)},e.prototype.activate=function(){var e=this;this.model=new a.TestSurveyTabViewModel(this.creator),this.model.onSurveyCreatedCallback=function(t){e.creator.onTestSurveyCreated&&e.creator.onTestSurveyCreated.fire(self,{survey:t})},this.update()},e.prototype.update=function(){var e=this;if(this.model){var t={showPagesInTestSurveyTab:this.creator.showPagesInTestSurveyTab};this.model.prevPageAction=this.prevPageAction,this.model.nextPageAction=this.nextPageAction,this.model.initialize(this.creator.JSON,t),this.updateActions(),this.model.show(),this.model.onPropertyChanged.add((function(t,i){"isRunning"===i.name&&(e.invisibleToggleAction.visible=e.model.isRunning,e.testAgainAction.visible=!e.model.isRunning)}))}},e.prototype.deactivate=function(){return this.model.onSurveyCreatedCallback=void 0,this.model=void 0,this.languageSelectorAction.visible=!1,this.invisibleToggleAction&&(this.invisibleToggleAction.visible=!1),!0},e.prototype.createActions=function(){var e=this,t=[];if(this.testAgainAction=new o.Action({id:"testSurveyAgain",visible:!1,title:Object(r.getLocString)("ed.testSurveyAgain"),action:function(){e.model.testAgain()}}),t.push(this.testAgainAction),this.creator.showSimulatorInTestSurveyTab){var i=Object.keys(n.simulatorDevices).filter((function(e){return!!n.simulatorDevices[e].title})).map((function(e){return{id:e,title:n.simulatorDevices[e].title}}));this.deviceListModel=new o.ListModel(i,(function(t){e.setDevice(t.id),a.toggleVisibility()}),!0);var a=new o.PopupModel("sv-list",{model:this.deviceListModel},"bottom","center");this.deviceSelectorAction=new o.Action({id:"deviceSelector",iconName:"icon-device-desktop",component:"sv-action-bar-item-dropdown",mode:"small",visible:new o.ComputedUpdater((function(){var t=e.creator.showSimulatorInTestSurveyTab;return"test"===e.creator.activeTab&&t})),action:function(){a.toggleVisibility()},popupModel:a}),t.push(this.deviceSelectorAction),a.onHide=function(){e.deviceSelectorAction.enabled=!0},a.onShow=function(){e.deviceSelectorAction.enabled=!1},this.orientationSelectorAction=new o.Action({id:"orientationSelector",iconName:"icon-device-rotate",mode:"small",visible:new o.ComputedUpdater((function(){var t=e.creator.showSimulatorInTestSurveyTab;return"test"===e.creator.activeTab&&t})),action:function(){e.model.simulator.landscape=!e.model.simulator.landscape,e.orientationSelectorAction.title=Object(r.getLocString)(e.model.simulator.landscape?"pe.landscapeOrientation":"pe.portraitOrientation")}}),t.push(this.orientationSelectorAction)}return this.creator.showInvisibleElementsInTestSurveyTab&&(this.invisibleToggleAction=new o.Action({id:"showInvisible",iconName:"icon-invisible-items",mode:"small",needSeparator:new o.ComputedUpdater((function(){return!e.creator.isMobileView})),title:Object(r.getLocString)("ts.showInvisibleElements"),visible:!1,action:function(){e.model.showInvisibleElements=!e.model.showInvisibleElements,e.invisibleToggleAction.css=e.model.showInvisibleElements?"sv-action-bar-item--active":""}}),t.push(this.invisibleToggleAction)),this.languageListModel=new o.ListModel([],(function(t){e.model.activeLanguage=t.id,e.languageSelectorAction.title=r.editorLocalization.getLocaleName(t.id),e.languagePopupModel.toggleVisibility()}),!0),this.languagePopupModel=new o.PopupModel("sv-list",{model:this.languageListModel},"bottom","center"),this.languagePopupModel.onHide=function(){e.languageSelectorAction.enabled=!0},this.languagePopupModel.onShow=function(){e.languageSelectorAction.enabled=!1},this.languageSelectorAction=new o.Action({id:"languageSelector",iconName:"icon-language",visible:!1,component:"sv-action-bar-item-dropdown",action:function(){e.languagePopupModel.toggleVisibility()},popupModel:this.languagePopupModel,mode:new o.ComputedUpdater((function(){return e.creator.isMobileView?"small":"large"}))}),t.push(this.languageSelectorAction),this.designerAction=new o.Action({id:"svd-designer",iconName:"icon-preview",needSeparator:!0,action:function(){e.creator.makeNewViewActive("designer")},active:new o.ComputedUpdater((function(){return"test"===e.creator.activeTab})),visible:new o.ComputedUpdater((function(){return"test"===e.creator.activeTab})),title:this.creator.getLocString("ed.designer"),showTitle:!1}),this.prevPageAction=new o.Action({id:"prevPage",iconName:"icon-arrow-left_16x16",visible:!1}),this.nextPageAction=new o.Action({id:"nextPage",iconName:"icon-arrow-right_16x16",visible:!1}),t},e.prototype.addFooterActions=function(){this.creator.footerToolbar.actions.push(this.testAgainAction),this.invisibleToggleAction&&this.creator.footerToolbar.actions.push(this.invisibleToggleAction),this.languageSelectorAction&&this.creator.footerToolbar.actions.push(this.languageSelectorAction),this.creator.footerToolbar.actions.push(this.prevPageAction),this.creator.footerToolbar.actions.push(this.nextPageAction),this.creator.footerToolbar.actions.push(this.designerAction)},e}()},"./src/components/tabs/test.scss":
|
|
268
|
+
/*! exports provided: TabTestPlugin */function(e,t,i){"use strict";i.r(t),i.d(t,"TabTestPlugin",(function(){return s}));var o=i(/*! survey-core */"survey-core"),r=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),n=i(/*! ../simulator */"./src/components/simulator.ts"),a=i(/*! ./test */"./src/components/tabs/test.ts"),s=function(){function e(e){this.creator=e,e.addPluginTab("test",this,Object(r.getLocString)("ed.testSurvey")),this.createActions().forEach((function(t){return e.toolbar.actions.push(t)}))}return e.prototype.getSimulatorDevicesTitle=function(){return this.model?n.simulatorDevices[this.model.simulator.device].title||Object(r.getLocString)("pe.simulator"):""},e.prototype.setDevice=function(e){this.model.simulator.device=e;var t=n.simulatorDevices[this.model.simulator.device].deviceType;this.orientationSelectorAction.enabled="desktop"!=t,this.deviceSelectorAction.iconName="icon-device-"+t,this.deviceSelectorAction.title=this.getSimulatorDevicesTitle()},e.prototype.setDefaultLanguageOption=function(e){var t=this,i=!0===e||"all"===e||"auto"===e&&this.model.survey.getUsedLocales().length>1;this.languageSelectorAction.visible=i;var o=[];i&&(o=this.getLanguages("all"!==e?this.model.survey.getUsedLocales():null)),this.languagePopupModel.contentComponentData.model.setItems(o),this.languageListModel.selectedItem=o.filter((function(e){return e.id===t.model.activeLanguage}))[0]},e.prototype.getLanguages=function(e){void 0===e&&(e=null);for(var t=[],i=e&&e.length>1?e:o.surveyLocalization.getLocales(),n=0;n<i.length;n++){var a=i[n];t.push({id:a,title:r.editorLocalization.getLocaleName(a)})}return t},e.prototype.updateActions=function(){this.languageSelectorAction.title=r.editorLocalization.getLocaleName(this.model.activeLanguage),this.languageSelectorAction.visible=!0,this.creator.showSimulatorInTestSurveyTab&&(this.setDevice(this.model.simulator.device),this.deviceListModel.selectedItem={id:this.model.simulator.device},this.orientationSelectorAction.title=Object(r.getLocString)("pe.landscapeOrientation")),this.creator.showInvisibleElementsInTestSurveyTab&&(this.invisibleToggleAction.css=this.model.showInvisibleElements?"sv-action-bar-item--active":"",this.invisibleToggleAction.visible=this.model.isRunning),null!=this.creator.showDefaultLanguageInTestSurveyTab&&this.setDefaultLanguageOption(this.creator.showDefaultLanguageInTestSurveyTab)},e.prototype.activate=function(){var e=this;this.model=new a.TestSurveyTabViewModel(this.creator),this.model.onSurveyCreatedCallback=function(t){e.creator.onTestSurveyCreated&&e.creator.onTestSurveyCreated.fire(self,{survey:t})},this.update()},e.prototype.update=function(){var e=this;if(this.model){var t={showPagesInTestSurveyTab:this.creator.showPagesInTestSurveyTab};this.model.prevPageAction=this.prevPageAction,this.model.nextPageAction=this.nextPageAction,this.model.initialize(this.creator.JSON,t),this.updateActions(),this.model.show(),this.model.onPropertyChanged.add((function(t,i){"isRunning"===i.name&&(e.invisibleToggleAction.visible=e.model.isRunning,e.testAgainAction.visible=!e.model.isRunning)}))}},e.prototype.deactivate=function(){return this.model.onSurveyCreatedCallback=void 0,this.model=void 0,this.languageSelectorAction.visible=!1,this.testAgainAction.visible=!1,this.invisibleToggleAction&&(this.invisibleToggleAction.visible=!1),!0},e.prototype.createActions=function(){var e=this,t=[];if(this.testAgainAction=new o.Action({id:"testSurveyAgain",visible:!1,title:Object(r.getLocString)("ed.testSurveyAgain"),action:function(){e.model.testAgain()}}),t.push(this.testAgainAction),this.creator.showSimulatorInTestSurveyTab){var i=Object.keys(n.simulatorDevices).filter((function(e){return!!n.simulatorDevices[e].title})).map((function(e){return{id:e,title:n.simulatorDevices[e].title}}));this.deviceListModel=new o.ListModel(i,(function(t){e.setDevice(t.id),a.toggleVisibility()}),!0);var a=new o.PopupModel("sv-list",{model:this.deviceListModel},"bottom","center");this.deviceSelectorAction=new o.Action({id:"deviceSelector",iconName:"icon-device-desktop",component:"sv-action-bar-item-dropdown",mode:"small",visible:new o.ComputedUpdater((function(){var t=e.creator.showSimulatorInTestSurveyTab;return"test"===e.creator.activeTab&&t})),action:function(){a.toggleVisibility()},popupModel:a}),t.push(this.deviceSelectorAction),a.onHide=function(){e.deviceSelectorAction.enabled=!0},a.onShow=function(){e.deviceSelectorAction.enabled=!1},this.orientationSelectorAction=new o.Action({id:"orientationSelector",iconName:"icon-device-rotate",mode:"small",visible:new o.ComputedUpdater((function(){var t=e.creator.showSimulatorInTestSurveyTab;return"test"===e.creator.activeTab&&t})),action:function(){e.model.simulator.landscape=!e.model.simulator.landscape,e.orientationSelectorAction.title=Object(r.getLocString)(e.model.simulator.landscape?"pe.landscapeOrientation":"pe.portraitOrientation")}}),t.push(this.orientationSelectorAction)}return this.creator.showInvisibleElementsInTestSurveyTab&&(this.invisibleToggleAction=new o.Action({id:"showInvisible",iconName:"icon-invisible-items",mode:"small",needSeparator:new o.ComputedUpdater((function(){return!e.creator.isMobileView})),title:Object(r.getLocString)("ts.showInvisibleElements"),visible:!1,action:function(){e.model.showInvisibleElements=!e.model.showInvisibleElements,e.invisibleToggleAction.css=e.model.showInvisibleElements?"sv-action-bar-item--active":""}}),t.push(this.invisibleToggleAction)),this.languageListModel=new o.ListModel([],(function(t){e.model.activeLanguage=t.id,e.languageSelectorAction.title=r.editorLocalization.getLocaleName(t.id),e.languagePopupModel.toggleVisibility()}),!0),this.languagePopupModel=new o.PopupModel("sv-list",{model:this.languageListModel},"bottom","center"),this.languagePopupModel.onHide=function(){e.languageSelectorAction.enabled=!0},this.languagePopupModel.onShow=function(){e.languageSelectorAction.enabled=!1},this.languageSelectorAction=new o.Action({id:"languageSelector",iconName:"icon-language",visible:!1,component:"sv-action-bar-item-dropdown",action:function(){e.languagePopupModel.toggleVisibility()},popupModel:this.languagePopupModel,mode:new o.ComputedUpdater((function(){return e.creator.isMobileView?"small":"large"}))}),t.push(this.languageSelectorAction),this.designerAction=new o.Action({id:"svd-designer",iconName:"icon-preview",needSeparator:!0,action:function(){e.creator.makeNewViewActive("designer")},active:new o.ComputedUpdater((function(){return"test"===e.creator.activeTab})),visible:new o.ComputedUpdater((function(){return"test"===e.creator.activeTab})),title:this.creator.getLocString("ed.designer"),showTitle:!1}),this.prevPageAction=new o.Action({id:"prevPage",iconName:"icon-arrow-left_16x16",visible:!1}),this.nextPageAction=new o.Action({id:"nextPage",iconName:"icon-arrow-right_16x16",visible:!1}),t},e.prototype.addFooterActions=function(){this.creator.footerToolbar.actions.push(this.testAgainAction),this.invisibleToggleAction&&this.creator.footerToolbar.actions.push(this.invisibleToggleAction),this.languageSelectorAction&&this.creator.footerToolbar.actions.push(this.languageSelectorAction),this.creator.footerToolbar.actions.push(this.prevPageAction),this.creator.footerToolbar.actions.push(this.nextPageAction),this.creator.footerToolbar.actions.push(this.designerAction)},e}()},"./src/components/tabs/test.scss":
|
|
269
269
|
/*!***************************************!*\
|
|
270
270
|
!*** ./src/components/tabs/test.scss ***!
|
|
271
271
|
\***************************************/
|
|
@@ -289,7 +289,7 @@ License: MIT
|
|
|
289
289
|
/*!********************************************!*\
|
|
290
290
|
!*** ./src/components/tabs/translation.ts ***!
|
|
291
291
|
\********************************************/
|
|
292
|
-
/*! exports provided: TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation */function(e,t,i){"use strict";i.r(t),i.d(t,"TranslationItemBase",(function(){return p})),i.d(t,"TranslationItemString",(function(){return m})),i.d(t,"TranslationItem",(function(){return g})),i.d(t,"TranslationGroup",(function(){return h})),i.d(t,"Translation",(function(){return v}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! papaparse */"./node_modules/papaparse/papaparse.min.js"),a=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ../../settings */"./src/settings.ts"),l=i(/*! ../../property-grid/index */"./src/property-grid/index.ts"),u=(i(/*! ./translation.scss */"./src/components/tabs/translation.scss"),i(/*! ../../survey-helper */"./src/survey-helper.ts")),c=i(/*! ../../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts"),d=i(/*! ./translation-theme */"./src/components/tabs/translation-theme.ts"),p=function(e){function t(t,i){var o=e.call(this)||this;return o.name=t,o.translation=i,o}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.fillLocales=function(e){},t.prototype.mergeLocaleWithDefault=function(e){},t.prototype.makeObservable=function(){this.fireOnObjCreating()},t.prototype.fireOnObjCreating=function(e){void 0===e&&(e=null),this.translation&&(e||(e=this),this.translation.fireOnObjCreating(e))},t}(r.Base),m=function(e){function t(t,i){var o=e.call(this)||this;return o.locString=t,o.locale=i,o.text=o.locString.getLocaleText(o.locale),o}return Object(o.__extends)(t,e),t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"text"===t&&this.locString.setLocaleText(this.locale,o)},t.prototype.getType=function(){return"translationitemstring"},Object(o.__decorate)([Object(r.property)()],t.prototype,"text",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"placeholder",void 0),t}(r.Base),g=function(e){function t(t,i,o,r,n,a){void 0===o&&(o=""),void 0===a&&(a=null);var s=e.call(this,t,r)||this;s.name=t,s.locString=i,s.defaultValue=o,s.context=n,s.property=a,s.translation&&(s.readOnly=s.translation.readOnly),s.hashValues={};var l=s;return s.afterRender=function(e,t){l.translation&&l.translation.translateItemAfterRender(l,e,t.locale)},s.fireOnObjCreating(),s}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.property?this.property.maxLength:-1},enumerable:!1,configurable:!0}),t.prototype.makeObservable=function(){for(var t in e.prototype.makeObservable.call(this),this.hashValues)this.fireOnObjCreating(this.hashValues[t])},t.prototype.getType=function(){return"translationitem"},Object.defineProperty(t.prototype,"text",{get:function(){return this.customText?this.customText:this.localizableName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localizableName",{get:function(){return a.editorLocalization.getPropertyName(this.name)},enumerable:!1,configurable:!0}),t.prototype.getLocText=function(e){return this.locString.getLocaleText(e)},t.prototype.setLocText=function(e,t){this.locString.setLocaleText(e,t),this.translation.tranlationChangedCallback&&this.translation.tranlationChangedCallback(e,this.name,t,this.context)},t.prototype.values=function(e){if(!this.hashValues[e]){var t=new m(this.locString,e);e||(t.placeholder=this.defaultValue),this.hashValues[e]=t,this.fireOnObjCreating(t)}return this.hashValues[e]},t.prototype.fillLocales=function(e){for(var t=this.getKeys(),i=0;i<t.length;i++){var o=t[i];o&&e.indexOf(o)<0&&o!==r.LocalizableString.defaultLocale&&e.push(o)}},t.prototype.toJSON=function(){var e=this.locString.getJson();return(e=this.correctJSON(e))&&"string"!=typeof e?e:{default:e}},t.prototype.correctJSON=function(e){if(!e||"string"==typeof e)return e;if(Array.isArray(e))return e.join("\n");for(var t in e)Array.isArray(e[t])&&(e[t]=e[t].join("\n"));return e},t.prototype.getKeys=function(){return this.locString.getLocales()},t.prototype.mergeLocaleWithDefault=function(e){var t=this.locString.getLocaleText(e);t&&(this.locString.setLocaleText("",t),this.locString.setLocaleText(e,null))},Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"readOnly",void 0),t}(p),h=function(e){function t(t,i,o,r){void 0===o&&(o=null),void 0===r&&(r="");var n=e.call(this,t,o)||this;return n.name=t,n.obj=i,n.text=r,n.isRootValue=!1,n.removeLocale=function(e){n.translation&&n.translation.removeLocale(e)},n.text||(n.text=t),n.reset(),n.fireOnObjCreating(),n}return Object(o.__extends)(t,e),t.prototype.getType=function(){return"translationgroup"},Object.defineProperty(t.prototype,"items",{get:function(){return this.itemValues},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locItems",{get:function(){return this.itemValues.filter((function(e){return e instanceof g}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRoot",{get:function(){return this.isRootValue},enumerable:!1,configurable:!0}),t.prototype.setAsRoot=function(){this.isRootValue=!0},t.prototype.getItemByName=function(e){for(var t=0;t<this.itemValues.length;t++)if(this.itemValues[t].name==e)return this.itemValues[t];return null},Object.defineProperty(t.prototype,"groups",{get:function(){return this.itemValues.filter((function(e){return e instanceof t}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locales",{get:function(){return this.translation?this.translation.locales:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removeLocaleText",{get:function(){return a.editorLocalization.getString("pe.remove")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeCount",{get:function(){return Array.isArray(this.locales)?this.locales.length:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locWidth",{get:function(){var e=this.localeCount;return e<2?"100%":Math.floor(100/e).toString()+"%"},enumerable:!1,configurable:!0}),t.prototype.getLocaleName=function(e){return this.translation?this.translation.getLocaleName(e):a.editorLocalization.getLocaleName(e)},t.prototype.reset=function(){this.itemValues=[],this.fillItems()},t.prototype.fillLocales=function(e){for(var t=0;t<this.items.length;t++)this.items[t].fillLocales(e)},t.prototype.makeObservable=function(){e.prototype.makeObservable.call(this);for(var t=0;t<this.items.length;t++)this.items[t].makeObservable()},Object.defineProperty(t.prototype,"showAllStrings",{get:function(){return!this.translation||this.translation.showAllStrings},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){if(this.locItems.length>0)return!0;for(var e=this.groups,t=0;t<e.length;t++)if(e[t].hasItems)return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.mergeLocaleWithDefault=function(e){this.itemValues.forEach((function(t){return t.mergeLocaleWithDefault(e)}))},t.prototype.fillItems=function(){if(this.isItemValueArray(this.obj))this.createItemValuesLocale();else if(this.obj&&this.obj.getType){for(var e=this.getLocalizedProperties(this.obj),i=0;i<e.length;i++){var o=e[i],r=this.createTranslationItem(this.obj,e[i]);r&&this.itemValues.push(r)}for(e=this.getArrayProperties(this.obj),i=0;i<e.length;i++){o=e[i];var n=this.obj[o.name];if(this.isItemValueArray(n)){var s=new t(o.name,n,this.translation,a.editorLocalization.getPropertyName(o.name));s.hasItems&&this.itemValues.push(s)}else this.createGroups(n,o)}this.sortItems()}},t.prototype.sortItems=function(){s.settings.traslation.sortByName&&this.itemValues.sort((function(e,t){return e.name?t.name?e.name.localeCompare(t.name):1:-1}))},t.prototype.getLocalizedProperties=function(e){for(var t=[],i=r.Serializer.getPropertiesByObj(e),o=0;o<i.length;o++){var n=i[o];n.isSerializable&&n.isLocalizable&&!n.readOnly&&n.visible&&t.push(n)}return t},t.prototype.getArrayProperties=function(e){for(var t=[],i=r.Serializer.getPropertiesByObj(e),o=0;o<i.length;o++){var n=i[o];if(!1!==n.isSerializable){var a=e[n.name];a&&Array.isArray(a)&&a.length>0&&t.push(n)}}return t},t.prototype.createTranslationItem=function(e,t){var i=this.getDefaultValue(e,t),o=e[t.serializationProperty];return o&&(this.showAllStrings||i||!o.isEmpty)?this.translation&&!this.translation.canShowProperty(e,t,o.isEmpty)?null:new g(t.name,o,i,this.translation,e,t):null},t.prototype.getDefaultValue=function(e,t){if("title"==t.name&&t.isLocalizable&&t.serializationProperty){var i=e[t.serializationProperty];if(i&&"page"!=e.getType()&&(i.onGetTextCallback||i.onRenderedHtmlCallback))return e.name}return""},t.prototype.isItemValueArray=function(e){return!!e&&Array.isArray(e)&&e.length>0&&!!e[0]&&!!e[0].getType&&!!e[0].setData&&!!e[0].setLocText},t.prototype.createGroups=function(e,i){for(var o=0;o<e.length;o++){var r=e[o];if(r&&r.getType){var n=r.name,s=r.title||n;if(!n){var l="["+o.toString()+"]";n=i.name+l,s=a.editorLocalization.getPropertyName(i.name)+l}var u=new t(n,r,this.translation,s);u.hasItems&&this.itemValues.push(u)}}},t.prototype.createItemValuesLocale=function(){for(var e=0;e<this.obj.length;e++){var t=this.obj[e];if(this.showAllStrings||!t.locText.isEmpty||isNaN(t.value)){var i=new g(t.value,t.locText,t.value,this.translation,t);this.itemValues.push(i),this.addCustomPropertiesForItemValue(this.obj[e],i)}}},t.prototype.addCustomPropertiesForItemValue=function(e,t){for(var i=this.getLocalizedProperties(e),o=0;o<i.length;o++)if("text"!=i[o].name){var r=this.createTranslationItem(e,i[o]);r&&(r.customText=t.text+" ("+r.localizableName+")",r.name=e.value+"."+r.name,this.itemValues.push(r))}},Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showHeader",void 0),t}(p),v=function(e){function t(t,i,o){void 0===i&&(i=null),void 0===o&&(o=!0);var r=e.call(this)||this;r.options=i,r.hasUI=o,r.chooseLanguageActions=[],r.options||(r.options=new s.EmptySurveyCreatorOptions);var n=r;return r.exportToCSVFileUI=function(){n.exportToSCVFile("survey_translation.csv")},r.importFromCSVFileUI=function(e){e.files.length<1||(n.importFromCSVFile(e.files[0]),e.value="")},r.settingsSurveyValue=r.createSettingsSurvey(),r.survey=t,r.setupToolbarItems(),r}return Object(o.__extends)(t,e),t.prototype.getType=function(){return"translation"},t.prototype.makeObservable=function(e){this.onBaseObjCreatingCallback=e,this.fireOnObjCreating(this),this.root.makeObservable()},t.prototype.fireOnObjCreating=function(e){this.onBaseObjCreatingCallback&&this.onBaseObjCreatingCallback(e)},Object.defineProperty(t.prototype,"settingsSurvey",{get:function(){return this.settingsSurveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localesQuestion",{get:function(){return this.settingsSurvey.getQuestionByName("locales")},enumerable:!1,configurable:!0}),t.prototype.createSettingsSurvey=function(){var e=this,t=this.getSettingsSurveyJSON();Object(l.setSurveyJSONForPropertyGrid)(t);var i=this.options.createSurvey(t,"translation_settings");return i.css=c.propertyGridCss,i.css.root+=" st-properties",i.onValueChanged.add((function(t,i){"locales"==i.name&&e.updateLocales()})),i.onGetPanelTitleActions.add((function(t,i){if("languages"==i.panel.name){var o=new r.Action({id:"svc-translation-choose-language",iconName:"icon-add",component:"sv-action-bar-item-dropdown",popupModel:e.chooseLanguagePopupModel,action:function(t){e.chooseLanguagePopupModel.toggleVisibility()}});i.titleActions=[o]}})),i},t.prototype.updateLocales=function(){if(this.localesQuestion){var e=[""],t=this.localesQuestion.value;Array.isArray(t)||(t=[]);for(var i=0;i<t.length;i++)e.push(t[i]);this.locales=e,this.canMergeLocaleWithDefault=this.hasLocale(this.defaultLocale)}},t.prototype.getSettingsSurveyJSON=function(){var e=this.getLocaleName("");return{elements:[{type:"panel",name:"languages",elements:[{type:"checkbox",name:"defaultLanguage",titleLocation:"hidden",readOnly:!0,choices:[e],defaultValue:[e]},{type:"checkbox",name:"locales",choicesVisibleIf:"{selLocales} contains {item}",titleLocation:"hidden"}],title:a.editorLocalization.getString("ed.translationLanguages")}]}},t.prototype.getSurveyLocales=function(){for(var e=new Array,t=r.surveyLocalization.supportedLocales,i=Array.isArray(t)&&t.length>0?t:r.surveyLocalization.getLocales(),o={},n=0;n<i.length;n++)this.addLocaleIntoChoices(i[n],e,o);for((i=this.settingsSurvey.getValue("selLocales"))||(i=[]),n=0;n<i.length;n++)this.addLocaleIntoChoices(i[n],e,o);return[e,i]},t.prototype.updateSettingsSurveyLocales=function(){var e=this.getSurveyLocales(),t=e[0],i=e[1];this.localesQuestion.choices=t,this.localesQuestion.value=i},t.prototype.resetStringsSurvey=function(){this.hasUI&&(this.stringsSurvey=this.createStringsSurvey(),this.stringsHeaderSurvey=this.createStringsHeaderSurvey())},t.prototype.createStringsSurvey=function(){var e=this,t={autoGrowComment:!0};Object(l.setSurveyJSONForPropertyGrid)(t,!1);var i=this.options.createSurvey(t,"translation_strings");i.lazyRendering=!0,i.skeletonComponentName="sd-translation-line-skeleton",i.startLoadingFromJson(),i.css=d.translationCss,i.addNewPage("page"),this.addTranslationGroupIntoStringsSurvey(i.pages[0],this.root,null),i.data=this.getStringsSurveyData(i),i.endLoadingFromJson();var o=function(e,t){var i=r.ItemValue.getItemByValue(e.rows,t);return i?i.translationData:null};return i.onMatrixCellCreated.add((function(t,i){if(i.cell.question instanceof r.QuestionCommentModel){var n=i.cell.question,a=o(i.question,i.row.name);e.setPlaceHolder(n,a,i.columnName);var s=!!a&&a.locString.getIsMultiple();n.acceptCarriageReturn=s,a&&(n.maxLength=a.maxLength),s||(n.rows=1)}})),i.onMatrixCellValueChanged.add((function(t,i){var r=o(i.question,i.row.name);r&&(r.setLocText(i.columnName,i.value),"default"==i.columnName&&i.row.cells.forEach((function(t){e.updateCellPlaceholdersByDefault(t,i.value,r)})))})),i.currentPage=i.pages[0],i},t.prototype.setPlaceHolder=function(e,t,i){var o=t.context,n=a.editorLocalization.getString("ed.translationPlaceHolder",i);o instanceof r.SurveyModel?e.placeHolder=r.surveyLocalization.getString(t.name,i)||n:o instanceof r.PageModel||"title"!==t.name?e.placeHolder=n:e.placeHolder=o[t.name]||o.name},t.prototype.updateCellPlaceholdersByDefault=function(e,t,i){t?e.question.placeHolder=t:this.setPlaceHolder(e.question,i,e.column.name)},t.prototype.createStringsHeaderSurvey=function(){var e={};Object(l.setSurveyJSONForPropertyGrid)(e,!1);var t=this.options.createSurvey(e,"translation_strings_header");t.css=d.translationCss;var i=t.addNewPage("page"),o=r.Serializer.createClass("matrixdropdown");return o.name="stringsHeader",o.titleLocation="hidden",this.addLocaleColumns(o),i.addQuestion(o),t.currentPage=t.pages[0],t},t.prototype.addTranslationGroupIntoStringsSurvey=function(e,t,i){for(var o=0;o<t.items.length;o++)if(!t.items[o].isGroup){var n=t.items[o];if(0==e.questions.length){var a=r.Serializer.createClass("matrixdropdown");a.cellType="comment",a.titleLocation="hidden",a.name=this.getStringsSurveyQuestionName(t,i),a.showHeader=!1,a.showColumnHeader=!1,e.addQuestion(a),this.addLocaleColumns(a)}var s=e.questions[0],l=new r.ItemValue(n.name,n.text);l.translationData=n,s.rows.push(l)}for(o=0;o<t.items.length;o++)if(t.items[o].isGroup){n=t.items[o];var u=r.Serializer.createClass("panel");u.name=n.name,e.addElement(u),u.title=n.text,this.addTranslationGroupIntoStringsSurvey(u,n,t)}},t.prototype.addLocaleColumns=function(e){var t=this.getSelectedLocales();e.rowTitleWidth="300px";var i="calc((100% - "+e.rowTitleWidth+")/"+(t.length+1)+")";e.addColumn("default",this.getLocaleName("")).width=i;for(var o=0;o<t.length;o++)e.addColumn(t[o],this.getLocaleName(t[o])).width=i},t.prototype.getStringsSurveyQuestionName=function(e,t){return null==t||e.obj.name==e.name?e.name+"_props":t.name+"_"+e.name},t.prototype.getStringsSurveyData=function(e){for(var t={},i=e.getAllQuestions(),o=0;o<i.length;o++)t[i[o].name]=this.getStringsQuestionData(i[o]);return t},t.prototype.getStringsQuestionData=function(e){for(var t={},i=0;i<e.rows.length;i++){var o=e.rows[i],r=o.translationData.toJSON();r&&(t[o.value]=r)}return t},t.prototype.updateHeaderStringsSurveyColumns=function(){if(this.stringsHeaderSurvey){var e=this.stringsHeaderSurvey.getQuestionByName("stringsHeader");e.columns=[],this.addLocaleColumns(e)}},t.prototype.updateStringsSurveyColumns=function(){if(this.stringsSurvey)for(var e=this.stringsSurvey.getAllQuestions(),t=0;t<e.length;t++){var i=e[t];i.beginUpdate(),i.columns=[],this.addLocaleColumns(i),i.endUpdate()}},t.prototype.addLocaleIntoChoices=function(e,t,i){e&&!i[e]&&(i[e]=!0,t.push(new r.ItemValue(e,a.editorLocalization.getLocaleName(e))))},t.prototype.addLocaleIntoValue=function(e,t){this.addLocaleIntoValueCore("selLocales",e),t&&this.addLocaleIntoValueCore("locales",e)},t.prototype.addLocaleIntoValueCore=function(e,t){if(t){var i=this.settingsSurvey.getValue(e);Array.isArray(i)||(i=[]),i.indexOf(t)<0&&(i.push(t),this.settingsSurvey.setValue(e,i))}},t.prototype.isLocaleVisible=function(e){return e!==r.surveyLocalization.defaultLocale&&!this.hasLocale(e)},t.prototype.setupToolbarItems=function(){var e=this;this.chooseLanguageActions=this.getSurveyLocales()[0].map((function(t){return{id:t.value,title:t.text,data:t,visible:e.isLocaleVisible(t.value)}})),this.chooseLanguagePopupModel=new r.PopupModel("sv-list",{model:new r.ListModel(this.chooseLanguageActions,(function(t){e.addLocale(t.id),e.chooseLanguagePopupModel.toggleVisibility()}),!1)},"bottom","left")},t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"canMergeLocaleWithDefault"===t&&(this.mergeLocaleWithDefaultText=this.getMergeLocaleWithDefaultText()),"locales"===t&&(this.updateHeaderStringsSurveyColumns(),this.updateStringsSurveyColumns())},t.prototype.getMergeLocaleWithDefaultText=function(){if(!this.canMergeLocaleWithDefault)return"";var e=this.getLocaleName(this.defaultLocale);return a.editorLocalization.getString("ed.translationMergeLocaleWithDefault").format(e)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.surveyValue=e,this.reset()},enumerable:!1,configurable:!0}),t.prototype.reset=function(){var e=this.filteredPage?this.filteredPage:this.survey,t=this.filteredPage?e.name:"survey";this.root=new h(t,e,this),this.root.setAsRoot(),this.root.reset(),this.resetLocales(),this.isEmpty=!this.root.hasItems,this.updateSettingsSurveyLocales(),this.updateLocales(),this.resetStringsSurvey()},t.prototype.canShowProperty=function(e,t,i){var o=!i||u.SurveyHelper.isPropertyVisible(e,t,this.options);return this.translationStringVisibilityCallback?this.translationStringVisibilityCallback(e,t.name,o):o},Object.defineProperty(t.prototype,"defaultLocale",{get:function(){return r.surveyLocalization.defaultLocale},enumerable:!1,configurable:!0}),t.prototype.getLocaleName=function(e){return a.editorLocalization.getLocaleName(e,this.defaultLocale)},t.prototype.removeLocale=function(e){if(this.hasLocale(e)){var t=this.locales.indexOf(e),i=this.locales;i.splice(t,1),this.locales=i,this.canMergeLocaleWithDefault=this.hasLocale(this.defaultLocale)}},t.prototype.hasLocale=function(e){for(var t=this.locales,i=0;i<t.length;i++)if(t[i]==e)return!0;return!1},t.prototype.addLocale=function(e){this.hasLocale(e)||this.addLocaleIntoValue(e,!0);var t=this.chooseLanguageActions.filter((function(t){return t.id===e}));Array.isArray(t)&&1==t.length&&(t[0].visible=this.isLocaleVisible(e))},t.prototype.resetLocales=function(){var e=[""];this.root.fillLocales(e),this.setLocales(e)},t.prototype.getSelectedLocales=function(){var e=this.localesQuestion.value;return Array.isArray(e)?e:[]},t.prototype.setSelectedLocales=function(e){this.localesQuestion.value=e},Object.defineProperty(t.prototype,"noStringsText",{get:function(){return a.editorLocalization.getString("ed.translationNoStrings")},enumerable:!1,configurable:!0}),t.prototype.exportToCSV=function(){var e=[],i=[],o=this.locales;i.push("description ↓ - language →");for(var r=0;r<o.length;r++)i.push(o[r]?o[r]:"default");e.push(i);var a={};for(var l in this.fillItemsHash("",this.root,a),a){var u=[l],c=a[l];for(r=0;r<o.length;r++){var d=c.locString.getLocaleText(o[r]);u.push(d||0!=r?d:c.defaultValue)}e.push(u)}var p=s.settings.traslation.exportPrefix;return p||(p=""),p+Object(n.unparse)(e,{quoteChar:'"',escapeChar:'"',delimiter:t.csvDelimiter,header:!0,newline:t.newLineDelimiter,skipEmptyLines:!1,columns:null})},t.prototype.importFromNestedArray=function(e){var i=this,o=e.shift().slice(1);"default"===o[0]&&(o[0]="");var r=new t(this.survey,this.options,!1);r.showAllStrings=!0;var n={};this.fillItemsHash("",r.root,n),e.forEach((function(e){var t=e.shift().trim();if(t){var r=n[t];r&&i.updateItemWithStrings(r,e,o)}})),this.reset(),this.importFinishedCallback&&this.importFinishedCallback()},t.prototype.exportToSCVFile=function(e){var t=this.exportToCSV(),i=new Blob([t],{type:"text/csv"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(i,e);else{var o=window.document.createElement("a");o.href=window.URL.createObjectURL(i),o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o)}},t.prototype.importFromCSVFile=function(e){var t=this;Object(n.parse)(e,{complete:function(e,i){t.importFromNestedArray(e.data)}})},t.prototype.mergeLocaleWithDefault=function(){this.hasLocale(this.defaultLocale)&&(this.root.mergeLocaleWithDefault(this.defaultLocale),this.settingsSurveyValue.setValue("selLocales",[]),this.settingsSurveyValue.setValue("locales",[]),this.reset())},t.prototype.translateItemAfterRender=function(e,t,i){if(this.translateItemAfterRenderCallback){if(Array.isArray(t))for(var o=0;o<t.length;o++)if("TEXTAREA"==t[o].tagName){t=t[o];break}this.translateItemAfterRenderCallback(e,t,i)}},t.prototype.updateItemWithStrings=function(e,t,i){for(var o=0;o<t.length&&o<i.length;o++){var r=t[o].trim();r&&(e.values(i[o]).text=r)}},t.prototype.fillItemsHash=function(e,t,i){var o=this,r=e?e+"."+t.name:t.name;t.locItems.forEach((function(e){i[r+"."+e.name]=e})),t.groups.forEach((function(e){return o.fillItemsHash(r,e,i)}))},t.prototype.setLocales=function(e){this.settingsSurvey.setValue("setLocales",[]),this.localesQuestion.value=[];for(var t=0;t<e.length;t++)this.addLocaleIntoValue(e[t],!1)},t.prototype.dispose=function(){this.importFinishedCallback=void 0,this.availableTranlationsChangedCallback=void 0,this.tranlationChangedCallback=void 0},t.csvDelimiter=",",t.newLineDelimiter="\n",Object(o.__decorate)([Object(r.propertyArray)()],t.prototype,"locales",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"canMergeLocaleWithDefault",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"mergeLocaleWithDefaultText",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"readOnly",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"root",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1,onSet:function(e,t){t.reset()}})],t.prototype,"showAllStrings",void 0),Object(o.__decorate)([Object(r.property)({onSet:function(e,t){t.reset()}})],t.prototype,"filteredPage",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"stringsSurvey",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"stringsHeaderSurvey",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"isEmpty",void 0),t}(r.Base)},"./src/components/toolbox/toolbox-tool.scss":
|
|
292
|
+
/*! exports provided: TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation */function(e,t,i){"use strict";i.r(t),i.d(t,"TranslationItemBase",(function(){return p})),i.d(t,"TranslationItemString",(function(){return m})),i.d(t,"TranslationItem",(function(){return g})),i.d(t,"TranslationGroup",(function(){return h})),i.d(t,"Translation",(function(){return v}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! papaparse */"./node_modules/papaparse/papaparse.min.js"),a=i(/*! ../../editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ../../settings */"./src/settings.ts"),l=i(/*! ../../property-grid/index */"./src/property-grid/index.ts"),u=(i(/*! ./translation.scss */"./src/components/tabs/translation.scss"),i(/*! ../../survey-helper */"./src/survey-helper.ts")),c=i(/*! ../../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts"),d=i(/*! ./translation-theme */"./src/components/tabs/translation-theme.ts"),p=function(e){function t(t,i){var o=e.call(this)||this;return o.name=t,o.translation=i,o}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.fillLocales=function(e){},t.prototype.mergeLocaleWithDefault=function(e){},t.prototype.makeObservable=function(){this.fireOnObjCreating()},t.prototype.fireOnObjCreating=function(e){void 0===e&&(e=null),this.translation&&(e||(e=this),this.translation.fireOnObjCreating(e))},t}(r.Base),m=function(e){function t(t,i){var o=e.call(this)||this;return o.locString=t,o.locale=i,o.text=o.locString.getLocaleText(o.locale),o}return Object(o.__extends)(t,e),t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"text"===t&&this.locString.setLocaleText(this.locale,o)},t.prototype.getType=function(){return"translationitemstring"},Object(o.__decorate)([Object(r.property)()],t.prototype,"text",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"placeholder",void 0),t}(r.Base),g=function(e){function t(t,i,o,r,n,a){void 0===o&&(o=""),void 0===a&&(a=null);var s=e.call(this,t,r)||this;s.name=t,s.locString=i,s.defaultValue=o,s.context=n,s.property=a,s.translation&&(s.readOnly=s.translation.readOnly),s.hashValues={};var l=s;return s.afterRender=function(e,t){l.translation&&l.translation.translateItemAfterRender(l,e,t.locale)},s.fireOnObjCreating(),s}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.property?this.property.maxLength:-1},enumerable:!1,configurable:!0}),t.prototype.makeObservable=function(){for(var t in e.prototype.makeObservable.call(this),this.hashValues)this.fireOnObjCreating(this.hashValues[t])},t.prototype.getType=function(){return"translationitem"},Object.defineProperty(t.prototype,"text",{get:function(){return this.customText?this.customText:this.localizableName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localizableName",{get:function(){return a.editorLocalization.getPropertyName(this.name)},enumerable:!1,configurable:!0}),t.prototype.getLocText=function(e){return this.locString.getLocaleText(e)},t.prototype.setLocText=function(e,t){this.locString.setLocaleText(e,t),this.translation.tranlationChangedCallback&&this.translation.tranlationChangedCallback(e,this.name,t,this.context)},t.prototype.values=function(e){if(!this.hashValues[e]){var t=new m(this.locString,e);e||(t.placeholder=this.defaultValue),this.hashValues[e]=t,this.fireOnObjCreating(t)}return this.hashValues[e]},t.prototype.fillLocales=function(e){for(var t=this.getKeys(),i=0;i<t.length;i++){var o=t[i];o&&e.indexOf(o)<0&&o!==r.LocalizableString.defaultLocale&&e.push(o)}},t.prototype.toJSON=function(){var e=this.locString.getJson();return(e=this.correctJSON(e))&&"string"!=typeof e?e:{default:e}},t.prototype.correctJSON=function(e){if(!e||"string"==typeof e)return e;if(Array.isArray(e))return e.join("\n");for(var t in e)Array.isArray(e[t])&&(e[t]=e[t].join("\n"));return e},t.prototype.getKeys=function(){return this.locString.getLocales()},t.prototype.mergeLocaleWithDefault=function(e){var t=this.locString.getLocaleText(e);t&&(this.locString.setLocaleText("",t),this.locString.setLocaleText(e,null))},Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"readOnly",void 0),t}(p),h=function(e){function t(t,i,o,r,n){void 0===o&&(o=null),void 0===r&&(r=""),void 0===n&&(n=!1);var a=e.call(this,t,o)||this;return a.name=t,a.obj=i,a.text=r,a.hasIndent=n,a.isRootValue=!1,a.removeLocale=function(e){a.translation&&a.translation.removeLocale(e)},a.text||(a.text=t),a.reset(),a.fireOnObjCreating(),a}return Object(o.__extends)(t,e),t.prototype.getType=function(){return"translationgroup"},Object.defineProperty(t.prototype,"items",{get:function(){return this.itemValues},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locItems",{get:function(){return this.itemValues.filter((function(e){return e instanceof g}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRoot",{get:function(){return this.isRootValue},enumerable:!1,configurable:!0}),t.prototype.setAsRoot=function(){this.isRootValue=!0},t.prototype.getItemByName=function(e){for(var t=0;t<this.itemValues.length;t++)if(this.itemValues[t].name==e)return this.itemValues[t];return null},Object.defineProperty(t.prototype,"groups",{get:function(){return this.itemValues.filter((function(e){return e instanceof t}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locales",{get:function(){return this.translation?this.translation.locales:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removeLocaleText",{get:function(){return a.editorLocalization.getString("pe.remove")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeCount",{get:function(){return Array.isArray(this.locales)?this.locales.length:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locWidth",{get:function(){var e=this.localeCount;return e<2?"100%":Math.floor(100/e).toString()+"%"},enumerable:!1,configurable:!0}),t.prototype.getLocaleName=function(e){return this.translation?this.translation.getLocaleName(e):a.editorLocalization.getLocaleName(e)},t.prototype.reset=function(){this.itemValues=[],this.fillItems()},t.prototype.fillLocales=function(e){for(var t=0;t<this.items.length;t++)this.items[t].fillLocales(e)},t.prototype.makeObservable=function(){e.prototype.makeObservable.call(this);for(var t=0;t<this.items.length;t++)this.items[t].makeObservable()},Object.defineProperty(t.prototype,"showAllStrings",{get:function(){return!this.translation||this.translation.showAllStrings},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){if(this.locItems.length>0)return!0;for(var e=this.groups,t=0;t<e.length;t++)if(e[t].hasItems)return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.mergeLocaleWithDefault=function(e){this.itemValues.forEach((function(t){return t.mergeLocaleWithDefault(e)}))},t.prototype.fillItems=function(){if(this.isItemValueArray(this.obj))this.createItemValuesLocale();else if(this.obj&&this.obj.getType){for(var e=this.getLocalizedProperties(this.obj),i=0;i<e.length;i++){var o=e[i],r=this.createTranslationItem(this.obj,e[i]);r&&this.itemValues.push(r)}for(e=this.getArrayProperties(this.obj),i=0;i<e.length;i++){o=e[i];var n=this.obj[o.name];if(this.isItemValueArray(n)){var s=new t(o.name,n,this.translation,a.editorLocalization.getPropertyName(o.name),!0);s.hasItems&&this.itemValues.push(s)}else this.createGroups(n,o)}this.sortItems()}},t.prototype.sortItems=function(){s.settings.traslation.sortByName&&this.itemValues.sort((function(e,t){return e.name?t.name?e.name.localeCompare(t.name):1:-1}))},t.prototype.getLocalizedProperties=function(e){for(var t=[],i=r.Serializer.getPropertiesByObj(e),o=0;o<i.length;o++){var n=i[o];n.isSerializable&&n.isLocalizable&&!n.readOnly&&n.visible&&t.push(n)}return t},t.prototype.getArrayProperties=function(e){for(var t=[],i=r.Serializer.getPropertiesByObj(e),o=0;o<i.length;o++){var n=i[o];if(!1!==n.isSerializable){var a=e[n.name];a&&Array.isArray(a)&&a.length>0&&t.push(n)}}return t},t.prototype.createTranslationItem=function(e,t){var i=this.getDefaultValue(e,t),o=e[t.serializationProperty];return o&&(this.showAllStrings||i||!o.isEmpty)?this.translation&&!this.translation.canShowProperty(e,t,o.isEmpty)?null:new g(t.name,o,i,this.translation,e,t):null},t.prototype.getDefaultValue=function(e,t){if("title"==t.name&&t.isLocalizable&&t.serializationProperty){var i=e[t.serializationProperty];if(i&&"page"!=e.getType()&&(i.onGetTextCallback||i.onRenderedHtmlCallback))return e.name}return""},t.prototype.isItemValueArray=function(e){return!!e&&Array.isArray(e)&&e.length>0&&!!e[0]&&!!e[0].getType&&!!e[0].setData&&!!e[0].setLocText},t.prototype.createGroups=function(e,i){for(var o=0;o<e.length;o++){var r=e[o];if(r&&r.getType){var n=r.name,s=r.title||n;if(!n){var l="["+o.toString()+"]";n=i.name+l,s=a.editorLocalization.getPropertyName(i.name)+l}var u=new t(n,r,this.translation,s);u.hasItems&&this.itemValues.push(u)}}},t.prototype.createItemValuesLocale=function(){for(var e=0;e<this.obj.length;e++){var t=this.obj[e];if(this.showAllStrings||!t.locText.isEmpty||isNaN(t.value)){var i=new g(t.value,t.locText,t.value,this.translation,t);this.itemValues.push(i),this.addCustomPropertiesForItemValue(this.obj[e],i)}}},t.prototype.addCustomPropertiesForItemValue=function(e,t){for(var i=this.getLocalizedProperties(e),o=0;o<i.length;o++)if("text"!=i[o].name){var r=this.createTranslationItem(e,i[o]);r&&(r.customText=t.text+" ("+r.localizableName+")",r.name=e.value+"."+r.name,this.itemValues.push(r))}},Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showHeader",void 0),t}(p),v=function(e){function t(t,i,o){void 0===i&&(i=null),void 0===o&&(o=!0);var r=e.call(this)||this;r.options=i,r.hasUI=o,r.chooseLanguageActions=[],r.options||(r.options=new s.EmptySurveyCreatorOptions);var n=r;return r.exportToCSVFileUI=function(){n.exportToSCVFile("survey_translation.csv")},r.importFromCSVFileUI=function(e){e.files.length<1||(n.importFromCSVFile(e.files[0]),e.value="")},r.settingsSurveyValue=r.createSettingsSurvey(),r.survey=t,r.setupToolbarItems(),r}return Object(o.__extends)(t,e),t.prototype.getType=function(){return"translation"},t.prototype.makeObservable=function(e){this.onBaseObjCreatingCallback=e,this.fireOnObjCreating(this),this.root.makeObservable()},t.prototype.fireOnObjCreating=function(e){this.onBaseObjCreatingCallback&&this.onBaseObjCreatingCallback(e)},Object.defineProperty(t.prototype,"settingsSurvey",{get:function(){return this.settingsSurveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localesQuestion",{get:function(){return this.settingsSurvey.getQuestionByName("locales")},enumerable:!1,configurable:!0}),t.prototype.createSettingsSurvey=function(){var e=this,t=this.getSettingsSurveyJSON();Object(l.setSurveyJSONForPropertyGrid)(t);var i=this.options.createSurvey(t,"translation_settings");return i.css=c.propertyGridCss,i.css.root+=" st-properties",i.onValueChanged.add((function(t,i){"locales"==i.name&&e.updateLocales()})),i.onGetPanelTitleActions.add((function(t,i){if("languages"==i.panel.name){var o=new r.Action({id:"svc-translation-choose-language",iconName:"icon-add",component:"sv-action-bar-item-dropdown",popupModel:e.chooseLanguagePopupModel,action:function(t){e.chooseLanguagePopupModel.toggleVisibility()}});i.titleActions=[o]}})),i},t.prototype.updateLocales=function(){if(this.localesQuestion){var e=[""],t=this.localesQuestion.value;Array.isArray(t)||(t=[]);for(var i=0;i<t.length;i++)e.push(t[i]);this.locales=e,this.canMergeLocaleWithDefault=this.hasLocale(this.defaultLocale)}},t.prototype.getSettingsSurveyJSON=function(){var e=this.getLocaleName("");return{elements:[{type:"panel",name:"languages",elements:[{type:"checkbox",name:"defaultLanguage",titleLocation:"hidden",readOnly:!0,choices:[e],defaultValue:[e]},{type:"checkbox",name:"locales",choicesVisibleIf:"{selLocales} contains {item}",titleLocation:"hidden"}],title:a.editorLocalization.getString("ed.translationLanguages")}]}},t.prototype.getSurveyLocales=function(){for(var e=new Array,t=r.surveyLocalization.supportedLocales,i=Array.isArray(t)&&t.length>0?t:r.surveyLocalization.getLocales(),o={},n=0;n<i.length;n++)this.addLocaleIntoChoices(i[n],e,o);for((i=this.settingsSurvey.getValue("selLocales"))||(i=[]),n=0;n<i.length;n++)this.addLocaleIntoChoices(i[n],e,o);return[e,i]},t.prototype.updateSettingsSurveyLocales=function(){var e=this.getSurveyLocales(),t=e[0],i=e[1];this.localesQuestion.choices=t,this.localesQuestion.value=i},t.prototype.resetStringsSurvey=function(){this.hasUI&&(this.stringsSurvey=this.createStringsSurvey(),this.stringsHeaderSurvey=this.createStringsHeaderSurvey())},t.prototype.createStringsSurvey=function(){var e=this,t={autoGrowComment:!0};Object(l.setSurveyJSONForPropertyGrid)(t,!1);var i=this.options.createSurvey(t,"translation_strings");i.lazyRendering=!0,i.skeletonComponentName="sd-translation-line-skeleton",i.startLoadingFromJson(),i.css=d.translationCss,i.addNewPage("page"),this.addTranslationGroupIntoStringsSurvey(i.pages[0],this.root,null),i.data=this.getStringsSurveyData(i),i.endLoadingFromJson();var o=function(e,t){var i=r.ItemValue.getItemByValue(e.rows,t);return i?i.translationData:null};return i.onMatrixCellCreated.add((function(t,i){if(i.cell.question instanceof r.QuestionCommentModel){var n=i.cell.question,a=o(i.question,i.row.name);e.setPlaceHolder(n,a,i.columnName);var s=!!a&&a.locString.getIsMultiple();n.acceptCarriageReturn=s,a&&(n.maxLength=a.maxLength),s||(n.rows=1)}})),i.onMatrixCellValueChanged.add((function(t,i){var r=o(i.question,i.row.name);r&&(r.setLocText(i.columnName,i.value),"default"==i.columnName&&i.row.cells.forEach((function(t){e.updateCellPlaceholdersByDefault(t,i.value,r)})))})),i.currentPage=i.pages[0],i},t.prototype.setPlaceHolder=function(e,t,i){var o=t.context,n=a.editorLocalization.getString("ed.translationPlaceHolder",i);o instanceof r.SurveyModel?e.placeHolder=r.surveyLocalization.getString(t.name,i)||n:o instanceof r.PageModel||"title"!==t.name?e.placeHolder=n:e.placeHolder=o[t.name]||o.name},t.prototype.updateCellPlaceholdersByDefault=function(e,t,i){t?e.question.placeHolder=t:this.setPlaceHolder(e.question,i,e.column.name)},t.prototype.createStringsHeaderSurvey=function(){var e={};Object(l.setSurveyJSONForPropertyGrid)(e,!1);var t=this.options.createSurvey(e,"translation_strings_header");t.css=d.translationCss;var i=t.addNewPage("page"),o=r.Serializer.createClass("matrixdropdown");return o.name="stringsHeader",o.titleLocation="hidden",this.addLocaleColumns(o),i.addQuestion(o),t.currentPage=t.pages[0],t},t.prototype.addTranslationGroupIntoStringsSurvey=function(e,t,i){for(var o=0;o<t.items.length;o++)if(!t.items[o].isGroup){var n=t.items[o];if(0==e.questions.length){var a=r.Serializer.createClass("matrixdropdown");a.cellType="comment",a.titleLocation="hidden",a.name=this.getStringsSurveyQuestionName(t,i),a.showHeader=!1,a.showColumnHeader=!1,e.addQuestion(a),this.addLocaleColumns(a)}var s=e.questions[0],l=new r.ItemValue(n.name,n.text);l.translationData=n,s.rows.push(l)}for(o=0;o<t.items.length;o++)if(t.items[o].isGroup){n=t.items[o];var u=r.Serializer.createClass("panel");u.name=n.name,e.addElement(u),u.title=n.text,n.hasIndent&&(u.cssClasses.panel.content+=" st-panel-indent"),this.addTranslationGroupIntoStringsSurvey(u,n,t)}},t.prototype.addLocaleColumns=function(e){var t=this.getSelectedLocales();e.rowTitleWidth="300px";var i="calc((100% - "+e.rowTitleWidth+")/"+(t.length+1)+")";e.addColumn("default",this.getLocaleName("")).width=i;for(var o=0;o<t.length;o++)e.addColumn(t[o],this.getLocaleName(t[o])).width=i},t.prototype.getStringsSurveyQuestionName=function(e,t){return null==t||e.obj.name==e.name?e.name+"_props":t.name+"_"+e.name},t.prototype.getStringsSurveyData=function(e){for(var t={},i=e.getAllQuestions(),o=0;o<i.length;o++)t[i[o].name]=this.getStringsQuestionData(i[o]);return t},t.prototype.getStringsQuestionData=function(e){for(var t={},i=0;i<e.rows.length;i++){var o=e.rows[i],r=o.translationData.toJSON();r&&(t[o.value]=r)}return t},t.prototype.updateHeaderStringsSurveyColumns=function(){if(this.stringsHeaderSurvey){var e=this.stringsHeaderSurvey.getQuestionByName("stringsHeader");e.columns=[],this.addLocaleColumns(e)}},t.prototype.updateStringsSurveyColumns=function(){if(this.stringsSurvey)for(var e=this.stringsSurvey.getAllQuestions(),t=0;t<e.length;t++){var i=e[t];i.beginUpdate(),i.columns=[],this.addLocaleColumns(i),i.endUpdate()}},t.prototype.addLocaleIntoChoices=function(e,t,i){e&&!i[e]&&(i[e]=!0,t.push(new r.ItemValue(e,a.editorLocalization.getLocaleName(e))))},t.prototype.addLocaleIntoValue=function(e,t){this.addLocaleIntoValueCore("selLocales",e),t&&this.addLocaleIntoValueCore("locales",e)},t.prototype.addLocaleIntoValueCore=function(e,t){if(t){var i=this.settingsSurvey.getValue(e);Array.isArray(i)||(i=[]),i.indexOf(t)<0&&(i.push(t),this.settingsSurvey.setValue(e,i))}},t.prototype.isLocaleVisible=function(e){return e!==r.surveyLocalization.defaultLocale&&!this.hasLocale(e)},t.prototype.setupToolbarItems=function(){var e=this;this.chooseLanguageActions=this.getSurveyLocales()[0].map((function(t){return{id:t.value,title:t.text,data:t,visible:e.isLocaleVisible(t.value)}})),this.chooseLanguagePopupModel=new r.PopupModel("sv-list",{model:new r.ListModel(this.chooseLanguageActions,(function(t){e.addLocale(t.id),e.chooseLanguagePopupModel.toggleVisibility()}),!1)},"bottom","left")},t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"canMergeLocaleWithDefault"===t&&(this.mergeLocaleWithDefaultText=this.getMergeLocaleWithDefaultText()),"locales"===t&&(this.updateHeaderStringsSurveyColumns(),this.updateStringsSurveyColumns())},t.prototype.getMergeLocaleWithDefaultText=function(){if(!this.canMergeLocaleWithDefault)return"";var e=this.getLocaleName(this.defaultLocale);return a.editorLocalization.getString("ed.translationMergeLocaleWithDefault").format(e)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.surveyValue=e,this.reset()},enumerable:!1,configurable:!0}),t.prototype.reset=function(){var e=this.filteredPage?this.filteredPage:this.survey,t=this.filteredPage?e.name:"survey";this.root=new h(t,e,this),this.root.setAsRoot(),this.root.reset(),this.resetLocales(),this.isEmpty=!this.root.hasItems,this.updateSettingsSurveyLocales(),this.updateLocales(),this.resetStringsSurvey()},t.prototype.canShowProperty=function(e,t,i){var o=!i||u.SurveyHelper.isPropertyVisible(e,t,this.options);return this.translationStringVisibilityCallback?this.translationStringVisibilityCallback(e,t.name,o):o},Object.defineProperty(t.prototype,"defaultLocale",{get:function(){return r.surveyLocalization.defaultLocale},enumerable:!1,configurable:!0}),t.prototype.getLocaleName=function(e){return a.editorLocalization.getLocaleName(e,this.defaultLocale)},t.prototype.removeLocale=function(e){if(this.hasLocale(e)){var t=this.locales.indexOf(e),i=this.locales;i.splice(t,1),this.locales=i,this.canMergeLocaleWithDefault=this.hasLocale(this.defaultLocale)}},t.prototype.hasLocale=function(e){for(var t=this.locales,i=0;i<t.length;i++)if(t[i]==e)return!0;return!1},t.prototype.addLocale=function(e){this.hasLocale(e)||this.addLocaleIntoValue(e,!0);var t=this.chooseLanguageActions.filter((function(t){return t.id===e}));Array.isArray(t)&&1==t.length&&(t[0].visible=this.isLocaleVisible(e))},t.prototype.resetLocales=function(){var e=[""];this.root.fillLocales(e),this.setLocales(e)},t.prototype.getSelectedLocales=function(){var e=this.localesQuestion.value;return Array.isArray(e)?e:[]},t.prototype.setSelectedLocales=function(e){this.localesQuestion.value=e},Object.defineProperty(t.prototype,"noStringsText",{get:function(){return a.editorLocalization.getString("ed.translationNoStrings")},enumerable:!1,configurable:!0}),t.prototype.exportToCSV=function(){var e=[],i=[],o=this.locales;i.push("description ↓ - language →");for(var r=0;r<o.length;r++)i.push(o[r]?o[r]:"default");e.push(i);var a={};for(var l in this.fillItemsHash("",this.root,a),a){var u=[l],c=a[l];for(r=0;r<o.length;r++){var d=c.locString.getLocaleText(o[r]);u.push(d||0!=r?d:c.defaultValue)}e.push(u)}var p=s.settings.traslation.exportPrefix;return p||(p=""),p+Object(n.unparse)(e,{quoteChar:'"',escapeChar:'"',delimiter:t.csvDelimiter,header:!0,newline:t.newLineDelimiter,skipEmptyLines:!1,columns:null})},t.prototype.importFromNestedArray=function(e){var i=this,o=e.shift().slice(1);"default"===o[0]&&(o[0]="");var r=new t(this.survey,this.options,!1);r.showAllStrings=!0;var n={};this.fillItemsHash("",r.root,n),e.forEach((function(e){var t=e.shift().trim();if(t){var r=n[t];r&&i.updateItemWithStrings(r,e,o)}})),this.reset(),this.importFinishedCallback&&this.importFinishedCallback()},t.prototype.exportToSCVFile=function(e){var t=this.exportToCSV(),i=new Blob([t],{type:"text/csv"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(i,e);else{var o=window.document.createElement("a");o.href=window.URL.createObjectURL(i),o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o)}},t.prototype.importFromCSVFile=function(e){var t=this;Object(n.parse)(e,{complete:function(e,i){t.importFromNestedArray(e.data)}})},t.prototype.mergeLocaleWithDefault=function(){this.hasLocale(this.defaultLocale)&&(this.root.mergeLocaleWithDefault(this.defaultLocale),this.settingsSurveyValue.setValue("selLocales",[]),this.settingsSurveyValue.setValue("locales",[]),this.reset())},t.prototype.translateItemAfterRender=function(e,t,i){if(this.translateItemAfterRenderCallback){if(Array.isArray(t))for(var o=0;o<t.length;o++)if("TEXTAREA"==t[o].tagName){t=t[o];break}this.translateItemAfterRenderCallback(e,t,i)}},t.prototype.updateItemWithStrings=function(e,t,i){for(var o=0;o<t.length&&o<i.length;o++){var r=t[o].trim();r&&(e.values(i[o]).text=r)}},t.prototype.fillItemsHash=function(e,t,i){var o=this,r=e?e+"."+t.name:t.name;t.locItems.forEach((function(e){i[r+"."+e.name]=e})),t.groups.forEach((function(e){return o.fillItemsHash(r,e,i)}))},t.prototype.setLocales=function(e){this.settingsSurvey.setValue("setLocales",[]),this.localesQuestion.value=[];for(var t=0;t<e.length;t++)this.addLocaleIntoValue(e[t],!1)},t.prototype.dispose=function(){this.importFinishedCallback=void 0,this.availableTranlationsChangedCallback=void 0,this.tranlationChangedCallback=void 0},t.csvDelimiter=",",t.newLineDelimiter="\n",Object(o.__decorate)([Object(r.propertyArray)()],t.prototype,"locales",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"canMergeLocaleWithDefault",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"mergeLocaleWithDefaultText",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"readOnly",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"root",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1,onSet:function(e,t){t.reset()}})],t.prototype,"showAllStrings",void 0),Object(o.__decorate)([Object(r.property)({onSet:function(e,t){t.reset()}})],t.prototype,"filteredPage",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"stringsSurvey",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"stringsHeaderSurvey",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"isEmpty",void 0),t}(r.Base)},"./src/components/toolbox/toolbox-tool.scss":
|
|
293
293
|
/*!**************************************************!*\
|
|
294
294
|
!*** ./src/components/toolbox/toolbox-tool.scss ***!
|
|
295
295
|
\**************************************************/
|
|
@@ -305,7 +305,7 @@ License: MIT
|
|
|
305
305
|
/*!*****************************!*\
|
|
306
306
|
!*** ./src/creator-base.ts ***!
|
|
307
307
|
\*****************************/
|
|
308
|
-
/*! exports provided: TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorBase, StylesManager, getElementWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable */function(e,t,i){"use strict";i.r(t),i.d(t,"TabbedMenuItem",(function(){return N})),i.d(t,"TabbedMenuContainer",(function(){return O})),i.d(t,"ToolbarActionContainer",(function(){return _})),i.d(t,"CreatorBase",(function(){return A})),i.d(t,"StylesManager",(function(){return j})),i.d(t,"getElementWrapperComponentName",(function(){return V})),i.d(t,"getElementWrapperComponentData",(function(){return I})),i.d(t,"getItemValueWrapperComponentName",(function(){return z})),i.d(t,"getItemValueWrapperComponentData",(function(){return M})),i.d(t,"isStringEditable",(function(){return q}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ./settings */"./src/settings.ts"),a=i(/*! ./editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ./json5 */"./src/json5.ts"),l=i(/*! ./questionconverter */"./src/questionconverter.ts"),u=i(/*! ./textWorker */"./src/textWorker.ts"),c=i(/*! ./toolbox */"./src/toolbox.ts"),d=i(/*! ./utils/utils */"./src/utils/utils.ts"),p=i(/*! ./survey-helper */"./src/survey-helper.ts"),m=i(/*! ./pages-controller */"./src/pages-controller.ts"),g=i(/*! ./selection-history */"./src/selection-history.ts"),h=i(/*! ./components/tabs/embed */"./src/components/tabs/embed.ts"),v=i(/*! ./components/tabs/json-editor-ace */"./src/components/tabs/json-editor-ace.ts"),y=i(/*! ./components/tabs/json-editor-textarea */"./src/components/tabs/json-editor-textarea.ts"),f=i(/*! ./components/tabs/test-plugin */"./src/components/tabs/test-plugin.ts"),b=i(/*! ./components/tabs/logic */"./src/components/tabs/logic.ts"),x=i(/*! ./components/tabs/translation-plugin */"./src/components/tabs/translation-plugin.ts"),w=i(/*! ./components/tabs/logic-plugin */"./src/components/tabs/logic-plugin.ts"),T=i(/*! ./components/notifier */"./src/components/notifier.ts"),k=i(/*! ./utils/actions */"./src/utils/actions.ts"),S=i(/*! ./plugins/undo-redo */"./src/plugins/undo-redo/index.ts"),P=i(/*! ./components/tabs/designer-plugin */"./src/components/tabs/designer-plugin.ts"),E=i(/*! ./creator-responsivity-manager */"./src/creator-responsivity-manager.ts"),C=i(/*! ./components/side-bar/side-bar-model */"./src/components/side-bar/side-bar-model.ts"),N=(i(/*! ./components/creator.scss */"./src/components/creator.scss"),i(/*! ./components/string-editor.scss */"./src/components/string-editor.scss"),i(/*! ./creator-theme/creator.scss */"./src/creator-theme/creator.scss"),function(e){function t(t){return e.call(this,t)||this}return Object(o.__extends)(t,e),t}(r.Action)),O=function(e){function t(){var t=e.call(this)||this;return t.dotsItemPopupModel.horizontalPosition="center",t.minVisibleItemsCount=1,t}return Object(o.__extends)(t,e),t}(r.AdaptiveActionContainer),_=function(e){function t(t){var i=e.call(this)||this;return i.creator=t,i}return Object(o.__extends)(t,e),t.prototype.getRenderedActions=function(){var e=this.actions,t=this.creator.sideBar.getExpandAction(),i=e.indexOf(t);return-1!==i&&(e.splice(i,1),e.push(t)),e},t}(r.ActionContainer),A=function(e){function t(i,o){var a=e.call(this)||this;return a.options=i,a.isRTLValue=!1,a.alwaySaveTextInPropertyEditorsValue=!1,a.pageEditModeValue="standard",a.newQuestions=[],a.newPanels=[],a.plugins={},a.onElementDeleting=new r.Event,a.onGetPropertyReadOnly=new r.Event,a.onSurveyInstanceCreated=new r.Event,a.onGetObjectDisplayName=new r.Event,a.onElementAllowOperations=new r.Event,a.onDefineElementMenuItems=new r.Event,a.onShowingProperty=new r.Event,a.onCanShowProperty=a.onShowingProperty,a.onPropertyEditorCreated=new r.Event,a.onPropertyEditorUpdateTitleActions=new r.Event,a.onCanDeleteItem=new r.Event,a.onCollectionItemDeleting=new r.Event,a.onCollectionItemAllowOperations=new r.Event,a.onItemValueAdded=new r.Event,a.onMatrixColumnAdded=new r.Event,a.onSetPropertyEditorOptions=new r.Event,a.onGenerateNewName=new r.Event,a.onPropertyValidationCustomError=new r.Event,a.onPropertyValueChanging=new r.Event,a.onConditionQuestionsGetList=new r.Event,a.onConditionGetTitle=new r.Event,a.onModified=new r.Event,a.onQuestionAdded=new r.Event,a.onPanelAdded=new r.Event,a.onPageAdded=new r.Event,a.onDesignerSurveyCreated=new r.Event,a.onPreviewSurveyCreated=new r.Event,a.onTestSurveyCreated=a.onPreviewSurveyCreated,a.onNotify=new r.Event,a.onSelectedElementChanging=new r.Event,a.onSelectedElementChanged=new r.Event,a.onOpenFileChooser=new r.Event,a.onUploadFile=new r.Event,a.onTranslationStringVisibility=new r.Event,a.useTabsInElementEditor=!1,a.maxLogicItemsInCondition=-1,a.showObjectTitles=!1,a.showTitlesInExpressions=!1,a.allowEditExpressionsInTextEditor=!0,a.maximumColumnsCount=n.settings.propertyGrid.maximumColumnsCount,a.maximumChoicesCount=n.settings.propertyGrid.maximumChoicesCount,a.maximumRowsCount=n.settings.propertyGrid.maximumRowsCount,a.maximumRateValues=n.settings.propertyGrid.maximumRateValues,a.showPagesInTestSurveyTab=!0,a.showSimulatorInTestSurveyTab=!0,a.allowModifyPages=!0,a.showDefaultLanguageInTestSurveyTab="auto",a.showInvisibleElementsInTestSurveyTab=!0,a.showPageSelectorInToolbar=!1,a.tabbedMenu=new O,a.showErrorOnFailedSave=!0,a.onActiveTabChanged=new r.Event,a.showPropertyGridValue=!0,a.onShowPropertyGridVisiblityChanged=new r.Event,a.onBeforeUndo=new r.Event,a.onBeforeRedo=new r.Event,a.onAfterUndo=new r.Event,a.onAfterRedo=new r.Event,a.onStateChanged=new r.Event,a.notifier=new T.Notifier,a.onKeyDownHandler=function(e){var t,i;Object.keys(a.shortcuts||{}).forEach((function(o){t=a.shortcuts[o],(i=e.metaKey?t.macOsHotkey:t.hotKey)&&!!i.ctrlKey==!!e.ctrlKey&&!!i.shiftKey==!!e.shiftKey&&i.keyCode===e.keyCode&&(i.keyCode<48&&function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase();return-1!==["input","textarea"].indexOf(t)||"span"===t&&e.isContentEditable}(e.target)||t.execute(a.selectElement))}))},a.shortcuts={},a.autoSaveDelay=n.settings.autoSave.delay,a.autoSaveTimerId=null,a.saveNo=0,(o||"string"==typeof a.options||a.options instanceof String)&&(a.options=o||{},p.SurveyHelper.warnText("Creator constructor has one parameter, as creator options, in V2.")),a.toolbarValue=new _(a),a.pagesControllerValue=new m.PagesController(a),a.selectionHistoryControllerValue=new g.SelectionHistory(a),a.sideBar=new C.SideBarModel(a),a.setOptions(a.options),a.patchMetadata(),a.initSurveyWithJSON(JSON.parse(t.defaultNewSurveyText),!1),a.toolbox=new c.QuestionToolbox(a.options&&a.options.questionTypes?a.options.questionTypes:null,a),a.updateToolboxIsCompact(),a.initTabs(),a.initDragDrop(),a.toolbar.actions.push(a.sideBar.getExpandAction()),a}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"showPreviewTab",{get:function(){return this.showTestSurveyTab},set:function(e){this.showTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowEditSurveyTitle",{get:function(){return this.getPropertyValue("allowEditSurveyTitle",!0)},set:function(e){["title","description","logo","showTitle","logoWidth","logoHeight","logoFit"].forEach((function(t){return r.Serializer.findProperty("survey",t).visible=e})),this.setPropertyValue("allowEditSurveyTitle",e),this.designerPropertyGrid&&this.designerPropertyGrid.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"licenseText",{get:function(){return this.getLocString("survey.license")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageEditMode",{get:function(){return this.pageEditModeValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbarItems",{get:function(){return this.toolbarValue.actions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbar",{get:function(){return this.toolbarValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showingViewName",{get:function(){return this.activeTab},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDesignerShowing",{get:function(){return"designer"===this.activeTab},enumerable:!1,configurable:!0}),t.prototype.showDesigner=function(){this.activeTab="designer"},Object.defineProperty(t.prototype,"isTestSurveyShowing",{get:function(){return this.isPreviewShowing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreviewShowing",{get:function(){return"test"===this.activeTab},enumerable:!1,configurable:!0}),t.prototype.showTestSurvey=function(){this.showPreview()},t.prototype.showPreview=function(){this.activeTab="test"},t.prototype.addPluginTab=function(e,t,i,o,r){var n=this,s=new N({id:e,title:i||a.editorLocalization.getString("ed."+e),componentContent:o||"svc-tab-"+e,data:t,action:function(){return n.makeNewViewActive(e)},active:this.viewType===e});r>=0&&r<this.tabs.length?this.tabs.splice(r,0,s):this.tabs.push(s),this.addPlugin(e,t)},t.prototype.addPlugin=function(e,t){this.plugins[e]=t},t.prototype.getPlugin=function(e){return this.plugins[e]},Object.defineProperty(t.prototype,"showPagesInPreviewTab",{get:function(){return this.showPagesInTestSurveyTab},set:function(e){this.showPagesInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showSimulatorInPreviewTab",{get:function(){return this.showSimulatorInTestSurveyTab},set:function(e){this.showSimulatorInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDefaultLanguageInPreviewTab",{get:function(){return this.showDefaultLanguageInTestSurveyTab},set:function(e){this.showDefaultLanguageInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInvisibleElementsInPreviewTab",{get:function(){return this.showInvisibleElementsInTestSurveyTab},set:function(e){this.showInvisibleElementsInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabs",{get:function(){return this.tabbedMenu.actions},set:function(e){this.tabbedMenu.actions=e},enumerable:!1,configurable:!0}),t.prototype.getLocString=function(e){return a.editorLocalization.getString(e)},t.prototype.onSetReadOnly=function(e){},Object.defineProperty(t.prototype,"readOnly",{get:function(){return this.getPropertyValue("readOnly",!1)},set:function(e){var t=this.text;this.setPropertyValue("readOnly",e),this.onSetReadOnly(e),this.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get:function(){return this.isRTLValue},set:function(e){this.isRTLValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeTab",{get:function(){return this.viewType},set:function(e){this.makeNewViewActive(e)},enumerable:!1,configurable:!0}),t.prototype.makeNewViewActive=function(e){if(e==this.viewType)return!1;if(!this.canSwitchViewType())return!1;var t=this.activatePlugin(e);return this.viewType=e,this.onActiveTabChanged.fire(this,{tabName:e,plugin:t,model:t?t.model:void 0}),!0},t.prototype.canSwitchViewType=function(){var e=this.currentPlugin;return!e||!e.deactivate||e.deactivate()},t.prototype.activatePlugin=function(e){var t=this.getPlugin(e);return t&&t.activate(),t},Object.defineProperty(t.prototype,"currentPlugin",{get:function(){return this.getPlugin(this.activeTab)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolboxCategories",{get:function(){return this.toolbox.categories},enumerable:!1,configurable:!0}),t.prototype.updateToolboxIsCompact=function(e){"right"==this.toolboxLocation&&this.showPropertyGrid?this.toolbox.isCompact=!0:null!=e&&null!=e&&(this.toolbox.isCompact=e)},t.prototype.onSurveyElementPropertyValueChanged=function(e,t,i){throw new Error("Method not implemented.")},Object.defineProperty(t.prototype,"showToolbox",{get:function(){p.SurveyHelper.warnNonSupported("showToolbox")},set:function(e){p.SurveyHelper.warnNonSupported("showToolbox")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPropertyGrid",{get:function(){return this.showPropertyGridValue},set:function(e){!0===e||!1===e?this.showPropertyGrid!==e&&(this.showPropertyGridValue=e,this.updateToolboxIsCompact(e),this.onShowPropertyGridVisiblityChanged.fire(this,{show:e})):p.SurveyHelper.warnText("showPropertyGrid propertry grid is a boolean property now.")},enumerable:!1,configurable:!0}),t.prototype.rightContainerActiveItem=function(e){p.SurveyHelper.warnNonSupported("rightContainerActiveItem")},t.prototype.leftContainerActiveItem=function(e){p.SurveyHelper.warnNonSupported("leftContainerActiveItem")},Object.defineProperty(t.prototype,"undoRedoManager",{get:function(){var e=this.getPlugin("undoredo");return e&&e.model.undoRedoManager},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"undoRedoController",{get:function(){var e=this.getPlugin("undoredo");return e&&e.model},enumerable:!1,configurable:!0}),t.prototype.startUndoRedoTransaction=function(e){void 0===e&&(e=""),this.undoRedoController&&this.undoRedoController.startTransaction(e)},t.prototype.stopUndoRedoTransaction=function(){this.undoRedoController&&this.undoRedoController.stopTransaction()},t.prototype.undo=function(){this.undoRedoController&&this.undoRedoController.undo()},t.prototype.redo=function(){this.undoRedoController&&this.undoRedoController.redo()},Object.defineProperty(t.prototype,"pagesController",{get:function(){return this.pagesControllerValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionHistoryController",{get:function(){return this.selectionHistoryControllerValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPage",{get:function(){return this.survey.currentPage},set:function(e){this.survey.currentPage=e},enumerable:!1,configurable:!0}),t.prototype.addPage=function(e){var t=e;if(t)this.survey.addPage(t);else{var i=p.SurveyHelper.getNewPageName(this.survey.pages);t=this.survey.addNewPage(i)}return this.selectElement(t),t},t.prototype.initTabs=function(){this.initPlugins(),this.initFooterToolbar(),this.tabs.length>0&&this.makeNewViewActive(this.tabs[0].id)},t.prototype.initPlugins=function(){this.addPlugin("undoredo",new S.UndoRedoPlugin(this)),this.showDesignerTab&&new P.TabDesignerPlugin(this),this.showPreviewTab&&new f.TabTestPlugin(this),this.showLogicTab&&new w.TabLogicPlugin(this),this.showJSONEditorTab&&(v.TabJsonEditorAcePlugin.hasAceEditor()?new v.TabJsonEditorAcePlugin(this):new y.TabJsonEditorTextareaPlugin(this)),this.showEmbeddedSurveyTab&&new h.TabEmbedPlugin(this),this.showTranslationTab&&new x.TabTranslationPlugin(this)},t.prototype.initFooterToolbar=function(){var e=this;this.footerToolbar||(this.footerToolbar=new r.ActionContainer,["undoredo","designer","test"].forEach((function(t){var i=e.getPlugin(t);i&&i.addFooterActions&&i.addFooterActions()})))},t.prototype.getOptions=function(){return this.options||{}},t.prototype.setOptions=function(e){e||(e={}),e.hasOwnProperty("generateValidJSON")||(e.generateValidJSON=!0),this.options=e,this.showDesignerTab=void 0===e.showDesignerTab||e.showDesignerTab,this.showLogicTab=void 0!==e.showLogicTab&&e.showLogicTab,this.showJSONEditorTab=void 0===e.showJSONEditorTab||e.showJSONEditorTab,this.showPreviewTab=void 0!==e.showPreviewTab?e.showPreviewTab:void 0===e.showTestSurveyTab||e.showTestSurveyTab,this.allowEditSurveyTitle=void 0===e.allowEditSurveyTitle||e.allowEditSurveyTitle,this.showEmbeddedSurveyTab=void 0!==e.showEmbeddedSurveyTab&&e.showEmbeddedSurveyTab,this.showTranslationTab=void 0!==e.showTranslationTab&&e.showTranslationTab,this.showLogicTab=void 0!==e.showLogicTab&&e.showLogicTab,this.haveCommercialLicense=void 0!==e.haveCommercialLicense&&e.haveCommercialLicense,this.showObjectTitles=void 0!==e.showObjectTitles&&e.showObjectTitles,this.showTitlesInExpressions=void 0!==e.showTitlesInExpressions&&e.showTitlesInExpressions,this.allowEditExpressionsInTextEditor=void 0===e.allowEditExpressionsInTextEditor||e.allowEditExpressionsInTextEditor,void 0!==e.maximumColumnsCount&&(this.maximumColumnsCount=e.maximumColumnsCount),void 0!==e.maximumChoicesCount&&(this.maximumChoicesCount=e.maximumChoicesCount),void 0!==e.maximumRowsCount&&(this.maximumRowsCount=e.maxiumumRowsCount),void 0!==e.maximumRateValues&&(this.maximumRateValues=e.maximumRateValues),this.useTabsInElementEditor=void 0!==e.useTabsInElementEditor&&e.useTabsInElementEditor,this.maxLogicItemsInCondition=void 0!==e.maxLogicItemsInCondition?e.maxLogicItemsInCondition:-1,this.showState=void 0!==e.showState&&e.showState,this.showOptions=void 0!==e.showOptions&&e.showOptions,this.generateValidJSON=this.options.generateValidJSON,this.isAutoSave=void 0!==e.isAutoSave&&e.isAutoSave,this.showErrorOnFailedSave=void 0===e.showErrorOnFailedSave||e.showErrorOnFailedSave,this.isRTLValue=void 0!==e.isRTL&&e.isRTL,void 0!==e.readOnly&&(this.readOnly=e.readOnly),void 0!==e.showPagesInTestSurveyTab&&(this.showPagesInPreviewTab=e.showPagesInTestSurveyTab),void 0!==e.showPagesInPreviewTab&&(this.showPagesInPreviewTab=e.showPagesInPreviewTab),void 0!==e.showSimulatorInTestSurveyTab&&(this.showSimulatorInPreviewTab=e.showSimulatorInTestSurveyTab),void 0!==e.showSimulatorInPreviewTab&&(this.showSimulatorInPreviewTab=e.showSimulatorInPreviewTab),void 0!==e.showDefaultLanguageInTestSurveyTab&&(this.showDefaultLanguageInPreviewTab=e.showDefaultLanguageInTestSurveyTab),void 0!==e.showDefaultLanguageInPreviewTab&&(this.showDefaultLanguageInPreviewTab=e.showDefaultLanguageInPreviewTab),void 0!==e.showInvisibleElementsInTestSurveyTab&&(this.showInvisibleElementsInPreviewTab=e.showInvisibleElementsInTestSurveyTab),void 0!==e.showInvisibleElementsInPreviewTab&&(this.showInvisibleElementsInPreviewTab=e.showInvisibleElementsInPreviewTab),void 0!==e.allowModifyPages&&(this.allowModifyPages=e.allowModifyPages),void 0!==e.pageEditMode&&(this.pageEditModeValue=e.pageEditMode,"single"===this.pageEditModeValue&&(r.Serializer.findProperty("survey","pages").visible=!1,r.Serializer.findProperty("question","page").visible=!1,r.Serializer.findProperty("panel","page").visible=!1,this.showJSONEditorTab=!1))},t.prototype.patchMetadata=function(){r.Serializer.findProperty("survey","title").placeholder="pe.surveyTitlePlaceholder",r.Serializer.findProperty("survey","description").placeholder="pe.surveyDescriptionPlaceholder",r.Serializer.findProperty("survey","logoPosition").visible=!1,r.Serializer.findProperty("page","title").placeholder="pe.pageTitlePlaceholder",r.Serializer.findProperty("page","description").placeholder="pe.pageDescriptionPlaceholder"},t.prototype.isCanModifyProperty=function(e,t){var i,o,n=r.Serializer.findProperty(e.getType(),t);if(e instanceof r.ItemValue){if(i=e.locOwner,o=r.Serializer.findProperty(i.getType(),e.ownerPropertyName),!1===this.getElementAllowOperations(i).allowEdit)return!1;var a={allowDelete:!0,allowEdit:!0};if(this.onCollectionItemAllowingCallback(i,n,i.getPropertyValue(o.name),e,a),!1===a.allowEdit)return!1;if(this.onIsPropertyReadOnlyCallback(i,o,o.readOnly,null,null))return!1}return!(e instanceof r.SurveyElement&&!1===this.getElementAllowOperations(e).allowEdit)&&(!n||!this.onIsPropertyReadOnlyCallback(e,n,n.readOnly,i,o))},t.prototype.onIsPropertyReadOnlyCallback=function(e,t,i,o,r){var n=this.readOnly||i;if(this.onGetPropertyReadOnly.isEmpty)return n;var a={obj:e,property:t,readOnly:n,propertyName:t.name,parentObj:o,parentProperty:r};return this.onGetPropertyReadOnly.fire(this,a),a.readOnly},Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),t.prototype.initSurveyWithJSON=function(e,t){var i=this;this.existingPages={};var o=this.createSurvey({});o.css=r.defaultV2Css,o.setDesignMode(!0),o.lazyRendering=!0,o.setJsonObject(e),o.logoPosition="right",o.isEmpty&&o.setJsonObject(this.getDefaultSurveyJson()),o.pages.forEach((function(e){i.existingPages[e.id]=!0})),this.onDesignerSurveyCreated.fire(this,{survey:o}),o.onQuestionAdded.add((function(e,t){i.doOnQuestionAdded(t.question,t.parentPanel)})),o.onPanelAdded.add((function(e,t){i.doOnPanelAdded(t.panel,t.parentPanel)})),o.onPageAdded.add((function(e,t){i.existingPages[t.page.id]||(i.existingPages[t.page.id]=!0,i.doOnPageAdded(t.page))})),o.onGetMatrixRowActions.add((function(e,t){Object(k.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),this.setSurvey(o);var n=this.getPlugin(this.activeTab);n&&n.update&&n.update()},t.prototype.initDragDrop=function(){this.initDragDropSurveyElements(),this.initDragDropChoices()},t.prototype.initDragDropSurveyElements=function(){var e=this;r.DragDropSurveyElements.restrictDragQuestionBetweenPages=n.settings.dragDrop.restrictDragQuestionBetweenPages,this.dragDropSurveyElements=new r.DragDropSurveyElements(null,this),this.dragDropSurveyElements.onBeforeDrop.add((function(t,i){e.startUndoRedoTransaction("drag drop")})),this.dragDropSurveyElements.onAfterDrop.add((function(t,i){e.stopUndoRedoTransaction(),e.selectElement(i.draggedElement,void 0,!1)}))},t.prototype.initDragDropChoices=function(){var e=this;this.dragDropChoices=new r.DragDropChoices(null,this),this.dragDropChoices.onBeforeDrop.add((function(t,i){e.startUndoRedoTransaction("drag drop")})),this.dragDropChoices.onAfterDrop.add((function(t,i){e.stopUndoRedoTransaction(),e.selectElement(i.draggedElement,void 0,!1)}))},t.prototype.updateElementsOnLocaleChanged=function(e,t){if("survey"===e.getType()&&"locale"===t)for(var i=this.survey.pages,o=0;o<i.length;o++)i[o].locStrsChanged()},t.prototype.updateConditionsOnQuestionNameChanged=function(e,t,i){if(this.isObjQuestion(e)&&("name"!==t||e.valueName||this.updateConditions(i,e.name),"valueName"===t)){var o=i||e.name,r=e.valueName?e.valueName:e.name;this.updateConditions(o,r)}},t.prototype.updatePagesController=function(e,t){"name"!=t&&"title"!=t||!this.isObjPage(e)||this.pagesController.pageNameChanged(e)},t.prototype.updateConditions=function(e,t){e!==t&&new b.SurveyLogic(this.survey,this).renameQuestion(e,t)},t.prototype.isObjQuestion=function(e){return this.isObjThisType(e,"question")},t.prototype.isObjPage=function(e){return this.isObjThisType(e,"page")},t.prototype.isObjThisType=function(e,t){for(var i=r.Serializer.findClass(e.getType());i&&i.parentName;){if(i.name===t)return!0;i=r.Serializer.findClass(i.parentName)}return!!i&&i.name===t},t.prototype.doOnQuestionAdded=function(e,t){e.name=this.generateUniqueName(e,e.name);var i={question:e,page:this.getPageByElement(e)};this.onQuestionAdded.fire(this,i)},t.prototype.doOnPanelAdded=function(e,t){var i={panel:e,page:this.getPageByElement(e)};this.onPanelAdded.fire(this,i)},t.prototype.doOnPageAdded=function(e){var t={page:e};this.onPageAdded.fire(this,t),this.setModified({type:"PAGE_ADDED",newValue:t.page})},t.prototype.getPageByElement=function(e){return this.survey.getPageByElement(e)},t.prototype.getDefaultSurveyJson=function(){var e=n.settings.defaultNewSurveyJSON;return e.pages&&e.pages.length>0&&e.pages[0].name&&(e.pages[0].name=a.editorLocalization.getString("ed.newPageName")+"1"),e},t.prototype.setSurvey=function(e){this.surveyValue&&this.surveyValue.dispose(),this.surveyValue=e,this.selectElement(e),this.pagesController.onSurveyChanged(),this.selectionHistoryController.reset()},t.prototype.getSurveyTextFromDesigner=function(){if(!this.survey)return"";var e=this.survey.toJSON(),t=n.settings.jsonEditor.indentation;return this.options&&this.options.generateValidJSON?JSON.stringify(e,null,t):(new s.SurveyJSON5).stringify(e,null,t)},t.prototype.setTextValue=function(e){this.setSurveyJSONTextCallback&&this.setSurveyJSONTextCallback(e)},t.prototype.changeText=function(e,t){void 0===t&&(t=!1),this.setTextValue(e);var i=new u.SurveyTextWorker(e);i.isJsonCorrect?this.initSurveyWithJSON(i.survey.toJSON(),t):this.viewType="editor"},Object.defineProperty(t.prototype,"text",{get:function(){return this.getSurveyJSONTextCallback?this.getSurveyJSONTextCallback().text:this.getSurveyTextFromDesigner()},set:function(e){this.changeText(e,!0)},enumerable:!1,configurable:!0}),t.prototype.getSurveyJSON=function(){if("editor"!=this.viewType)return(new r.JsonObject).toJsonObject(this.survey);var e=this.text,t=new u.SurveyTextWorker(e);return t.isJsonCorrect?(new r.JsonObject).toJsonObject(t.survey):null},t.prototype.getObjectDisplayName=function(e,t,i){void 0===t&&(t=void 0),void 0===i&&(i=void 0),i||(i=p.SurveyHelper.getObjectName(e,this.showObjectTitles));var o={obj:e,displayName:i,reason:t};return this.onGetObjectDisplayName.fire(this,o),o.displayName},t.prototype.createSurvey=function(e,t){void 0===e&&(e={}),void 0===t&&(t="designer");var i=this.createSurveyCore(e,t);return"designer"!=t&&"test"!=t&&(i.locale=a.editorLocalization.currentLocale),this.onSurveyInstanceCreated.fire(this,{survey:i,reason:t}),i},t.prototype.createSurveyCore=function(e,t){throw void 0===e&&(e={}),new Error("createSurveyCore method should be overridden/implemented")},Object.defineProperty(t.prototype,"state",{get:function(){return this._stateValue?this._stateValue:""},enumerable:!1,configurable:!0}),t.prototype.setState=function(e){this._stateValue=e,this.onStateChanged.fire(this,{val:e}),e&&this.notify(this.getLocString("ed."+e))},t.prototype.setModified=function(e){void 0===e&&(e=null),this.setState("modified"),this.onModified.fire(this,e),this.isAutoSave&&this.doAutoSave()},t.prototype.notify=function(e,t){void 0===t&&(t="info"),this.onNotify.isEmpty?this.notifier.notify(e,t):this.onNotify.fire(this,{message:e})},t.prototype.convertQuestion=function(e,t){var i=l.QuestionConverter.convertObject(e,t);return this.setModified({type:"QUESTION_CONVERTED",className:t,oldValue:e,newValue:i}),i},Object.defineProperty(t.prototype,"JSON",{get:function(){return this.survey.toJSON()},set:function(e){"editor"==this.viewType?this.setTextValue(JSON.stringify(e)):this.initSurveyWithJSON(e,!0)},enumerable:!1,configurable:!0}),t.prototype.loadSurvey=function(e){var t=this;(new r.dxSurveyService).loadSurvey(e,(function(e,i,o){e&&i&&(t.JSON=i)}))},t.prototype.doClickQuestionCore=function(e,t,i,o){void 0===t&&(t="ADDED_FROM_TOOLBOX"),void 0===i&&(i=-1),void 0===o&&(o=null),0==this.survey.pageCount&&this.survey.addNewPage();var r=this.currentPage,n=this.getSelectedSurveyElement();n&&n.parent&&n.page==r&&(r=n.parent,i<0&&(i=r.elements.indexOf(n))>-1&&i++),o&&(r=o);var a=this.findRowByElement(n,r);a&&this.isRowMultiline(a)?this.addElemenMultiline(r,e,i,a):r.addElement(e,i),this.setModified({type:t,question:e})},t.prototype.isRowMultiline=function(e){return e.elements.length>1},t.prototype.findRowByElement=function(e,t){return e?e.isPage?e.rows[e.rows.length-1]:t.rows.find((function(t){return-1!==t.elements.indexOf(e)})):null},t.prototype.addElemenMultiline=function(e,t,i,o){var r=o.elements.length,n=o.elements[r-1];n.startWithNewLine=!0,e.addElement(t,i),n.startWithNewLine=!1},t.prototype.setNewNames=function(e){this.newQuestions=[],this.newPanels=[],this.newQuestionChangedNames={},this.setNewNamesCore(e),this.updateNewElementExpressions(e)},t.prototype.updateNewElementExpressions=function(e){var t=this.createSurvey({},"updateNewElementExpressions");t.setDesignMode(!0),e.isPage?t.addPage(e):(t.addNewPage("p1"),t.pages[0].addElement(e));var i=new b.SurveyLogic(t);for(var o in this.newQuestionChangedNames)i.renameQuestion(o,this.newQuestionChangedNames[o])},t.prototype.getAllQuestions=function(){for(var e=[],t=0;t<this.survey.pages.length;t++)this.addElements(this.survey.pages[t].elements,!1,e);return this.addElements(this.newPanels,!1,e),this.addElements(this.newQuestions,!1,e),e},t.prototype.getAllPanels=function(){for(var e=[],t=0;t<this.survey.pages.length;t++)this.addElements(this.survey.pages[t].elements,!0,e);return this.addElements(this.newPanels,!0,e),this.addElements(this.newQuestions,!0,e),e},t.prototype.addElements=function(e,t,i){for(var o=0;o<e.length;o++)e[o].isPanel===t&&i.push(e[o]),this.addElements(p.SurveyHelper.getElements(e[o]),t,i)},t.prototype.getNewName=function(e,t){return"page"==e?p.SurveyHelper.getNewPageName(this.survey.pages):t?this.getNewPanelName():this.getNewQuestionName()},t.prototype.getNewQuestionName=function(){return p.SurveyHelper.getNewQuestionName(this.getAllQuestions())},t.prototype.getNewPanelName=function(){return p.SurveyHelper.getNewPanelName(this.getAllPanels())},t.prototype.setNewNamesCore=function(e){var t=e.getType(),i=this.getNewName(t,e.isPanel);if(i!=e.name&&(this.newQuestionChangedNames[e.name]=i,e.name=i),e.isPanel||"page"==t){e.isPanel&&this.newPanels.push(e);for(var o=e,r=0;r<o.elements.length;r++)this.setNewNamesCore(o.elements[r])}else this.newQuestions.push(e)},t.prototype.createNewElement=function(e){var t=r.Serializer.createClass(e.type);return(new r.JsonObject).toObject(e,t),this.setNewNames(t),t},t.prototype.copyElement=function(e){var t=(new r.JsonObject).toJsonObject(e);return t.type=e.getType(),this.createNewElement(t)},t.prototype.fastCopyQuestion=function(e){var t=this.copyElement(e),i=e.parent?e.parent.elements.indexOf(e)+1:-1;return this.doClickQuestionCore(t,"ELEMENT_COPIED",i),t},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this.selectedElementValue},set:function(e){this.selectElement(e)},enumerable:!1,configurable:!0}),t.prototype.deleteCurrentObject=function(){this.deleteCurrentElement()},t.prototype.deleteCurrentElement=function(){this.deleteObject(this.selectedElement)},t.prototype.deleteElement=function(e){this.deleteObject(e)},t.prototype.copyPage=function(e){var t=this.copyElement(e),i=this.survey.pages.indexOf(e);return i>-1?this.survey.pages.splice(i+1,0,t):this.survey.pages.push(t),t},t.prototype.deleteObjectCore=function(e){if(e.isPage){var t=this.getNextPage(e);this.survey.removePage(e),this.selectElement(t||this.survey)}else this.deletePanelOrQuestion(e);this.setModified({type:"OBJECT_DELETED",target:e}),this.updateConditionsOnRemove(e)},t.prototype.getNextPage=function(e){var t=this.survey.pages.indexOf(e);return t<0||1==this.survey.pages.length?null:(t==this.survey.pages.length-1?t--:t++,t<0||t>this.survey.pages.length-1?null:this.survey.pages[t])},t.prototype.deleteObject=function(e){var t={element:e,elementType:p.SurveyHelper.getObjectType(e),allowing:!0};this.onElementDeleting.fire(this,t),t.allowing&&this.deleteObjectCore(e)},t.prototype.updateConditionsOnRemove=function(e){if(p.SurveyHelper.getObjectType(e)==p.ObjType.Question)t=[e];else var t=e.questions;if(t)for(var i=new b.SurveyLogic(this.survey,this),o=0;o<t.length;o++)i.removeQuestion(t[o].getValueName())},t.prototype.isElementSelected=function(e){return!(!e||e.isDisposed)&&e.getPropertyValue("isSelectedInDesigner")},t.prototype.selectElement=function(e,t,i){void 0===i&&(i=!0);var o=this.selectedElement;o!==e&&(this.selectedElementValue=this.onSelectingElement(e),o!==this.selectedElementValue&&(o&&!o.isDisposed&&o.setPropertyValue("isSelectedInDesigner",!1),this.selectedElementValue&&this.selectedElementValue.setPropertyValue("isSelectedInDesigner",!0))),(o!==e||t)&&this.selectionChanged(this.selectedElement,t,i);var r=this.getSelectedSurveyElement();o!==e&&i&&document&&r&&setTimeout((function(){var e=document.getElementById(r.id);e&&(e.scrollIntoView({block:"center"}),t||e.parentElement&&e.parentElement.focus())}),100)},t.prototype.getSelectedSurveyElement=function(){var e=this.selectedElement;return e&&"survey"!=e.getType()&&e.isInteractiveDesignElement&&e.id?e:null},t.prototype.onSelectingElement=function(e){var t={newSelectedElement:e};return this.onSelectedElementChanging.fire(this,t),t.newSelectedElement},Object.defineProperty(t.prototype,"designerPropertyGrid",{get:function(){var e=this.sideBar.getTabById("propertyGrid");return e&&e.model?e.model.propertyGridModel:null},enumerable:!1,configurable:!0}),t.prototype.collapsePropertyGridCategory=function(e){this.designerPropertyGrid&&this.designerPropertyGrid.collapseCategory(e)},t.prototype.expandPropertyGridCategory=function(e){this.designerPropertyGrid&&this.designerPropertyGrid.expandCategory(e)},t.prototype.collapseAllPropertyGridCategories=function(){this.designerPropertyGrid&&this.designerPropertyGrid.collapseAllCategories()},t.prototype.expandAllPropertyGridCategories=function(){this.designerPropertyGrid&&this.designerPropertyGrid.expandAllCategories()},t.prototype.collapseAllPropertyTabs=function(){this.collapseAllPropertyGridCategories()},t.prototype.expandAllPropertyTabs=function(){this.expandAllPropertyGridCategories()},t.prototype.expandPropertyTab=function(e){this.expandPropertyGridCategory(e)},t.prototype.collapsePropertyTab=function(e){this.collapsePropertyGridCategory(e)},t.prototype.validateSelectedElement=function(){var e=!0;return this.selectedElement?(this.designerPropertyGrid&&(e=this.designerPropertyGrid.validate()),e):e},t.prototype.selectionChanged=function(e,t,i){void 0===i&&(i=!0),this.survey.currentPage=this.getCurrentPageByElement(e),this.selectionHistoryController.onObjSelected(e),this.designerPropertyGrid&&(this.designerPropertyGrid.obj=e,t||(t=this.designerPropertyGrid.currentlySelectedProperty),t&&this.designerPropertyGrid.selectProperty(t,i||!this.selectFromStringEditor),this.selectFromStringEditor=!1);var o={newSelectedElement:e};this.onSelectedElementChanged.fire(this,o)},t.prototype.getCurrentPageByElement=function(e){if(e)return e.isPage?e:e.page?e.page:e.parentQuestion?this.getCurrentPageByElement(e.parentQuestion):void 0},t.prototype.clickToolboxItem=function(e,t){void 0===t&&(t=null),this.readOnly||(void 0===e.getType&&(e=this.createNewElement(e)),this.survey.lazyRendering=!1,this.doClickQuestionCore(e,"ADDED_FROM_TOOLBOX",-1,t),this.selectElement(e))},t.prototype.getJSONForNewElement=function(e){var t=this.createNewElement(e);return(e=t.toJSON()).type=t.getType(),e},t.prototype.chooseFiles=function(e,t){if(this.onOpenFileChooser.isEmpty){if(!window.FileReader)return;e.value="",e.onchange=function(i){if(window.FileReader&&e&&e.files&&!(e.files.length<1)){for(var o=[],r=0;r<e.files.length;r++)o.push(e.files[r]);t(o)}},e.click()}else this.onOpenFileChooser.fire(this,{input:e,callback:t})},t.prototype.uploadFiles=function(e,t){if(this.onUploadFile.isEmpty){var i=new FileReader;i.onload=function(e){t("success",i.result)},i.readAsDataURL(e[0])}else this.onUploadFile.fire(this,{files:e||[],callback:t})},t.prototype.initKeyboardShortcuts=function(e){e.addEventListener("keydown",this.onKeyDownHandler)},t.prototype.removeKeyboardShortcuts=function(e){e.removeEventListener("keydown",this.onKeyDownHandler)},t.prototype.registerShortcut=function(e,t){this.shortcuts[e]=t},t.prototype.unRegisterShortcut=function(e){delete this.shortcuts[e]},t.prototype.deletePanelOrQuestion=function(e){var t=e.parent,i=t.elements,o=i.indexOf(e);o==i.length-1&&o--,e.delete(),this.selectElement(o>-1?i[o]:t)},t.prototype.onCanShowObjectProperty=function(e,t,i,o,r){var n={obj:e,property:t,canShow:!0,showMode:i,parentObj:o,parentProperty:r};return this.onCanShowProperty.fire(this,n),n.canShow},t.prototype.canDeleteItem=function(e,t,i){var o={obj:e,item:t,canDelete:i};return this.onCanDeleteItem.fire(this,o),o.canDelete},t.prototype.getErrorOnPropertyChanging=function(e,t,i){return"name"!==t||p.SurveyHelper.getObjectType(e)===p.ObjType.Unknown?null:(p.SurveyHelper.getObjectType(e)===p.ObjType.Column?e.colOwner&&!this.isNameUniqueInArray(e.colOwner.columns,e,i):this.generateUniqueName(e,i)!==i)?this.getLocString("pe.propertyNameIsNotUnique"):null},t.prototype.generateUniqueName=function(e,t){var i={element:e,name:t,isUnique:!0};do{for(i.isUnique||(i.name=p.SurveyHelper.generateNewName(i.name));!this.isNameUnique(e,i.name);)i.name=p.SurveyHelper.generateNewName(i.name);i.isUnique=!0;var o=i.name;this.onGenerateNewName.fire(this,i),o!=i.name&&(i.isUnique=this.isNameUnique(e,i.name))}while(!i.isUnique);return i.name},t.prototype.isNameUnique=function(e,t){return!!this.isNameUniqueInArray(this.survey.pages,e,t)&&!!this.isNameUniqueInArray(this.survey.getAllPanels(),e,t)&&this.isNameUniqueInArray(this.survey.getAllQuestions(),e,t)},t.prototype.isNameUniqueInArray=function(e,t,i){if(!Array.isArray(e))return!0;i=i.toLowerCase();for(var o=0;o<e.length;o++)if(e[o]!=t&&e[o].name.toLowerCase()==i)return!1;return!0},t.prototype.doPropertyGridChanged=function(){},Object.defineProperty(t.prototype,"alwaySaveTextInPropertyEditors",{get:function(){return this.alwaySaveTextInPropertyEditorsValue},set:function(e){this.alwaySaveTextInPropertyEditorsValue=e},enumerable:!1,configurable:!0}),t.prototype.onCanShowPropertyCallback=function(e,t,i,o,r){return void 0===i&&(i=null),this.onCanShowObjectProperty(e,t,i,o,r)},t.prototype.onPropertyEditorCreatedCallback=function(e,t,i){var o={obj:e,property:t,editor:i};this.onPropertyEditorCreated.fire(this,o)},t.prototype.onPropertyEditorUpdateTitleActionsCallback=function(e,t,i,o){var r={obj:e,property:t,editor:i,titleActions:o};this.onPropertyEditorUpdateTitleActions.fire(this,r)},t.prototype.onCanDeleteItemCallback=function(e,t,i){return this.canDeleteItem(e,t,i)},t.prototype.onCollectionItemDeletingCallback=function(e,t,i,o){if(this.onCollectionItemDeleting.isEmpty)return!0;var r={obj:e,property:t,propertyName:t.name,collection:i,item:o,allowDelete:!0};return this.onCollectionItemDeleting.fire(this,r),r.allowDelete},t.prototype.onCollectionItemAllowingCallback=function(e,t,i,o,r){if(!this.onCollectionItemAllowOperations.isEmpty){var n={obj:e,property:t,propertyName:t&&t.name,collection:i,item:o,allowEdit:r.allowEdit,allowDelete:r.allowDelete};this.onCollectionItemAllowOperations.fire(this,n),r.allowEdit=n.allowEdit,r.allowDelete=n.allowDelete}},t.prototype.onItemValueAddedCallback=function(e,t,i,o){var r={obj:e,propertyName:t,newItem:i,itemValues:o};this.onItemValueAdded.fire(this,r)},t.prototype.onMatrixDropdownColumnAddedCallback=function(e,t,i){var o={newColumn:t,matrix:e,columns:i};this.onMatrixColumnAdded.fire(this,o)},t.prototype.onSetPropertyEditorOptionsCallback=function(e,t,i){var o={propertyName:e,obj:t,editorOptions:i};this.onSetPropertyEditorOptions.fire(this,o)},t.prototype.onGetErrorTextOnValidationCallback=function(e,t,i){var o=this.getErrorOnPropertyChanging(t,e,i);if(o)return o;var r={propertyName:e,obj:t,value:i,error:""};return this.onPropertyValidationCustomError.fire(this,r),r.error},t.prototype.onValueChangingCallback=function(e){this.onPropertyValueChanging.fire(this,e)},t.prototype.onGetElementEditorTitleCallback=function(e,t){return t},t.prototype.onConditionQuestionsGetListCallback=function(e,t,i,o){var r={propertyName:e,obj:t,editor:i,list:o};if(this.onConditionQuestionsGetList.fire(this,r),r.list!==o){o.splice(0,o.length);for(var n=0;n<r.list.length;n++)o.push(r.list[n])}},t.prototype.onConditionGetTitleCallback=function(e,t){var i={expression:e,title:t};return this.onConditionGetTitle.fire(this,i),i.title},t.prototype.doAutoSave=function(){if(this.autoSaveDelay<=0)this.doSave();else{this.autoSaveTimerId&&clearTimeout(this.autoSaveTimerId);var e=this;this.autoSaveTimerId=setTimeout((function(){clearTimeout(e.autoSaveTimerId),e.autoSaveTimerId=null,e.doSave()}),this.autoSaveDelay)}},t.prototype.doSave=function(){var e=this;this.setState("saving"),this.saveSurveyFunc&&(this.saveNo++,this.saveSurveyFunc(this.saveNo,(function(t,i){e.saveNo===t&&(i?e.setState("saved"):(e.showErrorOnFailedSave&&e.notify(e.getLocString("ed.saveError")),e.setState("modified")))})))},Object.defineProperty(t.prototype,"saveSurveyFunc",{get:function(){return this.saveSurveyFuncValue},set:function(e){this.saveSurveyFuncValue=e,this.showSaveButton=null!=e&&!this.isAutoSave},enumerable:!1,configurable:!0}),t.prototype.convertCurrentQuestion=function(e){var t=this.selectedElement;t&&t.getType()!==e&&p.SurveyHelper.getObjectType(t)===p.ObjType.Question&&(t=this.convertQuestion(t,e),this.selectElement(t))},t.prototype.getAddNewQuestionText=function(e){if(void 0===e&&(e=null),e||(e=this.currentAddQuestionType),e){var t=this.getLocString("ed.addNewTypeQuestion");if(t&&t.format)return t.format(this.toolbox.items.filter((function(t){return t.name==e}))[0].title)}return this.getLocString("ed.addNewQuestion")},Object.defineProperty(t.prototype,"addNewQuestionText",{get:function(){return this.getAddNewQuestionText()},enumerable:!1,configurable:!0}),t.prototype.getQuestionTypeSelectorModel=function(e,t){var i=this;void 0===t&&(t=null);var o=this.toolbox.items.map((function(e){return i.createIActionBarItemByClass(e.name,e.title)})),n=new r.PopupModel("sv-list",{model:new r.ListModel(o,(function(o){i.currentAddQuestionType=o.id,i.addNewQuestionInPage(e,t),n.toggleVisibility()}),!1)},"bottom","center");return{iconName:"icon-more",action:function(){n.displayMode=i.isMobileView?"overlay":"popup",n.toggleVisibility()},popupModel:n}},t.prototype.addNewQuestionInPage=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=null),i||(i=this.currentAddQuestionType),e(i);var o=r.ElementFactory.Instance.createElement(i||"text","q1");o?this.setNewNames(o):o=this.createNewElement({type:i}),this.clickToolboxItem(o,t)},t.prototype.createIActionBarItemByClass=function(e,t){return void 0===t&&(t=null),new r.Action({title:t||this.getLocString("qt."+e),id:e,iconName:"icon-"+e})},t.prototype.onElementMenuItemsChanged=function(e,t){this.onDefineElementMenuItems.fire(this,{obj:e,items:t})},t.prototype.getElementAllowOperations=function(e){var t={obj:e,element:e,allowDelete:!0,allowCopy:!0,allowDragging:!0,allowChangeType:!0,allowChangeRequired:!0};return this.onElementAllowOperations.fire(this,t),t},t.prototype.getNextItemValue=function(e){var t=r.surveyLocalization.getString("choices_Item"),i=e.choices.map((function(e){return e.value}));return Object(d.getNextValue)(t,i)},t.prototype.createNewItemValue=function(e){var t=this.getNextItemValue(e);return e.createItemValue(t)},t.prototype.onPropertyValueChanged=function(t,i,o){var r=this;e.prototype.onPropertyValueChanged.call(this,t,i,o),"viewType"===t&&this.tabs.forEach((function(e){return e.active=r.viewType===e.id}))},t.prototype.initResponsivityManager=function(e){this.responsivityManager=new E.CreatorResponsivityManager(e,this)},t.prototype.resetResponsivityManager=function(){this.responsivityManager&&(this.responsivityManager.dispose(),this.responsivityManager=void 0)},t.defaultNewSurveyText='{ "pages": [ { "name": "page1"}] }',Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showDesignerTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showJSONEditorTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showTestSurveyTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showEmbeddedSurveyTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showTranslationTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showLogicTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:200})],t.prototype,"pageHoverDelay",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"haveCommercialLicense",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isAutoSave",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"showOptions",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showState",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showSearch",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"generateValidJSON",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:""})],t.prototype,"currentAddQuestionType",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"surveyValue",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"viewType",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"addPage",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnQuestionAdded",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnPanelAdded",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnPageAdded",null),Object(o.__decorate)([Object(r.property)()],t.prototype,"_stateValue",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"deleteObject",null),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showSaveButton",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"convertCurrentQuestion",null),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"addNewQuestionInPage",null),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showPageNavigator",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:n.settings.layout.showTabs})],t.prototype,"showTabs",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:n.settings.layout.showToolbar})],t.prototype,"showToolbar",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isMobileView",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:"left",onSet:function(e,t){t.toolbox.setLocation(e),t.updateToolboxIsCompact()}})],t.prototype,"toolboxLocation",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:"right"})],t.prototype,"sideBarLocation",void 0),t}(r.Base),j=function(){function e(){}return Object.defineProperty(e,"currentTheme",{get:function(){p.SurveyHelper.warnNonSupported("StylesManager")},set:function(e){p.SurveyHelper.warnNonSupported("StylesManager")},enumerable:!1,configurable:!0}),e.applyTheme=function(e){p.SurveyHelper.warnNonSupported("StylesManager")},e}();function V(e,t,i){if("logo-image"===t)return"svc-logo-image";if("cell"===t||"column-header"===t||"row-header"===t)return"svc-matrix-cell";if(!e.isContentElement){if(e instanceof r.Question)return i?"dropdown"==e.getType()?"svc-cell-dropdown-question":"svc-cell-question":e.customWidget?"svc-widget-question":"dropdown"==e.getType()?"svc-dropdown-question":"image"==e.getType()?"svc-image-question":"rating"==e.getType()?"svc-rating-question":"svc-question";if(e instanceof r.PanelModel)return"svc-panel"}}function I(e,t,i){return"logo-image"===t?i:"cell"===t||"column-header"===t||"row-header"===t?{creator:i,element:e,question:e.question,row:e.row,column:e.column}:V(e,t,!1)?e instanceof r.Question||e instanceof r.PanelModel?i:null:void 0}function z(e,t){return t.isContentElement?r.SurveyModel.TemplateRendererComponentName:"imagepicker"===t.getType()?"svc-image-item-value":"svc-item-value"}function M(e,t,i){return t.isContentElement?e:{creator:i,question:t,item:e}}function q(e,t){return!(e.parentQuestion instanceof r.QuestionMatrixDropdownModelBase)&&(!e.isContentElement||e.isEditableTemplateElement)}},"./src/creator-responsivity-manager.ts":
|
|
308
|
+
/*! exports provided: TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorBase, StylesManager, getElementWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable */function(e,t,i){"use strict";i.r(t),i.d(t,"TabbedMenuItem",(function(){return N})),i.d(t,"TabbedMenuContainer",(function(){return O})),i.d(t,"ToolbarActionContainer",(function(){return _})),i.d(t,"CreatorBase",(function(){return A})),i.d(t,"StylesManager",(function(){return j})),i.d(t,"getElementWrapperComponentName",(function(){return V})),i.d(t,"getElementWrapperComponentData",(function(){return I})),i.d(t,"getItemValueWrapperComponentName",(function(){return z})),i.d(t,"getItemValueWrapperComponentData",(function(){return M})),i.d(t,"isStringEditable",(function(){return q}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ./settings */"./src/settings.ts"),a=i(/*! ./editorLocalization */"./src/editorLocalization.ts"),s=i(/*! ./json5 */"./src/json5.ts"),l=i(/*! ./questionconverter */"./src/questionconverter.ts"),u=i(/*! ./textWorker */"./src/textWorker.ts"),c=i(/*! ./toolbox */"./src/toolbox.ts"),d=i(/*! ./utils/utils */"./src/utils/utils.ts"),p=i(/*! ./survey-helper */"./src/survey-helper.ts"),m=i(/*! ./pages-controller */"./src/pages-controller.ts"),g=i(/*! ./selection-history */"./src/selection-history.ts"),h=i(/*! ./components/tabs/embed */"./src/components/tabs/embed.ts"),v=i(/*! ./components/tabs/json-editor-ace */"./src/components/tabs/json-editor-ace.ts"),y=i(/*! ./components/tabs/json-editor-textarea */"./src/components/tabs/json-editor-textarea.ts"),f=i(/*! ./components/tabs/test-plugin */"./src/components/tabs/test-plugin.ts"),b=i(/*! ./components/tabs/logic */"./src/components/tabs/logic.ts"),x=i(/*! ./components/tabs/translation-plugin */"./src/components/tabs/translation-plugin.ts"),w=i(/*! ./components/tabs/logic-plugin */"./src/components/tabs/logic-plugin.ts"),T=i(/*! ./components/notifier */"./src/components/notifier.ts"),k=i(/*! ./utils/actions */"./src/utils/actions.ts"),S=i(/*! ./plugins/undo-redo */"./src/plugins/undo-redo/index.ts"),P=i(/*! ./components/tabs/designer-plugin */"./src/components/tabs/designer-plugin.ts"),E=i(/*! ./creator-responsivity-manager */"./src/creator-responsivity-manager.ts"),C=i(/*! ./components/side-bar/side-bar-model */"./src/components/side-bar/side-bar-model.ts"),N=(i(/*! ./components/creator.scss */"./src/components/creator.scss"),i(/*! ./components/string-editor.scss */"./src/components/string-editor.scss"),i(/*! ./creator-theme/creator.scss */"./src/creator-theme/creator.scss"),function(e){function t(t){return e.call(this,t)||this}return Object(o.__extends)(t,e),t}(r.Action)),O=function(e){function t(){var t=e.call(this)||this;return t.dotsItemPopupModel.horizontalPosition="center",t.minVisibleItemsCount=1,t}return Object(o.__extends)(t,e),t}(r.AdaptiveActionContainer),_=function(e){function t(t){var i=e.call(this)||this;return i.creator=t,i}return Object(o.__extends)(t,e),t.prototype.getRenderedActions=function(){var e=this.actions,t=this.creator.sideBar.getExpandAction(),i=e.indexOf(t);return-1!==i&&(e.splice(i,1),e.push(t)),e},t}(r.ActionContainer),A=function(e){function t(i,o){var a=e.call(this)||this;a.options=i,a.isRTLValue=!1,a.alwaySaveTextInPropertyEditorsValue=!1,a.pageEditModeValue="standard",a.newQuestions=[],a.newPanels=[],a.plugins={},a.onElementDeleting=new r.Event,a.onGetPropertyReadOnly=new r.Event,a.onSurveyInstanceCreated=new r.Event,a.onGetObjectDisplayName=new r.Event,a.onElementAllowOperations=new r.Event,a.onDefineElementMenuItems=new r.Event,a.onShowingProperty=new r.Event,a.onCanShowProperty=a.onShowingProperty,a.onPropertyEditorCreated=new r.Event,a.onPropertyEditorUpdateTitleActions=new r.Event,a.onCanDeleteItem=new r.Event,a.onCollectionItemDeleting=new r.Event,a.onCollectionItemAllowOperations=new r.Event,a.onItemValueAdded=new r.Event,a.onMatrixColumnAdded=new r.Event,a.onSetPropertyEditorOptions=new r.Event,a.onGenerateNewName=new r.Event,a.onPropertyValidationCustomError=new r.Event,a.onPropertyValueChanging=new r.Event,a.onConditionQuestionsGetList=new r.Event,a.onConditionGetTitle=new r.Event,a.onModified=new r.Event,a.onQuestionAdded=new r.Event,a.onPanelAdded=new r.Event,a.onPageAdded=new r.Event,a.onDesignerSurveyCreated=new r.Event,a.onPreviewSurveyCreated=new r.Event,a.onTestSurveyCreated=a.onPreviewSurveyCreated,a.onNotify=new r.Event,a.onSelectedElementChanging=new r.Event,a.onSelectedElementChanged=new r.Event,a.onOpenFileChooser=new r.Event,a.onUploadFile=new r.Event,a.onTranslationStringVisibility=new r.Event,a.useTabsInElementEditor=!1,a.maxLogicItemsInCondition=-1,a.showObjectTitles=!1,a.showTitlesInExpressions=!1,a.allowEditExpressionsInTextEditor=!0,a.maximumColumnsCount=n.settings.propertyGrid.maximumColumnsCount,a.maximumChoicesCount=n.settings.propertyGrid.maximumChoicesCount,a.maximumRowsCount=n.settings.propertyGrid.maximumRowsCount,a.maximumRateValues=n.settings.propertyGrid.maximumRateValues,a.showPagesInTestSurveyTab=!0,a.showSimulatorInTestSurveyTab=!0,a.allowModifyPages=!0,a.showDefaultLanguageInTestSurveyTab="auto",a.showInvisibleElementsInTestSurveyTab=!0,a.showPageSelectorInToolbar=!1,a.tabbedMenu=new O,a.showErrorOnFailedSave=!0,a.onActiveTabChanged=new r.Event,a.showPropertyGridValue=!0,a.onShowPropertyGridVisiblityChanged=new r.Event,a.onBeforeUndo=new r.Event,a.onBeforeRedo=new r.Event,a.onAfterUndo=new r.Event,a.onAfterRedo=new r.Event,a.onStateChanged=new r.Event,a.notifier=new T.Notifier,a.onKeyDownHandler=function(e){var t,i;Object.keys(a.shortcuts||{}).forEach((function(o){t=a.shortcuts[o],(i=e.metaKey?t.macOsHotkey:t.hotKey)&&!!i.ctrlKey==!!e.ctrlKey&&!!i.shiftKey==!!e.shiftKey&&i.keyCode===e.keyCode&&(i.keyCode<48&&function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase();return-1!==["input","textarea"].indexOf(t)||"span"===t&&e.isContentEditable}(e.target)||t.execute(a.selectElement))}))},a.shortcuts={},a.autoSaveDelay=n.settings.autoSave.delay,a.autoSaveTimerId=null,a.saveNo=0,(o||"string"==typeof a.options||a.options instanceof String)&&(a.options=o||{},p.SurveyHelper.warnText("Creator constructor has one parameter, as creator options, in V2.")),a.toolbarValue=new _(a),a.pagesControllerValue=new m.PagesController(a),a.selectionHistoryControllerValue=new g.SelectionHistory(a),a.sideBar=new C.SideBarModel(a),a.setOptions(a.options),a.patchMetadata(),a.initSurveyWithJSON(JSON.parse(t.defaultNewSurveyText),!1),a.toolbox=new c.QuestionToolbox(a.options&&a.options.questionTypes?a.options.questionTypes:null,a),a.updateToolboxIsCompact(),a.initTabs(),a.initDragDrop();var s=a.sideBar.getExpandAction();return s&&a.toolbar.actions.push(s),a}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"showPreviewTab",{get:function(){return this.showTestSurveyTab},set:function(e){this.showTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowEditSurveyTitle",{get:function(){return this.getPropertyValue("allowEditSurveyTitle",!0)},set:function(e){["title","description","logo","showTitle","logoWidth","logoHeight","logoFit"].forEach((function(t){return r.Serializer.findProperty("survey",t).visible=e})),this.setPropertyValue("allowEditSurveyTitle",e),this.designerPropertyGrid&&this.designerPropertyGrid.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"licenseText",{get:function(){return this.getLocString("survey.license")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageEditMode",{get:function(){return this.pageEditModeValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbarItems",{get:function(){return this.toolbarValue.actions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbar",{get:function(){return this.toolbarValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showingViewName",{get:function(){return this.activeTab},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDesignerShowing",{get:function(){return"designer"===this.activeTab},enumerable:!1,configurable:!0}),t.prototype.showDesigner=function(){this.activeTab="designer"},Object.defineProperty(t.prototype,"isTestSurveyShowing",{get:function(){return this.isPreviewShowing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreviewShowing",{get:function(){return"test"===this.activeTab},enumerable:!1,configurable:!0}),t.prototype.showTestSurvey=function(){this.showPreview()},t.prototype.showPreview=function(){this.activeTab="test"},t.prototype.addPluginTab=function(e,t,i,o,r){var n=this,s=new N({id:e,title:i||a.editorLocalization.getString("ed."+e),componentContent:o||"svc-tab-"+e,data:t,action:function(){return n.makeNewViewActive(e)},active:this.viewType===e});r>=0&&r<this.tabs.length?this.tabs.splice(r,0,s):this.tabs.push(s),this.addPlugin(e,t)},t.prototype.addPlugin=function(e,t){this.plugins[e]=t},t.prototype.getPlugin=function(e){return this.plugins[e]},Object.defineProperty(t.prototype,"showPagesInPreviewTab",{get:function(){return this.showPagesInTestSurveyTab},set:function(e){this.showPagesInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showSimulatorInPreviewTab",{get:function(){return this.showSimulatorInTestSurveyTab},set:function(e){this.showSimulatorInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDefaultLanguageInPreviewTab",{get:function(){return this.showDefaultLanguageInTestSurveyTab},set:function(e){this.showDefaultLanguageInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInvisibleElementsInPreviewTab",{get:function(){return this.showInvisibleElementsInTestSurveyTab},set:function(e){this.showInvisibleElementsInTestSurveyTab=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabs",{get:function(){return this.tabbedMenu.actions},set:function(e){this.tabbedMenu.actions=e},enumerable:!1,configurable:!0}),t.prototype.getLocString=function(e){return a.editorLocalization.getString(e)},t.prototype.onSetReadOnly=function(e){},Object.defineProperty(t.prototype,"readOnly",{get:function(){return this.getPropertyValue("readOnly",!1)},set:function(e){var t=this.text;this.setPropertyValue("readOnly",e),this.onSetReadOnly(e),this.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get:function(){return this.isRTLValue},set:function(e){this.isRTLValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeTab",{get:function(){return this.viewType},set:function(e){this.makeNewViewActive(e)},enumerable:!1,configurable:!0}),t.prototype.makeNewViewActive=function(e){if(e==this.viewType)return!1;if(!this.canSwitchViewType())return!1;var t=this.activatePlugin(e);return this.viewType=e,this.onActiveTabChanged.fire(this,{tabName:e,plugin:t,model:t?t.model:void 0}),!0},t.prototype.canSwitchViewType=function(){var e=this.currentPlugin;return!e||!e.deactivate||e.deactivate()},t.prototype.activatePlugin=function(e){var t=this.getPlugin(e);return t&&t.activate(),t},Object.defineProperty(t.prototype,"currentPlugin",{get:function(){return this.getPlugin(this.activeTab)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolboxCategories",{get:function(){return this.toolbox.categories},enumerable:!1,configurable:!0}),t.prototype.updateToolboxIsCompact=function(e){"right"==this.toolboxLocation&&this.showPropertyGrid?this.toolbox.isCompact=!0:null!=e&&null!=e&&(this.toolbox.isCompact=e)},t.prototype.onSurveyElementPropertyValueChanged=function(e,t,i){throw new Error("Method not implemented.")},Object.defineProperty(t.prototype,"showToolbox",{get:function(){p.SurveyHelper.warnNonSupported("showToolbox")},set:function(e){p.SurveyHelper.warnNonSupported("showToolbox")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPropertyGrid",{get:function(){return this.showPropertyGridValue},set:function(e){!0===e||!1===e?this.showPropertyGrid!==e&&(this.showPropertyGridValue=e,this.updateToolboxIsCompact(e),this.onShowPropertyGridVisiblityChanged.fire(this,{show:e})):p.SurveyHelper.warnText("showPropertyGrid propertry grid is a boolean property now.")},enumerable:!1,configurable:!0}),t.prototype.rightContainerActiveItem=function(e){p.SurveyHelper.warnNonSupported("rightContainerActiveItem")},t.prototype.leftContainerActiveItem=function(e){p.SurveyHelper.warnNonSupported("leftContainerActiveItem")},Object.defineProperty(t.prototype,"undoRedoManager",{get:function(){var e=this.getPlugin("undoredo");return e&&e.model.undoRedoManager},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"undoRedoController",{get:function(){var e=this.getPlugin("undoredo");return e&&e.model},enumerable:!1,configurable:!0}),t.prototype.startUndoRedoTransaction=function(e){void 0===e&&(e=""),this.undoRedoController&&this.undoRedoController.startTransaction(e)},t.prototype.stopUndoRedoTransaction=function(){this.undoRedoController&&this.undoRedoController.stopTransaction()},t.prototype.undo=function(){this.undoRedoController&&this.undoRedoController.undo()},t.prototype.redo=function(){this.undoRedoController&&this.undoRedoController.redo()},Object.defineProperty(t.prototype,"pagesController",{get:function(){return this.pagesControllerValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionHistoryController",{get:function(){return this.selectionHistoryControllerValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPage",{get:function(){return this.survey.currentPage},set:function(e){this.survey.currentPage=e},enumerable:!1,configurable:!0}),t.prototype.addPage=function(e){var t=e;if(t)this.survey.addPage(t);else{var i=p.SurveyHelper.getNewPageName(this.survey.pages);t=this.survey.addNewPage(i)}return this.selectElement(t),t},t.prototype.initTabs=function(){this.initPlugins(),this.initFooterToolbar(),this.tabs.length>0&&this.makeNewViewActive(this.tabs[0].id)},t.prototype.initPlugins=function(){this.addPlugin("undoredo",new S.UndoRedoPlugin(this)),this.showDesignerTab&&new P.TabDesignerPlugin(this),this.showPreviewTab&&new f.TabTestPlugin(this),this.showLogicTab&&new w.TabLogicPlugin(this),this.showJSONEditorTab&&(v.TabJsonEditorAcePlugin.hasAceEditor()?new v.TabJsonEditorAcePlugin(this):new y.TabJsonEditorTextareaPlugin(this)),this.showEmbeddedSurveyTab&&new h.TabEmbedPlugin(this),this.showTranslationTab&&new x.TabTranslationPlugin(this)},t.prototype.initFooterToolbar=function(){var e=this;this.footerToolbar||(this.footerToolbar=new r.ActionContainer,["undoredo","designer","test"].forEach((function(t){var i=e.getPlugin(t);i&&i.addFooterActions&&i.addFooterActions()})))},t.prototype.getOptions=function(){return this.options||{}},t.prototype.setOptions=function(e){e||(e={}),e.hasOwnProperty("generateValidJSON")||(e.generateValidJSON=!0),this.options=e,this.showDesignerTab=void 0===e.showDesignerTab||e.showDesignerTab,this.showLogicTab=void 0!==e.showLogicTab&&e.showLogicTab,this.showJSONEditorTab=void 0===e.showJSONEditorTab||e.showJSONEditorTab,this.showPreviewTab=void 0!==e.showPreviewTab?e.showPreviewTab:void 0===e.showTestSurveyTab||e.showTestSurveyTab,this.allowEditSurveyTitle=void 0===e.allowEditSurveyTitle||e.allowEditSurveyTitle,this.showEmbeddedSurveyTab=void 0!==e.showEmbeddedSurveyTab&&e.showEmbeddedSurveyTab,this.showTranslationTab=void 0!==e.showTranslationTab&&e.showTranslationTab,this.showLogicTab=void 0!==e.showLogicTab&&e.showLogicTab,this.haveCommercialLicense=void 0!==e.haveCommercialLicense&&e.haveCommercialLicense,this.showObjectTitles=void 0!==e.showObjectTitles&&e.showObjectTitles,this.showTitlesInExpressions=void 0!==e.showTitlesInExpressions&&e.showTitlesInExpressions,this.allowEditExpressionsInTextEditor=void 0===e.allowEditExpressionsInTextEditor||e.allowEditExpressionsInTextEditor,void 0!==e.maximumColumnsCount&&(this.maximumColumnsCount=e.maximumColumnsCount),void 0!==e.maximumChoicesCount&&(this.maximumChoicesCount=e.maximumChoicesCount),void 0!==e.maximumRowsCount&&(this.maximumRowsCount=e.maxiumumRowsCount),void 0!==e.maximumRateValues&&(this.maximumRateValues=e.maximumRateValues),this.useTabsInElementEditor=void 0!==e.useTabsInElementEditor&&e.useTabsInElementEditor,this.maxLogicItemsInCondition=void 0!==e.maxLogicItemsInCondition?e.maxLogicItemsInCondition:-1,this.showState=void 0!==e.showState&&e.showState,this.showOptions=void 0!==e.showOptions&&e.showOptions,this.generateValidJSON=this.options.generateValidJSON,this.isAutoSave=void 0!==e.isAutoSave&&e.isAutoSave,this.showErrorOnFailedSave=void 0===e.showErrorOnFailedSave||e.showErrorOnFailedSave,this.isRTLValue=void 0!==e.isRTL&&e.isRTL,void 0!==e.readOnly&&(this.readOnly=e.readOnly),void 0!==e.showPagesInTestSurveyTab&&(this.showPagesInPreviewTab=e.showPagesInTestSurveyTab),void 0!==e.showPagesInPreviewTab&&(this.showPagesInPreviewTab=e.showPagesInPreviewTab),void 0!==e.showSimulatorInTestSurveyTab&&(this.showSimulatorInPreviewTab=e.showSimulatorInTestSurveyTab),void 0!==e.showSimulatorInPreviewTab&&(this.showSimulatorInPreviewTab=e.showSimulatorInPreviewTab),void 0!==e.showDefaultLanguageInTestSurveyTab&&(this.showDefaultLanguageInPreviewTab=e.showDefaultLanguageInTestSurveyTab),void 0!==e.showDefaultLanguageInPreviewTab&&(this.showDefaultLanguageInPreviewTab=e.showDefaultLanguageInPreviewTab),void 0!==e.showInvisibleElementsInTestSurveyTab&&(this.showInvisibleElementsInPreviewTab=e.showInvisibleElementsInTestSurveyTab),void 0!==e.showInvisibleElementsInPreviewTab&&(this.showInvisibleElementsInPreviewTab=e.showInvisibleElementsInPreviewTab),void 0!==e.allowModifyPages&&(this.allowModifyPages=e.allowModifyPages),void 0!==e.pageEditMode&&(this.pageEditModeValue=e.pageEditMode,"single"===this.pageEditModeValue&&(r.Serializer.findProperty("survey","pages").visible=!1,r.Serializer.findProperty("question","page").visible=!1,r.Serializer.findProperty("panel","page").visible=!1,this.showJSONEditorTab=!1))},t.prototype.patchMetadata=function(){r.Serializer.findProperty("survey","title").placeholder="pe.surveyTitlePlaceholder",r.Serializer.findProperty("survey","description").placeholder="pe.surveyDescriptionPlaceholder",r.Serializer.findProperty("survey","logoPosition").visible=!1,r.Serializer.findProperty("page","title").placeholder="pe.pageTitlePlaceholder",r.Serializer.findProperty("page","description").placeholder="pe.pageDescriptionPlaceholder"},t.prototype.isCanModifyProperty=function(e,t){var i,o,n=r.Serializer.findProperty(e.getType(),t);if(e instanceof r.ItemValue){if(i=e.locOwner,o=r.Serializer.findProperty(i.getType(),e.ownerPropertyName),!1===this.getElementAllowOperations(i).allowEdit)return!1;var a={allowDelete:!0,allowEdit:!0};if(this.onCollectionItemAllowingCallback(i,n,i.getPropertyValue(o.name),e,a),!1===a.allowEdit)return!1;if(this.onIsPropertyReadOnlyCallback(i,o,o.readOnly,null,null))return!1}return!(e instanceof r.SurveyElement&&!1===this.getElementAllowOperations(e).allowEdit)&&(!n||!this.onIsPropertyReadOnlyCallback(e,n,n.readOnly,i,o))},t.prototype.onIsPropertyReadOnlyCallback=function(e,t,i,o,r){var n=this.readOnly||i;if(this.onGetPropertyReadOnly.isEmpty)return n;var a={obj:e,property:t,readOnly:n,propertyName:t.name,parentObj:o,parentProperty:r};return this.onGetPropertyReadOnly.fire(this,a),a.readOnly},Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),t.prototype.initSurveyWithJSON=function(e,t){var i=this;this.existingPages={};var o=this.createSurvey({});o.css=r.defaultV2Css,o.setDesignMode(!0),o.lazyRendering=!0,o.setJsonObject(e),o.logoPosition="right",o.isEmpty&&o.setJsonObject(this.getDefaultSurveyJson()),o.pages.forEach((function(e){i.existingPages[e.id]=!0})),this.onDesignerSurveyCreated.fire(this,{survey:o}),o.onQuestionAdded.add((function(e,t){i.doOnQuestionAdded(t.question,t.parentPanel)})),o.onPanelAdded.add((function(e,t){i.doOnPanelAdded(t.panel,t.parentPanel)})),o.onPageAdded.add((function(e,t){i.existingPages[t.page.id]||(i.existingPages[t.page.id]=!0,i.doOnPageAdded(t.page))})),o.onGetMatrixRowActions.add((function(e,t){Object(k.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),this.setSurvey(o);var n=this.getPlugin(this.activeTab);n&&n.update&&n.update()},t.prototype.initDragDrop=function(){this.initDragDropSurveyElements(),this.initDragDropChoices()},t.prototype.initDragDropSurveyElements=function(){var e=this;r.DragDropSurveyElements.restrictDragQuestionBetweenPages=n.settings.dragDrop.restrictDragQuestionBetweenPages,this.dragDropSurveyElements=new r.DragDropSurveyElements(null,this),this.dragDropSurveyElements.onBeforeDrop.add((function(t,i){e.startUndoRedoTransaction("drag drop")})),this.dragDropSurveyElements.onAfterDrop.add((function(t,i){e.stopUndoRedoTransaction(),e.selectElement(i.draggedElement,void 0,!1)}))},t.prototype.initDragDropChoices=function(){var e=this;this.dragDropChoices=new r.DragDropChoices(null,this),this.dragDropChoices.onBeforeDrop.add((function(t,i){e.startUndoRedoTransaction("drag drop")})),this.dragDropChoices.onAfterDrop.add((function(t,i){e.stopUndoRedoTransaction(),e.selectElement(i.draggedElement,void 0,!1)}))},t.prototype.updateElementsOnLocaleChanged=function(e,t){if("survey"===e.getType()&&"locale"===t)for(var i=this.survey.pages,o=0;o<i.length;o++)i[o].locStrsChanged()},t.prototype.updateConditionsOnQuestionNameChanged=function(e,t,i){if(this.isObjQuestion(e)&&("name"!==t||e.valueName||this.updateConditions(i,e.name),"valueName"===t)){var o=i||e.name,r=e.valueName?e.valueName:e.name;this.updateConditions(o,r)}},t.prototype.updatePagesController=function(e,t){"name"!=t&&"title"!=t||!this.isObjPage(e)||this.pagesController.pageNameChanged(e)},t.prototype.updateConditions=function(e,t){e!==t&&new b.SurveyLogic(this.survey,this).renameQuestion(e,t)},t.prototype.isObjQuestion=function(e){return this.isObjThisType(e,"question")},t.prototype.isObjPage=function(e){return this.isObjThisType(e,"page")},t.prototype.isObjThisType=function(e,t){for(var i=r.Serializer.findClass(e.getType());i&&i.parentName;){if(i.name===t)return!0;i=r.Serializer.findClass(i.parentName)}return!!i&&i.name===t},t.prototype.doOnQuestionAdded=function(e,t){e.name=this.generateUniqueName(e,e.name);var i={question:e,page:this.getPageByElement(e)};this.onQuestionAdded.fire(this,i)},t.prototype.doOnPanelAdded=function(e,t){var i={panel:e,page:this.getPageByElement(e)};this.onPanelAdded.fire(this,i)},t.prototype.doOnPageAdded=function(e){var t={page:e};this.onPageAdded.fire(this,t),this.setModified({type:"PAGE_ADDED",newValue:t.page})},t.prototype.getPageByElement=function(e){return this.survey.getPageByElement(e)},t.prototype.getDefaultSurveyJson=function(){var e=n.settings.defaultNewSurveyJSON;return e.pages&&e.pages.length>0&&e.pages[0].name&&(e.pages[0].name=a.editorLocalization.getString("ed.newPageName")+"1"),e},t.prototype.setSurvey=function(e){this.surveyValue&&this.surveyValue.dispose(),this.surveyValue=e,this.selectElement(e),this.pagesController.onSurveyChanged(),this.selectionHistoryController.reset()},t.prototype.getSurveyTextFromDesigner=function(){if(!this.survey)return"";var e=this.survey.toJSON(),t=n.settings.jsonEditor.indentation;return this.options&&this.options.generateValidJSON?JSON.stringify(e,null,t):(new s.SurveyJSON5).stringify(e,null,t)},t.prototype.setTextValue=function(e){this.setSurveyJSONTextCallback&&this.setSurveyJSONTextCallback(e)},t.prototype.changeText=function(e,t){void 0===t&&(t=!1),this.setTextValue(e);var i=new u.SurveyTextWorker(e);i.isJsonCorrect?this.initSurveyWithJSON(i.survey.toJSON(),t):this.viewType="editor"},Object.defineProperty(t.prototype,"text",{get:function(){return this.getSurveyJSONTextCallback?this.getSurveyJSONTextCallback().text:this.getSurveyTextFromDesigner()},set:function(e){this.changeText(e,!0)},enumerable:!1,configurable:!0}),t.prototype.getSurveyJSON=function(){if("editor"!=this.viewType)return(new r.JsonObject).toJsonObject(this.survey);var e=this.text,t=new u.SurveyTextWorker(e);return t.isJsonCorrect?(new r.JsonObject).toJsonObject(t.survey):null},t.prototype.getObjectDisplayName=function(e,t,i){void 0===t&&(t=void 0),void 0===i&&(i=void 0),i||(i=p.SurveyHelper.getObjectName(e,this.showObjectTitles));var o={obj:e,displayName:i,reason:t};return this.onGetObjectDisplayName.fire(this,o),o.displayName},t.prototype.createSurvey=function(e,t){void 0===e&&(e={}),void 0===t&&(t="designer");var i=this.createSurveyCore(e,t);return"designer"!=t&&"test"!=t&&(i.locale=a.editorLocalization.currentLocale),this.onSurveyInstanceCreated.fire(this,{survey:i,reason:t}),i},t.prototype.createSurveyCore=function(e,t){throw void 0===e&&(e={}),new Error("createSurveyCore method should be overridden/implemented")},Object.defineProperty(t.prototype,"state",{get:function(){return this._stateValue?this._stateValue:""},enumerable:!1,configurable:!0}),t.prototype.setState=function(e){this._stateValue=e,this.onStateChanged.fire(this,{val:e}),e&&this.notify(this.getLocString("ed."+e))},t.prototype.setModified=function(e){void 0===e&&(e=null),this.setState("modified"),this.onModified.fire(this,e),this.isAutoSave&&this.doAutoSave()},t.prototype.notify=function(e,t){void 0===t&&(t="info"),this.onNotify.isEmpty?this.notifier.notify(e,t):this.onNotify.fire(this,{message:e})},t.prototype.convertQuestion=function(e,t){var i=l.QuestionConverter.convertObject(e,t);return this.setModified({type:"QUESTION_CONVERTED",className:t,oldValue:e,newValue:i}),i},Object.defineProperty(t.prototype,"JSON",{get:function(){return this.survey.toJSON()},set:function(e){"editor"==this.viewType?this.setTextValue(JSON.stringify(e)):this.initSurveyWithJSON(e,!0)},enumerable:!1,configurable:!0}),t.prototype.loadSurvey=function(e){var t=this;(new r.dxSurveyService).loadSurvey(e,(function(e,i,o){e&&i&&(t.JSON=i)}))},t.prototype.doClickQuestionCore=function(e,t,i,o){void 0===t&&(t="ADDED_FROM_TOOLBOX"),void 0===i&&(i=-1),void 0===o&&(o=null),0==this.survey.pageCount&&this.survey.addNewPage();var r=this.currentPage,n=this.getSelectedSurveyElement();n&&n.parent&&n.page==r&&(r=n.parent,i<0&&(i=r.elements.indexOf(n))>-1&&i++),o&&(r=o);var a=this.findRowByElement(n,r);a&&this.isRowMultiline(a)?this.addElemenMultiline(r,e,i,a):r.addElement(e,i),this.setModified({type:t,question:e})},t.prototype.isRowMultiline=function(e){return e.elements.length>1},t.prototype.findRowByElement=function(e,t){return e?e.isPage?e.rows[e.rows.length-1]:t.rows.find((function(t){return-1!==t.elements.indexOf(e)})):null},t.prototype.addElemenMultiline=function(e,t,i,o){var r=o.elements.length,n=o.elements[r-1];n.startWithNewLine=!0,e.addElement(t,i),n.startWithNewLine=!1},t.prototype.setNewNames=function(e){this.newQuestions=[],this.newPanels=[],this.newQuestionChangedNames={},this.setNewNamesCore(e),this.updateNewElementExpressions(e)},t.prototype.updateNewElementExpressions=function(e){var t=this.createSurvey({},"updateNewElementExpressions");t.setDesignMode(!0),e.isPage?t.addPage(e):(t.addNewPage("p1"),t.pages[0].addElement(e));var i=new b.SurveyLogic(t);for(var o in this.newQuestionChangedNames)i.renameQuestion(o,this.newQuestionChangedNames[o])},t.prototype.getAllQuestions=function(){for(var e=[],t=0;t<this.survey.pages.length;t++)this.addElements(this.survey.pages[t].elements,!1,e);return this.addElements(this.newPanels,!1,e),this.addElements(this.newQuestions,!1,e),e},t.prototype.getAllPanels=function(){for(var e=[],t=0;t<this.survey.pages.length;t++)this.addElements(this.survey.pages[t].elements,!0,e);return this.addElements(this.newPanels,!0,e),this.addElements(this.newQuestions,!0,e),e},t.prototype.addElements=function(e,t,i){for(var o=0;o<e.length;o++)e[o].isPanel===t&&i.push(e[o]),this.addElements(p.SurveyHelper.getElements(e[o]),t,i)},t.prototype.getNewName=function(e,t){return"page"==e?p.SurveyHelper.getNewPageName(this.survey.pages):t?this.getNewPanelName():this.getNewQuestionName()},t.prototype.getNewQuestionName=function(){return p.SurveyHelper.getNewQuestionName(this.getAllQuestions())},t.prototype.getNewPanelName=function(){return p.SurveyHelper.getNewPanelName(this.getAllPanels())},t.prototype.setNewNamesCore=function(e){var t=e.getType(),i=this.getNewName(t,e.isPanel);if(i!=e.name&&(this.newQuestionChangedNames[e.name]=i,e.name=i),e.isPanel||"page"==t){e.isPanel&&this.newPanels.push(e);for(var o=e,r=0;r<o.elements.length;r++)this.setNewNamesCore(o.elements[r])}else this.newQuestions.push(e)},t.prototype.createNewElement=function(e){var t=r.Serializer.createClass(e.type);return(new r.JsonObject).toObject(e,t),this.setNewNames(t),t},t.prototype.copyElement=function(e){var t=(new r.JsonObject).toJsonObject(e);return t.type=e.getType(),this.createNewElement(t)},t.prototype.fastCopyQuestion=function(e){var t=this.copyElement(e),i=e.parent?e.parent.elements.indexOf(e)+1:-1;return this.doClickQuestionCore(t,"ELEMENT_COPIED",i),t},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this.selectedElementValue},set:function(e){this.selectElement(e)},enumerable:!1,configurable:!0}),t.prototype.deleteCurrentObject=function(){this.deleteCurrentElement()},t.prototype.deleteCurrentElement=function(){this.deleteObject(this.selectedElement)},t.prototype.deleteElement=function(e){this.deleteObject(e)},t.prototype.copyPage=function(e){var t=this.copyElement(e),i=this.survey.pages.indexOf(e);return i>-1?this.survey.pages.splice(i+1,0,t):this.survey.pages.push(t),t},t.prototype.deleteObjectCore=function(e){if(e.isPage){var t=this.getNextPage(e);this.survey.removePage(e),this.selectElement(t||this.survey)}else this.deletePanelOrQuestion(e);this.setModified({type:"OBJECT_DELETED",target:e}),this.updateConditionsOnRemove(e)},t.prototype.getNextPage=function(e){var t=this.survey.pages.indexOf(e);return t<0||1==this.survey.pages.length?null:(t==this.survey.pages.length-1?t--:t++,t<0||t>this.survey.pages.length-1?null:this.survey.pages[t])},t.prototype.deleteObject=function(e){var t={element:e,elementType:p.SurveyHelper.getObjectType(e),allowing:!0};this.onElementDeleting.fire(this,t),t.allowing&&this.deleteObjectCore(e)},t.prototype.updateConditionsOnRemove=function(e){if(p.SurveyHelper.getObjectType(e)==p.ObjType.Question)t=[e];else var t=e.questions;if(t)for(var i=new b.SurveyLogic(this.survey,this),o=0;o<t.length;o++)i.removeQuestion(t[o].getValueName())},t.prototype.isElementSelected=function(e){return!(!e||e.isDisposed)&&e.getPropertyValue("isSelectedInDesigner")},t.prototype.selectElement=function(e,t,i){void 0===i&&(i=!0);var o=this.selectedElement;o!==e&&(this.selectedElementValue=this.onSelectingElement(e),o!==this.selectedElementValue&&(o&&!o.isDisposed&&o.setPropertyValue("isSelectedInDesigner",!1),this.selectedElementValue&&this.selectedElementValue.setPropertyValue("isSelectedInDesigner",!0))),(o!==e||t)&&this.selectionChanged(this.selectedElement,t,i);var r=this.getSelectedSurveyElement();o!==e&&i&&document&&r&&setTimeout((function(){var e=document.getElementById(r.id);e&&(e.scrollIntoView({block:"center"}),t||e.parentElement&&e.parentElement.focus())}),100)},t.prototype.getSelectedSurveyElement=function(){var e=this.selectedElement;return e&&"survey"!=e.getType()&&e.isInteractiveDesignElement&&e.id?e:null},t.prototype.onSelectingElement=function(e){var t={newSelectedElement:e};return this.onSelectedElementChanging.fire(this,t),t.newSelectedElement},Object.defineProperty(t.prototype,"designerPropertyGrid",{get:function(){var e=this.sideBar.getTabById("propertyGrid");return e&&e.model?e.model.propertyGridModel:null},enumerable:!1,configurable:!0}),t.prototype.collapsePropertyGridCategory=function(e){this.designerPropertyGrid&&this.designerPropertyGrid.collapseCategory(e)},t.prototype.expandPropertyGridCategory=function(e){this.designerPropertyGrid&&this.designerPropertyGrid.expandCategory(e)},t.prototype.collapseAllPropertyGridCategories=function(){this.designerPropertyGrid&&this.designerPropertyGrid.collapseAllCategories()},t.prototype.expandAllPropertyGridCategories=function(){this.designerPropertyGrid&&this.designerPropertyGrid.expandAllCategories()},t.prototype.collapseAllPropertyTabs=function(){this.collapseAllPropertyGridCategories()},t.prototype.expandAllPropertyTabs=function(){this.expandAllPropertyGridCategories()},t.prototype.expandPropertyTab=function(e){this.expandPropertyGridCategory(e)},t.prototype.collapsePropertyTab=function(e){this.collapsePropertyGridCategory(e)},t.prototype.validateSelectedElement=function(){var e=!0;return this.selectedElement?(this.designerPropertyGrid&&(e=this.designerPropertyGrid.validate()),e):e},t.prototype.selectionChanged=function(e,t,i){void 0===i&&(i=!0),this.survey.currentPage=this.getCurrentPageByElement(e),this.selectionHistoryController.onObjSelected(e),this.designerPropertyGrid&&(this.designerPropertyGrid.obj=e,t||(t=this.designerPropertyGrid.currentlySelectedProperty),t&&this.designerPropertyGrid.selectProperty(t,i||!this.selectFromStringEditor),this.selectFromStringEditor=!1);var o={newSelectedElement:e};this.onSelectedElementChanged.fire(this,o)},t.prototype.getCurrentPageByElement=function(e){if(e)return e.isPage?e:e.page?e.page:e.parentQuestion?this.getCurrentPageByElement(e.parentQuestion):void 0},t.prototype.clickToolboxItem=function(e,t){void 0===t&&(t=null),this.readOnly||(void 0===e.getType&&(e=this.createNewElement(e)),this.survey.lazyRendering=!1,this.doClickQuestionCore(e,"ADDED_FROM_TOOLBOX",-1,t),this.selectElement(e))},t.prototype.getJSONForNewElement=function(e){var t=this.createNewElement(e);return(e=t.toJSON()).type=t.getType(),e},t.prototype.chooseFiles=function(e,t){if(this.onOpenFileChooser.isEmpty){if(!window.FileReader)return;e.value="",e.onchange=function(i){if(window.FileReader&&e&&e.files&&!(e.files.length<1)){for(var o=[],r=0;r<e.files.length;r++)o.push(e.files[r]);t(o)}},e.click()}else this.onOpenFileChooser.fire(this,{input:e,callback:t})},t.prototype.uploadFiles=function(e,t){if(this.onUploadFile.isEmpty){var i=new FileReader;i.onload=function(e){t("success",i.result)},i.readAsDataURL(e[0])}else this.onUploadFile.fire(this,{files:e||[],callback:t})},t.prototype.initKeyboardShortcuts=function(e){e.addEventListener("keydown",this.onKeyDownHandler)},t.prototype.removeKeyboardShortcuts=function(e){e.removeEventListener("keydown",this.onKeyDownHandler)},t.prototype.registerShortcut=function(e,t){this.shortcuts[e]=t},t.prototype.unRegisterShortcut=function(e){delete this.shortcuts[e]},t.prototype.deletePanelOrQuestion=function(e){var t=e.parent,i=t.elements,o=i.indexOf(e);o==i.length-1&&o--,e.delete(),this.selectElement(o>-1?i[o]:t)},t.prototype.onCanShowObjectProperty=function(e,t,i,o,r){var n={obj:e,property:t,canShow:!0,showMode:i,parentObj:o,parentProperty:r};return this.onCanShowProperty.fire(this,n),n.canShow},t.prototype.canDeleteItem=function(e,t,i){var o={obj:e,item:t,canDelete:i};return this.onCanDeleteItem.fire(this,o),o.canDelete},t.prototype.getErrorOnPropertyChanging=function(e,t,i){return"name"!==t||p.SurveyHelper.getObjectType(e)===p.ObjType.Unknown?null:(p.SurveyHelper.getObjectType(e)===p.ObjType.Column?e.colOwner&&!this.isNameUniqueInArray(e.colOwner.columns,e,i):this.generateUniqueName(e,i)!==i)?this.getLocString("pe.propertyNameIsNotUnique"):null},t.prototype.generateUniqueName=function(e,t){var i={element:e,name:t,isUnique:!0};do{for(i.isUnique||(i.name=p.SurveyHelper.generateNewName(i.name));!this.isNameUnique(e,i.name);)i.name=p.SurveyHelper.generateNewName(i.name);i.isUnique=!0;var o=i.name;this.onGenerateNewName.fire(this,i),o!=i.name&&(i.isUnique=this.isNameUnique(e,i.name))}while(!i.isUnique);return i.name},t.prototype.isNameUnique=function(e,t){return!!this.isNameUniqueInArray(this.survey.pages,e,t)&&!!this.isNameUniqueInArray(this.survey.getAllPanels(),e,t)&&this.isNameUniqueInArray(this.survey.getAllQuestions(),e,t)},t.prototype.isNameUniqueInArray=function(e,t,i){if(!Array.isArray(e))return!0;i=i.toLowerCase();for(var o=0;o<e.length;o++)if(e[o]!=t&&e[o].name.toLowerCase()==i)return!1;return!0},t.prototype.doPropertyGridChanged=function(){},Object.defineProperty(t.prototype,"alwaySaveTextInPropertyEditors",{get:function(){return this.alwaySaveTextInPropertyEditorsValue},set:function(e){this.alwaySaveTextInPropertyEditorsValue=e},enumerable:!1,configurable:!0}),t.prototype.onCanShowPropertyCallback=function(e,t,i,o,r){return void 0===i&&(i=null),this.onCanShowObjectProperty(e,t,i,o,r)},t.prototype.onPropertyEditorCreatedCallback=function(e,t,i){var o={obj:e,property:t,editor:i};this.onPropertyEditorCreated.fire(this,o)},t.prototype.onPropertyEditorUpdateTitleActionsCallback=function(e,t,i,o){var r={obj:e,property:t,editor:i,titleActions:o};this.onPropertyEditorUpdateTitleActions.fire(this,r)},t.prototype.onCanDeleteItemCallback=function(e,t,i){return this.canDeleteItem(e,t,i)},t.prototype.onCollectionItemDeletingCallback=function(e,t,i,o){if(this.onCollectionItemDeleting.isEmpty)return!0;var r={obj:e,property:t,propertyName:t.name,collection:i,item:o,allowDelete:!0};return this.onCollectionItemDeleting.fire(this,r),r.allowDelete},t.prototype.onCollectionItemAllowingCallback=function(e,t,i,o,r){if(!this.onCollectionItemAllowOperations.isEmpty){var n={obj:e,property:t,propertyName:t&&t.name,collection:i,item:o,allowEdit:r.allowEdit,allowDelete:r.allowDelete};this.onCollectionItemAllowOperations.fire(this,n),r.allowEdit=n.allowEdit,r.allowDelete=n.allowDelete}},t.prototype.onItemValueAddedCallback=function(e,t,i,o){var r={obj:e,propertyName:t,newItem:i,itemValues:o};this.onItemValueAdded.fire(this,r)},t.prototype.onMatrixDropdownColumnAddedCallback=function(e,t,i){var o={newColumn:t,matrix:e,columns:i};this.onMatrixColumnAdded.fire(this,o)},t.prototype.onSetPropertyEditorOptionsCallback=function(e,t,i){var o={propertyName:e,obj:t,editorOptions:i};this.onSetPropertyEditorOptions.fire(this,o)},t.prototype.onGetErrorTextOnValidationCallback=function(e,t,i){var o=this.getErrorOnPropertyChanging(t,e,i);if(o)return o;var r={propertyName:e,obj:t,value:i,error:""};return this.onPropertyValidationCustomError.fire(this,r),r.error},t.prototype.onValueChangingCallback=function(e){this.onPropertyValueChanging.fire(this,e)},t.prototype.onGetElementEditorTitleCallback=function(e,t){return t},t.prototype.onConditionQuestionsGetListCallback=function(e,t,i,o){var r={propertyName:e,obj:t,editor:i,list:o};if(this.onConditionQuestionsGetList.fire(this,r),r.list!==o){o.splice(0,o.length);for(var n=0;n<r.list.length;n++)o.push(r.list[n])}},t.prototype.onConditionGetTitleCallback=function(e,t){var i={expression:e,title:t};return this.onConditionGetTitle.fire(this,i),i.title},t.prototype.doAutoSave=function(){if(this.autoSaveDelay<=0)this.doSave();else{this.autoSaveTimerId&&clearTimeout(this.autoSaveTimerId);var e=this;this.autoSaveTimerId=setTimeout((function(){clearTimeout(e.autoSaveTimerId),e.autoSaveTimerId=null,e.doSave()}),this.autoSaveDelay)}},t.prototype.doSave=function(){var e=this;this.setState("saving"),this.saveSurveyFunc&&(this.saveNo++,this.saveSurveyFunc(this.saveNo,(function(t,i){e.saveNo===t&&(i?e.setState("saved"):(e.showErrorOnFailedSave&&e.notify(e.getLocString("ed.saveError")),e.setState("modified")))})))},Object.defineProperty(t.prototype,"saveSurveyFunc",{get:function(){return this.saveSurveyFuncValue},set:function(e){this.saveSurveyFuncValue=e,this.showSaveButton=null!=e&&!this.isAutoSave},enumerable:!1,configurable:!0}),t.prototype.convertCurrentQuestion=function(e){var t=this.selectedElement;t&&t.getType()!==e&&p.SurveyHelper.getObjectType(t)===p.ObjType.Question&&(t=this.convertQuestion(t,e),this.selectElement(t))},t.prototype.getAddNewQuestionText=function(e){if(void 0===e&&(e=null),e||(e=this.currentAddQuestionType),e){var t=this.getLocString("ed.addNewTypeQuestion");if(t&&t.format)return t.format(this.toolbox.items.filter((function(t){return t.name==e}))[0].title)}return this.getLocString("ed.addNewQuestion")},Object.defineProperty(t.prototype,"addNewQuestionText",{get:function(){return this.getAddNewQuestionText()},enumerable:!1,configurable:!0}),t.prototype.getQuestionTypeSelectorModel=function(e,t){var i=this;void 0===t&&(t=null);var o=this.toolbox.items.map((function(e){return i.createIActionBarItemByClass(e.name,e.title)})),n=new r.PopupModel("sv-list",{model:new r.ListModel(o,(function(o){i.currentAddQuestionType=o.id,i.addNewQuestionInPage(e,t),n.toggleVisibility()}),!1)},"bottom","center");return{iconName:"icon-more",action:function(){n.displayMode=i.isMobileView?"overlay":"popup",n.toggleVisibility()},popupModel:n}},t.prototype.addNewQuestionInPage=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=null),i||(i=this.currentAddQuestionType),e(i);var o=r.ElementFactory.Instance.createElement(i||"text","q1");o?this.setNewNames(o):o=this.createNewElement({type:i}),this.clickToolboxItem(o,t)},t.prototype.createIActionBarItemByClass=function(e,t){return void 0===t&&(t=null),new r.Action({title:t||this.getLocString("qt."+e),id:e,iconName:"icon-"+e})},t.prototype.onElementMenuItemsChanged=function(e,t){this.onDefineElementMenuItems.fire(this,{obj:e,items:t})},t.prototype.getElementAllowOperations=function(e){var t={obj:e,element:e,allowDelete:!0,allowCopy:!0,allowDragging:!0,allowChangeType:!0,allowChangeRequired:!0};return this.onElementAllowOperations.fire(this,t),t},t.prototype.getNextItemValue=function(e){var t=r.surveyLocalization.getString("choices_Item"),i=e.choices.map((function(e){return e.value}));return Object(d.getNextValue)(t,i)},t.prototype.createNewItemValue=function(e){var t=this.getNextItemValue(e);return e.createItemValue(t)},t.prototype.onPropertyValueChanged=function(t,i,o){var r=this;e.prototype.onPropertyValueChanged.call(this,t,i,o),"viewType"===t&&this.tabs.forEach((function(e){return e.active=r.viewType===e.id}))},t.prototype.initResponsivityManager=function(e){this.responsivityManager=new E.CreatorResponsivityManager(e,this)},t.prototype.resetResponsivityManager=function(){this.responsivityManager&&(this.responsivityManager.dispose(),this.responsivityManager=void 0)},t.defaultNewSurveyText='{ "pages": [ { "name": "page1"}] }',Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showDesignerTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showJSONEditorTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showTestSurveyTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showEmbeddedSurveyTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showTranslationTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showLogicTab",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:200})],t.prototype,"pageHoverDelay",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"haveCommercialLicense",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isAutoSave",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"showOptions",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showState",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showSearch",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"generateValidJSON",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:""})],t.prototype,"currentAddQuestionType",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"surveyValue",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"viewType",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"addPage",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnQuestionAdded",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnPanelAdded",null),Object(o.__decorate)([Object(S.ignoreUndoRedo)()],t.prototype,"doOnPageAdded",null),Object(o.__decorate)([Object(r.property)()],t.prototype,"_stateValue",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"deleteObject",null),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showSaveButton",void 0),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"convertCurrentQuestion",null),Object(o.__decorate)([Object(S.undoRedoTransaction)()],t.prototype,"addNewQuestionInPage",null),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showPageNavigator",void 0),Object(o.__decorate)([Object(r.property)({getDefaultValue:function(){return n.settings.layout.showTabs}})],t.prototype,"showTabs",void 0),Object(o.__decorate)([Object(r.property)({getDefaultValue:function(){return n.settings.layout.showToolbar}})],t.prototype,"showToolbar",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isMobileView",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:"left",onSet:function(e,t){t.toolbox.setLocation(e),t.updateToolboxIsCompact()}})],t.prototype,"toolboxLocation",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:"right"})],t.prototype,"sideBarLocation",void 0),t}(r.Base),j=function(){function e(){}return Object.defineProperty(e,"currentTheme",{get:function(){p.SurveyHelper.warnNonSupported("StylesManager")},set:function(e){p.SurveyHelper.warnNonSupported("StylesManager")},enumerable:!1,configurable:!0}),e.applyTheme=function(e){p.SurveyHelper.warnNonSupported("StylesManager")},e}();function V(e,t,i){if("logo-image"===t)return"svc-logo-image";if("cell"===t||"column-header"===t||"row-header"===t)return"svc-matrix-cell";if(!e.isContentElement){if(e instanceof r.Question)return i?"dropdown"==e.getType()?"svc-cell-dropdown-question":"svc-cell-question":e.customWidget?"svc-widget-question":"dropdown"==e.getType()?"svc-dropdown-question":"image"==e.getType()?"svc-image-question":"rating"==e.getType()?"svc-rating-question":"svc-question";if(e instanceof r.PanelModel)return"svc-panel"}}function I(e,t,i){return"logo-image"===t?i:"cell"===t||"column-header"===t||"row-header"===t?{creator:i,element:e,question:e.question,row:e.row,column:e.column}:V(e,t,!1)?e instanceof r.Question||e instanceof r.PanelModel?i:null:void 0}function z(e,t){return t.isContentElement?r.SurveyModel.TemplateRendererComponentName:"imagepicker"===t.getType()?"svc-image-item-value":"svc-item-value"}function M(e,t,i){return t.isContentElement?e:{creator:i,question:t,item:e}}function q(e,t){return!(e.parentQuestion instanceof r.QuestionMatrixDropdownModelBase)&&(!e.isContentElement||e.isEditableTemplateElement)}},"./src/creator-responsivity-manager.ts":
|
|
309
309
|
/*!*********************************************!*\
|
|
310
310
|
!*** ./src/creator-responsivity-manager.ts ***!
|
|
311
311
|
\*********************************************/
|
|
@@ -329,7 +329,7 @@ License: MIT
|
|
|
329
329
|
/*!******************************!*\
|
|
330
330
|
!*** ./src/entries/index.ts ***!
|
|
331
331
|
\******************************/
|
|
332
|
-
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorBase, StylesManager, getElementWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageViewModel, RowViewModel, QuestionAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, getLocString, SurveyJSON5, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, QuestionLinkValueModel, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SideBarModel, SideBarTabModel, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, Notifier, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction */function(e,t,i){"use strict";i.r(t),i.d(t,"Version",(function(){return ae}));var o=i(/*! ../localization/english */"./src/localization/english.ts");i.d(t,"enStrings",(function(){return o.enStrings}));var r=i(/*! ../editorLocalization */"./src/editorLocalization.ts");i.d(t,"editorLocalization",(function(){return r.editorLocalization})),i.d(t,"defaultStrings",(function(){return r.defaultStrings})),i.d(t,"localization",(function(){return r.editorLocalization}));var n=i(/*! ../settings */"./src/settings.ts");i.d(t,"QuestionConvertMode",(function(){return n.QuestionConvertMode})),i.d(t,"settings",(function(){return n.settings})),i.d(t,"EmptySurveyCreatorOptions",(function(){return n.EmptySurveyCreatorOptions}));var a=i(/*! ../creator-base */"./src/creator-base.ts");i.d(t,"TabbedMenuItem",(function(){return a.TabbedMenuItem})),i.d(t,"TabbedMenuContainer",(function(){return a.TabbedMenuContainer})),i.d(t,"ToolbarActionContainer",(function(){return a.ToolbarActionContainer})),i.d(t,"CreatorBase",(function(){return a.CreatorBase})),i.d(t,"StylesManager",(function(){return a.StylesManager})),i.d(t,"getElementWrapperComponentName",(function(){return a.getElementWrapperComponentName})),i.d(t,"getElementWrapperComponentData",(function(){return a.getElementWrapperComponentData})),i.d(t,"getItemValueWrapperComponentName",(function(){return a.getItemValueWrapperComponentName})),i.d(t,"getItemValueWrapperComponentData",(function(){return a.getItemValueWrapperComponentData})),i.d(t,"isStringEditable",(function(){return a.isStringEditable}));var s=i(/*! ../creator-responsivity-manager */"./src/creator-responsivity-manager.ts");i.d(t,"CreatorResponsivityManager",(function(){return s.CreatorResponsivityManager}));var l=i(/*! ../components/tabs/embed */"./src/components/tabs/embed.ts");i.d(t,"EmbedModel",(function(){return l.EmbedModel})),i.d(t,"TabEmbedPlugin",(function(){return l.TabEmbedPlugin}));var u=i(/*! ../components/tabs/json-editor-ace */"./src/components/tabs/json-editor-ace.ts");i.d(t,"AceJsonEditorModel",(function(){return u.AceJsonEditorModel})),i.d(t,"TabJsonEditorAcePlugin",(function(){return u.TabJsonEditorAcePlugin}));var c=i(/*! ../components/tabs/json-editor-plugin */"./src/components/tabs/json-editor-plugin.ts");i.d(t,"JsonEditorBaseModel",(function(){return c.JsonEditorBaseModel})),i.d(t,"TabJsonEditorBasePlugin",(function(){return c.TabJsonEditorBasePlugin}));var d=i(/*! ../components/tabs/json-editor-textarea */"./src/components/tabs/json-editor-textarea.ts");i.d(t,"TextareaJsonEditorModel",(function(){return d.TextareaJsonEditorModel})),i.d(t,"TabJsonEditorTextareaPlugin",(function(){return d.TabJsonEditorTextareaPlugin}));var p=i(/*! ../components/tabs/test */"./src/components/tabs/test.ts");i.d(t,"TestSurveyTabViewModel",(function(){return p.TestSurveyTabViewModel}));var m=i(/*! ../components/tabs/test-plugin */"./src/components/tabs/test-plugin.ts");i.d(t,"TabTestPlugin",(function(){return m.TabTestPlugin}));var g=i(/*! ../components/tabs/logic */"./src/components/tabs/logic.ts");i.d(t,"SurveyLogic",(function(){return g.SurveyLogic}));var h=i(/*! ../components/tabs/translation */"./src/components/tabs/translation.ts");i.d(t,"TranslationItemBase",(function(){return h.TranslationItemBase})),i.d(t,"TranslationItemString",(function(){return h.TranslationItemString})),i.d(t,"TranslationItem",(function(){return h.TranslationItem})),i.d(t,"TranslationGroup",(function(){return h.TranslationGroup})),i.d(t,"Translation",(function(){return h.Translation}));var v=i(/*! ../components/tabs/translation-theme */"./src/components/tabs/translation-theme.ts");i.d(t,"translationCss",(function(){return v.translationCss}));var y=i(/*! ../components/tabs/translation-plugin */"./src/components/tabs/translation-plugin.ts");i.d(t,"TabTranslationPlugin",(function(){return y.TabTranslationPlugin}));var f=i(/*! ../components/tabs/designer */"./src/components/tabs/designer.ts");i.d(t,"TabDesignerViewModel",(function(){return f.TabDesignerViewModel}));var b=i(/*! ../components/tabs/designer-plugin */"./src/components/tabs/designer-plugin.ts");i.d(t,"TabDesignerPlugin",(function(){return b.TabDesignerPlugin}));var x=i(/*! ../components/tabs/logic-ui */"./src/components/tabs/logic-ui.ts");i.d(t,"SurveyLogicUI",(function(){return x.SurveyLogicUI}));var w=i(/*! ../components/tabs/logic-plugin */"./src/components/tabs/logic-plugin.ts");i.d(t,"TabLogicPlugin",(function(){return w.TabLogicPlugin}));var T=i(/*! ../components/tabs/logic-theme */"./src/components/tabs/logic-theme.ts");i.d(t,"logicCss",(function(){return T.logicCss}));var k=i(/*! ../components/toolbox/toolbox-tool */"./src/components/toolbox/toolbox-tool.ts");i.d(t,"ToolboxToolViewModel",(function(){return k.ToolboxToolViewModel}));var S=i(/*! ../components/page-navigator/page-navigator */"./src/components/page-navigator/page-navigator.ts");i.d(t,"PageNavigatorViewModel",(function(){return S.PageNavigatorViewModel}));var P=i(/*! ../components/page */"./src/components/page.ts");i.d(t,"PageViewModel",(function(){return P.PageViewModel}));var E=i(/*! ../components/row */"./src/components/row.ts");i.d(t,"RowViewModel",(function(){return E.RowViewModel}));var C=i(/*! ../components/question */"./src/components/question.ts");i.d(t,"QuestionAdornerViewModel",(function(){return C.QuestionAdornerViewModel}));var N=i(/*! ../components/question-image */"./src/components/question-image.ts");i.d(t,"QuestionImageAdornerViewModel",(function(){return N.QuestionImageAdornerViewModel}));var O=i(/*! ../components/question-rating */"./src/components/question-rating.ts");i.d(t,"QuestionRatingAdornerViewModel",(function(){return O.QuestionRatingAdornerViewModel}));var _=i(/*! ../components/item-value */"./src/components/item-value.ts");i.d(t,"ItemValueWrapperViewModel",(function(){return _.ItemValueWrapperViewModel}));var A=i(/*! ../components/image-item-value */"./src/components/image-item-value.ts");i.d(t,"ImageItemValueWrapperViewModel",(function(){return A.ImageItemValueWrapperViewModel}));var j=i(/*! ../components/matrix-cell */"./src/components/matrix-cell.ts");i.d(t,"MatrixCellWrapperViewModel",(function(){return j.MatrixCellWrapperViewModel}));var V=i(/*! ../components/simulator */"./src/components/simulator.ts");i.d(t,"SurveySimulatorModel",(function(){return V.SurveySimulatorModel})),i.d(t,"DEFAULT_MONITOR_DPI",(function(){return V.DEFAULT_MONITOR_DPI})),i.d(t,"simulatorDevices",(function(){return V.simulatorDevices}));var I=i(/*! ../components/results */"./src/components/results.ts");i.d(t,"SurveyResultsItemModel",(function(){return I.SurveyResultsItemModel})),i.d(t,"SurveyResultsModel",(function(){return I.SurveyResultsModel}));var z=i(/*! ../components/header/logo-image */"./src/components/header/logo-image.ts");i.d(t,"LogoImageViewModel",(function(){return z.LogoImageViewModel}));var M=i(/*! ../components/string-editor */"./src/components/string-editor.ts");i.d(t,"StringEditorViewModelBase",(function(){return M.StringEditorViewModelBase}));var q=i(/*! ../components/embedded-survey */"./src/components/embedded-survey.ts");i.d(t,"QuestionEmbeddedSurveyModel",(function(){return q.QuestionEmbeddedSurveyModel})),i.d(t,"getLocString",(function(){return r.getLocString}));var R=i(/*! ../json5 */"./src/json5.ts");i.d(t,"SurveyJSON5",(function(){return R.SurveyJSON5}));var L=i(/*! ../property-grid */"./src/property-grid/index.ts");i.d(t,"setSurveyJSONForPropertyGrid",(function(){return L.setSurveyJSONForPropertyGrid})),i.d(t,"PropertyEditorSetupValue",(function(){return L.PropertyEditorSetupValue})),i.d(t,"PropertyGridEditorCollection",(function(){return L.PropertyGridEditorCollection})),i.d(t,"PropertyGridTitleActionsCreator",(function(){return L.PropertyGridTitleActionsCreator})),i.d(t,"PropertyJSONGenerator",(function(){return L.PropertyJSONGenerator})),i.d(t,"PropertyGridModel",(function(){return L.PropertyGridModel})),i.d(t,"PropertyGridEditor",(function(){return L.PropertyGridEditor})),i.d(t,"PropertyGridEditorBoolean",(function(){return L.PropertyGridEditorBoolean})),i.d(t,"PropertyGridEditorStringBase",(function(){return L.PropertyGridEditorStringBase})),i.d(t,"PropertyGridEditorString",(function(){return L.PropertyGridEditorString})),i.d(t,"PropertyGridEditorNumber",(function(){return L.PropertyGridEditorNumber})),i.d(t,"PropertyGridEditorText",(function(){return L.PropertyGridEditorText})),i.d(t,"PropertyGridEditorHtml",(function(){return L.PropertyGridEditorHtml})),i.d(t,"PropertyGridEditorColor",(function(){return L.PropertyGridEditorColor})),i.d(t,"PropertyGridEditorStringArray",(function(){return L.PropertyGridEditorStringArray})),i.d(t,"PropertyGridEditorDropdown",(function(){return L.PropertyGridEditorDropdown})),i.d(t,"PropertyGridEditorSet",(function(){return L.PropertyGridEditorSet})),i.d(t,"PropertyGridEditorPage",(function(){return L.PropertyGridEditorPage})),i.d(t,"PropertyGridEditorQuestion",(function(){return L.PropertyGridEditorQuestion})),i.d(t,"PropertyGridEditorQuestionSelectBase",(function(){return L.PropertyGridEditorQuestionSelectBase})),i.d(t,"PropertyGridEditorQuestionValue",(function(){return L.PropertyGridEditorQuestionValue}));var D=i(/*! ../property-grid/condition */"./src/property-grid/condition.ts");i.d(t,"PropertyGridEditorExpression",(function(){return D.PropertyGridEditorExpression})),i.d(t,"PropertyGridEditorCondition",(function(){return D.PropertyGridEditorCondition}));var B=i(/*! ../property-grid/matrices */"./src/property-grid/matrices.ts");i.d(t,"PropertyGridEditorMatrix",(function(){return B.PropertyGridEditorMatrix})),i.d(t,"PropertyGridEditorMatrixItemValues",(function(){return B.PropertyGridEditorMatrixItemValues})),i.d(t,"PropertyGridEditorMatrixColumns",(function(){return B.PropertyGridEditorMatrixColumns})),i.d(t,"PropertyGridEditorMatrixPages",(function(){return B.PropertyGridEditorMatrixPages})),i.d(t,"PropertyGridEditorMatrixCalculatedValues",(function(){return B.PropertyGridEditorMatrixCalculatedValues})),i.d(t,"PropertyGridEditorMatrixHtmlConditions",(function(){return B.PropertyGridEditorMatrixHtmlConditions})),i.d(t,"PropertyGridEditorMatrixUrlConditions",(function(){return B.PropertyGridEditorMatrixUrlConditions})),i.d(t,"PropertyGridEditorMatrixMutlipleTextItems",(function(){return B.PropertyGridEditorMatrixMutlipleTextItems})),i.d(t,"PropertyGridEditorMatrixMultipleTypes",(function(){return B.PropertyGridEditorMatrixMultipleTypes})),i.d(t,"PropertyGridEditorMatrixValidators",(function(){return B.PropertyGridEditorMatrixValidators})),i.d(t,"PropertyGridEditorMatrixTriggers",(function(){return B.PropertyGridEditorMatrixTriggers})),i.d(t,"PropertyGridEditorBindings",(function(){return B.PropertyGridEditorBindings}));var H=i(/*! ../property-grid/property-grid-view-model */"./src/property-grid/property-grid-view-model.ts");i.d(t,"PropertyGridViewModel",(function(){return H.PropertyGridViewModel}));var F=i(/*! ../property-grid/object-selector */"./src/property-grid/object-selector.ts");i.d(t,"ObjectSelectorItem",(function(){return F.ObjectSelectorItem})),i.d(t,"ObjectSelector",(function(){return F.ObjectSelector})),i.d(t,"ObjectSelectorModel",(function(){return F.ObjectSelectorModel}));var Q=i(/*! ../property-grid/restfull */"./src/property-grid/restfull.ts");i.d(t,"PropertyGridEditorQuestionRestfull",(function(){return Q.PropertyGridEditorQuestionRestfull}));var U=i(/*! ../property-grid/values */"./src/property-grid/values.ts");i.d(t,"QuestionLinkValueModel",(function(){return U.QuestionLinkValueModel})),i.d(t,"PropertyGridValueEditorBase",(function(){return U.PropertyGridValueEditorBase})),i.d(t,"PropertyGridCellsEditor",(function(){return U.PropertyGridCellsEditor})),i.d(t,"PropertyGridValueEditor",(function(){return U.PropertyGridValueEditor})),i.d(t,"PropertyGridRowValueEditor",(function(){return U.PropertyGridRowValueEditor})),i.d(t,"PropertyGridPanelValueEditor",(function(){return U.PropertyGridPanelValueEditor})),i.d(t,"PropertyGridTriggerValueEditor",(function(){return U.PropertyGridTriggerValueEditor})),i.d(t,"PropertyGridTriggerValueInLogicEditor",(function(){return U.PropertyGridTriggerValueInLogicEditor}));var G=i(/*! ../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts");i.d(t,"propertyGridCss",(function(){return G.propertyGridCss}));var J=i(/*! ../questionconverter */"./src/questionconverter.ts");i.d(t,"QuestionConverter",(function(){return J.QuestionConverter}));var W=i(/*! ../svgbundle */"./src/svgbundle.ts");i.d(t,"svgBundle",(function(){return W.svgBundle}));var K=i(/*! ../textWorker */"./src/textWorker.ts");i.d(t,"SurveyTextWorker",(function(){return K.SurveyTextWorker}));var Z=i(/*! ../toolbox */"./src/toolbox.ts");i.d(t,"QuestionToolboxCategory",(function(){return Z.QuestionToolboxCategory})),i.d(t,"QuestionToolboxItem",(function(){return Z.QuestionToolboxItem})),i.d(t,"QuestionToolbox",(function(){return Z.QuestionToolbox}));var Y=i(/*! ../components/side-bar/side-bar-model */"./src/components/side-bar/side-bar-model.ts");i.d(t,"SideBarModel",(function(){return Y.SideBarModel}));var X=i(/*! ../components/side-bar/side-bar-tab-model */"./src/components/side-bar/side-bar-tab-model.ts");i.d(t,"SideBarTabModel",(function(){return X.SideBarTabModel})),i(/*! ../utils/events */"./src/utils/events.ts");var $=i(/*! ../utils/utils */"./src/utils/utils.ts");i.d(t,"getNextValue",(function(){return $.getNextValue})),i.d(t,"findParentNode",(function(){return $.findParentNode})),i.d(t,"focusFirstControl",(function(){return $.focusFirstControl})),i.d(t,"getFirstNonTextElement",(function(){return $.getFirstNonTextElement})),i.d(t,"getNodesFromKoComponentInfo",(function(){return $.getNodesFromKoComponentInfo})),i.d(t,"propertyExists",(function(){return $.propertyExists})),i.d(t,"isPropertyVisible",(function(){return $.isPropertyVisible})),i.d(t,"toggleHovered",(function(){return $.toggleHovered})),i.d(t,"clearNewLines",(function(){return $.clearNewLines})),i.d(t,"select",(function(){return $.select})),i.d(t,"copyObject",(function(){return $.copyObject})),i.d(t,"copyCssClasses",(function(){return $.copyCssClasses})),i.d(t,"assignDefaultV2Classes",(function(){return $.assignDefaultV2Classes}));var ee=i(/*! ../question-editor/definition */"./src/question-editor/definition.ts");i.d(t,"SurveyQuestionEditorDefinition",(function(){return ee.SurveyQuestionEditorDefinition}));var te=i(/*! ../survey-helper */"./src/survey-helper.ts");i.d(t,"ObjType",(function(){return te.ObjType})),i.d(t,"SurveyHelper",(function(){return te.SurveyHelper}));var ie=i(/*! ../components/notifier */"./src/components/notifier.ts");i.d(t,"Notifier",(function(){return ie.Notifier}));var oe=i(/*! ../utils/resizer */"./src/utils/resizer.ts");i.d(t,"ResizeManager",(function(){return oe.ResizeManager}));var re=i(/*! ../plugins/undo-redo */"./src/plugins/undo-redo/index.ts");i.d(t,"UndoRedoPlugin",(function(){return re.UndoRedoPlugin})),i.d(t,"undoRedoTransaction",(function(){return re.undoRedoTransaction})),i.d(t,"ignoreUndoRedo",(function(){return re.ignoreUndoRedo}));var ne=i(/*! ../plugins/undo-redo/undo-redo-manager */"./src/plugins/undo-redo/undo-redo-manager.ts");i.d(t,"UndoRedoManager",(function(){return ne.UndoRedoManager})),i.d(t,"Transaction",(function(){return ne.Transaction})),i.d(t,"UndoRedoAction",(function(){return ne.UndoRedoAction})),i.d(t,"UndoRedoArrayAction",(function(){return ne.UndoRedoArrayAction})),i(/*! ../components/property-panel/property-panel-item.scss */"./src/components/property-panel/property-panel-item.scss"),i(/*! ../components/property-panel/property-panel.scss */"./src/components/property-panel/property-panel.scss"),i(/*! ../components/tabbed-menu/tabbed-menu-item.scss */"./src/components/tabbed-menu/tabbed-menu-item.scss"),i(/*! ../components/tabbed-menu/tabbed-menu.scss */"./src/components/tabbed-menu/tabbed-menu.scss"),i(/*! ../components/toolbox/toolbox-tool.scss */"./src/components/toolbox/toolbox-tool.scss"),i(/*! ../components/question-dropdown.scss */"./src/components/question-dropdown.scss"),i(/*! ../components/toolbox/toolbox.scss */"./src/components/toolbox/toolbox.scss"),i(/*! ../components/side-bar/side-bar.scss */"./src/components/side-bar/side-bar.scss"),i(/*! ../property-grid-theme/property-grid.scss */"./src/property-grid-theme/property-grid.scss"),i(/*! ../utils/design.scss */"./src/utils/design.scss"),i(/*! ../utils/layout.scss */"./src/utils/layout.scss"),i(/*! ../localization/danish */"./src/localization/danish.ts"),i(/*! ../localization/french */"./src/localization/french.ts"),i(/*! ../localization/german */"./src/localization/german.ts"),i(/*! ../localization/finnish */"./src/localization/finnish.ts"),i(/*! ../localization/italian */"./src/localization/italian.ts"),i(/*! ../localization/indonesian */"./src/localization/indonesian.ts"),i(/*! ../localization/korean */"./src/localization/korean.ts"),i(/*! ../localization/persian */"./src/localization/persian.ts"),i(/*! ../localization/polish */"./src/localization/polish.ts"),i(/*! ../localization/portuguese */"./src/localization/portuguese.ts"),i(/*! ../localization/simplified-chinese */"./src/localization/simplified-chinese.ts"),i(/*! ../localization/spanish */"./src/localization/spanish.ts"),i(/*! ../localization/swedish */"./src/localization/swedish.ts"),i(/*! ../localization/traditional-chinese */"./src/localization/traditional-chinese.ts"),i(/*! ../localization/turkish */"./src/localization/turkish.ts"),i(/*! ../localization/norwegian */"./src/localization/norwegian.ts"),i(/*! ../localization/hungarian */"./src/localization/hungarian.ts"),i(/*! ../localization/russian */"./src/localization/russian.ts"),i(/*! ../localization/tajik */"./src/localization/tajik.ts"),i(/*! ../localization/dutch */"./src/localization/dutch.ts"),i(/*! ../localization/croatian */"./src/localization/croatian.ts");var ae,se=i(/*! survey-core */"survey-core");ae="".concat("1.9.2-beta.1"),se.settings.supportCreatorV2=!0},"./src/expressionToDisplayText.ts":
|
|
332
|
+
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorBase, StylesManager, getElementWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageViewModel, RowViewModel, QuestionAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, getLocString, SurveyJSON5, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, QuestionLinkValueModel, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SideBarModel, SideBarTabModel, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, Notifier, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction */function(e,t,i){"use strict";i.r(t),i.d(t,"Version",(function(){return ae}));var o=i(/*! ../localization/english */"./src/localization/english.ts");i.d(t,"enStrings",(function(){return o.enStrings}));var r=i(/*! ../editorLocalization */"./src/editorLocalization.ts");i.d(t,"editorLocalization",(function(){return r.editorLocalization})),i.d(t,"defaultStrings",(function(){return r.defaultStrings})),i.d(t,"localization",(function(){return r.editorLocalization}));var n=i(/*! ../settings */"./src/settings.ts");i.d(t,"QuestionConvertMode",(function(){return n.QuestionConvertMode})),i.d(t,"settings",(function(){return n.settings})),i.d(t,"EmptySurveyCreatorOptions",(function(){return n.EmptySurveyCreatorOptions}));var a=i(/*! ../creator-base */"./src/creator-base.ts");i.d(t,"TabbedMenuItem",(function(){return a.TabbedMenuItem})),i.d(t,"TabbedMenuContainer",(function(){return a.TabbedMenuContainer})),i.d(t,"ToolbarActionContainer",(function(){return a.ToolbarActionContainer})),i.d(t,"CreatorBase",(function(){return a.CreatorBase})),i.d(t,"StylesManager",(function(){return a.StylesManager})),i.d(t,"getElementWrapperComponentName",(function(){return a.getElementWrapperComponentName})),i.d(t,"getElementWrapperComponentData",(function(){return a.getElementWrapperComponentData})),i.d(t,"getItemValueWrapperComponentName",(function(){return a.getItemValueWrapperComponentName})),i.d(t,"getItemValueWrapperComponentData",(function(){return a.getItemValueWrapperComponentData})),i.d(t,"isStringEditable",(function(){return a.isStringEditable}));var s=i(/*! ../creator-responsivity-manager */"./src/creator-responsivity-manager.ts");i.d(t,"CreatorResponsivityManager",(function(){return s.CreatorResponsivityManager}));var l=i(/*! ../components/tabs/embed */"./src/components/tabs/embed.ts");i.d(t,"EmbedModel",(function(){return l.EmbedModel})),i.d(t,"TabEmbedPlugin",(function(){return l.TabEmbedPlugin}));var u=i(/*! ../components/tabs/json-editor-ace */"./src/components/tabs/json-editor-ace.ts");i.d(t,"AceJsonEditorModel",(function(){return u.AceJsonEditorModel})),i.d(t,"TabJsonEditorAcePlugin",(function(){return u.TabJsonEditorAcePlugin}));var c=i(/*! ../components/tabs/json-editor-plugin */"./src/components/tabs/json-editor-plugin.ts");i.d(t,"JsonEditorBaseModel",(function(){return c.JsonEditorBaseModel})),i.d(t,"TabJsonEditorBasePlugin",(function(){return c.TabJsonEditorBasePlugin}));var d=i(/*! ../components/tabs/json-editor-textarea */"./src/components/tabs/json-editor-textarea.ts");i.d(t,"TextareaJsonEditorModel",(function(){return d.TextareaJsonEditorModel})),i.d(t,"TabJsonEditorTextareaPlugin",(function(){return d.TabJsonEditorTextareaPlugin}));var p=i(/*! ../components/tabs/test */"./src/components/tabs/test.ts");i.d(t,"TestSurveyTabViewModel",(function(){return p.TestSurveyTabViewModel}));var m=i(/*! ../components/tabs/test-plugin */"./src/components/tabs/test-plugin.ts");i.d(t,"TabTestPlugin",(function(){return m.TabTestPlugin}));var g=i(/*! ../components/tabs/logic */"./src/components/tabs/logic.ts");i.d(t,"SurveyLogic",(function(){return g.SurveyLogic}));var h=i(/*! ../components/tabs/translation */"./src/components/tabs/translation.ts");i.d(t,"TranslationItemBase",(function(){return h.TranslationItemBase})),i.d(t,"TranslationItemString",(function(){return h.TranslationItemString})),i.d(t,"TranslationItem",(function(){return h.TranslationItem})),i.d(t,"TranslationGroup",(function(){return h.TranslationGroup})),i.d(t,"Translation",(function(){return h.Translation}));var v=i(/*! ../components/tabs/translation-theme */"./src/components/tabs/translation-theme.ts");i.d(t,"translationCss",(function(){return v.translationCss}));var y=i(/*! ../components/tabs/translation-plugin */"./src/components/tabs/translation-plugin.ts");i.d(t,"TabTranslationPlugin",(function(){return y.TabTranslationPlugin}));var f=i(/*! ../components/tabs/designer */"./src/components/tabs/designer.ts");i.d(t,"TabDesignerViewModel",(function(){return f.TabDesignerViewModel}));var b=i(/*! ../components/tabs/designer-plugin */"./src/components/tabs/designer-plugin.ts");i.d(t,"TabDesignerPlugin",(function(){return b.TabDesignerPlugin}));var x=i(/*! ../components/tabs/logic-ui */"./src/components/tabs/logic-ui.ts");i.d(t,"SurveyLogicUI",(function(){return x.SurveyLogicUI}));var w=i(/*! ../components/tabs/logic-plugin */"./src/components/tabs/logic-plugin.ts");i.d(t,"TabLogicPlugin",(function(){return w.TabLogicPlugin}));var T=i(/*! ../components/tabs/logic-theme */"./src/components/tabs/logic-theme.ts");i.d(t,"logicCss",(function(){return T.logicCss}));var k=i(/*! ../components/toolbox/toolbox-tool */"./src/components/toolbox/toolbox-tool.ts");i.d(t,"ToolboxToolViewModel",(function(){return k.ToolboxToolViewModel}));var S=i(/*! ../components/page-navigator/page-navigator */"./src/components/page-navigator/page-navigator.ts");i.d(t,"PageNavigatorViewModel",(function(){return S.PageNavigatorViewModel}));var P=i(/*! ../components/page */"./src/components/page.ts");i.d(t,"PageViewModel",(function(){return P.PageViewModel}));var E=i(/*! ../components/row */"./src/components/row.ts");i.d(t,"RowViewModel",(function(){return E.RowViewModel}));var C=i(/*! ../components/question */"./src/components/question.ts");i.d(t,"QuestionAdornerViewModel",(function(){return C.QuestionAdornerViewModel}));var N=i(/*! ../components/question-image */"./src/components/question-image.ts");i.d(t,"QuestionImageAdornerViewModel",(function(){return N.QuestionImageAdornerViewModel}));var O=i(/*! ../components/question-rating */"./src/components/question-rating.ts");i.d(t,"QuestionRatingAdornerViewModel",(function(){return O.QuestionRatingAdornerViewModel}));var _=i(/*! ../components/item-value */"./src/components/item-value.ts");i.d(t,"ItemValueWrapperViewModel",(function(){return _.ItemValueWrapperViewModel}));var A=i(/*! ../components/image-item-value */"./src/components/image-item-value.ts");i.d(t,"ImageItemValueWrapperViewModel",(function(){return A.ImageItemValueWrapperViewModel}));var j=i(/*! ../components/matrix-cell */"./src/components/matrix-cell.ts");i.d(t,"MatrixCellWrapperViewModel",(function(){return j.MatrixCellWrapperViewModel}));var V=i(/*! ../components/simulator */"./src/components/simulator.ts");i.d(t,"SurveySimulatorModel",(function(){return V.SurveySimulatorModel})),i.d(t,"DEFAULT_MONITOR_DPI",(function(){return V.DEFAULT_MONITOR_DPI})),i.d(t,"simulatorDevices",(function(){return V.simulatorDevices}));var I=i(/*! ../components/results */"./src/components/results.ts");i.d(t,"SurveyResultsItemModel",(function(){return I.SurveyResultsItemModel})),i.d(t,"SurveyResultsModel",(function(){return I.SurveyResultsModel}));var z=i(/*! ../components/header/logo-image */"./src/components/header/logo-image.ts");i.d(t,"LogoImageViewModel",(function(){return z.LogoImageViewModel}));var M=i(/*! ../components/string-editor */"./src/components/string-editor.ts");i.d(t,"StringEditorViewModelBase",(function(){return M.StringEditorViewModelBase}));var q=i(/*! ../components/embedded-survey */"./src/components/embedded-survey.ts");i.d(t,"QuestionEmbeddedSurveyModel",(function(){return q.QuestionEmbeddedSurveyModel})),i.d(t,"getLocString",(function(){return r.getLocString}));var R=i(/*! ../json5 */"./src/json5.ts");i.d(t,"SurveyJSON5",(function(){return R.SurveyJSON5}));var L=i(/*! ../property-grid */"./src/property-grid/index.ts");i.d(t,"setSurveyJSONForPropertyGrid",(function(){return L.setSurveyJSONForPropertyGrid})),i.d(t,"PropertyEditorSetupValue",(function(){return L.PropertyEditorSetupValue})),i.d(t,"PropertyGridEditorCollection",(function(){return L.PropertyGridEditorCollection})),i.d(t,"PropertyGridTitleActionsCreator",(function(){return L.PropertyGridTitleActionsCreator})),i.d(t,"PropertyJSONGenerator",(function(){return L.PropertyJSONGenerator})),i.d(t,"PropertyGridModel",(function(){return L.PropertyGridModel})),i.d(t,"PropertyGridEditor",(function(){return L.PropertyGridEditor})),i.d(t,"PropertyGridEditorBoolean",(function(){return L.PropertyGridEditorBoolean})),i.d(t,"PropertyGridEditorStringBase",(function(){return L.PropertyGridEditorStringBase})),i.d(t,"PropertyGridEditorString",(function(){return L.PropertyGridEditorString})),i.d(t,"PropertyGridEditorNumber",(function(){return L.PropertyGridEditorNumber})),i.d(t,"PropertyGridEditorText",(function(){return L.PropertyGridEditorText})),i.d(t,"PropertyGridEditorHtml",(function(){return L.PropertyGridEditorHtml})),i.d(t,"PropertyGridEditorColor",(function(){return L.PropertyGridEditorColor})),i.d(t,"PropertyGridEditorStringArray",(function(){return L.PropertyGridEditorStringArray})),i.d(t,"PropertyGridEditorDropdown",(function(){return L.PropertyGridEditorDropdown})),i.d(t,"PropertyGridEditorSet",(function(){return L.PropertyGridEditorSet})),i.d(t,"PropertyGridEditorPage",(function(){return L.PropertyGridEditorPage})),i.d(t,"PropertyGridEditorQuestion",(function(){return L.PropertyGridEditorQuestion})),i.d(t,"PropertyGridEditorQuestionSelectBase",(function(){return L.PropertyGridEditorQuestionSelectBase})),i.d(t,"PropertyGridEditorQuestionValue",(function(){return L.PropertyGridEditorQuestionValue}));var D=i(/*! ../property-grid/condition */"./src/property-grid/condition.ts");i.d(t,"PropertyGridEditorExpression",(function(){return D.PropertyGridEditorExpression})),i.d(t,"PropertyGridEditorCondition",(function(){return D.PropertyGridEditorCondition}));var B=i(/*! ../property-grid/matrices */"./src/property-grid/matrices.ts");i.d(t,"PropertyGridEditorMatrix",(function(){return B.PropertyGridEditorMatrix})),i.d(t,"PropertyGridEditorMatrixItemValues",(function(){return B.PropertyGridEditorMatrixItemValues})),i.d(t,"PropertyGridEditorMatrixColumns",(function(){return B.PropertyGridEditorMatrixColumns})),i.d(t,"PropertyGridEditorMatrixPages",(function(){return B.PropertyGridEditorMatrixPages})),i.d(t,"PropertyGridEditorMatrixCalculatedValues",(function(){return B.PropertyGridEditorMatrixCalculatedValues})),i.d(t,"PropertyGridEditorMatrixHtmlConditions",(function(){return B.PropertyGridEditorMatrixHtmlConditions})),i.d(t,"PropertyGridEditorMatrixUrlConditions",(function(){return B.PropertyGridEditorMatrixUrlConditions})),i.d(t,"PropertyGridEditorMatrixMutlipleTextItems",(function(){return B.PropertyGridEditorMatrixMutlipleTextItems})),i.d(t,"PropertyGridEditorMatrixMultipleTypes",(function(){return B.PropertyGridEditorMatrixMultipleTypes})),i.d(t,"PropertyGridEditorMatrixValidators",(function(){return B.PropertyGridEditorMatrixValidators})),i.d(t,"PropertyGridEditorMatrixTriggers",(function(){return B.PropertyGridEditorMatrixTriggers})),i.d(t,"PropertyGridEditorBindings",(function(){return B.PropertyGridEditorBindings}));var H=i(/*! ../property-grid/property-grid-view-model */"./src/property-grid/property-grid-view-model.ts");i.d(t,"PropertyGridViewModel",(function(){return H.PropertyGridViewModel}));var F=i(/*! ../property-grid/object-selector */"./src/property-grid/object-selector.ts");i.d(t,"ObjectSelectorItem",(function(){return F.ObjectSelectorItem})),i.d(t,"ObjectSelector",(function(){return F.ObjectSelector})),i.d(t,"ObjectSelectorModel",(function(){return F.ObjectSelectorModel}));var Q=i(/*! ../property-grid/restfull */"./src/property-grid/restfull.ts");i.d(t,"PropertyGridEditorQuestionRestfull",(function(){return Q.PropertyGridEditorQuestionRestfull}));var U=i(/*! ../property-grid/values */"./src/property-grid/values.ts");i.d(t,"QuestionLinkValueModel",(function(){return U.QuestionLinkValueModel})),i.d(t,"PropertyGridValueEditorBase",(function(){return U.PropertyGridValueEditorBase})),i.d(t,"PropertyGridCellsEditor",(function(){return U.PropertyGridCellsEditor})),i.d(t,"PropertyGridValueEditor",(function(){return U.PropertyGridValueEditor})),i.d(t,"PropertyGridRowValueEditor",(function(){return U.PropertyGridRowValueEditor})),i.d(t,"PropertyGridPanelValueEditor",(function(){return U.PropertyGridPanelValueEditor})),i.d(t,"PropertyGridTriggerValueEditor",(function(){return U.PropertyGridTriggerValueEditor})),i.d(t,"PropertyGridTriggerValueInLogicEditor",(function(){return U.PropertyGridTriggerValueInLogicEditor}));var G=i(/*! ../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts");i.d(t,"propertyGridCss",(function(){return G.propertyGridCss}));var J=i(/*! ../questionconverter */"./src/questionconverter.ts");i.d(t,"QuestionConverter",(function(){return J.QuestionConverter}));var W=i(/*! ../svgbundle */"./src/svgbundle.ts");i.d(t,"svgBundle",(function(){return W.svgBundle}));var K=i(/*! ../textWorker */"./src/textWorker.ts");i.d(t,"SurveyTextWorker",(function(){return K.SurveyTextWorker}));var Z=i(/*! ../toolbox */"./src/toolbox.ts");i.d(t,"QuestionToolboxCategory",(function(){return Z.QuestionToolboxCategory})),i.d(t,"QuestionToolboxItem",(function(){return Z.QuestionToolboxItem})),i.d(t,"QuestionToolbox",(function(){return Z.QuestionToolbox}));var Y=i(/*! ../components/side-bar/side-bar-model */"./src/components/side-bar/side-bar-model.ts");i.d(t,"SideBarModel",(function(){return Y.SideBarModel}));var X=i(/*! ../components/side-bar/side-bar-tab-model */"./src/components/side-bar/side-bar-tab-model.ts");i.d(t,"SideBarTabModel",(function(){return X.SideBarTabModel})),i(/*! ../utils/events */"./src/utils/events.ts");var $=i(/*! ../utils/utils */"./src/utils/utils.ts");i.d(t,"getNextValue",(function(){return $.getNextValue})),i.d(t,"findParentNode",(function(){return $.findParentNode})),i.d(t,"focusFirstControl",(function(){return $.focusFirstControl})),i.d(t,"getFirstNonTextElement",(function(){return $.getFirstNonTextElement})),i.d(t,"getNodesFromKoComponentInfo",(function(){return $.getNodesFromKoComponentInfo})),i.d(t,"propertyExists",(function(){return $.propertyExists})),i.d(t,"isPropertyVisible",(function(){return $.isPropertyVisible})),i.d(t,"toggleHovered",(function(){return $.toggleHovered})),i.d(t,"clearNewLines",(function(){return $.clearNewLines})),i.d(t,"select",(function(){return $.select})),i.d(t,"copyObject",(function(){return $.copyObject})),i.d(t,"copyCssClasses",(function(){return $.copyCssClasses})),i.d(t,"assignDefaultV2Classes",(function(){return $.assignDefaultV2Classes}));var ee=i(/*! ../question-editor/definition */"./src/question-editor/definition.ts");i.d(t,"SurveyQuestionEditorDefinition",(function(){return ee.SurveyQuestionEditorDefinition}));var te=i(/*! ../survey-helper */"./src/survey-helper.ts");i.d(t,"ObjType",(function(){return te.ObjType})),i.d(t,"SurveyHelper",(function(){return te.SurveyHelper}));var ie=i(/*! ../components/notifier */"./src/components/notifier.ts");i.d(t,"Notifier",(function(){return ie.Notifier}));var oe=i(/*! ../utils/resizer */"./src/utils/resizer.ts");i.d(t,"ResizeManager",(function(){return oe.ResizeManager}));var re=i(/*! ../plugins/undo-redo */"./src/plugins/undo-redo/index.ts");i.d(t,"UndoRedoPlugin",(function(){return re.UndoRedoPlugin})),i.d(t,"undoRedoTransaction",(function(){return re.undoRedoTransaction})),i.d(t,"ignoreUndoRedo",(function(){return re.ignoreUndoRedo}));var ne=i(/*! ../plugins/undo-redo/undo-redo-manager */"./src/plugins/undo-redo/undo-redo-manager.ts");i.d(t,"UndoRedoManager",(function(){return ne.UndoRedoManager})),i.d(t,"Transaction",(function(){return ne.Transaction})),i.d(t,"UndoRedoAction",(function(){return ne.UndoRedoAction})),i.d(t,"UndoRedoArrayAction",(function(){return ne.UndoRedoArrayAction})),i(/*! ../components/property-panel/property-panel-item.scss */"./src/components/property-panel/property-panel-item.scss"),i(/*! ../components/property-panel/property-panel.scss */"./src/components/property-panel/property-panel.scss"),i(/*! ../components/tabbed-menu/tabbed-menu-item.scss */"./src/components/tabbed-menu/tabbed-menu-item.scss"),i(/*! ../components/tabbed-menu/tabbed-menu.scss */"./src/components/tabbed-menu/tabbed-menu.scss"),i(/*! ../components/toolbox/toolbox-tool.scss */"./src/components/toolbox/toolbox-tool.scss"),i(/*! ../components/question-dropdown.scss */"./src/components/question-dropdown.scss"),i(/*! ../components/toolbox/toolbox.scss */"./src/components/toolbox/toolbox.scss"),i(/*! ../components/side-bar/side-bar.scss */"./src/components/side-bar/side-bar.scss"),i(/*! ../property-grid-theme/property-grid.scss */"./src/property-grid-theme/property-grid.scss"),i(/*! ../utils/design.scss */"./src/utils/design.scss"),i(/*! ../utils/layout.scss */"./src/utils/layout.scss"),i(/*! ../localization/danish */"./src/localization/danish.ts"),i(/*! ../localization/french */"./src/localization/french.ts"),i(/*! ../localization/german */"./src/localization/german.ts"),i(/*! ../localization/finnish */"./src/localization/finnish.ts"),i(/*! ../localization/italian */"./src/localization/italian.ts"),i(/*! ../localization/indonesian */"./src/localization/indonesian.ts"),i(/*! ../localization/korean */"./src/localization/korean.ts"),i(/*! ../localization/persian */"./src/localization/persian.ts"),i(/*! ../localization/polish */"./src/localization/polish.ts"),i(/*! ../localization/portuguese */"./src/localization/portuguese.ts"),i(/*! ../localization/simplified-chinese */"./src/localization/simplified-chinese.ts"),i(/*! ../localization/spanish */"./src/localization/spanish.ts"),i(/*! ../localization/swedish */"./src/localization/swedish.ts"),i(/*! ../localization/traditional-chinese */"./src/localization/traditional-chinese.ts"),i(/*! ../localization/turkish */"./src/localization/turkish.ts"),i(/*! ../localization/norwegian */"./src/localization/norwegian.ts"),i(/*! ../localization/hungarian */"./src/localization/hungarian.ts"),i(/*! ../localization/russian */"./src/localization/russian.ts"),i(/*! ../localization/tajik */"./src/localization/tajik.ts"),i(/*! ../localization/dutch */"./src/localization/dutch.ts"),i(/*! ../localization/croatian */"./src/localization/croatian.ts");var ae,se=i(/*! survey-core */"survey-core");ae="".concat("1.9.3-beta.1"),se.settings.supportCreatorV2=!0},"./src/expressionToDisplayText.ts":
|
|
333
333
|
/*!****************************************!*\
|
|
334
334
|
!*** ./src/expressionToDisplayText.ts ***!
|
|
335
335
|
\****************************************/
|
|
@@ -341,7 +341,7 @@ License: MIT
|
|
|
341
341
|
/*!**************************************!*\
|
|
342
342
|
!*** ./src/localization/croatian.ts ***!
|
|
343
343
|
\**************************************/
|
|
344
|
-
/*! exports provided: hrStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"hrStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Uređivanje",externalHelpLink:"Gledajte i saznajte kako stvoriti ankete",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Molimo ispustite pitanje ovdje iz Toolbox.",addLogicItem:"Izradite pravilo za prilagodbu tijeka ankete.",copy:"Kopirati",duplicate:"Duplikata",addToToolbox:"Dodaj u Toolbox",deletePanel:"Brisanje ploče",deleteQuestion:"Izbriši pitanje",convertTo:"Pretvorite u",drag:"Povucite element"},qt:{default:"Zadani",checkbox:"Ček",comment:"Komentar",imagepicker:"Berač slika",image:"Slike",dropdown:"Padajući",file:"Datoteku",html:"Html",matrix:"Matrica (jedan izbor)",matrixdropdown:"Matrica (višestruki izbor)",matrixdynamic:"Matrica (dinamički redovi)",multipletext:"Više teksta",panel:"Ploča",paneldynamic:"Ploča (dinamički paneli)",radiogroup:"Radiogrupa",rating:"Ocjena",text:"Jedan ulaz",boolean:"Booleova",expression:"Izraz (samo za čitanje)",signaturepad:"Jastučić za potpis",flowpanel:"Ploča protoka"},ed:{defaultLocale:"Zadani ({0})",survey:"Anketa",settings:"Postavke ankete",settingsTooltip:"Otvaranje postavki ankete",showPanel:"Pokaži ploču",hidePanel:"Sakrij ploču",addNewPage:"Dodavanje nove stranice",moveRight:"Pomicanje udesno",moveLeft:"Pomicanje ulijevo",deletePage:"Brisanje stranice",editPage:"Uređivanje stranice",edit:"Uređivanje",newPageName:"stranica",newQuestionName:"pitanje",newPanelName:"ploča",newTextItemName:"tekst",testSurvey:"Ispitna anketa",testSurveyAgain:"Ponovno probna anketa",testSurveyWidth:"Širina ankete: ",navigateToMsg:"Morao si navigirati do:",logic:"Logika ankete",embedSurvey:"Ugrađena anketa",translation:"Prijevod",saveSurvey:"Spremi anketu",saveSurveyTooltip:"Spremi anketu",designer:"Dizajner ankete",jsonEditor:"JSON urednik",undo:"Poništiti",redo:"Ponoviti",undoTooltip:"Poništi posljednju promjenu",redoTooltip:"Preusmjeti promjenu",copy:"Kopirati",cut:"Izrezati",paste:"Zalijepite",copyTooltip:"Kopiranje odabira u međuspremnik",cutTooltip:"Izrežite odabir na međuspremnik",pasteTooltip:"Pasta iz međuspremnika",options:"Mogućnosti",generateValidJSON:"Generiranje valjanog JSON",generateReadableJSON:"Generiranje čitljivog JSON",toolbox:"Alatni okvir","property-grid":"Svojstva",toolboxGeneralCategory:"Općenito",correctJSON:"Ispravite JSON.",surveyResults:"Rezultat ankete: ",surveyResultsTable:"Kao tablica",surveyResultsJson:"Kao JSON",resultsTitle:"Naslov pitanja",resultsName:"Naziv pitanja",resultsValue:"Vrijednost odgovora",resultsDisplayValue:"Vrijednost prikaza",modified:"Izmjena",saving:"Spremanje",saved:"Spremiti",propertyEditorError:"Pogreška:",saveError:"Pogreška! Sadržaj urednika nije spremljen.",translationAddLanguage:"Odaberite jezik za prevođenje",translationShowAllStrings:"Pokažite sve žice",translationShowAllPages:"Pokažite sve stranice",translationNoStrings:"Nema žica za prevođenje. Promijenite filtar.",translationExportToSCVButton:"Izvoz u CSV",translationImportFromSCVButton:"Uvoz iz CSV",translationMergeLocaleWithDefault:"Spajanje {0} sa zadanim lokalomwith default locale.",bold:"podebljano",italic:"kurziv",underline:"podcrtavanje",fpAddQuestion:"Dodaj pitanje...",selectPage:"Odaberite stranicu...",chooseElement:"Odaberite element...",lg:{addNewItem:"",page_visibilityName:"Vidljivost stranice",panel_visibilityName:"Vidljivost panela",panel_enableName:"Omogući/onemogući panel",question_visibilityName:"Vidljivost pitanja",question_enableName:"Pitanje omogućuje/onesposobljava",question_requireName:"Pitanje nije obavezno",trigger_completeName:"Potpuna anketa",trigger_setvalueName:"Postavite vrijednost pitanja",trigger_copyvalueName:"Kopiranje vrijednosti pitanja",trigger_skipName:"Prijeđite na pitanje",trigger_runExpressionName:"Pokretanje prilagođenog izraza",completedHtmlOnConditionName:"Prilagođeni 'Thank you page' tekst",page_visibilityDescription:"Učinite stranicu vidljivom kada se logička ekspresija vrati istinitom. Inače neka bude nevidljivo.",panel_visibilityDescription:"Učinite ploču vidljivom kada se logička ekspresija vrati istinitom. Inače ga držati nevidljivim.",panel_enableDescription:"Učinite ploču i sve elemente unutar nje omogućite kada se logička ekspresija vrati istinita. Inače ih držite onesposobljenima.",question_visibilityDescription:"Učinite pitanje vidljivim kada se logička ekspresija vrati istinita. Inače ga držati nevidljivim.",question_enableDescription:"Omogućite pitanje kada se logička ekspresija vrati istinita. Inače ga držati onemogućen.",question_requireDescription:"Pitanje postaje potrebno kada se logička ekspresija vrati istinita.",trigger_completeDescription:"Kada se logička ekspresija vrati istinita, anketa postaje dovršena i krajnji korisnik vidi 'Thank you page'.",trigger_setvalueDescription:"Kada se vrijednosti pitanja, koje se koriste u logičkom izrazu, mijenjaju i logička ekspresija se vraća istinita, tada se vrijednost postavlja na odabrano pitanje.",trigger_copyvalueDescription:"Kada se vrijednosti pitanja, koje se koriste u logičkoj ekspresiji, mijenjaju i logička ekspresija se vraća istinita, tada se vrijednost jednog odabranog pitanja kopira na drugo odabrano pitanje.",trigger_skipDescription:"Kada se logička ekspresija vrati istinita, anketa preskače na / fokusira odabrano pitanje.",trigger_runExpressionDescription:"Kada se logička ekspresija vrati istinita, tada se izvodi prilagođeni izraz. Taj rezultat izraza možete neobavezno postaviti u odabrano pitanje.",completedHtmlOnConditionDescription:"Ako se logička ekspresija vrati istinita, zadani tekst za 'Thank you page' mijenja se u zadani.",itemExpressionText:"Kada se izraz '{0}' vrati istinit",page_visibilityText:"Učinite stranicu {0} vidljivom",panel_visibilityText:"Učinite ploču {0} vidljivom",panel_enableText:"Omogući panel x {0}",question_visibilityText:"Učinite pitanje {0} vidljivim",question_enableText:"Omogući pitanje {0}",question_requireText:"Neka pitanje {0} bude potrebno",trigger_completeText:"Anketa se dovrša",trigger_setvalueText:"Postavljeno u pitanje: {0} vrijednost {1}",trigger_copyvalueText:"Kopirajte u pitanje: {0} vrijednost od pitanja {1}",trigger_skipText:"Anketa preskače na pitanje {0}",trigger_runExpressionText1:"Pokretanje izraza: '{0}'",trigger_runExpressionText2:" i dovela u pitanje svoj rezultat: {0}",completedHtmlOnConditionText:"Prikazati prilagođeni tekst za 'Thank you page'.",conditions:"Stanje/Stanja",actions:"Akcije",expressionEditorTitle:"Definiranje uvjeta",actionsEditorTitle:"Definiranje radnji",deleteAction:"Brisanje radnje",addNewAction:"Dodavanje nove akcije",selectedActionCaption:"Odaberite radnju za dodavanje...",expressionInvalid:"Logička ekspresija je prazna ili nevažeća. Molim vas, ispravite to.",noActionError:"Molim vas, dodajte barem jednu akciju.",actionInvalid:"Molimo vas da riješite probleme u svojoj akciji.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Primijeniti",ok:"OK",save:"Spremiti",saveTooltip:"Spremiti",cancel:"Otkazati",reset:"Resetirati",refresh:"Osvježi",delete:"Izbrisati",add:"Dodati",addNew:"Dodaj novo",addItem:"Kliknite da biste dodali stavku...",addOther:"Drugih",addSelectAll:"Odaberite sve",addNone:"Nitko",removeAll:"Uklonite sve",edit:"Uređivanje",back:"Povratak bez uštede",backTooltip:"Povratak bez uštede",saveAndBack:"Spremanje i vraćanje",saveAndBackTooltip:"Spremanje i vraćanje",editChoices:"Uređivanje izbora",showChoices:"Pokažite izbore",move:"Premjestiti",empty:"<empty>",fastEntry:"Brzi unos",formEntry:"Unos obrasca",testService:"Testirajte uslugu",itemSelectorEmpty:"Odaberite element",conditionActionEmpty:"Odaberite radnju",conditionSelectQuestion:"Odaberite pitanje...",conditionSelectPage:"Odaberite stranicu...",conditionSelectPanel:"Odabir ploče...",conditionValueQuestionTitle:"Unesite/odaberite vrijednost",expressionHelp:"Možete koristiti kovrčave nosače kako biste dobili pristup vrijednostima pitanja: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). Funkcije možete koristiti kao: iif(), today(), age(), min(), max(), count(), avg() and others.",aceEditorHelp:"Pritisnite ctrl + prostor kako biste dobili savjet o završetku ekspresije",aceEditorRowTitle:"Trenutni redk",aceEditorPanelTitle:"Trenutna ploča",showMore:"Više detalja potražite u dokumentaciji",assistantTitle:"Dostupna pitanja:",cellsEmptyRowsColumns:"Trebao bi postojati barem jedan stupac ili red",propertyIsEmpty:"Unesite vrijednost",propertyIsNoUnique:"Unesite jedinstvenu vrijednost",propertyNameIsNotUnique:"Unesite jedinstveno ime",listIsEmpty:"Dodavanje nove stavke",expressionIsEmpty:"Izraz je prazan",value:"Vrijednost",text:"tekst",rowid:"ID redaka",imageLink:"Veza slike",columnEdit:"Uređivanje stupca: {0}",itemEdit:"Uređivanje stavke: {0}",url:"Url",path:"Put",valueName:"Naziv vrijednosti",titleName:"Naziv naslova",titlePlaceholder:"Ulazni naslov ovdje",surveyTitlePlaceholder:"Naslov ulazne ankete ovdje",pageTitlePlaceholder:"Naslov ulazne stranice ovdje",descriptionPlaceholder:"Unesite opis",surveyDescriptionPlaceholder:"Unesite opis ankete",pageDescriptionPlaceholder:"Unesite opis stranice",hasOther:"Ima i drugu stavku",otherText:"Tekst druge stavke",hasNone:"Nema stavku",noneText:"Nijedan tekst stavke",hasSelectAll:"Sadrži odaberite sve stavke",selectAllText:"Odaberite sve stavke tekst",choicesMin:"Minimalna vrijednost za automatski generirane stavke",choicesMax:"Maksimalna vrijednost za automatski generirane stavke",choicesStep:"Razlika između automatski generiranih stavki",name:"Ime",title:"Naslov",cellType:"Vrsta ćelije",colCount:"Broj stupaca",choicesOrder:"Odaberite redoslijed izbora",visible:"Je li vidljivo?",isRequired:"Je potrebno?",isAllRowRequired:"Zahtijevati odgovor za sve redove",requiredErrorText:"Potreban tekst pogreške",startWithNewLine:"Počinje li s novom linijom?",rows:"Broj redaka",cols:"Broj stupaca",placeHolder:"Držač ulaznog mjesta",showPreview:"Prikaz područja pretpregleda",storeDataAsText:"Pohranite sadržaj datoteke u rezultat JSON kao tekst",maxSize:"Maksimalna veličina datoteke u bytes",imageHeight:"Visina slike",imageWidth:"Širina slike",rowCount:"Broj redaka",columnLayout:"Raspored stupaca",addRowLocation:"Dodavanje lokacije gumba redaka",addRowText:"Dodavanje teksta gumba redak",removeRowText:"Uklanjanje teksta gumba redaka",rateMin:"Minimalna stopa",rateMax:"Maksimalna stopa",rateStep:"Korak stope",minRateDescription:"Opis minimalne stope",maxRateDescription:"Opis maksimalne stope",inputType:"Vrsta unosa",optionsCaption:"Opis opcija",defaultValue:"Zadana vrijednost",cellsDefaultRow:"Zadani tekstovi ćelija",surveyEditorTitle:"Uređivanje postavki ankete",qEditorTitle:"Uređivanje: {0}",maxLength:"Maksimalna duljina",buildExpression:"Graditi",editExpression:"Uređivanje",and:"I",or:"Ili",remove:"Ukloniti",addCondition:"Dodavanje stanja",showTitle:"Pokaži/sakrij naslov",expandCollapseTitle:"Naslov proširenja/kolapsa",locale:"Zadani jezik",simulator:"Odaberite uređaj",landscapeOrientation:"Krajolik",mode:"Način rada (samo uređivanje/čitanje)",clearInvisibleValues:"Jasne nevidljive vrijednosti",cookieName:"Naziv kolačića (onemogućiti anketu dva puta lokalno)",sendResultOnPageNext:"Pošaljite rezultate ankete na sljedeću stranicu",storeOthersAsComment:"Pohranite vrijednost 'others' u zasebnom polju",showPageTitles:"Prikazate naslove stranica",showPageNumbers:"Prikazate brojeve stranica",pagePrevText:"Tekst prethodnog gumba stranice",pageNextText:"Tekst sljedećeg gumba stranice",completeText:"Complete button text",previewText:"Tekst gumba za pretpregled",editText:"Uređivanje teksta gumba",startSurveyText:"Tekst gumba za pokretanje",showNavigationButtons:"Prikakanje navigacijskih tipki (zadana navigacija)",showPrevButton:"Prikagnite prethodni gumb (korisnik se može vratiti na prethodnu stranicu)",firstPageIsStarted:"Prva stranica u anketi je početna stranica.",showCompletedPage:"Prikagušite dovršenu stranicu na kraju (completedHtml)",goNextPageAutomatic:"Kada odgovarate na sva pitanja, idite automatski na sljedeću stranicu",showProgressBar:"Pokaži traku napretka",questionTitleLocation:"Lokacija naslova pitanja",requiredText:"Pitanje je zahtijevalo simbole",questionStartIndex:"Indeks pokretanja pitanja (1, 2 ili 'A', 'a')",showQuestionNumbers:"Prikazate brojeve pitanja",questionTitleTemplate:"Predložak naslova pitanja, zadano je: '{no}. {require} {title}'",questionErrorLocation:"Mjesto pogreške u pitanju",focusFirstQuestionAutomatic:"Usredotočite prvo pitanje na promjenu stranice",questionsOrder:"Redoslijed elemenata na stranici",maxTimeToFinish:"Maksimalno vrijeme za dovršaje ankete",maxTimeToFinishPage:"Maksimalno vrijeme za dovršanje stranice u anketi",showTimerPanel:"Pokaži ploču timera",showTimerPanelMode:"Prikazate način rada timer panela",renderMode:"Način prikaza",allowAddPanel:"Dopustite dodavanje ploče",allowRemovePanel:"Dopustite uklanjanje ploče",panelAddText:"Dodavanje teksta panela",panelRemoveText:"Removing panel text",isSinglePage:"Uklanjanje teksta ploče",html:"Html",expression:"Izraz",minValue:"Minimalna vrijednost",maxValue:"Maksimalna vrijednost",minLength:"Minimalna duljina",allowDigits:"Dopustite znamenke",minCount:"Minimalno brojanje",maxCount:"Maksimalni broj",regex:"Redoviti izraz",totalText:"Ukupan tekst",totalType:"Ukupna vrsta",totalExpression:"Ukupni izraz",totalDisplayStyle:"Ukupan stil prikaza",totalCurrency:"Ukupna valuta",totalFormat:"Ukupan format",logoPosition:"Položaj logotipa",addLogo:"Dodavanje logotipa...",changeLogo:"Promjena logotipa...",logoPositions:{none:"Uklanjanje logotipa",left:"Lijevo",right:"Desno",top:"Na vrhu",bottom:"Na dnu"},tabs:{general:"Općenito",fileOptions:"Mogućnosti",html:"Html Editor",columns:"Stupce",rows:"Redaka",choices:"Izbora",items:"Stavke",visibleIf:"Vidljivo ako",enableIf:"Omogući ako",requiredIf:"Potrebno ako",rateValues:"Vrijednosti cijena",choicesByUrl:"Izbori s weba",matrixChoices:"Zadani izbori",multipleTextItems:"Unosi teksta",numbering:"Numeriranje",validators:"Validatori",navigation:"Navigacija",question:"Pitanje",pages:"Stranice",completedHtml:"Završio Html",completedHtmlOnCondition:"Završeno Html pod uvjetom",loadingHtml:"Učitavanje Html",timer:"Timer/Kviz",calculatedValues:"Izračunate vrijednosti",triggers:"Aktivira",templateTitle:"Naslov predloška",totals:"Zbrojeve",logic:"Logika",layout:"Izgled",data:"Podataka",validation:"Provjera valjanosti",cells:"Ćelije",showOnCompleted:"Prikazuje se na dovršenom",logo:"Logotip u naslovu ankete",slider:"Klizač",others:"Drugi"},editProperty:"Uređivanje objekta '{0}'",items:"[ Stavke: {0} ]",enterNewValue:"Unesite vrijednost.",noquestions:"U anketi nema nikakvog pitanja.",createtrigger:"Izradite okidač",titleKeyboardAdornerTip:"Pritisnite gumb za unos za uređivanje",keyboardAdornerTip:"Pritisnite gumb enter za uređivanje stavke, pritisnite gumb za brisanje stavke, pritisnite alt plus strelica prema gore ili strelica prema dolje za pomicanje stavke.",triggerOn:"Na ",triggerMakePagesVisible:"Učinite stranice vidljivima:",triggerMakeQuestionsVisible:"Učinite elemente vidljivima:",triggerCompleteText:"Dovršite anketu ako uspijete.",triggerNotSet:"Okidač nije postavljen",triggerRunIf:"Trčanje ako",triggerSetToName:"Promjena vrijednosti: ",triggerFromName:"Vrijednost kopiranja iz: ",triggerRunExpression:"Postisni ovaj izraz:",triggerSetValue:"za: ",triggerGotoName:"Idi na pitanje:",triggerIsVariable:"Ne stavljajte varijablu u rezultat ankete.",triggerRunExpressionEmpty:"Unesite valjani izraz",noFile:"Nema odabira datoteke"},pv:{true:"istina",false:"lažne",inherit:"naslijediti",show:"pokazati",hide:"sakrij",default:"zadani",initial:"početni",random:"slučajan",collapsed:"srušio",expanded:"proširio",none:"nitko",asc:"uzlazno",desc:"silazno",indeterminate:"neodređeno",decimal:"decimalna",currency:"valute",percent:"posto",firstExpanded:"firstExpanded",off:"isključeno",onPanel:"onPanel",onSurvey:"onSurvey",list:"popis",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"oba",left:"lijevo",color:"boja",date:"datum",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",anyof:"any of",allof:"all of",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals",and:"and",or:"or"},ew:{angular:"Koristite kutnu verziju",jquery:"Koristite jQuery verziju",knockout:"Korištenje nokaut verzije",react:"Korištenje verzije React",vue:"Koristite Vue verziju",bootstrap:"Za bootstrap okvir",modern:"Moderna tema",default:"Zadana tema",orange:"Narančasta tema",darkblue:"Darkblue tema",darkrose:"Darkrose tema",stone:"Kamena tema",winter:"Zimska tema",winterstone:"Tema Zimsko-kamen",showOnPage:"Pokažite anketu na stranici",showInWindow:"Pokažite anketu u prozoru",loadFromServer:"Učitavanje Survey JSON s poslužitelja",titleScript:"Skripte i stilovi",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Odaberite stranicu da biste je testirali:",showInvisibleElements:"Pokaži nevidljive elemente"},validators:{answercountvalidator:"broj odgovora",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"potpuna anketa",setvaluetrigger:"postavljena vrijednost",copyvaluetrigger:"vrijednost kopiranja",skiptrigger:"preskočiti na pitanje",runexpressiontrigger:"pokrenuti izraz",visibletrigger:"promjena vidljivosti (amortizirati)"},pehelp:{},p:{name:"name",title:{name:"title",title:"Ostavite prazno, ako je isto kao 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.hr=r},"./src/localization/danish.ts":
|
|
344
|
+
/*! exports provided: hrStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"hrStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Uređivanje",externalHelpLink:"Gledajte i saznajte kako stvoriti ankete",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Molimo ispustite pitanje ovdje iz Toolbox.",addLogicItem:"Izradite pravilo za prilagodbu tijeka ankete.",copy:"Kopirati",duplicate:"Duplikata",addToToolbox:"Dodaj u Toolbox",deletePanel:"Brisanje ploče",deleteQuestion:"Izbriši pitanje",convertTo:"Pretvorite u",drag:"Povucite element"},qt:{default:"Zadani",checkbox:"Ček",comment:"Komentar",imagepicker:"Berač slika",image:"Slike",dropdown:"Padajući",file:"Datoteku",html:"Html",matrix:"Matrica (jedan izbor)",matrixdropdown:"Matrica (višestruki izbor)",matrixdynamic:"Matrica (dinamički redovi)",multipletext:"Više teksta",panel:"Ploča",paneldynamic:"Ploča (dinamički paneli)",radiogroup:"Radiogrupa",rating:"Ocjena",text:"Jedan ulaz",boolean:"Booleova",expression:"Izraz (samo za čitanje)",signaturepad:"Jastučić za potpis",flowpanel:"Ploča protoka"},ed:{defaultLocale:"Zadani ({0})",survey:"Anketa",settings:"Postavke ankete",settingsTooltip:"Otvaranje postavki ankete",showPanel:"Pokaži ploču",hidePanel:"Sakrij ploču",addNewPage:"Dodavanje nove stranice",moveRight:"Pomicanje udesno",moveLeft:"Pomicanje ulijevo",deletePage:"Brisanje stranice",editPage:"Uređivanje stranice",edit:"Uređivanje",newPageName:"stranica",newQuestionName:"pitanje",newPanelName:"ploča",newTextItemName:"tekst",testSurvey:"Ispitna anketa",testSurveyAgain:"Ponovno probna anketa",testSurveyWidth:"Širina ankete: ",navigateToMsg:"Morao si navigirati do:",logic:"Logika ankete",embedSurvey:"Ugrađena anketa",translation:"Prijevod",saveSurvey:"Spremi anketu",saveSurveyTooltip:"Spremi anketu",designer:"Dizajner ankete",jsonEditor:"JSON urednik",undo:"Poništiti",redo:"Ponoviti",undoTooltip:"Poništi posljednju promjenu",redoTooltip:"Preusmjeti promjenu",copy:"Kopirati",cut:"Izrezati",paste:"Zalijepite",copyTooltip:"Kopiranje odabira u međuspremnik",cutTooltip:"Izrežite odabir na međuspremnik",pasteTooltip:"Pasta iz međuspremnika",options:"Mogućnosti",generateValidJSON:"Generiranje valjanog JSON",generateReadableJSON:"Generiranje čitljivog JSON",toolbox:"Alatni okvir","property-grid":"Svojstva",toolboxGeneralCategory:"Općenito",correctJSON:"Ispravite JSON.",surveyResults:"Rezultat ankete: ",surveyResultsTable:"Kao tablica",surveyResultsJson:"Kao JSON",resultsTitle:"Naslov pitanja",resultsName:"Naziv pitanja",resultsValue:"Vrijednost odgovora",resultsDisplayValue:"Vrijednost prikaza",modified:"Izmjena",saving:"Spremanje",saved:"Spremiti",propertyEditorError:"Pogreška:",saveError:"Pogreška! Sadržaj urednika nije spremljen.",translationAddLanguage:"Odaberite jezik za prevođenje",translationShowAllStrings:"Pokažite sve žice",translationShowAllPages:"Pokažite sve stranice",translationNoStrings:"Nema žica za prevođenje. Promijenite filtar.",translationExportToSCVButton:"Izvoz u CSV",translationImportFromSCVButton:"Uvoz iz CSV",translationMergeLocaleWithDefault:"Spajanje {0} sa zadanim lokalomwith default locale.",bold:"podebljano",italic:"kurziv",underline:"podcrtavanje",fpAddQuestion:"Dodaj pitanje...",selectPage:"Odaberite stranicu...",chooseElement:"Odaberite element...",lg:{page_visibilityName:"Vidljivost stranice",panel_visibilityName:"Vidljivost panela",panel_enableName:"Omogući/onemogući panel",question_visibilityName:"Vidljivost pitanja",question_enableName:"Pitanje omogućuje/onesposobljava",question_requireName:"Pitanje nije obavezno",trigger_completeName:"Potpuna anketa",trigger_setvalueName:"Postavite vrijednost pitanja",trigger_copyvalueName:"Kopiranje vrijednosti pitanja",trigger_skipName:"Prijeđite na pitanje",trigger_runExpressionName:"Pokretanje prilagođenog izraza",completedHtmlOnConditionName:"Prilagođeni 'Thank you page' tekst",page_visibilityDescription:"Učinite stranicu vidljivom kada se logička ekspresija vrati istinitom. Inače neka bude nevidljivo.",panel_visibilityDescription:"Učinite ploču vidljivom kada se logička ekspresija vrati istinitom. Inače ga držati nevidljivim.",panel_enableDescription:"Učinite ploču i sve elemente unutar nje omogućite kada se logička ekspresija vrati istinita. Inače ih držite onesposobljenima.",question_visibilityDescription:"Učinite pitanje vidljivim kada se logička ekspresija vrati istinita. Inače ga držati nevidljivim.",question_enableDescription:"Omogućite pitanje kada se logička ekspresija vrati istinita. Inače ga držati onemogućen.",question_requireDescription:"Pitanje postaje potrebno kada se logička ekspresija vrati istinita.",trigger_completeDescription:"Kada se logička ekspresija vrati istinita, anketa postaje dovršena i krajnji korisnik vidi 'Thank you page'.",trigger_setvalueDescription:"Kada se vrijednosti pitanja, koje se koriste u logičkom izrazu, mijenjaju i logička ekspresija se vraća istinita, tada se vrijednost postavlja na odabrano pitanje.",trigger_copyvalueDescription:"Kada se vrijednosti pitanja, koje se koriste u logičkoj ekspresiji, mijenjaju i logička ekspresija se vraća istinita, tada se vrijednost jednog odabranog pitanja kopira na drugo odabrano pitanje.",trigger_skipDescription:"Kada se logička ekspresija vrati istinita, anketa preskače na / fokusira odabrano pitanje.",trigger_runExpressionDescription:"Kada se logička ekspresija vrati istinita, tada se izvodi prilagođeni izraz. Taj rezultat izraza možete neobavezno postaviti u odabrano pitanje.",completedHtmlOnConditionDescription:"Ako se logička ekspresija vrati istinita, zadani tekst za 'Thank you page' mijenja se u zadani.",itemExpressionText:"Kada se izraz '{0}' vrati istinit",page_visibilityText:"Učinite stranicu {0} vidljivom",panel_visibilityText:"Učinite ploču {0} vidljivom",panel_enableText:"Omogući panel x {0}",question_visibilityText:"Učinite pitanje {0} vidljivim",question_enableText:"Omogući pitanje {0}",question_requireText:"Neka pitanje {0} bude potrebno",trigger_completeText:"Anketa se dovrša",trigger_setvalueText:"Postavljeno u pitanje: {0} vrijednost {1}",trigger_copyvalueText:"Kopirajte u pitanje: {0} vrijednost od pitanja {1}",trigger_skipText:"Anketa preskače na pitanje {0}",trigger_runExpressionText1:"Pokretanje izraza: '{0}'",trigger_runExpressionText2:" i dovela u pitanje svoj rezultat: {0}",completedHtmlOnConditionText:"Prikazati prilagođeni tekst za 'Thank you page'.",conditions:"Stanje/Stanja",actions:"Akcije",expressionEditorTitle:"Definiranje uvjeta",actionsEditorTitle:"Definiranje radnji",deleteAction:"Brisanje radnje",addNewAction:"Dodavanje nove akcije",selectedActionCaption:"Odaberite radnju za dodavanje...",expressionInvalid:"Logička ekspresija je prazna ili nevažeća. Molim vas, ispravite to.",noActionError:"Molim vas, dodajte barem jednu akciju.",actionInvalid:"Molimo vas da riješite probleme u svojoj akciji.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Primijeniti",ok:"OK",save:"Spremiti",saveTooltip:"Spremiti",cancel:"Otkazati",reset:"Resetirati",refresh:"Osvježi",delete:"Izbrisati",add:"Dodati",addNew:"Dodaj novo",addItem:"Kliknite da biste dodali stavku...",addOther:"Drugih",addSelectAll:"Odaberite sve",addNone:"Nitko",removeAll:"Uklonite sve",edit:"Uređivanje",back:"Povratak bez uštede",backTooltip:"Povratak bez uštede",saveAndBack:"Spremanje i vraćanje",saveAndBackTooltip:"Spremanje i vraćanje",editChoices:"Uređivanje izbora",showChoices:"Pokažite izbore",move:"Premjestiti",empty:"<empty>",fastEntry:"Brzi unos",formEntry:"Unos obrasca",testService:"Testirajte uslugu",itemSelectorEmpty:"Odaberite element",conditionActionEmpty:"Odaberite radnju",conditionSelectQuestion:"Odaberite pitanje...",conditionSelectPage:"Odaberite stranicu...",conditionSelectPanel:"Odabir ploče...",conditionValueQuestionTitle:"Unesite/odaberite vrijednost",expressionHelp:"Možete koristiti kovrčave nosače kako biste dobili pristup vrijednostima pitanja: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). Funkcije možete koristiti kao: iif(), today(), age(), min(), max(), count(), avg() and others.",aceEditorHelp:"Pritisnite ctrl + prostor kako biste dobili savjet o završetku ekspresije",aceEditorRowTitle:"Trenutni redk",aceEditorPanelTitle:"Trenutna ploča",showMore:"Više detalja potražite u dokumentaciji",assistantTitle:"Dostupna pitanja:",cellsEmptyRowsColumns:"Trebao bi postojati barem jedan stupac ili red",propertyIsEmpty:"Unesite vrijednost",propertyIsNoUnique:"Unesite jedinstvenu vrijednost",propertyNameIsNotUnique:"Unesite jedinstveno ime",listIsEmpty:"Dodavanje nove stavke",expressionIsEmpty:"Izraz je prazan",value:"Vrijednost",text:"tekst",rowid:"ID redaka",imageLink:"Veza slike",columnEdit:"Uređivanje stupca: {0}",itemEdit:"Uređivanje stavke: {0}",url:"Url",path:"Put",valueName:"Naziv vrijednosti",titleName:"Naziv naslova",titlePlaceholder:"Ulazni naslov ovdje",surveyTitlePlaceholder:"Naslov ulazne ankete ovdje",pageTitlePlaceholder:"Naslov ulazne stranice ovdje",descriptionPlaceholder:"Unesite opis",surveyDescriptionPlaceholder:"Unesite opis ankete",pageDescriptionPlaceholder:"Unesite opis stranice",hasOther:"Ima i drugu stavku",otherText:"Tekst druge stavke",hasNone:"Nema stavku",noneText:"Nijedan tekst stavke",hasSelectAll:"Sadrži odaberite sve stavke",selectAllText:"Odaberite sve stavke tekst",choicesMin:"Minimalna vrijednost za automatski generirane stavke",choicesMax:"Maksimalna vrijednost za automatski generirane stavke",choicesStep:"Razlika između automatski generiranih stavki",name:"Ime",title:"Naslov",cellType:"Vrsta ćelije",colCount:"Broj stupaca",choicesOrder:"Odaberite redoslijed izbora",visible:"Je li vidljivo?",isRequired:"Je potrebno?",isAllRowRequired:"Zahtijevati odgovor za sve redove",requiredErrorText:"Potreban tekst pogreške",startWithNewLine:"Počinje li s novom linijom?",rows:"Broj redaka",cols:"Broj stupaca",placeHolder:"Držač ulaznog mjesta",showPreview:"Prikaz područja pretpregleda",storeDataAsText:"Pohranite sadržaj datoteke u rezultat JSON kao tekst",maxSize:"Maksimalna veličina datoteke u bytes",imageHeight:"Visina slike",imageWidth:"Širina slike",rowCount:"Broj redaka",columnLayout:"Raspored stupaca",addRowLocation:"Dodavanje lokacije gumba redaka",addRowText:"Dodavanje teksta gumba redak",removeRowText:"Uklanjanje teksta gumba redaka",rateMin:"Minimalna stopa",rateMax:"Maksimalna stopa",rateStep:"Korak stope",minRateDescription:"Opis minimalne stope",maxRateDescription:"Opis maksimalne stope",inputType:"Vrsta unosa",optionsCaption:"Opis opcija",defaultValue:"Zadana vrijednost",cellsDefaultRow:"Zadani tekstovi ćelija",surveyEditorTitle:"Uređivanje postavki ankete",qEditorTitle:"Uređivanje: {0}",maxLength:"Maksimalna duljina",buildExpression:"Graditi",editExpression:"Uređivanje",and:"I",or:"Ili",remove:"Ukloniti",addCondition:"Dodavanje stanja",showTitle:"Pokaži/sakrij naslov",expandCollapseTitle:"Naslov proširenja/kolapsa",locale:"Zadani jezik",simulator:"Odaberite uređaj",landscapeOrientation:"Krajolik",mode:"Način rada (samo uređivanje/čitanje)",clearInvisibleValues:"Jasne nevidljive vrijednosti",cookieName:"Naziv kolačića (onemogućiti anketu dva puta lokalno)",sendResultOnPageNext:"Pošaljite rezultate ankete na sljedeću stranicu",storeOthersAsComment:"Pohranite vrijednost 'others' u zasebnom polju",showPageTitles:"Prikazate naslove stranica",showPageNumbers:"Prikazate brojeve stranica",pagePrevText:"Tekst prethodnog gumba stranice",pageNextText:"Tekst sljedećeg gumba stranice",completeText:"Complete button text",previewText:"Tekst gumba za pretpregled",editText:"Uređivanje teksta gumba",startSurveyText:"Tekst gumba za pokretanje",showNavigationButtons:"Prikakanje navigacijskih tipki (zadana navigacija)",showPrevButton:"Prikagnite prethodni gumb (korisnik se može vratiti na prethodnu stranicu)",firstPageIsStarted:"Prva stranica u anketi je početna stranica.",showCompletedPage:"Prikagušite dovršenu stranicu na kraju (completedHtml)",goNextPageAutomatic:"Kada odgovarate na sva pitanja, idite automatski na sljedeću stranicu",showProgressBar:"Pokaži traku napretka",questionTitleLocation:"Lokacija naslova pitanja",requiredText:"Pitanje je zahtijevalo simbole",questionStartIndex:"Indeks pokretanja pitanja (1, 2 ili 'A', 'a')",showQuestionNumbers:"Prikazate brojeve pitanja",questionTitleTemplate:"Predložak naslova pitanja, zadano je: '{no}. {require} {title}'",questionErrorLocation:"Mjesto pogreške u pitanju",focusFirstQuestionAutomatic:"Usredotočite prvo pitanje na promjenu stranice",questionsOrder:"Redoslijed elemenata na stranici",maxTimeToFinish:"Maksimalno vrijeme za dovršaje ankete",maxTimeToFinishPage:"Maksimalno vrijeme za dovršanje stranice u anketi",showTimerPanel:"Pokaži ploču timera",showTimerPanelMode:"Prikazate način rada timer panela",renderMode:"Način prikaza",allowAddPanel:"Dopustite dodavanje ploče",allowRemovePanel:"Dopustite uklanjanje ploče",panelAddText:"Dodavanje teksta panela",panelRemoveText:"Removing panel text",isSinglePage:"Uklanjanje teksta ploče",html:"Html",expression:"Izraz",minValue:"Minimalna vrijednost",maxValue:"Maksimalna vrijednost",minLength:"Minimalna duljina",allowDigits:"Dopustite znamenke",minCount:"Minimalno brojanje",maxCount:"Maksimalni broj",regex:"Redoviti izraz",totalText:"Ukupan tekst",totalType:"Ukupna vrsta",totalExpression:"Ukupni izraz",totalDisplayStyle:"Ukupan stil prikaza",totalCurrency:"Ukupna valuta",totalFormat:"Ukupan format",logoPosition:"Položaj logotipa",addLogo:"Dodavanje logotipa...",changeLogo:"Promjena logotipa...",logoPositions:{none:"Uklanjanje logotipa",left:"Lijevo",right:"Desno",top:"Na vrhu",bottom:"Na dnu"},tabs:{general:"Općenito",fileOptions:"Mogućnosti",html:"Html Editor",columns:"Stupce",rows:"Redaka",choices:"Izbora",items:"Stavke",visibleIf:"Vidljivo ako",enableIf:"Omogući ako",requiredIf:"Potrebno ako",rateValues:"Vrijednosti cijena",choicesByUrl:"Izbori s weba",matrixChoices:"Zadani izbori",multipleTextItems:"Unosi teksta",numbering:"Numeriranje",validators:"Validatori",navigation:"Navigacija",question:"Pitanje",pages:"Stranice",completedHtml:"Završio Html",completedHtmlOnCondition:"Završeno Html pod uvjetom",loadingHtml:"Učitavanje Html",timer:"Timer/Kviz",calculatedValues:"Izračunate vrijednosti",triggers:"Aktivira",templateTitle:"Naslov predloška",totals:"Zbrojeve",logic:"Logika",layout:"Izgled",data:"Podataka",validation:"Provjera valjanosti",cells:"Ćelije",showOnCompleted:"Prikazuje se na dovršenom",logo:"Logotip u naslovu ankete",slider:"Klizač",others:"Drugi"},editProperty:"Uređivanje objekta '{0}'",items:"[ Stavke: {0} ]",enterNewValue:"Unesite vrijednost.",noquestions:"U anketi nema nikakvog pitanja.",createtrigger:"Izradite okidač",titleKeyboardAdornerTip:"Pritisnite gumb za unos za uređivanje",keyboardAdornerTip:"Pritisnite gumb enter za uređivanje stavke, pritisnite gumb za brisanje stavke, pritisnite alt plus strelica prema gore ili strelica prema dolje za pomicanje stavke.",triggerOn:"Na ",triggerMakePagesVisible:"Učinite stranice vidljivima:",triggerMakeQuestionsVisible:"Učinite elemente vidljivima:",triggerCompleteText:"Dovršite anketu ako uspijete.",triggerNotSet:"Okidač nije postavljen",triggerRunIf:"Trčanje ako",triggerSetToName:"Promjena vrijednosti: ",triggerFromName:"Vrijednost kopiranja iz: ",triggerRunExpression:"Postisni ovaj izraz:",triggerSetValue:"za: ",triggerGotoName:"Idi na pitanje:",triggerIsVariable:"Ne stavljajte varijablu u rezultat ankete.",triggerRunExpressionEmpty:"Unesite valjani izraz",noFile:"Nema odabira datoteke"},pv:{true:"istina",false:"lažne",inherit:"naslijediti",show:"pokazati",hide:"sakrij",default:"zadani",initial:"početni",random:"slučajan",collapsed:"srušio",expanded:"proširio",none:"nitko",asc:"uzlazno",desc:"silazno",indeterminate:"neodređeno",decimal:"decimalna",currency:"valute",percent:"posto",firstExpanded:"firstExpanded",off:"isključeno",onPanel:"onPanel",onSurvey:"onSurvey",list:"popis",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"oba",left:"lijevo",color:"boja",date:"datum",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",anyof:"any of",allof:"all of",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals",and:"and",or:"or"},ew:{angular:"Koristite kutnu verziju",jquery:"Koristite jQuery verziju",knockout:"Korištenje nokaut verzije",react:"Korištenje verzije React",vue:"Koristite Vue verziju",bootstrap:"Za bootstrap okvir",modern:"Moderna tema",default:"Zadana tema",orange:"Narančasta tema",darkblue:"Darkblue tema",darkrose:"Darkrose tema",stone:"Kamena tema",winter:"Zimska tema",winterstone:"Tema Zimsko-kamen",showOnPage:"Pokažite anketu na stranici",showInWindow:"Pokažite anketu u prozoru",loadFromServer:"Učitavanje Survey JSON s poslužitelja",titleScript:"Skripte i stilovi",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Odaberite stranicu da biste je testirali:",showInvisibleElements:"Pokaži nevidljive elemente"},validators:{answercountvalidator:"broj odgovora",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"potpuna anketa",setvaluetrigger:"postavljena vrijednost",copyvaluetrigger:"vrijednost kopiranja",skiptrigger:"preskočiti na pitanje",runexpressiontrigger:"pokrenuti izraz",visibletrigger:"promjena vidljivosti (amortizirati)"},pehelp:{},p:{name:"name",title:{name:"title",title:"Ostavite prazno, ako je isto kao 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.hr=r},"./src/localization/danish.ts":
|
|
345
345
|
/*!************************************!*\
|
|
346
346
|
!*** ./src/localization/danish.ts ***!
|
|
347
347
|
\************************************/
|
|
@@ -349,15 +349,15 @@ License: MIT
|
|
|
349
349
|
/*!***********************************!*\
|
|
350
350
|
!*** ./src/localization/dutch.ts ***!
|
|
351
351
|
\***********************************/
|
|
352
|
-
/*! exports provided: nlStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"nlStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Bewerk",externalHelpLink:"Bekijk en leer hoe u enquêtes maakt",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Stel hier een vraag vanuit de Toolbox.",addLogicItem:"Maak een regel om de stroom van de enquête aan te passen.",copy:"Kopiëren",addToToolbox:"Toevoegen aan toolbox",deletePanel:"Paneel verwijderen",deleteQuestion:"Vraag verwijderen",convertTo:"Omzetten naar",drag:"Sleep element"},qt:{default:"Standaard",checkbox:"Selectievakje",comment:"Commentaar",imagepicker:"Afbeelingsvraag",image:"Afbeelding",dropdown:"Keuzelijst",file:"Bestandsupload",html:"Html",matrix:"Matrix (enkele keuze)",matrixdropdown:"Matrix (meerkeuze)",matrixdynamic:"Matrix (dynamische rijen)",multipletext:"Meervoudige tekstvak",panel:"Paneel",paneldynamic:"Paneel (dynamische panelen)",radiogroup:"Meerkeuzevraag",rating:"Beoordeling",text:"Tekstvak",boolean:"Boolean",expression:"Berekening",signaturepad:"Handtekening",flowpanel:"Stroompaneel"},ed:{defaultLocale:"Standaard ({0})",survey:"Enquête",settings:"Enquête-instellingen",settingsTooltip:"Open enquête-instellingen",showPanel:"Toon paneel",hidePanel:"Verberg paneel",addNewPage:"Pagina toevoegen",moveRight:"Scroll naar rechts",moveLeft:"Scroll naar links",deletePage:"Pagina verwijderen",editPage:"Pagina aanpassen",edit:"Bewerk",newPageName:"Pagina",newQuestionName:"Vraag",newPanelName:"Paneel",newTextItemName:"Tekst",testSurvey:"Test de enquête",testSurveyAgain:"Test de enquête opnieuw",testSurveyWidth:"Onderzoeksbreedte: ",navigateToMsg:"Je moest navigeren naar:",logic:"Onderzoekslogica",embedSurvey:"Enquête insluiten",translation:"Vertaling",saveSurvey:"Enquête opslaan",saveSurveyTooltip:"Enquête opslaan",designer:"Enquête-ontwerper",jsonEditor:"JSON-editor",undo:"Ongedaan maken",redo:"Opnieuw uitvoeren",undoTooltip:"Maak de laatste wijziging ongedaan",redoTooltip:"Voer de wijziging opnieuw uit",copy:"Kopiëren",cut:"Besnoeiing",paste:"Plakken",copyTooltip:"Kopieer selectie naar klembord",cutTooltip:"Knip de selectie naar het klembord",pasteTooltip:"Plakken vanaf klembord",options:"Opties",generateValidJSON:"Genereer geldige JSON",generateReadableJSON:"Genereer leesbare JSON",toolbox:"Gereedschap","property-grid":"Eigenschappen",toolboxGeneralCategory:"Algemeen",correctJSON:"Corrigeer JSON.",surveyResults:"Enquêteresultaat: ",surveyResultsTable:"Als tafel",surveyResultsJson:"Als JSON",resultsTitle:"Vraag titel",resultsName:"Vraag naam",resultsValue:"Antwoordwaarde",resultsDisplayValue:"Waarde weergeven",modified:"Gewijzigd",saving:"Besparing",saved:"Opgeslagen",propertyEditorError:"Fout:",saveError:"Fout! De inhoud van de editor wordt niet opgeslagen.",translationAddLanguage:"Selecteer de taal om te vertalen",translationShowAllStrings:"Toon alle snaren",translationShowAllPages:"Toon alle paginas",translationNoStrings:"Geen verplichtingen om te vertalen. Vervang alstublieft het filter.",translationExportToSCVButton:"Exporteren naar CSV",translationImportFromSCVButton:"Importeren vanuit CSV",translationMergeLocaleWithDefault:"Voeg {0} samen met de standaardlandinstelling",bold:"Vetgedrukt",italic:"Cursief",underline:"Onderstrepen",fpAddQuestion:"Vraag toevoegen...",selectPage:"Selecteer pagina...",chooseElement:"Kies element...",lg:{addNewItem:"",page_visibilityName:"Pagina zichtbaarheid",panel_visibilityName:"Paneel zichtbaarheid",panel_enableName:"Paneel inschakelen/uitschakelen",question_visibilityName:"Vraag zichtbaarheid",question_enableName:"Vraag inschakelen/uitschakelen",question_requireName:"Vraag optioneel vereist",trigger_completeName:"Volledige enquête",trigger_setvalueName:"Stel vraagwaarde in",trigger_copyvalueName:"Kopieer de vraagwaarde",trigger_skipName:"Ga naar de vraag",trigger_runExpressionName:"Voer een aangepaste expressie uit",completedHtmlOnConditionName:"Aangepaste 'Bedanktpagina'-tekst",page_visibilityDescription:"Maak de pagina zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",panel_visibilityDescription:"Maak het paneel zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",panel_enableDescription:"Zorg ervoor dat het paneel en alle elementen erin worden ingeschakeld wanneer de logische uitdrukking true retourneert. Houd ze anders uitgeschakeld.",question_visibilityDescription:"Maak de vraag zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",question_enableDescription:"Schakel de vraag in wanneer de logische uitdrukking true retourneert. Houd het anders uitgeschakeld.",question_requireDescription:"Vraag wordt vereist wanneer de logische uitdrukking true retourneert.",trigger_completeDescription:"Wanneer de logische uitdrukking true retourneert, wordt de enquête voltooid en ziet een eindgebruiker de 'Bedankpagina'.",trigger_setvalueDescription:"Wanneer vraagwaarden, die worden gebruikt in de logische uitdrukking, worden gewijzigd en de logische uitdrukking true retourneert, wordt de waarde ingesteld op de geselecteerde vraag.",trigger_copyvalueDescription:"Wanneer vraagwaarden, die worden gebruikt in de logische uitdrukking, worden gewijzigd en de logische uitdrukking true retourneert, wordt de waarde van een geselecteerde vraag gekopieerd naar een andere geselecteerde vraag.",trigger_skipDescription:"Als de logische uitdrukking true retourneert, gaat de enquête naar/focust de geselecteerde vraag.",trigger_runExpressionDescription:"Wanneer de logische expressie true retourneert, wordt de aangepaste expressie uitgevoerd. U kunt dit expressieresultaat optioneel instellen voor de geselecteerde vraag",completedHtmlOnConditionDescription:"Als de logische uitdrukking true retourneert, wordt de standaardtekst voor de 'Bedankpagina' gewijzigd in de opgegeven tekst.",itemExpressionText:"Wanneer expressie: '{0}' true retourneert:",page_visibilityText:"Maak pagina {0} zichtbaar",panel_visibilityText:"Maak paneel {0} zichtbaar",panel_enableText:"Schakel paneel {0} in",question_visibilityText:"Maak vraag {0} zichtbaar",question_enableText:"Schakel vraag {0} in",question_requireText:"Stel vraag {0} verplicht",trigger_completeText:"Enquête wordt voltooid",trigger_setvalueText:"Stel de vraag: {0} waarde {1}",trigger_copyvalueText:"Kopieer naar vraag: {0} waarde uit vraag {1}",trigger_skipText:"Enquête ga verder met de vraag {0}",trigger_runExpressionText1:"Uitdrukking uitvoeren: '{0}'",trigger_runExpressionText2:" en stel het resultaat in vraag: {0}",completedHtmlOnConditionText:"Toon aangepaste tekst voor de 'Bedankpagina'.",conditions:"Voorwaard(en)",actions:"Actie(s)",expressionEditorTitle:"Definieer conditie(s)",actionsEditorTitle:"Definieer actie(s)",deleteAction:"Actie verwijderen",addNewAction:"Voeg nieuwe actie toe",selectedActionCaption:"Selecteer een actie om toe te voegen...",expressionInvalid:"De logische uitdrukking is leeg of ongeldig. Verbeter dit alstublieft.",noActionError:"Voeg ten minste één actie toe.",actionInvalid:"Los problemen in uw actie(s) op.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Van toepassing zijn",ok:"OK",save:"Opslaan",saveTooltip:"Opslaan",cancel:"Annuleren",reset:"Resetten",refresh:"Opslaan",delete:"Verwijderen",add:"Toevoegen",addNew:"Nieuwe toevoegen",addItem:"Klik om een item toe te voegen...",addOther:"Andere",addSelectAll:"Selecteer alles",addNone:"Geen",removeAll:"Verwijder alles",edit:"Bewerk",back:"Keer terug zonder op te slaan",backTooltip:"Keer terug zonder op te slaan",saveAndBack:"Bewaar en keer terug",saveAndBackTooltip:"Bewaar en keer terug",editChoices:"Keuzes bewerken",showChoices:"Toon keuzes",move:"Bewegen",empty:"<leeg>",fastEntry:"Snelle toegang",formEntry:"Formulierinvoer",testService:"Test de service",itemSelectorEmpty:"Selecteer het element",conditionActionEmpty:"Selecteer de actie",conditionSelectQuestion:"Selecteer vraag...",conditionSelectPage:"Selecteer pagina...",conditionSelectPanel:"Selecteer paneel...",conditionValueQuestionTitle:"Voer/selecteer de waarde",expressionHelp:"U kunt accolades gebruiken om toegang te krijgen tot de vraagwaarden: {vraag1} + {vraag2}, ({prijs} * {aantal}) * (100 - {korting}). U kunt functies gebruiken als: iif(), today(), age(), min(), max(), count(), avg() en anderen.",aceEditorHelp:"Druk op Ctrl+spatiebalk om een hint voor het voltooien van een uitdrukking te krijgen",aceEditorRowTitle:"Huidige rij",aceEditorPanelTitle:"Huidig paneel",showMore:"Raadpleeg de documentatie voor meer details",assistantTitle:"Beschikbare vragen:",cellsEmptyRowsColumns:"Er moet minimaal één kolom of rij zijn",propertyIsEmpty:"Voer alstublieft een waarde in",propertyNameIsNotUnique:"Voer een unieke naam in",listIsEmpty:"Voeg een nieuw item toe",expressionIsEmpty:"Expressie is leeg",value:"Waarde",text:"Tekst",rowid:"Rij-ID",imageLink:"Afbeeldingslink",columnEdit:"Kolom bewerken: {0}",itemEdit:"Bewerk item: {0}",url:"URL",path:"Pad",valueName:"Waardenaam",titleName:"Titel",titlePlaceholder:"Voer hier de titel in",surveyTitlePlaceholder:"Voer de enquêtetitel hier in",pageTitlePlaceholder:"Voer hier de paginatitel in",descriptionPlaceholder:"Voer een omschrijving in",surveyDescriptionPlaceholder:"Voer een onderzoeksbeschrijving in",pageDescriptionPlaceholder:"Voer een paginabeschrijving in",hasOther:"Heeft de 'Anders:'-optie",otherText:"Titel 'Anders:'-optie",hasNone:"Heeft de 'Geen'-optie",noneText:"Titel 'Geen'-optie",hasSelectAll:"Heeft de 'Alles selecteren'-optie",selectAllText:"Titel 'Alles selecteren'-optie",allowEmptyResponse:"Leeg respons toestaan",choicesMin:"Minimumwaarde voor automatisch gegenereerde items",choicesMax:"Maximale waarde voor automatisch gegenereerde items",choicesStep:"Het verschil tussen automatisch gegenereerde items",name:"Naam",title:"Titel",cellType:"Celtype",colCount:"Kolom tellen",choicesOrder:"Volgorde opties",visible:"Is zichtbaar?",isRequired:"Is verplicht?",defaultValueExpression:"Expressie standaardwaarde",isAllRowRequired:"Antwoord vereisen voor alle rijen",requiredErrorText:"Tekst bij niet-ingevulde verplichte vraag",startWithNewLine:"Beginnen met een nieuwe regel?",rows:"Aantal rijen",cols:"Kolom tellen",placeHolder:"Hulptekst",showPreview:"Toon voorbeeldgebied",showPreviewBeforeComplete:"Voorbeeldweergave voor afronden",storeDataAsText:"Bewaar bestandsinhoud in JSON-resultaat als tekst",maxSize:"Maximale bestandsgrootte in bytes",imageHeight:"Afbeelding hoogte",imageWidth:"Afbeelding breedte",rowCount:"Aantal rijen",columnLayout:"Kolommen layout",addRowLocation:"Voeg de locatie van de rijknop toe",addRowText:"Voeg tekst van de rijknop toe",removeRowText:"Verwijder de tekst van de rijknop",rateMin:"Minimumtarief",rateMax:"Maximaal tarief",rateStep:"Beoordeel stap",minRateDescription:"Beschrijving minimumtarief",maxRateDescription:"Maximale tariefomschrijving",inputType:"Invoertype",optionsCaption:"Bijschrift opties",defaultValue:"Standaardwaarde",cellsDefaultRow:"Standaard celteksten",surveyEditorTitle:"Bewerk enquête-instellingen",qEditorTitle:"Bewerken: {0}",maxLength:"Maximale lengte",buildExpression:"Bouwen",editExpression:"Bewerk",and:"En",or:"Of",remove:"Verwijderen",addCondition:"Voorwaarde toevoegen",showTitle:"Titel weergeven/verbergen",expandCollapseTitle:"Titel uitvouwen/samenvouwen",locale:"Standaardtaal",simulator:"Kies apparaat",landscapeOrientation:"Landschap",mode:"Modus (bewerken/alleen lezen)",clearInvisibleValues:"Wis onzichtbare waarden",cookieName:"Cookienaam (zodat enquête slechts éénmalig wordt ingevuld)",sendResultOnPageNext:"Antwoorden opslaan bij pagina-overgang",storeOthersAsComment:"Sla de waarde van 'anderen' op in een apart veld",showPageTitles:"Toon paginatitels",showPageNumbers:"Toon paginanummers",pagePrevText:"Knoptitel 'Vorige pagina'",pageNextText:"Knoptitel 'Volgende pagina'",completeText:"Knoptitel 'Afronden'",previewText:"Knoptitel 'Voorbeeldweergave'",editText:"Knoptitel 'Bewerken'",startSurveyText:"Knoptitel 'Starten'",showNavigationButtons:"Navigatieknoppen weergeven (standaardnavigatie)",showPrevButton:"Toon knop 'Vorige pagina' (gebruiker kan terugkeren)",firstPageIsStarted:"De eerste pagina in de enquête is een startpagina",showCompletedPage:"Toon bij afronden deze HTML-code",goNextPageAutomatic:"Na alle vragen automatisch naar volgende pagina gaan",focusOnFirstError:"Focus op eerste fout zetten",showProgressBar:"Toon voortgangsbalk",questionTitleLocation:"Plek vraagtitel",questionTitlePattern:"Patroon vraagtitel",questionTitle:"Vraagtitel",requiredText:"Symbool(en) verplichte vraag",questionStartIndex:"Eerste vraag (1, 2 or 'A', 'a')",showQuestionNumbers:"Toon vraagnummers",textUpdateMode:"Modus tekstvernieuwing",questionTitleTemplate:"Vraagtitelsjabloon, standaard is: '{no}. {vereisen} {titel}'",questionErrorLocation:"Plek vraagfoutmelding",focusFirstQuestionAutomatic:"Op volgende pagina focus op de eerste vraag zetten",questionsOrder:"Volgorde elementen op pagina",maxTextLength:"Maximale tekstlengte",maxOthersLength:"Maximale tekstlengte optie 'Anders:'",maxTimeToFinish:"Maximale tijd om de enquête te voltooien",maxTimeToFinishPage:"Maximale tijd om een pagina in de enquête te voltooien",showTimerPanel:"Toon timerpaneel",showTimerPanelMode:"Modus timerpaneel",renderMode:"Render-modus",allowAddPanel:"Sta het toevoegen van een paneel toe",allowRemovePanel:"Laat het verwijderen van het paneel toe",panelAddText:"Paneeltekst toevoegen",panelRemoveText:"Paneeltekst verwijderen",isSinglePage:"Toon alle elementen op één pagina",html:"Html",expression:"Uitdrukking",minValue:"Minimale waarde",maxValue:"Maximale waarde",minLength:"Minimale lengte",allowDigits:"Cijfers toestaan",minCount:"Minimum aantal",maxCount:"Maximale telling",regex:"Reguliere expressie",totalText:"Totale tekst",totalType:"Totaal type",totalExpression:"Totale expressie",totalDisplayStyle:"Totale weergavestijl",totalCurrency:"Totale valuta",totalFormat:"Totaal formaat",logoPosition:"Positie logo",addLogo:"Logo toevoegen...",changeLogo:"Logo wijzigen...",logoWidth:"Breedte logo",logoHeight:"Hoogte logo",logoFit:"Passend maken logo",logoPositions:{none:"Logo verwijderen",left:"Links",right:"Rechtsaf",top:"Bovenop",bottom:"Onder aan"},tabs:{general:"Algemeen",fileOptions:"Opties",html:"Html-editor",columns:"Kolommen",rows:"Rijen",choices:"Keuzes",items:"Artikelen",visibleIf:"Zichtbaar als",enableIf:"Schakel If in",requiredIf:"Vereist als",rateValues:"Beoordeel waarden",choicesByUrl:"Keuzes van internet",matrixChoices:"Standaardkeuzes",multipleTextItems:"Tekstinvoer",numbering:"Nummering",validators:"Validators",navigation:"Navigatie",question:"Vraag",pages:"Pagina's",completedHtml:"HTML bij afronden",completedHtmlOnCondition:"Voltooide html op voorwaarde",loadingHtml:"Html laden",timer:"Timer/Quiz",calculatedValues:"Berekende waardes",triggers:"Triggers",templateTitle:"Sjabloontitel",totals:"Totalen",logic:"Logica",layout:"Indeling",data:"Gegevens",validation:"Validatie",cells:"Cellen",showOnCompleted:"Weergeven bij afronden",logo:"Logo in enquêtetitel",slider:"Schuifregelaar",others:"Anderen"},editProperty:"Eigenschap '{0}' bewerken",items:"[ Items: {0} ]",enterNewValue:"Voer de waarde in.",noquestions:"Er is geen enkele vraag in de enquête.",createtrigger:"Maak een trigger",titleKeyboardAdornerTip:"Druk op de enter-knop om te bewerken",keyboardAdornerTip:"Druk op de enter-knop om het item te bewerken, druk op de delete-knop om het item te verwijderen, druk op alt plus pijl omhoog of pijl omlaag om item te verplaatsen",triggerOn:"Aan ",triggerMakePagesVisible:"Maak pagina's zichtbaar:",triggerMakeQuestionsVisible:"Maak elementen zichtbaar:",triggerCompleteText:"Vul de enquête in als dit lukt.",triggerNotSet:"De trigger is niet ingesteld",triggerRunIf:"Voer als",triggerSetToName:"Verander waarde van: ",triggerFromName:"Waarde kopiëren van: ",triggerRunExpression:"Voer deze expressie uit:",triggerSetValue:"naar: ",triggerGotoName:"Ga naar de vraag:",triggerIsVariable:"Zet de variabele niet in het onderzoeksresultaat.",triggerRunExpressionEmpty:"Voer een geldige uitdrukking in",noFile:"Geen bestand gekozen"},pv:{true:"Waar",false:"False",inherit:"Erven",show:"Tonen",hide:"Zich verstoppen",default:"Standaard",initial:"Standaard",random:"Willekeurig",collapsed:"Ingestort",expanded:"Uitgebreid",none:"Geen",asc:"Oplopend",desc:"Aflopend",indeterminate:"Onbepaald",decimal:"Decimale",currency:"Valuta",percent:"Procent",firstExpanded:"Eerste uitgevouwen",off:"Uit",onPanel:"Op paneel",onSurvey:"Op enquête",list:"Lijst",progressTop:"Voortgang top",progressBottom:"Voortgang bodem",progressTopBottom:"Voortgang top bodem",horizontal:"Horizontaal",vertical:"Verticaal",top:"Top",bottom:"Beneden",topBottom:"Top en beneden",both:"Beide",left:"Links",right:"Rechts",color:"Kleur",date:"Datum",datetime:"Datum/tijd","datetime-local":"Datum/tijd lokaal",email:"E-mail",month:"Maand",number:"Nummer",password:"Wachtwoord",range:"Bereik",tel:"Tel",text:"Tekst",time:"Tijd",url:"URL",week:"Week",hidden:"Verborgen",on:"Aan",onPage:"Op pagina",underTitle:"Onder de titel",underInput:"Onder het invoerveld",edit:"Bewerk",display:"Scherm",onComplete:"Bij afronden",onHidden:"Bij verbergen",onBlur:"Bij verliezen focus",onTyping:"Tijdens het typen",all:"Alle",page:"Pagina",survey:"Enquête",onNextPage:"Bij pagina-overgang",onValueChanged:"Bij waardeverandering",singlePage:"Enkele pagina",standard:"Standaard",questionPerPage:"Vraag per pagina",noPreview:"Geen preview",showAllQuestions:"Toon voorbeeld met alle vragen",showAnsweredQuestions:"Toon voorbeeld met beantwoorde vragen",image:"Beeld",video:"Video",contain:"Inperken",cover:"Bedekken",fill:"Opvullen"},op:{empty:"is leeg",notempty:"is niet leeg",equal:"gelijk is",notequal:"niet gelijk",contains:"bevat",notcontains:"bevat niet",anyof:"een van",allof:"alles van",greater:"groter",less:"minder",greaterorequal:"groter of gelijk aan",lessorequal:"minder of gelijk aan",and:"en",or:"of"},ew:{angular:"Gebruik de Angular-versie",jquery:"Gebruik de jQuery-versie",knockout:"Gebruik de Knockout-versie",react:"Gebruik de React-versie",vue:"Gebruik de Vue-versie",bootstrap:"Voor bootstrap-framework",modern:"Modern thema",default:"Standaard thema",orange:"Oranje thema",darkblue:"Donkerblauw thema",darkrose:"Donkereroos thema",stone:"Stenen thema",winter:"Winter thema",winterstone:"Wintersteen thema",showOnPage:"Toon enquête op een pagina",showInWindow:"Toon enquête in een venster",loadFromServer:"Laad Survey JSON vanaf de server",titleScript:"Scripts en stijlen",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Selecteer de pagina om deze te testen:",showInvisibleElements:"Toon onzichtbare elementen"},validators:{answercountvalidator:"Aantal antwoorden",emailvalidator:"E-mail",expressionvalidator:"Uitdrukking",numericvalidator:"Numeriek",regexvalidator:"Regex",textvalidator:"Tekst"},triggers:{completetrigger:"Volledige enquête",setvaluetrigger:"Ingestelde waarde",copyvaluetrigger:"Kopie waarde",skiptrigger:"Ga naar de vraag",runexpressiontrigger:"Run expressie",visibletrigger:"Zichtbaarheid wijzigen (verouderd)"},p:{name:"Naam",title:{name:"Titel",title:"Laat het leeg als het hetzelfde is als 'Naam'"},navigationButtonsVisibility:"Navigatie Knoppen zichtbaarheid",questionsOrder:"Vragen volgorde",maxTimeToFinish:"Maximale tijd om te voltooien",visible:"Zichtbaar",visibleIf:"Zichtbaar als",questionTitleLocation:"Plek vraagtitel",questionDescriptionLocation:"Plek vraagomschrijving",description:"Omschrijving",state:"Staat",isRequired:"Is benodigd",requiredIf:"Vereist als",indent:"Inspringen",requiredErrorText:"Vereiste fouttekst",startWithNewLine:"Begin met nieuwe regel",innerIndent:"Innerlijke inspringing",page:"Pagina",width:"Breedte",commentText:"Commentaar tekst",valueName:"Waarde naam",enableIf:"Inschakelen als",defaultValue:"Standaardwaarde",correctAnswer:"Goed antwoord",readOnly:"Alleen-lezen",validators:"Validators",titleLocation:"Plek titel",descriptionLocation:"Plek omschrijving",minWidth:"Minimale breedte",maxWidth:"Maximale breedte",useDisplayValuesInTitle:"Waardes in titel gebruiken",hasComment:"Heeft commentaar",hasOther:"Heeft andere",choices:"Keuzes",choicesOrder:"Keuzes bestellen",choicesByUrl:"Keuzes per url",otherText:"Andere tekst",otherErrorText:"Andere fouttekst",storeOthersAsComment:"Sla anderen op als commentaar",label:"Etiket",showTitle:"Laat de titel zien",valueTrue:"Waarde waar",valueFalse:"Waarde false",cols:"Kolommen",rows:"Rijen",placeHolder:"Tijdelijke aanduiding",optionsCaption:"Bijschrift opties",expression:"Uitdrukking",format:"Formaat",displayStyle:"Weergavestijl",currency:"Valuta",useGrouping:"Gebruik groepering",showPreview:"Toon voorbeeld",allowMultiple:"Meerdere toestaan",imageHeight:"Afbeelding hoogte",imageWidth:"Afbeelding breedte",storeDataAsText:"Gegevens opslaan als tekst",maxSize:"Maximale grootte",html:"HTML",columns:"Kolommen",cells:"Cellen",isAllRowRequired:"Zijn alle rijen vereist",horizontalScroll:"Horizontale scroll",cellType:"Celtype",columnsLayout:"Kolommen layout",columnColCount:"Aantal kolommen",columnMinWidth:"Kolom min breedte",rowCount:"Rijen tellen",minRowCount:"Min rijen tellen",maxRowCount:"Max aantal rijen",keyName:"Sleutel naam",keyDuplicationError:"Key duplicatie fout",confirmDelete:"Bevestig verwijderen",confirmDeleteText:"Bevestigen verwijder tekst",addRowLocation:"Rijlocatie toevoegen",addRowText:"Rij tekst toevoegen",removeRowText:"Rij-tekst verwijderen",items:"Artikelen",itemSize:"Item grootte",colCount:"Kolommen tellen",templateTitle:"Sjabloontitel",templateDescription:"Sjabloonbeschrijving",allowAddPanel:"Toestaan om paneel toe te voegen",allowRemovePanel:"Laat het paneel verwijderen",panelCount:"Aantal panelen",minPanelCount:"Min paneel aantal",maxPanelCount:"Max aantal panelen",panelsState:"Panelen staat",panelAddText:"Paneel tekst toevoegen",panelRemoveText:"Paneel verwijder tekst",panelPrevText:"Paneel vorige tekst",panelNextText:"Paneel volgende tekst",showQuestionNumbers:"Toon vraagnummers",textUpdateMode:"Modus tekstvernieuwing",showRangeInProgress:"Toon lopende reeks",renderMode:"Render-modus",templateTitleLocation:"Sjabloon titel locatie",rateValues:"Tarief waarden",rateMin:"Tarief min",rateMax:"Tarief max",rateStep:"Tariefstap",minRateDescription:"Min tarief beschrijving",maxRateDescription:"Max tarief beschrijving",inputType:"Invoertype",size:"Grootte",locale:"Locale",focusFirstQuestionAutomatic:"Focus eerste vraag automatisch",completedHtml:"Voltooide html",completedBeforeHtml:"HTML bij tweede poging invullen",loadingHtml:"HTML te tonen bij opstarten",triggers:"Triggers",cookieName:"Cookie naam",sendResultOnPageNext:"Verzend resultaat op volgende pagina",showNavigationButtons:"Tonen navigatieknoppen",showPrevButton:"Toon vorige knop",showPageTitles:"Toon paginatitels",navigateToUrl:"Naar URL doorsturen",navigateToUrlOnCondition:"Conditie om naar URL door te sturen",completedHtmlOnCondition:"Conditie om HTML bij afronden te tonen",showCompletedPage:"Toon voltooide pagina",showPageNumbers:"Toon paginanummers",questionErrorLocation:"Vraag foutlocatie",showProgressBar:"Toon voortgangsbalk",progressBarType:"Type voortgangsbalk",questionsOnPageMode:"Vragen per pagina",mode:"Modus",goNextPageAutomatic:"Ga automatisch naar de volgende pagina",checkErrorsMode:"Modus foutcontrole",clearInvisibleValues:"Duidelijke onzichtbare waarden",startSurveyText:"Start enquêtetekst",pagePrevText:"Pagina vorige tekst",pageNextText:"Pagina volgende tekst",completeText:"Volledige tekst",requiredText:"Vereiste tekst",questionStartIndex:"Vraag start index",questionTitleTemplate:"Vraag titel sjabloon",firstPageIsStarted:"Eerste pagina is gestart",isSinglePage:"Is één pagina",maxTimeToFinishPage:"Maximale tijd om pagina te voltooien",showTimerPanel:"Toon timer paneel",showTimerPanelMode:"Toon timer paneelmodus",defaultPanelValue:"Standaard paneelwaarde",defaultRowValue:"Standaard rijwaarde",hasNone:"Heeft er geen",noneText:"Geen tekst",text:"Tekst"}};o.editorLocalization.locales.nl=r},"./src/localization/english.ts":
|
|
352
|
+
/*! exports provided: nlStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"nlStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Bewerk",externalHelpLink:"Bekijk en leer hoe u enquêtes maakt",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Stel hier een vraag vanuit de Toolbox.",addLogicItem:"Maak een regel om de stroom van de enquête aan te passen.",copy:"Kopiëren",addToToolbox:"Toevoegen aan toolbox",deletePanel:"Paneel verwijderen",deleteQuestion:"Vraag verwijderen",convertTo:"Omzetten naar",drag:"Sleep element"},qt:{default:"Standaard",checkbox:"Selectievakje",comment:"Commentaar",imagepicker:"Afbeelingsvraag",image:"Afbeelding",dropdown:"Keuzelijst",file:"Bestandsupload",html:"Html",matrix:"Matrix (enkele keuze)",matrixdropdown:"Matrix (meerkeuze)",matrixdynamic:"Matrix (dynamische rijen)",multipletext:"Meervoudige tekstvak",panel:"Paneel",paneldynamic:"Paneel (dynamische panelen)",radiogroup:"Meerkeuzevraag",rating:"Beoordeling",text:"Tekstvak",boolean:"Boolean",expression:"Berekening",signaturepad:"Handtekening",flowpanel:"Stroompaneel"},ed:{defaultLocale:"Standaard ({0})",survey:"Enquête",settings:"Enquête-instellingen",settingsTooltip:"Open enquête-instellingen",showPanel:"Toon paneel",hidePanel:"Verberg paneel",addNewPage:"Pagina toevoegen",moveRight:"Scroll naar rechts",moveLeft:"Scroll naar links",deletePage:"Pagina verwijderen",editPage:"Pagina aanpassen",edit:"Bewerk",newPageName:"Pagina",newQuestionName:"Vraag",newPanelName:"Paneel",newTextItemName:"Tekst",testSurvey:"Test de enquête",testSurveyAgain:"Test de enquête opnieuw",testSurveyWidth:"Onderzoeksbreedte: ",navigateToMsg:"Je moest navigeren naar:",logic:"Onderzoekslogica",embedSurvey:"Enquête insluiten",translation:"Vertaling",saveSurvey:"Enquête opslaan",saveSurveyTooltip:"Enquête opslaan",designer:"Enquête-ontwerper",jsonEditor:"JSON-editor",undo:"Ongedaan maken",redo:"Opnieuw uitvoeren",undoTooltip:"Maak de laatste wijziging ongedaan",redoTooltip:"Voer de wijziging opnieuw uit",copy:"Kopiëren",cut:"Besnoeiing",paste:"Plakken",copyTooltip:"Kopieer selectie naar klembord",cutTooltip:"Knip de selectie naar het klembord",pasteTooltip:"Plakken vanaf klembord",options:"Opties",generateValidJSON:"Genereer geldige JSON",generateReadableJSON:"Genereer leesbare JSON",toolbox:"Gereedschap","property-grid":"Eigenschappen",toolboxGeneralCategory:"Algemeen",correctJSON:"Corrigeer JSON.",surveyResults:"Enquêteresultaat: ",surveyResultsTable:"Als tafel",surveyResultsJson:"Als JSON",resultsTitle:"Vraag titel",resultsName:"Vraag naam",resultsValue:"Antwoordwaarde",resultsDisplayValue:"Waarde weergeven",modified:"Gewijzigd",saving:"Besparing",saved:"Opgeslagen",propertyEditorError:"Fout:",saveError:"Fout! De inhoud van de editor wordt niet opgeslagen.",translationAddLanguage:"Selecteer de taal om te vertalen",translationShowAllStrings:"Toon alle snaren",translationShowAllPages:"Toon alle paginas",translationNoStrings:"Geen verplichtingen om te vertalen. Vervang alstublieft het filter.",translationExportToSCVButton:"Exporteren naar CSV",translationImportFromSCVButton:"Importeren vanuit CSV",translationMergeLocaleWithDefault:"Voeg {0} samen met de standaardlandinstelling",bold:"Vetgedrukt",italic:"Cursief",underline:"Onderstrepen",fpAddQuestion:"Vraag toevoegen...",selectPage:"Selecteer pagina...",chooseElement:"Kies element...",lg:{page_visibilityName:"Pagina zichtbaarheid",panel_visibilityName:"Paneel zichtbaarheid",panel_enableName:"Paneel inschakelen/uitschakelen",question_visibilityName:"Vraag zichtbaarheid",question_enableName:"Vraag inschakelen/uitschakelen",question_requireName:"Vraag optioneel vereist",trigger_completeName:"Volledige enquête",trigger_setvalueName:"Stel vraagwaarde in",trigger_copyvalueName:"Kopieer de vraagwaarde",trigger_skipName:"Ga naar de vraag",trigger_runExpressionName:"Voer een aangepaste expressie uit",completedHtmlOnConditionName:"Aangepaste 'Bedanktpagina'-tekst",page_visibilityDescription:"Maak de pagina zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",panel_visibilityDescription:"Maak het paneel zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",panel_enableDescription:"Zorg ervoor dat het paneel en alle elementen erin worden ingeschakeld wanneer de logische uitdrukking true retourneert. Houd ze anders uitgeschakeld.",question_visibilityDescription:"Maak de vraag zichtbaar wanneer de logische uitdrukking true retourneert. Houd het anders onzichtbaar.",question_enableDescription:"Schakel de vraag in wanneer de logische uitdrukking true retourneert. Houd het anders uitgeschakeld.",question_requireDescription:"Vraag wordt vereist wanneer de logische uitdrukking true retourneert.",trigger_completeDescription:"Wanneer de logische uitdrukking true retourneert, wordt de enquête voltooid en ziet een eindgebruiker de 'Bedankpagina'.",trigger_setvalueDescription:"Wanneer vraagwaarden, die worden gebruikt in de logische uitdrukking, worden gewijzigd en de logische uitdrukking true retourneert, wordt de waarde ingesteld op de geselecteerde vraag.",trigger_copyvalueDescription:"Wanneer vraagwaarden, die worden gebruikt in de logische uitdrukking, worden gewijzigd en de logische uitdrukking true retourneert, wordt de waarde van een geselecteerde vraag gekopieerd naar een andere geselecteerde vraag.",trigger_skipDescription:"Als de logische uitdrukking true retourneert, gaat de enquête naar/focust de geselecteerde vraag.",trigger_runExpressionDescription:"Wanneer de logische expressie true retourneert, wordt de aangepaste expressie uitgevoerd. U kunt dit expressieresultaat optioneel instellen voor de geselecteerde vraag",completedHtmlOnConditionDescription:"Als de logische uitdrukking true retourneert, wordt de standaardtekst voor de 'Bedankpagina' gewijzigd in de opgegeven tekst.",itemExpressionText:"Wanneer expressie: '{0}' true retourneert:",page_visibilityText:"Maak pagina {0} zichtbaar",panel_visibilityText:"Maak paneel {0} zichtbaar",panel_enableText:"Schakel paneel {0} in",question_visibilityText:"Maak vraag {0} zichtbaar",question_enableText:"Schakel vraag {0} in",question_requireText:"Stel vraag {0} verplicht",trigger_completeText:"Enquête wordt voltooid",trigger_setvalueText:"Stel de vraag: {0} waarde {1}",trigger_copyvalueText:"Kopieer naar vraag: {0} waarde uit vraag {1}",trigger_skipText:"Enquête ga verder met de vraag {0}",trigger_runExpressionText1:"Uitdrukking uitvoeren: '{0}'",trigger_runExpressionText2:" en stel het resultaat in vraag: {0}",completedHtmlOnConditionText:"Toon aangepaste tekst voor de 'Bedankpagina'.",conditions:"Voorwaard(en)",actions:"Actie(s)",expressionEditorTitle:"Definieer conditie(s)",actionsEditorTitle:"Definieer actie(s)",deleteAction:"Actie verwijderen",addNewAction:"Voeg nieuwe actie toe",selectedActionCaption:"Selecteer een actie om toe te voegen...",expressionInvalid:"De logische uitdrukking is leeg of ongeldig. Verbeter dit alstublieft.",noActionError:"Voeg ten minste één actie toe.",actionInvalid:"Los problemen in uw actie(s) op.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Van toepassing zijn",ok:"OK",save:"Opslaan",saveTooltip:"Opslaan",cancel:"Annuleren",reset:"Resetten",refresh:"Opslaan",delete:"Verwijderen",add:"Toevoegen",addNew:"Nieuwe toevoegen",addItem:"Klik om een item toe te voegen...",addOther:"Andere",addSelectAll:"Selecteer alles",addNone:"Geen",removeAll:"Verwijder alles",edit:"Bewerk",back:"Keer terug zonder op te slaan",backTooltip:"Keer terug zonder op te slaan",saveAndBack:"Bewaar en keer terug",saveAndBackTooltip:"Bewaar en keer terug",editChoices:"Keuzes bewerken",showChoices:"Toon keuzes",move:"Bewegen",empty:"<leeg>",fastEntry:"Snelle toegang",formEntry:"Formulierinvoer",testService:"Test de service",itemSelectorEmpty:"Selecteer het element",conditionActionEmpty:"Selecteer de actie",conditionSelectQuestion:"Selecteer vraag...",conditionSelectPage:"Selecteer pagina...",conditionSelectPanel:"Selecteer paneel...",conditionValueQuestionTitle:"Voer/selecteer de waarde",expressionHelp:"U kunt accolades gebruiken om toegang te krijgen tot de vraagwaarden: {vraag1} + {vraag2}, ({prijs} * {aantal}) * (100 - {korting}). U kunt functies gebruiken als: iif(), today(), age(), min(), max(), count(), avg() en anderen.",aceEditorHelp:"Druk op Ctrl+spatiebalk om een hint voor het voltooien van een uitdrukking te krijgen",aceEditorRowTitle:"Huidige rij",aceEditorPanelTitle:"Huidig paneel",showMore:"Raadpleeg de documentatie voor meer details",assistantTitle:"Beschikbare vragen:",cellsEmptyRowsColumns:"Er moet minimaal één kolom of rij zijn",propertyIsEmpty:"Voer alstublieft een waarde in",propertyNameIsNotUnique:"Voer een unieke naam in",listIsEmpty:"Voeg een nieuw item toe",expressionIsEmpty:"Expressie is leeg",value:"Waarde",text:"Tekst",rowid:"Rij-ID",imageLink:"Afbeeldingslink",columnEdit:"Kolom bewerken: {0}",itemEdit:"Bewerk item: {0}",url:"URL",path:"Pad",valueName:"Waardenaam",titleName:"Titel",titlePlaceholder:"Voer hier de titel in",surveyTitlePlaceholder:"Voer de enquêtetitel hier in",pageTitlePlaceholder:"Voer hier de paginatitel in",descriptionPlaceholder:"Voer een omschrijving in",surveyDescriptionPlaceholder:"Voer een onderzoeksbeschrijving in",pageDescriptionPlaceholder:"Voer een paginabeschrijving in",hasOther:"Heeft de 'Anders:'-optie",otherText:"Titel 'Anders:'-optie",hasNone:"Heeft de 'Geen'-optie",noneText:"Titel 'Geen'-optie",hasSelectAll:"Heeft de 'Alles selecteren'-optie",selectAllText:"Titel 'Alles selecteren'-optie",allowEmptyResponse:"Leeg respons toestaan",choicesMin:"Minimumwaarde voor automatisch gegenereerde items",choicesMax:"Maximale waarde voor automatisch gegenereerde items",choicesStep:"Het verschil tussen automatisch gegenereerde items",name:"Naam",title:"Titel",cellType:"Celtype",colCount:"Kolom tellen",choicesOrder:"Volgorde opties",visible:"Is zichtbaar?",isRequired:"Is verplicht?",defaultValueExpression:"Expressie standaardwaarde",isAllRowRequired:"Antwoord vereisen voor alle rijen",requiredErrorText:"Tekst bij niet-ingevulde verplichte vraag",startWithNewLine:"Beginnen met een nieuwe regel?",rows:"Aantal rijen",cols:"Kolom tellen",placeHolder:"Hulptekst",showPreview:"Toon voorbeeldgebied",showPreviewBeforeComplete:"Voorbeeldweergave voor afronden",storeDataAsText:"Bewaar bestandsinhoud in JSON-resultaat als tekst",maxSize:"Maximale bestandsgrootte in bytes",imageHeight:"Afbeelding hoogte",imageWidth:"Afbeelding breedte",rowCount:"Aantal rijen",columnLayout:"Kolommen layout",addRowLocation:"Voeg de locatie van de rijknop toe",addRowText:"Voeg tekst van de rijknop toe",removeRowText:"Verwijder de tekst van de rijknop",rateMin:"Minimumtarief",rateMax:"Maximaal tarief",rateStep:"Beoordeel stap",minRateDescription:"Beschrijving minimumtarief",maxRateDescription:"Maximale tariefomschrijving",inputType:"Invoertype",optionsCaption:"Bijschrift opties",defaultValue:"Standaardwaarde",cellsDefaultRow:"Standaard celteksten",surveyEditorTitle:"Bewerk enquête-instellingen",qEditorTitle:"Bewerken: {0}",maxLength:"Maximale lengte",buildExpression:"Bouwen",editExpression:"Bewerk",and:"En",or:"Of",remove:"Verwijderen",addCondition:"Voorwaarde toevoegen",showTitle:"Titel weergeven/verbergen",expandCollapseTitle:"Titel uitvouwen/samenvouwen",locale:"Standaardtaal",simulator:"Kies apparaat",landscapeOrientation:"Landschap",mode:"Modus (bewerken/alleen lezen)",clearInvisibleValues:"Wis onzichtbare waarden",cookieName:"Cookienaam (zodat enquête slechts éénmalig wordt ingevuld)",sendResultOnPageNext:"Antwoorden opslaan bij pagina-overgang",storeOthersAsComment:"Sla de waarde van 'anderen' op in een apart veld",showPageTitles:"Toon paginatitels",showPageNumbers:"Toon paginanummers",pagePrevText:"Knoptitel 'Vorige pagina'",pageNextText:"Knoptitel 'Volgende pagina'",completeText:"Knoptitel 'Afronden'",previewText:"Knoptitel 'Voorbeeldweergave'",editText:"Knoptitel 'Bewerken'",startSurveyText:"Knoptitel 'Starten'",showNavigationButtons:"Navigatieknoppen weergeven (standaardnavigatie)",showPrevButton:"Toon knop 'Vorige pagina' (gebruiker kan terugkeren)",firstPageIsStarted:"De eerste pagina in de enquête is een startpagina",showCompletedPage:"Toon bij afronden deze HTML-code",goNextPageAutomatic:"Na alle vragen automatisch naar volgende pagina gaan",focusOnFirstError:"Focus op eerste fout zetten",showProgressBar:"Toon voortgangsbalk",questionTitleLocation:"Plek vraagtitel",questionTitlePattern:"Patroon vraagtitel",questionTitle:"Vraagtitel",requiredText:"Symbool(en) verplichte vraag",questionStartIndex:"Eerste vraag (1, 2 or 'A', 'a')",showQuestionNumbers:"Toon vraagnummers",textUpdateMode:"Modus tekstvernieuwing",questionTitleTemplate:"Vraagtitelsjabloon, standaard is: '{no}. {vereisen} {titel}'",questionErrorLocation:"Plek vraagfoutmelding",focusFirstQuestionAutomatic:"Op volgende pagina focus op de eerste vraag zetten",questionsOrder:"Volgorde elementen op pagina",maxTextLength:"Maximale tekstlengte",maxOthersLength:"Maximale tekstlengte optie 'Anders:'",maxTimeToFinish:"Maximale tijd om de enquête te voltooien",maxTimeToFinishPage:"Maximale tijd om een pagina in de enquête te voltooien",showTimerPanel:"Toon timerpaneel",showTimerPanelMode:"Modus timerpaneel",renderMode:"Render-modus",allowAddPanel:"Sta het toevoegen van een paneel toe",allowRemovePanel:"Laat het verwijderen van het paneel toe",panelAddText:"Paneeltekst toevoegen",panelRemoveText:"Paneeltekst verwijderen",isSinglePage:"Toon alle elementen op één pagina",html:"Html",expression:"Uitdrukking",minValue:"Minimale waarde",maxValue:"Maximale waarde",minLength:"Minimale lengte",allowDigits:"Cijfers toestaan",minCount:"Minimum aantal",maxCount:"Maximale telling",regex:"Reguliere expressie",totalText:"Totale tekst",totalType:"Totaal type",totalExpression:"Totale expressie",totalDisplayStyle:"Totale weergavestijl",totalCurrency:"Totale valuta",totalFormat:"Totaal formaat",logoPosition:"Positie logo",addLogo:"Logo toevoegen...",changeLogo:"Logo wijzigen...",logoWidth:"Breedte logo",logoHeight:"Hoogte logo",logoFit:"Passend maken logo",logoPositions:{none:"Logo verwijderen",left:"Links",right:"Rechtsaf",top:"Bovenop",bottom:"Onder aan"},tabs:{general:"Algemeen",fileOptions:"Opties",html:"Html-editor",columns:"Kolommen",rows:"Rijen",choices:"Keuzes",items:"Artikelen",visibleIf:"Zichtbaar als",enableIf:"Schakel If in",requiredIf:"Vereist als",rateValues:"Beoordeel waarden",choicesByUrl:"Keuzes van internet",matrixChoices:"Standaardkeuzes",multipleTextItems:"Tekstinvoer",numbering:"Nummering",validators:"Validators",navigation:"Navigatie",question:"Vraag",pages:"Pagina's",completedHtml:"HTML bij afronden",completedHtmlOnCondition:"Voltooide html op voorwaarde",loadingHtml:"Html laden",timer:"Timer/Quiz",calculatedValues:"Berekende waardes",triggers:"Triggers",templateTitle:"Sjabloontitel",totals:"Totalen",logic:"Logica",layout:"Indeling",data:"Gegevens",validation:"Validatie",cells:"Cellen",showOnCompleted:"Weergeven bij afronden",logo:"Logo in enquêtetitel",slider:"Schuifregelaar",others:"Anderen"},editProperty:"Eigenschap '{0}' bewerken",items:"[ Items: {0} ]",enterNewValue:"Voer de waarde in.",noquestions:"Er is geen enkele vraag in de enquête.",createtrigger:"Maak een trigger",titleKeyboardAdornerTip:"Druk op de enter-knop om te bewerken",keyboardAdornerTip:"Druk op de enter-knop om het item te bewerken, druk op de delete-knop om het item te verwijderen, druk op alt plus pijl omhoog of pijl omlaag om item te verplaatsen",triggerOn:"Aan ",triggerMakePagesVisible:"Maak pagina's zichtbaar:",triggerMakeQuestionsVisible:"Maak elementen zichtbaar:",triggerCompleteText:"Vul de enquête in als dit lukt.",triggerNotSet:"De trigger is niet ingesteld",triggerRunIf:"Voer als",triggerSetToName:"Verander waarde van: ",triggerFromName:"Waarde kopiëren van: ",triggerRunExpression:"Voer deze expressie uit:",triggerSetValue:"naar: ",triggerGotoName:"Ga naar de vraag:",triggerIsVariable:"Zet de variabele niet in het onderzoeksresultaat.",triggerRunExpressionEmpty:"Voer een geldige uitdrukking in",noFile:"Geen bestand gekozen"},pv:{true:"Waar",false:"False",inherit:"Erven",show:"Tonen",hide:"Zich verstoppen",default:"Standaard",initial:"Standaard",random:"Willekeurig",collapsed:"Ingestort",expanded:"Uitgebreid",none:"Geen",asc:"Oplopend",desc:"Aflopend",indeterminate:"Onbepaald",decimal:"Decimale",currency:"Valuta",percent:"Procent",firstExpanded:"Eerste uitgevouwen",off:"Uit",onPanel:"Op paneel",onSurvey:"Op enquête",list:"Lijst",progressTop:"Voortgang top",progressBottom:"Voortgang bodem",progressTopBottom:"Voortgang top bodem",horizontal:"Horizontaal",vertical:"Verticaal",top:"Top",bottom:"Beneden",topBottom:"Top en beneden",both:"Beide",left:"Links",right:"Rechts",color:"Kleur",date:"Datum",datetime:"Datum/tijd","datetime-local":"Datum/tijd lokaal",email:"E-mail",month:"Maand",number:"Nummer",password:"Wachtwoord",range:"Bereik",tel:"Tel",text:"Tekst",time:"Tijd",url:"URL",week:"Week",hidden:"Verborgen",on:"Aan",onPage:"Op pagina",underTitle:"Onder de titel",underInput:"Onder het invoerveld",edit:"Bewerk",display:"Scherm",onComplete:"Bij afronden",onHidden:"Bij verbergen",onBlur:"Bij verliezen focus",onTyping:"Tijdens het typen",all:"Alle",page:"Pagina",survey:"Enquête",onNextPage:"Bij pagina-overgang",onValueChanged:"Bij waardeverandering",singlePage:"Enkele pagina",standard:"Standaard",questionPerPage:"Vraag per pagina",noPreview:"Geen preview",showAllQuestions:"Toon voorbeeld met alle vragen",showAnsweredQuestions:"Toon voorbeeld met beantwoorde vragen",image:"Beeld",video:"Video",contain:"Inperken",cover:"Bedekken",fill:"Opvullen"},op:{empty:"is leeg",notempty:"is niet leeg",equal:"gelijk is",notequal:"niet gelijk",contains:"bevat",notcontains:"bevat niet",anyof:"een van",allof:"alles van",greater:"groter",less:"minder",greaterorequal:"groter of gelijk aan",lessorequal:"minder of gelijk aan",and:"en",or:"of"},ew:{angular:"Gebruik de Angular-versie",jquery:"Gebruik de jQuery-versie",knockout:"Gebruik de Knockout-versie",react:"Gebruik de React-versie",vue:"Gebruik de Vue-versie",bootstrap:"Voor bootstrap-framework",modern:"Modern thema",default:"Standaard thema",orange:"Oranje thema",darkblue:"Donkerblauw thema",darkrose:"Donkereroos thema",stone:"Stenen thema",winter:"Winter thema",winterstone:"Wintersteen thema",showOnPage:"Toon enquête op een pagina",showInWindow:"Toon enquête in een venster",loadFromServer:"Laad Survey JSON vanaf de server",titleScript:"Scripts en stijlen",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Selecteer de pagina om deze te testen:",showInvisibleElements:"Toon onzichtbare elementen"},validators:{answercountvalidator:"Aantal antwoorden",emailvalidator:"E-mail",expressionvalidator:"Uitdrukking",numericvalidator:"Numeriek",regexvalidator:"Regex",textvalidator:"Tekst"},triggers:{completetrigger:"Volledige enquête",setvaluetrigger:"Ingestelde waarde",copyvaluetrigger:"Kopie waarde",skiptrigger:"Ga naar de vraag",runexpressiontrigger:"Run expressie",visibletrigger:"Zichtbaarheid wijzigen (verouderd)"},p:{name:"Naam",title:{name:"Titel",title:"Laat het leeg als het hetzelfde is als 'Naam'"},navigationButtonsVisibility:"Navigatie Knoppen zichtbaarheid",questionsOrder:"Vragen volgorde",maxTimeToFinish:"Maximale tijd om te voltooien",visible:"Zichtbaar",visibleIf:"Zichtbaar als",questionTitleLocation:"Plek vraagtitel",questionDescriptionLocation:"Plek vraagomschrijving",description:"Omschrijving",state:"Staat",isRequired:"Is benodigd",requiredIf:"Vereist als",indent:"Inspringen",requiredErrorText:"Vereiste fouttekst",startWithNewLine:"Begin met nieuwe regel",innerIndent:"Innerlijke inspringing",page:"Pagina",width:"Breedte",commentText:"Commentaar tekst",valueName:"Waarde naam",enableIf:"Inschakelen als",defaultValue:"Standaardwaarde",correctAnswer:"Goed antwoord",readOnly:"Alleen-lezen",validators:"Validators",titleLocation:"Plek titel",descriptionLocation:"Plek omschrijving",minWidth:"Minimale breedte",maxWidth:"Maximale breedte",useDisplayValuesInTitle:"Waardes in titel gebruiken",hasComment:"Heeft commentaar",hasOther:"Heeft andere",choices:"Keuzes",choicesOrder:"Keuzes bestellen",choicesByUrl:"Keuzes per url",otherText:"Andere tekst",otherErrorText:"Andere fouttekst",storeOthersAsComment:"Sla anderen op als commentaar",label:"Etiket",showTitle:"Laat de titel zien",valueTrue:"Waarde waar",valueFalse:"Waarde false",cols:"Kolommen",rows:"Rijen",placeHolder:"Tijdelijke aanduiding",optionsCaption:"Bijschrift opties",expression:"Uitdrukking",format:"Formaat",displayStyle:"Weergavestijl",currency:"Valuta",useGrouping:"Gebruik groepering",showPreview:"Toon voorbeeld",allowMultiple:"Meerdere toestaan",imageHeight:"Afbeelding hoogte",imageWidth:"Afbeelding breedte",storeDataAsText:"Gegevens opslaan als tekst",maxSize:"Maximale grootte",html:"HTML",columns:"Kolommen",cells:"Cellen",isAllRowRequired:"Zijn alle rijen vereist",horizontalScroll:"Horizontale scroll",cellType:"Celtype",columnsLayout:"Kolommen layout",columnColCount:"Aantal kolommen",columnMinWidth:"Kolom min breedte",rowCount:"Rijen tellen",minRowCount:"Min rijen tellen",maxRowCount:"Max aantal rijen",keyName:"Sleutel naam",keyDuplicationError:"Key duplicatie fout",confirmDelete:"Bevestig verwijderen",confirmDeleteText:"Bevestigen verwijder tekst",addRowLocation:"Rijlocatie toevoegen",addRowText:"Rij tekst toevoegen",removeRowText:"Rij-tekst verwijderen",items:"Artikelen",itemSize:"Item grootte",colCount:"Kolommen tellen",templateTitle:"Sjabloontitel",templateDescription:"Sjabloonbeschrijving",allowAddPanel:"Toestaan om paneel toe te voegen",allowRemovePanel:"Laat het paneel verwijderen",panelCount:"Aantal panelen",minPanelCount:"Min paneel aantal",maxPanelCount:"Max aantal panelen",panelsState:"Panelen staat",panelAddText:"Paneel tekst toevoegen",panelRemoveText:"Paneel verwijder tekst",panelPrevText:"Paneel vorige tekst",panelNextText:"Paneel volgende tekst",showQuestionNumbers:"Toon vraagnummers",textUpdateMode:"Modus tekstvernieuwing",showRangeInProgress:"Toon lopende reeks",renderMode:"Render-modus",templateTitleLocation:"Sjabloon titel locatie",rateValues:"Tarief waarden",rateMin:"Tarief min",rateMax:"Tarief max",rateStep:"Tariefstap",minRateDescription:"Min tarief beschrijving",maxRateDescription:"Max tarief beschrijving",inputType:"Invoertype",size:"Grootte",locale:"Locale",focusFirstQuestionAutomatic:"Focus eerste vraag automatisch",completedHtml:"Voltooide html",completedBeforeHtml:"HTML bij tweede poging invullen",loadingHtml:"HTML te tonen bij opstarten",triggers:"Triggers",cookieName:"Cookie naam",sendResultOnPageNext:"Verzend resultaat op volgende pagina",showNavigationButtons:"Tonen navigatieknoppen",showPrevButton:"Toon vorige knop",showPageTitles:"Toon paginatitels",navigateToUrl:"Naar URL doorsturen",navigateToUrlOnCondition:"Conditie om naar URL door te sturen",completedHtmlOnCondition:"Conditie om HTML bij afronden te tonen",showCompletedPage:"Toon voltooide pagina",showPageNumbers:"Toon paginanummers",questionErrorLocation:"Vraag foutlocatie",showProgressBar:"Toon voortgangsbalk",progressBarType:"Type voortgangsbalk",questionsOnPageMode:"Vragen per pagina",mode:"Modus",goNextPageAutomatic:"Ga automatisch naar de volgende pagina",checkErrorsMode:"Modus foutcontrole",clearInvisibleValues:"Duidelijke onzichtbare waarden",startSurveyText:"Start enquêtetekst",pagePrevText:"Pagina vorige tekst",pageNextText:"Pagina volgende tekst",completeText:"Volledige tekst",requiredText:"Vereiste tekst",questionStartIndex:"Vraag start index",questionTitleTemplate:"Vraag titel sjabloon",firstPageIsStarted:"Eerste pagina is gestart",isSinglePage:"Is één pagina",maxTimeToFinishPage:"Maximale tijd om pagina te voltooien",showTimerPanel:"Toon timer paneel",showTimerPanelMode:"Toon timer paneelmodus",defaultPanelValue:"Standaard paneelwaarde",defaultRowValue:"Standaard rijwaarde",hasNone:"Heeft er geen",noneText:"Geen tekst",text:"Tekst"}};o.editorLocalization.locales.nl=r},"./src/localization/english.ts":
|
|
353
353
|
/*!*************************************!*\
|
|
354
354
|
!*** ./src/localization/english.ts ***!
|
|
355
355
|
\*************************************/
|
|
356
|
-
/*! exports provided: enStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"enStrings",(function(){return o}));var o={survey:{edit:"Edit",externalHelpLink:"Watch and learn how to create surveys",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Please drop a question here from the Toolbox.",addLogicItem:"Create a rule to customize the flow of the survey.",copy:"Copy",duplicate:"Duplicate",settings:"Settings",addToToolbox:"Add to toolbox",deletePanel:"Delete Panel",deleteQuestion:"Delete Question",convertTo:"Convert to",drag:"Drag element",license:"Please purchase a SurveyJS Creator developer license to use it in your app"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comment",imagepicker:"Image picker",ranking:"Ranking",image:"Image",dropdown:"Dropdown",file:"File",html:"Html",matrix:"Matrix (single choice)",matrixdropdown:"Matrix (multiple choice)",matrixdynamic:"Matrix (dynamic rows)",multipletext:"Multiple Text",panel:"Panel",paneldynamic:"Panel (dynamic panels)",radiogroup:"Radiogroup",rating:"Rating",text:"Single Input",boolean:"Boolean",expression:"Expression (read-only)",signaturepad:"Signature pad",buttongroup:"Button group",flowpanel:"Flow Panel"},ed:{defaultLocale:"Default ({0})",survey:"Survey",settings:"Survey Settings",settingsTooltip:"Open survey settings",showPanel:"Show Panel",hidePanel:"Hide Panel",prevSelected:"Select previous",nextSelected:"Select next",surveyTypeName:"Survey",pageTypeName:"Page",panelTypeName:"Panel",questionTypeName:"Question",columnTypeName:"Column",addNewPage:"Add New Page",moveRight:"Scroll to the Right",moveLeft:"Scroll to the Left",deletePage:"Delete Page",editPage:"Edit Page",edit:"Edit",newPageName:"page",newQuestionName:"question",newPanelName:"panel",newTextItemName:"text",testSurvey:"Preview",testSurveyAgain:"Test Survey Again",testSurveyWidth:"Survey width: ",navigateToMsg:"You had to navigate to:",logic:"Logic",embedSurvey:"Embed Survey",translation:"Translation",saveSurvey:"Save Survey",saveSurveyTooltip:"Save Survey",designer:"Designer",jsonEditor:"JSON Editor",jsonHideErrors:"Hide errors",jsonShowErrors:"Show errors",undo:"Undo",redo:"Redo",undoTooltip:"Undo last change",redoTooltip:"Redo the change",copy:"Copy",cut:"Cut",paste:"Paste",copyTooltip:"Copy selection to clipboard",cutTooltip:"Cut selection to clipboard",pasteTooltip:"Paste from clipboard",options:"Options",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Toolbox","property-grid":"Properties",propertyGridFilteredTextPlaceholder:"Type to search...",toolboxGeneralCategory:"General",correctJSON:"Please correct JSON.",surveyResults:"Survey Result: ",surveyResultsTable:"As Table",surveyResultsJson:"As JSON",resultsTitle:"Question Title",resultsName:"Question Name",resultsValue:"Answer Value",resultsDisplayValue:"Display Value",modified:"Modified",saving:"Saving",saved:"Saved",propertyEditorError:"Error:",saveError:"Error! Editor content is not saved.",translationPropertyGridTitle:"Translation Setting",translationLanguages:"Languages",translationAddLanguage:"Select language to translate",translationShowAllStrings:"Show all strings",translationShowAllPages:"Show all pages",translationNoStrings:"No strings to translate. Please, change the filter.",translationExportToSCVButton:"Export to CSV",translationImportFromSCVButton:"Import from CSV",translationMergeLocaleWithDefault:"Merge {0} with default locale",translationPlaceHolder:"Translation...",bold:"Bold",italic:"Italic",underline:"Underline",fpAddQuestion:"Add question...",selectPage:"Select page...",chooseElement:"Choose element...",htmlPlaceHolder:"HTML content will be here.",panelPlaceHolder:"Drop a question from the toolbox here.",addNewQuestion:"Add Question",addNewTypeQuestion:"Add {0}",chooseLogoPlaceholder:"[LOGO]",lg:{addNewItem:"",empty_tab:"Create a rule to customize the flow of the survey.",page_visibilityName:"Show (hide) page",panel_visibilityName:"Show (hide) panel",panel_enableName:"Enable (disable) panel",question_visibilityName:"Show (hide) question",question_enableName:"Enable (disable) question",question_requireName:"Make question required",trigger_completeName:"Complete survey",trigger_setvalueName:"Set question value",trigger_copyvalueName:"Copy question value",trigger_skipName:"Skip to question",trigger_runExpressionName:"Run custom expression",completedHtmlOnConditionName:"Custom 'Thank you page' text",page_visibilityDescription:"Make the page visible when the logic expression returns true. Otherwise keep it invisible.",panel_visibilityDescription:"Make the panel visible when the logic expression returns true. Otherwise keep it invisible.",panel_enableDescription:"Make the panel, and all elements inside it, enable when the logic expression returns true. Otherwise keep them disabled.",question_visibilityDescription:"Make the question visible when the logic expression returns true. Otherwise keep it invisible.",question_enableDescription:"Make the question enable when the logic expression returns true. Otherwise keep it disabled.",question_requireDescription:"Question becomes required when the logic expression returns true.",trigger_completeDescription:"When the logic expression returns true then the survey becomes completed and an end-user see the 'Thank you page'.",trigger_setvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value is set to the selected question.",trigger_copyvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value of one selected question is copied to another selected question.",trigger_skipDescription:"When the logic expression returns true then the survey skip to / focus the selected question.",trigger_runExpressionDescription:"When the logic expression returns true, then the custom expression is performed. You may optionally set this expression result into the selected question",completedHtmlOnConditionDescription:"If the logic expression returns true, then the default text for the 'Thank you page' is changed to the given one.",itemExpressionText:"When expression: '{0}' returns true:",itemEmptyExpressionText:"New rule is not set",page_visibilityText:"Make page {0} visible",panel_visibilityText:"Make panel {0} visible",panel_enableText:"Make panel {0} enable",question_visibilityText:"Make question {0} visible",question_enableText:"Make question {0} enable",question_requireText:"Make question {0} required",trigger_completeText:"Survey becomes completed",trigger_setvalueText:"Set into question: {0} value {1}",trigger_copyvalueText:"Copy into question: {0} value from question {1}",trigger_skipText:"Survey skip to the question {0}",trigger_runExpressionText1:"Run expression: '{0}'",trigger_runExpressionText2:" and set its result into question: {0}",completedHtmlOnConditionText:"Show custom text for the 'Thank you page'.",showAllQuestions:"Show all questions",showAllActionTypes:"Show all action types",conditions:"Condition(s)",actions:"Action(s)",expressionEditorTitle:"Define condition(s)",actionsEditorTitle:"Define action(s)",deleteAction:"Delete action",addNewAction:"Add new action",selectedActionCaption:"Select an action to add...",expressionInvalid:"The logic expression is empty or invalid. Please correct it.",noActionError:"Please, add at least one action.",actionInvalid:"Please, fix problems in your action(s).",expressionSetup:"",actionsSetup:""}},pe:{apply:"Apply",ok:"OK",save:"Save",clear:"Clear",saveTooltip:"Save",cancel:"Cancel",set:"Set",reset:"Reset",change:"Change",refresh:"Refresh",close:"Close",delete:"Delete",add:"Add",addNew:"Add New",addItem:"Click to add an item...",removeItem:"Click to remove the item...",dragItem:"Drag the item",addOther:"Other",addSelectAll:"Select All",addNone:"None",removeAll:"Remove All",edit:"Edit",back:"Return without saving",backTooltip:"Return without saving",saveAndBack:"Save and return",saveAndBackTooltip:"Save and return",doneEditing:"Done",editChoices:"Edit Choices",showChoices:"Show Choices",move:"Move",empty:"<empty>",emptyValue:"Value is empty",fastEntry:"Fast Entry",fastEntryNonUniqueError:"Value '{0}' is not unique",fastEntryChoicesCountError:"Please limit the number of items from {0} to {1}",formEntry:"Form Entry",testService:"Test the service",itemSelectorEmpty:"Please select the element",conditionActionEmpty:"Please select the action",conditionSelectQuestion:"Select question...",conditionSelectPage:"Select page...",conditionSelectPanel:"Select panel...",conditionValueQuestionTitle:"Please enter/select the value",expressionHelp:"You can use curly brackets to get access to the question values: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). You can use functions as: iif(), today(), age(), min(), max(), count(), avg() and others.",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",assistantTitle:"Available questions:",cellsEmptyRowsColumns:"There is should be at least one column or row",propertyIsEmpty:"Please enter a value",propertyIsNoUnique:"Please enter a unique value",propertyNameIsNotUnique:"Please enter a unique name",listIsEmpty:"Add a new item",expressionIsEmpty:"Expression is empty",value:"Value",text:"Text",rowid:"Row ID",imageLink:"Image Link",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",allowEmptyResponse:"Allow empty respose",titlePlaceholder:"Input title here",surveyTitlePlaceholder:"Input survey title here",pageTitlePlaceholder:"Input page title here",descriptionPlaceholder:"Enter a description",surveyDescriptionPlaceholder:"Enter a survey description",pageDescriptionPlaceholder:"Enter a page description",hasOther:"Has other item",otherText:"Other item text",hasNone:"Has none item",noneText:"None item text",hasSelectAll:"Has select all item",selectAllText:"Select all item text",choicesMin:"Minimum value for auto generated items",choicesMax:"Maximum value for auto generated items",choicesStep:"The difference between auto generated items",name:"Name",title:"Title",cellType:"Cell type",colCount:"Column count",choicesOrder:"Select choices order",visible:"Is visible?",isRequired:"Is required?",isAllRowRequired:"Require answer for all rows",requiredErrorText:"Required error text",startWithNewLine:"Is start with new line?",rows:"Row count",cols:"Column count",placeHolder:"Input place holder",showPreview:"Show preview area",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",columnLayout:"Columns layout",addRowLocation:"Add row button location",addRowText:"Add row button text",removeRowText:"Remove row button text",rateMin:"Minimum rate",rateMax:"Maximum rate",rateStep:"Rate step",minRateDescription:"Minimum rate description",maxRateDescription:"Maximum rate description",inputType:"Input type",optionsCaption:"Options caption",showOptionsCaption:"Show options caption",defaultValue:"Default value",cellsDefaultRow:"Default cells texts",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Edit: {0}",maxLength:"Maximum length",buildExpression:"Build",editExpression:"Edit",and:"And",or:"Or",remove:"Remove",addCondition:"Add condition",if:"If",then:"Then",setToName:"to",fromName:"from",ruleIsNotSet:"Rule is incorrect",showTitle:"Show/hide title",expandCollapseTitle:"Expand/collapse title",locale:"Default language",simulator:"Choose device",landscapeOrientation:"Landscape",portraitOrientation:"Portrait",mode:"Mode (edit/read only)",clearInvisibleValues:"Clear invisible values",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",previewText:"Preview button text",editText:"Edit button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",html:"Html",expression:"Expression",minValue:"Minimum value",maxValue:"Maximum value",minLength:"Minimum length",allowDigits:"Allow digits",minCount:"Minimum count",maxCount:"Maximum count",regex:"Regular expression",totalText:"Total text",totalType:"Total type",totalExpression:"Total expression",totalDisplayStyle:"Total display style",totalCurrency:"Total currency",totalFormat:"Total format",logoPosition:"Logo position",addLogo:"Add logo...",changeLogo:"Change logo...",logoPositions:{none:"Remove logo",left:"Left",right:"Right",top:"On the top",bottom:"In the bottom"},tabs:{general:"General",fileOptions:"Options",html:"Html Editor",columns:"Columns",rows:"Rows",choices:"Choices",items:"Items",visibleIf:"Visible If",enableIf:"Enable If",requiredIf:"Required If",rateValues:"Rate Values",choicesByUrl:"Choices from Web",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",numbering:"Numbering",validators:"Validators",navigation:"Navigation",question:"Question",pages:"Pages",completedHtml:"Completed Html",completedHtmlOnCondition:"Completed Html on Condition",loadingHtml:"Loading Html",timer:"Timer/Quiz",calculatedValues:"Calculated Values",triggers:"Triggers",templateTitle:"Template title",totals:"Totals",logic:"Logic",layout:"Layout",data:"Data",validation:"Validation",cells:"Cells",showOnCompleted:"Show on Completed",logo:"Logo in Survey Title",slider:"Slider",others:"Others"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",titleKeyboardAdornerTip:"Press enter button to edit",keyboardAdornerTip:"Press enter button to edit item, press delete button to delete item, press alt plus arrow up or arrow down to move item",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerFromName:"Copy value from: ",triggerRunExpression:"Run this Expression:",triggerSetValue:"to: ",triggerGotoName:"Go to the question:",triggerIsVariable:"Do not put the variable into the survey result.",triggerRunExpressionEmpty:"Please enter a valid expression",noFile:"No file choosen"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"first expanded",off:"off",onPanel:"on panel",onSurvey:"on survey",list:"list",progressTop:"progress on top",progressBottom:"progress on bottom",progressTopBottom:"progress on top&bottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"on page",edit:"edit",display:"display",onComplete:"on complete",onHidden:"on hidden",all:"all",page:"page",survey:"survey",onNextPage:"on next page",onValueChanged:"on value changed",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions",pages:"pages",questions:"questions",requiredQuestions:"required questions",correctQuestions:"correct questions",buttons:"buttons",underInput:"under input",underTitle:"under title"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",anyof:"any of",allof:"all of",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals",and:"and",or:"or"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",modern:"Modern theme",default:"Default theme",orange:"Orange theme",darkblue:"Darkblue theme",darkrose:"Darkrose theme",stone:"Stone theme",winter:"Winter theme",winterstone:"Winter-Stone theme",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Select the page to test it:",showInvisibleElements:"Show invisible elements"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",copyvaluetrigger:"copy value",skiptrigger:"skip to question",runexpressiontrigger:"run expression",visibletrigger:"change visibility (deprecated)"},pehelp:{},p:{name:"name",title:{name:"title",title:"Leave it empty, if it is the same as 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",multiSelect:"Multi select",showLabel:"Show label",logo:"logo",logoWidth:"logoWidth",logoHeight:"logoHeight",logoFit:"logoFit",focusOnFirstError:"focusOnFirstError",completedHtmlOnCondition:"completedHtmlOnCondition",pages:"pages",calculatedValues:"calculatedValues",navigateToUrl:"navigateToUrl",navigateToUrlOnCondition:"navigateToUrlOnCondition",questionDescriptionLocation:"questionDescriptionLocation",progressBarType:"progressBarType",maxTextLength:"maxTextLength",maxOthersLength:"maxOthersLength",textUpdateMode:"textUpdateMode",autoGrowComment:"autoGrowComment",questionTitlePattern:"questionTitlePattern",questionsOnPageMode:"questionsOnPageMode",showPreviewBeforeComplete:"showPreviewBeforeComplete",widthMode:"widthMode",showNumber:"showNumber",navigationTitle:"navigationTitle",navigationDescription:"navigationDescription",useDisplayValuesInTitle:"useDisplayValuesInTitle",minWidth:"minWidth",maxWidth:"maxWidth",descriptionLocation:"descriptionLocation",hideNumber:"hideNumber",defaultValueExpression:"defaultValueExpression",bindings:"bindings",columnsVisibleIf:"columnsVisibleIf",rowsVisibleIf:"rowsVisibleIf",showHeader:"showHeader",detailPanelMode:"detailPanelMode",rowTitleWidth:"rowTitleWidth",allowAddRows:"allowAddRows",allowRemoveRows:"allowRemoveRows",defaultValueFromLastRow:"defaultValueFromLastRow",hideColumnsIfEmpty:"hideColumnsIfEmpty",emptyRowsText:"emptyRowsText",detailPanelShowOnAdding:"detailPanelShowOnAdding",allowRowsDragAndDrop:"allowRowsDragAndDrop",rowsOrder:"rowsOrder",hideIfRowsEmpty:"hideIfRowsEmpty",maximumFractionDigits:"maximumFractionDigits",minimumFractionDigits:"minimumFractionDigits",choicesFromQuestion:"choicesFromQuestion",choicesFromQuestionMode:"choicesFromQuestionMode",hideIfChoicesEmpty:"hideIfChoicesEmpty",choicesVisibleIf:"choicesVisibleIf",choicesEnableIf:"choicesEnableIf",otherPlaceHolder:"otherPlaceHolder",maxSelectedChoices:"maxSelectedChoices",showClearButton:"showClearButton",contentMode:"contentMode",imageFit:"imageFit",autoComplete:"autoComplete",min:"min",max:"max",minValueExpression:"minValueExpression",maxValueExpression:"maxValueExpression",minErrorText:"minErrorText",maxErrorText:"maxErrorText",step:"step",dataList:"dataList",autoGrow:"autoGrow",multiLine:"multiLine",allowImagesPreview:"allowImagesPreview",acceptedTypes:"acceptedTypes",waitForUpload:"waitForUpload",needConfirmRemoveFile:"needConfirmRemoveFile",labelTrue:"labelTrue",labelFalse:"labelFalse",height:"height",allowClear:"allowClear",penColor:"penColor",backgroundColor:"backgroundColor",dataFormat:"dataFormat",defaultValueFromLastPanel:"defaultValueFromLastPanel",panelRemoveButtonLocation:"panelRemoveButtonLocation",showCaption:"showCaption",iconName:"iconName",iconSize:"iconSize"}}},"./src/localization/finnish.ts":
|
|
356
|
+
/*! exports provided: enStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"enStrings",(function(){return o}));var o={survey:{edit:"Edit",externalHelpLink:"Watch and learn how to create surveys",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Please drop a question here from the Toolbox.",addLogicItem:"Create a rule to customize the flow of the survey.",copy:"Copy",duplicate:"Duplicate",settings:"Settings",addToToolbox:"Add to toolbox",deletePanel:"Delete Panel",deleteQuestion:"Delete Question",convertTo:"Convert to",drag:"Drag element",license:"Please purchase a SurveyJS Creator developer license to use it in your app"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comment",imagepicker:"Image picker",ranking:"Ranking",image:"Image",dropdown:"Dropdown",file:"File",html:"Html",matrix:"Matrix (single choice)",matrixdropdown:"Matrix (multiple choice)",matrixdynamic:"Matrix (dynamic rows)",multipletext:"Multiple Text",panel:"Panel",paneldynamic:"Panel (dynamic panels)",radiogroup:"Radiogroup",rating:"Rating",text:"Single Input",boolean:"Boolean",expression:"Expression (read-only)",signaturepad:"Signature pad",buttongroup:"Button group",flowpanel:"Flow Panel"},ed:{defaultLocale:"Default ({0})",survey:"Survey",settings:"Survey Settings",settingsTooltip:"Open survey settings",showPanel:"Show Panel",hidePanel:"Hide Panel",prevSelected:"Select previous",nextSelected:"Select next",surveyTypeName:"Survey",pageTypeName:"Page",panelTypeName:"Panel",questionTypeName:"Question",columnTypeName:"Column",addNewPage:"Add New Page",moveRight:"Scroll to the Right",moveLeft:"Scroll to the Left",deletePage:"Delete Page",editPage:"Edit Page",edit:"Edit",newPageName:"page",newQuestionName:"question",newPanelName:"panel",newTextItemName:"text",testSurvey:"Preview",testSurveyAgain:"Test Survey Again",testSurveyWidth:"Survey width: ",navigateToMsg:"You had to navigate to:",logic:"Logic",embedSurvey:"Embed Survey",translation:"Translation",saveSurvey:"Save Survey",saveSurveyTooltip:"Save Survey",designer:"Designer",jsonEditor:"JSON Editor",jsonHideErrors:"Hide errors",jsonShowErrors:"Show errors",undo:"Undo",redo:"Redo",undoTooltip:"Undo last change",redoTooltip:"Redo the change",copy:"Copy",cut:"Cut",paste:"Paste",copyTooltip:"Copy selection to clipboard",cutTooltip:"Cut selection to clipboard",pasteTooltip:"Paste from clipboard",options:"Options",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Toolbox","property-grid":"Properties",propertyGridFilteredTextPlaceholder:"Type to search...",toolboxGeneralCategory:"General",correctJSON:"Please correct JSON.",surveyResults:"Survey Result: ",surveyResultsTable:"As Table",surveyResultsJson:"As JSON",resultsTitle:"Question Title",resultsName:"Question Name",resultsValue:"Answer Value",resultsDisplayValue:"Display Value",modified:"Modified",saving:"Saving",saved:"Saved",propertyEditorError:"Error:",saveError:"Error! Editor content is not saved.",translationPropertyGridTitle:"Translation Setting",translationLanguages:"Languages",translationAddLanguage:"Select language to translate",translationShowAllStrings:"Show all strings",translationShowAllPages:"Show all pages",translationNoStrings:"No strings to translate. Please, change the filter.",translationExportToSCVButton:"Export to CSV",translationImportFromSCVButton:"Import from CSV",translationMergeLocaleWithDefault:"Merge {0} with default locale",translationPlaceHolder:"Translation...",bold:"Bold",italic:"Italic",underline:"Underline",fpAddQuestion:"Add question...",selectPage:"Select page...",chooseElement:"Choose element...",htmlPlaceHolder:"HTML content will be here.",panelPlaceHolder:"Drop a question from the toolbox here.",addNewQuestion:"Add Question",addNewTypeQuestion:"Add {0}",chooseLogoPlaceholder:"[LOGO]",lg:{addNewItem:"Add New Rule",empty_tab:"Create a rule to customize the flow of the survey.",page_visibilityName:"Show (hide) page",panel_visibilityName:"Show (hide) panel",panel_enableName:"Enable (disable) panel",question_visibilityName:"Show (hide) question",question_enableName:"Enable (disable) question",question_requireName:"Make question required",trigger_completeName:"Complete survey",trigger_setvalueName:"Set question value",trigger_copyvalueName:"Copy question value",trigger_skipName:"Skip to question",trigger_runExpressionName:"Run custom expression",completedHtmlOnConditionName:"Custom 'Thank you page' text",page_visibilityDescription:"Make the page visible when the logic expression returns true. Otherwise keep it invisible.",panel_visibilityDescription:"Make the panel visible when the logic expression returns true. Otherwise keep it invisible.",panel_enableDescription:"Make the panel, and all elements inside it, enable when the logic expression returns true. Otherwise keep them disabled.",question_visibilityDescription:"Make the question visible when the logic expression returns true. Otherwise keep it invisible.",question_enableDescription:"Make the question enable when the logic expression returns true. Otherwise keep it disabled.",question_requireDescription:"Question becomes required when the logic expression returns true.",trigger_completeDescription:"When the logic expression returns true then the survey becomes completed and an end-user see the 'Thank you page'.",trigger_setvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value is set to the selected question.",trigger_copyvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value of one selected question is copied to another selected question.",trigger_skipDescription:"When the logic expression returns true then the survey skip to / focus the selected question.",trigger_runExpressionDescription:"When the logic expression returns true, then the custom expression is performed. You may optionally set this expression result into the selected question",completedHtmlOnConditionDescription:"If the logic expression returns true, then the default text for the 'Thank you page' is changed to the given one.",itemExpressionText:"When expression: '{0}' returns true:",itemEmptyExpressionText:"New rule is not set",page_visibilityText:"Make page {0} visible",panel_visibilityText:"Make panel {0} visible",panel_enableText:"Make panel {0} enable",question_visibilityText:"Make question {0} visible",question_enableText:"Make question {0} enable",question_requireText:"Make question {0} required",trigger_completeText:"Survey becomes completed",trigger_setvalueText:"Set into question: {0} value {1}",trigger_copyvalueText:"Copy into question: {0} value from question {1}",trigger_skipText:"Survey skip to the question {0}",trigger_runExpressionText1:"Run expression: '{0}'",trigger_runExpressionText2:" and set its result into question: {0}",completedHtmlOnConditionText:"Show custom text for the 'Thank you page'.",showAllQuestions:"Show all questions",showAllActionTypes:"Show all action types",conditions:"Condition(s)",actions:"Action(s)",expressionEditorTitle:"Define condition(s)",actionsEditorTitle:"Define action(s)",deleteAction:"Delete action",addNewAction:"Add new action",selectedActionCaption:"Select an action to add...",expressionInvalid:"The logic expression is empty or invalid. Please correct it.",noActionError:"Please, add at least one action.",actionInvalid:"Please, fix problems in your action(s).",expressionSetup:"",actionsSetup:""}},pe:{apply:"Apply",ok:"OK",save:"Save",clear:"Clear",saveTooltip:"Save",cancel:"Cancel",set:"Set",reset:"Reset",change:"Change",refresh:"Refresh",close:"Close",delete:"Delete",add:"Add",addNew:"Add New",addItem:"Click to add an item...",removeItem:"Click to remove the item...",dragItem:"Drag the item",addOther:"Other",addSelectAll:"Select All",addNone:"None",removeAll:"Remove All",edit:"Edit",back:"Return without saving",backTooltip:"Return without saving",saveAndBack:"Save and return",saveAndBackTooltip:"Save and return",doneEditing:"Done",editChoices:"Edit Choices",showChoices:"Show Choices",move:"Move",empty:"<empty>",emptyValue:"Value is empty",fastEntry:"Fast Entry",fastEntryNonUniqueError:"Value '{0}' is not unique",fastEntryChoicesCountError:"Please limit the number of items from {0} to {1}",formEntry:"Form Entry",testService:"Test the service",itemSelectorEmpty:"Please select the element",conditionActionEmpty:"Please select the action",conditionSelectQuestion:"Select question...",conditionSelectPage:"Select page...",conditionSelectPanel:"Select panel...",conditionValueQuestionTitle:"Please enter/select the value",expressionHelp:"You can use curly brackets to get access to the question values: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). You can use functions as: iif(), today(), age(), min(), max(), count(), avg() and others.",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",assistantTitle:"Available questions:",cellsEmptyRowsColumns:"There is should be at least one column or row",propertyIsEmpty:"Please enter a value",propertyIsNoUnique:"Please enter a unique value",propertyNameIsNotUnique:"Please enter a unique name",listIsEmpty:"Add a new item",expressionIsEmpty:"Expression is empty",value:"Value",text:"Text",rowid:"Row ID",imageLink:"Image Link",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",allowEmptyResponse:"Allow empty respose",titlePlaceholder:"Input title here",surveyTitlePlaceholder:"Input survey title here",pageTitlePlaceholder:"Input page title here",descriptionPlaceholder:"Enter a description",surveyDescriptionPlaceholder:"Enter a survey description",pageDescriptionPlaceholder:"Enter a page description",hasOther:"Has other item",otherText:"Other item text",hasNone:"Has none item",noneText:"None item text",hasSelectAll:"Has select all item",selectAllText:"Select all item text",choicesMin:"Minimum value for auto generated items",choicesMax:"Maximum value for auto generated items",choicesStep:"The difference between auto generated items",name:"Name",title:"Title",cellType:"Cell type",colCount:"Column count",choicesOrder:"Select choices order",visible:"Is visible?",isRequired:"Is required?",isAllRowRequired:"Require answer for all rows",requiredErrorText:"Required error text",startWithNewLine:"Is start with new line?",rows:"Row count",cols:"Column count",placeHolder:"Input place holder",showPreview:"Show preview area",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",columnLayout:"Columns layout",addRowLocation:"Add row button location",addRowText:"Add row button text",removeRowText:"Remove row button text",rateMin:"Minimum rate",rateMax:"Maximum rate",rateStep:"Rate step",minRateDescription:"Minimum rate description",maxRateDescription:"Maximum rate description",inputType:"Input type",optionsCaption:"Options caption",showOptionsCaption:"Show options caption",defaultValue:"Default value",cellsDefaultRow:"Default cells texts",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Edit: {0}",maxLength:"Maximum length",buildExpression:"Build",editExpression:"Edit",and:"And",or:"Or",remove:"Remove",addCondition:"Add condition",if:"If",then:"Then",setToName:"to",fromName:"from",ruleIsNotSet:"Rule is incorrect",showTitle:"Show/hide title",expandCollapseTitle:"Expand/collapse title",locale:"Default language",simulator:"Choose device",landscapeOrientation:"Landscape",portraitOrientation:"Portrait",mode:"Mode (edit/read only)",clearInvisibleValues:"Clear invisible values",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",previewText:"Preview button text",editText:"Edit button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",html:"Html",expression:"Expression",minValue:"Minimum value",maxValue:"Maximum value",minLength:"Minimum length",allowDigits:"Allow digits",minCount:"Minimum count",maxCount:"Maximum count",regex:"Regular expression",totalText:"Total text",totalType:"Total type",totalExpression:"Total expression",totalDisplayStyle:"Total display style",totalCurrency:"Total currency",totalFormat:"Total format",logoPosition:"Logo position",addLogo:"Add logo...",changeLogo:"Change logo...",logoPositions:{none:"Remove logo",left:"Left",right:"Right",top:"On the top",bottom:"In the bottom"},tabs:{general:"General",fileOptions:"Options",html:"Html Editor",columns:"Columns",rows:"Rows",choices:"Choices",items:"Items",visibleIf:"Visible If",enableIf:"Enable If",requiredIf:"Required If",rateValues:"Rate Values",choicesByUrl:"Choices from Web",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",numbering:"Numbering",validators:"Validators",navigation:"Navigation",question:"Question",pages:"Pages",completedHtml:"Completed Html",completedHtmlOnCondition:"Completed Html on Condition",loadingHtml:"Loading Html",timer:"Timer/Quiz",calculatedValues:"Calculated Values",triggers:"Triggers",templateTitle:"Template title",totals:"Totals",logic:"Logic",layout:"Layout",data:"Data",validation:"Validation",cells:"Cells",showOnCompleted:"Show on Completed",logo:"Logo in Survey Title",slider:"Slider",others:"Others"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",titleKeyboardAdornerTip:"Press enter button to edit",keyboardAdornerTip:"Press enter button to edit item, press delete button to delete item, press alt plus arrow up or arrow down to move item",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerFromName:"Copy value from: ",triggerRunExpression:"Run this Expression:",triggerSetValue:"to: ",triggerGotoName:"Go to the question:",triggerIsVariable:"Do not put the variable into the survey result.",triggerRunExpressionEmpty:"Please enter a valid expression",noFile:"No file choosen"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"first expanded",off:"off",onPanel:"on panel",onSurvey:"on survey",list:"list",progressTop:"progress on top",progressBottom:"progress on bottom",progressTopBottom:"progress on top&bottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"on page",edit:"edit",display:"display",onComplete:"on complete",onHidden:"on hidden",all:"all",page:"page",survey:"survey",onNextPage:"on next page",onValueChanged:"on value changed",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions",pages:"pages",questions:"questions",requiredQuestions:"required questions",correctQuestions:"correct questions",buttons:"buttons",underInput:"under input",underTitle:"under title"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",anyof:"any of",allof:"all of",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals",and:"and",or:"or"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",modern:"Modern theme",default:"Default theme",orange:"Orange theme",darkblue:"Darkblue theme",darkrose:"Darkrose theme",stone:"Stone theme",winter:"Winter theme",winterstone:"Winter-Stone theme",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Select the page to test it:",showInvisibleElements:"Show invisible elements"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",copyvaluetrigger:"copy value",skiptrigger:"skip to question",runexpressiontrigger:"run expression",visibletrigger:"change visibility (deprecated)"},pehelp:{},p:{name:"name",title:{name:"title",title:"Leave it empty, if it is the same as 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",multiSelect:"Multi select",showLabel:"Show label",logo:"logo",logoWidth:"logoWidth",logoHeight:"logoHeight",logoFit:"logoFit",focusOnFirstError:"focusOnFirstError",completedHtmlOnCondition:"completedHtmlOnCondition",pages:"pages",calculatedValues:"calculatedValues",navigateToUrl:"navigateToUrl",navigateToUrlOnCondition:"navigateToUrlOnCondition",questionDescriptionLocation:"questionDescriptionLocation",progressBarType:"progressBarType",maxTextLength:"maxTextLength",maxOthersLength:"maxOthersLength",textUpdateMode:"textUpdateMode",autoGrowComment:"autoGrowComment",questionTitlePattern:"questionTitlePattern",questionsOnPageMode:"questionsOnPageMode",showPreviewBeforeComplete:"showPreviewBeforeComplete",widthMode:"widthMode",showNumber:"showNumber",navigationTitle:"navigationTitle",navigationDescription:"navigationDescription",useDisplayValuesInTitle:"useDisplayValuesInTitle",minWidth:"minWidth",maxWidth:"maxWidth",descriptionLocation:"descriptionLocation",hideNumber:"hideNumber",defaultValueExpression:"defaultValueExpression",bindings:"bindings",columnsVisibleIf:"columnsVisibleIf",rowsVisibleIf:"rowsVisibleIf",showHeader:"showHeader",detailPanelMode:"detailPanelMode",rowTitleWidth:"rowTitleWidth",allowAddRows:"allowAddRows",allowRemoveRows:"allowRemoveRows",defaultValueFromLastRow:"defaultValueFromLastRow",hideColumnsIfEmpty:"hideColumnsIfEmpty",emptyRowsText:"emptyRowsText",detailPanelShowOnAdding:"detailPanelShowOnAdding",allowRowsDragAndDrop:"allowRowsDragAndDrop",rowsOrder:"rowsOrder",hideIfRowsEmpty:"hideIfRowsEmpty",maximumFractionDigits:"maximumFractionDigits",minimumFractionDigits:"minimumFractionDigits",choicesFromQuestion:"choicesFromQuestion",choicesFromQuestionMode:"choicesFromQuestionMode",hideIfChoicesEmpty:"hideIfChoicesEmpty",choicesVisibleIf:"choicesVisibleIf",choicesEnableIf:"choicesEnableIf",otherPlaceHolder:"otherPlaceHolder",maxSelectedChoices:"maxSelectedChoices",showClearButton:"showClearButton",contentMode:"contentMode",imageFit:"imageFit",autoComplete:"autoComplete",min:"min",max:"max",minValueExpression:"minValueExpression",maxValueExpression:"maxValueExpression",minErrorText:"minErrorText",maxErrorText:"maxErrorText",step:"step",dataList:"dataList",autoGrow:"autoGrow",multiLine:"multiLine",allowImagesPreview:"allowImagesPreview",acceptedTypes:"acceptedTypes",waitForUpload:"waitForUpload",needConfirmRemoveFile:"needConfirmRemoveFile",labelTrue:"labelTrue",labelFalse:"labelFalse",height:"height",allowClear:"allowClear",penColor:"penColor",backgroundColor:"backgroundColor",dataFormat:"dataFormat",defaultValueFromLastPanel:"defaultValueFromLastPanel",panelRemoveButtonLocation:"panelRemoveButtonLocation",showCaption:"showCaption",iconName:"iconName",iconSize:"iconSize"}}},"./src/localization/finnish.ts":
|
|
357
357
|
/*!*************************************!*\
|
|
358
358
|
!*** ./src/localization/finnish.ts ***!
|
|
359
359
|
\*************************************/
|
|
360
|
-
/*! exports provided: fiStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"fiStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Muokkaa",externalHelpLink:"Katso ja opi luomaan kyselyjä",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Pudota kysymys Työkalupakista tähän.",addLogicItem:"Luo sääntö mukauttamaan kyselyn kulkua.",copy:"Kopioi",duplicate:"Monista",addToToolbox:"Lisää Työkalupakkiin",deletePanel:"Poista Paneeli",deleteQuestion:"Poista Kysymys",convertTo:"Konvertoi",drag:"Vedä elementtiä"},qt:{default:"Oletusarvo",checkbox:"Valintaruutu",comment:"Kommentti",imagepicker:"Kuvanvalitsin",ranking:"Sijoitus",image:"Kuva",dropdown:"Pudotusvalikko",file:"Tiedosto",html:"Html",matrix:"Matrix (yksi valinta)",matrixdropdown:"Matrix (monivalinta)",matrixdynamic:"Matrix (dynaamiset rivit)",multipletext:"Useita tekstejä",panel:"Paneeli",paneldynamic:"Paneeli (dynaamiset paneelit)",radiogroup:"Radiopainikeryhmä",rating:"Luokitus",text:"Teksti",boolean:"Totuusarvomuuttuja",expression:"Lauseke(vain luku)",signaturepad:"Allekirjoitusalusta"},ed:{defaultLocale:"Vakio ({0})",survey:"Kysely",settings:"Kyselyn asetukset",settingsTooltip:"Avaa kyselyn asetukset",showPanel:"Näytä Paneeli",hidePanel:"Piilota Paneeli",editSurvey:"Muokkaa kyselyä",addNewPage:"Lisää uusi sivu",moveRight:"Selaa oikealle",moveLeft:"Selaa vasemmalle",deletePage:"Poista sivu",editPage:"Muokkaa sivua",edit:"Muokkaa",newPageName:"sivu",newQuestionName:"kysymys",newPanelName:"paneeli",newTextItemName:"teksti",testSurvey:"Testaa kysely",testSurveyAgain:"Testaa kysely uudestaan",testSurveyWidth:"Kyselyn laajuus: ",navigateToMsg:"Sinun piti navigoida:",logic:"Kysely logiikka",embedSurvey:"Upota kysely",translation:"Käännös",saveSurvey:"Tallenna kysely",saveSurveyTooltip:"Tallenna kysely",designer:"Kyselyn suunnittelija",jsonEditor:"JSON Editori",undo:"Kumoa",redo:"Tee uudelleen",undoTooltip:"Kumoa viimeinen muutos",redoTooltip:"Tee muutos uudelleen",copy:"Kopioi",cut:"Leikkaa",paste:"Liitä",copyTooltip:"Kopioi valinta leikepöydälle",cutTooltip:"Leikkaa valinta leikepöydälle",pasteTooltip:"Liitä leikepöydältä",options:"Vaihtoehdot",generateValidJSON:"Luo kelvollinen JSON",generateReadableJSON:"Luo luettava JSON",toolbox:"Työkalupakki","property-grid":"Properties",toolboxGeneralCategory:"Yleinen",delSelObject:"Poista valittu objekti",editSelObject:"Muokkaa valittua objektia",correctJSON:"Korjaa JSON.",surveyResults:"Kyselyn tulos:",surveyResultsTable:"Taulukossa",surveyResultsJson:"JSON:ssa",resultsTitle:"Kysymyksen otsikko",resultsName:"Kysymyksen nimi",resultsValue:"Vastauksen arvo",resultsDisplayValue:"Näytä arvo",modified:"Muokattu",saving:"Tallentaa",saved:"Tallennettu",propertyEditorError:"Virhe:",saveError:"Virhe! Editorin sisältöä ei ole tallennettu.",translationAddLanguage:"Valitse käännettävä kieli",translationShowAllStrings:"Näytä kaikki merkkijonot",translationShowAllPages:"Näytä kaikki sivut",translationNoStrings:"Ei merkkijonoja käännettäväksi. Vaihda suodatin.",translationExportToSCVButton:"Vie (CSV)",translationImportFromSCVButton:"Tuo (CSV)",translationMergeLocaleWithDefault:"Yhdistä {0} oletuskielellä",bold:"Lihavoitu",italic:"Kursiivi",underline:"Alleviivaa",fpAddQuestion:"Lisää kysymys...",selectPage:"Valitse sivu...",chooseElement:"Valitse elementti...",lg:{addNewItem:"",page_visibilityName:"Sivun näkyvyys",panel_visibilityName:"Panelin näkyvyys",panel_enableName:"Paneeli käytössä/Ei käytössä",question_visibilityName:"Kysymyksen näkyvyys",question_enableName:"Kysymys käytössä/Ei käytössä",question_requireName:"Kysymys valinnainen vaaditaan",trigger_completeName:"Valmis kysely",trigger_setvalueName:"Aseta kysymyksen arvo",trigger_copyvalueName:"Kopioi kysymyksen arvo",trigger_skipName:"Ohita kysymys",trigger_runExpressionName:"Suorita mukautettu lauseke",completedHtmlOnConditionName:"Mukautettu Kiitos -sivuteksti",page_visibilityDescription:"Tee sivusta näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",panel_visibilityDescription:"Tee paneelista näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",panel_enableDescription:"Ota paneeli ja kaikki sen sisällä olevat elementit käyttöön, kun looginen lauseke palauttaa arvon tosi. Muuten pidä ne poissa käytöstä.",question_visibilityDescription:"Tee kysymyksestä näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",question_enableDescription:"Ota kysymys käyttöön, kun looginen lauseke palauttaa arvon tosi. Muussa tapauksessa pidä se poissa käytöstä.",question_requireDescription:"Kysymys tulee pakolliseksi, kun looginen lauseke palauttaa arvon tosi.",trigger_completeDescription:"Kun looginen lauseke palauttaa arvon tosi, kysely valmistuu ja loppukäyttäjä näkee Kiitos -sivun.",trigger_setvalueDescription:"Kun loogisessa lausekkeessa käytettyjä kysymysarvoja muutetaan ja looginen lauseke palauttaa arvon tosi, arvo asetetaan valitulle kysymykselle.",trigger_copyvalueDescription:"Kun loogisessa lausekkeessa käytettyjä kysymysarvoja muutetaan ja looginen lauseke palauttaa arvon tosi, yhden valitun kysymyksen arvo kopioidaan toiseen valittuun kysymykseen.",trigger_skipDescription:"Kun looginen lauseke palauttaa arvon tosi, kysely siirtyy valittuun kysymykseen / kohdista valittu kysymys.",trigger_runExpressionDescription:"When the logic expression returns true, then the custom expression is performed. You may optionally set this expression result into the selected question",completedHtmlOnConditionDescription:"If the logic expression returns true, then the default text for the 'Thank you page' is changed to the given one.",itemExpressionText:"Kun lauseke: '{0}' palauttaa arvon tosi:",page_visibilityText:"Tee sivu {0} näkyväksi",panel_visibilityText:"Tee paneelista {0} näkyvä",panel_enableText:"Ota paneeli {0} käyttöön",question_visibilityText:"Tee kysymys {0} näkyväksi",question_enableText:"Ota kysymys {0} käyttöön",question_requireText:"Tee kysymyksestä {0} pakollinen",trigger_completeText:"Kyselystä tulee täytetty",trigger_setvalueText:"Laita arvo {1} kysymykseen {0}",trigger_copyvalueText:"Kopioi kysymykseen: {0} arvo kysymyksestä {1}",trigger_skipText:"Siirry kyselyn kysymykseen {0}",trigger_runExpressionText1:"Suorita lauseke: '{0}'",trigger_runExpressionText2:" ja aseta sen tulos kysymykseen: {0}",completedHtmlOnConditionText:"Näytä mukautettu teksti Kiitos -sivulle.",conditions:"Ehdot",actions:"Toiminnot",expressionEditorTitle:"Määritä olosuhteet",actionsEditorTitle:"Määritä toiminnot",deleteAction:"Poista toiminto",addNewAction:"Lisää uusi toiminto",selectedActionCaption:"Valitse lisättävä toiminto ...",expressionInvalid:"Looginen lauseke on tyhjä tai virheellinen. Korjaa se.",noActionError:"Lisää ainakin yksi toiminto.",actionInvalid:"Korjaa ongelmat toiminnoissa.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Käytä",ok:"OK",save:"Tallenna",saveTooltip:"Tallenna",cancel:"Peruuta",reset:"Nollaa",refresh:"Päivitä",delete:"Poista",add:"Lisää",addNew:"Lisää uusi",addItem:"Klikkaa lisätäksesi uusi kohde...",addOther:"Muu",addSelectAll:"Valitse kaikki",addNone:"Ei mitään",removeAll:"Poista kaikki",edit:"Muokkaa",back:"Palaa tallentamatta",backTooltip:"Palaa tallentamatta",saveAndBack:"Tallenna ja palaa",saveAndBackTooltip:"Tallenna ja palaa",editChoices:"Muokkaa valintoja",showChoices:"Näytä valinnat",move:"Siirrä",empty:"<tyhjä>",fastEntry:"Nopea pääsy",formEntry:"Lomakkeen pääsy",testService:"Testaa palvelu",itemSelectorEmpty:"Valitse elementti",conditionActionEmpty:"Valitse toiminto",conditionSelectQuestion:"Valitse kysymys...",conditionSelectPage:"Valitse sivu...",conditionSelectPanel:"Valitse paneeli...",conditionValueQuestionTitle:"Syötä / valitse arvo",conditionHelp:"Anna looginen lauseke. Sen pitäisi palauttaa arvo tosi pitääkseen kysymys / sivu näkyvissä. Esimerkiksi: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Voit käyttää aalto sulkeita päästäksesi kysymysarvoihin: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). Voit käyttää funktioita: iif(), today(), age(), min(), max(), count(), avg() ja muita.",aceEditorHelp:"Paina ctrl + välilyönti saadaksesi lausekkeen täydennysvihje",aceEditorRowTitle:"Nykyinen rivi",aceEditorPanelTitle:"Nykyinen paneeli",showMore:"Katso lisätietoja dokumentaatiosta",assistantTitle:"Saatavilla olevat kysymykset:",cellsEmptyRowsColumns:"Sarakkeita tai rivejä on oltava vähintään yksi",propertyIsEmpty:"Anna arvo",propertyIsNoUnique:"Anna yksilöllinen arvo",propertyNameIsNotUnique:"Anna yksilöllinen nimi",listIsEmpty:"Lisää uusi kohde",expressionIsEmpty:"Lauseke on tyhjä",value:"Arvo",text:"Teksti",rowid:"Rivi ID",imageLink:"Kuvalinkki",columnEdit:"Muokkaa saraketta: {0}",itemEdit:"Muokkaa kohdetta: {0}",url:"URL",path:"Polku",valueName:"Arvon nimi",titleName:"Otsikon nimi",titlePlaceholder:"Syötä otsikko tähän",surveyTitlePlaceholder:"Syötä kyselyn otsikko tähän",pageTitlePlaceholder:"Syötä sivun otsikko tähän",descriptionPlaceholder:"Lisää kuvaus",surveyDescriptionPlaceholder:"Lisää kyselyn kuvaus",pageDescriptionPlaceholder:"Lisää sivun kuvaus",hasOther:"On muu",otherText:"Muu teksti",hasNone:"Ei mitään",noneText:"Ei mitään tekstiä",hasSelectAll:"On valinnut kaikki",selectAllText:"Valitse kaikki tekstit",choicesMin:"Automaattisesti luotujen valintojen vähimmäisarvo",choicesMax:"Automaattisesti luotujen valintojen enimmäisarvo",choicesStep:"Automaattisesti luotujen valintojen ero",name:"Nimi",title:"Otsikko",cellType:"Solutyyppi",colCount:"Sarakemäärä",choicesOrder:"Valitse valintojen järjestys",visible:"On näkyvä?",isRequired:"On vaadittu?",isAllRowRequired:"Vaadi vastaus kaikille riveille",requiredErrorText:"Vaadittu virheteksti",startWithNewLine:"Onko aloitus uudella rivillä?",rows:"Rivit",cols:"Sarakeet",placeHolder:"Syötä paikkamerkintä",showPreview:"Näytä esikatselu",storeDataAsText:"Tallenna tiedostosisältö JSON-tulokseen tekstinä",maxSize:"Tiedoston enimmäiskoko tavuina",imageHeight:"Kuvan korkeus",imageWidth:"Kuvan leveys",rowCount:"Rivien määrä",columnLayout:"Sarakkeiden asettelu",addRowLocation:"Lisää rivipainikkeen sijainti",addRowText:"Lisää rivipainikkeen teksti",removeRowText:"Poista rivipainikkeen teksti",rateMin:"Vähimmäismäärä",rateMax:"Enimmäismäärä",rateStep:"Arvostele askel",minRateDescription:"Vähimmäismäärän kuvaus",maxRateDescription:"Enimmäismäärän kuvaus",inputType:"Syötä tyyppi",optionsCaption:"Vaihtoehdot kuvateksti",defaultValue:"Oletusarvo",cellsDefaultRow:"Oletussolutekstit",surveyEditorTitle:"Muokkaa kyselyn asetuksia",qEditorTitle:"Muokkaa: {0}",maxLength:"Enimmäispituus",buildExpression:"Luo",editExpression:"Muokkaa",and:"Ja",or:"Tai",remove:"Poista",addCondition:"Lisää ehto",showTitle:"Näytä/piilota otsikko",expandCollapseTitle:"Laajenna / tiivistä otsikkoa",locale:"Oletus kieli",simulator:"Valitse laite",landscapeOrientation:"Vaakasuunta",mode:"Tila (vain muokkaus / vain luku)",clearInvisibleValues:"Tyhjennä näkymättömät arvot",cookieName:"Evästeen nimi (poistaaksesi kysely käytöstä suorita kysely kaksi kertaa paikallisesti)",sendResultOnPageNext:"Lähetä kyselyn tulokset seuraavalla sivulla",storeOthersAsComment:"Tallenna 'muut' arvo erilliseen kenttään",showPageTitles:"Näytä sivun otsikot",showPageNumbers:"Näytä sivunumerot",pagePrevText:"Edellinen sivu -painikkeen teksti",pageNextText:"Seuraava sivu -painikkeen teksti",completeText:"Valmis -painikkeen teksti",previewText:"Esikatsele -painikkeen teksti",editText:"Muokkaa -painikkeen teksti",startSurveyText:"Aloita -painikkeen teksti",showNavigationButtons:"Näytä navigointipainikkeet (oletusnavigointi)",showPrevButton:"Näytä edellinen -painike (käyttäjä voi palata edelliselle sivulle)",firstPageIsStarted:"Kyselyn ensimmäinen sivu on aloitussivu.",showCompletedPage:"Näytä valmis sivu lopussa (completeHtml)",goNextPageAutomatic:"Kun vastaat kaikkiin kysymyksiin, siirry seuraavalle sivulle automaattisesti",showProgressBar:"Näytä edistymispalkki",questionTitleLocation:"Kysymyksen otsikon sijainti",requiredText:"Kysymys vaadittu symboli (t)",questionStartIndex:"Kysymyksen aloitus indeksi (1, 2 or 'A', 'a')",showQuestionNumbers:"Näytä kysymysnumerot",questionTitleTemplate:"Kysymyksen otsikkomalli, oletusarvo: '{no}. {require} {title}'",questionErrorLocation:"Kysymyksen virheen sijainti",focusFirstQuestionAutomatic:"Fokusoi ensimmäiseen kysymykseen sivun vaihtuessa",questionsOrder:"Elementtien järjestys sivulla",maxTimeToFinish:"Enimmäisaika saada kysely täytettyä",maxTimeToFinishPage:"Enimmäisaika kyselyn sivun täyttämiseen",showTimerPanel:"Näytä ajastus -paneeli",showTimerPanelMode:"Näytä ajastus -paneelin tila",renderMode:"Renderöinnin tila",allowAddPanel:"Salli paneelin lisääminen",allowRemovePanel:"Salli paneelin poistaminen",panelAddText:"Paneelin tekstin lisääminen",panelRemoveText:"Paneelin tekstin poistaminen",isSinglePage:"Näytä kaikki elementit yhdellä sivulla",html:"Html",expression:"Lauseke",minValue:"Vähimmäisarvo",maxValue:"Suurin arvo",minLength:"Vähimmäispituus",allowDigits:"Salli numerot",minCount:"Vähimmäismäärä",maxCount:"Enimmäismäärä",regex:"Regular expression",logoPosition:"Logo sijainti",addLogo:"Lisää logo...",changeLogo:"Muuta logo...",logoPositions:{none:"Poista logo",left:"Vasen",right:"Oikea",top:"Päällä",bottom:"Alla"},tabs:{general:"Yleinen",fileOptions:"Vaihtoehdot",html:"Html Editori",columns:"Sarakkeet",rows:"Rivit",choices:"Valinnat",items:"Kohteet",visibleIf:"Näkyvä jos",enableIf:"Käytössä jos",requiredIf:"Vaadittu jos",rateValues:"Järjestä arvot",choicesByUrl:"Valintoja verkosta",matrixChoices:"Oletus valinnat",multipleTextItems:"Tekstinsyötöt",numbering:"Numerointi",validators:"Validattorit",navigation:"Navigointi",question:"Kysymys",pages:"Sivut",completedHtml:"Valmis Html",completedHtmlOnCondition:"Valmis Html ehdolla",loadingHtml:"Lataa Html",timer:"Ajastin / tietovisa",calculatedValues:"Lasketut arvot",triggers:"Triggerit",templateTitle:"Mallin otsikko",totals:"Yhteensä",logic:"Logiikka",layout:"Layout",data:"Data",validation:"Validointi",cells:"Solut",showOnCompleted:"Näytä kun valmis",logo:"Logo kyselyn otsikossa",slider:"Liukusäädin",others:"Muut"},editProperty:"Muokkaa ominaisuutta'{0}'",items:"[ Kohteet: {0} ]",enterNewValue:"Anna arvo.",noquestions:"Kyselyssä ei ole yhtään kysymystä.",createtrigger:"Luo triggeri",titleKeyboardAdornerTip:"Paina Enter -painiketta muokataksesi",keyboardAdornerTip:"Voit muokata kohdetta painamalla Enter -painiketta, poistaa kohteen painamalla poistopainiketta, siirtää kohdetta painamalla Alt plus nuoli ylös tai nuoli alas",keyboardMoveItemsTip:"Paina Alt plus nuoli ylös tai nuoli alas siirtääksesi kohdetta",triggerOn:"Päällä ",triggerMakePagesVisible:"Tee sivuista näkyviä:",triggerMakeQuestionsVisible:"Tee elementit näkyviksi:",triggerCompleteText:"Valmista kysely, jos se on onnistunut.",triggerNotSet:"Triggeriä ei ole asetettu",triggerRunIf:"Suorita jos",triggerSetToName:"Muuta arvoa: ",triggerFromName:"Kopioi arvo kohteesta: ",triggerRunExpression:"Suorita tämä lauseke:",triggerSetValue:"kohtaan: ",triggerGotoName:"Siirry kysymykseen:",triggerIsVariable:"Älä lisää muuttujaa kyselyn tulokseen.",triggerRunExpressionEmpty:"Anna kelvollinen lauseke",noFile:"Tiedostoa ei ole valittuna"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"on tyhjä",notempty:"ei ole tyhjä",equal:"yhtäsuurikuin",notequal:"ei ole yhtäsuurikuin",contains:"sisältää",notcontains:"ei sisällä",anyof:"mikä tahansa",allof:"kaikki",greater:"suurempi",less:"vähemmän",greaterorequal:"suurempi tai yhtäsuurikuin",lessorequal:"vähemmän tai yhtäsuurikuin",and:"ja",or:"tai"},ew:{angular:"Käytä Angular versiota",jquery:"Käytä jQuery versiota",knockout:"Käytä Knockout versiota",react:"Käytä React versiota",vue:"Käytä Vue versiota",bootstrap:"Bootstrap työkalulle",modern:"Moderni teema",default:"Oletus teema",orange:"Oranssi teema",darkblue:"Tummansininen teema",darkrose:"Tumma ruusu teema",stone:"Kiviteema",winter:"Talvi teema",winterstone:"Talvi-kivi-teema",showOnPage:"Näytä kysely sivulla",showInWindow:"Näytä kysely ikkunassa",loadFromServer:"Lataa kysely palvelimelta JSON muodossa",titleScript:"Skriptit ja tyylit",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Valitse sivu testataksesi sitä:",showInvisibleElements:"Näytä näkymätön elementti"},validators:{answercountvalidator:"vastausten määrä",emailvalidator:"sähköposti",expressionvalidator:"lauseke",numericvalidator:"lukumääräinen",regexvalidator:"säännöllinen lauseke",textvalidator:"teksti"},triggers:{completetrigger:"valmis kysely",setvaluetrigger:"aseta arvo",copyvaluetrigger:"kopioi arvo",skiptrigger:"siirry kysymykseen",runexpressiontrigger:"suorita lauseke",visibletrigger:"muuta näkyvyyttä (vanhentunut)"},pehelp:{},p:{name:"nimi",title:{name:"otsikko",title:"Jätä se tyhjäksi, jos se on sama kuin 'Nimi'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.fi=r},"./src/localization/french.ts":
|
|
360
|
+
/*! exports provided: fiStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"fiStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Muokkaa",externalHelpLink:"Katso ja opi luomaan kyselyjä",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Pudota kysymys Työkalupakista tähän.",addLogicItem:"Luo sääntö mukauttamaan kyselyn kulkua.",copy:"Kopioi",duplicate:"Monista",addToToolbox:"Lisää Työkalupakkiin",deletePanel:"Poista Paneeli",deleteQuestion:"Poista Kysymys",convertTo:"Konvertoi",drag:"Vedä elementtiä"},qt:{default:"Oletusarvo",checkbox:"Valintaruutu",comment:"Kommentti",imagepicker:"Kuvanvalitsin",ranking:"Sijoitus",image:"Kuva",dropdown:"Pudotusvalikko",file:"Tiedosto",html:"Html",matrix:"Matrix (yksi valinta)",matrixdropdown:"Matrix (monivalinta)",matrixdynamic:"Matrix (dynaamiset rivit)",multipletext:"Useita tekstejä",panel:"Paneeli",paneldynamic:"Paneeli (dynaamiset paneelit)",radiogroup:"Radiopainikeryhmä",rating:"Luokitus",text:"Teksti",boolean:"Totuusarvomuuttuja",expression:"Lauseke(vain luku)",signaturepad:"Allekirjoitusalusta"},ed:{defaultLocale:"Vakio ({0})",survey:"Kysely",settings:"Kyselyn asetukset",settingsTooltip:"Avaa kyselyn asetukset",showPanel:"Näytä Paneeli",hidePanel:"Piilota Paneeli",editSurvey:"Muokkaa kyselyä",addNewPage:"Lisää uusi sivu",moveRight:"Selaa oikealle",moveLeft:"Selaa vasemmalle",deletePage:"Poista sivu",editPage:"Muokkaa sivua",edit:"Muokkaa",newPageName:"sivu",newQuestionName:"kysymys",newPanelName:"paneeli",newTextItemName:"teksti",testSurvey:"Testaa kysely",testSurveyAgain:"Testaa kysely uudestaan",testSurveyWidth:"Kyselyn laajuus: ",navigateToMsg:"Sinun piti navigoida:",logic:"Kysely logiikka",embedSurvey:"Upota kysely",translation:"Käännös",saveSurvey:"Tallenna kysely",saveSurveyTooltip:"Tallenna kysely",designer:"Kyselyn suunnittelija",jsonEditor:"JSON Editori",undo:"Kumoa",redo:"Tee uudelleen",undoTooltip:"Kumoa viimeinen muutos",redoTooltip:"Tee muutos uudelleen",copy:"Kopioi",cut:"Leikkaa",paste:"Liitä",copyTooltip:"Kopioi valinta leikepöydälle",cutTooltip:"Leikkaa valinta leikepöydälle",pasteTooltip:"Liitä leikepöydältä",options:"Vaihtoehdot",generateValidJSON:"Luo kelvollinen JSON",generateReadableJSON:"Luo luettava JSON",toolbox:"Työkalupakki","property-grid":"Properties",toolboxGeneralCategory:"Yleinen",delSelObject:"Poista valittu objekti",editSelObject:"Muokkaa valittua objektia",correctJSON:"Korjaa JSON.",surveyResults:"Kyselyn tulos:",surveyResultsTable:"Taulukossa",surveyResultsJson:"JSON:ssa",resultsTitle:"Kysymyksen otsikko",resultsName:"Kysymyksen nimi",resultsValue:"Vastauksen arvo",resultsDisplayValue:"Näytä arvo",modified:"Muokattu",saving:"Tallentaa",saved:"Tallennettu",propertyEditorError:"Virhe:",saveError:"Virhe! Editorin sisältöä ei ole tallennettu.",translationAddLanguage:"Valitse käännettävä kieli",translationShowAllStrings:"Näytä kaikki merkkijonot",translationShowAllPages:"Näytä kaikki sivut",translationNoStrings:"Ei merkkijonoja käännettäväksi. Vaihda suodatin.",translationExportToSCVButton:"Vie (CSV)",translationImportFromSCVButton:"Tuo (CSV)",translationMergeLocaleWithDefault:"Yhdistä {0} oletuskielellä",bold:"Lihavoitu",italic:"Kursiivi",underline:"Alleviivaa",fpAddQuestion:"Lisää kysymys...",selectPage:"Valitse sivu...",chooseElement:"Valitse elementti...",lg:{page_visibilityName:"Sivun näkyvyys",panel_visibilityName:"Panelin näkyvyys",panel_enableName:"Paneeli käytössä/Ei käytössä",question_visibilityName:"Kysymyksen näkyvyys",question_enableName:"Kysymys käytössä/Ei käytössä",question_requireName:"Kysymys valinnainen vaaditaan",trigger_completeName:"Valmis kysely",trigger_setvalueName:"Aseta kysymyksen arvo",trigger_copyvalueName:"Kopioi kysymyksen arvo",trigger_skipName:"Ohita kysymys",trigger_runExpressionName:"Suorita mukautettu lauseke",completedHtmlOnConditionName:"Mukautettu Kiitos -sivuteksti",page_visibilityDescription:"Tee sivusta näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",panel_visibilityDescription:"Tee paneelista näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",panel_enableDescription:"Ota paneeli ja kaikki sen sisällä olevat elementit käyttöön, kun looginen lauseke palauttaa arvon tosi. Muuten pidä ne poissa käytöstä.",question_visibilityDescription:"Tee kysymyksestä näkyvä, kun looginen lauseke palauttaa arvon tosi. Muuten pidä se näkymättömänä.",question_enableDescription:"Ota kysymys käyttöön, kun looginen lauseke palauttaa arvon tosi. Muussa tapauksessa pidä se poissa käytöstä.",question_requireDescription:"Kysymys tulee pakolliseksi, kun looginen lauseke palauttaa arvon tosi.",trigger_completeDescription:"Kun looginen lauseke palauttaa arvon tosi, kysely valmistuu ja loppukäyttäjä näkee Kiitos -sivun.",trigger_setvalueDescription:"Kun loogisessa lausekkeessa käytettyjä kysymysarvoja muutetaan ja looginen lauseke palauttaa arvon tosi, arvo asetetaan valitulle kysymykselle.",trigger_copyvalueDescription:"Kun loogisessa lausekkeessa käytettyjä kysymysarvoja muutetaan ja looginen lauseke palauttaa arvon tosi, yhden valitun kysymyksen arvo kopioidaan toiseen valittuun kysymykseen.",trigger_skipDescription:"Kun looginen lauseke palauttaa arvon tosi, kysely siirtyy valittuun kysymykseen / kohdista valittu kysymys.",trigger_runExpressionDescription:"When the logic expression returns true, then the custom expression is performed. You may optionally set this expression result into the selected question",completedHtmlOnConditionDescription:"If the logic expression returns true, then the default text for the 'Thank you page' is changed to the given one.",itemExpressionText:"Kun lauseke: '{0}' palauttaa arvon tosi:",page_visibilityText:"Tee sivu {0} näkyväksi",panel_visibilityText:"Tee paneelista {0} näkyvä",panel_enableText:"Ota paneeli {0} käyttöön",question_visibilityText:"Tee kysymys {0} näkyväksi",question_enableText:"Ota kysymys {0} käyttöön",question_requireText:"Tee kysymyksestä {0} pakollinen",trigger_completeText:"Kyselystä tulee täytetty",trigger_setvalueText:"Laita arvo {1} kysymykseen {0}",trigger_copyvalueText:"Kopioi kysymykseen: {0} arvo kysymyksestä {1}",trigger_skipText:"Siirry kyselyn kysymykseen {0}",trigger_runExpressionText1:"Suorita lauseke: '{0}'",trigger_runExpressionText2:" ja aseta sen tulos kysymykseen: {0}",completedHtmlOnConditionText:"Näytä mukautettu teksti Kiitos -sivulle.",conditions:"Ehdot",actions:"Toiminnot",expressionEditorTitle:"Määritä olosuhteet",actionsEditorTitle:"Määritä toiminnot",deleteAction:"Poista toiminto",addNewAction:"Lisää uusi toiminto",selectedActionCaption:"Valitse lisättävä toiminto ...",expressionInvalid:"Looginen lauseke on tyhjä tai virheellinen. Korjaa se.",noActionError:"Lisää ainakin yksi toiminto.",actionInvalid:"Korjaa ongelmat toiminnoissa.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Käytä",ok:"OK",save:"Tallenna",saveTooltip:"Tallenna",cancel:"Peruuta",reset:"Nollaa",refresh:"Päivitä",delete:"Poista",add:"Lisää",addNew:"Lisää uusi",addItem:"Klikkaa lisätäksesi uusi kohde...",addOther:"Muu",addSelectAll:"Valitse kaikki",addNone:"Ei mitään",removeAll:"Poista kaikki",edit:"Muokkaa",back:"Palaa tallentamatta",backTooltip:"Palaa tallentamatta",saveAndBack:"Tallenna ja palaa",saveAndBackTooltip:"Tallenna ja palaa",editChoices:"Muokkaa valintoja",showChoices:"Näytä valinnat",move:"Siirrä",empty:"<tyhjä>",fastEntry:"Nopea pääsy",formEntry:"Lomakkeen pääsy",testService:"Testaa palvelu",itemSelectorEmpty:"Valitse elementti",conditionActionEmpty:"Valitse toiminto",conditionSelectQuestion:"Valitse kysymys...",conditionSelectPage:"Valitse sivu...",conditionSelectPanel:"Valitse paneeli...",conditionValueQuestionTitle:"Syötä / valitse arvo",conditionHelp:"Anna looginen lauseke. Sen pitäisi palauttaa arvo tosi pitääkseen kysymys / sivu näkyvissä. Esimerkiksi: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Voit käyttää aalto sulkeita päästäksesi kysymysarvoihin: {question1} + {question2}, ({price}*{quantity}) * (100 - {discount}). Voit käyttää funktioita: iif(), today(), age(), min(), max(), count(), avg() ja muita.",aceEditorHelp:"Paina ctrl + välilyönti saadaksesi lausekkeen täydennysvihje",aceEditorRowTitle:"Nykyinen rivi",aceEditorPanelTitle:"Nykyinen paneeli",showMore:"Katso lisätietoja dokumentaatiosta",assistantTitle:"Saatavilla olevat kysymykset:",cellsEmptyRowsColumns:"Sarakkeita tai rivejä on oltava vähintään yksi",propertyIsEmpty:"Anna arvo",propertyIsNoUnique:"Anna yksilöllinen arvo",propertyNameIsNotUnique:"Anna yksilöllinen nimi",listIsEmpty:"Lisää uusi kohde",expressionIsEmpty:"Lauseke on tyhjä",value:"Arvo",text:"Teksti",rowid:"Rivi ID",imageLink:"Kuvalinkki",columnEdit:"Muokkaa saraketta: {0}",itemEdit:"Muokkaa kohdetta: {0}",url:"URL",path:"Polku",valueName:"Arvon nimi",titleName:"Otsikon nimi",titlePlaceholder:"Syötä otsikko tähän",surveyTitlePlaceholder:"Syötä kyselyn otsikko tähän",pageTitlePlaceholder:"Syötä sivun otsikko tähän",descriptionPlaceholder:"Lisää kuvaus",surveyDescriptionPlaceholder:"Lisää kyselyn kuvaus",pageDescriptionPlaceholder:"Lisää sivun kuvaus",hasOther:"On muu",otherText:"Muu teksti",hasNone:"Ei mitään",noneText:"Ei mitään tekstiä",hasSelectAll:"On valinnut kaikki",selectAllText:"Valitse kaikki tekstit",choicesMin:"Automaattisesti luotujen valintojen vähimmäisarvo",choicesMax:"Automaattisesti luotujen valintojen enimmäisarvo",choicesStep:"Automaattisesti luotujen valintojen ero",name:"Nimi",title:"Otsikko",cellType:"Solutyyppi",colCount:"Sarakemäärä",choicesOrder:"Valitse valintojen järjestys",visible:"On näkyvä?",isRequired:"On vaadittu?",isAllRowRequired:"Vaadi vastaus kaikille riveille",requiredErrorText:"Vaadittu virheteksti",startWithNewLine:"Onko aloitus uudella rivillä?",rows:"Rivit",cols:"Sarakeet",placeHolder:"Syötä paikkamerkintä",showPreview:"Näytä esikatselu",storeDataAsText:"Tallenna tiedostosisältö JSON-tulokseen tekstinä",maxSize:"Tiedoston enimmäiskoko tavuina",imageHeight:"Kuvan korkeus",imageWidth:"Kuvan leveys",rowCount:"Rivien määrä",columnLayout:"Sarakkeiden asettelu",addRowLocation:"Lisää rivipainikkeen sijainti",addRowText:"Lisää rivipainikkeen teksti",removeRowText:"Poista rivipainikkeen teksti",rateMin:"Vähimmäismäärä",rateMax:"Enimmäismäärä",rateStep:"Arvostele askel",minRateDescription:"Vähimmäismäärän kuvaus",maxRateDescription:"Enimmäismäärän kuvaus",inputType:"Syötä tyyppi",optionsCaption:"Vaihtoehdot kuvateksti",defaultValue:"Oletusarvo",cellsDefaultRow:"Oletussolutekstit",surveyEditorTitle:"Muokkaa kyselyn asetuksia",qEditorTitle:"Muokkaa: {0}",maxLength:"Enimmäispituus",buildExpression:"Luo",editExpression:"Muokkaa",and:"Ja",or:"Tai",remove:"Poista",addCondition:"Lisää ehto",showTitle:"Näytä/piilota otsikko",expandCollapseTitle:"Laajenna / tiivistä otsikkoa",locale:"Oletus kieli",simulator:"Valitse laite",landscapeOrientation:"Vaakasuunta",mode:"Tila (vain muokkaus / vain luku)",clearInvisibleValues:"Tyhjennä näkymättömät arvot",cookieName:"Evästeen nimi (poistaaksesi kysely käytöstä suorita kysely kaksi kertaa paikallisesti)",sendResultOnPageNext:"Lähetä kyselyn tulokset seuraavalla sivulla",storeOthersAsComment:"Tallenna 'muut' arvo erilliseen kenttään",showPageTitles:"Näytä sivun otsikot",showPageNumbers:"Näytä sivunumerot",pagePrevText:"Edellinen sivu -painikkeen teksti",pageNextText:"Seuraava sivu -painikkeen teksti",completeText:"Valmis -painikkeen teksti",previewText:"Esikatsele -painikkeen teksti",editText:"Muokkaa -painikkeen teksti",startSurveyText:"Aloita -painikkeen teksti",showNavigationButtons:"Näytä navigointipainikkeet (oletusnavigointi)",showPrevButton:"Näytä edellinen -painike (käyttäjä voi palata edelliselle sivulle)",firstPageIsStarted:"Kyselyn ensimmäinen sivu on aloitussivu.",showCompletedPage:"Näytä valmis sivu lopussa (completeHtml)",goNextPageAutomatic:"Kun vastaat kaikkiin kysymyksiin, siirry seuraavalle sivulle automaattisesti",showProgressBar:"Näytä edistymispalkki",questionTitleLocation:"Kysymyksen otsikon sijainti",requiredText:"Kysymys vaadittu symboli (t)",questionStartIndex:"Kysymyksen aloitus indeksi (1, 2 or 'A', 'a')",showQuestionNumbers:"Näytä kysymysnumerot",questionTitleTemplate:"Kysymyksen otsikkomalli, oletusarvo: '{no}. {require} {title}'",questionErrorLocation:"Kysymyksen virheen sijainti",focusFirstQuestionAutomatic:"Fokusoi ensimmäiseen kysymykseen sivun vaihtuessa",questionsOrder:"Elementtien järjestys sivulla",maxTimeToFinish:"Enimmäisaika saada kysely täytettyä",maxTimeToFinishPage:"Enimmäisaika kyselyn sivun täyttämiseen",showTimerPanel:"Näytä ajastus -paneeli",showTimerPanelMode:"Näytä ajastus -paneelin tila",renderMode:"Renderöinnin tila",allowAddPanel:"Salli paneelin lisääminen",allowRemovePanel:"Salli paneelin poistaminen",panelAddText:"Paneelin tekstin lisääminen",panelRemoveText:"Paneelin tekstin poistaminen",isSinglePage:"Näytä kaikki elementit yhdellä sivulla",html:"Html",expression:"Lauseke",minValue:"Vähimmäisarvo",maxValue:"Suurin arvo",minLength:"Vähimmäispituus",allowDigits:"Salli numerot",minCount:"Vähimmäismäärä",maxCount:"Enimmäismäärä",regex:"Regular expression",logoPosition:"Logo sijainti",addLogo:"Lisää logo...",changeLogo:"Muuta logo...",logoPositions:{none:"Poista logo",left:"Vasen",right:"Oikea",top:"Päällä",bottom:"Alla"},tabs:{general:"Yleinen",fileOptions:"Vaihtoehdot",html:"Html Editori",columns:"Sarakkeet",rows:"Rivit",choices:"Valinnat",items:"Kohteet",visibleIf:"Näkyvä jos",enableIf:"Käytössä jos",requiredIf:"Vaadittu jos",rateValues:"Järjestä arvot",choicesByUrl:"Valintoja verkosta",matrixChoices:"Oletus valinnat",multipleTextItems:"Tekstinsyötöt",numbering:"Numerointi",validators:"Validattorit",navigation:"Navigointi",question:"Kysymys",pages:"Sivut",completedHtml:"Valmis Html",completedHtmlOnCondition:"Valmis Html ehdolla",loadingHtml:"Lataa Html",timer:"Ajastin / tietovisa",calculatedValues:"Lasketut arvot",triggers:"Triggerit",templateTitle:"Mallin otsikko",totals:"Yhteensä",logic:"Logiikka",layout:"Layout",data:"Data",validation:"Validointi",cells:"Solut",showOnCompleted:"Näytä kun valmis",logo:"Logo kyselyn otsikossa",slider:"Liukusäädin",others:"Muut"},editProperty:"Muokkaa ominaisuutta'{0}'",items:"[ Kohteet: {0} ]",enterNewValue:"Anna arvo.",noquestions:"Kyselyssä ei ole yhtään kysymystä.",createtrigger:"Luo triggeri",titleKeyboardAdornerTip:"Paina Enter -painiketta muokataksesi",keyboardAdornerTip:"Voit muokata kohdetta painamalla Enter -painiketta, poistaa kohteen painamalla poistopainiketta, siirtää kohdetta painamalla Alt plus nuoli ylös tai nuoli alas",keyboardMoveItemsTip:"Paina Alt plus nuoli ylös tai nuoli alas siirtääksesi kohdetta",triggerOn:"Päällä ",triggerMakePagesVisible:"Tee sivuista näkyviä:",triggerMakeQuestionsVisible:"Tee elementit näkyviksi:",triggerCompleteText:"Valmista kysely, jos se on onnistunut.",triggerNotSet:"Triggeriä ei ole asetettu",triggerRunIf:"Suorita jos",triggerSetToName:"Muuta arvoa: ",triggerFromName:"Kopioi arvo kohteesta: ",triggerRunExpression:"Suorita tämä lauseke:",triggerSetValue:"kohtaan: ",triggerGotoName:"Siirry kysymykseen:",triggerIsVariable:"Älä lisää muuttujaa kyselyn tulokseen.",triggerRunExpressionEmpty:"Anna kelvollinen lauseke",noFile:"Tiedostoa ei ole valittuna"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"on tyhjä",notempty:"ei ole tyhjä",equal:"yhtäsuurikuin",notequal:"ei ole yhtäsuurikuin",contains:"sisältää",notcontains:"ei sisällä",anyof:"mikä tahansa",allof:"kaikki",greater:"suurempi",less:"vähemmän",greaterorequal:"suurempi tai yhtäsuurikuin",lessorequal:"vähemmän tai yhtäsuurikuin",and:"ja",or:"tai"},ew:{angular:"Käytä Angular versiota",jquery:"Käytä jQuery versiota",knockout:"Käytä Knockout versiota",react:"Käytä React versiota",vue:"Käytä Vue versiota",bootstrap:"Bootstrap työkalulle",modern:"Moderni teema",default:"Oletus teema",orange:"Oranssi teema",darkblue:"Tummansininen teema",darkrose:"Tumma ruusu teema",stone:"Kiviteema",winter:"Talvi teema",winterstone:"Talvi-kivi-teema",showOnPage:"Näytä kysely sivulla",showInWindow:"Näytä kysely ikkunassa",loadFromServer:"Lataa kysely palvelimelta JSON muodossa",titleScript:"Skriptit ja tyylit",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Valitse sivu testataksesi sitä:",showInvisibleElements:"Näytä näkymätön elementti"},validators:{answercountvalidator:"vastausten määrä",emailvalidator:"sähköposti",expressionvalidator:"lauseke",numericvalidator:"lukumääräinen",regexvalidator:"säännöllinen lauseke",textvalidator:"teksti"},triggers:{completetrigger:"valmis kysely",setvaluetrigger:"aseta arvo",copyvaluetrigger:"kopioi arvo",skiptrigger:"siirry kysymykseen",runexpressiontrigger:"suorita lauseke",visibletrigger:"muuta näkyvyyttä (vanhentunut)"},pehelp:{},p:{name:"nimi",title:{name:"otsikko",title:"Jätä se tyhjäksi, jos se on sama kuin 'Nimi'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.fi=r},"./src/localization/french.ts":
|
|
361
361
|
/*!************************************!*\
|
|
362
362
|
!*** ./src/localization/french.ts ***!
|
|
363
363
|
\************************************/
|
|
@@ -385,7 +385,7 @@ License: MIT
|
|
|
385
385
|
/*!***************************************!*\
|
|
386
386
|
!*** ./src/localization/norwegian.ts ***!
|
|
387
387
|
\***************************************/
|
|
388
|
-
/*! exports provided: nbStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"nbStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Rediger",externalHelpLink:"Se og lær hvordan å opprette nye skjema",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Dra og slipp et spørsmål her fra Verktøylisten til venstre.",addLogicItem:"Opprett en regel for å skreddersy skjemaflyten",copy:"Kopier",addToToolbox:"Legg til verktøylisten",deletePanel:"Slett panel",deleteQuestion:"Slett spørsmål",convertTo:"Konverter til",drag:"Dra element"},qt:{default:"Standard",checkbox:"Sjekkboks",comment:"Kommentar",imagepicker:"Bildevelger",image:"Bilde",dropdown:"Nedtrekksliste",file:"Fil",html:"Html",matrix:"Matrise (enkelvalg)",matrixdropdown:"Matrise (flervalg)",matrixdynamic:"Matrise (dynamiske rader)",multipletext:"Flerlinjetekst",panel:"Panel",paneldynamic:"Panel (dynamiske paneler)",radiogroup:"Radiogruppe",rating:"Rangering",text:"Enkel tekst",boolean:"Boolean",expression:"Formel",signaturepad:"Signatur",flowpanel:"Flytpanel"},ed:{defaultLocale:"Standard ({0})",survey:"Skjema",settings:"Skjemainnstillinger",settingsTooltip:"Åpne skjemainnstillinger",showPanel:"Vis panel",hidePanel:"Skjul panel",addNewPage:"Legg til ny side",moveRight:"Bla til høyre",moveLeft:"Bla til venstre",deletePage:"Slett side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørsmål",newPanelName:"panel",newTextItemName:"tekst",testSurvey:"Test skjema",testSurveyAgain:"Test skjema igjen",testSurveyWidth:"Skjemabredde: ",navigateToMsg:"Du måtte navigere til:",logic:"Skjemalogikk",embedSurvey:"Integrer skjema",translation:"Oversettelse",saveSurvey:"Lagre skjema",saveSurveyTooltip:"Lagre skjema",designer:"Skjemadesigner",jsonEditor:"JSON-redigering",undo:"Angre",redo:"Gjenta",undoTooltip:"Angre siste endring",redoTooltip:"Gjør om siste endring",copy:"Kopier",cut:"Kutt",paste:"Lim innn",copyTooltip:"Kopier valgt seksjon inn i utklippstavla",cutTooltip:"Kutt valgt seksjon inn i utklippstavla",pasteTooltip:"Lim inn fra utklippstavla",options:"Alternativer",generateValidJSON:"Lag gyldig JSON",generateReadableJSON:"Lag lesbar JSON",toolbox:"Verktøyliste","property-grid":"Innstillinger",toolboxGeneralCategory:"Generelt",correctJSON:"Vennligst korriger JSON.",surveyResults:"Skjemaresultat: ",surveyResultsTable:"Som tabell",surveyResultsJson:"Som JSON",resultsTitle:"Spørsmålstittel",resultsName:"Spørsmålsnavn",resultsValue:"Svar",resultsDisplayValue:"Vist verdi",modified:"Endret",saving:"Lagrer",saved:"Lagret",propertyEditorError:"Feil:",saveError:"Feil! Skjema innhold er ikke lagret.",translationAddLanguage:"Velg språk for oversetting",translationShowAllStrings:"Vis alle strenger",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen strenger å oversette. Vennligst endre filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flett {0} med standard språk",bold:"Fet",italic:"Kursiv",underline:"Underlinjet",fpAddQuestion:"Legg til spørsmål...",selectPage:"Velg side...",chooseElement:"Velg element...",lg:{addNewItem:"",page_visibilityName:"Sidesynlighet",panel_visibilityName:"Panelsynlighet",panel_enableName:"Panel aktivere/deaktivere",question_visibilityName:"Spørsmålssynlghet",question_enableName:"Spørsmål aktivere/deaktivere",question_requireName:"Spørsmål valgfritt/påkrevd",trigger_completeName:"Fullfør skjema",trigger_setvalueName:"Angi spørsmålsnavn",trigger_copyvalueName:"Kopier spørsmålsverdi",trigger_skipName:"Hopp til spørsmål",trigger_runExpressionName:"Kjør tilpasset formel",completedHtmlOnConditionName:"Tilpasset 'Takk-side' tekst",page_visibilityDescription:"Gjør siden synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",panel_visibilityDescription:"Gjør panelet synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",panel_enableDescription:"Aktiverer panelet, og alle elementer inni, når formelen evalueres til 'sann'. I andre tilfeller holdes de deaktivert.",question_visibilityDescription:"Gjør spørsmålet synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",question_enableDescription:"Aktiverer spørsmålet når formelen evalueres til 'sann', og holder den ellers deaktivert.",question_requireDescription:"Spørmsålet blir påkrevd når formelen evalueres til 'sann'.",trigger_completeDescription:"Når formelen evalueres til 'sann' fullføres skjemaet og sluttbrukeren ser 'Takk-siden'.",trigger_setvalueDescription:"Når spørsmålsverdier som er brukt i formelen endres, og formelen evalueres som 'sann', vil verdien settes i det valgte spørsmålet.",trigger_copyvalueDescription:"Når spørsmålsverdier som er brukt i formelen endres, og formelen evalueres som 'sann', vil verdien i et valgt spørsmål kopieres til et annet valgt spørsmål.",trigger_skipDescription:"Når formelen evalueres til 'sann' vil skjemaet hoppe til/fokusere på valgt spørsmål.",trigger_runExpressionDescription:"Når formelen evauleres til 'sann' vil den tilpassede formelen utføres. Du kan valgfritt sette formelens resultat inn i det valgte spørsmålet.",completedHtmlOnConditionDescription:"Hvis formelen evalueres til 'sann' vil standardteksten på 'Takk siden' endres til den gitte teksten.",itemExpressionText:"Når formelen: '{0}' evalueres til 'sann':",page_visibilityText:"Gjøre side {0} synlig",panel_visibilityText:"Gjør panel {0} synlig",panel_enableText:"Gjør panel {0} aktivert",question_visibilityText:"Gjør spørsmål {0} synlig",question_enableText:"Gjør spørsmål {0} aktivert",question_requireText:"Gjør spørsmål {0} påkrevd",trigger_completeText:"Skjemaet blir fullført",trigger_setvalueText:"Sett inn: {0} verdi {1}",trigger_copyvalueText:"Kopier inn: {0} verdi fra spørsmål {1}",trigger_skipText:"Hopp til spørsmål {0}",trigger_runExpressionText1:"Kjør formel: '{0}'",trigger_runExpressionText2:" og sett inn resultatet i spørsmål: {0}",completedHtmlOnConditionText:"Vis tilpasset tekst for 'Takk-siden'.",conditions:"Vilkår",actions:"Handling(er)",expressionEditorTitle:"Definer vilkår",actionsEditorTitle:"Definer handling(er)",deleteAction:"Slett handling",addNewAction:"Legg til handling",selectedActionCaption:"Velg handling som skal legges til...",expressionInvalid:"Formelen er tom eller ugyldig. Vennligst korriger den.",noActionError:"Vennligst legg til minst en handling",actionInvalid:"Vennligst korriger problemer med handlingen.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Bruk",ok:"OK",save:"Lagre",saveTooltip:"Lagre",cancel:"Avbryt",reset:"Tilbakestill",refresh:"Last inn på nytt",delete:"Slett",add:"Legg til",addNew:"Legg til ny",addItem:"Klikk for å legge til...",addOther:"Annet",addSelectAll:"Velg alt",addNone:"Ingen",removeAll:"Fjern alt",edit:"Rediger",back:"Gå tilbake uten å lagre",backTooltip:"Gå tilbake uten å lagre",saveAndBack:"Lagre og gå tilbake",saveAndBackTooltip:"Lagre og gå tilbake",editChoices:"Rediger valg",showChoices:"Vis valg",move:"Flytt",empty:"<tom>",fastEntry:"Rask innfylling",formEntry:"Innfylling i skjema",testService:"Sjekk tjenesten",itemSelectorEmpty:"Vennligst velg elementet",conditionActionEmpty:"Velg handlingen",conditionSelectQuestion:"Velg spørsmål...",conditionSelectPage:"Velg side...",conditionSelectPanel:"Velg panel...",conditionValueQuestionTitle:"Vennligst skriv inn/velg verdi",expressionHelp:"Vennligst skriv inn en formel. Du kan bruke klammeparenteser for å få tilgang til spørsmålsverdiene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Trykk ctrl+mellomrom for å få hint til å fullføre formler",aceEditorRowTitle:"Gjeldende rad",aceEditorPanelTitle:"Gjeldende panel",showMore:"For mer detaljer - se dokumentasjonen",assistantTitle:"Tilgjengelige spørsmål:",cellsEmptyRowsColumns:"Det må være minst 1 kolonne eller rad",propertyIsEmpty:"Vennligst fyll inn en verdi",propertyNameIsNotUnique:"Vennligst fyll inn et unikt navn",listIsEmpty:"Legg til nytt element",expressionIsEmpty:"Formelen er tom",value:"Verdi",text:"Tekst",rowid:"Rad-ID",imageLink:"Bildelenke",columnEdit:"Rediger kolonne: {0}",itemEdit:"Rediger element: {0}",url:"URL",path:"Sti",valueName:"Verdinavn",titleName:"Tittelnavn",titlePlaceholder:"Skriv tittel her",surveyTitlePlaceholder:"Skriv skjematittel her",pageTitlePlaceholder:"Skriv sidetittel her",descriptionPlaceholder:"Skriv beskrivelse",surveyDescriptionPlaceholder:"Skriv skjema-beskrivelse",pageDescriptionPlaceholder:"Skriv side-beskrivelse",hasOther:"Har annet element",otherText:"Annet element-tekst",hasNone:"Har velg ingen",noneText:"Velg ingen-tekst",hasSelectAll:"Har velg alt-element",selectAllText:"Velg alt elememt-tekst",choicesMin:"Minsteverdi for auto-genererte elementer",choicesMax:"Maksverdi for auto-genererte elementer",choicesStep:"Forskjellene mellom auto-genererte elementer",name:"Navn",title:"Tittel",cellType:"Celletype",colCount:"Antall kolonner",choicesOrder:"Velg rekkefølge på valg",visible:"Er synlig?",isRequired:"Er nødvendig?",isAllRowRequired:"Nødvendig svar for alle rader",requiredErrorText:"Nødvendig feilmelding",startWithNewLine:"Må starte med ny linje?",rows:"Antall rader",cols:"Antall kolonner",placeHolder:"Hjelpetekst",showPreview:"Er forhåndsvisning av bilde vist?",storeDataAsText:"Lagre filinnhold i JSON-resultat som tekst",maxSize:"Maksimum filstørrelse i bytes",imageHeight:"Bildehøyde",imageWidth:"Bildebredde",rowCount:"Antall rader",columnLayout:"Antall kolonner",addRowLocation:"Legg til rad knapp-plassering",addRowText:"Legg til rad knapp-tekst",removeRowText:"Fjern rad knapp-tekst",rateMin:"Minimum sats",rateMax:"Maksimum sats",rateStep:"Sats steg",minRateDescription:"Beskrivelse minimumsvudering",maxRateDescription:"Beskrivelse maksimumsvurdering",inputType:"Inndata-type",optionsCaption:"Tekst for alternativer",defaultValue:"Standardverdi",cellsDefaultRow:"Standard celletekster",surveyEditorTitle:"Rediger skjemainnstillinger",qEditorTitle:"Rediger: {0}",maxLength:"Maksimum lengde",buildExpression:"Bygg",editExpression:"Rediger",and:"Og",or:"Eller",remove:"Fjern",addCondition:"Legg til",showTitle:"Vis/skjul tittel",expandCollapseTitle:"Utvid/krymp tittel",locale:"Standard språk",simulator:"Velg enhet",landscapeOrientation:"Liggende",mode:"Modus (rediger/kun lesbart)",clearInvisibleValues:"Fjern usynlige verdier",cookieName:"Informasjonskapsel navn (for å hindre bruk av skjema to ganger lokalt)",sendResultOnPageNext:"Send skjema resultat ved neste side",storeOthersAsComment:"Lagre 'andre' verdier i et separat felt",showPageTitles:"Vis sidetittel",showPageNumbers:"Vis sidenummer",pagePrevText:"Forrige side knapp tekst",pageNextText:"Neste side knapp tekst",completeText:"Fullfør knapp tekst",previewText:"Forhåndsvisning knapp tekst",editText:"Rediger knapp tekst",startSurveyText:"Start knapp tekst",showNavigationButtons:"Vis navigasjonsknapper (standard navigering)",showPrevButton:"Vis forrige knapp (bruker kan gå til forrige side)",firstPageIsStarted:"Den første siden i skjema er startside.",showCompletedPage:"Vis ferdigsiden på slutten (completedHtml)",goNextPageAutomatic:"Når en har svart alle spørsmål, gå til neste side automatisk",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørsmål tittel plassering",requiredText:"Svar nødvendig symbol(er)",questionStartIndex:"Spørsmål startindeks (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørsmålsnummer",questionTitleTemplate:"Spørsmål tittel mal, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørsmål feil plassering",focusFirstQuestionAutomatic:"Sett fokus på første spørsmål når en endrer side",questionsOrder:"Rekkefølge på elementer på siden",maxTimeToFinish:"Maks tid for å gjøre ferdig skjema",maxTimeToFinishPage:"Maks tid til å gjøre ferdig en side i skjema",showTimerPanel:"Vis tidtaking",showTimerPanelMode:"Vis tidtaking-modus",renderMode:"Gjengivelse modus",allowAddPanel:"Tillat å legge til panel",allowRemovePanel:"Tillat å fjerne panel",panelAddText:"Legg til panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på en side",html:"HTML",expression:"Formel",minValue:"Minimumsverdi",maxValue:"Maksimal verdi",minLength:"Minimum lengde",allowDigits:"Tillat tall",minCount:"Minimum count",maxCount:"Maximum count",regex:"Regular expression",totalText:"Total tekst",totalType:"Total type",totalExpression:"Total formel",totalDisplayStyle:"Total visningsstil",totalCurrency:"Total valuta",totalFormat:"Total format",logoPosition:"Logo-posisjon",addLogo:"Legg til logo...",changeLogo:"Bytt logo...",logoPositions:{none:"Fjern logo",left:"Venstre",right:"Høyre",top:"Topp",bottom:"Bunn"},tabs:{general:"Generelt",fileOptions:"Valg",html:"HTML-editor",columns:"Kolonner",rows:"Rader",choices:"Valg",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Tilgjengelig hvis",requiredIf:"Nødvendig hvis",rateValues:"Rangering verdier",choicesByUrl:"Valg fra web",matrixChoices:"Standardvalg",multipleTextItems:"Tekst inndata",numbering:"Nummerering",validators:"Valideringer",navigation:"Navigering",question:"Spørsmål",pages:"Sider",completedHtml:"Fullført HTML",completedHtmlOnCondition:"Fullført HTML på betingelse",loadingHtml:"Laster HTML",timer:"Tidtaker/Quiz",calculatedValues:"Beregnede verdier",triggers:"Triggere",templateTitle:"Mal-tittel",totals:"Totaler",logic:"Logikk",layout:"Oppsett",data:"Data",validation:"Validering",cells:"Celler",showOnCompleted:"Vis når ferdig",logo:"Logo i skjematittel",slider:"Slider",others:"Andre"},editProperty:"Rediger verdi '{0}'",items:"[ Elementer: {0} ]",enterNewValue:"Vennligst fyll inn verdien.",noquestions:"Det er ingen spørsmål i skjemaet.",createtrigger:"Vennligst lag en trigger",titleKeyboardAdornerTip:"Trykk enter-tasten for å redigere",keyboardAdornerTip:"Trykk enter-tasten for å redigere elementet, trykk slette-tasten for å slette elementet, trykk Alt + pil opp/ned for å flytte elementet",triggerOn:"På ",triggerMakePagesVisible:"Gjør sider synlige:",triggerMakeQuestionsVisible:"Gjør elementer synlige:",triggerCompleteText:"Fullfør skjema dersom vellykket.",triggerNotSet:"Trigger er ikke satt",triggerRunIf:"Kjør dersom",triggerSetToName:"Endre verdien av: ",triggerFromName:"Kopier verdi fra: ",triggerRunExpression:"Kjør denne formelen:",triggerSetValue:"til: ",triggerGotoName:"Gå til spørsmål:",triggerIsVariable:"Ikke legg variabelen i resultatet.",triggerRunExpressionEmpty:"Vennligst fyll inn en gyldig formel",noFile:"Ingen fil valgt"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"er tom",notempty:"er ikke tom",equal:"er lik",notequal:"er ikke lik",contains:"inneholder",notcontains:"inneholder ikke",anyof:"noen av",allof:"alle av",greater:"større enn",less:"mindre enn",greaterorequal:"større eller lik",lessorequal:"mindre eller lik",and:"og",or:"eller"},ew:{angular:"Bruk Angular-versjon",jquery:"Bruk jQuery-versjon",knockout:"Bruk Knockout-versjon",react:"Bruk React-versjon",vue:"Bruk Vue-versjon",bootstrap:"For Bootstrap-rammeverk",standard:"Ikke Bootstrap",showOnPage:"Vis skjema på en side",showInWindow:"Vis skjema i et vindu",loadFromServer:"Last skjemadefinisjon som JSON fra server",titleScript:"Skript og stiler",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Velg side:",showInvisibleElements:"Vis usynlige elementer"},validators:{answercountvalidator:"antall svar",emailvalidator:"e-post",expressionvalidator:"formel",numericvalidator:"numerisk",regexvalidator:"regex",textvalidator:"tekst"},triggers:{completetrigger:"complete skjema",setvaluetrigger:"set value",copyvaluetrigger:"copy value",skiptrigger:"hopp til spørsmål",runexpressiontrigger:"kjør formel",visibletrigger:"endre synlighet (deprecated)"},p:{name:"name",title:{name:"title",title:"La den være tom, dersom den skal være samme som navnet"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.nb=r},"./src/localization/persian.ts":
|
|
388
|
+
/*! exports provided: nbStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"nbStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Rediger",externalHelpLink:"Se og lær hvordan å opprette nye skjema",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Dra og slipp et spørsmål her fra Verktøylisten til venstre.",addLogicItem:"Opprett en regel for å skreddersy skjemaflyten",copy:"Kopier",addToToolbox:"Legg til verktøylisten",deletePanel:"Slett panel",deleteQuestion:"Slett spørsmål",convertTo:"Konverter til",drag:"Dra element"},qt:{default:"Standard",checkbox:"Sjekkboks",comment:"Kommentar",imagepicker:"Bildevelger",image:"Bilde",dropdown:"Nedtrekksliste",file:"Fil",html:"Html",matrix:"Matrise (enkelvalg)",matrixdropdown:"Matrise (flervalg)",matrixdynamic:"Matrise (dynamiske rader)",multipletext:"Flerlinjetekst",panel:"Panel",paneldynamic:"Panel (dynamiske paneler)",radiogroup:"Radiogruppe",rating:"Rangering",text:"Enkel tekst",boolean:"Boolean",expression:"Formel",signaturepad:"Signatur",flowpanel:"Flytpanel"},ed:{defaultLocale:"Standard ({0})",survey:"Skjema",settings:"Skjemainnstillinger",settingsTooltip:"Åpne skjemainnstillinger",showPanel:"Vis panel",hidePanel:"Skjul panel",addNewPage:"Legg til ny side",moveRight:"Bla til høyre",moveLeft:"Bla til venstre",deletePage:"Slett side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørsmål",newPanelName:"panel",newTextItemName:"tekst",testSurvey:"Test skjema",testSurveyAgain:"Test skjema igjen",testSurveyWidth:"Skjemabredde: ",navigateToMsg:"Du måtte navigere til:",logic:"Skjemalogikk",embedSurvey:"Integrer skjema",translation:"Oversettelse",saveSurvey:"Lagre skjema",saveSurveyTooltip:"Lagre skjema",designer:"Skjemadesigner",jsonEditor:"JSON-redigering",undo:"Angre",redo:"Gjenta",undoTooltip:"Angre siste endring",redoTooltip:"Gjør om siste endring",copy:"Kopier",cut:"Kutt",paste:"Lim innn",copyTooltip:"Kopier valgt seksjon inn i utklippstavla",cutTooltip:"Kutt valgt seksjon inn i utklippstavla",pasteTooltip:"Lim inn fra utklippstavla",options:"Alternativer",generateValidJSON:"Lag gyldig JSON",generateReadableJSON:"Lag lesbar JSON",toolbox:"Verktøyliste","property-grid":"Innstillinger",toolboxGeneralCategory:"Generelt",correctJSON:"Vennligst korriger JSON.",surveyResults:"Skjemaresultat: ",surveyResultsTable:"Som tabell",surveyResultsJson:"Som JSON",resultsTitle:"Spørsmålstittel",resultsName:"Spørsmålsnavn",resultsValue:"Svar",resultsDisplayValue:"Vist verdi",modified:"Endret",saving:"Lagrer",saved:"Lagret",propertyEditorError:"Feil:",saveError:"Feil! Skjema innhold er ikke lagret.",translationAddLanguage:"Velg språk for oversetting",translationShowAllStrings:"Vis alle strenger",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen strenger å oversette. Vennligst endre filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flett {0} med standard språk",bold:"Fet",italic:"Kursiv",underline:"Underlinjet",fpAddQuestion:"Legg til spørsmål...",selectPage:"Velg side...",chooseElement:"Velg element...",lg:{addNewItem:"Legg til ny regel",page_visibilityName:"Sidesynlighet",panel_visibilityName:"Panelsynlighet",panel_enableName:"Panel aktivere/deaktivere",question_visibilityName:"Spørsmålssynlghet",question_enableName:"Spørsmål aktivere/deaktivere",question_requireName:"Spørsmål valgfritt/påkrevd",trigger_completeName:"Fullfør skjema",trigger_setvalueName:"Angi spørsmålsnavn",trigger_copyvalueName:"Kopier spørsmålsverdi",trigger_skipName:"Hopp til spørsmål",trigger_runExpressionName:"Kjør tilpasset formel",completedHtmlOnConditionName:"Tilpasset 'Takk-side' tekst",page_visibilityDescription:"Gjør siden synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",panel_visibilityDescription:"Gjør panelet synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",panel_enableDescription:"Aktiverer panelet, og alle elementer inni, når formelen evalueres til 'sann'. I andre tilfeller holdes de deaktivert.",question_visibilityDescription:"Gjør spørsmålet synlig når formelen evalueres til 'sann', og holder den ellers usynlig.",question_enableDescription:"Aktiverer spørsmålet når formelen evalueres til 'sann', og holder den ellers deaktivert.",question_requireDescription:"Spørmsålet blir påkrevd når formelen evalueres til 'sann'.",trigger_completeDescription:"Når formelen evalueres til 'sann' fullføres skjemaet og sluttbrukeren ser 'Takk-siden'.",trigger_setvalueDescription:"Når spørsmålsverdier som er brukt i formelen endres, og formelen evalueres som 'sann', vil verdien settes i det valgte spørsmålet.",trigger_copyvalueDescription:"Når spørsmålsverdier som er brukt i formelen endres, og formelen evalueres som 'sann', vil verdien i et valgt spørsmål kopieres til et annet valgt spørsmål.",trigger_skipDescription:"Når formelen evalueres til 'sann' vil skjemaet hoppe til/fokusere på valgt spørsmål.",trigger_runExpressionDescription:"Når formelen evauleres til 'sann' vil den tilpassede formelen utføres. Du kan valgfritt sette formelens resultat inn i det valgte spørsmålet.",completedHtmlOnConditionDescription:"Hvis formelen evalueres til 'sann' vil standardteksten på 'Takk siden' endres til den gitte teksten.",itemExpressionText:"Når formelen: '{0}' evalueres til 'sann':",page_visibilityText:"Gjøre side {0} synlig",panel_visibilityText:"Gjør panel {0} synlig",panel_enableText:"Gjør panel {0} aktivert",question_visibilityText:"Gjør spørsmål {0} synlig",question_enableText:"Gjør spørsmål {0} aktivert",question_requireText:"Gjør spørsmål {0} påkrevd",trigger_completeText:"Skjemaet blir fullført",trigger_setvalueText:"Sett inn: {0} verdi {1}",trigger_copyvalueText:"Kopier inn: {0} verdi fra spørsmål {1}",trigger_skipText:"Hopp til spørsmål {0}",trigger_runExpressionText1:"Kjør formel: '{0}'",trigger_runExpressionText2:" og sett inn resultatet i spørsmål: {0}",completedHtmlOnConditionText:"Vis tilpasset tekst for 'Takk-siden'.",conditions:"Vilkår",actions:"Handling(er)",expressionEditorTitle:"Definer vilkår",actionsEditorTitle:"Definer handling(er)",deleteAction:"Slett handling",addNewAction:"Legg til handling",selectedActionCaption:"Velg handling som skal legges til...",expressionInvalid:"Formelen er tom eller ugyldig. Vennligst korriger den.",noActionError:"Vennligst legg til minst en handling",actionInvalid:"Vennligst korriger problemer med handlingen.",expressionSetup:"",actionsSetup:""}},pe:{apply:"Bruk",ok:"OK",save:"Lagre",saveTooltip:"Lagre",cancel:"Avbryt",reset:"Tilbakestill",refresh:"Last inn på nytt",delete:"Slett",add:"Legg til",addNew:"Legg til ny",addItem:"Klikk for å legge til...",addOther:"Annet",addSelectAll:"Velg alt",addNone:"Ingen",removeAll:"Fjern alt",edit:"Rediger",back:"Gå tilbake uten å lagre",backTooltip:"Gå tilbake uten å lagre",saveAndBack:"Lagre og gå tilbake",saveAndBackTooltip:"Lagre og gå tilbake",editChoices:"Rediger valg",showChoices:"Vis valg",move:"Flytt",empty:"<tom>",fastEntry:"Rask innfylling",formEntry:"Innfylling i skjema",testService:"Sjekk tjenesten",itemSelectorEmpty:"Vennligst velg elementet",conditionActionEmpty:"Velg handlingen",conditionSelectQuestion:"Velg spørsmål...",conditionSelectPage:"Velg side...",conditionSelectPanel:"Velg panel...",conditionValueQuestionTitle:"Vennligst skriv inn/velg verdi",expressionHelp:"Vennligst skriv inn en formel. Du kan bruke klammeparenteser for å få tilgang til spørsmålsverdiene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Trykk ctrl+mellomrom for å få hint til å fullføre formler",aceEditorRowTitle:"Gjeldende rad",aceEditorPanelTitle:"Gjeldende panel",showMore:"For mer detaljer - se dokumentasjonen",assistantTitle:"Tilgjengelige spørsmål:",cellsEmptyRowsColumns:"Det må være minst 1 kolonne eller rad",propertyIsEmpty:"Vennligst fyll inn en verdi",propertyNameIsNotUnique:"Vennligst fyll inn et unikt navn",listIsEmpty:"Legg til nytt element",expressionIsEmpty:"Formelen er tom",value:"Verdi",text:"Tekst",rowid:"Rad-ID",imageLink:"Bildelenke",columnEdit:"Rediger kolonne: {0}",itemEdit:"Rediger element: {0}",url:"URL",path:"Sti",valueName:"Verdinavn",titleName:"Tittelnavn",titlePlaceholder:"Skriv tittel her",surveyTitlePlaceholder:"Skriv skjematittel her",pageTitlePlaceholder:"Skriv sidetittel her",descriptionPlaceholder:"Skriv beskrivelse",surveyDescriptionPlaceholder:"Skriv skjema-beskrivelse",pageDescriptionPlaceholder:"Skriv side-beskrivelse",hasOther:"Har annet element",otherText:"Annet element-tekst",hasNone:"Har velg ingen",noneText:"Velg ingen-tekst",hasSelectAll:"Har velg alt-element",selectAllText:"Velg alt elememt-tekst",choicesMin:"Minsteverdi for auto-genererte elementer",choicesMax:"Maksverdi for auto-genererte elementer",choicesStep:"Forskjellene mellom auto-genererte elementer",name:"Navn",title:"Tittel",cellType:"Celletype",colCount:"Antall kolonner",choicesOrder:"Velg rekkefølge på valg",visible:"Er synlig?",isRequired:"Er nødvendig?",isAllRowRequired:"Nødvendig svar for alle rader",requiredErrorText:"Nødvendig feilmelding",startWithNewLine:"Må starte med ny linje?",rows:"Antall rader",cols:"Antall kolonner",placeHolder:"Hjelpetekst",showPreview:"Er forhåndsvisning av bilde vist?",storeDataAsText:"Lagre filinnhold i JSON-resultat som tekst",maxSize:"Maksimum filstørrelse i bytes",imageHeight:"Bildehøyde",imageWidth:"Bildebredde",rowCount:"Antall rader",columnLayout:"Antall kolonner",addRowLocation:"Legg til rad knapp-plassering",addRowText:"Legg til rad knapp-tekst",removeRowText:"Fjern rad knapp-tekst",rateMin:"Minimum sats",rateMax:"Maksimum sats",rateStep:"Sats steg",minRateDescription:"Beskrivelse minimumsvudering",maxRateDescription:"Beskrivelse maksimumsvurdering",inputType:"Inndata-type",optionsCaption:"Tekst for alternativer",defaultValue:"Standardverdi",cellsDefaultRow:"Standard celletekster",surveyEditorTitle:"Rediger skjemainnstillinger",qEditorTitle:"Rediger: {0}",maxLength:"Maksimum lengde",buildExpression:"Bygg",editExpression:"Rediger",and:"Og",or:"Eller",remove:"Fjern",addCondition:"Legg til",showTitle:"Vis/skjul tittel",expandCollapseTitle:"Utvid/krymp tittel",locale:"Standard språk",simulator:"Velg enhet",landscapeOrientation:"Liggende",mode:"Modus (rediger/kun lesbart)",clearInvisibleValues:"Fjern usynlige verdier",cookieName:"Informasjonskapsel navn (for å hindre bruk av skjema to ganger lokalt)",sendResultOnPageNext:"Send skjema resultat ved neste side",storeOthersAsComment:"Lagre 'andre' verdier i et separat felt",showPageTitles:"Vis sidetittel",showPageNumbers:"Vis sidenummer",pagePrevText:"Forrige side knapp tekst",pageNextText:"Neste side knapp tekst",completeText:"Fullfør knapp tekst",previewText:"Forhåndsvisning knapp tekst",editText:"Rediger knapp tekst",startSurveyText:"Start knapp tekst",showNavigationButtons:"Vis navigasjonsknapper (standard navigering)",showPrevButton:"Vis forrige knapp (bruker kan gå til forrige side)",firstPageIsStarted:"Den første siden i skjema er startside.",showCompletedPage:"Vis ferdigsiden på slutten (completedHtml)",goNextPageAutomatic:"Når en har svart alle spørsmål, gå til neste side automatisk",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørsmål tittel plassering",requiredText:"Svar nødvendig symbol(er)",questionStartIndex:"Spørsmål startindeks (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørsmålsnummer",questionTitleTemplate:"Spørsmål tittel mal, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørsmål feil plassering",focusFirstQuestionAutomatic:"Sett fokus på første spørsmål når en endrer side",questionsOrder:"Rekkefølge på elementer på siden",maxTimeToFinish:"Maks tid for å gjøre ferdig skjema",maxTimeToFinishPage:"Maks tid til å gjøre ferdig en side i skjema",showTimerPanel:"Vis tidtaking",showTimerPanelMode:"Vis tidtaking-modus",renderMode:"Gjengivelse modus",allowAddPanel:"Tillat å legge til panel",allowRemovePanel:"Tillat å fjerne panel",panelAddText:"Legg til panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på en side",html:"HTML",expression:"Formel",minValue:"Minimumsverdi",maxValue:"Maksimal verdi",minLength:"Minimum lengde",allowDigits:"Tillat tall",minCount:"Minimum count",maxCount:"Maximum count",regex:"Regular expression",totalText:"Total tekst",totalType:"Total type",totalExpression:"Total formel",totalDisplayStyle:"Total visningsstil",totalCurrency:"Total valuta",totalFormat:"Total format",logoPosition:"Logo-posisjon",addLogo:"Legg til logo...",changeLogo:"Bytt logo...",logoPositions:{none:"Fjern logo",left:"Venstre",right:"Høyre",top:"Topp",bottom:"Bunn"},tabs:{general:"Generelt",fileOptions:"Valg",html:"HTML-editor",columns:"Kolonner",rows:"Rader",choices:"Valg",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Tilgjengelig hvis",requiredIf:"Nødvendig hvis",rateValues:"Rangering verdier",choicesByUrl:"Valg fra web",matrixChoices:"Standardvalg",multipleTextItems:"Tekst inndata",numbering:"Nummerering",validators:"Valideringer",navigation:"Navigering",question:"Spørsmål",pages:"Sider",completedHtml:"Fullført HTML",completedHtmlOnCondition:"Fullført HTML på betingelse",loadingHtml:"Laster HTML",timer:"Tidtaker/Quiz",calculatedValues:"Beregnede verdier",triggers:"Triggere",templateTitle:"Mal-tittel",totals:"Totaler",logic:"Logikk",layout:"Oppsett",data:"Data",validation:"Validering",cells:"Celler",showOnCompleted:"Vis når ferdig",logo:"Logo i skjematittel",slider:"Slider",others:"Andre"},editProperty:"Rediger verdi '{0}'",items:"[ Elementer: {0} ]",enterNewValue:"Vennligst fyll inn verdien.",noquestions:"Det er ingen spørsmål i skjemaet.",createtrigger:"Vennligst lag en trigger",titleKeyboardAdornerTip:"Trykk enter-tasten for å redigere",keyboardAdornerTip:"Trykk enter-tasten for å redigere elementet, trykk slette-tasten for å slette elementet, trykk Alt + pil opp/ned for å flytte elementet",triggerOn:"På ",triggerMakePagesVisible:"Gjør sider synlige:",triggerMakeQuestionsVisible:"Gjør elementer synlige:",triggerCompleteText:"Fullfør skjema dersom vellykket.",triggerNotSet:"Trigger er ikke satt",triggerRunIf:"Kjør dersom",triggerSetToName:"Endre verdien av: ",triggerFromName:"Kopier verdi fra: ",triggerRunExpression:"Kjør denne formelen:",triggerSetValue:"til: ",triggerGotoName:"Gå til spørsmål:",triggerIsVariable:"Ikke legg variabelen i resultatet.",triggerRunExpressionEmpty:"Vennligst fyll inn en gyldig formel",noFile:"Ingen fil valgt"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",both:"both",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged",singlePage:"single page",standard:"standard",questionPerPage:"question per page",noPreview:"no preview",showAllQuestions:"show preview with all questions",showAnsweredQuestions:"show preview with answered questions"},op:{empty:"er tom",notempty:"er ikke tom",equal:"er lik",notequal:"er ikke lik",contains:"inneholder",notcontains:"inneholder ikke",anyof:"noen av",allof:"alle av",greater:"større enn",less:"mindre enn",greaterorequal:"større eller lik",lessorequal:"mindre eller lik",and:"og",or:"eller"},ew:{angular:"Bruk Angular-versjon",jquery:"Bruk jQuery-versjon",knockout:"Bruk Knockout-versjon",react:"Bruk React-versjon",vue:"Bruk Vue-versjon",bootstrap:"For Bootstrap-rammeverk",standard:"Ikke Bootstrap",showOnPage:"Vis skjema på en side",showInWindow:"Vis skjema i et vindu",loadFromServer:"Last skjemadefinisjon som JSON fra server",titleScript:"Skript og stiler",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Velg side:",showInvisibleElements:"Vis usynlige elementer"},validators:{answercountvalidator:"antall svar",emailvalidator:"e-post",expressionvalidator:"formel",numericvalidator:"numerisk",regexvalidator:"regex",textvalidator:"tekst"},triggers:{completetrigger:"complete skjema",setvaluetrigger:"set value",copyvaluetrigger:"copy value",skiptrigger:"hopp til spørsmål",runexpressiontrigger:"kjør formel",visibletrigger:"endre synlighet (deprecated)"},p:{name:"name",title:{name:"title",title:"La den være tom, dersom den skal være samme som navnet"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}};o.editorLocalization.locales.nb=r},"./src/localization/persian.ts":
|
|
389
389
|
/*!*************************************!*\
|
|
390
390
|
!*** ./src/localization/persian.ts ***!
|
|
391
391
|
\*************************************/
|
|
@@ -401,7 +401,7 @@ License: MIT
|
|
|
401
401
|
/*!*************************************!*\
|
|
402
402
|
!*** ./src/localization/russian.ts ***!
|
|
403
403
|
\*************************************/
|
|
404
|
-
/*! exports provided: ruStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"ruStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Редактировать",externalHelpLink:"Научиться создавать опросы",externalHelpLinkUrl:"Https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Пожалуйста, перетяните необходимый элемент из панели слева",copy:"Копировать",addToToolbox:"Добавить к инструментам",deletePanel:"Удалить панель",deleteQuestion:"Удалить вопрос",convertTo:"Преобразовать в",drag:"Перетянуть элемент"},qt:{default:"По умолчанию",checkbox:"Множественный выбор",comment:"Комментарий",imagepicker:"Выбор изображения",dropdown:"Выпадающий список",file:"Загрузка файлов",HTML:"HTML",matrix:"Матрица (единичный выбор)",matrixdropdown:"Матрица (множественный выбор)",matrixdynamic:"Матрица (динамические ряды)",multipletext:"Multiple Text",panel:"Панель (для группы вопросов)",paneldynamic:"Панель (динамические панели)",radiogroup:"Единичный выбор",rating:"Рейтинг (шкала)",text:"Текстовый ввод",boolean:"Булиевое значение",expression:"Выражение (только для чтения)",flowPanel:"Панель потока"},ed:{defaultLocale:"По умолчанию ({0})",survey:"Опросник",settings:"Настройки опросника",opjectPropertiesHeader:"Дополнительные",showObjectProperties:"Показать свойства объекта",hideObjectProperties:"Скрыть свойства объекта",editSurvey:"Редактировать опросник",addNewPage:"Добавить новую страницу",moveRight:"Прокрутить вправо",moveLeft:"Прокрутить влево",deletePage:"Удалить страницу",editPage:"Редактировать страницу",edit:"Редактировать",newPageName:"страница",newQuestionName:"вопрос",newPanelName:"панель",newTextItemName:"текст",testSurvey:"Тестировать опросник",testSurveyAgain:"Тестировать еще раз",testSurveyWidth:"Ширина опросника:",logic:"Логика опросника",embedSurvey:"Вставить опросник",translation:"Перевод","property-grid":"Свойства",saveSurvey:"Сохранить опросник",designer:"Обзор конструктора",jsonEditor:"JSON редактор",undo:"Отменить",redo:"Повтор",options:"Параметры",generateValidJSON:"Сформировать валидный JSON",generateReadableJSON:"Сформировать читаемый JSON",toolbox:"Панель инструментов",toolboxGeneralCategory:"Общие",delSelObject:"Удалить выбранный объект",editSelObject:"Редактировать выбранный объект",correctJSON:"Пожалуйста, исправьте JSON.",surveyResults:"Результаты обследования:",surveyResultsTable:"Как таблица",surveyResultsJson:"Как JSON",resultsTitle:"Заголовок вопроса",resultsName:"Название вопроса",resultsValue:"Значение ответа",resultsDisplayValue:"Отображаемое значение",modified:"Модифицирован",saving:"Сохранение",saved:"Сохраненный",saveError:"Ошибка! Содержание редактора не сохранено.",translationAddLanguage:"Выберите дополнительный язык опросника",translationShowAllStrings:"Показывать все строки",translationShowAllPages:"Показывать все страницы",translationNoStrings:"Нет строк для перевода. Пожалуйста, измените фильтр.",translationExportToSCVButton:"Экспорт в CSV",translationImportFromSCVButton:"Импорт из CSV",translationMergeLocaleWithDefault:"Объединить {0} с локалью по умолчанию",translationPlaceHolder:"Перевод...",bold:"Жирный",italic:"Курсив",underline:"Подчеркивание",fpAddQuestion:"Добавить вопрос...",completedHtmlOnConditionItemText:"Показывать, если:",lg:{page_visibilityName:"Видимость страницы",panel_visibilityName:"Видимость панели",panel_enableName:"Панель включена/выключена",question_visibilityName:"Видимость вопроса",question_enableName:"Вопрос включен/выключен",question_requireName:"Вопрос необязательный",trigger_completeName:"Опрос завершен",trigger_setvalueName:"Установить значение вопроса",trigger_copyvalueName:"Копировать значение вопроса",trigger_skipName:"Перейти к вопросу",trigger_runExpressionName:"Запустить пользовательское выражение",completedHtmlOnConditionName:"Пользовательский текст 'Страницы благодарности'",page_visibilityDescription:"Сделать страницу видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",panel_visibilityDescription:"Сделать панель видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",panel_enableDescription:"Сделать панель и все элементы внутри нее включенной, когда логическое выражение вернет 'true'. В противном случае оставить их отключенными.",question_visibilityDescription:"Сделать вопрос видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",question_enableDescription:"Сделать вопрос включенным, когда логическое выражение вернет 'true'. В противном случае оставить его отключенными.",question_requireDescription:"Вопрос становится обязательным, когда логическое выражение вернет 'true'.",trigger_completeDescription:"Когда логическое выражение вернет 'true', то опрос становится завершенным и конечный пользователь видит 'Страницу благодарности'.",trigger_setvalueDescription:"Когда значения вопросов, которые используются в логическом выражении, изменяются и логическое выражение возвращает значение 'true', тогда на выбранный вопрос устанавливается значение.",trigger_copyvalueDescription:"Когда значения вопросов, которые используются в логическом выражении, изменяются и логическое выражение возвращает значение 'true', тогда значение одного выбранного вопроса копируется в другой выбранный вопрос.",trigger_skipDescription:"Когда логическое выражение вернет 'true', тогда опрос переходит к/фокусируется на выбранном вопросе.",trigger_runExpressionDescription:"Когда логическое выражение возвращает 'true',тогда выполняется пользовательское выражение. Вы можете при желании установить этот результат выражения в выбранный вопрос.",completedHtmlOnConditionDescription:"Если логическое выражение возвращает 'true', то текст по умолчанию для 'Страницы благодарности' изменяется на заданный.",itemExpressionText:"Когда выражение: '{0}' возвращает 'true':",page_visibilityText:"Сделать страницу {0} видимой",panel_visibilityText:"Сделать панель {0} видимой",panel_enableText:"Сделать панель {0} включенной",question_visibilityText:"Сделать вопрос {0} видимым",question_enableText:"Сделать вопрос {0} включенным",question_requireText:"Сделать вопрос {0} обязательным",trigger_completeText:"Опрос становится завершенным",trigger_setvalueText:"Установить в вопрос: {0} значение {1}",trigger_copyvalueText:"Копировать в вопрос: {0} значение из вопроса {1}",trigger_skipText:"Опрос переходит к вопросу {0}",trigger_runExpressionText1:"Выполнить выражение: '{0}'",trigger_runExpressionText2:"и установить его результат в вопрос: {0}",completedHtmlOnConditionText:"Показывать пользовательский текст для 'Страницы благодарности'.",expressionEditorTitle:"Настройка логики выражения",deleteOperation:"Удалить операцию",addNewOperation:"Добавить новую операцию(и)",expressionInvalid:"Логическое выражение пустое или недействительное. Пожалуйста, исправьте его.",noOperationError:"Пожалуйста, добавьте хоть одну операцию.",operationInvalid:"Пожалуйста, исправьте проблемы в вашей операции(ях)."}},pel:{isRequired:"Обязательное?"},pe:{apply:"Применить",ok:"OK",save:"Сохранить",cancel:"Отменить",reset:"Сброс",close:"Закрыть",delete:"Удалить",add:"Добавить",addNew:"Добавить новый",addItem:"Нажмите, чтобы добавить элемент...",addOther:"Другое",addSelectAll:"Выбрать все пункты",addNone:"Ничего",removeAll:"Удалить все",edit:"Редактировать",back:"Вернуться без сохранения",saveAndBack:"Сохранить и вернуться",itemValueEdit:"Отображать, если",editChoices:"Редактировать выбор",move:"Переместить",empty:"<пусто>",notEmpty:"<редактировать значение>",fastEntry:"Быстрый вход",formEntry:"Форма входа",testService:"Тест услуги",itemSelectorEmpty:"Пожалуйста, выберите элемент",conditionSelectQuestion:"Выберите вопрос ...",conditionSelectPage:"Выбрать страницу ...",conditionSelectPanel:"Выберите панель ...",conditionValueQuestionTitle:"Пожалуйста, введите/выберите значение",conditionButtonAdd:"Добавить",conditionButtonReplace:"Заменить",conditionHelp:"Пожалуйста, введите логическое выражение. Должно возвращаться значение 'true', чтобы вопрос/страница оставались видимыми, например:.. {Вопрос1} = 'значение1' или ({Вопрос2} * {Вопрос4}> 20 и {Вопрос3} <5)",expressionHelp:"Пожалуйста, введите выражение. Вы можете использовать фигурные скобки, чтобы получить доступ к значениям вопроса.: '{Вопрос1} + {Вопрос2}', '({цена}*{количество}) * (100 - {скидка}).",aceEditorHelp:"Нажмите Ctrl+Пробел, чтобы получить подсказки",aceEditorRowTitle:"Текущая строка",aceEditorPanelTitle:"Текущая панель",showMore:"Для получения более подробной информации, пожалуйста, перейдите к документации",conditionShowMoreUrl:"Https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Доступные вопросы:",cellsEmptyRowsColumns:"Должен быть хотя бы один столбец или строка",propertyIsEmpty:"Пожалуйста, введите значение",propertyNameIsNotUnique:"Пожалуйста, введите уникальное имя",listIsEmpty:"Добавьте новое условие",expressionIsEmpty:"Выражение - пустое",value:"Значение",text:"Текст",rowid:"ID строки",imageLink:"Ссылка на изображение",columnEdit:"Изменить столбец: {0}",itemEdit:"Редактировать элемент: {0}",url:"URL",path:"Путь",valueName:"Название пункта",titleName:"Заголовок пункта",titlePlaceholder:"Введите заголовок",surveyTitlePlaceholder:"Введите заголовок опроса",pageTitlePlaceholder:"Введите заголовок страницы",descriptionPlaceholder:"Введите описание",surveyDescriptionPlaceholder:"Введите описание опроса",pageDescriptionPlaceholder:"Введите описание страницы",hasOther:"Есть пункт 'Другое'",otherText:"Текст пункта 'Другое'",hasNone:"Нет ни одного пункта",noneText:"Текст пункта 'Ничего'",hasSelectAll:"Выбрать все пункты",selectAllText:"Текст пункта 'Выбрать все пункты'",choicesMin:"Минимальное значение для автоматически сгенерированных элементов",choicesMax:"Максимальное значение для автоматически сгенерированных элементов",choicesStep:"Разница между автоматически сгенерироваными элементами",name:"Название",title:"Заголовок",cellType:"Тип ячейки",ColCount:"Количество столбцов",choicesOrder:"Выбрать порядок отбора",visible:"Отображать?",isRequired:"Обязательный?",isAllRowRequired:"Все строки обязательны для заполнения",requiredErrorText:"Это поле обязательное для заполнения",startWithNewLine:"Начинать с новой строки?",rows:"Количество строк",PlaceHolder:"Плейсхолдер",showPreview:"Показать предпросмотр?",storeDataAsText:"Хранить содержимое файла в формате JSON как текст",MaxSize:"Максимальный размер файла в байтах",ImageHeight:"Высота изображения",ImageWidth:"Ширина изображения",rowCount:"Количество строк",columnLayout:"Макет столбцов",addRowLocation:"Добавить расположение кнопки строки",addRowText:"Добавить текст кнопки строки",removeRowText:"Удалить кнопку строки текста",rateMin:"Минимальный рейтинг",rateMax:"Максимальный рейтинг",rateStep:"Шаг рейтинга",minRateDescription:"Описание для минимального рейтинга",maxRateDescription:"Описание для максимального рейтинга",inputType:"Тип ввода",optionsCaption:"Параметры подписи",DefaultValue:"Значение по умолчанию",cellsDefaultRow:"Текст ячеек по умолчанию",surveyEditorTitle:"Настройки опросника",qEditorTitle:"Изменить: {0}",maxLength:"Максимальная длина",buildExpression:"Собрать",editExpression:"Редактировать",and:"И",or:"ИЛИ",remove:"Переместить",addCondition:"добавить условие",showTitle:"Показать/скрыть заголовок",locale:"Язык по умолчанию",simulator:"Выберите устройство",landscapeOrientation:"Альбомная",mode:"Режим (редактирование/просмотр)",clearInvisibleValues:"Очистить невидимые значения",cookieName:"Имя Cookie (отключить повторное прохождение опроса локально)",sendResultOnPageNext:"Показать результаты опроса на странице рядом",storeOthersAsComment:"Хранить занчение 'Другое' в отдельном поле",showPageTitles:"Показывать заголовки страниц",showPageNumbers:"Показывать номера страниц",pagePrevText:"Текст в кнопке 'Предыдущая страница'",pageNextText:"Текст в кнопке 'Следующая страница'",completeText:"Текст в кнопке 'Завершить'",startSurveyText:"Текст в кнопке 'Начать'",showNavigationButtons:"Показывать кнопки навигации (навигация по умолчанию)",showPrevButton:"Показывать кнопки 'Предыдущая страница' (пользователь может вернуться на предыдущую страницу)",firstPageIsStarted:"Первая страница опросника является стартовой страницей.",showCompletedPage:"Показывать страницу с текстом по завершению заполнения (HTML финальной страницы)",goNextPageAutomatic:"Переходить на следующую страницу автоматически при заполнении всех вопросов",showProgressBar:"Показывать прогресс заполнения",questionTitleLocation:"Расположение заголовка вопроса",requiredText:"Символ для обязательного вопроса",questionStartIndex:"Начальный индекс вопроса (1, 2 или 'A', 'а')",showQuestionNumbers:"Показывать номера вопросов",questionTitleTemplate:"Шаблон названия опроса, по умолчанию: {не} {требует} {текста}.",questionErrorLocation:"Размещение ошибки опроса",focusFirstQuestionAutomatic:"Фокусирование на первом вопросе при изменении страницы",questionsOrder:"Сортировка элементов на странице",maxTimeToFinish:"Максимальное время в секундах, чтобы заполнить опросник",maxTimeToFinishPage:"Максимальное время в секундах, чтобы заполнить страницу опросника",showTimerPanel:"Показывать панель таймера",showTimerPanelMode:"Показывать режим панели таймера",RenderMode:"Режим визуализации",allowAddPanel:"Разрешить добавление панели",allowRemovePanel:"Разрешить удаление панели",panelAddText:"Добавление текста на панели",panelRemoveText:"Удаление текста на панели",isSinglePage:"Показывать все элементы на одной странице",HTML:"HTML",expression:"Выражение",minValue:"Минимальное значение",maxValue:"Максимальное значение",mINLENGTH:"Минимальная длина",allowDigits:"Разрешить цифры",minCount:"Минимальное количество",maxCount:"Максимальное количество",regex:"Регулярное выражение",totalText:"Общий текст",totalType:"Общий тип",totalExpression:"Общее выражение",totalDisplayStyle:"Общий стиль отображения",totalCurrency:"Общая валюта",totalFormat:"Общий формат",logoPosition:"Местоположение логотипа",addLogo:"Добавить логотип...",changeLogo:"Изменить логотип...",logoPositions:{none:"Разместить логотип",left:"Слева",right:"Справа",top:"Сверху",bottom:"Снизу"},tabs:{general:"Общие",fileOptions:"Параметры",HTML:"Редактор HTML",columns:"Столбцы",rows:"Строки",choices:"Выбор",items:"Элементы",visibleIf:"Отображать, если",enableIf:"Доступен, если",requiredIf:"Обязателен для заполнения, если",rateValues:"Оценить важность(вес) вопроса",choicesByUrl:"Выбор из Интернета",matrixChoices:"Выбор по умолчанию",multipleTextItems:"Ввод нескольких текстовых полей",validators:"Валидаторы",navigation:"Навигация",question:"Вопрос",completedHtml:"HTML финальной страницы",completedHtmlOnCondition:"HTML финальной страницы при условии",loadingHtml:"Загрузка HTML",timer:"Таймер/Викторина",calculatedValues:"Расчетные значения",triggers:"Триггеры",templateTitle:"Название шаблона",totals:"Итоги",logic:"Логика",layout:"Планировка",data:"Данные",validation:"Проверка",cells:"Ячейки",showOnCompleted:"Показать по завершению",logo:"Логотип в заголовке опросника",others:"Другие"},editProperty:"Редактировать свойство '{0}'",items:"[Элементы: {0}]",enterNewValue:"Пожалуйста, введите значение.",noquestions:"В опроснике нет ни одного вопроса",createtrigger:"Пожалуйста, создайте триггер",triggerOn:"О",triggerMakePagesVisible:"Сделать страницы видимыми:",triggerMakeQuestionsVisible:"Сделать элементы видимыми:",triggerCompleteText:"Завершить опрос, если все получися.",triggerNotSet:"Тригер не установлен",triggerRunIf:"Начать, если",triggerSetToName:"Изменить значение:",triggerFromName:"Скопировать значение из:",triggerRunExpression:"Выполнить это выражение:",triggerSetValue:"в:",triggerGotoName:"Перейти к вопросу:",triggerIsVariable:"Не помещать переменную в результат опросника.",triggerRunExpressionEmpty:"Пожалуйста, введите корректное выражение"},pv:{true:"true",false:"false",inherit:"Наследовать",show:"Показать",hide:"Скрыть",default:"По умолчанию",initial:"Изначальный порядок",random:"Случайный порядок",collapsed:"Прерван",expanded:"Расширен",none:"Нет",asc:"По возрастанию",desc:"По убыванию",indeterminate:"Неопределенный",decimal:"Десятичный",currency:"Валюта",percent:"Проценты",firstExpanded:"Расширен первый",off:"Выключить",onPanel:"На панели",onSurvey:"В опроснике",list:"Список",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"Горизонтально",vertical:"Вертикально",top:"Сверху",bottom:"Снизу",topBottom:"Сверху и снизу",left:"Слева",color:"Цвет",date:"Дата",datetime:"Дата и время","datetime-local":"Местные дата и время",email:"Email",month:"Месяц",number:"Номер",password:"Пароль",range:"Диапазон",tel:"Телефон",text:"Текст",time:"Время",url:"URL",week:"Неделя",hidden:"Скрыт",on:"Включить",onPage:"На странице",edit:"Редактирование",display:"Просмотр",onComplete:"По завершению",onHidden:"По скрытию",all:"Все",page:"Страница",survey:"Опрос",onNextPage:"При переходе на следующую страницу",onValueChanged:"При изменении значения"},op:{empty:"не заполнено",notempty:"заполнено",equal:"равно",notequal:"не равно",contains:"содержит",notcontains:"не содержит",anyof:"любой из",allof:"все из",greater:"больше",less:"меньше",greaterorequal:"больше или равно",lessorequal:"меньше или равно"},ew:{angular:"Используйте версию Angular",jquery:"Используйте версию jQuery",knockout:"Используйте версию Knockout",react:"Используйте версию React",vue:"Используйте версию Vue",bootstrap:"Для библиотеки bootstrap",standard:"Без библиотеки bootstrap",showOnPage:"Показывать опросник на странице",showInWindow:"Показывать опросник в модальном окне",loadFromServer:"Загрузить Json опросника с сервера",titleScript:"Скрипты и стили",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Выберите страницу, чтобы проверить это:",showInvisibleElements:"Показывать скрытые элементы"},validators:{answercountvalidator:"Количество ответов",EmailValidator:"Email",expressionvalidator:"Выражение",numericvalidator:"Число",regexvalidator:"Регулярное выражение",textvalidator:"Текст"},triggers:{completetrigger:"Завершить опрос",setvaluetrigger:"Установить значение",copyvaluetrigger:"Скопировать значение",skiptrigger:"Перейти к вопросу",runexpressiontrigger:"Запустить выражение",visibletrigger:"Изменить видимость (не рекомендуется)"},p:{name:"Название",title:{name:"Название",title:"Оставьте его пустым, если оно такое же, как 'Название'"},navigationButtonsVisibility:"Отображение навигационных кнопок",questionsOrder:"Сортировка элементов на странице",maxTimeToFinish:"Максимальное время для завершения",visible:"Видимый",visibleIf:"Отображать, если",questionTitleLocation:"Расположение заголовка вопроса",description:"Описание",state:"Состояние",isRequired:"Обязателен",requiredIf:"Обязателен если",indent:"Отступ",requiredErrorText:"Это поле обязательное для заполнения",startWithNewLine:"Начинать с новой строки",innerIndent:"Внутренний отступ",page:"Страница",width:"Ширина",commentText:"Комментарий",valueName:"Название значения",enableIf:"Доступен при условии",defaultValue:"Значение по умолчанию",correctAnswer:"Правильный ответ",readOnly:"Только для чтения",validators:"Валидаторы",titleLocation:"Расположение заголовка",hasComment:"Есть комментарий",hasOther:"Есть значение 'Другое'",choices:"Выбор",choicesOrder:"Выбрать порядок выбора",choicesByUrl:"Выбрать из интернета",otherText:"Другой текстовый элемент",otherErrorText:"Текст ошибки поля 'Другое'",storeOthersAsComment:"Хранить значение поля 'Другое', как комментарий",label:"Ярлык",showTitle:"Показывать название",valueTrue:"Правильно",valueFalse:"Неправильно",cols:"Столбцы",rows:"Строки",placeHolder:"Плейсхолдер",optionsCaption:"Подпись параметров",expression:"Выражение",format:"Формат",displayStyle:"Стиль отображения",currency:"Валюта",useGrouping:"Использовать группировку",showPreview:"Показывать превью",allowMultiple:"Выбрать несколько",imageHeight:"Высота изображения",imageWidth:"Ширина изображения",storeDataAsText:"Хранить данные в виде текста",maxSize:"Максимальный размер",html:"HTML",columns:"Столбцы",cells:"Ячейки",isAllRowRequired:"Все строки обязательны для заполнения",horizontalScroll:"Горизонтальный скролл",cellType:"Тип ячейки",columnsLayout:"Макет столбцов",columnColCount:"Количество столбцов",columnMinWidth:"Минимальная ширина столбца",rowCount:"Количество строк",minRowCount:"Минимальное количество строк",maxRowCount:"Максимальное количество строк",keyName:"Название ключа",keyDuplicationError:"Ошибка! Такой ключ уже существует, укажите другое название.",confirmDelete:"Подтвердить удаление",confirmDeleteText:"Текст сообщения при подтверждении удаления",addRowLocation:"Добавить расположение строк",addRowText:"Добавить кнопку строки текста",removeRowText:"Удалить кнопку строки текста",items:"Элементы",itemSize:"Размер элементов",colCount:"Количество столбцов",templateTitle:"Заголовок шаблона",templateDescription:"Описание шаблона",allowAddPanel:"Разрешить добавление панели",allowRemovePanel:"Разрешить удаление панели",panelCount:"Количество панелей",minPanelCount:"Минимальное количество панелей",maxPanelCount:"Максимальное количество панелей",panelsState:"Состояние панелей",panelAddText:"Текст сообщения при добавлении панели",panelRemoveText:"Текст сообщения при удалении панели",panelPrevText:"Текст сообщения предыдущей панели",panelNextText:"Текст сообщения следующей панели",showQuestionNumbers:"Показывать номера вопросов",showRangeInProgress:"Показывать прогресса заполнения",renderMode:"Режим отображения",templateTitleLocation:"Расположение заголовка шаблона",rateValues:"Оценить важность(вес) опроса",rateMin:"Минимальный рейтинг",rateMax:"Максимальный рейтинг",rateStep:"Шаг рейтинга",minRateDescription:"Описание для минимального рейтинга",maxRateDescription:"Описание для максимального рейтинга",inputType:"Тип ввода",size:"Размер",locale:"Локаль",focusFirstQuestionAutomatic:"Фокусирование на первом вопросе при изменении страницы",completedHtml:"HTML финальной страницы",completedHtmlOnCondition:"HTML финальной страницы при условии",loadingHtml:"Загрузка HTML",triggers:"триггеры",cookieName:"имя Cookie",sendResultOnPageNext:"Показать результаты опроса на странице рядом",showNavigationButtons:"Показывать кнопки навигации (навигация по умолчанию)",showPrevButton:"Показывать кнопки 'Предыдущая страница' (пользователь может вернуться на предыдущую страницу)",showPageTitles:"Показывать название страницы",showCompletedPage:"Показывать страницу с текстом по завершению заполнения (HTML финальной страницы)",showPageNumbers:"Показывать номера страниц",questionErrorLocation:"Размещение ошибки опроса",showProgressBar:"Показывать прогресс заполнения",mode:"Режим",goNextPageAutomatic:"Переходить на следующую страницу автоматически при ответе на все вопросы",checkErrorsMode:"Режим проверки ошибок",clearInvisibleValues:"Очистить невидимые значения",startSurveyText:"Текст в кнопке 'Начать'",pagePrevText:"Текст в кнопке 'Предыдущая страница'",pageNextText:"Текст в кнопке 'Следующая страница'",completeText:"Текст в кнопке 'Завершить'",requiredText:"Символ для обязательного вопроса",questionStartIndex:"Начальный индекс в опросе (1, 2 или 'A', 'а')",questionTitleTemplate:"Шаблон названия опроса, по умолчанию: {не} {требует} {текста}.",firstPageIsStarted:"Первая страница опросника является стартовой страницей.",isSinglePage:"Показывать все элементы на одной странице",maxTimeToFinishPage:"Максимальное время (секунды), чтобы заполнить страницу опросника",showTimerPanel:"Показывать панель таймера",showTimerPanelMode:"Показывать режим панели таймера",defaultPanelValue:"Значение панели по умолчанию",defaultRowValue:"Значение строки по умолчанию",hasNone:"Нет ни одного пункта",noneText:"Текст пункта 'Ничего'",text:"Текст"}};o.editorLocalization.locales.ru=r},"./src/localization/simplified-chinese.ts":
|
|
404
|
+
/*! exports provided: ruStrings */function(e,t,i){"use strict";i.r(t),i.d(t,"ruStrings",(function(){return r}));var o=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),r={survey:{edit:"Редактировать",externalHelpLink:"Научиться создавать опросы",externalHelpLinkUrl:"Https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Пожалуйста, перетяните необходимый элемент из панели слева",copy:"Копировать",addToToolbox:"Добавить к инструментам",deletePanel:"Удалить панель",deleteQuestion:"Удалить вопрос",convertTo:"Преобразовать в",drag:"Перетянуть элемент"},qt:{default:"По умолчанию",checkbox:"Множественный выбор",comment:"Комментарий",imagepicker:"Выбор изображения",dropdown:"Выпадающий список",file:"Загрузка файлов",HTML:"HTML",matrix:"Матрица (единичный выбор)",matrixdropdown:"Матрица (множественный выбор)",matrixdynamic:"Матрица (динамические ряды)",multipletext:"Multiple Text",panel:"Панель (для группы вопросов)",paneldynamic:"Панель (динамические панели)",radiogroup:"Единичный выбор",rating:"Рейтинг (шкала)",text:"Текстовый ввод",boolean:"Булиевое значение",expression:"Выражение (только для чтения)",flowPanel:"Панель потока"},ed:{defaultLocale:"По умолчанию ({0})",survey:"Опросник",settings:"Настройки опросника",opjectPropertiesHeader:"Дополнительные",showObjectProperties:"Показать свойства объекта",hideObjectProperties:"Скрыть свойства объекта",editSurvey:"Редактировать опросник",addNewPage:"Добавить новую страницу",moveRight:"Прокрутить вправо",moveLeft:"Прокрутить влево",deletePage:"Удалить страницу",editPage:"Редактировать страницу",edit:"Редактировать",newPageName:"страница",newQuestionName:"вопрос",newPanelName:"панель",newTextItemName:"текст",testSurvey:"Тестировать опросник",testSurveyAgain:"Тестировать еще раз",testSurveyWidth:"Ширина опросника:",logic:"Логика опросника",embedSurvey:"Вставить опросник",translation:"Перевод","property-grid":"Свойства",saveSurvey:"Сохранить опросник",designer:"Обзор конструктора",jsonEditor:"JSON редактор",undo:"Отменить",redo:"Повтор",options:"Параметры",generateValidJSON:"Сформировать валидный JSON",generateReadableJSON:"Сформировать читаемый JSON",toolbox:"Панель инструментов",toolboxGeneralCategory:"Общие",delSelObject:"Удалить выбранный объект",editSelObject:"Редактировать выбранный объект",correctJSON:"Пожалуйста, исправьте JSON.",surveyResults:"Результаты обследования:",surveyResultsTable:"Как таблица",surveyResultsJson:"Как JSON",resultsTitle:"Заголовок вопроса",resultsName:"Название вопроса",resultsValue:"Значение ответа",resultsDisplayValue:"Отображаемое значение",modified:"Модифицирован",saving:"Сохранение",saved:"Сохраненный",saveError:"Ошибка! Содержание редактора не сохранено.",translationAddLanguage:"Выберите дополнительный язык опросника",translationShowAllStrings:"Показывать все строки",translationShowAllPages:"Показывать все страницы",translationNoStrings:"Нет строк для перевода. Пожалуйста, измените фильтр.",translationExportToSCVButton:"Экспорт в CSV",translationImportFromSCVButton:"Импорт из CSV",translationMergeLocaleWithDefault:"Объединить {0} с локалью по умолчанию",translationPlaceHolder:"Перевод...",bold:"Жирный",italic:"Курсив",underline:"Подчеркивание",fpAddQuestion:"Добавить вопрос...",completedHtmlOnConditionItemText:"Показывать, если:",lg:{addNewItem:"Добавить новое правило",page_visibilityName:"Видимость страницы",panel_visibilityName:"Видимость панели",panel_enableName:"Панель включена/выключена",question_visibilityName:"Видимость вопроса",question_enableName:"Вопрос включен/выключен",question_requireName:"Вопрос необязательный",trigger_completeName:"Опрос завершен",trigger_setvalueName:"Установить значение вопроса",trigger_copyvalueName:"Копировать значение вопроса",trigger_skipName:"Перейти к вопросу",trigger_runExpressionName:"Запустить пользовательское выражение",completedHtmlOnConditionName:"Пользовательский текст 'Страницы благодарности'",page_visibilityDescription:"Сделать страницу видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",panel_visibilityDescription:"Сделать панель видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",panel_enableDescription:"Сделать панель и все элементы внутри нее включенной, когда логическое выражение вернет 'true'. В противном случае оставить их отключенными.",question_visibilityDescription:"Сделать вопрос видимой, когда логическое выражение вернет 'true'. В противном случае сделать ее невидимой.",question_enableDescription:"Сделать вопрос включенным, когда логическое выражение вернет 'true'. В противном случае оставить его отключенными.",question_requireDescription:"Вопрос становится обязательным, когда логическое выражение вернет 'true'.",trigger_completeDescription:"Когда логическое выражение вернет 'true', то опрос становится завершенным и конечный пользователь видит 'Страницу благодарности'.",trigger_setvalueDescription:"Когда значения вопросов, которые используются в логическом выражении, изменяются и логическое выражение возвращает значение 'true', тогда на выбранный вопрос устанавливается значение.",trigger_copyvalueDescription:"Когда значения вопросов, которые используются в логическом выражении, изменяются и логическое выражение возвращает значение 'true', тогда значение одного выбранного вопроса копируется в другой выбранный вопрос.",trigger_skipDescription:"Когда логическое выражение вернет 'true', тогда опрос переходит к/фокусируется на выбранном вопросе.",trigger_runExpressionDescription:"Когда логическое выражение возвращает 'true',тогда выполняется пользовательское выражение. Вы можете при желании установить этот результат выражения в выбранный вопрос.",completedHtmlOnConditionDescription:"Если логическое выражение возвращает 'true', то текст по умолчанию для 'Страницы благодарности' изменяется на заданный.",itemExpressionText:"Когда выражение: '{0}' возвращает 'true':",page_visibilityText:"Сделать страницу {0} видимой",panel_visibilityText:"Сделать панель {0} видимой",panel_enableText:"Сделать панель {0} включенной",question_visibilityText:"Сделать вопрос {0} видимым",question_enableText:"Сделать вопрос {0} включенным",question_requireText:"Сделать вопрос {0} обязательным",trigger_completeText:"Опрос становится завершенным",trigger_setvalueText:"Установить в вопрос: {0} значение {1}",trigger_copyvalueText:"Копировать в вопрос: {0} значение из вопроса {1}",trigger_skipText:"Опрос переходит к вопросу {0}",trigger_runExpressionText1:"Выполнить выражение: '{0}'",trigger_runExpressionText2:"и установить его результат в вопрос: {0}",completedHtmlOnConditionText:"Показывать пользовательский текст для 'Страницы благодарности'.",expressionEditorTitle:"Настройка логики выражения",deleteOperation:"Удалить операцию",addNewOperation:"Добавить новую операцию(и)",expressionInvalid:"Логическое выражение пустое или недействительное. Пожалуйста, исправьте его.",noOperationError:"Пожалуйста, добавьте хоть одну операцию.",operationInvalid:"Пожалуйста, исправьте проблемы в вашей операции(ях)."}},pel:{isRequired:"Обязательное?"},pe:{apply:"Применить",ok:"OK",save:"Сохранить",cancel:"Отменить",reset:"Сброс",close:"Закрыть",delete:"Удалить",add:"Добавить",addNew:"Добавить новый",addItem:"Нажмите, чтобы добавить элемент...",addOther:"Другое",addSelectAll:"Выбрать все пункты",addNone:"Ничего",removeAll:"Удалить все",edit:"Редактировать",back:"Вернуться без сохранения",saveAndBack:"Сохранить и вернуться",itemValueEdit:"Отображать, если",editChoices:"Редактировать выбор",move:"Переместить",empty:"<пусто>",notEmpty:"<редактировать значение>",fastEntry:"Быстрый вход",formEntry:"Форма входа",testService:"Тест услуги",itemSelectorEmpty:"Пожалуйста, выберите элемент",conditionSelectQuestion:"Выберите вопрос ...",conditionSelectPage:"Выбрать страницу ...",conditionSelectPanel:"Выберите панель ...",conditionValueQuestionTitle:"Пожалуйста, введите/выберите значение",conditionButtonAdd:"Добавить",conditionButtonReplace:"Заменить",conditionHelp:"Пожалуйста, введите логическое выражение. Должно возвращаться значение 'true', чтобы вопрос/страница оставались видимыми, например:.. {Вопрос1} = 'значение1' или ({Вопрос2} * {Вопрос4}> 20 и {Вопрос3} <5)",expressionHelp:"Пожалуйста, введите выражение. Вы можете использовать фигурные скобки, чтобы получить доступ к значениям вопроса.: '{Вопрос1} + {Вопрос2}', '({цена}*{количество}) * (100 - {скидка}).",aceEditorHelp:"Нажмите Ctrl+Пробел, чтобы получить подсказки",aceEditorRowTitle:"Текущая строка",aceEditorPanelTitle:"Текущая панель",showMore:"Для получения более подробной информации, пожалуйста, перейдите к документации",conditionShowMoreUrl:"Https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Доступные вопросы:",cellsEmptyRowsColumns:"Должен быть хотя бы один столбец или строка",propertyIsEmpty:"Пожалуйста, введите значение",propertyNameIsNotUnique:"Пожалуйста, введите уникальное имя",listIsEmpty:"Добавьте новое условие",expressionIsEmpty:"Выражение - пустое",value:"Значение",text:"Текст",rowid:"ID строки",imageLink:"Ссылка на изображение",columnEdit:"Изменить столбец: {0}",itemEdit:"Редактировать элемент: {0}",url:"URL",path:"Путь",valueName:"Название пункта",titleName:"Заголовок пункта",titlePlaceholder:"Введите заголовок",surveyTitlePlaceholder:"Введите заголовок опроса",pageTitlePlaceholder:"Введите заголовок страницы",descriptionPlaceholder:"Введите описание",surveyDescriptionPlaceholder:"Введите описание опроса",pageDescriptionPlaceholder:"Введите описание страницы",hasOther:"Есть пункт 'Другое'",otherText:"Текст пункта 'Другое'",hasNone:"Нет ни одного пункта",noneText:"Текст пункта 'Ничего'",hasSelectAll:"Выбрать все пункты",selectAllText:"Текст пункта 'Выбрать все пункты'",choicesMin:"Минимальное значение для автоматически сгенерированных элементов",choicesMax:"Максимальное значение для автоматически сгенерированных элементов",choicesStep:"Разница между автоматически сгенерироваными элементами",name:"Название",title:"Заголовок",cellType:"Тип ячейки",ColCount:"Количество столбцов",choicesOrder:"Выбрать порядок отбора",visible:"Отображать?",isRequired:"Обязательный?",isAllRowRequired:"Все строки обязательны для заполнения",requiredErrorText:"Это поле обязательное для заполнения",startWithNewLine:"Начинать с новой строки?",rows:"Количество строк",PlaceHolder:"Плейсхолдер",showPreview:"Показать предпросмотр?",storeDataAsText:"Хранить содержимое файла в формате JSON как текст",MaxSize:"Максимальный размер файла в байтах",ImageHeight:"Высота изображения",ImageWidth:"Ширина изображения",rowCount:"Количество строк",columnLayout:"Макет столбцов",addRowLocation:"Добавить расположение кнопки строки",addRowText:"Добавить текст кнопки строки",removeRowText:"Удалить кнопку строки текста",rateMin:"Минимальный рейтинг",rateMax:"Максимальный рейтинг",rateStep:"Шаг рейтинга",minRateDescription:"Описание для минимального рейтинга",maxRateDescription:"Описание для максимального рейтинга",inputType:"Тип ввода",optionsCaption:"Параметры подписи",DefaultValue:"Значение по умолчанию",cellsDefaultRow:"Текст ячеек по умолчанию",surveyEditorTitle:"Настройки опросника",qEditorTitle:"Изменить: {0}",maxLength:"Максимальная длина",buildExpression:"Собрать",editExpression:"Редактировать",and:"И",or:"ИЛИ",remove:"Переместить",addCondition:"добавить условие",showTitle:"Показать/скрыть заголовок",locale:"Язык по умолчанию",simulator:"Выберите устройство",landscapeOrientation:"Альбомная",mode:"Режим (редактирование/просмотр)",clearInvisibleValues:"Очистить невидимые значения",cookieName:"Имя Cookie (отключить повторное прохождение опроса локально)",sendResultOnPageNext:"Показать результаты опроса на странице рядом",storeOthersAsComment:"Хранить занчение 'Другое' в отдельном поле",showPageTitles:"Показывать заголовки страниц",showPageNumbers:"Показывать номера страниц",pagePrevText:"Текст в кнопке 'Предыдущая страница'",pageNextText:"Текст в кнопке 'Следующая страница'",completeText:"Текст в кнопке 'Завершить'",startSurveyText:"Текст в кнопке 'Начать'",showNavigationButtons:"Показывать кнопки навигации (навигация по умолчанию)",showPrevButton:"Показывать кнопки 'Предыдущая страница' (пользователь может вернуться на предыдущую страницу)",firstPageIsStarted:"Первая страница опросника является стартовой страницей.",showCompletedPage:"Показывать страницу с текстом по завершению заполнения (HTML финальной страницы)",goNextPageAutomatic:"Переходить на следующую страницу автоматически при заполнении всех вопросов",showProgressBar:"Показывать прогресс заполнения",questionTitleLocation:"Расположение заголовка вопроса",requiredText:"Символ для обязательного вопроса",questionStartIndex:"Начальный индекс вопроса (1, 2 или 'A', 'а')",showQuestionNumbers:"Показывать номера вопросов",questionTitleTemplate:"Шаблон названия опроса, по умолчанию: {не} {требует} {текста}.",questionErrorLocation:"Размещение ошибки опроса",focusFirstQuestionAutomatic:"Фокусирование на первом вопросе при изменении страницы",questionsOrder:"Сортировка элементов на странице",maxTimeToFinish:"Максимальное время в секундах, чтобы заполнить опросник",maxTimeToFinishPage:"Максимальное время в секундах, чтобы заполнить страницу опросника",showTimerPanel:"Показывать панель таймера",showTimerPanelMode:"Показывать режим панели таймера",RenderMode:"Режим визуализации",allowAddPanel:"Разрешить добавление панели",allowRemovePanel:"Разрешить удаление панели",panelAddText:"Добавление текста на панели",panelRemoveText:"Удаление текста на панели",isSinglePage:"Показывать все элементы на одной странице",HTML:"HTML",expression:"Выражение",minValue:"Минимальное значение",maxValue:"Максимальное значение",mINLENGTH:"Минимальная длина",allowDigits:"Разрешить цифры",minCount:"Минимальное количество",maxCount:"Максимальное количество",regex:"Регулярное выражение",totalText:"Общий текст",totalType:"Общий тип",totalExpression:"Общее выражение",totalDisplayStyle:"Общий стиль отображения",totalCurrency:"Общая валюта",totalFormat:"Общий формат",logoPosition:"Местоположение логотипа",addLogo:"Добавить логотип...",changeLogo:"Изменить логотип...",logoPositions:{none:"Разместить логотип",left:"Слева",right:"Справа",top:"Сверху",bottom:"Снизу"},tabs:{general:"Общие",fileOptions:"Параметры",HTML:"Редактор HTML",columns:"Столбцы",rows:"Строки",choices:"Выбор",items:"Элементы",visibleIf:"Отображать, если",enableIf:"Доступен, если",requiredIf:"Обязателен для заполнения, если",rateValues:"Оценить важность(вес) вопроса",choicesByUrl:"Выбор из Интернета",matrixChoices:"Выбор по умолчанию",multipleTextItems:"Ввод нескольких текстовых полей",validators:"Валидаторы",navigation:"Навигация",question:"Вопрос",completedHtml:"HTML финальной страницы",completedHtmlOnCondition:"HTML финальной страницы при условии",loadingHtml:"Загрузка HTML",timer:"Таймер/Викторина",calculatedValues:"Расчетные значения",triggers:"Триггеры",templateTitle:"Название шаблона",totals:"Итоги",logic:"Логика",layout:"Планировка",data:"Данные",validation:"Проверка",cells:"Ячейки",showOnCompleted:"Показать по завершению",logo:"Логотип в заголовке опросника",others:"Другие"},editProperty:"Редактировать свойство '{0}'",items:"[Элементы: {0}]",enterNewValue:"Пожалуйста, введите значение.",noquestions:"В опроснике нет ни одного вопроса",createtrigger:"Пожалуйста, создайте триггер",triggerOn:"О",triggerMakePagesVisible:"Сделать страницы видимыми:",triggerMakeQuestionsVisible:"Сделать элементы видимыми:",triggerCompleteText:"Завершить опрос, если все получися.",triggerNotSet:"Тригер не установлен",triggerRunIf:"Начать, если",triggerSetToName:"Изменить значение:",triggerFromName:"Скопировать значение из:",triggerRunExpression:"Выполнить это выражение:",triggerSetValue:"в:",triggerGotoName:"Перейти к вопросу:",triggerIsVariable:"Не помещать переменную в результат опросника.",triggerRunExpressionEmpty:"Пожалуйста, введите корректное выражение"},pv:{true:"true",false:"false",inherit:"Наследовать",show:"Показать",hide:"Скрыть",default:"По умолчанию",initial:"Изначальный порядок",random:"Случайный порядок",collapsed:"Прерван",expanded:"Расширен",none:"Нет",asc:"По возрастанию",desc:"По убыванию",indeterminate:"Неопределенный",decimal:"Десятичный",currency:"Валюта",percent:"Проценты",firstExpanded:"Расширен первый",off:"Выключить",onPanel:"На панели",onSurvey:"В опроснике",list:"Список",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"Горизонтально",vertical:"Вертикально",top:"Сверху",bottom:"Снизу",topBottom:"Сверху и снизу",left:"Слева",color:"Цвет",date:"Дата",datetime:"Дата и время","datetime-local":"Местные дата и время",email:"Email",month:"Месяц",number:"Номер",password:"Пароль",range:"Диапазон",tel:"Телефон",text:"Текст",time:"Время",url:"URL",week:"Неделя",hidden:"Скрыт",on:"Включить",onPage:"На странице",edit:"Редактирование",display:"Просмотр",onComplete:"По завершению",onHidden:"По скрытию",all:"Все",page:"Страница",survey:"Опрос",onNextPage:"При переходе на следующую страницу",onValueChanged:"При изменении значения"},op:{empty:"не заполнено",notempty:"заполнено",equal:"равно",notequal:"не равно",contains:"содержит",notcontains:"не содержит",anyof:"любой из",allof:"все из",greater:"больше",less:"меньше",greaterorequal:"больше или равно",lessorequal:"меньше или равно"},ew:{angular:"Используйте версию Angular",jquery:"Используйте версию jQuery",knockout:"Используйте версию Knockout",react:"Используйте версию React",vue:"Используйте версию Vue",bootstrap:"Для библиотеки bootstrap",standard:"Без библиотеки bootstrap",showOnPage:"Показывать опросник на странице",showInWindow:"Показывать опросник в модальном окне",loadFromServer:"Загрузить Json опросника с сервера",titleScript:"Скрипты и стили",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Выберите страницу, чтобы проверить это:",showInvisibleElements:"Показывать скрытые элементы"},validators:{answercountvalidator:"Количество ответов",EmailValidator:"Email",expressionvalidator:"Выражение",numericvalidator:"Число",regexvalidator:"Регулярное выражение",textvalidator:"Текст"},triggers:{completetrigger:"Завершить опрос",setvaluetrigger:"Установить значение",copyvaluetrigger:"Скопировать значение",skiptrigger:"Перейти к вопросу",runexpressiontrigger:"Запустить выражение",visibletrigger:"Изменить видимость (не рекомендуется)"},p:{name:"Название",title:{name:"Название",title:"Оставьте его пустым, если оно такое же, как 'Название'"},navigationButtonsVisibility:"Отображение навигационных кнопок",questionsOrder:"Сортировка элементов на странице",maxTimeToFinish:"Максимальное время для завершения",visible:"Видимый",visibleIf:"Отображать, если",questionTitleLocation:"Расположение заголовка вопроса",description:"Описание",state:"Состояние",isRequired:"Обязателен",requiredIf:"Обязателен если",indent:"Отступ",requiredErrorText:"Это поле обязательное для заполнения",startWithNewLine:"Начинать с новой строки",innerIndent:"Внутренний отступ",page:"Страница",width:"Ширина",commentText:"Комментарий",valueName:"Название значения",enableIf:"Доступен при условии",defaultValue:"Значение по умолчанию",correctAnswer:"Правильный ответ",readOnly:"Только для чтения",validators:"Валидаторы",titleLocation:"Расположение заголовка",hasComment:"Есть комментарий",hasOther:"Есть значение 'Другое'",choices:"Выбор",choicesOrder:"Выбрать порядок выбора",choicesByUrl:"Выбрать из интернета",otherText:"Другой текстовый элемент",otherErrorText:"Текст ошибки поля 'Другое'",storeOthersAsComment:"Хранить значение поля 'Другое', как комментарий",label:"Ярлык",showTitle:"Показывать название",valueTrue:"Правильно",valueFalse:"Неправильно",cols:"Столбцы",rows:"Строки",placeHolder:"Плейсхолдер",optionsCaption:"Подпись параметров",expression:"Выражение",format:"Формат",displayStyle:"Стиль отображения",currency:"Валюта",useGrouping:"Использовать группировку",showPreview:"Показывать превью",allowMultiple:"Выбрать несколько",imageHeight:"Высота изображения",imageWidth:"Ширина изображения",storeDataAsText:"Хранить данные в виде текста",maxSize:"Максимальный размер",html:"HTML",columns:"Столбцы",cells:"Ячейки",isAllRowRequired:"Все строки обязательны для заполнения",horizontalScroll:"Горизонтальный скролл",cellType:"Тип ячейки",columnsLayout:"Макет столбцов",columnColCount:"Количество столбцов",columnMinWidth:"Минимальная ширина столбца",rowCount:"Количество строк",minRowCount:"Минимальное количество строк",maxRowCount:"Максимальное количество строк",keyName:"Название ключа",keyDuplicationError:"Ошибка! Такой ключ уже существует, укажите другое название.",confirmDelete:"Подтвердить удаление",confirmDeleteText:"Текст сообщения при подтверждении удаления",addRowLocation:"Добавить расположение строк",addRowText:"Добавить кнопку строки текста",removeRowText:"Удалить кнопку строки текста",items:"Элементы",itemSize:"Размер элементов",colCount:"Количество столбцов",templateTitle:"Заголовок шаблона",templateDescription:"Описание шаблона",allowAddPanel:"Разрешить добавление панели",allowRemovePanel:"Разрешить удаление панели",panelCount:"Количество панелей",minPanelCount:"Минимальное количество панелей",maxPanelCount:"Максимальное количество панелей",panelsState:"Состояние панелей",panelAddText:"Текст сообщения при добавлении панели",panelRemoveText:"Текст сообщения при удалении панели",panelPrevText:"Текст сообщения предыдущей панели",panelNextText:"Текст сообщения следующей панели",showQuestionNumbers:"Показывать номера вопросов",showRangeInProgress:"Показывать прогресса заполнения",renderMode:"Режим отображения",templateTitleLocation:"Расположение заголовка шаблона",rateValues:"Оценить важность(вес) опроса",rateMin:"Минимальный рейтинг",rateMax:"Максимальный рейтинг",rateStep:"Шаг рейтинга",minRateDescription:"Описание для минимального рейтинга",maxRateDescription:"Описание для максимального рейтинга",inputType:"Тип ввода",size:"Размер",locale:"Локаль",focusFirstQuestionAutomatic:"Фокусирование на первом вопросе при изменении страницы",completedHtml:"HTML финальной страницы",completedHtmlOnCondition:"HTML финальной страницы при условии",loadingHtml:"Загрузка HTML",triggers:"триггеры",cookieName:"имя Cookie",sendResultOnPageNext:"Показать результаты опроса на странице рядом",showNavigationButtons:"Показывать кнопки навигации (навигация по умолчанию)",showPrevButton:"Показывать кнопки 'Предыдущая страница' (пользователь может вернуться на предыдущую страницу)",showPageTitles:"Показывать название страницы",showCompletedPage:"Показывать страницу с текстом по завершению заполнения (HTML финальной страницы)",showPageNumbers:"Показывать номера страниц",questionErrorLocation:"Размещение ошибки опроса",showProgressBar:"Показывать прогресс заполнения",mode:"Режим",goNextPageAutomatic:"Переходить на следующую страницу автоматически при ответе на все вопросы",checkErrorsMode:"Режим проверки ошибок",clearInvisibleValues:"Очистить невидимые значения",startSurveyText:"Текст в кнопке 'Начать'",pagePrevText:"Текст в кнопке 'Предыдущая страница'",pageNextText:"Текст в кнопке 'Следующая страница'",completeText:"Текст в кнопке 'Завершить'",requiredText:"Символ для обязательного вопроса",questionStartIndex:"Начальный индекс в опросе (1, 2 или 'A', 'а')",questionTitleTemplate:"Шаблон названия опроса, по умолчанию: {не} {требует} {текста}.",firstPageIsStarted:"Первая страница опросника является стартовой страницей.",isSinglePage:"Показывать все элементы на одной странице",maxTimeToFinishPage:"Максимальное время (секунды), чтобы заполнить страницу опросника",showTimerPanel:"Показывать панель таймера",showTimerPanelMode:"Показывать режим панели таймера",defaultPanelValue:"Значение панели по умолчанию",defaultRowValue:"Значение строки по умолчанию",hasNone:"Нет ни одного пункта",noneText:"Текст пункта 'Ничего'",text:"Текст"}};o.editorLocalization.locales.ru=r},"./src/localization/simplified-chinese.ts":
|
|
405
405
|
/*!************************************************!*\
|
|
406
406
|
!*** ./src/localization/simplified-chinese.ts ***!
|
|
407
407
|
\************************************************/
|
|
@@ -409,7 +409,7 @@ License: MIT
|
|
|
409
409
|
/*!*************************************!*\
|
|
410
410
|
!*** ./src/localization/spanish.ts ***!
|
|
411
411
|
\*************************************/
|
|
412
|
-
/*! no exports provided */function(e,t,i){"use strict";i.r(t),i(/*! ../editorLocalization */"./src/editorLocalization.ts").editorLocalization.locales.es={survey:{edit:"Editar",externalHelpLink:"Mira y aprende a crear encuestas",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"¡Arrastra un tipo de pregunta para empezar a diseñar tu encuesta!",addLogicItem:"Cree una regla para personalizar el flujo de la encuesta",copy:"Copiar",duplicate:"Duplicar",addToToolbox:"Añadir a la caja de herramientas",deletePanel:"Eliminar panel",deleteQuestion:"Eliminar pregunta",convertTo:"Convertir a",drag:"Elemento de arrastre"},qt:{default:"Defecto",checkbox:"Caja",comment:"Comentario",imagepicker:"Selector de imágenes",ranking:"Ranking",image:"Imagen",dropdown:"Desplegable",file:"Archivo",html:"Html",matrix:"Matriz (selección única)",matrixdropdown:"Matriz (opción múltiple)",matrixdynamic:"Matriz (filas dinámicas)",multipletext:"Múltiples textos",panel:"Panel",paneldynamic:"Panel (paneles dinámicos)",radiogroup:"Grupo de radio",rating:"Clasificación",text:"Entrada única",boolean:"Booleano",expression:"Expresión (solo lectura)",signaturepad:"Almohadilla de firma",flowpanel:"Panel de flujo"},ed:{defaultLocale:"Predeterminado ({0})",survey:"Encuesta",settings:"Configuración de la encuesta",settingsTooltip:"Configuración de encuesta abierta",opjectPropertiesHeader:"Avanzada",showObjectProperties:"Mostrar propiedades del objeto",hideObjectProperties:"Ocultar propiedades de objetos",showPanel:"Mostrar panel",hidePanel:"Ocultar panel",editSurvey:"Editar encuesta",addNewPage:"Añadir nueva página",moveRight:"Desplácese a la derecha",moveLeft:"Desplácese a la izquierda",deletePage:"Eliminar página",editPage:"Editar página",edit:"Editar",newPageName:"Página",newQuestionName:"Pregunta",newPanelName:"Panel",newTextItemName:"Texto",testSurvey:"Encuesta de prueba",testSurveyAgain:"Encuesta de prueba de nuevo",testSurveyWidth:"Ancho de la encuesta:",navigateToMsg:"Tuviste que navegar a:",logic:"Lógica de la encuesta",embedSurvey:"Incrustar la encuesta",translation:"Traducción",saveSurvey:"Guardar la encuesta",saveSurveyTooltip:"Guardar la encuesta",designer:"Diseñador de la encuesta",jsonEditor:"Editor de JSON",undo:"Deshacer",redo:"Rehacer",undoTooltip:"Deshacer el último cambio",redoTooltip:"Rehacer el cambio",copy:"Copiar",cut:"Cortar",paste:"Pegar",copyTooltip:"Copia selección al portapapeles",cutTooltip:"Corta la selección al portapapeles",pasteTooltip:"Pega de portapapeles",options:"Opciones",generateValidJSON:"Generar un JSON válido",generateReadableJSON:"Generar JSON legible",toolbox:"Caja de herramientas","property-grid":"Propiedades",toolboxGeneralCategory:"general",delSelObject:"Eliminar objeto seleccionado",editSelObject:"Editar objeto seleccionado",correctJSON:"Por favor, corrija JSON",surveyResults:"Resultado de la encuesta:",surveyResultsTable:"Como Tabla",surveyResultsJson:"Como JSON",resultsTitle:"Título de la pregunta",resultsName:"Nombre de la pregunta",resultsValue:"Valor de respuesta",resultsDisplayValue:"Valor de visualización",modified:"Modificada",saving:"Guardando",saved:"Guardado",propertyEditorError:"error:",saveError:"¡Error!El contenido del editor no se ha guardado",translationAddLanguage:"Seleccione el idioma para traducir",translationShowAllStrings:"Mostrar todos los textos",translationShowAllPages:"Mostrar todas las páginas",translationNoStrings:"Sin cuerdas para traducir. Por favor, cambie el filtro",translationExportToSCVButton:"Exportar a CSV",translationImportFromSCVButton:"Importación de CSV",translationMergeLocaleWithDefault:"Merge {0} con lugar predeterminado",bold:"Negrita",italic:"Itálica",underline:"Subrayar",fpAddQuestion:"Añadir pregunta ...",selectPage:"Seleccionar página ...",chooseElement:"Elige el elemento ...",completedHtmlOnConditionItemText:"Mostrar si:",lg:{addNewItem:"",page_visibilityName:"Visibilidad de la pagina",panel_visibilityName:"Visibilidad del panel",panel_enableName:"Panel habilitar / deshabilitar",question_visibilityName:"Pregunta visibilidad",question_enableName:"Pregunta habilitar / deshabilitar",question_requireName:"Pregunta opcional requerida",trigger_completeName:"Encuesta completa",trigger_setvalueName:"Establecer valor de la pregunta",trigger_copyvalueName:"Copiar valor de la pregunta",trigger_skipName:"Saltar a la pregunta",trigger_runExpressionName:"Ejecutar la expresión personalizada",completedHtmlOnConditionName:"Texto personalizado 'Página de agradecimiento'",page_visibilityDescription:"Haga que la página sea visible cuando la expresión lógica vuelva verdadera. De lo contrario, manténgalo invisible",panel_visibilityDescription:"Haga que el panel sea visible cuando la expresión lógica vuelva verdadera. De lo contrario, manténgalo invisible",panel_enableDescription:"Haga el panel, y todos los elementos dentro de él, habiliten cuando la expresión lógica devuelve verdadero. De lo contrario, manténgalos deshabilitados",question_visibilityDescription:"Haz que la pregunta sea visible cuando la expresión lógica se devuelve 'verdadero'. De lo contrario, se mantiene invisible",question_enableDescription:"Haz que la pregunta se habilite cuando la expresión lógica devuelve 'verdadero'. De lo contrario, se mantiene deshabilitado",question_requireDescription:"La pregunta se requiere cuando la expresión lógica devuelve 'verdadero'",trigger_completeDescription:"Cuando la expresión lógica devuelve 'verdadero', la encuesta se completa y el usuario final ve la 'página de agradecimiento'",trigger_setvalueDescription:"Cuando se cambian los valores de las preguntas, que se usan en la expresión lógica, se cambian y la expresión lógica devuelve 'verdadero', entonces el valor se establece en la pregunta seleccionada",trigger_copyvalueDescription:"Cuando se cambian los valores de las preguntas, que se usan en la expresión lógica, se cambian y la expresión lógica devuelve 'verdadero', entonces el valor de una pregunta seleccionada se copia a otra pregunta seleccionada",trigger_skipDescription:"Cuando la expresión lógica devuelve 'verdadero', la encuesta salta a la pregunta seleccionada",trigger_runExpressionDescription:"Cuando la expresión lógica devuelve 'verdadero', entonces se realiza la expresión personalizada. Es posible que opcionalmente establezca este resultado de expresión en la pregunta seleccionada",completedHtmlOnConditionDescription:"Si la expresión lógica devuelve 'verdadero', entonces el texto predeterminado para la 'página de agradecimiento' se cambia por el texto dado",itemExpressionText:"Cuando la expresión: '{0}' devuelve VERDADERO:",page_visibilityText:"Hacer la página {0} Visible",panel_visibilityText:"Hacer panel {0} visible",panel_enableText:"Hacer panel {0} habilitar",question_visibilityText:"Hacer Pregunta {0} Visible",question_enableText:"Hacer Pregunta {0} Habilitar",question_requireText:"Hacer la pregunta {0} requerida",trigger_completeText:"La encuesta se completa",trigger_setvalueText:"En cuestión: {0} valor {1}",trigger_copyvalueText:"Copiar en cuestión: {0} valor de la pregunta {1}",trigger_skipText:"Encuesta salta a la pregunta {0}",trigger_runExpressionText1:"Expresión de ejecución: '{0}'",trigger_runExpressionText2:"y establecer su resultado en cuestión: {0}",completedHtmlOnConditionText:"Mostrar texto personalizado para la 'gracias página'",conditions:"Condición(es)",actions:"Comportamiento",expressionEditorTitle:"Definir la(s) condición(es)",actionsEditorTitle:"Definir la(s) acción(es)",deleteAction:"Eliminar acción",addNewAction:"Añadir nueva acción",selectedActionCaption:"Seleccione una acción para agregar ...",expressionInvalid:"La expresión lógica está vacía o inválida. Por favor corríjalo",noActionError:"Por favor, agregue al menos una acción",actionInvalid:"Por favor, solucione problemas en su(s) acción(es)",expressionSetup:"",actionsSetup:" "}},pel:{isRequired:"¿Requerida?"},pe:{apply:"Solicitar",ok:"ok",save:"Guardar",saveTooltip:"Guardar",cancel:"Cancelar",reset:"Reiniciar",refresh:"Actualizar",close:"Cerrar",delete:"Borrar",add:"Agregar",addNew:"Añadir nuevo",addItem:"Haga clic para agregar un artículo ...",addOther:"Otra",addSelectAll:"Seleccionar todo",addNone:"Ninguna",removeAll:"Eliminar todo",edit:"Editar",back:"Volver sin guardar",backTooltip:"Volver sin guardar",saveAndBack:"Guardar y volver",saveAndBackTooltip:"Guardar y volver",itemValueEdit:"Visible si",editChoices:"Editar opciones",showChoices:"Mostrar opciones",move:"Moverse",empty:"<vaciar>",notEmpty:"<Editar valor>",fastEntry:"Entrada rápida",formEntry:"Entrada de forma",testService:"Probar el servicio",itemSelectorEmpty:"Por favor seleccione el elemento",conditionActionEmpty:"Por favor seleccione la acción",conditionSelectQuestion:"Seleccionar pregunta ...",conditionSelectPage:"Seleccionar página ...",conditionSelectPanel:"Seleccionar panel ...",conditionValueQuestionTitle:"Por favor ingrese / seleccione el valor",conditionHelp:"Por favor ingrese una expresión booleana.Debe devolverse verdadero para mantener visible la pregunta / página.Por ejemplo: {pregunta1} = 'value1' o ({pregunta2} * {pregunta4}> 20 y {pregunta3} <5)",expressionHelp:"Puede usar soportes rizados para obtener acceso a los valores de la pregunta: {pregunta1} + {pregunta2}, ({precio} * {cantidad}) * (100 - {descuento}).Puede usar funciones como: IIF (), hoy (), edad (), min (), max (), cuenta (), AVG () y otros",aceEditorHelp:"Presione CTRL + ESPACIO para obtener sugerencia de completar la expresión",aceEditorRowTitle:"Fila actual",aceEditorPanelTitle:"Panel actual",showMore:"Para más detalles, por favor revise la documentación",conditionShowMoreUrl:"https://surveyjsIo/documentation/libraryParametro?Id =PreguntaYParámetro =VisibleSi",assistantTitle:"Preguntas disponibles:",cellsEmptyRowsColumns:"Debe haber al menos una columna o fila",propertyIsEmpty:"Porfavor introduzca un valor",propertyIsNoUnique:"Por favor ingrese un valor único",propertyNameIsNotUnique:"Por favor ingrese un nombre único",listIsEmpty:"Añadir un nuevo artículo",expressionIsEmpty:"La expresión está vacía",value:"Valor",text:"Texto",rowid:"ID de fila",imageLink:"Enlace de imágen",columnEdit:"Editar columna: {0}",itemEdit:"Editar artículo: {0}",url:"URL",path:"Camino",valueName:"Nombre de valor",titleName:"Nombre del título",allowEmptyResponse:"Permitir respuestas vacías",titlePlaceholder:"Título de entrada aquí",surveyTitlePlaceholder:"Título de la encuesta de entrada aquí",pageTitlePlaceholder:"Título de la página de entrada aquí",descriptionPlaceholder:"Ingrese una descripción",surveyDescriptionPlaceholder:"Ingrese una descripción de la encuesta",pageDescriptionPlaceholder:"Ingrese una descripción de la página",hasOther:"Tiene opción 'Otro'",otherText:"Cambiar texto 'Otro'",hasNone:"Tiene opcion 'Ninguno'",noneText:"Cambiar texto 'Ninguno'",hasSelectAll:"Tiene opción 'Selecionar todo'",selectAllText:"Cambiar texto de 'Seleccionar todo'",choicesMin:"Valor mínimo para artículos generados automáticos",choicesMax:"Valor máximo para artículos generados automáticos",choicesStep:"La diferencia entre los artículos generados automáticos",name:"Nombre",title:"Título",cellType:"Tipo de célula",colCount:"Recuento de columnas",choicesOrder:"Seleccione el orden de las opciones",visible:"¿Es visible?",isRequired:"¿Se requiere?",isAllRowRequired:"Requerir respuesta para todas las filas",requiredErrorText:"Texto de error requerido",startWithNewLine:"¿Empieza con la nueva línea?",rows:"Número de filas",cols:"Recuento de columnas",placeHolder:"Placeholder de entrada",showPreview:"Mostrar área de vista previa",storeDataAsText:"Tienda el contenido del archivo en el resultado de JSON como texto",maxSize:"Tamaño máximo de archivo en bytes",imageHeight:"Altura de imagen",imageWidth:"Ancho de la imagen",rowCount:"Número de filas",columnLayout:"Diseño de columnas",addRowLocation:"Añadir la ubicación del botón de la fila",addRowText:"Añadir texto de botón de fila",removeRowText:"Eliminar el texto del botón de fila",rateMin:"Valor mínimo",rateMax:"Valor máximo",rateStep:"Rango de los valores",minRateDescription:"Descripción del valor mínimo",maxRateDescription:"Descripción del valor máximo",inputType:"Tipo de entrada",optionsCaption:"Cambie texto de 'Seleccione'",showOptionsCaption:"Mostrar el título de las opciones",defaultValue:"Valor por defecto",cellsDefaultRow:"Textos de celdas predeterminados",surveyEditorTitle:"Editar configuración de encuesta",qEditorTitle:"Editar: {0}",maxLength:"Longitud máxima",buildExpression:"Construir",editExpression:"Editar",and:"Y",or:"O",remove:"Eliminar",addCondition:"Añadir condición",showTitle:"Mostrar / Ocultar Título",expandCollapseTitle:"Expandir / Contraer título",locale:"Idioma predeterminado",simulator:"Elige dispositivo",landscapeOrientation:"Orientación horizontal ",mode:"Modo (editar / leer solamente)",clearInvisibleValues:"Claros valores invisibles",cookieName:"Nombre de la cookie (para deshabilitar la encuesta de ejecución dos veces localmente)",sendResultOnPageNext:"Enviar resultados de encuestas en la página Siguiente",storeOthersAsComment:"Almacenar 'Otros' valor en campo separado",showPageTitles:"Mostrar descripción de la página",showPageNumbers:"Mostrar números de página",pagePrevText:"Página de texto del botón anterior",pageNextText:"Página Siguiente botón de texto",completeText:"Texto completo del botón",previewText:"Vista previa del botón del botón",editText:"Editar botón de texto",startSurveyText:"Texto de inicio de la encuesta",showNavigationButtons:"Mostrar botones de navegación (navegación predeterminada)",showPrevButton:"Mostrar botón anterior (el usuario puede volver a la página anterior)",firstPageIsStarted:"La primera página en la encuesta es una página iniciada",showCompletedPage:"Mostrar la página completa al final (HTML finalizado)",goNextPageAutomatic:"Al responder todas las preguntas, vaya a la página siguiente automáticamente",showProgressBar:"Mostrar barra de progreso",questionTitleLocation:"Ubicación del título de la pregunta",requiredText:"La pregunta requerida (s) símbolo (s)",questionStartIndex:"Índice de inicio de la pregunta (1, 2 o 'A', 'A')",showQuestionNumbers:"Mostrar números de pregunta",questionTitleTemplate:"Plantilla de título de la pregunta, el valor predeterminado es: '{no}.{requiere} {título} '",questionErrorLocation:"Ubicación de error de la pregunta",focusFirstQuestionAutomatic:"Enfoca la primera pregunta al cambiar la página",questionsOrder:"Orden de elementos en la página",maxTimeToFinish:"Tiempo máximo para terminar la encuesta",maxTimeToFinishPage:"Tiempo máximo para terminar una página en la encuesta",showTimerPanel:"Mostrar panel de temporizador",showTimerPanelMode:"Mostrar modo de panel del temporizador",renderMode:"Modo de renderizado",allowAddPanel:"Permitir agregar un panel",allowRemovePanel:"Permitir eliminar el panel",panelAddText:"Añadiendo texto del panel",panelRemoveText:"Eliminar texto del panel",isSinglePage:"Mostrar todos los elementos en una página",html:"Html",expression:"Expresión",minValue:"Valor mínimo",maxValue:"Valor máximo",minLength:"Longitud mínima",allowDigits:"Permitir dígitos",minCount:"Cantidad mínima",maxCount:"Cantidad máxima",regex:"Expresión regular",totalText:"Texto total",totalType:"Tipo total",totalExpression:"Expresión total",totalDisplayStyle:"Estilo de visualización total",totalCurrency:"Moneda total",totalFormat:"Formato total",logoPosition:"Posición del logotipo",addLogo:"Añadir logo ...",changeLogo:"Cambiar logo ...",logoPositions:{none:"Eliminar logo",left:"Izquierda",right:"Derecha",top:"En la parte superior",bottom:"En la parte inferior"},tabs:{general:"General",fileOptions:"Opciones",html:"Editor HTML",columns:"Columnas",rows:"Filas",choices:"Opciones",items:"Artículos",visibleIf:"Visible si",enableIf:"Habilitar si",requiredIf:"Requerido si",rateValues:"Valores de la tasa",choicesByUrl:"Opciones de la web",matrixChoices:"Opciones predeterminadas",multipleTextItems:"Entradas de texto",numbering:"Numeración",validators:"Validadores",navigation:"Navegación",question:"Pregunta",pages:"Páginas",completedHtml:"HTML completado",completedHtmlOnCondition:"HTML completado en la condición",loadingHtml:"Cargando HTML",timer:"Horas / cuestionario",calculatedValues:"Valores calculados",triggers:"Disparadores",templateTitle:"Título de la plantilla",totals:"Totales",logic:"Lógica",layout:"Diseño",data:"Datos",validation:"Validación",cells:"Células",showOnCompleted:"Mostrar en completado",logo:"Logo en el título de la encuesta",slider:"Slider",others:"Otras"},editProperty:"Editar propiedad '{0}'",items:"[Artículos: {0}]",enterNewValue:"Por favor, ingrese el valor",noquestions:"No hay ninguna pregunta en la encuesta",createtrigger:"Por favor crea un gatillo",titleKeyboardAdornerTip:"Presione el botón Entrar para editar",keyboardAdornerTip:"Presione el botón Entrar para editar el elemento, presione el botón Eliminar para eliminar el elemento, presione ALT Plus Flecha hacia arriba o hacia abajo para mover el elemento",keyboardMoveItemsTip:"Presione ALT Plus flecha hacia arriba o flecha hacia abajo para mover el artículo",triggerOn:"En",triggerMakePagesVisible:"Hacer visibles las páginas:",triggerMakeQuestionsVisible:"Hacer elementos visibles:",triggerCompleteText:"Completa la encuesta si tiene éxito",triggerNotSet:"El gatillo no se establece",triggerRunIf:"Correr si",triggerSetToName:"Cambio de valor de:",triggerFromName:"Copie el valor de:",triggerRunExpression:"Ejecute esta expresión:",triggerSetValue:"a:",triggerGotoName:"Ir a la pregunta:",triggerIsVariable:"No coloque la variable en el resultado de la encuesta",triggerRunExpressionEmpty:"Por favor ingrese una expresión válida",noFile:"Ningún archivo elegido"},pv:{true:"cierto",false:"falsa",inherit:"heredar",show:"mostrar",hide:"esconder",default:"defecto",initial:"inicial",random:"aleatoria",collapsed:"colapsada",expanded:"expandida",none:"ninguna",asc:"ascendente",desc:"descendiendo",indeterminate:"indeterminada",decimal:"decimal",currency:"divisa",percent:"por ciento",firstExpanded:"Primer Expandido",off:"no mostrar",onPanel:"en Panel",onSurvey:"en Encuesta",list:"lista",progressTop:"Progreso superior",progressBottom:"Progreso inferior",progressTopBottom:"Progreso inferior/superior",horizontal:"horizontal",vertical:"vertical",top:"arriba",bottom:"abajo",topBottom:"arriba y abajo",both:"ambas",left:"izquierda",color:"color",date:"fecha",datetime:"fecha y hora","datetime-local":"fecha y hora local",email:"Email",month:"mes",number:"número",password:"contraseña",range:"distancia",tel:"tel",text:"texto",time:"hora",url:"URL",week:"semana",hidden:"oculta",on:"mostrar",onPage:"en la página",edit:"editar",display:"mostrar",onComplete:"Al completarse",onHidden:"Al ocultarse",all:"todas",page:"página",survey:"encuesta",onNextPage:"Al cambiar página",onValueChanged:"Al cambiar valor",singlePage:"única página",standard:"estándar",questionPerPage:"Pregunta por página",noPreview:"sin vista previa",showAllQuestions:"Mostrar vista previa con todas las preguntas",showAnsweredQuestions:"Mostrar vista previa con preguntas contestadas",pages:"páginas",questions:"preguntas",requiredQuestions:"preguntas requeridas",correctQuestions:"preguntas correctas",buttons:"botones",underInput:"debajo de la respuesta",underTitle:"debajo del título"},op:{empty:"esta vacio",notempty:"no está vacío",equal:"es igual a",notequal:"no es igual a",contains:"contiene",notcontains:"no contiene",anyof:"cualquiera de",allof:"todo",greater:"mayor que",less:"menos",greaterorequal:"Mayor o igual",lessorequal:"Menos o iguales",and:"y",or:"o"},ew:{angular:"Usar la versión angular",jquery:"Usa la versión jQuery",knockout:"Usa la versión Knockout",react:"Use la versión de reacción",vue:"Usa la versión VUE",bootstrap:"Para marco de bootstrap",modern:"Tema moderno",default:"Tema predeterminado",orange:"Tema naranja",darkblue:"Tema DarkBlue",darkrose:"Tema de Darkrose",stone:"Tema de piedra",winter:"Tema de invierno",winterstone:"Tema de piedra de invierno",showOnPage:"Mostrar encuesta en una página",showInWindow:"Mostrar encuesta en una ventana",loadFromServer:"Encuesta de carga JSON del servidor",titleScript:"Scripts y estilos",titleHtml:"Html",titleJavaScript:"Javascript"},ts:{selectPage:"Seleccione la página para probarlo:",showInvisibleElements:"Mostrar elementos invisibles"},validators:{answercountvalidator:"Cantidad de respuestas",emailvalidator:"Email",expressionvalidator:"expresión",numericvalidator:"numérica",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"encuesta completa",setvaluetrigger:"valor ajustado",copyvaluetrigger:"Valor de copia",skiptrigger:"Saltar a la pregunta",runexpressiontrigger:"expresión de ejecución",visibletrigger:"Cambiar visibilidad"},p:{name:"nombre",title:{name:"título",title:"Dejarlo vacío, si es lo mismo que 'Name'"},navigationButtonsVisibility:"Navegación botones visibilidad",questionsOrder:"Orden",maxTimeToFinish:"Tiempo de finalización",visible:"visible",visibleIf:"visible si",questionTitleLocation:"Localización del título",description:"Descripción",state:"Expresar",isRequired:"se requiere",requiredIf:"Requerido si",indent:"Indentar",requiredErrorText:"Requerido",startWithNewLine:"Comenzar con nueva línea",innerIndent:"Sangría interior",page:"página",width:"Ancho",commentText:"comentario",valueName:"Nombre del valor",enableIf:"Habilitar si",defaultValue:"valor por defecto",correctAnswer:"respuesta correcta",readOnly:"solo lectura",validators:"Validadores",titleLocation:"Localización del título",hasComment:"tiene comentario",hasOther:"otro",choices:"opciones",choicesOrder:"orden de opciones",choicesByUrl:"opciones por URL",otherText:"otro texto",otherErrorText:"otro texto de Error",storeOthersAsComment:"Guardar otras como comentario",label:"etiqueta",showTitle:"mostrar título",valueTrue:"Verdadero",valueFalse:"Falso",cols:"columnas",rows:"filas",placeHolder:"marcador de posición",optionsCaption:"Texto opciones",expression:"expresión",format:"formato",displayStyle:"Estilo visualización",currency:"divisa",useGrouping:"Grupo de uso",showPreview:"Mostrar vista previa",allowMultiple:"Permitir múltiples",imageHeight:"Altura de imagen",imageWidth:"ancho de la imagen",storeDataAsText:"Guardar datos como texto",maxSize:"tamaño máximo",html:"html",columns:"columnas",cells:"células",isAllRowRequired:"Todas las filas son obligatorias",horizontalScroll:"Scroll Horizontal",cellType:"Tipo de célula",columnsLayout:"Estilo columna",columnColCount:"Contador columna",columnMinWidth:"Ancho columna",rowCount:"número de filas",minRowCount:"Cantidad mín de filas",maxRowCount:"Cantidad max de filas",keyName:"Nombre clave",keyDuplicationError:"KeyDuplicationError",confirmDelete:"confirmar borrado",confirmDeleteText:"texto de confirmación de borrado",addRowLocation:"Localización añadir fila",addRowText:"Añadir texto fila",removeRowText:"Eliminar texto fila",items:"artículos",itemSize:"artículos",colCount:"Contador columna",templateTitle:"Título template",templateDescription:"Descripción template",allowAddPanel:"Permitir añadir panel",allowRemovePanel:"Permitir eliminar panel",panelCount:"Contador panel",minPanelCount:"Mín Contador Panel",maxPanelCount:"Max Contador Panel",panelsState:"Estado panel",panelAddText:"Panel añadir texto",panelRemoveText:"Panel eliminar texto",panelPrevText:"panel previo",panelNextText:"panel siguiente",showQuestionNumbers:"Mostrar número preguntas",showRangeInProgress:"Mostrar rango en progresso",renderMode:"Modo renderización",templateTitleLocation:"Localización título en template",rateValues:"Califica valores",rateMin:"Calificación mínima",rateMax:"Calificación máxima",rateStep:"Paso",minRateDescription:"MinRate Descripción",maxRateDescription:"MaxRate Descripción",inputType:"tipo de entrada",size:"Tamaño",locale:"lugar",focusFirstQuestionAutomatic:"Colocarse automáticamente en la primera pregunta",completedHtml:"HTML completado",completedBeforeHtml:"HTML completado antes",loadingHtml:"Cargando HTML",triggers:"disparadores",cookieName:"Nombre Cookie",sendResultOnPageNext:"Enviar resultados en la siguiente página",showNavigationButtons:"Mostrar botones de navegación",showPrevButton:"Mostrar botón previo",showPageTitles:"Mostrar título páginas",showCompletedPage:"Mostrar página de Completado",showPageNumbers:"Mostrar Números de Página",questionErrorLocation:"Localización del error de la pregunta",showProgressBar:"Mostrar programa",mode:"modo",goNextPageAutomatic:"Ir a la siguiente página automáticamente",checkErrorsMode:"Modo validar errores",clearInvisibleValues:"Borrar valores invisibles",startSurveyText:"Texto de inicio de la encuesta",pagePrevText:"Texto página previa",pageNextText:"Texto página siguiente",completeText:"Texto completado",requiredText:"Texto requerido",questionStartIndex:"Índice inicial de la pregunta",questionTitleTemplate:"Título del template de la pregunta",firstPageIsStarted:"Primera página iniciada",isSinglePage:"Página única",maxTimeToFinishPage:"Tiempo máximo para finalizar",showTimerPanel:"Mostrar temporizador",showTimerPanelMode:"Mostrar temporizador Modo",defaultPanelValue:"Valor por defecto Panel",defaultRowValue:"Valor por defecto Fila",hasNone:"Tiene opción 'Ninguno'",noneText:"Texto ninguno",text:"texto"}}},"./src/localization/swedish.ts":
|
|
412
|
+
/*! no exports provided */function(e,t,i){"use strict";i.r(t),i(/*! ../editorLocalization */"./src/editorLocalization.ts").editorLocalization.locales.es={survey:{edit:"Editar",externalHelpLink:"Mira y aprende a crear encuestas",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"¡Arrastra un tipo de pregunta para empezar a diseñar tu encuesta!",addLogicItem:"Cree una regla para personalizar el flujo de la encuesta",copy:"Copiar",duplicate:"Duplicar",addToToolbox:"Añadir a la caja de herramientas",deletePanel:"Eliminar panel",deleteQuestion:"Eliminar pregunta",convertTo:"Convertir a",drag:"Elemento de arrastre"},qt:{default:"Defecto",checkbox:"Caja",comment:"Comentario",imagepicker:"Selector de imágenes",ranking:"Ranking",image:"Imagen",dropdown:"Desplegable",file:"Archivo",html:"Html",matrix:"Matriz (selección única)",matrixdropdown:"Matriz (opción múltiple)",matrixdynamic:"Matriz (filas dinámicas)",multipletext:"Múltiples textos",panel:"Panel",paneldynamic:"Panel (paneles dinámicos)",radiogroup:"Grupo de radio",rating:"Clasificación",text:"Entrada única",boolean:"Booleano",expression:"Expresión (solo lectura)",signaturepad:"Almohadilla de firma",flowpanel:"Panel de flujo"},ed:{defaultLocale:"Predeterminado ({0})",survey:"Encuesta",settings:"Configuración de la encuesta",settingsTooltip:"Configuración de encuesta abierta",opjectPropertiesHeader:"Avanzada",showObjectProperties:"Mostrar propiedades del objeto",hideObjectProperties:"Ocultar propiedades de objetos",showPanel:"Mostrar panel",hidePanel:"Ocultar panel",editSurvey:"Editar encuesta",addNewPage:"Añadir nueva página",moveRight:"Desplácese a la derecha",moveLeft:"Desplácese a la izquierda",deletePage:"Eliminar página",editPage:"Editar página",edit:"Editar",newPageName:"Página",newQuestionName:"Pregunta",newPanelName:"Panel",newTextItemName:"Texto",testSurvey:"Encuesta de prueba",testSurveyAgain:"Encuesta de prueba de nuevo",testSurveyWidth:"Ancho de la encuesta:",navigateToMsg:"Tuviste que navegar a:",logic:"Lógica de la encuesta",embedSurvey:"Incrustar la encuesta",translation:"Traducción",saveSurvey:"Guardar la encuesta",saveSurveyTooltip:"Guardar la encuesta",designer:"Diseñador de la encuesta",jsonEditor:"Editor de JSON",undo:"Deshacer",redo:"Rehacer",undoTooltip:"Deshacer el último cambio",redoTooltip:"Rehacer el cambio",copy:"Copiar",cut:"Cortar",paste:"Pegar",copyTooltip:"Copia selección al portapapeles",cutTooltip:"Corta la selección al portapapeles",pasteTooltip:"Pega de portapapeles",options:"Opciones",generateValidJSON:"Generar un JSON válido",generateReadableJSON:"Generar JSON legible",toolbox:"Caja de herramientas","property-grid":"Propiedades",toolboxGeneralCategory:"general",delSelObject:"Eliminar objeto seleccionado",editSelObject:"Editar objeto seleccionado",correctJSON:"Por favor, corrija JSON",surveyResults:"Resultado de la encuesta:",surveyResultsTable:"Como Tabla",surveyResultsJson:"Como JSON",resultsTitle:"Título de la pregunta",resultsName:"Nombre de la pregunta",resultsValue:"Valor de respuesta",resultsDisplayValue:"Valor de visualización",modified:"Modificada",saving:"Guardando",saved:"Guardado",propertyEditorError:"error:",saveError:"¡Error!El contenido del editor no se ha guardado",translationAddLanguage:"Seleccione el idioma para traducir",translationShowAllStrings:"Mostrar todos los textos",translationShowAllPages:"Mostrar todas las páginas",translationNoStrings:"Sin cuerdas para traducir. Por favor, cambie el filtro",translationExportToSCVButton:"Exportar a CSV",translationImportFromSCVButton:"Importación de CSV",translationMergeLocaleWithDefault:"Merge {0} con lugar predeterminado",bold:"Negrita",italic:"Itálica",underline:"Subrayar",fpAddQuestion:"Añadir pregunta ...",selectPage:"Seleccionar página ...",chooseElement:"Elige el elemento ...",completedHtmlOnConditionItemText:"Mostrar si:",lg:{page_visibilityName:"Visibilidad de la pagina",panel_visibilityName:"Visibilidad del panel",panel_enableName:"Panel habilitar / deshabilitar",question_visibilityName:"Pregunta visibilidad",question_enableName:"Pregunta habilitar / deshabilitar",question_requireName:"Pregunta opcional requerida",trigger_completeName:"Encuesta completa",trigger_setvalueName:"Establecer valor de la pregunta",trigger_copyvalueName:"Copiar valor de la pregunta",trigger_skipName:"Saltar a la pregunta",trigger_runExpressionName:"Ejecutar la expresión personalizada",completedHtmlOnConditionName:"Texto personalizado 'Página de agradecimiento'",page_visibilityDescription:"Haga que la página sea visible cuando la expresión lógica vuelva verdadera. De lo contrario, manténgalo invisible",panel_visibilityDescription:"Haga que el panel sea visible cuando la expresión lógica vuelva verdadera. De lo contrario, manténgalo invisible",panel_enableDescription:"Haga el panel, y todos los elementos dentro de él, habiliten cuando la expresión lógica devuelve verdadero. De lo contrario, manténgalos deshabilitados",question_visibilityDescription:"Haz que la pregunta sea visible cuando la expresión lógica se devuelve 'verdadero'. De lo contrario, se mantiene invisible",question_enableDescription:"Haz que la pregunta se habilite cuando la expresión lógica devuelve 'verdadero'. De lo contrario, se mantiene deshabilitado",question_requireDescription:"La pregunta se requiere cuando la expresión lógica devuelve 'verdadero'",trigger_completeDescription:"Cuando la expresión lógica devuelve 'verdadero', la encuesta se completa y el usuario final ve la 'página de agradecimiento'",trigger_setvalueDescription:"Cuando se cambian los valores de las preguntas, que se usan en la expresión lógica, se cambian y la expresión lógica devuelve 'verdadero', entonces el valor se establece en la pregunta seleccionada",trigger_copyvalueDescription:"Cuando se cambian los valores de las preguntas, que se usan en la expresión lógica, se cambian y la expresión lógica devuelve 'verdadero', entonces el valor de una pregunta seleccionada se copia a otra pregunta seleccionada",trigger_skipDescription:"Cuando la expresión lógica devuelve 'verdadero', la encuesta salta a la pregunta seleccionada",trigger_runExpressionDescription:"Cuando la expresión lógica devuelve 'verdadero', entonces se realiza la expresión personalizada. Es posible que opcionalmente establezca este resultado de expresión en la pregunta seleccionada",completedHtmlOnConditionDescription:"Si la expresión lógica devuelve 'verdadero', entonces el texto predeterminado para la 'página de agradecimiento' se cambia por el texto dado",itemExpressionText:"Cuando la expresión: '{0}' devuelve VERDADERO:",page_visibilityText:"Hacer la página {0} Visible",panel_visibilityText:"Hacer panel {0} visible",panel_enableText:"Hacer panel {0} habilitar",question_visibilityText:"Hacer Pregunta {0} Visible",question_enableText:"Hacer Pregunta {0} Habilitar",question_requireText:"Hacer la pregunta {0} requerida",trigger_completeText:"La encuesta se completa",trigger_setvalueText:"En cuestión: {0} valor {1}",trigger_copyvalueText:"Copiar en cuestión: {0} valor de la pregunta {1}",trigger_skipText:"Encuesta salta a la pregunta {0}",trigger_runExpressionText1:"Expresión de ejecución: '{0}'",trigger_runExpressionText2:"y establecer su resultado en cuestión: {0}",completedHtmlOnConditionText:"Mostrar texto personalizado para la 'gracias página'",conditions:"Condición(es)",actions:"Comportamiento",expressionEditorTitle:"Definir la(s) condición(es)",actionsEditorTitle:"Definir la(s) acción(es)",deleteAction:"Eliminar acción",addNewAction:"Añadir nueva acción",selectedActionCaption:"Seleccione una acción para agregar ...",expressionInvalid:"La expresión lógica está vacía o inválida. Por favor corríjalo",noActionError:"Por favor, agregue al menos una acción",actionInvalid:"Por favor, solucione problemas en su(s) acción(es)",expressionSetup:"",actionsSetup:" "}},pel:{isRequired:"¿Requerida?"},pe:{apply:"Solicitar",ok:"ok",save:"Guardar",saveTooltip:"Guardar",cancel:"Cancelar",reset:"Reiniciar",refresh:"Actualizar",close:"Cerrar",delete:"Borrar",add:"Agregar",addNew:"Añadir nuevo",addItem:"Haga clic para agregar un artículo ...",addOther:"Otra",addSelectAll:"Seleccionar todo",addNone:"Ninguna",removeAll:"Eliminar todo",edit:"Editar",back:"Volver sin guardar",backTooltip:"Volver sin guardar",saveAndBack:"Guardar y volver",saveAndBackTooltip:"Guardar y volver",itemValueEdit:"Visible si",editChoices:"Editar opciones",showChoices:"Mostrar opciones",move:"Moverse",empty:"<vaciar>",notEmpty:"<Editar valor>",fastEntry:"Entrada rápida",formEntry:"Entrada de forma",testService:"Probar el servicio",itemSelectorEmpty:"Por favor seleccione el elemento",conditionActionEmpty:"Por favor seleccione la acción",conditionSelectQuestion:"Seleccionar pregunta ...",conditionSelectPage:"Seleccionar página ...",conditionSelectPanel:"Seleccionar panel ...",conditionValueQuestionTitle:"Por favor ingrese / seleccione el valor",conditionHelp:"Por favor ingrese una expresión booleana.Debe devolverse verdadero para mantener visible la pregunta / página.Por ejemplo: {pregunta1} = 'value1' o ({pregunta2} * {pregunta4}> 20 y {pregunta3} <5)",expressionHelp:"Puede usar soportes rizados para obtener acceso a los valores de la pregunta: {pregunta1} + {pregunta2}, ({precio} * {cantidad}) * (100 - {descuento}).Puede usar funciones como: IIF (), hoy (), edad (), min (), max (), cuenta (), AVG () y otros",aceEditorHelp:"Presione CTRL + ESPACIO para obtener sugerencia de completar la expresión",aceEditorRowTitle:"Fila actual",aceEditorPanelTitle:"Panel actual",showMore:"Para más detalles, por favor revise la documentación",conditionShowMoreUrl:"https://surveyjsIo/documentation/libraryParametro?Id =PreguntaYParámetro =VisibleSi",assistantTitle:"Preguntas disponibles:",cellsEmptyRowsColumns:"Debe haber al menos una columna o fila",propertyIsEmpty:"Porfavor introduzca un valor",propertyIsNoUnique:"Por favor ingrese un valor único",propertyNameIsNotUnique:"Por favor ingrese un nombre único",listIsEmpty:"Añadir un nuevo artículo",expressionIsEmpty:"La expresión está vacía",value:"Valor",text:"Texto",rowid:"ID de fila",imageLink:"Enlace de imágen",columnEdit:"Editar columna: {0}",itemEdit:"Editar artículo: {0}",url:"URL",path:"Camino",valueName:"Nombre de valor",titleName:"Nombre del título",allowEmptyResponse:"Permitir respuestas vacías",titlePlaceholder:"Título de entrada aquí",surveyTitlePlaceholder:"Título de la encuesta de entrada aquí",pageTitlePlaceholder:"Título de la página de entrada aquí",descriptionPlaceholder:"Ingrese una descripción",surveyDescriptionPlaceholder:"Ingrese una descripción de la encuesta",pageDescriptionPlaceholder:"Ingrese una descripción de la página",hasOther:"Tiene opción 'Otro'",otherText:"Cambiar texto 'Otro'",hasNone:"Tiene opcion 'Ninguno'",noneText:"Cambiar texto 'Ninguno'",hasSelectAll:"Tiene opción 'Selecionar todo'",selectAllText:"Cambiar texto de 'Seleccionar todo'",choicesMin:"Valor mínimo para artículos generados automáticos",choicesMax:"Valor máximo para artículos generados automáticos",choicesStep:"La diferencia entre los artículos generados automáticos",name:"Nombre",title:"Título",cellType:"Tipo de célula",colCount:"Recuento de columnas",choicesOrder:"Seleccione el orden de las opciones",visible:"¿Es visible?",isRequired:"¿Se requiere?",isAllRowRequired:"Requerir respuesta para todas las filas",requiredErrorText:"Texto de error requerido",startWithNewLine:"¿Empieza con la nueva línea?",rows:"Número de filas",cols:"Recuento de columnas",placeHolder:"Placeholder de entrada",showPreview:"Mostrar área de vista previa",storeDataAsText:"Tienda el contenido del archivo en el resultado de JSON como texto",maxSize:"Tamaño máximo de archivo en bytes",imageHeight:"Altura de imagen",imageWidth:"Ancho de la imagen",rowCount:"Número de filas",columnLayout:"Diseño de columnas",addRowLocation:"Añadir la ubicación del botón de la fila",addRowText:"Añadir texto de botón de fila",removeRowText:"Eliminar el texto del botón de fila",rateMin:"Valor mínimo",rateMax:"Valor máximo",rateStep:"Rango de los valores",minRateDescription:"Descripción del valor mínimo",maxRateDescription:"Descripción del valor máximo",inputType:"Tipo de entrada",optionsCaption:"Cambie texto de 'Seleccione'",showOptionsCaption:"Mostrar el título de las opciones",defaultValue:"Valor por defecto",cellsDefaultRow:"Textos de celdas predeterminados",surveyEditorTitle:"Editar configuración de encuesta",qEditorTitle:"Editar: {0}",maxLength:"Longitud máxima",buildExpression:"Construir",editExpression:"Editar",and:"Y",or:"O",remove:"Eliminar",addCondition:"Añadir condición",showTitle:"Mostrar / Ocultar Título",expandCollapseTitle:"Expandir / Contraer título",locale:"Idioma predeterminado",simulator:"Elige dispositivo",landscapeOrientation:"Orientación horizontal ",mode:"Modo (editar / leer solamente)",clearInvisibleValues:"Claros valores invisibles",cookieName:"Nombre de la cookie (para deshabilitar la encuesta de ejecución dos veces localmente)",sendResultOnPageNext:"Enviar resultados de encuestas en la página Siguiente",storeOthersAsComment:"Almacenar 'Otros' valor en campo separado",showPageTitles:"Mostrar descripción de la página",showPageNumbers:"Mostrar números de página",pagePrevText:"Página de texto del botón anterior",pageNextText:"Página Siguiente botón de texto",completeText:"Texto completo del botón",previewText:"Vista previa del botón del botón",editText:"Editar botón de texto",startSurveyText:"Texto de inicio de la encuesta",showNavigationButtons:"Mostrar botones de navegación (navegación predeterminada)",showPrevButton:"Mostrar botón anterior (el usuario puede volver a la página anterior)",firstPageIsStarted:"La primera página en la encuesta es una página iniciada",showCompletedPage:"Mostrar la página completa al final (HTML finalizado)",goNextPageAutomatic:"Al responder todas las preguntas, vaya a la página siguiente automáticamente",showProgressBar:"Mostrar barra de progreso",questionTitleLocation:"Ubicación del título de la pregunta",requiredText:"La pregunta requerida (s) símbolo (s)",questionStartIndex:"Índice de inicio de la pregunta (1, 2 o 'A', 'A')",showQuestionNumbers:"Mostrar números de pregunta",questionTitleTemplate:"Plantilla de título de la pregunta, el valor predeterminado es: '{no}.{requiere} {título} '",questionErrorLocation:"Ubicación de error de la pregunta",focusFirstQuestionAutomatic:"Enfoca la primera pregunta al cambiar la página",questionsOrder:"Orden de elementos en la página",maxTimeToFinish:"Tiempo máximo para terminar la encuesta",maxTimeToFinishPage:"Tiempo máximo para terminar una página en la encuesta",showTimerPanel:"Mostrar panel de temporizador",showTimerPanelMode:"Mostrar modo de panel del temporizador",renderMode:"Modo de renderizado",allowAddPanel:"Permitir agregar un panel",allowRemovePanel:"Permitir eliminar el panel",panelAddText:"Añadiendo texto del panel",panelRemoveText:"Eliminar texto del panel",isSinglePage:"Mostrar todos los elementos en una página",html:"Html",expression:"Expresión",minValue:"Valor mínimo",maxValue:"Valor máximo",minLength:"Longitud mínima",allowDigits:"Permitir dígitos",minCount:"Cantidad mínima",maxCount:"Cantidad máxima",regex:"Expresión regular",totalText:"Texto total",totalType:"Tipo total",totalExpression:"Expresión total",totalDisplayStyle:"Estilo de visualización total",totalCurrency:"Moneda total",totalFormat:"Formato total",logoPosition:"Posición del logotipo",addLogo:"Añadir logo ...",changeLogo:"Cambiar logo ...",logoPositions:{none:"Eliminar logo",left:"Izquierda",right:"Derecha",top:"En la parte superior",bottom:"En la parte inferior"},tabs:{general:"General",fileOptions:"Opciones",html:"Editor HTML",columns:"Columnas",rows:"Filas",choices:"Opciones",items:"Artículos",visibleIf:"Visible si",enableIf:"Habilitar si",requiredIf:"Requerido si",rateValues:"Valores de la tasa",choicesByUrl:"Opciones de la web",matrixChoices:"Opciones predeterminadas",multipleTextItems:"Entradas de texto",numbering:"Numeración",validators:"Validadores",navigation:"Navegación",question:"Pregunta",pages:"Páginas",completedHtml:"HTML completado",completedHtmlOnCondition:"HTML completado en la condición",loadingHtml:"Cargando HTML",timer:"Horas / cuestionario",calculatedValues:"Valores calculados",triggers:"Disparadores",templateTitle:"Título de la plantilla",totals:"Totales",logic:"Lógica",layout:"Diseño",data:"Datos",validation:"Validación",cells:"Células",showOnCompleted:"Mostrar en completado",logo:"Logo en el título de la encuesta",slider:"Slider",others:"Otras"},editProperty:"Editar propiedad '{0}'",items:"[Artículos: {0}]",enterNewValue:"Por favor, ingrese el valor",noquestions:"No hay ninguna pregunta en la encuesta",createtrigger:"Por favor crea un gatillo",titleKeyboardAdornerTip:"Presione el botón Entrar para editar",keyboardAdornerTip:"Presione el botón Entrar para editar el elemento, presione el botón Eliminar para eliminar el elemento, presione ALT Plus Flecha hacia arriba o hacia abajo para mover el elemento",keyboardMoveItemsTip:"Presione ALT Plus flecha hacia arriba o flecha hacia abajo para mover el artículo",triggerOn:"En",triggerMakePagesVisible:"Hacer visibles las páginas:",triggerMakeQuestionsVisible:"Hacer elementos visibles:",triggerCompleteText:"Completa la encuesta si tiene éxito",triggerNotSet:"El gatillo no se establece",triggerRunIf:"Correr si",triggerSetToName:"Cambio de valor de:",triggerFromName:"Copie el valor de:",triggerRunExpression:"Ejecute esta expresión:",triggerSetValue:"a:",triggerGotoName:"Ir a la pregunta:",triggerIsVariable:"No coloque la variable en el resultado de la encuesta",triggerRunExpressionEmpty:"Por favor ingrese una expresión válida",noFile:"Ningún archivo elegido"},pv:{true:"cierto",false:"falsa",inherit:"heredar",show:"mostrar",hide:"esconder",default:"defecto",initial:"inicial",random:"aleatoria",collapsed:"colapsada",expanded:"expandida",none:"ninguna",asc:"ascendente",desc:"descendiendo",indeterminate:"indeterminada",decimal:"decimal",currency:"divisa",percent:"por ciento",firstExpanded:"Primer Expandido",off:"no mostrar",onPanel:"en Panel",onSurvey:"en Encuesta",list:"lista",progressTop:"Progreso superior",progressBottom:"Progreso inferior",progressTopBottom:"Progreso inferior/superior",horizontal:"horizontal",vertical:"vertical",top:"arriba",bottom:"abajo",topBottom:"arriba y abajo",both:"ambas",left:"izquierda",color:"color",date:"fecha",datetime:"fecha y hora","datetime-local":"fecha y hora local",email:"Email",month:"mes",number:"número",password:"contraseña",range:"distancia",tel:"tel",text:"texto",time:"hora",url:"URL",week:"semana",hidden:"oculta",on:"mostrar",onPage:"en la página",edit:"editar",display:"mostrar",onComplete:"Al completarse",onHidden:"Al ocultarse",all:"todas",page:"página",survey:"encuesta",onNextPage:"Al cambiar página",onValueChanged:"Al cambiar valor",singlePage:"única página",standard:"estándar",questionPerPage:"Pregunta por página",noPreview:"sin vista previa",showAllQuestions:"Mostrar vista previa con todas las preguntas",showAnsweredQuestions:"Mostrar vista previa con preguntas contestadas",pages:"páginas",questions:"preguntas",requiredQuestions:"preguntas requeridas",correctQuestions:"preguntas correctas",buttons:"botones",underInput:"debajo de la respuesta",underTitle:"debajo del título"},op:{empty:"esta vacio",notempty:"no está vacío",equal:"es igual a",notequal:"no es igual a",contains:"contiene",notcontains:"no contiene",anyof:"cualquiera de",allof:"todo",greater:"mayor que",less:"menos",greaterorequal:"Mayor o igual",lessorequal:"Menos o iguales",and:"y",or:"o"},ew:{angular:"Usar la versión angular",jquery:"Usa la versión jQuery",knockout:"Usa la versión Knockout",react:"Use la versión de reacción",vue:"Usa la versión VUE",bootstrap:"Para marco de bootstrap",modern:"Tema moderno",default:"Tema predeterminado",orange:"Tema naranja",darkblue:"Tema DarkBlue",darkrose:"Tema de Darkrose",stone:"Tema de piedra",winter:"Tema de invierno",winterstone:"Tema de piedra de invierno",showOnPage:"Mostrar encuesta en una página",showInWindow:"Mostrar encuesta en una ventana",loadFromServer:"Encuesta de carga JSON del servidor",titleScript:"Scripts y estilos",titleHtml:"Html",titleJavaScript:"Javascript"},ts:{selectPage:"Seleccione la página para probarlo:",showInvisibleElements:"Mostrar elementos invisibles"},validators:{answercountvalidator:"Cantidad de respuestas",emailvalidator:"Email",expressionvalidator:"expresión",numericvalidator:"numérica",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"encuesta completa",setvaluetrigger:"valor ajustado",copyvaluetrigger:"Valor de copia",skiptrigger:"Saltar a la pregunta",runexpressiontrigger:"expresión de ejecución",visibletrigger:"Cambiar visibilidad"},p:{name:"nombre",title:{name:"título",title:"Dejarlo vacío, si es lo mismo que 'Name'"},navigationButtonsVisibility:"Navegación botones visibilidad",questionsOrder:"Orden",maxTimeToFinish:"Tiempo de finalización",visible:"visible",visibleIf:"visible si",questionTitleLocation:"Localización del título",description:"Descripción",state:"Expresar",isRequired:"se requiere",requiredIf:"Requerido si",indent:"Indentar",requiredErrorText:"Requerido",startWithNewLine:"Comenzar con nueva línea",innerIndent:"Sangría interior",page:"página",width:"Ancho",commentText:"comentario",valueName:"Nombre del valor",enableIf:"Habilitar si",defaultValue:"valor por defecto",correctAnswer:"respuesta correcta",readOnly:"solo lectura",validators:"Validadores",titleLocation:"Localización del título",hasComment:"tiene comentario",hasOther:"otro",choices:"opciones",choicesOrder:"orden de opciones",choicesByUrl:"opciones por URL",otherText:"otro texto",otherErrorText:"otro texto de Error",storeOthersAsComment:"Guardar otras como comentario",label:"etiqueta",showTitle:"mostrar título",valueTrue:"Verdadero",valueFalse:"Falso",cols:"columnas",rows:"filas",placeHolder:"marcador de posición",optionsCaption:"Texto opciones",expression:"expresión",format:"formato",displayStyle:"Estilo visualización",currency:"divisa",useGrouping:"Grupo de uso",showPreview:"Mostrar vista previa",allowMultiple:"Permitir múltiples",imageHeight:"Altura de imagen",imageWidth:"ancho de la imagen",storeDataAsText:"Guardar datos como texto",maxSize:"tamaño máximo",html:"html",columns:"columnas",cells:"células",isAllRowRequired:"Todas las filas son obligatorias",horizontalScroll:"Scroll Horizontal",cellType:"Tipo de célula",columnsLayout:"Estilo columna",columnColCount:"Contador columna",columnMinWidth:"Ancho columna",rowCount:"número de filas",minRowCount:"Cantidad mín de filas",maxRowCount:"Cantidad max de filas",keyName:"Nombre clave",keyDuplicationError:"KeyDuplicationError",confirmDelete:"confirmar borrado",confirmDeleteText:"texto de confirmación de borrado",addRowLocation:"Localización añadir fila",addRowText:"Añadir texto fila",removeRowText:"Eliminar texto fila",items:"artículos",itemSize:"artículos",colCount:"Contador columna",templateTitle:"Título template",templateDescription:"Descripción template",allowAddPanel:"Permitir añadir panel",allowRemovePanel:"Permitir eliminar panel",panelCount:"Contador panel",minPanelCount:"Mín Contador Panel",maxPanelCount:"Max Contador Panel",panelsState:"Estado panel",panelAddText:"Panel añadir texto",panelRemoveText:"Panel eliminar texto",panelPrevText:"panel previo",panelNextText:"panel siguiente",showQuestionNumbers:"Mostrar número preguntas",showRangeInProgress:"Mostrar rango en progresso",renderMode:"Modo renderización",templateTitleLocation:"Localización título en template",rateValues:"Califica valores",rateMin:"Calificación mínima",rateMax:"Calificación máxima",rateStep:"Paso",minRateDescription:"MinRate Descripción",maxRateDescription:"MaxRate Descripción",inputType:"tipo de entrada",size:"Tamaño",locale:"lugar",focusFirstQuestionAutomatic:"Colocarse automáticamente en la primera pregunta",completedHtml:"HTML completado",completedBeforeHtml:"HTML completado antes",loadingHtml:"Cargando HTML",triggers:"disparadores",cookieName:"Nombre Cookie",sendResultOnPageNext:"Enviar resultados en la siguiente página",showNavigationButtons:"Mostrar botones de navegación",showPrevButton:"Mostrar botón previo",showPageTitles:"Mostrar título páginas",showCompletedPage:"Mostrar página de Completado",showPageNumbers:"Mostrar Números de Página",questionErrorLocation:"Localización del error de la pregunta",showProgressBar:"Mostrar programa",mode:"modo",goNextPageAutomatic:"Ir a la siguiente página automáticamente",checkErrorsMode:"Modo validar errores",clearInvisibleValues:"Borrar valores invisibles",startSurveyText:"Texto de inicio de la encuesta",pagePrevText:"Texto página previa",pageNextText:"Texto página siguiente",completeText:"Texto completado",requiredText:"Texto requerido",questionStartIndex:"Índice inicial de la pregunta",questionTitleTemplate:"Título del template de la pregunta",firstPageIsStarted:"Primera página iniciada",isSinglePage:"Página única",maxTimeToFinishPage:"Tiempo máximo para finalizar",showTimerPanel:"Mostrar temporizador",showTimerPanelMode:"Mostrar temporizador Modo",defaultPanelValue:"Valor por defecto Panel",defaultRowValue:"Valor por defecto Fila",hasNone:"Tiene opción 'Ninguno'",noneText:"Texto ninguno",text:"texto"}}},"./src/localization/swedish.ts":
|
|
413
413
|
/*!*************************************!*\
|
|
414
414
|
!*** ./src/localization/swedish.ts ***!
|
|
415
415
|
\*************************************/
|
|
@@ -449,7 +449,7 @@ License: MIT
|
|
|
449
449
|
/*!**************************************************!*\
|
|
450
450
|
!*** ./src/property-grid-theme/property-grid.ts ***!
|
|
451
451
|
\**************************************************/
|
|
452
|
-
/*! exports provided: propertyGridCss */function(e,t,i){"use strict";i.r(t),i.d(t,"propertyGridCss",(function(){return o}));var o={root:"spg-root-modern",container:"spg-container-modern",header:"spg-title spg-container-modern__title",body:"spg-body",bodyEmpty:"spg-body spg-body--empty",footer:"spg-footer spg-body__footer spg-clearfix",title:"",description:"",logo:"spg-logo",logoImage:"spg-logo__image",headerText:"spg-header__text",navigationButton:"",completedPage:"spg-completedpage",navigation:{complete:"spg-btn spg-footer__complete-btn",prev:"spg-btn spg-footer__prev-btn",next:"spg-btn spg-footer__next-btn",start:"spg-btn spg-footer__start-btn",preview:"spg-btn spg-footer__preview-btn",edit:"spg-btn spg-footer__edit-btn"},panel:{title:"spg-title spg-panel__title",titleExpandable:"spg-panel__title--expandable",titleOnExpand:"spg-panel__title--expanded",titleOnError:"spg-panel__title--error",description:"spg-description spg-panel__description",container:"spg-panel spg-row__panel",content:"spg-panel__content",icon:"spg-panel__icon",iconExpanded:"spg-panel__icon--expanded",footer:"spg-panel__footer",requiredText:"spg-panel__required-text"},paneldynamic:{root:"spg-paneldynamic",navigation:"spg-paneldynamic__navigation",title:"spg-title spg-question__title",button:"spg-btn",buttonRemove:"spg-paneldynamic__remove-btn",buttonAdd:"spg-paneldynamic__add-btn",progressTop:"spg-paneldynamic__progress spg-paneldynamic__progress--top",progressBottom:"spg-paneldynamic__progress spg-paneldynamic__progress--bottom",buttonPrev:"spg-paneldynamic__prev-btn",buttonNext:"spg-paneldynamic__next-btn",progressContainer:"spg-paneldynamic__progress-container",progress:"spg-progress",progressBar:"spg-progress__bar",progressText:"spg-paneldynamic__progress-text",separator:"spg-paneldynamic__separator"},progress:"spg-progress spg-body__progress",progressBar:"spg-progress__bar",progressText:"spg-progress__text",progressTextInBar:"spg-hidden",page:{root:"spg-page spg-body__page",title:"spg-title spg-page__title",description:"spg-description spg-page__description"},pageTitle:"spg-title spg-page__title",pageDescription:"spg-description spg-page__description",row:"spg-row spg-clearfix",question:{mainRoot:"spg-question spg-row__question",flowRoot:"spg-question spg-row__question spg-row__question--flow",asCell:"spg-table__cell",header:"spg-question__header",headerLeft:"spg-question__header--location--left",headerTop:"spg-question__header--location--top",headerBottom:"spg-question__header--location--bottom",content:"spg-question__content",contentLeft:"spg-question__content--left",titleLeftRoot:"",titleOnAnswer:"spg-question__title--answer",titleOnError:"spg-question__title--error",title:"spg-title spg-question__title",requiredText:"spg-question__required-text",number:"spg-question__num",description:"spg-description spg-question__description",descriptionUnderInput:"spg-description spg-question__description",comment:"spg-comment",required:"spg-question--required",titleRequired:"spg-question__title--required",indent:20,footer:"spg-question__footer",formGroup:"spg-question__form-group",hasError:"",disabled:"spg-question--disabled"},image:{root:"spg-image",image:"sv_image_image"},error:{root:"spg-question__erbox",icon:"",item:"",locationTop:"spg-question__erbox--location--top",locationBottom:"spg-question__erbox--location--bottom"},checkbox:{root:"spg-selectbase",item:"spg-item spg-checkbox spg-selectbase__item",itemSelectAll:"spg-checkbox--selectall",itemNone:"spg-checkbox--none",itemDisabled:"spg-item--disabled spg-checkbox--disabled",itemChecked:"spg-checkbox--checked",itemHover:"spg-checkbox--allowhover",itemInline:"spg-selectbase__item--inline",label:"spg-checkbox",labelChecked:"",itemControl:"spg-checkbox__control",itemDecorator:"spg-checkbox__hidden",controlLabel:"spg-checkbox__caption",materialDecorator:"spg-checkbox__rectangle",other:"spg-comment spg-question__other",column:"spg-selectbase__column"},radiogroup:{root:"spg-selectbase",item:"spg-item spg-radio spg-selectbase__item",itemInline:"spg-selectbase__item--inline",label:"spg-selectbase__label",labelChecked:"",itemDisabled:"spg-item--disabled spg-radio--disabled",itemChecked:"spg-radio--checked",itemHover:"spg-radio--allowhover",itemControl:"spg-visuallyhidden spg-item__control",itemDecorator:"spg-item__svg spg-radio__svg",controlLabel:"spg-item__control-label",materialDecorator:"spg-item__decorator spg-radio__decorator",other:"spg-comment spg-question__other",clearButton:"spg-btn spg-selectbase__clear-btn",column:"spg-selectbase__column"},boolean:{mainRoot:"spg-question spg-row__question spg-question--boolean",root:"",item:"spg-checkbox",control:"spg-checkbox__control",itemChecked:"spg-checkbox--checked",itemIndeterminate:"spg-checkbox--indeterminate",itemDisabled:"spg-checkbox--disabled",label:"spg-checkbox__caption",disabledLabel:"spg-checkbox__label--disabled",itemDecorator:"spg-checkbox__hidden",materialDecorator:"spg-checkbox__rectangle"},text:{root:"spg-input spg-text",small:"spg-row__question--small",onError:"spg-input--error"},multipletext:{root:"spg-multipletext",item:"spg-multipletext__item",itemTitle:"spg-multipletext__item-title",row:"spg-multipletext__row",cell:"spg-multipletext__cell"},dropdown:{root:"",small:"spg-row__question--small",control:"spg-input spg-dropdown",selectWrapper:"",other:"spg-comment spg-question__other",onError:"spg-input--error"},imagepicker:{root:"spg-imagepicker",item:"spg-imagepicker__item",itemInline:"spg-imagepicker__item--inline",itemChecked:"spg-imagepicker__item--checked",itemDisabled:"spg-imagepicker__item--disabled",itemHover:"spg-imagepicker__item--allowhover",label:"spg-imagepicker__label",itemControl:"spg-imagepicker__control",image:"spg-imagepicker__image",itemText:"spg-imagepicker__text",clearButton:"spg-btn",other:"spg-comment spg-question__other"},matrix:{tableWrapper:"spg-matrix",root:"spg-table",rowError:"spg-matrix__row--error",cell:"spg-table__cell spg-matrix__cell",headerCell:"spg-table__cell spg-table__cell--header",label:"spg-item spg-radio spg-matrix__label",itemValue:"spg-visuallyhidden spg-item__control spg-radio__control",itemChecked:"spg-radio--checked",itemDisabled:"spg-item--disabled spg-radio--disabled",itemHover:"spg-radio--allowhover",materialDecorator:"spg-item__decorator spg-radio__decorator",itemDecorator:"spg-item__svg spg-radio__svg",cellText:"spg-matrix__text",cellTextSelected:"spg-matrix__text--checked",cellTextDisabled:"spg-matrix__text--disabled"},matrixdropdown:{root:"spg-table",cell:"spg-table__cell",headerCell:"spg-table__cell spg-table__cell--header"},matrixdynamic:{root:"spg-table spg-matrixdynamic",cell:"spg-table__cell",headerCell:"spg-table__cell spg-table__cell--header",button:"spg-btn",detailRow:"spg-table__row spg-table__row--detail",detailButton:"spg-table__cell--detail-button",detailButtonExpanded:"spg-table__cell--detail-button--expanded",detailIcon:"spg-detail-panel__icon",detailIconExpanded:"spg-detail-panel__icon--expanded",detailPanelCell:"spg-table__cell--detail-panel",actionsCell:"spg-table__cell spg-table__cell--actions",buttonAdd:"spg-matrixdynamic__add-btn",buttonRemove:"spg-matrixdynamic__remove-btn",iconAdd:"",iconRemove:"",iconDrag:"spg-matrixdynamic__drag-element",dragDropGhostPositionTop:"spg-matrixdynamic__drag-drop-ghost-position-top",dragDropGhostPositionBottom:"spg-matrixdynamic__drag-drop-ghost-position-bottom"},rating:{root:"spg-rating",item:"spg-rating__item",selected:"spg-rating__item--selected",minText:"spg-rating__min-text",itemText:"spg-rating__item-text",maxText:"spg-rating__max-text",disabled:"spg-rating--disabled"},comment:{root:"spg-comment",small:"spg-row__question--small"},expression:"",file:{root:"spg-file",other:"spg-comment spg-question__other",placeholderInput:"spg-visuallyhidden",preview:"spg-file__preview",fileSign:"spg-hidden",fileSignBottom:"spg-file__sign",fileDecorator:"spg-file__decorator",fileInput:"spg-visuallyhidden",noFileChosen:"spg-description spg-file__no-file-chosen",chooseFile:"spg-btn spg-file__choose-btn",disabled:"spg-file__choose-btn--disabled",removeButton:"spg-hidden",removeButtonBottom:"spg-btn spg-file__clean-btn",removeFile:"spg-hidden",removeFileSvg:"spg-file__remove-svg",wrapper:"spg-file__wrapper"},signaturepad:{root:"spg-signaturepad sjs_sp_container",small:"spg-row__question--small",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"",error:"",success:"",saveAgainButton:""},window:{root:"sv_window",body:"sv_window_content",header:{root:"sv_window_title",title:"",button:"",buttonExpanded:"",buttonCollapsed:""}}}},"./src/property-grid/cells-survey.ts":
|
|
452
|
+
/*! exports provided: propertyGridCss */function(e,t,i){"use strict";i.r(t),i.d(t,"propertyGridCss",(function(){return o}));var o={root:"spg-root-modern",container:"spg-container-modern",header:"spg-title spg-container-modern__title",body:"spg-body",bodyEmpty:"spg-body spg-body--empty",footer:"spg-footer spg-body__footer spg-clearfix",title:"",description:"",logo:"spg-logo",logoImage:"spg-logo__image",headerText:"spg-header__text",navigationButton:"",completedPage:"spg-completedpage",navigation:{complete:"spg-btn spg-footer__complete-btn",prev:"spg-btn spg-footer__prev-btn",next:"spg-btn spg-footer__next-btn",start:"spg-btn spg-footer__start-btn",preview:"spg-btn spg-footer__preview-btn",edit:"spg-btn spg-footer__edit-btn"},panel:{title:"spg-title spg-panel__title",titleExpandable:"spg-panel__title--expandable",titleOnExpand:"spg-panel__title--expanded",titleOnError:"spg-panel__title--error",description:"spg-description spg-panel__description",container:"spg-panel spg-row__panel",content:"spg-panel__content",icon:"spg-panel__icon",iconExpanded:"spg-panel__icon--expanded",footer:"spg-panel__footer",requiredText:"spg-panel__required-text"},paneldynamic:{root:"spg-paneldynamic",navigation:"spg-paneldynamic__navigation",title:"spg-title spg-question__title",button:"spg-btn",buttonRemove:"spg-paneldynamic__remove-btn",buttonAdd:"spg-paneldynamic__add-btn",progressTop:"spg-paneldynamic__progress spg-paneldynamic__progress--top",progressBottom:"spg-paneldynamic__progress spg-paneldynamic__progress--bottom",buttonPrev:"spg-paneldynamic__prev-btn",buttonNext:"spg-paneldynamic__next-btn",progressContainer:"spg-paneldynamic__progress-container",progress:"spg-progress",progressBar:"spg-progress__bar",progressText:"spg-paneldynamic__progress-text",separator:"spg-paneldynamic__separator"},progress:"spg-progress spg-body__progress",progressBar:"spg-progress__bar",progressText:"spg-progress__text",progressTextInBar:"spg-hidden",page:{root:"spg-page spg-body__page",title:"spg-title spg-page__title",description:"spg-description spg-page__description"},pageTitle:"spg-title spg-page__title",pageDescription:"spg-description spg-page__description",row:"spg-row spg-clearfix",rowMultiple:"spg-row--multiple",question:{mainRoot:"spg-question spg-row__question",flowRoot:"spg-question spg-row__question spg-row__question--flow",asCell:"spg-table__cell",header:"spg-question__header",headerLeft:"spg-question__header--location--left",headerTop:"spg-question__header--location--top",headerBottom:"spg-question__header--location--bottom",content:"spg-question__content",contentLeft:"spg-question__content--left",titleLeftRoot:"spg-question--location--left",titleOnAnswer:"spg-question__title--answer",titleOnError:"spg-question__title--error",title:"spg-title spg-question__title",requiredText:"spg-question__required-text",number:"spg-question__num",description:"spg-description spg-question__description",descriptionUnderInput:"spg-description spg-question__description",comment:"spg-comment",required:"spg-question--required",titleRequired:"spg-question__title--required",indent:20,footer:"spg-question__footer",formGroup:"spg-question__form-group",hasError:"",disabled:"spg-question--disabled"},image:{root:"spg-image",image:"sv_image_image"},error:{root:"spg-question__erbox",icon:"",item:"",locationTop:"spg-question__erbox--location--top",locationBottom:"spg-question__erbox--location--bottom"},checkbox:{root:"spg-selectbase",item:"spg-item spg-checkbox spg-selectbase__item",itemSelectAll:"spg-checkbox--selectall",itemNone:"spg-checkbox--none",itemDisabled:"spg-item--disabled spg-checkbox--disabled",itemChecked:"spg-checkbox--checked",itemHover:"spg-checkbox--allowhover",itemInline:"spg-selectbase__item--inline",label:"spg-checkbox",labelChecked:"",itemControl:"spg-checkbox__control",itemDecorator:"spg-checkbox__hidden",controlLabel:"spg-checkbox__caption",materialDecorator:"spg-checkbox__rectangle",other:"spg-comment spg-question__other",column:"spg-selectbase__column"},radiogroup:{root:"spg-selectbase",item:"spg-item spg-radio spg-selectbase__item",itemInline:"spg-selectbase__item--inline",label:"spg-selectbase__label",labelChecked:"",itemDisabled:"spg-item--disabled spg-radio--disabled",itemChecked:"spg-radio--checked",itemHover:"spg-radio--allowhover",itemControl:"spg-visuallyhidden spg-item__control",itemDecorator:"spg-item__svg spg-radio__svg",controlLabel:"spg-item__control-label",materialDecorator:"spg-item__decorator spg-radio__decorator",other:"spg-comment spg-question__other",clearButton:"spg-btn spg-selectbase__clear-btn",column:"spg-selectbase__column"},boolean:{mainRoot:"spg-question spg-row__question spg-question--boolean",root:"",item:"spg-checkbox",control:"spg-checkbox__control",itemChecked:"spg-checkbox--checked",itemIndeterminate:"spg-checkbox--indeterminate",itemDisabled:"spg-checkbox--disabled",label:"spg-checkbox__caption",disabledLabel:"spg-checkbox__label--disabled",itemDecorator:"spg-checkbox__hidden",materialDecorator:"spg-checkbox__rectangle"},text:{root:"spg-input spg-text",small:"spg-row__question--small",onError:"spg-input--error"},multipletext:{root:"spg-multipletext",item:"spg-multipletext__item",itemTitle:"spg-multipletext__item-title",row:"spg-multipletext__row",cell:"spg-multipletext__cell"},dropdown:{root:"",small:"spg-row__question--small",control:"spg-input spg-dropdown",selectWrapper:"",other:"spg-comment spg-question__other",onError:"spg-input--error"},imagepicker:{root:"spg-imagepicker",item:"spg-imagepicker__item",itemInline:"spg-imagepicker__item--inline",itemChecked:"spg-imagepicker__item--checked",itemDisabled:"spg-imagepicker__item--disabled",itemHover:"spg-imagepicker__item--allowhover",label:"spg-imagepicker__label",itemControl:"spg-imagepicker__control",image:"spg-imagepicker__image",itemText:"spg-imagepicker__text",clearButton:"spg-btn",other:"spg-comment spg-question__other"},matrix:{tableWrapper:"spg-matrix",root:"spg-table",rowError:"spg-matrix__row--error",cell:"spg-table__cell spg-matrix__cell",headerCell:"spg-table__cell spg-table__cell--header",label:"spg-item spg-radio spg-matrix__label",itemValue:"spg-visuallyhidden spg-item__control spg-radio__control",itemChecked:"spg-radio--checked",itemDisabled:"spg-item--disabled spg-radio--disabled",itemHover:"spg-radio--allowhover",materialDecorator:"spg-item__decorator spg-radio__decorator",itemDecorator:"spg-item__svg spg-radio__svg",cellText:"spg-matrix__text",cellTextSelected:"spg-matrix__text--checked",cellTextDisabled:"spg-matrix__text--disabled"},matrixdropdown:{root:"spg-table",cell:"spg-table__cell",headerCell:"spg-table__cell spg-table__cell--header"},matrixdynamic:{root:"spg-table spg-matrixdynamic",cell:"spg-table__cell",headerCell:"spg-table__cell spg-table__cell--header",button:"spg-btn",detailRow:"spg-table__row spg-table__row--detail",detailButton:"spg-table__cell--detail-button",detailButtonExpanded:"spg-table__cell--detail-button--expanded",detailIcon:"spg-detail-panel__icon",detailIconExpanded:"spg-detail-panel__icon--expanded",detailPanelCell:"spg-table__cell--detail-panel",actionsCell:"spg-table__cell spg-table__cell--actions",buttonAdd:"spg-matrixdynamic__add-btn",buttonRemove:"spg-matrixdynamic__remove-btn",iconAdd:"",iconRemove:"",iconDrag:"spg-matrixdynamic__drag-element",dragDropGhostPositionTop:"spg-matrixdynamic__drag-drop-ghost-position-top",dragDropGhostPositionBottom:"spg-matrixdynamic__drag-drop-ghost-position-bottom"},rating:{root:"spg-rating",item:"spg-rating__item",selected:"spg-rating__item--selected",minText:"spg-rating__min-text",itemText:"spg-rating__item-text",maxText:"spg-rating__max-text",disabled:"spg-rating--disabled"},comment:{root:"spg-comment",small:"spg-row__question--small"},expression:"",file:{root:"spg-file",other:"spg-comment spg-question__other",placeholderInput:"spg-visuallyhidden",preview:"spg-file__preview",fileSign:"spg-hidden",fileSignBottom:"spg-file__sign",fileDecorator:"spg-file__decorator",fileInput:"spg-visuallyhidden",noFileChosen:"spg-description spg-file__no-file-chosen",chooseFile:"spg-btn spg-file__choose-btn",disabled:"spg-file__choose-btn--disabled",removeButton:"spg-hidden",removeButtonBottom:"spg-btn spg-file__clean-btn",removeFile:"spg-hidden",removeFileSvg:"spg-file__remove-svg",wrapper:"spg-file__wrapper"},signaturepad:{root:"spg-signaturepad sjs_sp_container",small:"spg-row__question--small",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"",error:"",success:"",saveAgainButton:""},window:{root:"sv_window",body:"sv_window_content",header:{root:"sv_window_title",title:"",button:"",buttonExpanded:"",buttonCollapsed:""}}}},"./src/property-grid/cells-survey.ts":
|
|
453
453
|
/*!*******************************************!*\
|
|
454
454
|
!*** ./src/property-grid/cells-survey.ts ***!
|
|
455
455
|
\*******************************************/
|
|
@@ -469,7 +469,7 @@ License: MIT
|
|
|
469
469
|
/*!************************************!*\
|
|
470
470
|
!*** ./src/property-grid/index.ts ***!
|
|
471
471
|
\************************************/
|
|
472
|
-
/*! exports provided: setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue */function(e,t,i){"use strict";i.r(t),i.d(t,"setSurveyJSONForPropertyGrid",(function(){return m})),i.d(t,"PropertyEditorSetupValue",(function(){return g})),i.d(t,"PropertyGridEditorCollection",(function(){return h})),i.d(t,"PropertyGridTitleActionsCreator",(function(){return v})),i.d(t,"PropertyJSONGenerator",(function(){return y})),i.d(t,"PropertyGridModel",(function(){return f})),i.d(t,"PropertyGridEditor",(function(){return b})),i.d(t,"PropertyGridEditorBoolean",(function(){return x})),i.d(t,"PropertyGridEditorStringBase",(function(){return w})),i.d(t,"PropertyGridEditorString",(function(){return T})),i.d(t,"PropertyGridEditorNumber",(function(){return k})),i.d(t,"PropertyGridEditorText",(function(){return S})),i.d(t,"PropertyGridEditorHtml",(function(){return P})),i.d(t,"PropertyGridEditorColor",(function(){return E})),i.d(t,"PropertyGridEditorStringArray",(function(){return C})),i.d(t,"PropertyGridEditorDropdown",(function(){return N})),i.d(t,"PropertyGridEditorSet",(function(){return O})),i.d(t,"PropertyGridEditorPage",(function(){return _})),i.d(t,"PropertyGridEditorQuestion",(function(){return A})),i.d(t,"PropertyGridEditorQuestionSelectBase",(function(){return j})),i.d(t,"PropertyGridEditorQuestionValue",(function(){return V}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),a=i(/*! ../editable-object */"./src/editable-object.ts"),s=i(/*! ../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts"),l=i(/*! ../question-editor/properties */"./src/question-editor/properties.ts"),u=i(/*! ../settings */"./src/settings.ts"),c=i(/*! ./properties-helptext */"./src/property-grid/properties-helptext.ts"),d=i(/*! ../utils/actions */"./src/utils/actions.ts"),p=i(/*! ../survey-helper */"./src/survey-helper.ts");function m(e,t,i){void 0===t&&(t=!0),void 0===i&&(i=!0),e.showNavigationButtons="none",e.showPageTitles=!1,e.focusFirstQuestionAutomatic=!1,e.showQuestionNumbers="off",i&&(e.questionTitleLocation="left"),e.showProgressBar="off",t&&(e.textUpdateMode="onTyping"),e.requiredText=""}r.FunctionFactory.Instance.register("propertyVisibleIf",(function(e){return!!(this.question&&this.question.obj&&this.question.property)&&this.question.property.visibleIf(this.question.obj)}));var g=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=!0),this.options=e,this.options||(this.options=new u.EmptySurveyCreatorOptions),t&&this.setupSurvey()}return e.prototype.setupSurvey=function(){this.editSurveyValue=this.createSurvey()},Object.defineProperty(e.prototype,"editSurvey",{get:function(){return this.editSurveyValue},enumerable:!1,configurable:!0}),e.prototype.hasErrors=function(){return this.editSurvey.hasErrors(!0,!0)},e.prototype.createSurvey=function(){var e=this.getSurveyJSON();return m(e,!0,!1),this.options.createSurvey(e,this.getSurveyCreationReason())},e.prototype.dispose=function(){this.editSurvey&&this.editSurvey.dispose()},e}(),h={editors:new Array,fitHash:{},clearHash:function(){this.fitHash={}},register:function(e){this.editors.push(e)},getEditor:function(e,t){if(!e)return null;if(t)for(var i=this.editors.length-1;i>=0;i--){var o=this.editors[i];if(o.fit(e,t))return o}var r=this.fitHash[e.id];if(r)return r;var n=this.isEditorFit(e);return n||this.isEditorFit(e,!0)},isEditorFit:function(e,t){void 0===t&&(t=!1);for(var i=this.editors.length-1;i>=0;i--){var o=this.editors[i];if(!t&&o.fit(e)||t&&o.isDefault&&o.isDefault())return this.fitHash[e.id]=o,o}return null},getJSON:function(e,t,i,o){var r=this.getEditor(t,o);return r?r.getJSON(e,t,i):null},onCreated:function(e,t,i,o){var r=this.getEditor(i);r&&r.onCreated&&r.onCreated(e,t,i,o)},onAfterRenderQuestion:function(e,t,i){var o=this.getEditor(t);o&&o.onAfterRenderQuestion&&o.onAfterRenderQuestion(e,t,i)},onMatrixCellCreated:function(e,t,i){var o=this.getEditor(t);o&&o.onMatrixCellCreated&&o.onMatrixCellCreated(i.question.obj,i)},onMatrixCellValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onMatrixCellValueChanged&&o.onMatrixCellValueChanged(e,i);var r=i.row;if(r){var n=r.getQuestionByName(i.columnName);n&&r.runCondition({},{question:n})}},onMatrixAllowRemoveRow:function(e,t,i){var o=this.getEditor(t);return!o||!o.onMatrixAllowRemoveRow||o.onMatrixAllowRemoveRow(e,i)},onGetMatrixRowAction:function(e,t,i,o){var r=this.getEditor(t);r&&r.onGetMatrixRowAction&&r.onGetMatrixRowAction(e,i,o)},onGetQuestionTitleActions:function(e,t,i){var o=this.getEditor(t);o&&o.onGetQuestionTitleActions&&o.onGetQuestionTitleActions(e,i)},onValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onValueChanged&&o.onValueChanged(e,t,i)},onMasterValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onMasterValueChanged&&o.onMasterValueChanged(e,t,i)}},v=function(){function e(e,t){this.obj=e,this.options=t}return e.prototype.onGetQuestionTitleActions=function(e){var t=e.question,i=t.property,o=h.getEditor(i);if(o){var r=[],n=!t.isReadOnly;!!o.clearPropertyValue&&(!o.canClearPropertyValue||o.canClearPropertyValue(this.obj,i,t,this.options))&&r.push(this.createClearValueAction(o,i,t,n)),o.createPropertyEditorSetup&&(n&&(n=!o.isPropertyEditorSetupEnabled||o.isPropertyEditorSetupEnabled(this.obj,i,e.question,this.options)),r.push(this.createEditorSetupAction(o,i,t,n)));var a=this.createPropertyHelpAction(t);a&&r.push(a),r.length>0&&(e.titleActions=r)}},e.prototype.createClearValueAction=function(e,t,i,o){var a=this;return{id:"property-grid-clear",title:Object(n.getLocString)("pe.clear"),showTitle:!1,iconName:"icon-clear",css:"spg-action-button spg-action-button--danger",enabled:o,visible:new r.ComputedUpdater((function(){var e=i.obj[t.name];return Array.isArray(e)?e.length>0:!!e})),action:function(){e.clearPropertyValue(i.obj,t,i,a.options)}}},e.prototype.showModalPropertyEditor=function(e,t,i){return e.showModalPropertyEditor(e,t,i,this.options)},e.prototype.createEditorSetupAction=function(e,t,i,o){var r=this;return{id:"property-grid-setup",iconName:t.isArray?"icon-fast-entry":"icon-wizard",css:"spg-action-button",enabled:o,title:Object(n.getLocString)("pe.edit"),showTitle:!1,action:function(){return r.showModalPropertyEditor(e,t,i)}}},e.prototype.createPropertyHelpAction=function(e){var t=this;if(!e.description)return null;var i=new r.Action({title:"",id:"property-grid-help",css:"spg-action-button",iconName:this.getHelpActionIconName(e),showTitle:!1,action:function(){e.descriptionLocation="hidden"!=e.descriptionLocation?"hidden":"underTitle",i.iconName=t.getHelpActionIconName(e)}});return i},e.prototype.getHelpActionIconName=function(e){return"hidden"!=e.descriptionLocation?"icon-description-hide":"icon-description"},e}(),y=function(){function e(e,t,i,o){void 0===t&&(t=null),void 0===i&&(i=null),void 0===o&&(o=null),this.obj=e,this.options=t,this.parentObj=i,this.parentProperty=o}return e.isPropertyReadOnly=function(e,t,i,o,r){var n=e.readOnly;return t&&i&&(n=t.onIsPropertyReadOnlyCallback(i,e,n,o,r)),n},e.getClassNameProperty=function(e){if(e&&e.getClassNameProperty)return e.getClassNameProperty()},e.prototype.toJSON=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=void 0),this.createJSON(e,t)},e.prototype.createColumnsJSON=function(e,t){for(var i=[],o=0;o<t.length;o++){var r=this.getColumnPropertyJSON(e,t[o]);r&&i.push(r)}return i},e.prototype.setupObjPanel=function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=void 0),e.fromJSON(this.toJSON(t,i)),this.onQuestionsCreated(e)},e.prototype.onQuestionsCreated=function(e){for(var t=r.Serializer.getPropertiesByObj(this.obj),i={},o=0;o<t.length;o++)i[t[o].name]=t[o];var n=e.questions;for(o=0;o<n.length;o++){var a=n[o],s=i[a.name];a.property=s,a.obj=this.obj,a.options=this.options;var l=this.getVisibilityOnEvent(s);a.readOnly=a.readOnly||this.isPropertyReadOnly(s),a.visible=a.visible&&l,s.visibleIf&&(a.visibleIf=l?"propertyVisibleIf() = true":""),a.descriptionLocation="hidden";var u=c.PropertiesHelpTexts.instance.getHelpText(this.obj,s);u&&(a.description=u),h.onCreated(this.obj,a,s,this.options),this.options.onPropertyEditorCreatedCallback(this.obj,s,a)}},e.prototype.getVisibilityOnEvent=function(e,t){return void 0===t&&(t=""),this.options.onCanShowPropertyCallback(this.obj,e,t,this.parentObj,this.parentProperty)},e.prototype.isPropertyReadOnly=function(t){return e.isPropertyReadOnly(t,this.options,this.obj,this.parentObj,this.parentProperty)},e.prototype.getClasPropName=function(){if(this.parentObj&&this.parentProperty)return this.parentProperty.name;var t=e.getClassNameProperty(this.obj);return t&&this.obj[t]?this.obj[t]:void 0},e.prototype.createJSON=function(e,t){void 0===t&&(t=void 0);var i=void 0,o=this.getClasPropName();o&&("itemvalue"===(i=this.obj.getType())&&(i+="[]"),i+="@"+o);for(var r=new l.SurveyQuestionProperties(this.obj,null,i,void 0,this.parentObj,this.parentProperty).getTabs(),n={},a=0;a<r.length;a++)!1!==r[a].visible&&(n[r[a].name]=this.createPanelProps(r[a],0==a,t));var s={elements:[]};for(var c in n)if(c==u.settings.propertyGrid.generalTabName&&e){var d=n[c].elements;for(a=0;a<d.length;a++)s.elements.push(d[a])}else s.elements.push(n[c]);return s},e.prototype.createPanelProps=function(e,t,i){for(var o=this.createPanelJSON(e.name,e.title,t),r=0;r<e.properties.length;r++){var n=e.properties[r],a=this.createQuestionJSON(n.property,n.title,!1,i);a&&o.elements.push(a)}return o},e.prototype.createPanelJSON=function(e,t,i){return{type:"panel",name:e,title:this.getPanelTitle(e,t),state:i?"expanded":"collapsed",elements:[]}},e.prototype.createQuestionJSON=function(e,t,i,o){if(void 0===i&&(i=!1),!this.isPropertyVisible(e,i?"list":"")&&i)return null;var r=h.getJSON(this.obj,e,this.options,o);return r?(r.name=e.name,r.visible=e.visible,r.isReadOnly=e.readOnly,r.isRequired=e.isRequired,r.requiredErrorText=n.editorLocalization.getString("pe.propertyIsEmpty"),r.title=this.getQuestionTitle(e,t),r):null},e.prototype.getColumnPropertyJSON=function(e,t){if(!e)return null;var i=r.Serializer.findProperty(e,t);if(!i)return null;var o=this.createQuestionJSON(i,"",!0,void 0);return o?(o.name=i.name,o.title=this.getQuestionTitle(i,""),i.isUnique&&(o.isUnique=i.isUnique),o.type&&(o.cellType=o.type,delete o.type),"buttongroup"===o.cellType&&(o.cellType="dropdown"),i.visibleIf&&(o.visibleIf="propertyVisibleIf() = true"),o.isReadOnly&&(o.readOnly=o.isReadOnly,delete o.isReadOnly),o):null},e.prototype.isPropertyVisible=function(e,t){return!(!e.visible||t&&e.showMode&&t!=e.showMode)},e.prototype.getPanelTitle=function(e,t){return t||n.editorLocalization.getString("pe.tabs."+e)},e.prototype.getQuestionTitle=function(e,t){return e.displayName?e.displayName:t&&t!==e.name?t:n.editorLocalization.getPropertyNameInEditor(e.name)},e}(),f=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=new u.EmptySurveyCreatorOptions),this.isCellCreating=!1,this.options=t,this.obj=e}return e.prototype.refresh=function(){this.setObj(this.objValue)},Object.defineProperty(e.prototype,"obj",{get:function(){return this.objValue},set:function(e){this.objValue!==e&&this.setObj(e)},enumerable:!1,configurable:!0}),e.prototype.selectProperty=function(e,t){if(void 0===t&&(t=!0),this.survey){var i=this.survey.getQuestionByName(e);if(i){for(var o=this.survey.getAllPanels(),r=0;r<o.length;r++){var n=o[r];n===i.parent?n.expand():n.collapse()}t&&i.focus()}}},e.prototype.setObjFromAction=function(e,t){this.changedFromActionCallback?this.changedFromActionCallback(e,t):this.setObj(e)},e.prototype.setObj=function(e){var t=this;this.objValue=e,this.classNameProperty=this.obj?y.getClassNameProperty(this.obj):"",this.classNameValue=this.classNameProperty?this.obj[this.classNameProperty]:void 0,this.titleActionsCreator=this.obj?new v(this.obj,this.options):void 0;var i=this.getSurveyJSON();this.options.readOnly&&(i.mode="display"),this.surveyValue&&this.surveyValue.dispose(),this.surveyValue=this.createSurvey(i),this.surveyValue.css=s.propertyGridCss;var o=this.surveyValue.createNewPage("p1");this.obj&&(new y(this.obj,this.options).setupObjPanel(o,!1),this.survey.addPage(o),this.survey.checkErrorsMode="onValueChanging",this.survey.onValueChanged.add((function(e,i){t.onValueChanged(i)})),this.survey.onValueChanging.add((function(e,i){t.onValueChanging(i)})),this.survey.onValidateQuestion.add((function(e,i){t.onValidateQuestion(i)})),this.survey.onGetQuestionTitleActions.add((function(e,i){t.titleActionsCreator.onGetQuestionTitleActions(i),t.onGetQuestionTitleActions(i);var o=i.question;t.options.onPropertyEditorUpdateTitleActionsCallback(t.obj,o.property,o,i.titleActions)})),this.survey.onGetPanelTitleActions.add((function(e,t){t.titleActions.splice(0,t.titleActions.length)})),this.survey.onMatrixCellCreated.add((function(e,i){t.onMatrixCellCreated(i)})),this.survey.onMatrixCellValueChanging.add((function(e,i){t.onMatrixCellValueChanging(i)})),this.survey.onMatrixCellValidate.add((function(e,i){t.onMatrixCellValidate(i)})),this.survey.onMatrixCellValueChanged.add((function(e,i){t.onMatrixCellValueChanged(i)})),this.survey.onMatrixAllowRemoveRow.add((function(e,i){i.allow=t.getMatrixAllowRemoveRow(i.question,i.row)})),this.survey.onMatrixRowAdded.add((function(e,i){t.onMatrixRowAdded(i)})),this.survey.onGetMatrixRowActions.add((function(e,i){t.onGetMatrixRowAction(i)})),this.survey.onAfterRenderQuestion.add((function(e,i){t.onAfterRenderQuestion(i)})),this.survey.editingObj=this.obj,this.objValueChangedCallback&&this.objValueChangedCallback(),this.survey.onFocusInPanel.add((function(e,i){t.currentlySelectedPanel!==i.panel&&(t.currentlySelectedProperty=i.panel.getFirstQuestionToFocus().name,t.currentlySelectedPanel=i.panel)})),this.survey.onFocusInQuestion.add((function(e,i){t.currentlySelectedProperty=i.question.name,t.currentlySelectedPanel=i.question.parent})))},Object.defineProperty(e.prototype,"options",{get:function(){return this.optionsValue},set:function(e){this.optionsValue=e||new u.EmptySurveyCreatorOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),e.prototype.validate=function(){if(this.survey)return!this.survey.hasErrors(!0,!0)},e.prototype.collapseCategory=function(e){var t=this.survey.getPanelByName(e);t&&t.collapse()},e.prototype.expandCategory=function(e){var t=this.survey.getPanelByName(e);t&&t.expand()},e.prototype.collapseAllCategories=function(){for(var e=this.survey.getAllPanels(),t=0;t<e.length;t++)e[t].collapse()},e.prototype.expandAllCategories=function(){for(var e=this.survey.getAllPanels(),t=0;t<e.length;t++)e[t].expand()},e.prototype.createSurvey=function(e){return this.options.createSurvey(e,"property-grid")},e.prototype.getSurveyJSON=function(){var e={};return m(e),e},e.prototype.onValidateQuestion=function(e){var t=e.question;t&&t.property&&(t.isRequired&&r.Helpers.isValueEmpty(e.value)?e.error=n.editorLocalization.getString("pe.propertyIsEmpty"):e.error=this.options.onGetErrorTextOnValidationCallback(t.property.name,this.obj,e.value))},e.prototype.onValueChanging=function(e){var t=e.question;if(t&&t.property){var i={obj:this.obj,propertyName:t.property.name,value:e.oldValue,newValue:e.value,doValidation:!1};this.options.onValueChangingCallback(i),e.value=i.newValue}},e.prototype.onValueChanged=function(e){var t=e.question;t&&t.property&&(this.changeDependedProperties(t),h.onValueChanged(this.obj,t.property,t),this.classNameProperty&&e.name===this.classNameProperty&&this.classNameValue!==e.value&&this.setObj(this.obj))},e.prototype.changeDependedProperties=function(e){var t=e.property.getDependedProperties();if(t)for(var i=0;i<t.length;i++){var o=t[i],n=this.survey.getQuestionByName(o);n&&(r.Helpers.isTwoValueEquals(n.value,this.survey.getValue(o))||(n.value=this.survey.getValue(o)),h.onMasterValueChanged(this.obj,n.property,n))}},e.prototype.onAfterRenderQuestion=function(e){h.onAfterRenderQuestion(this.obj,e.question.property,e)},e.prototype.onMatrixCellCreated=function(e){this.isCellCreating=!0,h.onMatrixCellCreated(this.obj,e.question.property,e),this.isCellCreating=!1;var t=e.row.editingObj;if(t){var i=r.Serializer.findProperty(t.getType(),e.columnName);if(i){var o=this.getMatrixAllowEditRow(e.question,e.row);e.cellQuestion.readOnly=!o||y.isPropertyReadOnly(i,this.options,t,this.obj,e.question.property)}}},e.prototype.onMatrixCellValueChanging=function(e){if(!this.isCellCreating){var t={obj:e.row.editingObj,propertyName:e.columnName,value:e.oldValue,newValue:e.value,doValidation:!1};this.options.onValueChangingCallback(t),e.value=t.newValue}},e.prototype.onMatrixCellValidate=function(e){if(!this.isCellCreating){var t=e.question.getColumnByName(e.columnName);t&&t.isRequired&&r.Helpers.isValueEmpty(e.value)?e.error=n.editorLocalization.getString("pe.propertyIsEmpty"):e.error=this.options.onGetErrorTextOnValidationCallback(e.columnName,e.row.editingObj,e.value)}},e.prototype.onGetMatrixRowAction=function(e){var t=this;h.onGetMatrixRowAction(this.obj,e.question.property,e,(function(i){t.setObjFromAction(i,e.question.name)}))},e.prototype.onGetQuestionTitleActions=function(e){h.onGetQuestionTitleActions(this.obj,e.question.property,e)},e.prototype.onMatrixCellValueChanged=function(e){this.isCellCreating||h.onMatrixCellValueChanged(this.obj,e.question.property,e)},e.prototype.getMatrixAllowRemoveRow=function(e,t){return void 0===t.allowDeleteRow&&this.calculateMatrixAllowOperations(e,t),t.allowDeleteRow},e.prototype.getMatrixAllowEditRow=function(e,t){return void 0===t.allowEditRow&&this.calculateMatrixAllowOperations(e,t),t.allowEditRow},e.prototype.calculateMatrixAllowOperations=function(e,t){var i={allowDelete:this.onMatrixAllowRemoveRow(e,t),allowEdit:!0};this.options.onCollectionItemAllowingCallback(this.obj,e.property,e.value,t.editingObj,i),t.allowDeleteRow=i.allowDelete,t.allowEditRow=i.allowEdit},e.prototype.onMatrixAllowRemoveRow=function(e,t){var i=h.onMatrixAllowRemoveRow(this.obj,e.property,t);return i=this.options.onCollectionItemDeletingCallback(this.obj,e.property,e.value,t.editingObj)&&i,this.options.onCanDeleteItemCallback(this.obj,t.editingObj,i)},e.prototype.onMatrixRowAdded=function(e){var t=e.row.editingObj;r.Serializer.isDescendantOf(t.getType(),"itemvalue")&&this.options.onItemValueAddedCallback(this.obj,e.question.property.name,e.row.editingObj,e.question.value),r.Serializer.isDescendantOf(t.getType(),"matrixdropdowncolumn")&&this.options.onMatrixDropdownColumnAddedCallback(this.obj,e.row.editingObj,e.question.value)},e}(),b=function(){function e(){}return e.prototype.showModalPropertyEditor=function(e,t,i,o,n){var a=this,s=e.createPropertyEditorSetup(i.obj,t,i,o);return s?("condition"!==t.type&&(s.editSurvey.css=r.defaultV2Css),s.editSurvey.onGetMatrixRowActions.add((function(e,t){Object(d.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),r.settings.showModal?(r.settings.showModal("survey",{survey:s.editSurvey,model:s.editSurvey},(function(){return a.onModalPropertyEditorClosed(e,t,i,o,"apply"),n&&n("apply"),s.apply()}),(function(){a.onModalPropertyEditorClosed(e,t,i,o,"cancel"),n&&n("cancel")}),"sv-property-editor",i.title,o.isMobileView?"overlay":"popup"),this.onModalPropertyEditorShown(e,t,i,o),s):s):null},e.prototype.onModalPropertyEditorShown=function(e,t,i,o){},e.prototype.onModalPropertyEditorClosed=function(e,t,i,o,r){},e}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e,t){return"boolean"==e.type||"switch"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"boolean",default:!1,renderAs:"checkbox",titleLocation:"hidden"}},t}(b),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.updateMaxLength=function(e,t){return e.maxLength>0&&(t.maxLength=e.maxLength),t},t}(b),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"string"==e.type},t.prototype.isDefault=function(){return!0},t.prototype.getJSON=function(e,t,i){var o=this.updateMaxLength(t,{type:"text"});return"name"==t.name&&(o.textUpdateMode="onBlur"),o},t}(w),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"number"==e.type},t.prototype.getJSON=function(e,t,i){var o={type:"text",inputType:"number",textUpdateMode:"onBlur"};return void 0!==t.minValue&&(o.min=t.minValue),void 0!==t.maxValue&&(o.max=t.maxValue),o},t}(b),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"text"===e.type},t.prototype.getJSON=function(e,t,i){return this.updateMaxLength(t,{type:"comment"})},t}(w),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"html"===e.type},t.prototype.getJSON=function(e,t,i){return this.updateMaxLength(t,{type:"comment"})},t}(w),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"color"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"text",inputType:"color"}},t}(b),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"string[]"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"comment"}},t.prototype.onCreated=function(e,t,i){t.valueFromDataCallback=function(e){return Array.isArray(e)?e.join("\n"):""},t.valueToDataCallback=function(e){return e?Array.isArray(e)&&!e.split?e:e.split("\n"):[]}},t}(b),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return this.isLocaleProp(e)||e.hasChoices},t.prototype.getJSON=function(e,t,i){var o=t.getChoices(e),r={type:this.renderAsButtonGroup(t,o)?"buttongroup":"dropdown",choices:o,showOptionsCaption:!1},n=this.getEmptyJsonItemValue(t,o);return n&&(r.showOptionsCaption=!0,r.optionsCaption=n.text),r},Object.defineProperty(t.prototype,"canRenderAsButtonGroup",{get:function(){return u.settings.propertyGrid.useButtonGroup},enumerable:!1,configurable:!0}),t.prototype.renderAsButtonGroup=function(e,t){if(this.isLocaleProp(e))return!1;if(!this.canRenderAsButtonGroup||!t||0==t.length||t.length>4)return!1;for(var i=0,o=0;o<t.length;o++){var r=this.getLocalizedText(e,t[o].value?t[o].value:t[o]);i+=r?r.length:0}return i<u.settings.propertyGrid.maxCharsInButtonGroup},t.prototype.onCreated=function(e,t,i){this.setChoices(e,t,i),t.displayValueCallback=function(e){return e||t.optionsCaption}},t.prototype.onMasterValueChanged=function(e,t,i){this.setChoices(e,i,t)},t.prototype.setChoicesCore=function(e,t,i){i&&Array.isArray(i)&&0!=i.length&&(e.choices=this.choicesFromPropChoices(t,i))},t.prototype.isLocaleProp=function(e){return"locale"===e.name},t.prototype.getLocalizedText=function(e,t){var i;return this.isLocaleProp(e)&&(i=n.editorLocalization.getLocaleName(t))||"cellType"===e.name&&(i=n.editorLocalization.getString("qt."+t))?i:null===t?null:n.editorLocalization.getPropertyValue(t)},t.prototype.choicesFromPropChoices=function(e,t){for(var i=[],o=0;o<t.length;o++){var n=this.getJsonItem(e,t[o]);r.Helpers.isValueEmpty(n.value)||i.push(n)}return i},t.prototype.getJsonItem=function(e,t){var i={value:void 0!==t.value?t.value:t},o=t.text?t.text:"";return o||(o=this.getLocalizedText(e,i.value)),o&&o!=i.value&&(i.text=o),i},t.prototype.setChoices=function(e,t,i){var o=this,r=i.getChoices(e,(function(e){o.setChoicesCore(t,i,e)}));this.setChoicesCore(t,i,r)},t.prototype.getEmptyJsonItemValue=function(e,t){if(!t)return null;for(var i=0;i<t.length;i++){var o=t[i],n=void 0!==o.value?o.value:o;if(r.Helpers.isValueEmpty(n))return this.getJsonItem(e,o)}return null},t}(b),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"set"==e.type||"multiplevalues"==e.type},t.prototype.getJSON=function(t,i,o){var n=e.prototype.getJSON.call(this,t,i,o),a=!!r.Serializer.findClass("tagbox");return n.type=a?"tagbox":"checkbox",n.hasSelectAll=!a,n},t}(N),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return e.hasChoices&&"page"==e.name},Object.defineProperty(t.prototype,"canRenderAsButtonGroup",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.onCreated=function(t,i,o){e.prototype.onCreated.call(this,t,i,o),i.valueFromDataCallback=function(e){return e?e.name:""},i.valueToDataCallback=function(e){if(e&&t&&t.getSurvey())return t.getSurvey().getPageByName(e)}},t}(N),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"question"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"dropdown",optionsCaption:n.editorLocalization.getString("pe.conditionSelectQuestion"),choices:this.getChoices(e,t,i)}},t.prototype.getChoices=function(e,t,i){var o=this,r=a.EditableObject.getSurvey(e);if(!r)return[];var n=this.getQuestions(r,e);n||(n=[]);var s=!!i&&i.showTitlesInExpressions,l=n.map((function(e){var t=s?e.locTitle.renderedHtml:e.name;return{value:o.getItemValue(e),text:t}}));return p.SurveyHelper.sortItems(l),l},t.prototype.getQuestions=function(e,t){return e.getAllQuestions()},t.prototype.getItemValue=function(e){return e.name},t}(b),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"question_selectbase"==e.type},t.prototype.getQuestions=function(t,i){for(var o=e.prototype.getQuestions.call(this,t,i),n=[],a=0;a<o.length;a++)o[a]!==i&&r.Serializer.isDescendantOf(o[a].getType(),"selectbase")&&n.push(o[a]);return n},t}(A),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"questionvalue"==e.type},t.prototype.getItemValue=function(e){return e.getValueName()},t}(A);h.register(new x),h.register(new T),h.register(new k),h.register(new E),h.register(new S),h.register(new P),h.register(new N),h.register(new O),h.register(new _),h.register(new C),h.register(new A),h.register(new V),h.register(new j),r.QuestionFactory.Instance.registerQuestion("buttongroup",(function(e){return new r.QuestionButtonGroupModel(e)}))},"./src/property-grid/matrices.ts":
|
|
472
|
+
/*! exports provided: setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue */function(e,t,i){"use strict";i.r(t),i.d(t,"setSurveyJSONForPropertyGrid",(function(){return m})),i.d(t,"PropertyEditorSetupValue",(function(){return g})),i.d(t,"PropertyGridEditorCollection",(function(){return h})),i.d(t,"PropertyGridTitleActionsCreator",(function(){return v})),i.d(t,"PropertyJSONGenerator",(function(){return y})),i.d(t,"PropertyGridModel",(function(){return f})),i.d(t,"PropertyGridEditor",(function(){return b})),i.d(t,"PropertyGridEditorBoolean",(function(){return x})),i.d(t,"PropertyGridEditorStringBase",(function(){return w})),i.d(t,"PropertyGridEditorString",(function(){return T})),i.d(t,"PropertyGridEditorNumber",(function(){return k})),i.d(t,"PropertyGridEditorText",(function(){return S})),i.d(t,"PropertyGridEditorHtml",(function(){return P})),i.d(t,"PropertyGridEditorColor",(function(){return E})),i.d(t,"PropertyGridEditorStringArray",(function(){return C})),i.d(t,"PropertyGridEditorDropdown",(function(){return N})),i.d(t,"PropertyGridEditorSet",(function(){return O})),i.d(t,"PropertyGridEditorPage",(function(){return _})),i.d(t,"PropertyGridEditorQuestion",(function(){return A})),i.d(t,"PropertyGridEditorQuestionSelectBase",(function(){return j})),i.d(t,"PropertyGridEditorQuestionValue",(function(){return V}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),a=i(/*! ../editable-object */"./src/editable-object.ts"),s=i(/*! ../property-grid-theme/property-grid */"./src/property-grid-theme/property-grid.ts"),l=i(/*! ../question-editor/properties */"./src/question-editor/properties.ts"),u=i(/*! ../settings */"./src/settings.ts"),c=i(/*! ./properties-helptext */"./src/property-grid/properties-helptext.ts"),d=i(/*! ../utils/actions */"./src/utils/actions.ts"),p=i(/*! ../survey-helper */"./src/survey-helper.ts");function m(e,t,i){void 0===t&&(t=!0),void 0===i&&(i=!0),e.showNavigationButtons="none",e.showPageTitles=!1,e.focusFirstQuestionAutomatic=!1,e.showQuestionNumbers="off",i&&(e.questionTitleLocation="left"),e.showProgressBar="off",t&&(e.textUpdateMode="onTyping"),e.requiredText=""}r.FunctionFactory.Instance.register("propertyVisibleIf",(function(e){return!!(this.question&&this.question.obj&&this.question.property)&&this.question.property.visibleIf(this.question.obj)}));var g=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=!0),this.options=e,this.options||(this.options=new u.EmptySurveyCreatorOptions),t&&this.setupSurvey()}return e.prototype.setupSurvey=function(){this.editSurveyValue=this.createSurvey()},Object.defineProperty(e.prototype,"editSurvey",{get:function(){return this.editSurveyValue},enumerable:!1,configurable:!0}),e.prototype.hasErrors=function(){return this.editSurvey.hasErrors(!0,!0)},e.prototype.createSurvey=function(){var e=this.getSurveyJSON();return m(e,!0,!1),this.options.createSurvey(e,this.getSurveyCreationReason())},e.prototype.dispose=function(){this.editSurvey&&this.editSurvey.dispose()},e}(),h={editors:new Array,fitHash:{},clearHash:function(){this.fitHash={}},register:function(e){this.editors.push(e)},getEditor:function(e,t){if(!e)return null;if(t)for(var i=this.editors.length-1;i>=0;i--){var o=this.editors[i];if(o.fit(e,t))return o}var r=this.fitHash[e.id];if(r)return r;var n=this.isEditorFit(e);return n||this.isEditorFit(e,!0)},isEditorFit:function(e,t){void 0===t&&(t=!1);for(var i=this.editors.length-1;i>=0;i--){var o=this.editors[i];if(!t&&o.fit(e)||t&&o.isDefault&&o.isDefault())return this.fitHash[e.id]=o,o}return null},getJSON:function(e,t,i,o){var r=this.getEditor(t,o);return r?r.getJSON(e,t,i):null},onCreated:function(e,t,i,o){var r=this.getEditor(i);r&&r.onCreated&&r.onCreated(e,t,i,o)},onAfterRenderQuestion:function(e,t,i){var o=this.getEditor(t);o&&o.onAfterRenderQuestion&&o.onAfterRenderQuestion(e,t,i)},onMatrixCellCreated:function(e,t,i){var o=this.getEditor(t);o&&o.onMatrixCellCreated&&o.onMatrixCellCreated(i.question.obj,i)},onMatrixCellValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onMatrixCellValueChanged&&o.onMatrixCellValueChanged(e,i);var r=i.row;if(r){var n=r.getQuestionByName(i.columnName);n&&r.runCondition({},{question:n})}},onMatrixAllowRemoveRow:function(e,t,i){var o=this.getEditor(t);return!o||!o.onMatrixAllowRemoveRow||o.onMatrixAllowRemoveRow(e,i)},onGetMatrixRowAction:function(e,t,i,o){var r=this.getEditor(t);r&&r.onGetMatrixRowAction&&r.onGetMatrixRowAction(e,i,o)},onUpdateQuestionCssClasses:function(e,t,i){var o=this.getEditor(t);o&&o.onUpdateQuestionCssClasses&&o.onUpdateQuestionCssClasses(e,i)},onGetQuestionTitleActions:function(e,t,i){var o=this.getEditor(t);o&&o.onGetQuestionTitleActions&&o.onGetQuestionTitleActions(e,i)},onValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onValueChanged&&o.onValueChanged(e,t,i)},onMasterValueChanged:function(e,t,i){var o=this.getEditor(t);o&&o.onMasterValueChanged&&o.onMasterValueChanged(e,t,i)}},v=function(){function e(e,t){this.obj=e,this.options=t}return e.prototype.onGetQuestionTitleActions=function(e){var t=e.question,i=t.property,o=h.getEditor(i);if(o){var r=[],n=!t.isReadOnly;!!o.clearPropertyValue&&(!o.canClearPropertyValue||o.canClearPropertyValue(this.obj,i,t,this.options))&&r.push(this.createClearValueAction(o,i,t,n)),o.createPropertyEditorSetup&&(n&&(n=!o.isPropertyEditorSetupEnabled||o.isPropertyEditorSetupEnabled(this.obj,i,e.question,this.options)),r.push(this.createEditorSetupAction(o,i,t,n)));var a=this.createPropertyHelpAction(t);a&&r.push(a),r.length>0&&(e.titleActions=r)}},e.prototype.createClearValueAction=function(e,t,i,o){var a=this;return{id:"property-grid-clear",title:Object(n.getLocString)("pe.clear"),showTitle:!1,iconName:"icon-clear",css:"spg-action-button spg-action-button--danger",enabled:o,visible:new r.ComputedUpdater((function(){var e=i.obj[t.name];return Array.isArray(e)?e.length>0:!!e})),action:function(){e.clearPropertyValue(i.obj,t,i,a.options)}}},e.prototype.showModalPropertyEditor=function(e,t,i){return e.showModalPropertyEditor(e,t,i,this.options)},e.prototype.createEditorSetupAction=function(e,t,i,o){var r=this;return{id:"property-grid-setup",iconName:t.isArray?"icon-fast-entry":"icon-wizard",css:"spg-action-button",enabled:o,title:Object(n.getLocString)("pe.edit"),showTitle:!1,action:function(){return r.showModalPropertyEditor(e,t,i)}}},e.prototype.createPropertyHelpAction=function(e){var t=this;if(!e.description)return null;var i=new r.Action({title:"",id:"property-grid-help",css:"spg-action-button",iconName:this.getHelpActionIconName(e),showTitle:!1,action:function(){e.descriptionLocation="hidden"!=e.descriptionLocation?"hidden":"underTitle",i.iconName=t.getHelpActionIconName(e)}});return i},e.prototype.getHelpActionIconName=function(e){return"hidden"!=e.descriptionLocation?"icon-description-hide":"icon-description"},e}(),y=function(){function e(e,t,i,o){void 0===t&&(t=null),void 0===i&&(i=null),void 0===o&&(o=null),this.obj=e,this.options=t,this.parentObj=i,this.parentProperty=o}return e.isPropertyReadOnly=function(e,t,i,o,r){var n=e.readOnly;return t&&i&&(n=t.onIsPropertyReadOnlyCallback(i,e,n,o,r)),n},e.getClassNameProperty=function(e){if(e&&e.getClassNameProperty)return e.getClassNameProperty()},e.prototype.toJSON=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=void 0),this.createJSON(e,t)},e.prototype.createColumnsJSON=function(e,t){for(var i=[],o=0;o<t.length;o++){var r=this.getColumnPropertyJSON(e,t[o]);r&&i.push(r)}return i},e.prototype.setupObjPanel=function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=void 0),e.fromJSON(this.toJSON(t,i)),this.onQuestionsCreated(e)},e.prototype.onQuestionsCreated=function(e){for(var t=r.Serializer.getPropertiesByObj(this.obj),i={},o=0;o<t.length;o++)i[t[o].name]=t[o];var n=e.questions;for(o=0;o<n.length;o++){var a=n[o],s=i[a.name];a.property=s,a.obj=this.obj,a.options=this.options;var l=this.getVisibilityOnEvent(s);a.readOnly=a.readOnly||this.isPropertyReadOnly(s),a.visible=a.visible&&l,s.visibleIf&&(a.visibleIf=l?"propertyVisibleIf() = true":""),a.descriptionLocation="hidden";var u=c.PropertiesHelpTexts.instance.getHelpText(this.obj,s);u&&(a.description=u),h.onCreated(this.obj,a,s,this.options),this.options.onPropertyEditorCreatedCallback(this.obj,s,a)}},e.prototype.getVisibilityOnEvent=function(e,t){return void 0===t&&(t=""),this.options.onCanShowPropertyCallback(this.obj,e,t,this.parentObj,this.parentProperty)},e.prototype.isPropertyReadOnly=function(t){return e.isPropertyReadOnly(t,this.options,this.obj,this.parentObj,this.parentProperty)},e.prototype.getClasPropName=function(){if(this.parentObj&&this.parentProperty)return this.parentProperty.name;var t=e.getClassNameProperty(this.obj);return t&&this.obj[t]?this.obj[t]:void 0},e.prototype.createJSON=function(e,t){void 0===t&&(t=void 0);var i=void 0,o=this.getClasPropName();o&&("itemvalue"===(i=this.obj.getType())&&(i+="[]"),i+="@"+o);for(var r=new l.SurveyQuestionProperties(this.obj,null,i,void 0,this.parentObj,this.parentProperty).getTabs(),n={},a=0;a<r.length;a++)!1!==r[a].visible&&(n[r[a].name]=this.createPanelProps(r[a],0==a,t));var s={elements:[]};for(var c in n)if(c==u.settings.propertyGrid.generalTabName&&e){var d=n[c].elements;for(a=0;a<d.length;a++)s.elements.push(d[a])}else s.elements.push(n[c]);return s},e.prototype.createPanelProps=function(e,t,i){for(var o=this.createPanelJSON(e.name,e.title,t),r=0;r<e.properties.length;r++){var n=e.properties[r],a=this.createQuestionJSON(n.property,n.title,!1,i);n.onSameLine&&(a.startWithNewLine=!1,this.updateQuestionJSONOnSameLine(a),o.elements.length>0&&this.updateQuestionJSONOnSameLine(o.elements[o.elements.length-1])),a&&o.elements.push(a)}return o},e.prototype.updateQuestionJSONOnSameLine=function(e){e.titleLocation="left",e.minWidth="50px"},e.prototype.createPanelJSON=function(e,t,i){return{type:"panel",name:e,title:this.getPanelTitle(e,t),state:i?"expanded":"collapsed",elements:[]}},e.prototype.createQuestionJSON=function(e,t,i,o){if(void 0===i&&(i=!1),!this.isPropertyVisible(e,i?"list":"")&&i)return null;var r=h.getJSON(this.obj,e,this.options,o);return r?(r.name=e.name,r.visible=e.visible,r.isReadOnly=e.readOnly,r.isRequired=e.isRequired,r.requiredErrorText=n.editorLocalization.getString("pe.propertyIsEmpty"),r.title=this.getQuestionTitle(e,t),r):null},e.prototype.getColumnPropertyJSON=function(e,t){if(!e)return null;var i=r.Serializer.findProperty(e,t);if(!i)return null;var o=this.createQuestionJSON(i,"",!0,void 0);return o?(o.name=i.name,o.title=this.getQuestionTitle(i,""),i.isUnique&&(o.isUnique=i.isUnique),o.type&&(o.cellType=o.type,delete o.type),"buttongroup"===o.cellType&&(o.cellType="dropdown"),i.visibleIf&&(o.visibleIf="propertyVisibleIf() = true"),o.isReadOnly&&(o.readOnly=o.isReadOnly,delete o.isReadOnly),o):null},e.prototype.isPropertyVisible=function(e,t){return!(!e.visible||t&&e.showMode&&t!=e.showMode)},e.prototype.getPanelTitle=function(e,t){return t||n.editorLocalization.getString("pe.tabs."+e)},e.prototype.getQuestionTitle=function(e,t){return e.displayName?e.displayName:t&&t!==e.name?t:n.editorLocalization.getPropertyNameInEditor(e.name)},e}(),f=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=new u.EmptySurveyCreatorOptions),this.isCellCreating=!1,this.options=t,this.obj=e}return e.prototype.refresh=function(){this.setObj(this.objValue)},Object.defineProperty(e.prototype,"obj",{get:function(){return this.objValue},set:function(e){this.objValue!==e&&this.setObj(e)},enumerable:!1,configurable:!0}),e.prototype.selectProperty=function(e,t){if(void 0===t&&(t=!0),this.survey){var i=this.survey.getQuestionByName(e);if(i){for(var o=this.survey.getAllPanels(),r=0;r<o.length;r++){var n=o[r];n===i.parent?n.expand():n.collapse()}t&&i.focus()}}},e.prototype.setObjFromAction=function(e,t){this.changedFromActionCallback?this.changedFromActionCallback(e,t):this.setObj(e)},e.prototype.setObj=function(e){var t=this;this.objValue=e,this.classNameProperty=this.obj?y.getClassNameProperty(this.obj):"",this.classNameValue=this.classNameProperty?this.obj[this.classNameProperty]:void 0,this.titleActionsCreator=this.obj?new v(this.obj,this.options):void 0;var i=this.getSurveyJSON();this.options.readOnly&&(i.mode="display"),this.surveyValue&&this.surveyValue.dispose(),this.surveyValue=this.createSurvey(i),this.surveyValue.css=s.propertyGridCss;var o=this.surveyValue.createNewPage("p1");this.obj&&(new y(this.obj,this.options).setupObjPanel(o,!1),this.survey.addPage(o),this.survey.checkErrorsMode="onValueChanging",this.survey.onValueChanged.add((function(e,i){t.onValueChanged(i)})),this.survey.onValueChanging.add((function(e,i){t.onValueChanging(i)})),this.survey.onValidateQuestion.add((function(e,i){t.onValidateQuestion(i)})),this.survey.onGetQuestionTitleActions.add((function(e,i){t.titleActionsCreator.onGetQuestionTitleActions(i),t.onGetQuestionTitleActions(i);var o=i.question;t.options.onPropertyEditorUpdateTitleActionsCallback(t.obj,o.property,o,i.titleActions)})),this.survey.onGetPanelTitleActions.add((function(e,t){t.titleActions.splice(0,t.titleActions.length)})),this.survey.onMatrixCellCreated.add((function(e,i){t.onMatrixCellCreated(i)})),this.survey.onMatrixCellValueChanging.add((function(e,i){t.onMatrixCellValueChanging(i)})),this.survey.onMatrixCellValidate.add((function(e,i){t.onMatrixCellValidate(i)})),this.survey.onMatrixCellValueChanged.add((function(e,i){t.onMatrixCellValueChanged(i)})),this.survey.onMatrixAllowRemoveRow.add((function(e,i){i.allow=t.getMatrixAllowRemoveRow(i.question,i.row)})),this.survey.onMatrixRowAdded.add((function(e,i){t.onMatrixRowAdded(i)})),this.survey.onGetMatrixRowActions.add((function(e,i){t.onGetMatrixRowAction(i)})),this.survey.onUpdateQuestionCssClasses.add((function(e,i){t.onUpdateQuestionCssClasses(i)})),this.survey.onAfterRenderQuestion.add((function(e,i){t.onAfterRenderQuestion(i)})),this.survey.editingObj=this.obj,this.objValueChangedCallback&&this.objValueChangedCallback(),this.survey.onFocusInPanel.add((function(e,i){t.currentlySelectedPanel!==i.panel&&(t.currentlySelectedProperty=i.panel.getFirstQuestionToFocus().name,t.currentlySelectedPanel=i.panel)})),this.survey.onFocusInQuestion.add((function(e,i){t.currentlySelectedProperty=i.question.name,t.currentlySelectedPanel=i.question.parent})))},Object.defineProperty(e.prototype,"options",{get:function(){return this.optionsValue},set:function(e){this.optionsValue=e||new u.EmptySurveyCreatorOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),e.prototype.validate=function(){if(this.survey)return!this.survey.hasErrors(!0,!0)},e.prototype.collapseCategory=function(e){var t=this.survey.getPanelByName(e);t&&t.collapse()},e.prototype.expandCategory=function(e){var t=this.survey.getPanelByName(e);t&&t.expand()},e.prototype.collapseAllCategories=function(){for(var e=this.survey.getAllPanels(),t=0;t<e.length;t++)e[t].collapse()},e.prototype.expandAllCategories=function(){for(var e=this.survey.getAllPanels(),t=0;t<e.length;t++)e[t].expand()},e.prototype.createSurvey=function(e){return this.options.createSurvey(e,"property-grid")},e.prototype.getSurveyJSON=function(){var e={};return m(e,!0,!1),e},e.prototype.onValidateQuestion=function(e){var t=e.question;t&&t.property&&(t.isRequired&&r.Helpers.isValueEmpty(e.value)?e.error=n.editorLocalization.getString("pe.propertyIsEmpty"):e.error=this.options.onGetErrorTextOnValidationCallback(t.property.name,this.obj,e.value))},e.prototype.onValueChanging=function(e){var t=e.question;if(t&&t.property){var i={obj:this.obj,propertyName:t.property.name,value:e.oldValue,newValue:e.value,doValidation:!1};this.options.onValueChangingCallback(i),e.value=i.newValue}},e.prototype.onValueChanged=function(e){var t=e.question;t&&t.property&&(this.changeDependedProperties(t),h.onValueChanged(this.obj,t.property,t),this.classNameProperty&&e.name===this.classNameProperty&&this.classNameValue!==e.value&&this.setObj(this.obj))},e.prototype.changeDependedProperties=function(e){var t=e.property.getDependedProperties();if(t)for(var i=0;i<t.length;i++){var o=t[i],n=this.survey.getQuestionByName(o);n&&(r.Helpers.isTwoValueEquals(n.value,this.survey.getValue(o))||(n.value=this.survey.getValue(o)),h.onMasterValueChanged(this.obj,n.property,n))}},e.prototype.onAfterRenderQuestion=function(e){h.onAfterRenderQuestion(this.obj,e.question.property,e)},e.prototype.onMatrixCellCreated=function(e){this.isCellCreating=!0,h.onMatrixCellCreated(this.obj,e.question.property,e),this.isCellCreating=!1;var t=e.row.editingObj;if(t){var i=r.Serializer.findProperty(t.getType(),e.columnName);if(i){var o=this.getMatrixAllowEditRow(e.question,e.row);e.cellQuestion.readOnly=!o||y.isPropertyReadOnly(i,this.options,t,this.obj,e.question.property)}}},e.prototype.onMatrixCellValueChanging=function(e){if(!this.isCellCreating){var t={obj:e.row.editingObj,propertyName:e.columnName,value:e.oldValue,newValue:e.value,doValidation:!1};this.options.onValueChangingCallback(t),e.value=t.newValue}},e.prototype.onMatrixCellValidate=function(e){if(!this.isCellCreating){var t=e.question.getColumnByName(e.columnName);t&&t.isRequired&&r.Helpers.isValueEmpty(e.value)?e.error=n.editorLocalization.getString("pe.propertyIsEmpty"):e.error=this.options.onGetErrorTextOnValidationCallback(e.columnName,e.row.editingObj,e.value)}},e.prototype.onGetMatrixRowAction=function(e){var t=this;h.onGetMatrixRowAction(this.obj,e.question.property,e,(function(i){t.setObjFromAction(i,e.question.name)}))},e.prototype.onUpdateQuestionCssClasses=function(e){h.onUpdateQuestionCssClasses(this.obj,e.question.property,e)},e.prototype.onGetQuestionTitleActions=function(e){h.onGetQuestionTitleActions(this.obj,e.question.property,e)},e.prototype.onMatrixCellValueChanged=function(e){this.isCellCreating||h.onMatrixCellValueChanged(this.obj,e.question.property,e)},e.prototype.getMatrixAllowRemoveRow=function(e,t){return void 0===t.allowDeleteRow&&this.calculateMatrixAllowOperations(e,t),t.allowDeleteRow},e.prototype.getMatrixAllowEditRow=function(e,t){return void 0===t.allowEditRow&&this.calculateMatrixAllowOperations(e,t),t.allowEditRow},e.prototype.calculateMatrixAllowOperations=function(e,t){var i={allowDelete:this.onMatrixAllowRemoveRow(e,t),allowEdit:!0};this.options.onCollectionItemAllowingCallback(this.obj,e.property,e.value,t.editingObj,i),t.allowDeleteRow=i.allowDelete,t.allowEditRow=i.allowEdit},e.prototype.onMatrixAllowRemoveRow=function(e,t){var i=h.onMatrixAllowRemoveRow(this.obj,e.property,t);return i=this.options.onCollectionItemDeletingCallback(this.obj,e.property,e.value,t.editingObj)&&i,this.options.onCanDeleteItemCallback(this.obj,t.editingObj,i)},e.prototype.onMatrixRowAdded=function(e){var t=e.row.editingObj;r.Serializer.isDescendantOf(t.getType(),"itemvalue")&&this.options.onItemValueAddedCallback(this.obj,e.question.property.name,e.row.editingObj,e.question.value),r.Serializer.isDescendantOf(t.getType(),"matrixdropdowncolumn")&&this.options.onMatrixDropdownColumnAddedCallback(this.obj,e.row.editingObj,e.question.value)},e}(),b=function(){function e(){}return e.prototype.showModalPropertyEditor=function(e,t,i,o,n){var a=this,s=e.createPropertyEditorSetup(i.obj,t,i,o);return s?("condition"!==t.type&&(s.editSurvey.css=r.defaultV2Css),s.editSurvey.onGetMatrixRowActions.add((function(e,t){Object(d.updateMatrixRemoveAction)(t.question,t.actions,t.row)})),r.settings.showModal?(r.settings.showModal("survey",{survey:s.editSurvey,model:s.editSurvey},(function(){return a.onModalPropertyEditorClosed(e,t,i,o,"apply"),n&&n("apply"),s.apply()}),(function(){a.onModalPropertyEditorClosed(e,t,i,o,"cancel"),n&&n("cancel")}),"sv-property-editor",i.title,o.isMobileView?"overlay":"popup"),this.onModalPropertyEditorShown(e,t,i,o),s):s):null},e.prototype.onModalPropertyEditorShown=function(e,t,i,o){},e.prototype.onModalPropertyEditorClosed=function(e,t,i,o,r){},e}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e,t){return"boolean"==e.type||"switch"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"boolean",default:!1,renderAs:"checkbox",titleLocation:"hidden"}},t}(b),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.updateMaxLength=function(e,t){return e.maxLength>0&&(t.maxLength=e.maxLength),t},t}(b),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"string"==e.type},t.prototype.isDefault=function(){return!0},t.prototype.getJSON=function(e,t,i){var o=this.updateMaxLength(t,{type:"text"});return"name"==t.name&&(o.textUpdateMode="onBlur"),o},t}(w),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"number"==e.type},t.prototype.getJSON=function(e,t,i){var o={type:"text",inputType:"number",textUpdateMode:"onBlur"};return void 0!==t.minValue&&(o.min=t.minValue),void 0!==t.maxValue&&(o.max=t.maxValue),o},t}(b),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"text"===e.type},t.prototype.getJSON=function(e,t,i){return this.updateMaxLength(t,{type:"comment"})},t}(w),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"html"===e.type},t.prototype.getJSON=function(e,t,i){return this.updateMaxLength(t,{type:"comment"})},t}(w),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"color"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"text",inputType:"color"}},t}(b),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"string[]"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"comment"}},t.prototype.onCreated=function(e,t,i){t.valueFromDataCallback=function(e){return Array.isArray(e)?e.join("\n"):""},t.valueToDataCallback=function(e){return e?Array.isArray(e)&&!e.split?e:e.split("\n"):[]}},t}(b),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return this.isLocaleProp(e)||e.hasChoices},t.prototype.getJSON=function(e,t,i){var o=t.getChoices(e),r={type:this.renderAsButtonGroup(t,o)?"buttongroup":"dropdown",choices:o,showOptionsCaption:!1},n=this.getEmptyJsonItemValue(t,o);return n&&(r.showOptionsCaption=!0,r.optionsCaption=n.text),r},Object.defineProperty(t.prototype,"canRenderAsButtonGroup",{get:function(){return u.settings.propertyGrid.useButtonGroup},enumerable:!1,configurable:!0}),t.prototype.renderAsButtonGroup=function(e,t){if(this.isLocaleProp(e))return!1;if(!this.canRenderAsButtonGroup||!t||0==t.length||t.length>4)return!1;for(var i=0,o=0;o<t.length;o++){var r=this.getLocalizedText(e,t[o].value?t[o].value:t[o]);i+=r?r.length:0}return i<u.settings.propertyGrid.maxCharsInButtonGroup},t.prototype.onCreated=function(e,t,i){this.setChoices(e,t,i),t.displayValueCallback=function(e){return e||t.optionsCaption}},t.prototype.onMasterValueChanged=function(e,t,i){this.setChoices(e,i,t)},t.prototype.setChoicesCore=function(e,t,i){i&&Array.isArray(i)&&0!=i.length&&(e.choices=this.choicesFromPropChoices(t,i))},t.prototype.isLocaleProp=function(e){return"locale"===e.name},t.prototype.getLocalizedText=function(e,t){var i;return this.isLocaleProp(e)&&(i=n.editorLocalization.getLocaleName(t))||"cellType"===e.name&&(i=n.editorLocalization.getString("qt."+t))?i:null===t?null:n.editorLocalization.getPropertyValue(t)},t.prototype.choicesFromPropChoices=function(e,t){for(var i=[],o=0;o<t.length;o++){var n=this.getJsonItem(e,t[o]);r.Helpers.isValueEmpty(n.value)||i.push(n)}return i},t.prototype.getJsonItem=function(e,t){var i={value:void 0!==t.value?t.value:t},o=t.text?t.text:"";return o||(o=this.getLocalizedText(e,i.value)),o&&o!=i.value&&(i.text=o),i},t.prototype.setChoices=function(e,t,i){var o=this,r=i.getChoices(e,(function(e){o.setChoicesCore(t,i,e)}));this.setChoicesCore(t,i,r)},t.prototype.getEmptyJsonItemValue=function(e,t){if(!t)return null;for(var i=0;i<t.length;i++){var o=t[i],n=void 0!==o.value?o.value:o;if(r.Helpers.isValueEmpty(n))return this.getJsonItem(e,o)}return null},t}(b),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"set"==e.type||"multiplevalues"==e.type},t.prototype.getJSON=function(t,i,o){var n=e.prototype.getJSON.call(this,t,i,o),a=!!r.Serializer.findClass("tagbox");return n.type=a?"tagbox":"checkbox",n.hasSelectAll=!a,n},t}(N),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return e.hasChoices&&"page"==e.name},Object.defineProperty(t.prototype,"canRenderAsButtonGroup",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.onCreated=function(t,i,o){e.prototype.onCreated.call(this,t,i,o),i.valueFromDataCallback=function(e){return e?e.name:""},i.valueToDataCallback=function(e){if(e&&t&&t.getSurvey())return t.getSurvey().getPageByName(e)}},t}(N),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"question"==e.type},t.prototype.getJSON=function(e,t,i){return{type:"dropdown",optionsCaption:n.editorLocalization.getString("pe.conditionSelectQuestion"),choices:this.getChoices(e,t,i)}},t.prototype.getChoices=function(e,t,i){var o=this,r=a.EditableObject.getSurvey(e);if(!r)return[];var n=this.getQuestions(r,e);n||(n=[]);var s=!!i&&i.showTitlesInExpressions,l=n.map((function(e){var t=s?e.locTitle.renderedHtml:e.name;return{value:o.getItemValue(e),text:t}}));return p.SurveyHelper.sortItems(l),l},t.prototype.getQuestions=function(e,t){return e.getAllQuestions()},t.prototype.getItemValue=function(e){return e.name},t}(b),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"question_selectbase"==e.type},t.prototype.getQuestions=function(t,i){for(var o=e.prototype.getQuestions.call(this,t,i),n=[],a=0;a<o.length;a++)o[a]!==i&&r.Serializer.isDescendantOf(o[a].getType(),"selectbase")&&n.push(o[a]);return n},t}(A),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"questionvalue"==e.type},t.prototype.getItemValue=function(e){return e.getValueName()},t}(A);h.register(new x),h.register(new T),h.register(new k),h.register(new E),h.register(new S),h.register(new P),h.register(new N),h.register(new O),h.register(new _),h.register(new C),h.register(new A),h.register(new V),h.register(new j),r.QuestionFactory.Instance.registerQuestion("buttongroup",(function(e){return new r.QuestionButtonGroupModel(e)}))},"./src/property-grid/matrices.ts":
|
|
473
473
|
/*!***************************************!*\
|
|
474
474
|
!*** ./src/property-grid/matrices.ts ***!
|
|
475
475
|
\***************************************/
|
|
@@ -497,15 +497,15 @@ License: MIT
|
|
|
497
497
|
/*!*************************************!*\
|
|
498
498
|
!*** ./src/property-grid/values.ts ***!
|
|
499
499
|
\*************************************/
|
|
500
|
-
/*! exports provided: QuestionLinkValueModel, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor */function(e,t,i){"use strict";i.r(t),i.d(t,"QuestionLinkValueModel",(function(){return c})),i.d(t,"PropertyGridValueEditorBase",(function(){return d})),i.d(t,"PropertyGridCellsEditor",(function(){return p})),i.d(t,"PropertyGridValueEditor",(function(){return m})),i.d(t,"PropertyGridRowValueEditor",(function(){return g})),i.d(t,"PropertyGridPanelValueEditor",(function(){return h})),i.d(t,"PropertyGridTriggerValueEditor",(function(){return v})),i.d(t,"PropertyGridTriggerValueInLogicEditor",(function(){return y}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ./index */"./src/property-grid/index.ts"),a=i(/*! ./cells-survey */"./src/property-grid/cells-survey.ts"),s=i(/*! ./values-survey */"./src/property-grid/values-survey.ts"),l=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),u=i(/*! ../survey-helper */"./src/survey-helper.ts"),c=function(e){function t(t,i){void 0===i&&(i=null);var o=e.call(this,t)||this,r=i&&!i.showValueInLink&&l.editorLocalization.getString("pe.set")+" "+i.title||null;return o.linkValueText=r||l.editorLocalization.getString("pe.emptyValue"),o}return Object(o.__extends)(t,e),t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"value"===t&&(this.updateLinkValueText(),this.allowClear&&(this.showClear=!!o))},t.prototype.getType=function(){return"linkvalue"},t.prototype.doLinkClick=function(){this.linkClickCallback&&this.linkClickCallback()},t.prototype.doClearClick=function(){this.clearClickCallback&&this.clearClickCallback()},t.prototype.updateLinkValueText=function(){var e;e=this.showValueInLink?this.isEmpty()?l.editorLocalization.getString("pe.emptyValue"):this.getObjDisplayValue():this.isEmpty()?l.editorLocalization.getString("pe.set")+" "+this.title:l.editorLocalization.getString("pe.change")+" "+this.title,this.linkValueText=e},t.prototype.stringifyValue=function(e){return"string"!=typeof e?JSON.stringify(e):e},t.prototype.getObjDisplayValue=function(){var e=this.obj;if(!e||!e.getDisplayValue)return this.stringifyValue(this.value);var t=e.getDisplayValue(!0,this.value);return"string"!=typeof t?JSON.stringify(t):t},Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isSelected",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"linkValueText",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showClear",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"allowClear",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showValueInLink",void 0),t}(r.Question);r.Serializer.addClass("linkvalue",["showValueInLink"],(function(e){return new c("",e)}),"nonvalue"),r.QuestionFactory.Instance.registerQuestion("linkvalue",(function(e){return new c(e)}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onCreated=function(e,i,o,r){i.linkClickCallback=function(){t.showModalPropertyEditor(t,o,i,r,(function(){return i.isSelected=!1})),i.isSelected=!0},i.clearClickCallback=function(){t.clearPropertyValue(i.obj,o,i,null)}},t}return Object(o.__extends)(t,e),t.prototype.getJSON=function(e,t,i){return{type:"linkvalue",showValueInLink:!1,titleLocation:"hidden"}},t.prototype.clearPropertyValue=function(e,t,i,o){e[t.name]=void 0},t.prototype.isValueEmpty=function(e){return r.Helpers.isValueEmpty(e)},t}(n.PropertyGridEditor),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"cells"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new a.CellsEditor(e,o)},t.prototype.clearPropertyValue=function(e,t,i,o){e.cells.setJson(null)},t.prototype.isValueEmpty=function(e){return!e||r.Helpers.isValueEmpty(e.values)},t}(d),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"value"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultValueEditor(e,t.name,o)},t}(d),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"rowvalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultMatrixRowValueEditor(e,t.name,o)},t}(d),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"panelvalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultPanelDynamicPanelValueEditor(e,t.name,o)},t}(d),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"triggervalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){var r=i.obj,n=this.getSetToNameQuestion(r);return new s.TriggerValueEditor(n,r,t.name,o)},t.prototype.getSetToNameQuestion=function(e){var t=e.getSurvey();return t||(t=e.owner),e.setToName&&t?t.getQuestionByValueName(e.setToName):null},t}(d),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e,t){return"logic"===t&&"triggervalue"==e.type},t.prototype.getJSON=function(e,t,i){var o=this.getSetToNameQuestion(e);if(!o)return{type:"linkvalue"};var r=o.toJSON();return r.type=o.getType(),u.SurveyHelper.updateQuestionJson(r),r},t}(v);n.PropertyGridEditorCollection.register(new p),n.PropertyGridEditorCollection.register(new m),n.PropertyGridEditorCollection.register(new g),n.PropertyGridEditorCollection.register(new h),n.PropertyGridEditorCollection.register(new v),n.PropertyGridEditorCollection.register(new y)},"./src/question-editor/definition.ts":
|
|
500
|
+
/*! exports provided: QuestionLinkValueModel, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor */function(e,t,i){"use strict";i.r(t),i.d(t,"QuestionLinkValueModel",(function(){return c})),i.d(t,"PropertyGridValueEditorBase",(function(){return d})),i.d(t,"PropertyGridCellsEditor",(function(){return p})),i.d(t,"PropertyGridValueEditor",(function(){return m})),i.d(t,"PropertyGridRowValueEditor",(function(){return g})),i.d(t,"PropertyGridPanelValueEditor",(function(){return h})),i.d(t,"PropertyGridTriggerValueEditor",(function(){return v})),i.d(t,"PropertyGridTriggerValueInLogicEditor",(function(){return y}));var o=i(/*! tslib */"./src/entries/helpers.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ./index */"./src/property-grid/index.ts"),a=i(/*! ./cells-survey */"./src/property-grid/cells-survey.ts"),s=i(/*! ./values-survey */"./src/property-grid/values-survey.ts"),l=i(/*! ../editorLocalization */"./src/editorLocalization.ts"),u=i(/*! ../survey-helper */"./src/survey-helper.ts"),c=function(e){function t(t,i){void 0===i&&(i=null);var o=e.call(this,t)||this,r=i&&!i.showValueInLink&&l.editorLocalization.getString("pe.set")+" "+i.title||null;return o.linkValueText=r||l.editorLocalization.getString("pe.emptyValue"),o}return Object(o.__extends)(t,e),t.prototype.onPropertyValueChanged=function(t,i,o){e.prototype.onPropertyValueChanged.call(this,t,i,o),"value"===t&&(this.updateLinkValueText(),this.allowClear&&(this.showClear=!!o))},t.prototype.getType=function(){return"linkvalue"},t.prototype.doLinkClick=function(){this.linkClickCallback&&this.linkClickCallback()},t.prototype.doClearClick=function(){this.clearClickCallback&&this.clearClickCallback()},t.prototype.updateLinkValueText=function(){var e;e=this.showValueInLink?this.isEmpty()?l.editorLocalization.getString("pe.emptyValue"):this.getObjDisplayValue():this.isEmpty()?l.editorLocalization.getString("pe.set")+" "+this.title:l.editorLocalization.getString("pe.change")+" "+this.title,this.linkValueText=e},t.prototype.stringifyValue=function(e){return"string"!=typeof e?JSON.stringify(e):e},t.prototype.getObjDisplayValue=function(){var e=this.obj;if(!e||!e.getDisplayValue)return this.stringifyValue(this.value);var t=e.getDisplayValue(!0,this.value);return"string"!=typeof t?JSON.stringify(t):t},Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"isSelected",void 0),Object(o.__decorate)([Object(r.property)()],t.prototype,"linkValueText",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!1})],t.prototype,"showClear",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"allowClear",void 0),Object(o.__decorate)([Object(r.property)({defaultValue:!0})],t.prototype,"showValueInLink",void 0),t}(r.Question);r.Serializer.addClass("linkvalue",["showValueInLink"],(function(e){return new c("",e)}),"nonvalue"),r.QuestionFactory.Instance.registerQuestion("linkvalue",(function(e){return new c(e)}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onCreated=function(e,i,o,r){i.linkClickCallback=function(){t.showModalPropertyEditor(t,o,i,r,(function(){return i.isSelected=!1})),i.isSelected=!0},i.clearClickCallback=function(){t.clearPropertyValue(i.obj,o,i,null)}},t}return Object(o.__extends)(t,e),t.prototype.getJSON=function(e,t,i){return{type:"linkvalue",showValueInLink:!1,titleLocation:"hidden"}},t.prototype.clearPropertyValue=function(e,t,i,o){e[t.name]=void 0},t.prototype.onUpdateQuestionCssClasses=function(e,t){var i=t.question;if(i&&i.parent){var o=i.parent.elements.indexOf(i);o<1||i.parent.elements[o-1].getType()===i.getType()&&(t.cssClasses.mainRoot+=" spg-row-narrow__question")}},t.prototype.isValueEmpty=function(e){return r.Helpers.isValueEmpty(e)},t}(n.PropertyGridEditor),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"cells"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new a.CellsEditor(e,o)},t.prototype.clearPropertyValue=function(e,t,i,o){e.cells.setJson(null)},t.prototype.isValueEmpty=function(e){return!e||r.Helpers.isValueEmpty(e.values)},t}(d),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"value"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultValueEditor(e,t.name,o)},t}(d),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"rowvalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultMatrixRowValueEditor(e,t.name,o)},t}(d),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"panelvalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){return new s.DefaultPanelDynamicPanelValueEditor(e,t.name,o)},t}(d),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e){return"triggervalue"==e.type},t.prototype.createPropertyEditorSetup=function(e,t,i,o){var r=i.obj,n=this.getSetToNameQuestion(r);return new s.TriggerValueEditor(n,r,t.name,o)},t.prototype.getSetToNameQuestion=function(e){var t=e.getSurvey();return t||(t=e.owner),e.setToName&&t?t.getQuestionByValueName(e.setToName):null},t}(d),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.fit=function(e,t){return"logic"===t&&"triggervalue"==e.type},t.prototype.getJSON=function(e,t,i){var o=this.getSetToNameQuestion(e);if(!o)return{type:"linkvalue"};var r=o.toJSON();return r.type=o.getType(),u.SurveyHelper.updateQuestionJson(r),r},t}(v);n.PropertyGridEditorCollection.register(new p),n.PropertyGridEditorCollection.register(new m),n.PropertyGridEditorCollection.register(new g),n.PropertyGridEditorCollection.register(new h),n.PropertyGridEditorCollection.register(new v),n.PropertyGridEditorCollection.register(new y)},"./src/question-editor/definition.ts":
|
|
501
501
|
/*!*******************************************!*\
|
|
502
502
|
!*** ./src/question-editor/definition.ts ***!
|
|
503
503
|
\*******************************************/
|
|
504
|
-
/*! exports provided: SurveyQuestionEditorDefinition */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyQuestionEditorDefinition",(function(){return o}));var o=function(){function e(){}return e.definition={question:{properties:["name","title","description",{name:"visible"},{name:"isRequired"},{name:"readOnly"},{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"bindings",tab:"logic"},{name:"defaultValueExpression",tab:"logic"},{name:"page",tab:"layout"},{name:"startWithNewLine",tab:"layout"},{name:"hideNumber",tab:"layout"},{name:"state",tab:"layout"},{name:"titleLocation",tab:"layout"},{name:"descriptionLocation",tab:"layout"},{name:"indent",tab:"layout"},{name:"width",tab:"layout"},{name:"minWidth",tab:"layout"},{name:"maxWidth",tab:"layout"},{name:"valueName",tab:"data"},{name:"defaultValue",tab:"data"},{name:"correctAnswer",tab:"data"},{name:"useDisplayValuesInTitle",tab:"data"},{name:"requiredErrorText",tab:"validation"},{name:"validators",tab:"validation"}],tabs:[{name:"logic",index:100},{name:"layout",index:200},{name:"data",index:300},{name:"validation",index:400}]},comment:{properties:[{name:"rows",tab:"layout"},{name:"cols",tab:"layout"},"placeHolder",{name:"maxLength",tab:"validation"},{name:"textUpdateMode",tab:"data"},{name:"autoGrow",tab:"layout"}]},file:{properties:["hasComment","commentText","allowMultiple","allowImagesPreview","acceptedTypes",{name:"showPreview"},{name:"storeDataAsText"},"maxSize","imageHeight","imageWidth","waitForUpload","needConfirmRemoveFile"]},html:{properties:["html"]},matrixdropdownbase:{properties:["cellType","optionsCaption","detailPanelMode","detailPanelShowOnAdding",{name:"showHeader",tab:"layout"},{name:"columnsVisibleIf",tab:"logic"},{name:"columnLayout",tab:"layout"},{name:"horizontalScroll",tab:"layout"},{name:"columnColCount",tab:"layout"},{name:"columnMinWidth",tab:"layout"}],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"choices",index:12}]},matrixdynamic:{properties:["allowAddRows","allowRemoveRows","allowRowsDragAndDrop","rowCount","minRowCount","maxRowCount","addRowLocation","addRowText","removeRowText","confirmDelete","confirmDeleteText",{name:"hideColumnsIfEmpty",tab:"columns"},{name:"emptyRowsText",tab:"columns"},{name:"defaultRowValue",tab:"data"},{name:"defaultValueFromLastRow",tab:"data"},{name:"keyName",tab:"validation"},{name:"keyDuplicationError",tab:"validation"}]},matrixdropdown:{properties:["totalText",{name:"rowsVisibleIf",tab:"logic"},{name:"rowTitleWidth",tab:"layout"},{name:"keyDuplicationError",tab:"validation"}]},matrix:{properties:[{name:"isAllRowRequired",tab:"validation"},{name:"showHeader",tab:"layout"},{name:"rowsOrder",tab:"rows"},{name:"hideIfRowsEmpty",tab:"rows"},{name:"columnsVisibleIf",tab:"logic"},{name:"rowsVisibleIf",tab:"logic"}],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"cells",index:500}]},multipletext:{properties:[{name:"colCount",tab:"layout"},{name:"itemSize",tab:"layout"}],tabs:[{name:"items",index:10}]},rating:{properties:["hasComment","commentText",{name:"rateMin",tab:"rateValues"},{name:"rateMax",tab:"rateValues"},{name:"rateStep",tab:"rateValues"},{name:"minRateDescription",tab:"rateValues"},{name:"maxRateDescription",tab:"rateValues"}],tabs:[{name:"rateValues",index:10}]},selectbase:{properties:["hasComment","commentText",{name:"choicesFromQuestion",tab:"choices"},{name:"choicesFromQuestionMode",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"layout"},{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"otherPlaceHolder",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"},{name:"hideIfChoicesEmpty",tab:"logic"},{name:"choicesVisibleIf",tab:"logic"},{name:"choicesEnableIf",tab:"logic"},{name:"otherErrorText",tab:"validation"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},checkbox:{properties:[{name:"hasSelectAll",tab:"choices"},{name:"selectAllText",tab:"choices"},{name:"maxSelectedChoices",tab:"choices"}]},radiogroup:{properties:[{name:"showClearButton",tab:"choices"}]},dropdown:{properties:["optionsCaption","autoComplete",{name:"choicesMin",tab:"choices"},{name:"choicesMax",tab:"choices"},{name:"choicesStep",tab:"choices"},{name:"showOptionsCaption",tab:"choices"}]},imagepicker:{properties:["multiSelect","showLabel","contentMode","imageFit","imageHeight","imageWidth"]},image:{properties:["imageLink","contentMode","imageFit","imageHeight","imageWidth","text"]},"itemvalue[]@choices":{properties:[{name:"visibleIf"},{name:"enableIf"}],tabs:[{name:"general"}]},"itemvalue[]@rows":{properties:[{name:"visibleIf"}],tabs:[{name:"general"}]},"itemvalue[]@columns":{properties:[{name:"visibleIf"}],tabs:[{name:"general"}]},text:{properties:["inputType","min","max","step","placeHolder","autoComplete","dataList",{name:"minValueExpression",tab:"logic"},{name:"maxValueExpression",tab:"logic"},{name:"size",tab:"layout"},{name:"maxLength",tab:"validation"},{name:"minErrorText",tab:"validation"},{name:"maxErrorText",tab:"validation"},{name:"textUpdateMode",tab:"data"}]},boolean:{properties:["label","labelTrue","labelFalse","showTitle",{name:"valueTrue",tab:"data"},{name:"valueFalse",tab:"data"}]},expression:{properties:["expression","currency","displayStyle","format","maximumFractionDigits","minimumFractionDigits","useGrouping"]},matrixdropdowncolumn:{properties:["name","title"]},"matrixdropdowncolumn@default":{properties:["cellType","name","title","isRequired","readOnly","showInMultipleColumns","width","minWidth",{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"totalType",tab:"totals"},{name:"totalDisplayStyle",tab:"totals"},{name:"totalCurrency",tab:"totals"},{name:"totalFormat",tab:"totals"},{name:"totalExpression",tab:"totals"}],tabs:[{name:"general",index:5},{name:"logic",index:20},{name:"totals",index:40}]},"matrixdropdowncolumn@checkbox":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"choices"},{name:"hasSelectAll",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"},{name:"maxSelectedChoices",tab:"choices"},{name:"selectAllText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@radiogroup":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@dropdown":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"optionsCaption",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@text":{properties:["inputType","min","max","step","placeHolder","maxLength"],tabs:[{name:"validators",index:10}]},"matrixdropdowncolumn@comment":{properties:["rows","placeHolder","maxLength"],tabs:[{name:"validators",index:10}]},"matrixdropdowncolumn@boolean":{properties:["defaultValue","labelTrue","labelFalse","valueTrue","valueFalse"]},"matrixdropdowncolumn@expression":{properties:["displayStyle","currency"],tabs:[{name:"expression",index:10}]},"matrixdropdowncolumn@rating":{properties:["rateValues",{name:"rateMin",tab:"rateValues"},{name:"rateMax",tab:"rateValues"},{name:"rateStep",tab:"rateValues"},{name:"minRateDescription",tab:"rateValues"},{name:"maxRateDescription",tab:"rateValues"}],tabs:[{name:"rateValues",index:5}]},multipletextitem:{properties:["inputType","name","title","isRequired","maxLength","size","placeHolder","requiredErrorText","validators"]},"multipletext@items":{properties:["name","title"]},calculatedvalue:{properties:["name","expression","includeIntoResult"]},"calculatedvalue@items":{properties:["name","expression"]},paneldynamic:{properties:["renderMode","panelCount","minPanelCount","maxPanelCount","panelsState",{name:"allowAddPanel"},{name:"allowRemovePanel"},"panelAddText","panelRemoveText","templateTitle","templateDescription","confirmDelete","confirmDeleteText","panelPrevText","panelNextText","showQuestionNumbers","showRangeInProgress",{name:"defaultPanelValue",tab:"data"},{name:"defaultValueFromLastPanel",tab:"data"},{name:"templateTitleLocation",tab:"layout"},{name:"panelRemoveButtonLocation",tab:"layout"},{name:"keyName",tab:"validation"},{name:"keyDuplicationError",tab:"validation"}]},panelbase:{properties:["name","title","description","visible","readOnly",{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"questionTitleLocation",tab:"layout"}],tabs:[{name:"logic",index:100},{name:"layout",index:200},{name:"data",index:300},{name:"validation",index:400}]},panel:{properties:["isRequired",{name:"requiredErrorText",tab:"validation"},{name:"page",tab:"layout"},{name:"startWithNewLine",tab:"layout"},{name:"state",tab:"layout"},{name:"questionsOrder",tab:"layout"},{name:"indent",tab:"layout"},{name:"innerIndent",tab:"layout"},{name:"width",tab:"layout"},{name:"showNumber",tab:"numbering"},{name:"showQuestionNumbers",tab:"numbering"},{name:"questionStartIndex",tab:"numbering"},{name:"minWidth",tab:"layout"},{name:"maxWidth",tab:"layout"}],tabs:[{name:"numbering",index:350}]},page:{properties:["navigationTitle","navigationDescription","maxTimeToFinish",{name:"questionsOrder",tab:"layout"},{name:"navigationButtonsVisibility",tab:"layout"}]},survey:{properties:["title","description","showTitle","locale","mode","cookieName","widthMode",{name:"showPreviewBeforeComplete",tab:"navigation"},{name:"pagePrevText",tab:"navigation"},{name:"pageNextText",tab:"navigation"},{name:"completeText",tab:"navigation"},{name:"previewText",tab:"navigation"},{name:"editText",tab:"navigation"},{name:"startSurveyText",tab:"navigation"},{name:"showNavigationButtons",tab:"navigation"},{name:"showPrevButton",tab:"navigation"},{name:"firstPageIsStarted",tab:"navigation"},{name:"goNextPageAutomatic",tab:"navigation"},{name:"showProgressBar",tab:"navigation"},{name:"progressBarType",tab:"navigation"},{name:"questionsOnPageMode",tab:"navigation"},{name:"questionTitleLocation",tab:"question"},{name:"questionDescriptionLocation",tab:"question"},{name:"showQuestionNumbers",tab:"question"},{name:"questionTitlePattern",tab:"question"},{name:"requiredText",tab:"question"},{name:"questionStartIndex",tab:"question"},{name:"questionErrorLocation",tab:"question"},{name:"focusFirstQuestionAutomatic",tab:"question"},{name:"questionsOrder",tab:"question"},{name:"maxTextLength",tab:"question"},{name:"maxOthersLength",tab:"question"},{name:"autoGrowComment",tab:"question"},{name:"showPageTitles",tab:"pages"},{name:"showPageNumbers",tab:"pages"},{name:"calculatedValues",tab:"logic"},{name:"triggers",tab:"logic"},{name:"clearInvisibleValues",tab:"data"},{name:"textUpdateMode",tab:"data"},{name:"sendResultOnPageNext",tab:"data"},{name:"storeOthersAsComment",tab:"data"},{name:"focusOnFirstError",tab:"validation"},{name:"checkErrorsMode",tab:"validation"},{name:"navigateToUrl",tab:"showOnCompleted"},{name:"showCompletedPage",tab:"showOnCompleted"},{name:"completedHtml",tab:"showOnCompleted"},{name:"navigateToUrlOnCondition",tab:"showOnCompleted"},{name:"completedHtmlOnCondition",tab:"showOnCompleted"},{name:"loadingHtml",tab:"showOnCompleted"},{name:"completedBeforeHtml",tab:"showOnCompleted"},{name:"maxTimeToFinish",tab:"timer"},{name:"maxTimeToFinishPage",tab:"timer"},{name:"showTimerPanel",tab:"timer"},{name:"showTimerPanelMode",tab:"timer"},{name:"logo",tab:"logo"},{name:"logoPosition",tab:"logo"},{name:"logoWidth",tab:"logo"},{name:"logoHeight",tab:"logo"},{name:"logoFit",tab:"logo"}],tabs:[{name:"navigation",index:100},{name:"question",index:200},{name:"pages",index:250},{name:"logic",index:300},{name:"data",index:400},{name:"validation",index:500},{name:"showOnCompleted",index:600},{name:"timer",index:700}]},"page@survey":{properties:["name","title"]}},e}()},"./src/question-editor/properties.ts":
|
|
504
|
+
/*! exports provided: SurveyQuestionEditorDefinition */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyQuestionEditorDefinition",(function(){return o}));var o=function(){function e(){}return e.definition={question:{properties:["name","title","description",{name:"visible"},{name:"isRequired"},{name:"readOnly"},{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"bindings",tab:"logic"},{name:"defaultValueExpression",tab:"logic"},{name:"page",tab:"layout"},{name:"startWithNewLine",tab:"layout"},{name:"hideNumber",tab:"layout"},{name:"state",tab:"layout"},{name:"titleLocation",tab:"layout"},{name:"descriptionLocation",tab:"layout"},{name:"indent",tab:"layout"},{name:"width",tab:"layout"},{name:"minWidth",tab:"layout"},{name:"maxWidth",tab:"layout"},{name:"valueName",tab:"data"},{name:"defaultValue",tab:"data"},{name:"correctAnswer",tab:"data"},{name:"useDisplayValuesInTitle",tab:"data"},{name:"requiredErrorText",tab:"validation"},{name:"validators",tab:"validation"}],tabs:[{name:"logic",index:100},{name:"layout",index:200},{name:"data",index:300},{name:"validation",index:400}]},comment:{properties:[{name:"rows",tab:"layout"},{name:"cols",tab:"layout"},"placeHolder",{name:"maxLength",tab:"validation"},{name:"textUpdateMode",tab:"data"},{name:"autoGrow",tab:"layout"}]},file:{properties:["hasComment","commentText","commentPlaceHolder","allowMultiple","allowImagesPreview","acceptedTypes",{name:"showPreview"},{name:"storeDataAsText"},"maxSize","imageHeight","imageWidth","waitForUpload","needConfirmRemoveFile"]},html:{properties:["html"]},matrixdropdownbase:{properties:["cellType","optionsCaption","detailPanelMode","detailPanelShowOnAdding",{name:"showHeader",tab:"layout"},{name:"showColumnHeader",tab:"layout"},{name:"columnsVisibleIf",tab:"logic"},{name:"columnLayout",tab:"layout"},{name:"horizontalScroll",tab:"layout"},{name:"columnColCount",tab:"layout"},{name:"columnMinWidth",tab:"layout"}],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"choices",index:12}]},matrixdynamic:{properties:["allowAddRows","allowRemoveRows","allowRowsDragAndDrop","rowCount","minRowCount","maxRowCount","addRowLocation","addRowText","removeRowText","confirmDelete","confirmDeleteText",{name:"hideColumnsIfEmpty",tab:"columns"},{name:"emptyRowsText",tab:"columns"},{name:"defaultRowValue",tab:"data"},{name:"defaultValueFromLastRow",tab:"data"},{name:"keyName",tab:"validation"},{name:"keyDuplicationError",tab:"validation"}]},matrixdropdown:{properties:["totalText",{name:"rowsVisibleIf",tab:"logic"},{name:"rowTitleWidth",tab:"layout"},{name:"keyDuplicationError",tab:"validation"}]},matrix:{properties:[{name:"isAllRowRequired",tab:"validation"},{name:"showHeader",tab:"layout"},{name:"showColumnHeader",tab:"layout"},{name:"rowsOrder",tab:"rows"},{name:"hideIfRowsEmpty",tab:"rows"},{name:"columnsVisibleIf",tab:"logic"},{name:"rowsVisibleIf",tab:"logic"}],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"cells",index:500}]},multipletext:{properties:[{name:"colCount",tab:"layout"},{name:"itemSize",tab:"layout"}],tabs:[{name:"items",index:10}]},rating:{properties:["hasComment","commentText","commentPlaceHolder",{name:"rateMin",tab:"rateValues"},{name:"rateMax",tab:"rateValues"},{name:"rateStep",tab:"rateValues"},{name:"minRateDescription",tab:"rateValues"},{name:"maxRateDescription",tab:"rateValues"}],tabs:[{name:"rateValues",index:10}]},selectbase:{properties:["hasComment","commentText","commentPlaceHolder",{name:"choicesFromQuestion",tab:"choices"},{name:"choicesFromQuestionMode",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"layout"},{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"otherPlaceHolder",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"},{name:"hideIfChoicesEmpty",tab:"logic"},{name:"choicesVisibleIf",tab:"logic"},{name:"choicesEnableIf",tab:"logic"},{name:"otherErrorText",tab:"validation"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},checkbox:{properties:[{name:"hasSelectAll",tab:"choices"},{name:"selectAllText",tab:"choices"},{name:"maxSelectedChoices",tab:"choices"}]},radiogroup:{properties:[{name:"showClearButton",tab:"choices"}]},dropdown:{properties:["optionsCaption","autoComplete",{name:"choicesMin",tab:"choices"},{name:"choicesMax",tab:"choices"},{name:"choicesStep",tab:"choices"},{name:"showOptionsCaption",tab:"choices"}]},imagepicker:{properties:["multiSelect","showLabel","contentMode","imageFit","imageHeight","imageWidth"]},image:{properties:["imageLink","contentMode","imageFit","imageHeight","imageWidth","text"]},"itemvalue[]@choices":{properties:[{name:"visibleIf"},{name:"enableIf"}],tabs:[{name:"general"}]},"itemvalue[]@rows":{properties:[{name:"visibleIf"}],tabs:[{name:"general"}]},"itemvalue[]@columns":{properties:[{name:"visibleIf"}],tabs:[{name:"general"}]},text:{properties:["inputType","min","max","step","placeHolder","autoComplete","dataList",{name:"minValueExpression",tab:"logic"},{name:"maxValueExpression",tab:"logic"},{name:"size",tab:"layout"},{name:"maxLength",tab:"validation"},{name:"minErrorText",tab:"validation"},{name:"maxErrorText",tab:"validation"},{name:"textUpdateMode",tab:"data"}]},boolean:{properties:["label","labelTrue","labelFalse","showTitle",{name:"valueTrue",tab:"data"},{name:"valueFalse",tab:"data"}]},expression:{properties:["expression","currency","displayStyle","format","maximumFractionDigits","minimumFractionDigits","useGrouping"]},matrixdropdowncolumn:{properties:["name","title"]},"matrixdropdowncolumn@default":{properties:["cellType","name","title","isRequired","readOnly","showInMultipleColumns","width","minWidth",{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"totalType",tab:"totals"},{name:"totalDisplayStyle",tab:"totals"},{name:"totalCurrency",tab:"totals"},{name:"totalFormat",tab:"totals"},{name:"totalExpression",tab:"totals"}],tabs:[{name:"general",index:5},{name:"logic",index:20},{name:"totals",index:40}]},"matrixdropdowncolumn@checkbox":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"choices"},{name:"hasSelectAll",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"},{name:"maxSelectedChoices",tab:"choices"},{name:"selectAllText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@radiogroup":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"colCount",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@dropdown":{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},{name:"choicesOrder",tab:"choices"},{name:"optionsCaption",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"}],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"matrixdropdowncolumn@text":{properties:["inputType","min","max","step","placeHolder","maxLength"],tabs:[{name:"validators",index:10}]},"matrixdropdowncolumn@comment":{properties:["rows","placeHolder","maxLength"],tabs:[{name:"validators",index:10}]},"matrixdropdowncolumn@boolean":{properties:["defaultValue","labelTrue","labelFalse","valueTrue","valueFalse"]},"matrixdropdowncolumn@expression":{properties:["displayStyle","currency"],tabs:[{name:"expression",index:10}]},"matrixdropdowncolumn@rating":{properties:["rateValues",{name:"rateMin",tab:"rateValues"},{name:"rateMax",tab:"rateValues"},{name:"rateStep",tab:"rateValues"},{name:"minRateDescription",tab:"rateValues"},{name:"maxRateDescription",tab:"rateValues"}],tabs:[{name:"rateValues",index:5}]},multipletextitem:{properties:["inputType","name","title","isRequired","maxLength","size","placeHolder","requiredErrorText","validators"]},"multipletext@items":{properties:["name","title"]},calculatedvalue:{properties:["name","expression","includeIntoResult"]},"calculatedvalue@items":{properties:["name","expression"]},paneldynamic:{properties:["renderMode","panelCount","minPanelCount","maxPanelCount","panelsState",{name:"allowAddPanel"},{name:"allowRemovePanel"},"panelAddText","panelRemoveText","templateTitle","templateDescription","confirmDelete","confirmDeleteText","panelPrevText","panelNextText","showQuestionNumbers","showRangeInProgress",{name:"defaultPanelValue",tab:"data"},{name:"defaultValueFromLastPanel",tab:"data"},{name:"templateTitleLocation",tab:"layout"},{name:"panelRemoveButtonLocation",tab:"layout"},{name:"keyName",tab:"validation"},{name:"keyDuplicationError",tab:"validation"}]},panelbase:{properties:["name","title","description","visible","readOnly",{name:"visibleIf",tab:"logic"},{name:"enableIf",tab:"logic"},{name:"requiredIf",tab:"logic"},{name:"questionTitleLocation",tab:"layout"}],tabs:[{name:"logic",index:100},{name:"layout",index:200},{name:"data",index:300},{name:"validation",index:400}]},panel:{properties:["isRequired",{name:"requiredErrorText",tab:"validation"},{name:"page",tab:"layout"},{name:"startWithNewLine",tab:"layout"},{name:"state",tab:"layout"},{name:"questionsOrder",tab:"layout"},{name:"indent",tab:"layout"},{name:"innerIndent",tab:"layout"},{name:"width",tab:"layout"},{name:"showNumber",tab:"numbering"},{name:"showQuestionNumbers",tab:"numbering"},{name:"questionStartIndex",tab:"numbering"},{name:"minWidth",tab:"layout"},{name:"maxWidth",tab:"layout"}],tabs:[{name:"numbering",index:350}]},page:{properties:["navigationTitle","navigationDescription","maxTimeToFinish",{name:"questionsOrder",tab:"layout"},{name:"navigationButtonsVisibility",tab:"layout"}]},survey:{properties:["title","description","showTitle","locale","mode","cookieName","widthMode",{name:"showPreviewBeforeComplete",tab:"navigation"},{name:"pagePrevText",tab:"navigation"},{name:"pageNextText",tab:"navigation"},{name:"completeText",tab:"navigation"},{name:"previewText",tab:"navigation"},{name:"editText",tab:"navigation"},{name:"startSurveyText",tab:"navigation"},{name:"showNavigationButtons",tab:"navigation"},{name:"showPrevButton",tab:"navigation"},{name:"firstPageIsStarted",tab:"navigation"},{name:"goNextPageAutomatic",tab:"navigation"},{name:"showProgressBar",tab:"navigation"},{name:"progressBarType",tab:"navigation"},{name:"questionsOnPageMode",tab:"navigation"},{name:"questionTitleLocation",tab:"question"},{name:"questionDescriptionLocation",tab:"question"},{name:"showQuestionNumbers",tab:"question"},{name:"questionTitlePattern",tab:"question"},{name:"requiredText",tab:"question"},{name:"questionStartIndex",tab:"question"},{name:"questionErrorLocation",tab:"question"},{name:"focusFirstQuestionAutomatic",tab:"question"},{name:"questionsOrder",tab:"question"},{name:"maxTextLength",tab:"question"},{name:"maxOthersLength",tab:"question"},{name:"autoGrowComment",tab:"question"},{name:"showPageTitles",tab:"pages"},{name:"showPageNumbers",tab:"pages"},{name:"calculatedValues",tab:"logic"},{name:"triggers",tab:"logic"},{name:"clearInvisibleValues",tab:"data"},{name:"textUpdateMode",tab:"data"},{name:"sendResultOnPageNext",tab:"data"},{name:"storeOthersAsComment",tab:"data"},{name:"focusOnFirstError",tab:"validation"},{name:"checkErrorsMode",tab:"validation"},{name:"navigateToUrl",tab:"showOnCompleted"},{name:"showCompletedPage",tab:"showOnCompleted"},{name:"completedHtml",tab:"showOnCompleted"},{name:"navigateToUrlOnCondition",tab:"showOnCompleted"},{name:"completedHtmlOnCondition",tab:"showOnCompleted"},{name:"loadingHtml",tab:"showOnCompleted"},{name:"completedBeforeHtml",tab:"showOnCompleted"},{name:"maxTimeToFinish",tab:"timer"},{name:"maxTimeToFinishPage",tab:"timer"},{name:"showTimerPanel",tab:"timer"},{name:"showTimerPanelMode",tab:"timer"},{name:"logo",tab:"logo"},{name:"logoPosition",tab:"logo"},{name:"logoWidth",tab:"logo"},{name:"logoHeight",tab:"logo"},{name:"logoFit",tab:"logo"}],tabs:[{name:"navigation",index:100},{name:"question",index:200},{name:"pages",index:250},{name:"logic",index:300},{name:"data",index:400},{name:"validation",index:500},{name:"showOnCompleted",index:600},{name:"timer",index:700}]},"page@survey":{properties:["name","title"]}},e}()},"./src/question-editor/properties.ts":
|
|
505
505
|
/*!*******************************************!*\
|
|
506
506
|
!*** ./src/question-editor/properties.ts ***!
|
|
507
507
|
\*******************************************/
|
|
508
|
-
/*! exports provided: SurveyQuestionEditorPropertyDefinition, SurveyQuestionEditorTabDefinition, SurveyQuestionProperties */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyQuestionEditorPropertyDefinition",(function(){return s})),i.d(t,"SurveyQuestionEditorTabDefinition",(function(){return l})),i.d(t,"SurveyQuestionProperties",(function(){return u}));var o=i(/*! ./definition */"./src/question-editor/definition.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../survey-helper */"./src/survey-helper.ts"),a=i(/*! ../settings */"./src/settings.ts"),s=function(){function e(){}return Object.defineProperty(e.prototype,"name",{get:function(){return this.property?this.property.name:""},enumerable:!1,configurable:!0}),e}(),l=function(){this.visible=!0,this.index=0,this.properties=[]},u=function(){function e(e,t,i,o,n,a){void 0===t&&(t=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===n&&(n=null),void 0===a&&(a=null),this.obj=e,this.options=t,this.parentObj=n,this.parentProperty=a,this.tabs=[],this.showModeValue=o,this.properties=r.Serializer.getPropertiesByObj(this.obj),this.fillPropertiesHash(),this.buildTabs(i)}return e.prototype.getProperty=function(e){var t=this.propertiesHash[e];return t&&t.visible?t.property:null},Object.defineProperty(e.prototype,"showMode",{get:function(){return this.showModeValue?this.showModeValue:"form"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){for(var e=0;e<this.tabs.length;e++)if(this.tabs[e].visible&&this.tabs[e].properties.length>0)return!1;return!0},enumerable:!1,configurable:!0}),e.prototype.fillPropertiesHash=function(){this.propertiesHash={};for(var e=0;e<this.properties.length;e++){var t=this.properties[e];this.propertiesHash[t.name]={property:t,visible:n.SurveyHelper.isPropertyVisible(this.obj,t,this.options,this.showMode,this.parentObj,this.parentProperty)}}},e.prototype.isJSONPropertyVisible=function(e){var t=this.propertiesHash[e.name];return!!t&&t.visible},e.prototype.getTabByName=function(e){for(var t=0;t<this.tabs.length;t++)if(this.tabs[t].name==e)return this.tabs[t];return null},e.prototype.getTabs=function(){return this.tabs},e.prototype.getProperties=function(e){for(var t=[],i=0;i<e.properties.length;i++)t.push(e.properties[i].property);return t},e.prototype.buildTabs=function(e){e||(e=this.obj.getType());for(var t=this.getAllDefinitionsByClass(e),i=[],o=t.length-1;o>=0;o--){for(var r=t[o],n=r.tabs?r.tabs.length-1:-1;n>=0;n--)i.indexOf(r.tabs[n].name)>-1||this.addPropertyIntoTab(r.tabs[n],!0)&&i.push(r.tabs[n].name);for(n=r.properties?r.properties.length-1:-1;n>=0;n--){var a=r.properties[n].name||r.properties[n];-1===i.indexOf(a)&&(i.push(a),this.addPropertyIntoTab(r.properties[n]))}}for(o=this.tabs.length-1;o>=0;o--)this.movePropertiesToNextProperties(this.tabs[o].properties),this.tabs[o].visible?this.sortProperties(this.tabs[o].properties):this.tabs.splice(o,1);this.tabs.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}))},e.prototype.addPropertyIntoTab=function(e,t){if(void 0===t&&(t=!1),t){var i=this.getTabOrCreate(e.name);e.index>0&&(i.index=e.index),!1===e.visible&&(i.visible=!1),e.title&&(i.title=e.title)}var o="string"==typeof e,r=o?e:e.name,n=this.propertiesHash[r];if(!n)return!1;if(!o&&!1===e.visible)return!1;if(!n.visible&&(o||!o&&!0!==e.visible))return!1;var l=t?e.name:a.settings.propertyGrid.generalTabName;t||o||!e.tab||(l=e.tab);var u=new s;return u.property=n.property,u.category=!o&&e.category?e.category:"",u.title=!o&&e.title?e.title:"",u.createdFromTabName=t,this.getTabOrCreate(l).properties.unshift(u),!0},e.prototype.movePropertiesToNextProperties=function(e){for(var t=[].concat(e),i=0;i<t.length;i++){var o=this.
|
|
508
|
+
/*! exports provided: SurveyQuestionEditorPropertyDefinition, SurveyQuestionEditorTabDefinition, SurveyQuestionProperties */function(e,t,i){"use strict";i.r(t),i.d(t,"SurveyQuestionEditorPropertyDefinition",(function(){return s})),i.d(t,"SurveyQuestionEditorTabDefinition",(function(){return l})),i.d(t,"SurveyQuestionProperties",(function(){return u}));var o=i(/*! ./definition */"./src/question-editor/definition.ts"),r=i(/*! survey-core */"survey-core"),n=i(/*! ../survey-helper */"./src/survey-helper.ts"),a=i(/*! ../settings */"./src/settings.ts"),s=function(){function e(){}return Object.defineProperty(e.prototype,"name",{get:function(){return this.property?this.property.name:""},enumerable:!1,configurable:!0}),e}(),l=function(){this.visible=!0,this.index=0,this.properties=[]},u=function(){function e(e,t,i,o,n,a){void 0===t&&(t=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===n&&(n=null),void 0===a&&(a=null),this.obj=e,this.options=t,this.parentObj=n,this.parentProperty=a,this.tabs=[],this.showModeValue=o,this.properties=r.Serializer.getPropertiesByObj(this.obj),this.fillPropertiesHash(),this.buildTabs(i)}return e.prototype.getProperty=function(e){var t=this.propertiesHash[e];return t&&t.visible?t.property:null},Object.defineProperty(e.prototype,"showMode",{get:function(){return this.showModeValue?this.showModeValue:"form"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){for(var e=0;e<this.tabs.length;e++)if(this.tabs[e].visible&&this.tabs[e].properties.length>0)return!1;return!0},enumerable:!1,configurable:!0}),e.prototype.fillPropertiesHash=function(){this.propertiesHash={};for(var e=0;e<this.properties.length;e++){var t=this.properties[e];this.propertiesHash[t.name]={property:t,visible:n.SurveyHelper.isPropertyVisible(this.obj,t,this.options,this.showMode,this.parentObj,this.parentProperty)}}},e.prototype.isJSONPropertyVisible=function(e){var t=this.propertiesHash[e.name];return!!t&&t.visible},e.prototype.getTabByName=function(e){for(var t=0;t<this.tabs.length;t++)if(this.tabs[t].name==e)return this.tabs[t];return null},e.prototype.getTabs=function(){return this.tabs},e.prototype.getProperties=function(e){for(var t=[],i=0;i<e.properties.length;i++)t.push(e.properties[i].property);return t},e.prototype.buildTabs=function(e){e||(e=this.obj.getType());for(var t=this.getAllDefinitionsByClass(e),i=[],o=t.length-1;o>=0;o--){for(var r=t[o],n=r.tabs?r.tabs.length-1:-1;n>=0;n--)i.indexOf(r.tabs[n].name)>-1||this.addPropertyIntoTab(r.tabs[n],!0)&&i.push(r.tabs[n].name);for(n=r.properties?r.properties.length-1:-1;n>=0;n--){var a=r.properties[n].name||r.properties[n];-1===i.indexOf(a)&&(i.push(a),this.addPropertyIntoTab(r.properties[n]))}}for(o=this.tabs.length-1;o>=0;o--)this.movePropertiesToNextProperties(this.tabs[o].properties),this.tabs[o].visible?this.sortProperties(this.tabs[o].properties):this.tabs.splice(o,1);this.tabs.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}))},e.prototype.addPropertyIntoTab=function(e,t){if(void 0===t&&(t=!1),t){var i=this.getTabOrCreate(e.name);e.index>0&&(i.index=e.index),!1===e.visible&&(i.visible=!1),e.title&&(i.title=e.title)}var o="string"==typeof e,r=o?e:e.name,n=this.propertiesHash[r];if(!n)return!1;if(!o&&!1===e.visible)return!1;if(!n.visible&&(o||!o&&!0!==e.visible))return!1;var l=t?e.name:a.settings.propertyGrid.generalTabName;t||o||!e.tab||(l=e.tab);var u=new s;return u.property=n.property,u.category=!o&&e.category?e.category:"",u.title=!o&&e.title?e.title:"",u.onSameLine=this.isPropertyOnSameLine(n.property.nextToProperty),u.createdFromTabName=t,this.getTabOrCreate(l).properties.unshift(u),!0},e.prototype.movePropertiesToNextProperties=function(e){for(var t=[].concat(e),i=0;i<t.length;i++){var o=this.getNextToNameProperty(t[i].property),r=this.getTabByPropertyName(o);if(r){var n=this.getPropertyByNameInTab(r,o),a=r.properties.indexOf(n);r.properties.splice(a+1,0,t[i]),e.splice(e.indexOf(t[i]),1)}}},e.prototype.getTabByPropertyName=function(e){if(!e)return null;this.isPropertyOnSameLine(e)&&(e=e.substr(1));for(var t=0;t<this.tabs.length;t++)if(this.getPropertyByNameInTab(this.tabs[t],e))return this.tabs[t];return null},e.prototype.getNextToNameProperty=function(e){return e.nextToProperty?this.isPropertyOnSameLine(e.nextToProperty)?e.nextToProperty.substr(1):e.nextToProperty:""},e.prototype.isPropertyOnSameLine=function(e){return!!e&&"*"===e[0]},e.prototype.getPropertyByNameInTab=function(e,t){for(var i=e.properties,o=0;o<i.length;o++)if(i[o].name==t)return i[o];return null},e.prototype.getTabOrCreate=function(e){for(var t=0;t<this.tabs.length;t++)if(this.tabs[t].name==e)return this.tabs[t];var i=new l;return i.name=e,e==a.settings.propertyGrid.generalTabName&&(i.index=-1),this.tabs.unshift(i),i},e.prototype.getAllDefinitionsByClass=function(e){var t=[];if(e.indexOf("@")>-1&&o.SurveyQuestionEditorDefinition.definition[e]){var i=e.substring(0,e.indexOf("@")+1)+"default";return i!=e&&o.SurveyQuestionEditorDefinition.definition[i]&&t.push(o.SurveyQuestionEditorDefinition.definition[i]),t.push(o.SurveyQuestionEditorDefinition.definition[e]),t}for(var n=e,s={},l=!1;n;){var u=r.Serializer.findClass(n);if(!u)break;var c=o.SurveyQuestionEditorDefinition.definition[u.name];if(c){if(c.properties)for(var d=0;d<c.properties.length;){var p=c.properties[d],m="string"==typeof p?p:p.name,g=a.settings.propertyGrid.generalTabName;"string"!=typeof p&&p.tab&&(g=p.tab);var h=this.propertiesHash[m]?this.propertiesHash[m].property:null,v=this.getJsonPropertyCategory(h);v&&v!==g?c.properties.splice(d,1):(s[m]=!0,d++)}if(c.tabs)for(d=0;d<c.tabs.length;d++)l=l||"others"==c.tabs[d].name,s[c.tabs[d].name]=!0;t.unshift(c)}n=u.parentName}return l||this.addNonTabProperties(t,s),t},e.prototype.getJsonPropertyCategory=function(e){return e&&e.category?e.category:null},e.prototype.addNonTabProperties=function(e,t){for(var i={properties:[],tabs:[]},o=[],r=0;r<this.properties.length;r++){var n=this.properties[r];if(this.isJSONPropertyVisible(n)&&!t[n.name]){var s=this.getJsonPropertyCategory(n),l=s||(0==e.length?a.settings.propertyGrid.generalTabName:"others");if(o.indexOf(l)<0&&l!=a.settings.propertyGrid.generalTabName&&(o.push(l),i.tabs.push({name:l,index:"others"==l?1e3:10*o.length})),n.categoryIndex>-1&&o.indexOf(l)>-1)for(var u=0;u<i.tabs.length;u++)i.tabs[u].name==l&&(i.tabs[u].index=n.categoryIndex);i.properties.push({name:this.properties[r].name,tab:l})}}i.properties.length>0&&e.push(i)},e.prototype.sortProperties=function(e){if(Array.isArray(e))for(var t=[].concat(e),i=0;i<t.length;i++){var o=t[i].property.visibleIndex;if(t[i].createdFromTabName&&(o=0),!(o<0)){var r=e.indexOf(t[i]);r>-1&&e.splice(r,1),o<e.length?e.splice(o,0,t[i]):e.push(t[i])}}},e}()},"./src/questionconverter.ts":
|
|
509
509
|
/*!**********************************!*\
|
|
510
510
|
!*** ./src/questionconverter.ts ***!
|
|
511
511
|
\**********************************/
|
|
@@ -573,4 +573,4 @@ License: MIT
|
|
|
573
573
|
/*!*********************************************************************************************************!*\
|
|
574
574
|
!*** external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"} ***!
|
|
575
575
|
\*********************************************************************************************************/
|
|
576
|
-
/*! no static exports found */function(t,i){t.exports=e}})},e.exports=o(i(3))},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t,i){},function(e,t,i){"use strict";i.r(t),i.d(t,"Version",(function(){return ae})),i.d(t,"SurveyCreatorComponent",(function(){return y})),i.d(t,"DesignTimeSurveyModel",(function(){return f})),i.d(t,"SurveyCreator",(function(){return b})),i.d(t,"LogoImageComponent",(function(){return x})),i.d(t,"RowWrapper",(function(){return w})),i.d(t,"QuestionAdornerComponent",(function(){return S})),i.d(t,"QuestionDropdownAdornerComponent",(function(){return P})),i.d(t,"QuestionImageAdornerComponent",(function(){return E})),i.d(t,"SurveyQuestionLinkValue",(function(){return C})),i.d(t,"SurveyElementEmbeddedSurvey",(function(){return N})),i.d(t,"QuestionRatingAdornerComponent",(function(){return O})),i.d(t,"QuestionWidgetAdornerComponent",(function(){return _})),i.d(t,"CellQuestionAdornerComponent",(function(){return A})),i.d(t,"CellQuestionDropdownAdornerComponent",(function(){return j})),i.d(t,"QuestionEditorContentComponent",(function(){return V})),i.d(t,"ItemValueAdornerComponent",(function(){return I})),i.d(t,"ImageItemValueAdornerComponent",(function(){return z})),i.d(t,"MatrixCellAdornerComponent",(function(){return M})),i.d(t,"SurveyResults",(function(){return q})),i.d(t,"TabDesignerComponent",(function(){return H})),i.d(t,"TabEmbedComponent",(function(){return F})),i.d(t,"TabJsonEditorAceComponent",(function(){return Q})),i.d(t,"TabJsonEditorTextareaComponent",(function(){return U})),i.d(t,"TabLogicAddButtonComponent",(function(){return G})),i.d(t,"TabLogicComponent",(function(){return J})),i.d(t,"TabPreviewSurveyComponent",(function(){return K})),i.d(t,"TabTranslationComponent",(function(){return Z})),i.d(t,"SurveySimulator",(function(){return W})),i.d(t,"SurveyCreatorToolboxTool",(function(){return Y})),i.d(t,"SurveyCreatorToolboxItem",(function(){return X})),i.d(t,"Toolbox",(function(){return $})),i.d(t,"AdaptiveToolbox",(function(){return ee})),i.d(t,"TabbedMenuComponent",(function(){return d})),i.d(t,"TabbedMenuItemComponent",(function(){return m})),i.d(t,"NotifierComponent",(function(){return h})),i.d(t,"SurveyNavigation",(function(){return B})),i.d(t,"SideBarComponent",(function(){return te})),i.d(t,"ReactMouseEvent",(function(){return T})),i.d(t,"ReactDragEvent",(function(){return k})),i.d(t,"PropertyGridComponent",(function(){return re})),i.d(t,"TranslationLineSkeleton",(function(){return ne})),i.d(t,"ActionButton",(function(){return se})),i.d(t,"editorLocalization",(function(){return u.editorLocalization})),i.d(t,"localization",(function(){return u.editorLocalization})),i.d(t,"settings",(function(){return u.settings})),i.d(t,"svgBundle",(function(){return u.svgBundle})),i.d(t,"SurveyLogic",(function(){return u.SurveyLogic})),i.d(t,"SurveyLogicUI",(function(){return u.SurveyLogicUI})),i.d(t,"SurveyQuestionEditorDefinition",(function(){return u.SurveyQuestionEditorDefinition})),i.d(t,"ToolboxToolViewModel",(function(){return u.ToolboxToolViewModel})),i.d(t,"PropertyGridEditorCollection",(function(){return u.PropertyGridEditorCollection})),i.d(t,"StylesManager",(function(){return u.StylesManager}));i(5),Object.assign;function o(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var r=i(0),n=i.n(r),a=i(4),s=i.n(a),l=i(1),u=i(2),c=i(3),d=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e=this.model.renderedActions.map((function(e){return n.a.createElement(p,{item:e,key:e.id})}));return n.a.createElement("div",{ref:this.rootRef,className:"svc-tabbed-menu"},e)},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.rootRef.current;t&&(this.manager=new c.ResponsivityManager(t,this.model,".svc-tabbed-menu-item-container:not(.sv-dots)>.sv-action__content"))},t.prototype.componentWillUnmount=function(){this.manager&&this.manager.dispose(),e.prototype.componentWillUnmount.call(this)},t}(l.SurveyElementBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){var e="svc-tabbed-menu-item-container";this.item.css&&(e+=" "+this.item.css),e+=this.item.isVisible?"":" sv-action--hidden";var t=l.ReactElementFactory.Instance.createElement(this.item.component||"svc-tabbed-menu-item",{item:this.item});return n.a.createElement("span",{key:this.item.id,className:e},n.a.createElement("div",{className:"sv-action__content"},t))},t}(l.SurveyElementBase),m=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this.item,t="svc-tabbed-menu-item";e.active&&(t+=" svc-tabbed-menu-item--selected"),void 0===e.enabled||e.enabled||(t+=" svc-tabbed-menu-item--disabled");var i="svc-text svc-tabbed-menu-item__text svc-text--normal";return e.active&&(i+=" svc-text--bold"),Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.action(e)}},n.a.createElement("span",{className:i},e.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tabbed-menu-item",(function(e){return n.a.createElement(m,e)}));var g=function(e){function t(t){var i=e.call(this,t)||this;return i.blurredByEscape=!1,i.onInput=function(e){return i.baseModel.onInput(e.nativeEvent),i.baseModel.errorText},i.onFocus=function(e){i.baseModel.onFocus(e.nativeEvent)},i.onKeyDown=function(e){return i.baseModel.onKeyDown(e.nativeEvent)},i.done=function(e){i.baseModel.done(e),i.locString.__isEditing=!1},i.edit=function(e){i.svStringEditorRef.current.focus(),i.locString.__isEditing=!0,i.baseModel.onClick(e)},i.state={changed:0},i.baseModel=new u.StringEditorViewModelBase(i.locString,i.creator),i.svStringEditorRef=n.a.createRef(),i.baseModel.blurEditor=function(){i.svStringEditorRef.current.blur()},i}return o(t,e),Object.defineProperty(t.prototype,"locString",{get:function(){return this.props.locStr.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.locStr.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.baseModel},Object.defineProperty(t.prototype,"errorText",{get:function(){return this.baseModel.errorText},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.locString){var e=this;this.locString.onChanged=function(){e.setState({changed:e.state.changed+1})},this.locString.__isEditing&&this.svStringEditorRef.current.focus()}},t.prototype.componentWillUnmount=function(){this.locString&&(this.locString.onChanged=function(){})},Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.baseModel.placeholder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentEditable",{get:function(){return this.baseModel.contentEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.baseModel.className(this.locString.renderedHtml)},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.locString)return null;this.baseModel.setLocString(this.locString);var e=null;if(this.locString.hasHtml){var t={__html:this.locString.renderedHtml};e=n.a.createElement("span",{ref:this.svStringEditorRef,className:"sv-string-editor",contentEditable:this.contentEditable,"aria-placeholder":this.placeholder,suppressContentEditableWarning:!0,dangerouslySetInnerHTML:t,onBlur:this.onInput,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onClick:this.edit})}else e=n.a.createElement("span",{ref:this.svStringEditorRef,className:"sv-string-editor",contentEditable:this.contentEditable,"aria-placeholder":this.placeholder,suppressContentEditableWarning:!0,onBlur:this.onInput,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onClick:this.edit},this.locString.renderedHtml);return n.a.createElement("span",{className:this.className},n.a.createElement("span",{className:"svc-string-editor__content"},n.a.createElement("div",{className:"svc-string-editor__border",onClick:this.edit},n.a.createElement(l.SvgIcon,{className:"svc-string-editor__button svc-string-editor__button--edit",size:16,iconName:"icon-edit"})),e,n.a.createElement("div",{className:"svc-string-editor__controls",onClick:this.edit})),this.errorText?n.a.createElement("span",{className:"svc-string-editor__error"},this.errorText):"")},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-string-editor",(function(e){return n.a.createElement(g,e)}));var h=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.notifier},t.prototype.renderElement=function(){return this.notifier.active?n.a.createElement("div",{className:this.notifier.css},n.a.createElement("span",null,this.notifier.message)):null},t}(l.SurveyElementBase),v=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i}return o(t,e),t.prototype.componentDidMount=function(){this.containerRef.current.innerHTML=u.svgBundle},t.prototype.componentWillUnmount=function(){},t.prototype.render=function(){return n.a.createElement("div",{ref:this.containerRef})},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-svg-bundle",(function(e){return n.a.createElement(v,e)}));var y=function(e){function t(t){var i=e.call(this,t)||this;return i.rootNode=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.props.creator},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.creator.initKeyboardShortcuts(this.rootNode.current),this.creator.initResponsivityManager(this.rootNode.current)},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.creator.removeKeyboardShortcuts(this.rootNode.current),this.creator.resetResponsivityManager()},t.prototype.renderElement=function(){var e=this.props.creator,t="svc-creator"+(this.props.creator.isMobileView?" svc-creator--mobile":""),i="svc-creator__content-wrapper svc-flex-row"+(this.props.creator.isMobileView?" svc-creator__content-wrapper--footer-toolbar":""),o="svc-flex-row svc-full-container svc-creator__side-bar--"+this.creator.sideBarLocation,r=null;return this.props.creator.haveCommercialLicense||(r=n.a.createElement("div",{className:"svc-creator__banner"},n.a.createElement("span",{className:"svc-creator__non-commercial-text"},n.a.createElement("a",{href:"https://surveyjs.io/buy"},this.props.creator.licenseText)))),n.a.createElement("div",{className:t,ref:this.rootNode},n.a.createElement(v,null),n.a.createElement("div",{className:"svc-full-container svc-creator__area svc-flex-column"},n.a.createElement("div",{className:o},n.a.createElement("div",{className:"svc-flex-column svc-flex-row__element svc-flex-row__element--growing"},n.a.createElement("div",{className:"svc-top-bar"},e.showTabs?n.a.createElement("div",{className:"svc-tabbed-menu-wrapper"},n.a.createElement(d,{model:e.tabbedMenu})):null,e.showToolbar?n.a.createElement("div",{className:"svc-toolbar-wrapper"},n.a.createElement(l.SurveyActionBar,{model:e.toolbar})):null),n.a.createElement("div",{className:i},n.a.createElement("div",{className:"svc-creator__content-holder svc-flex-column"},this.renderActiveTab())),n.a.createElement("div",{className:"svc-footer-bar"},e.isMobileView?n.a.createElement("div",{className:"svc-toolbar-wrapper"},n.a.createElement(l.SurveyActionBar,{model:e.footerToolbar})):null)),this.renderSideBar()),r,n.a.createElement(h,{creator:e,notifier:e.notifier})))},t.prototype.renderActiveTab=function(){for(var e=this.props.creator,t=0;t<e.tabs.length;t++)if(e.tabs[t].id===e.activeTab)return this.renderCreatorTab(e.tabs[t]);return null},t.prototype.renderCreatorTab=function(e){if(!1===e.visible)return null;var t=this.props.creator,i=e.renderTab?e.renderTab():l.ReactElementFactory.Instance.createElement(e.componentContent,{creator:t,survey:t.survey,data:e.data.model}),o="svc-creator-tab"+("right"==t.toolboxLocation?" svc-creator__toolbox--right":"");return n.a.createElement("div",{key:e.id,id:"scrollableDiv-"+e.id,className:o},i)},t.prototype.renderSideBar=function(){if(this.creator.sideBar){var e=this.creator.isMobileView?"sv-mobile-side-bar":"";return n.a.createElement("div",{className:e},l.ReactElementFactory.Instance.createElement("svc-side-bar",{model:this.creator.sideBar}))}return null},t}(l.SurveyElementBase),f=function(e){function t(t,i){var o=e.call(this,i)||this;return o.creator=t,o.isPopupEditorContent=!1,o}return o(t,e),t.prototype.getElementWrapperComponentName=function(t,i){return Object(u.getElementWrapperComponentName)(t,i,this.isPopupEditorContent)||e.prototype.getElementWrapperComponentName.call(this,t,i)},t.prototype.getElementWrapperComponentData=function(t,i){return Object(u.getElementWrapperComponentData)(t,i,this.creator)||e.prototype.getElementWrapperComponentData.call(this,t)},t.prototype.getRowWrapperComponentName=function(e){return"svc-row"},t.prototype.getRowWrapperComponentData=function(e){return{creator:this.creator,row:e}},t.prototype.getItemValueWrapperComponentName=function(e,t){return Object(u.getItemValueWrapperComponentName)(e,t)},t.prototype.getItemValueWrapperComponentData=function(e,t){return Object(u.getItemValueWrapperComponentData)(e,t,this.creator)},t.prototype.getRendererForString=function(e,t){if(!this.creator.readOnly&&Object(u.isStringEditable)(e,t))return"svc-string-editor"},t.prototype.getRendererContextForString=function(e,t){var i=t;return!this.creator.readOnly&&Object(u.isStringEditable)(e,t.name)?{creator:this.creator,element:e,locStr:t}:i},t}(l.Model),b=function(e){function t(t,i){return void 0===t&&(t={}),e.call(this,t,i)||this}return o(t,e),t.prototype.createSurveyCore=function(e,t){return void 0===e&&(e={}),"designer"===t||"modal-question-editor"===t?new f(this,e):new l.Model(e)},t.prototype.render=function(e){var t=e;"string"==typeof e&&(t=document.getElementById(e)),s.a.unmountComponentAtNode(t),s.a.render(n.a.createElement(n.a.StrictMode,null,n.a.createElement(y,{creator:this})),t)},t.prototype.createQuestionElement=function(e){return l.ReactQuestionFactory.Instance.createQuestion(e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isReadOnly,creator:this})},t.prototype.renderError=function(e,t,i){return n.a.createElement("div",{key:e},n.a.createElement("span",{className:i.error.icon,"aria-hidden":"true"}),n.a.createElement("span",{className:i.error.item},n.a.createElement(l.SurveyLocStringViewer,{locStr:t.locText})))},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t}(u.CreatorBase);l.ReactElementFactory.Instance.registerElement("survey-widget",(function(e){return n.a.createElement(l.Survey,e)}));var x=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.LogoImageViewModel(t.data,null),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.root=this.rootRef.current},t.prototype.render=function(){var e=this,t=null;return t=this.model.survey.locLogo.renderedHtml?n.a.createElement(n.a.Fragment,null,n.a.createElement(l.LogoImage,{data:this.props.data.survey}),this.model.allowEdit?n.a.createElement("div",{className:"svc-image-item-value-controls"},Object(l.attachKey2click)(n.a.createElement(l.SvgIcon,{className:"svc-image-item-value-controls__button svc-image-item-value-controls__choose-file",size:24,iconName:"icon-file",onClick:function(){return e.model.chooseFile(e.model)}})),Object(l.attachKey2click)(n.a.createElement(l.SvgIcon,{className:"svc-image-item-value-controls__button svc-image-item-value-controls__remove",size:24,iconName:"icon-delete",onClick:function(){return e.model.remove(e.model)}}))):null):this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-logo-image-placeholder",onClick:function(){return e.model.chooseFile(e.model)}},this.model.chooseLogoPlaceholder)):null,n.a.createElement("div",{ref:this.rootRef,className:"svc-logo-image"},n.a.createElement("input",{"aria-hidden":"true",type:"file",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input"}),t)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-logo-image",(function(e){return n.a.createElement(x,e)}));var w=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.RowViewModel(i.props.componentData.creator,i.props.row,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){return n.a.createElement("div",{key:"svc-row-"+this.props.row.id,className:this.model.cssClasses},this.props.element)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-row",(function(e){return n.a.createElement(w,e)}));var T=function(){function e(e){this.event=e}return e.prototype.stopPropagation=function(){this.event.stopPropagation()},e.prototype.preventDefault=function(){this.event.preventDefault()},Object.defineProperty(e.prototype,"cancelBubble",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return this.event.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTarget",{get:function(){return this.event.currentTarget},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientX",{get:function(){return this.event.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientY",{get:function(){return this.event.clientY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.event.nativeEvent.offsetX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.event.nativeEvent.offsetY},enumerable:!1,configurable:!0}),e}(),k=function(e){function t(t){var i=e.call(this,t)||this;return i.event=t,i}return o(t,e),Object.defineProperty(t.prototype,"dataTransfer",{get:function(){return this.event.dataTransfer},enumerable:!1,configurable:!0}),t}(T),S=function(e){function t(t){var i=e.call(this,t)||this;return i.modelValue=i.createQuestionViewModel(),i}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"model",{get:function(){return this.modelValue},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.canRender=function(){return e.prototype.canRender.call(this)&&!this.model.isDragged},t.prototype.renderElement=function(){var e=this.model.surveyElement.isInteractiveDesignElement,t=this.renderContent(e);return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{"data-sv-drop-target-survey-element":this.model.surveyElement.name,ref:this.rootRef,className:"svc-question__adorner"+this.model.rootCss(),onMouseOut:function(t){return e&&Object(u.toggleHovered)(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e&&Object(u.toggleHovered)(t.nativeEvent,t.currentTarget)}},t))},t.prototype.renderContent=function(e){var t=this,i=this.renderElementContent();return e?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-question__content "+this.model.css(),onClick:function(e){return t.model.select(t.model,new T(e))}},this.renderContentOnTop(),this.renderDragAria(),i,!this.model.isEmptyElement&&this.model.surveyElement.isPanel&&this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-panel__add-new-question",onClick:function(e){e.stopPropagation(),t.model.addNewQuestion()}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText),Object(l.attachKey2click)(n.a.createElement("button",{type:"button",onClick:function(e){e.stopPropagation(),t.model.questionTypeSelectorModel.action()},className:"svc-panel__question-type-selector",title:this.model.addNewQuestionText},n.a.createElement("span",{className:"svc-panel__question-type-selector-icon"},n.a.createElement(l.SvgIcon,{iconName:this.model.questionTypeSelectorModel.iconName,size:24})),n.a.createElement(l.Popup,{model:this.model.questionTypeSelectorModel.popupModel}))))):null,n.a.createElement("div",{className:"svc-question__content-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.actionContainer})))):i},t.prototype.renderElementContent=function(){return n.a.createElement(n.a.Fragment,null,this.props.element,this.renderElementPlaceholder())},t.prototype.renderContentOnTop=function(){return null},t.prototype.renderDragAria=function(){var e=this;return this.model.allowDragging?n.a.createElement("div",{className:"svc-question__drag-area",onPointerDown:function(t){return e.model.startDragSurveyElement(t)}},n.a.createElement("div",{className:"svc-question__drag-element"})):null},t.prototype.renderElementPlaceholder=function(){var e=this;return this.model.isEmptyElement?n.a.createElement("div",{className:"svc-panel__placeholder_frame"},n.a.createElement("div",{className:"svc-panel__placeholder"},this.model.placeholderText),this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-panel__add-new-question",onClick:function(t){t.stopPropagation(),e.model.addNewQuestion()}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText))):null):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-question",(function(e){return n.a.createElement(S,e)})),l.ReactElementFactory.Instance.registerElement("svc-panel",(function(e){return n.a.createElement(S,e)}));var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderElementPlaceholder=function(){var e=this.props.question;return n.a.createElement("div",{className:"svc-question__dropdown-choices"},(e.visibleChoices||[]).map((function(t,i){return n.a.createElement("div",{className:"svc-question__dropdown-choice",key:"editable_choice_".concat(i)},e.survey.wrapItemValue(l.ReactElementFactory.Instance.createElement("survey-radiogroup-item",{question:e,cssClasses:e.cssClasses,isDisplayMode:!0,item:t,textStyle:e.textStyle,index:i,isChecked:e.value===t.value}),e,t))})))},t}(S);l.ReactElementFactory.Instance.registerElement("svc-dropdown-question",(function(e){return n.a.createElement(P,e)}));var E=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionImageAdornerViewModel(this.props.componentData,this.props.question,null,null)},Object.defineProperty(t.prototype,"imageModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.imageModel.questionRoot=this.rootRef.current},t.prototype.renderContentOnTop=function(){return n.a.createElement("input",{type:"file","aria-hidden":"true",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input",style:{position:"absolute",opacity:0,width:"1px",height:"1px",overflow:"hidden"}})},t.prototype.renderElementPlaceholder=function(){var e=this;return n.a.createElement("div",{className:"svc-image-question-controls"},this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-question-controls__button svc-image-question-controls__choose-file",onClick:function(){return e.imageModel.chooseFile(e.imageModel)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-file"}))):null)},t}(S);l.ReactElementFactory.Instance.registerElement("svc-image-question",(function(e){return n.a.createElement(E,e)}));var C=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderClear=function(){var e=this;return!this.questionBase.isReadOnly&&this.questionBase.showClear?n.a.createElement(se,{classes:"spg-question-link__clear-button",click:function(){return e.question.doClearClick()},selected:this.question.isSelected,text:u.editorLocalization.getString("pe.clear")}):null},t.prototype.renderElement=function(){var e=this;return n.a.createElement(n.a.Fragment,null,n.a.createElement(se,{classes:"spg-link-value-button spg-question-link__set-button",click:function(){return e.question.doLinkClick()},selected:this.question.isSelected,disabled:this.question.isReadOnly,text:this.question.linkValueText}),this.renderClear())},t}(l.SurveyQuestionElementBase);l.ReactQuestionFactory.Instance.registerQuestion("linkvalue",(function(e){return n.a.createElement(C,e)}));var N=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"embeddedSurvey",{get:function(){return this.props.element||this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.embeddedSurvey)return null;var e=this.embeddedSurvey.embeddedSurvey;return e&&e.currentPage?n.a.createElement(l.SurveyPage,{survey:e,page:e.currentPage,css:e.css,creator:this.creator}):null},t}(l.SurveyQuestionElementBase);l.ReactQuestionFactory.Instance.registerQuestion("embeddedsurvey",(function(e){return n.a.createElement(N,e)}));var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionRatingAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"ratingModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.renderElementPlaceholder=function(){this.props.question;var e=this.ratingModel;return n.a.createElement("div",{className:"svc-rating-question-controls svc-item-value-controls"},e.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__remove",onClick:function(){return e.removeItem(e)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-remove_16x16"}))):null,e.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__add",onClick:function(){return e.addItem(e)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-add_16x16"}))):null)},t}(S);l.ReactElementFactory.Instance.registerElement("svc-rating-question",(function(e){return n.a.createElement(O,e)}));var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"widgetModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.renderElementContent=function(){return n.a.createElement("div",{className:"svc-widget__content"},this.props.element)},t}(S);l.ReactElementFactory.Instance.registerElement("svc-widget-question",(function(e){return n.a.createElement(_,e)}));var A=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.QuestionAdornerViewModel(i.props.componentData,i.props.question,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return this.model.isDragged?null:n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{"data-sv-drop-target-survey-element":this.model.surveyElement.name,className:"svc-question__adorner"},Object(l.attachKey2click)(n.a.createElement("div",{className:" svc-question__content--selected-no-border svc-question__content",onClick:function(t){return e.model.select(e.model,new T(t))}},this.props.element))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-cell-question",(function(e){return n.a.createElement(A,e)}));var j=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.QuestionAdornerViewModel(i.props.componentData,i.props.question,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;if(this.model.isDragged)return null;var t=this.props.question;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{"data-sv-drop-target-survey-element":this.model.surveyElement.name,className:"svc-question__adorner"},Object(l.attachKey2click)(n.a.createElement("div",{className:" svc-question__content--selected-no-border svc-question__content",onClick:function(t){return e.model.select(e.model,new T(t))}},this.props.element,n.a.createElement("div",{className:"svc-question__dropdown-choices"},t.visibleChoices.map((function(e,i){return n.a.createElement("div",{className:"svc-question__dropdown-choice",key:"editable_choice_".concat(i)},t.survey.wrapItemValue(l.ReactElementFactory.Instance.createElement("survey-radiogroup-item",{question:t,cssClasses:t.cssClasses,isDisplayMode:!0,item:e,textStyle:t.textStyle,index:i,isChecked:t.value===e.value}),t,e))})))))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-cell-dropdown-question",(function(e){return n.a.createElement(j,e)}));var V=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),t.prototype.createQuestionElement=function(e){return l.ReactQuestionFactory.Instance.createQuestion(!e.isDefaultRendering||e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isInputReadOnly,creator:this})},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t.prototype.renderError=function(e,t,i){return null},t.prototype.render=function(){var e=this.survey.getAllQuestions()[0];return n.a.createElement(n.a.Fragment,null,n.a.createElement(l.SurveyQuestion,{creator:this,element:e}))},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-question-editor-content",(function(e){return n.a.createElement(V,e)}));var I=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.ItemValueWrapperViewModel(i.props.componentData.creator,i.props.question,i.props.item),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;this.model.item=this.props.item;var t=this.model.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__add",title:this.model.tooltip,onClick:function(){return e.model.add(e.model)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-add_16x16"}))):n.a.createElement(n.a.Fragment,null," ",this.model.isDraggable?n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__drag",title:this.model.dragTooltip},n.a.createElement(l.SvgIcon,{className:"svc-item-value-controls__drag-icon",size:24,iconName:"icon-drag-area-indicator"})):null,this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__remove",title:this.model.tooltip,onClick:function(){return e.model.remove(e.model)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-remove_16x16"}))):null);return n.a.createElement("div",{className:"svc-item-value-wrapper"+(this.model.allowAdd?" svc-item-value--new":"")+(this.model.isDragging?" svc-item-value--dragging":"")+(this.model.isDragDropGhost?" svc-item-value--ghost":"")+(this.model.isDragDropMoveDown?" svc-item-value--movedown":"")+(this.model.isDragDropMoveUp?" svc-item-value--moveup":""),key:this.props.element.key,"data-sv-drop-target-item-value":this.model.isDraggable?this.model.item.value:void 0,onPointerDown:function(t){return e.model.onPointerDown(t)}},n.a.createElement("div",{className:"svc-item-value__ghost"}),n.a.createElement("div",{className:"svc-item-value-controls"},t),n.a.createElement("div",{className:"svc-item-value__item",onClick:function(t){return e.model.select(e.model,t)}},this.props.element))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-item-value",(function(e){return n.a.createElement(I,e)}));var z=function(e){function t(t){var i=e.call(this,t)||this;return i.preventDragHandler=function(e){e.preventDefault()},i.model=new u.ImageItemValueWrapperViewModel(i.props.componentData.creator,i.props.question,i.props.item,null,null),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.itemsRoot=this.rootRef.current},t.prototype.render=function(){var e=this;this.model.item=this.props.item;var t=!this.props.question.isItemInList(this.props.item),i=null;return i=t?n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-image-item-value__item"},n.a.createElement("div",{className:"sv-imagepicker__item sv-imagepicker__item--inline"},n.a.createElement("label",{className:"sv-imagepicker__label"},n.a.createElement("div",{style:{width:this.props.question.imageWidth?this.props.question.imageWidth+"px":void 0,height:this.props.question.imageHeight?this.props.question.imageHeight+"px":void 0},className:"sv-imagepicker__image"})))),n.a.createElement("div",{className:"svc-image-item-value-controls"},this.model.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__add",onClick:function(){return e.model.chooseNewFile(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-add-lg"}))):null)):n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-image-item-value__item"},this.props.element),n.a.createElement("div",{className:"svc-image-item-value-controls"},this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__choose-file",onClick:function(){return e.model.chooseFile(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-file"}))):null,this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__remove",onClick:function(){return e.model.remove(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-delete"}))):null)),n.a.createElement("div",{ref:this.rootRef,className:"svc-image-item-value-wrapper"+(t?" svc-image-item-value--new":""),key:this.props.element.key,"data-sv-drop-target-item-value":this.model.isDraggable?this.model.item.value:void 0,onPointerDown:function(t){return e.model.onPointerDown(t)},onDragStart:this.preventDragHandler},t?null:n.a.createElement("div",{className:"svc-image-item__drag-element"}),n.a.createElement("input",{type:"file","aria-hidden":"true",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input",style:{position:"absolute",opacity:0,width:"1px",height:"1px",overflow:"hidden"}}),i)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-image-item-value",(function(e){return n.a.createElement(z,e)}));var M=function(e){function t(t){var i=e.call(this,t)||this,o=i.props.componentData;return i.model=new u.MatrixCellWrapperViewModel(o.creator,o.element,o.question,o.row,o.column),i}return o(t,e),t.prototype.componentDidUpdate=function(t,i){e.prototype.componentDidUpdate.call(this,t,i);var o=this.props.componentData;this.model.templateData=o.element,this.model.row=o.row,this.model.column=o.column,this.model.question=o.question},t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this,t=null;return this.model.question&&(t=n.a.createElement("div",{className:"svc-matrix-cell__question-controls"},Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-matrix-cell__question-controls-button",onClick:function(){return e.model.editQuestion(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-edit"}))))),n.a.createElement("div",{className:"svc-matrix-cell",key:this.props.element.key,onClick:function(t){return!e.props.question&&e.model.selectContext(e.model,t)},onMouseOut:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)}},n.a.createElement("div",{className:"svc-matrix-cell--selected"+(this.model.isSelected?" svc-visible":"")}),this.props.element,t)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-matrix-cell",(function(e){return n.a.createElement(M,e)}));var q=function(e){function t(t){var i=e.call(this,t)||this;return t.survey&&(i.model=new u.SurveyResultsModel(t.survey)),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return this.model?n.a.createElement("div",{className:"svd_test_results"},n.a.createElement("div",{className:"svd_results_header"},n.a.createElement("h2",null,this.model.surveyResultsText)),n.a.createElement("ul",{className:"navbar-default container-fluid nav nav-tabs editor-tabs"},n.a.createElement("li",{className:"nav-item "+this.model.resultViewType=="table"?"active":""},Object(l.attachKey2click)(n.a.createElement("a",{className:"nav-link",href:"#",onClick:function(){return e.model.selectTableClick(e.model)}},this.model.getLocString("ed.surveyResultsTable")))),n.a.createElement("li",{className:"nav-item "+this.model.resultViewType=="text"?"active":""},Object(l.attachKey2click)(n.a.createElement("a",{className:"nav-link",href:"#",onClick:function(){return e.model.selectJsonClick(e.model)}},this.model.getLocString("ed.surveyResultsJson"))))),this.renderResultAsText(),this.renderResultAsTable()):null},t.prototype.renderResultAsText=function(){return"text"!==this.model.resultViewType?null:n.a.createElement("div",{className:"svd_results_text svd-light-bg-color"},n.a.createElement("div",null,this.model.resultText))},t.prototype.renderResultAsTable=function(){return"table"!==this.model.resultViewType?null:n.a.createElement("div",{className:"svd_results_table svd-light-bg-color"},n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",{className:"svd-light-background-color"},n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsTitle),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsName),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsValue),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsDisplayValue))),n.a.createElement("tbody",null,this.renderRows(this.model.resultData))))},t.prototype.renderRows=function(e){var t=this;return e.map((function(e){return t.renderRow(e)}))},t.prototype.renderRow=function(e){return n.a.createElement(n.a.Fragment,null,n.a.createElement("tr",{"data-bind":"click: toggle"},n.a.createElement("td",{className:"svd-dark-border-color"},e.isNode?n.a.createElement("span",{className:""},"▶"):null,n.a.createElement("span",null,e.title)),n.a.createElement("td",{className:"svd-dark-border-color"},e.name),n.a.createElement("td",{className:"svd-dark-border-color"},n.a.createElement("div",{className:"survey-result-value"},e.getString(e.value))),n.a.createElement("td",{className:"svd-dark-border-color"},e.getString(e.displayValue))),this.renderRows(e.data))},t}(l.SurveyElementBase),R=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.PageViewModel(i.props.creator,i.props.page),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this),this.model.onPageSelectedCallback=function(){t.rootRef.current&&u.SurveyHelper.scrollIntoViewIfNeeded(t.rootRef.current)}},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.dispose()},t.prototype.canRender=function(){return!!this.model&&this.model.isPageLive&&!!this.model.page&&!!this.model.page.survey},t.prototype.renderElement=function(){var e=this,t=this.model.questionTypeSelectorModel;return Object(l.attachKey2click)(n.a.createElement("div",{ref:this.rootRef,className:"svc-page__content "+this.model.css,id:this.props.page.id,onClick:function(t){return e.model.select(e.model,new T(t))},onMouseOut:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)}},n.a.createElement(l.SurveyPage,{page:this.props.page,survey:this.props.survey,creator:this.props.creator,css:this.model.css}),this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-page__add-new-question",onClick:function(t){t.stopPropagation(),e.model.addNewQuestion(e.model,new T(t))}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText),Object(l.attachKey2click)(n.a.createElement("button",{type:"button",onClick:function(e){e.stopPropagation(),t.action()},className:"svc-page__question-type-selector",title:this.model.addNewQuestionText},n.a.createElement("span",{className:"svc-page__question-type-selector-icon"},n.a.createElement(l.SvgIcon,{iconName:t.iconName,size:24})),n.a.createElement(l.Popup,{model:t.popupModel}))))):null,n.a.createElement("div",{className:"svc-page__content-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.actionContainer}))))},t}(l.SurveyElementBase),L=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i.model=new u.PageNavigatorViewModel(t.creator.pagesController),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.containerRef.current;if(t){var i=this;t.parentElement.parentElement.onscroll=function(e){return i.model.onContainerScroll(e.currentTarget)}}},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this);var t=this.containerRef.current;t&&(t.parentElement.parentElement.onscroll=void 0),this.model.dispose()},t.prototype.renderElement=function(){var e=this,t="svc-page-navigator__selector";return this.model.isPopupOpened&&(t+=" svc-page-navigator__selector--opened"),n.a.createElement("div",{className:"svc-page-navigator",ref:this.containerRef,style:{display:this.model.visible?"flex":"none"}},Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.model.togglePageSelector()},title:this.model.pageSelectorCaption},n.a.createElement(l.SvgIcon,{className:"svc-page-navigator__navigator-icon",iconName:this.model.icon,size:24}),n.a.createElement(l.Popup,{model:this.model.popupModel}))),this.model.items.map((function(e){return n.a.createElement(D,{key:e.id,item:e})})))},t}(l.SurveyElementBase),D=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.getStateElement=function(){return this.props.item},t.prototype.renderElement=function(){var e=this.props.item,t="svc-page-navigator-item-content";return Object(c.unwrap)(e.active)&&(t+=" svc-page-navigator-item--selected"),Object(c.unwrap)(e.disabled)&&(t+=" svc-page-navigator-item--disabled"),n.a.createElement("div",{className:"svc-page-navigator-item"},Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.action(e)}},n.a.createElement("div",{className:"svc-page-navigator-item__dot",title:e.title}),n.a.createElement("div",{className:"svc-page-navigator-item__banner svc-item__banner"},n.a.createElement("span",{className:"svc-text svc-text--small svc-text--bold"},e.title),n.a.createElement("span",{className:"svc-page-navigator-item__dot"})))))},t}(l.SurveyElementBase),B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onPropChangedHandler=function(e,i){if(!t.isRendering){var o=["showProgressBar","progressBarType","currentPageValue"];if(!(o.indexOf(i.name)<0)){for(var r={},n=0;n<o.length;n++){var a=o[n];r[a]=t.survey[a]}t.setState(r)}}},t}return o(t,e),t.prototype.componentDidMount=function(){this.setHandler()},t.prototype.componentDidUpdate=function(e,t){this.setHandler()},t.prototype.setHandler=function(){this.survey&&!this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler)&&this.survey.onPropertyChanged.add(this.onPropChangedHandler)},t.prototype.componentWillUnmount=function(){this.survey&&this.survey.onPropertyChanged.remove(this.onPropChangedHandler)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"location",{get:function(){return this.props.location},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTop",{get:function(){return"top"==this.location},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return this.isTop?this.survey.isShowProgressBarOnTop:this.survey.isShowProgressBarOnBottom},t.prototype.renderElement=function(){return l.ReactElementFactory.Instance.createElement("sv-progress-"+this.survey.progressBarType.toLowerCase(),{survey:this.survey,css:this.survey.css,isTop:this.isTop})},t}(l.SurveyElementBase),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.model.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElements=function(){return[this.model,this.model.survey]},t.prototype.renderPages=function(){var e=this,t=this.creator.survey.pages.map((function(t,i){return n.a.createElement("div",{className:"svc-page","data-sv-drop-target-page":t.name,"data-sv-drop-target-survey-element":t.name,key:t.id+"-"+i},n.a.createElement(R,{survey:e.creator.survey,page:t,creator:e.creator}))}));return this.model.showNewPage&&t.push(n.a.createElement("div",{className:"svc-page","data-sv-drop-target-survey-element":"newGhostPage",key:this.model.newPage.id+"-ghost-new-page"},n.a.createElement(R,{survey:this.creator.survey,page:this.model.newPage,creator:this.creator}))),t},t.prototype.renderElement=function(){var e=this,t=this.creator.survey,i="svc-tab-designer "+this.model.getRootCss();return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-flex-column"},this.model.isToolboxVisible?l.ReactElementFactory.Instance.createElement("svc-adaptive-toolbox",{model:this.creator}):null),n.a.createElement("div",{className:i,onClick:function(){return e.model.clickDesigner()}},n.a.createElement("div",{className:this.model.getDesignerCss()},this.creator.allowEditSurveyTitle?n.a.createElement("div",null,n.a.createElement(l.SurveyHeader,{survey:t})):null,n.a.createElement(B,{survey:t,location:"top"}),this.renderPages(),n.a.createElement(B,{survey:t,location:"bottom",css:t.css})),this.creator.showPageNavigator?n.a.createElement("div",{className:"svc-tab-designer__page-navigator"},n.a.createElement(L,{creator:this.creator,pages:this.creator.pagesController.pages})):null))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-designer",(function(e){return n.a.createElement(H,e)}));var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return n.a.createElement("div",{className:"svc-creator-tab__content svc-embed-tab__content"},this.model.survey?n.a.createElement(l.Survey,{model:this.model.survey}):null)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-embed",(function(e){return n.a.createElement(F,e)}));var Q=function(e){function t(t){var i=e.call(this,t)||this;return i.aceEditorrRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.model.init(ace.edit(this.aceEditorrRef.current))},t.prototype.renderElement=function(){return n.a.createElement("div",{className:"svc-creator-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__ace-editor",ref:this.aceEditorrRef})))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-json-editor-ace",(function(e){return n.a.createElement(Q,e)}));var U=function(e){function t(t){var i=e.call(this,t)||this;return i.model.canShowErrors=!1,i}return o(t,e),t.prototype.getStateElement=function(){return this.model},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){for(var e=this,t=[],i=1,o=this.model.userFriendlyErrors,r=0;r<o.length;r++)t.push(n.a.createElement("span",{key:i},n.a.createElement("b",null,"Error: "))),i++,t.push(n.a.createElement("span",{key:i},o[r])),i++;return n.a.createElement("div",{className:"svc-creator-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__content"},n.a.createElement("textarea",{className:"svc-json-editor-tab__content-area",value:this.model.text,onChange:function(t){return e.model.text=t.target.value},onKeyDown:function(t){return e.model.checkKey(t,t)},disabled:this.model.readOnly,"aria-label":this.model.ariaLabel}),t.length>0&&n.a.createElement("button",{type:"button",className:"svc-json-editor-tab__errros_button",onClick:function(){return e.model.toggleErrors()}},this.model.errorButtonText),this.model.canShowErrors&&n.a.createElement("div",{className:"svc-json-editor-tab__content-errors"},t)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-json-editor-textarea",(function(e){return n.a.createElement(U,e)}));var G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.button},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e=this,t="svc-logic-tab__content-action"+(void 0===this.model.enabled||this.model.enabled?"":" svc-logic-tab__content-action--disabled");return Object(l.attachKey2click)(n.a.createElement("div",{role:"button",onClick:function(t){t.stopPropagation(),e.model.action()},className:t,title:this.model.title},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-logic-add-button",(function(e){return n.a.createElement(G,e)}));var J=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){this.model;var e=this.renderViewContent();return n.a.createElement("div",{className:"svc-creator-tab__content"},e)},t.prototype.renderViewContent=function(){var e="svc-plugin-tab__content svc-logic-tab__content "+(this.model.hasItems?"":"svc-logic-tab__empty");void 0===this.model.addNewButton.enabled||this.model.addNewButton.enabled;return n.a.createElement(r.Fragment,null,n.a.createElement("div",{className:e},n.a.createElement(l.Survey,{model:this.model.itemsSurvey}),this.model.hasItems?null:n.a.createElement("div",{className:"svc-logic-tab__content-empty"},n.a.createElement("span",{className:"svc-text"},this.model.emptyTabPlaceHolder)),n.a.createElement(G,{button:this.model.addNewButton})))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-logic",(function(e){return n.a.createElement(J,e)}));var W=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model.survey?this.model.hasFrame?n.a.createElement("div",{className:"svd-simulator-main "+this.model.simulatorMainCssClass},n.a.createElement("div",{className:"svd-simulator-wrapper",style:{width:this.model.simulatorFrame.frameWidth+"px",height:this.model.simulatorFrame.frameHeight+"px"}},n.a.createElement("div",{className:"svd-simulator-frame "+this.model.simulatorFrame.cssClass,style:{width:(this.model.landscapeOrientation?this.model.simulatorFrame.frameHeight:this.model.simulatorFrame.frameWidth)+"px",height:(this.model.landscapeOrientation?this.model.simulatorFrame.frameWidth:this.model.simulatorFrame.frameHeight)+"px"}}),n.a.createElement("div",{className:"svd-simulator",style:{width:this.model.simulatorFrame.width/this.model.simulatorFrame.scale+"px",height:this.model.simulatorFrame.height/this.model.simulatorFrame.scale+"px",transform:"scale("+this.model.simulatorFrame.scale+") translate(-50%, -50%)"}},n.a.createElement("div",{className:"svd-simulator-content"},n.a.createElement(l.Survey,{model:this.model.survey}))))):n.a.createElement("div",{className:"svd-simulator-main"},n.a.createElement("div",{className:"svd-simulator-content"},n.a.createElement(l.Survey,{model:this.model.survey}))):n.a.createElement("div",{className:"svd-simulator-main"})},t}(l.SurveyElementBase),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e="svc-creator-tab__content svc-test-tab__content"+(this.model.isPageToolbarVisible?" svc-creator-tab__content--with-toolbar":"");return n.a.createElement("div",{className:e},n.a.createElement("div",{className:"svc-plugin-tab__content"},n.a.createElement(W,{model:this.model.simulator}),this.model.isRunning?null:n.a.createElement(q,{survey:this.model.simulator.survey})),this.getBottomToolbar())},t.prototype.getBottomToolbar=function(){return this.model.isPageToolbarVisible?n.a.createElement("div",{className:"svc-test-tab__content-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.pages})):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-test",(function(e){return n.a.createElement(K,e)}));var Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model?n.a.createElement("div",{className:"svc-creator-tab__content svc-translation-tab"},this.renderElementContent()):null},t.prototype.renderElementContent=function(){return this.model.isEmpty?n.a.createElement("div",{className:"st-no-strings"},n.a.createElement("span",null,this.model.noStringsText)):n.a.createElement("div",{className:"st-content"},n.a.createElement("div",{className:"svc-flex-column st-strings-wrapper"},n.a.createElement("div",{className:"svc-flex-row st-strings-header"},n.a.createElement(l.Survey,{model:this.model.stringsHeaderSurvey})),n.a.createElement("div",{className:"svc-flex-row svc-plugin-tab__content st-strings"},n.a.createElement(l.Survey,{model:this.model.stringsSurvey}))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-translation",(function(e){return n.a.createElement(Z,e)}));var Y=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.ToolboxToolViewModel(i.item,i.props.creator),i}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompact",{get:function(){return this.props.isCompact},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this,t=this.item,i="svc-toolbox__tool "+t.css+(t.isVisible?"":" sv-action--hidden"),o=l.ReactElementFactory.Instance.createElement(this.item.component||"svc-toolbox-item",{item:this.item,creator:this.creator,isCompact:this.isCompact});return n.a.createElement("div",{className:i,key:t.id,onPointerDown:function(t){t.persist(),e.model.onPointerDown(t)}},n.a.createElement("div",{className:"sv-action__content"},this.isCompact&&t.needSeparator?n.a.createElement("div",{className:"svc-toolbox__category-separator"}):null,o))},t}(l.SurveyElementBase),X=function(e){function t(t){var i=e.call(this,t)||this,o=i.props.item;return i.model=new u.ToolboxToolViewModel(o,i.props.creator),i}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this,t="svc-toolbox__item svc-toolbox__item--"+this.item.iconName;return Object(l.attachKey2click)(n.a.createElement("div",{className:t,tabIndex:0,role:"button","aria-label":this.item.tooltip+" "+u.editorLocalization.getString("toolbox")+" item",onClick:function(t){t.persist(),e.model.click(t)}},n.a.createElement("span",{className:"svc-toolbox__item-container"},n.a.createElement(l.SvgIcon,{size:24,iconName:this.item.iconName})),this.props.isCompact?n.a.createElement("span",{className:"svc-toolbox__item-banner svc-item__banner"},n.a.createElement(l.SvgIcon,{size:24,iconName:this.item.iconName}),n.a.createElement("span",{className:"svc-toolbox__item-title"},this.item.title)):n.a.createElement("span",{className:"svc-toolbox__item-title"},this.item.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-toolbox-item",(function(e){return n.a.createElement(X,e)}));var $=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbox",{get:function(){return this.creator.toolbox},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.toolbox},t.prototype.render=function(){return this.toolbox.hasActions?n.a.createElement("div",{className:"svc-toolbox"},n.a.createElement("div",{className:"svc-toolbox__container"},1==this.toolbox.categories.length?n.a.createElement("div",{className:"svc-toolbox__category"},this.renderItems(this.toolbox.visibleActions)):this.renderCategories())):null},t.prototype.renderItems=function(e){var t=this;return e.map((function(e,i){return n.a.createElement(Y,{item:e,creator:t.creator,key:"item"+i,isCompact:!1})}))},t.prototype.renderCategories=function(){var e=this;return this.toolbox.categories.map((function(t){var i=e.renderCategoryHeader(t),o=e.renderCategoryContent(t);return n.a.createElement("div",{className:"svc-toolbox__category",key:t.name},i,o)}))},t.prototype.renderCategoryHeader=function(e){var t=e.collapsed?"arrow-down":"arrow-up",i="svc-toolbox__category-header__button svc-string-editor__button--"+(e.collapsed?"expand":"collapse");return Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-toolbox__category-header",onClick:function(t){return e.toggleState()}},n.a.createElement("span",{className:"svc-toolbox__category-title"},e.name),n.a.createElement("div",{className:"svc-toolbox__category-header__controls"},n.a.createElement(l.SvgIcon,{className:i,iconName:"icon-"+t,size:24}))))},t.prototype.renderCategoryContent=function(e){return e.collapsed?[]:this.renderItems(e.items)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-toolbox",(function(e){return n.a.createElement($,e)}));var ee=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.rootRef.current;t&&(this.manager=new c.VerticalResponsivityManager(t,this.toolbox,".svc-toolbox__tool:not(.sv-dots)>.sv-action__content",40))},t.prototype.componentWillUnmount=function(){this.manager&&this.manager.dispose(),e.prototype.componentWillUnmount.call(this)},t.prototype.render=function(){if(!this.toolbox.hasActions)return null;var e="svc-toolbox"+(this.toolbox.isCompact?" svc-toolbox--compact":"");return n.a.createElement("div",{ref:this.rootRef,className:e},n.a.createElement("div",{className:"svc-toolbox__container"},this.toolbox.isCompact||1==this.toolbox.categories.length?n.a.createElement("div",{className:"svc-toolbox__category"},this.renderItems(this.toolbox.renderedActions,this.toolbox.isCompact)):this.renderCategories()))},t.prototype.renderItems=function(e,t){var i=this;return e.map((function(e,o){return n.a.createElement(Y,{item:e,creator:i.creator,isCompact:t,key:"item"+o})}))},t.prototype.renderCategoryContent=function(e){var t=[];return e.collapsed||(t=this.renderItems(e.items,!1)),t},t}($);l.ReactElementFactory.Instance.registerElement("svc-adaptive-toolbox",(function(e){return n.a.createElement(ee,e)}));var te=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.initResizeManager(this.containerRef.current)},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.resetResizeManager()},t.prototype.canRender=function(){return!!this.model&&e.prototype.canRender.call(this)},t.prototype.renderElement=function(){var e=this,t={display:this.model.visible?"":"none"},i="svc-side-bar"+(this.model.flyoutPanelMode?" svc-flyout-side-bar":""),o=this.model.tabs.map((function(e){return n.a.createElement(ie,{item:e,key:e.id})}));return n.a.createElement("div",{className:i,style:{display:this.model.hasVisibleTabs?"":"none"}},n.a.createElement("div",{className:"svc-side-bar__shadow"}),n.a.createElement("div",{className:"svc-flex-column svc-side-bar__wrapper"},n.a.createElement("div",{ref:this.containerRef,style:t,className:"svc-side-bar__container"},n.a.createElement("div",{className:"svc-side-bar__container-header"},n.a.createElement("div",{className:"svc-side-bar__container-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.toolbar})),n.a.createElement("div",{className:"svc-side-bar__container-title"},this.model.headerText)),n.a.createElement("div",{className:"svc-side-bar__container-content"},o),n.a.createElement("div",{className:"svc-side-bar__container-close"},n.a.createElement("div",{className:"sd-btn sd-btn--action svc-side-bar__container-close-button",onClick:function(){return e.model.closePropertyGrid()}}," ",this.model.closeText," ")))))},t}(l.SurveyElementBase),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){return this.item.visible?l.ReactElementFactory.Instance.createElement(this.item.componentName,{model:this.item.model}):null},t}(l.SurveyElementBase);l.ReactQuestionFactory.Instance.registerQuestion("svc-side-bar-tab",(function(e){return n.a.createElement(ie,e)}));l.ReactElementFactory.Instance.registerElement("svc-side-bar",(function(e){return n.a.createElement(te,e)}));var oe=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model.isVisible?n.a.createElement("div",{className:"svc-object-selector"},n.a.createElement(l.List,{model:this.model.list})):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-object-selector",(function(e){return n.a.createElement(oe,e)}));var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.canRender=function(){return!!this.model&&e.prototype.canRender.call(this)},t.prototype.renderElement=function(){return n.a.createElement(l.Survey,{model:this.model.survey})},t}(l.SurveyElementBase);l.ReactQuestionFactory.Instance.registerQuestion("buttongroup",(function(e){return n.a.createElement(l.SurveyQuestionButtonGroup,e)}));l.ReactElementFactory.Instance.registerElement("svc-property-grid",(function(e){return n.a.createElement(re,e)}));var ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return n.a.createElement("div",{className:"sd-translation-line-skeleton"})},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("sd-translation-line-skeleton",(function(e){return n.a.createElement(ne,e)}));var ae,se=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.renderElement=function(){var e=this,t=this.props.classes+" svc-action-button";return this.props.selected&&(t+=" svc-action-button--selected"),this.props.disabled?(t+=" svc-action-button--disabled",n.a.createElement("span",{className:t},this.props.text)):n.a.createElement(n.a.Fragment,null,Object(l.attachKey2click)(n.a.createElement("span",{role:"button",className:t,onClick:function(t){t.stopPropagation(),e.props.click()}},this.props.text)))},t}(l.SurveyElementBase);ae="".concat("1.9.2-beta.1")}])}));
|
|
576
|
+
/*! no static exports found */function(t,i){t.exports=e}})},e.exports=o(i(3))},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t,i){},function(e,t,i){"use strict";i.r(t),i.d(t,"Version",(function(){return ce})),i.d(t,"SurveyCreatorComponent",(function(){return y})),i.d(t,"DesignTimeSurveyModel",(function(){return f})),i.d(t,"SurveyCreator",(function(){return b})),i.d(t,"RowWrapper",(function(){return x})),i.d(t,"QuestionAdornerComponent",(function(){return k})),i.d(t,"QuestionWrapperHeader",(function(){return S})),i.d(t,"QuestionWrapperFooter",(function(){return P})),i.d(t,"QuestionDropdownAdornerComponent",(function(){return E})),i.d(t,"QuestionImageAdornerComponent",(function(){return C})),i.d(t,"QuestionRatingAdornerComponent",(function(){return N})),i.d(t,"QuestionWidgetAdornerComponent",(function(){return O})),i.d(t,"CellQuestionAdornerComponent",(function(){return _})),i.d(t,"CellQuestionDropdownAdornerComponent",(function(){return A})),i.d(t,"CreatorSurveyPageComponent",(function(){return j})),i.d(t,"PanelAdornerComponent",(function(){return V})),i.d(t,"LogoImageComponent",(function(){return I})),i.d(t,"SurveyQuestionLinkValue",(function(){return z})),i.d(t,"SurveyElementEmbeddedSurvey",(function(){return M})),i.d(t,"QuestionEditorContentComponent",(function(){return q})),i.d(t,"ItemValueAdornerComponent",(function(){return R})),i.d(t,"ImageItemValueAdornerComponent",(function(){return L})),i.d(t,"MatrixCellAdornerComponent",(function(){return D})),i.d(t,"SurveyResults",(function(){return B})),i.d(t,"SurveyCreatorToolboxTool",(function(){return H})),i.d(t,"SurveyCreatorToolboxItem",(function(){return F})),i.d(t,"Toolbox",(function(){return Q})),i.d(t,"AdaptiveToolbox",(function(){return U})),i.d(t,"TabbedMenuComponent",(function(){return d})),i.d(t,"TabbedMenuItemComponent",(function(){return m})),i.d(t,"NotifierComponent",(function(){return h})),i.d(t,"SurveyNavigation",(function(){return G})),i.d(t,"SideBarComponent",(function(){return J})),i.d(t,"TranslationLineSkeleton",(function(){return K})),i.d(t,"ActionButton",(function(){return Z})),i.d(t,"TabDesignerComponent",(function(){return $})),i.d(t,"TabEmbedComponent",(function(){return ee})),i.d(t,"TabJsonEditorAceComponent",(function(){return te})),i.d(t,"TabJsonEditorTextareaComponent",(function(){return ie})),i.d(t,"TabLogicAddButtonComponent",(function(){return oe})),i.d(t,"TabLogicComponent",(function(){return re})),i.d(t,"TabPreviewSurveyComponent",(function(){return ae})),i.d(t,"TabTranslationComponent",(function(){return se})),i.d(t,"SurveySimulator",(function(){return ne})),i.d(t,"ReactMouseEvent",(function(){return w})),i.d(t,"ReactDragEvent",(function(){return T})),i.d(t,"PropertyGridComponent",(function(){return ue})),i.d(t,"editorLocalization",(function(){return u.editorLocalization})),i.d(t,"localization",(function(){return u.editorLocalization})),i.d(t,"settings",(function(){return u.settings})),i.d(t,"svgBundle",(function(){return u.svgBundle})),i.d(t,"SurveyLogic",(function(){return u.SurveyLogic})),i.d(t,"SurveyLogicUI",(function(){return u.SurveyLogicUI})),i.d(t,"SurveyQuestionEditorDefinition",(function(){return u.SurveyQuestionEditorDefinition})),i.d(t,"ToolboxToolViewModel",(function(){return u.ToolboxToolViewModel})),i.d(t,"PropertyGridEditorCollection",(function(){return u.PropertyGridEditorCollection})),i.d(t,"StylesManager",(function(){return u.StylesManager}));i(5),Object.assign;function o(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var r=i(0),n=i.n(r),a=i(4),s=i.n(a),l=i(1),u=i(2),c=i(3),d=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e=this.model.renderedActions.map((function(e){return n.a.createElement(p,{item:e,key:e.id})}));return n.a.createElement("div",{ref:this.rootRef,className:"svc-tabbed-menu"},e)},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.rootRef.current;t&&(this.manager=new c.ResponsivityManager(t,this.model,".svc-tabbed-menu-item-container:not(.sv-dots)>.sv-action__content"))},t.prototype.componentWillUnmount=function(){this.manager&&this.manager.dispose(),e.prototype.componentWillUnmount.call(this)},t}(l.SurveyElementBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){var e="svc-tabbed-menu-item-container";this.item.css&&(e+=" "+this.item.css),e+=this.item.isVisible?"":" sv-action--hidden";var t=l.ReactElementFactory.Instance.createElement(this.item.component||"svc-tabbed-menu-item",{item:this.item});return n.a.createElement("span",{key:this.item.id,className:e},n.a.createElement("div",{className:"sv-action__content"},t))},t}(l.SurveyElementBase),m=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this.item,t="svc-tabbed-menu-item";e.active&&(t+=" svc-tabbed-menu-item--selected"),void 0===e.enabled||e.enabled||(t+=" svc-tabbed-menu-item--disabled");var i="svc-text svc-tabbed-menu-item__text svc-text--normal";return e.active&&(i+=" svc-text--bold"),Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.action(e)}},n.a.createElement("span",{className:i},e.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tabbed-menu-item",(function(e){return n.a.createElement(m,e)}));var g=function(e){function t(t){var i=e.call(this,t)||this;return i.blurredByEscape=!1,i.onInput=function(e){return i.baseModel.onInput(e.nativeEvent),i.baseModel.errorText},i.onFocus=function(e){i.baseModel.onFocus(e.nativeEvent)},i.onKeyDown=function(e){return i.baseModel.onKeyDown(e.nativeEvent)},i.done=function(e){i.baseModel.done(e),i.locString.__isEditing=!1},i.edit=function(e){i.svStringEditorRef.current.focus(),i.locString.__isEditing=!0,i.baseModel.onClick(e)},i.state={changed:0},i.baseModel=new u.StringEditorViewModelBase(i.locString,i.creator),i.svStringEditorRef=n.a.createRef(),i.baseModel.blurEditor=function(){i.svStringEditorRef.current.blur()},i}return o(t,e),Object.defineProperty(t.prototype,"locString",{get:function(){return this.props.locStr.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.locStr.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.baseModel},Object.defineProperty(t.prototype,"errorText",{get:function(){return this.baseModel.errorText},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.locString){var e=this;this.locString.onChanged=function(){e.setState({changed:e.state.changed+1})},this.locString.__isEditing&&this.svStringEditorRef.current.focus()}},t.prototype.componentWillUnmount=function(){this.locString&&(this.locString.onChanged=function(){})},Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.baseModel.placeholder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentEditable",{get:function(){return this.baseModel.contentEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.baseModel.className(this.locString.renderedHtml)},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.locString)return null;this.baseModel.setLocString(this.locString);var e=null;if(this.locString.hasHtml){var t={__html:this.locString.renderedHtml};e=n.a.createElement("span",{ref:this.svStringEditorRef,className:"sv-string-editor",contentEditable:this.contentEditable,"aria-placeholder":this.placeholder,suppressContentEditableWarning:!0,dangerouslySetInnerHTML:t,onBlur:this.onInput,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onClick:this.edit})}else e=n.a.createElement("span",{ref:this.svStringEditorRef,className:"sv-string-editor",contentEditable:this.contentEditable,"aria-placeholder":this.placeholder,suppressContentEditableWarning:!0,onBlur:this.onInput,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onClick:this.edit},this.locString.renderedHtml);return n.a.createElement("span",{className:this.className},n.a.createElement("span",{className:"svc-string-editor__content"},n.a.createElement("div",{className:"svc-string-editor__border",onClick:this.edit},n.a.createElement(l.SvgIcon,{className:"svc-string-editor__button svc-string-editor__button--edit",size:16,iconName:"icon-edit"})),e,n.a.createElement("div",{className:"svc-string-editor__controls",onClick:this.edit})),this.errorText?n.a.createElement("span",{className:"svc-string-editor__error"},this.errorText):"")},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-string-editor",(function(e){return n.a.createElement(g,e)}));var h=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.notifier},t.prototype.renderElement=function(){return this.notifier.active?n.a.createElement("div",{className:this.notifier.css},n.a.createElement("span",null,this.notifier.message)):null},t}(l.SurveyElementBase),v=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i}return o(t,e),t.prototype.componentDidMount=function(){this.containerRef.current.innerHTML=u.svgBundle},t.prototype.componentWillUnmount=function(){},t.prototype.render=function(){return n.a.createElement("div",{ref:this.containerRef})},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-svg-bundle",(function(e){return n.a.createElement(v,e)}));var y=function(e){function t(t){var i=e.call(this,t)||this;return i.rootNode=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.props.creator},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.creator.initKeyboardShortcuts(this.rootNode.current),this.creator.initResponsivityManager(this.rootNode.current)},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.creator.removeKeyboardShortcuts(this.rootNode.current),this.creator.resetResponsivityManager()},t.prototype.renderElement=function(){var e=this.props.creator,t="svc-creator"+(this.props.creator.isMobileView?" svc-creator--mobile":""),i="svc-creator__content-wrapper svc-flex-row"+(this.props.creator.isMobileView?" svc-creator__content-wrapper--footer-toolbar":""),o="svc-flex-row svc-full-container svc-creator__side-bar--"+this.creator.sideBarLocation,r=null;return this.props.creator.haveCommercialLicense||(r=n.a.createElement("div",{className:"svc-creator__banner"},n.a.createElement("span",{className:"svc-creator__non-commercial-text"},n.a.createElement("a",{href:"https://surveyjs.io/buy"},this.props.creator.licenseText)))),n.a.createElement("div",{className:t,ref:this.rootNode},n.a.createElement(v,null),n.a.createElement("div",{className:"svc-full-container svc-creator__area svc-flex-column"},n.a.createElement("div",{className:o},n.a.createElement("div",{className:"svc-flex-column svc-flex-row__element svc-flex-row__element--growing"},n.a.createElement("div",{className:"svc-top-bar"},e.showTabs?n.a.createElement("div",{className:"svc-tabbed-menu-wrapper"},n.a.createElement(d,{model:e.tabbedMenu})):null,e.showToolbar?n.a.createElement("div",{className:"svc-toolbar-wrapper"},n.a.createElement(l.SurveyActionBar,{model:e.toolbar})):null),n.a.createElement("div",{className:i},n.a.createElement("div",{className:"svc-creator__content-holder svc-flex-column"},this.renderActiveTab())),n.a.createElement("div",{className:"svc-footer-bar"},e.isMobileView?n.a.createElement("div",{className:"svc-toolbar-wrapper"},n.a.createElement(l.SurveyActionBar,{model:e.footerToolbar})):null)),this.renderSideBar()),r,n.a.createElement(h,{creator:e,notifier:e.notifier})))},t.prototype.renderActiveTab=function(){for(var e=this.props.creator,t=0;t<e.tabs.length;t++)if(e.tabs[t].id===e.activeTab)return this.renderCreatorTab(e.tabs[t]);return null},t.prototype.renderCreatorTab=function(e){if(!1===e.visible)return null;var t=this.props.creator,i=e.renderTab?e.renderTab():l.ReactElementFactory.Instance.createElement(e.componentContent,{creator:t,survey:t.survey,data:e.data.model}),o="svc-creator-tab"+("right"==t.toolboxLocation?" svc-creator__toolbox--right":"");return n.a.createElement("div",{key:e.id,id:"scrollableDiv-"+e.id,className:o},i)},t.prototype.renderSideBar=function(){if(this.creator.sideBar){var e=this.creator.isMobileView?"sv-mobile-side-bar":"";return n.a.createElement("div",{className:e},l.ReactElementFactory.Instance.createElement("svc-side-bar",{model:this.creator.sideBar}))}return null},t}(l.SurveyElementBase),f=function(e){function t(t,i){var o=e.call(this,i)||this;return o.creator=t,o.isPopupEditorContent=!1,o}return o(t,e),t.prototype.getElementWrapperComponentName=function(t,i){return Object(u.getElementWrapperComponentName)(t,i,this.isPopupEditorContent)||e.prototype.getElementWrapperComponentName.call(this,t,i)},t.prototype.getElementWrapperComponentData=function(t,i){return Object(u.getElementWrapperComponentData)(t,i,this.creator)||e.prototype.getElementWrapperComponentData.call(this,t)},t.prototype.getRowWrapperComponentName=function(e){return"svc-row"},t.prototype.getRowWrapperComponentData=function(e){return{creator:this.creator,row:e}},t.prototype.getItemValueWrapperComponentName=function(e,t){return Object(u.getItemValueWrapperComponentName)(e,t)},t.prototype.getItemValueWrapperComponentData=function(e,t){return Object(u.getItemValueWrapperComponentData)(e,t,this.creator)},t.prototype.getRendererForString=function(e,t){if(!this.creator.readOnly&&Object(u.isStringEditable)(e,t))return"svc-string-editor"},t.prototype.getRendererContextForString=function(e,t){var i=t;return!this.creator.readOnly&&Object(u.isStringEditable)(e,t.name)?{creator:this.creator,element:e,locStr:t}:i},t}(l.Model),b=function(e){function t(t,i){return void 0===t&&(t={}),e.call(this,t,i)||this}return o(t,e),t.prototype.createSurveyCore=function(e,t){return void 0===e&&(e={}),"designer"===t||"modal-question-editor"===t?new f(this,e):new l.Model(e)},t.prototype.render=function(e){var t=e;"string"==typeof e&&(t=document.getElementById(e)),s.a.unmountComponentAtNode(t),s.a.render(n.a.createElement(n.a.StrictMode,null,n.a.createElement(y,{creator:this})),t)},t.prototype.createQuestionElement=function(e){return l.ReactQuestionFactory.Instance.createQuestion(e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isReadOnly,creator:this})},t.prototype.renderError=function(e,t,i){return n.a.createElement("div",{key:e},n.a.createElement("span",{className:i.error.icon,"aria-hidden":"true"}),n.a.createElement("span",{className:i.error.item},n.a.createElement(l.SurveyLocStringViewer,{locStr:t.locText})))},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t}(u.CreatorBase);l.ReactElementFactory.Instance.registerElement("survey-widget",(function(e){return n.a.createElement(l.Survey,e)}));var x=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.RowViewModel(i.props.componentData.creator,i.props.row,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){return n.a.createElement("div",{key:"svc-row-"+this.props.row.id,className:this.model.cssClasses},this.props.element)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-row",(function(e){return n.a.createElement(x,e)}));var w=function(){function e(e){this.event=e}return e.prototype.stopPropagation=function(){this.event.stopPropagation()},e.prototype.preventDefault=function(){this.event.preventDefault()},Object.defineProperty(e.prototype,"cancelBubble",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return this.event.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTarget",{get:function(){return this.event.currentTarget},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientX",{get:function(){return this.event.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientY",{get:function(){return this.event.clientY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.event.nativeEvent.offsetX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.event.nativeEvent.offsetY},enumerable:!1,configurable:!0}),e}(),T=function(e){function t(t){var i=e.call(this,t)||this;return i.event=t,i}return o(t,e),Object.defineProperty(t.prototype,"dataTransfer",{get:function(){return this.event.dataTransfer},enumerable:!1,configurable:!0}),t}(w),k=function(e){function t(t){var i=e.call(this,t)||this;return i.modelValue=i.createQuestionViewModel(),i}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"model",{get:function(){return this.modelValue},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.canRender=function(){return e.prototype.canRender.call(this)&&!this.model.isDragged},t.prototype.renderElement=function(){var e=this.model.surveyElement.isInteractiveDesignElement,t=this.renderContent(e);return n.a.createElement("div",{ref:this.rootRef,"data-sv-drop-target-survey-element":this.model.surveyElement.name,className:"svc-question__adorner"+this.model.rootCss(),onMouseOut:function(t){return e&&Object(u.toggleHovered)(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e&&Object(u.toggleHovered)(t.nativeEvent,t.currentTarget)}},t)},t.prototype.renderContent=function(e){var t=this,i=this.renderElementContent();return e?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-question__content "+this.model.css(),onClick:function(e){return t.model.select(t.model,new w(e))}},this.renderHeader(),i,this.renderFooter())):i},t.prototype.renderHeader=function(){return l.ReactElementFactory.Instance.createElement("svc-question-header",{model:this.model})},t.prototype.renderFooter=function(){return l.ReactElementFactory.Instance.createElement("svc-question-footer",{className:"svc-question__content-actions",model:this.model})},t.prototype.renderElementContent=function(){return n.a.createElement(n.a.Fragment,null,this.props.element,this.renderElementPlaceholder())},t.prototype.renderElementPlaceholder=function(){return this.model.isEmptyElement?n.a.createElement("div",{className:"svc-panel__placeholder_frame"},n.a.createElement("div",{className:"svc-panel__placeholder"},this.model.placeholderText)):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-question",(function(e){return n.a.createElement(k,e)}));var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this;return this.props.model.allowDragging?n.a.createElement("div",{className:"svc-question__drag-area",onPointerDown:function(t){return e.props.model.startDragSurveyElement(t)}},n.a.createElement("div",{className:"svc-question__drag-element"})):null},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-question-header",(function(e){return n.a.createElement(S,e)}));var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return n.a.createElement("div",{className:this.props.className},n.a.createElement(l.SurveyActionBar,{model:this.props.model.actionContainer}))},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-question-footer",(function(e){return n.a.createElement(P,e)}));var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderElementPlaceholder=function(){var e=this.props.question;return n.a.createElement("div",{className:"svc-question__dropdown-choices"},(e.visibleChoices||[]).map((function(t,i){return n.a.createElement("div",{className:"svc-question__dropdown-choice",key:"editable_choice_".concat(i)},e.survey.wrapItemValue(l.ReactElementFactory.Instance.createElement("survey-radiogroup-item",{question:e,cssClasses:e.cssClasses,isDisplayMode:!0,item:t,textStyle:e.textStyle,index:i,isChecked:e.value===t.value}),e,t))})))},t}(k);l.ReactElementFactory.Instance.registerElement("svc-dropdown-question",(function(e){return n.a.createElement(E,e)}));var C=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionImageAdornerViewModel(this.props.componentData,this.props.question,null,null)},Object.defineProperty(t.prototype,"imageModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.imageModel.questionRoot=this.rootRef.current},t.prototype.renderHeader=function(){return n.a.createElement(n.a.Fragment,null,n.a.createElement("input",{type:"file","aria-hidden":"true",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input",style:{position:"absolute",opacity:0,width:"1px",height:"1px",overflow:"hidden"}}),e.prototype.renderHeader.call(this))},t.prototype.renderElementPlaceholder=function(){var e=this;return n.a.createElement("div",{className:"svc-image-question-controls"},this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-question-controls__button svc-image-question-controls__choose-file",onClick:function(){return e.imageModel.chooseFile(e.imageModel)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-file"}))):null)},t}(k);l.ReactElementFactory.Instance.registerElement("svc-image-question",(function(e){return n.a.createElement(C,e)}));var N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionRatingAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"ratingModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.renderFooter=function(){var t=this.ratingModel;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-rating-question-controls svc-item-value-controls"},t.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__remove",onClick:function(){return t.removeItem(t)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-remove_16x16"}))):null,t.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__add",onClick:function(){return t.addItem(t)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-add_16x16"}))):null),e.prototype.renderFooter.call(this))},t}(k);l.ReactElementFactory.Instance.registerElement("svc-rating-question",(function(e){return n.a.createElement(N,e)}));var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createQuestionViewModel=function(){return new u.QuestionAdornerViewModel(this.props.componentData,this.props.question,null)},Object.defineProperty(t.prototype,"widgetModel",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.prototype.renderElementContent=function(){return n.a.createElement("div",{className:"svc-widget__content"},this.props.element)},t}(k);l.ReactElementFactory.Instance.registerElement("svc-widget-question",(function(e){return n.a.createElement(O,e)}));var _=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.QuestionAdornerViewModel(i.props.componentData,i.props.question,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return this.model.isDragged?null:n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{"data-sv-drop-target-survey-element":this.model.surveyElement.name,className:"svc-question__adorner"},Object(l.attachKey2click)(n.a.createElement("div",{className:" svc-question__content--selected-no-border svc-question__content",onClick:function(t){return e.model.select(e.model,new w(t))}},this.props.element))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-cell-question",(function(e){return n.a.createElement(_,e)}));var A=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.QuestionAdornerViewModel(i.props.componentData,i.props.question,null),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;if(this.model.isDragged)return null;var t=this.props.question;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{"data-sv-drop-target-survey-element":this.model.surveyElement.name,className:"svc-question__adorner"},Object(l.attachKey2click)(n.a.createElement("div",{className:" svc-question__content--selected-no-border svc-question__content",onClick:function(t){return e.model.select(e.model,new w(t))}},this.props.element,n.a.createElement("div",{className:"svc-question__dropdown-choices"},t.visibleChoices.map((function(e,i){return n.a.createElement("div",{className:"svc-question__dropdown-choice",key:"editable_choice_".concat(i)},t.survey.wrapItemValue(l.ReactElementFactory.Instance.createElement("survey-radiogroup-item",{question:t,cssClasses:t.cssClasses,isDisplayMode:!0,item:e,textStyle:t.textStyle,index:i,isChecked:t.value===e.value}),t,e))})))))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-cell-dropdown-question",(function(e){return n.a.createElement(A,e)}));var j=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.PageViewModel(i.props.creator,i.props.page),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this),this.model.onPageSelectedCallback=function(){t.rootRef.current&&u.SurveyHelper.scrollIntoViewIfNeeded(t.rootRef.current)}},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.dispose()},t.prototype.canRender=function(){return!!this.model&&this.model.isPageLive&&!!this.model.page&&!!this.model.page.survey},t.prototype.renderElement=function(){var e=this;return Object(l.attachKey2click)(n.a.createElement("div",{ref:this.rootRef,className:"svc-page__content "+this.model.css,id:this.props.page.id,onClick:function(t){return e.model.select(e.model,new w(t))},onMouseOut:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)}},this.renderHeader(),this.renderContent(),this.renderFooter()))},t.prototype.renderContent=function(){return n.a.createElement(l.SurveyPage,{page:this.props.page,survey:this.props.survey,creator:this.props.creator,css:this.model.css})},t.prototype.renderHeader=function(){return n.a.createElement("div",{className:"svc-page__content-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.actionContainer}))},t.prototype.renderFooter=function(){var e=this;if(!this.model.allowEdit)return null;var t=this.model.questionTypeSelectorModel;return Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-page__add-new-question",onClick:function(t){t.stopPropagation(),e.model.addNewQuestion(e.model,new w(t))}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText),Object(l.attachKey2click)(n.a.createElement("button",{type:"button",onClick:function(e){e.stopPropagation(),t.action()},className:"svc-page__question-type-selector",title:this.model.addNewQuestionText},n.a.createElement("span",{className:"svc-page__question-type-selector-icon"},n.a.createElement(l.SvgIcon,{iconName:t.iconName,size:24})),n.a.createElement(l.Popup,{model:t.popupModel})))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-page",(function(e){return n.a.createElement(j,e)}));var V=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.renderElementPlaceholder=function(){var e=this;return this.model.isEmptyElement?n.a.createElement("div",{className:"svc-panel__placeholder_frame"},n.a.createElement("div",{className:"svc-panel__placeholder"},this.model.placeholderText),this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-panel__add-new-question",onClick:function(t){t.stopPropagation(),e.model.addNewQuestion()}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText))):null):null},t.prototype.renderFooter=function(){var t=this;return n.a.createElement(n.a.Fragment,null,!this.model.isEmptyElement&&this.model.surveyElement.isPanel&&this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-panel__add-new-question",onClick:function(e){e.stopPropagation(),t.model.addNewQuestion()}},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.addNewQuestionText),Object(l.attachKey2click)(n.a.createElement("button",{type:"button",onClick:function(e){e.stopPropagation(),t.model.questionTypeSelectorModel.action()},className:"svc-panel__question-type-selector",title:this.model.addNewQuestionText},n.a.createElement("span",{className:"svc-panel__question-type-selector-icon"},n.a.createElement(l.SvgIcon,{iconName:this.model.questionTypeSelectorModel.iconName,size:24})),n.a.createElement(l.Popup,{model:this.model.questionTypeSelectorModel.popupModel}))))):null,e.prototype.renderFooter.call(this))},t}(k);l.ReactElementFactory.Instance.registerElement("svc-panel",(function(e){return n.a.createElement(V,e)}));var I=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.LogoImageViewModel(t.data,null),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.root=this.rootRef.current},t.prototype.render=function(){var e=this,t=null;return t=this.model.survey.locLogo.renderedHtml?n.a.createElement(n.a.Fragment,null,n.a.createElement(l.LogoImage,{data:this.props.data.survey}),this.model.allowEdit?n.a.createElement("div",{className:"svc-image-item-value-controls"},Object(l.attachKey2click)(n.a.createElement(l.SvgIcon,{className:"svc-image-item-value-controls__button svc-image-item-value-controls__choose-file",size:24,iconName:"icon-file",onClick:function(){return e.model.chooseFile(e.model)}})),Object(l.attachKey2click)(n.a.createElement(l.SvgIcon,{className:"svc-image-item-value-controls__button svc-image-item-value-controls__remove",size:24,iconName:"icon-delete",onClick:function(){return e.model.remove(e.model)}}))):null):this.model.allowEdit?Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-logo-image-placeholder",onClick:function(){return e.model.chooseFile(e.model)}},this.model.chooseLogoPlaceholder)):null,n.a.createElement("div",{ref:this.rootRef,className:"svc-logo-image"},n.a.createElement("input",{"aria-hidden":"true",type:"file",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input"}),t)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-logo-image",(function(e){return n.a.createElement(I,e)}));var z=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderClear=function(){var e=this;return!this.questionBase.isReadOnly&&this.questionBase.showClear?n.a.createElement(Z,{classes:"spg-question-link__clear-button",click:function(){return e.question.doClearClick()},selected:this.question.isSelected,text:u.editorLocalization.getString("pe.clear")}):null},t.prototype.renderElement=function(){var e=this;return n.a.createElement(n.a.Fragment,null,n.a.createElement(Z,{classes:"spg-link-value-button spg-question-link__set-button",click:function(){return e.question.doLinkClick()},selected:this.question.isSelected,disabled:this.question.isReadOnly,text:this.question.linkValueText}),this.renderClear())},t}(l.SurveyQuestionElementBase);l.ReactQuestionFactory.Instance.registerQuestion("linkvalue",(function(e){return n.a.createElement(z,e)}));var M=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"embeddedSurvey",{get:function(){return this.props.element||this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.embeddedSurvey)return null;var e=this.embeddedSurvey.embeddedSurvey;return e&&e.currentPage?n.a.createElement(l.SurveyPage,{survey:e,page:e.currentPage,css:e.css,creator:this.creator}):null},t}(l.SurveyQuestionElementBase);l.ReactQuestionFactory.Instance.registerQuestion("embeddedsurvey",(function(e){return n.a.createElement(M,e)}));var q=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),t.prototype.createQuestionElement=function(e){return l.ReactQuestionFactory.Instance.createQuestion(!e.isDefaultRendering||e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isInputReadOnly,creator:this})},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t.prototype.renderError=function(e,t,i){return null},t.prototype.render=function(){var e=this.survey.getAllQuestions()[0];return n.a.createElement(n.a.Fragment,null,n.a.createElement(l.SurveyQuestion,{creator:this,element:e}))},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("svc-question-editor-content",(function(e){return n.a.createElement(q,e)}));var R=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.ItemValueWrapperViewModel(i.props.componentData.creator,i.props.question,i.props.item),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;this.model.item=this.props.item;var t=this.model.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__add",title:this.model.tooltip,onClick:function(){return e.model.add(e.model)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-add_16x16"}))):n.a.createElement(n.a.Fragment,null," ",this.model.isDraggable?n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__drag",title:this.model.dragTooltip},n.a.createElement(l.SvgIcon,{className:"svc-item-value-controls__drag-icon",size:24,iconName:"icon-drag-area-indicator"})):null,this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-item-value-controls__button svc-item-value-controls__remove",title:this.model.tooltip,onClick:function(){return e.model.remove(e.model)}},n.a.createElement(l.SvgIcon,{size:16,iconName:"icon-remove_16x16"}))):null);return n.a.createElement("div",{className:"svc-item-value-wrapper"+(this.model.allowAdd?" svc-item-value--new":"")+(this.model.isDragging?" svc-item-value--dragging":"")+(this.model.isDragDropGhost?" svc-item-value--ghost":"")+(this.model.isDragDropMoveDown?" svc-item-value--movedown":"")+(this.model.isDragDropMoveUp?" svc-item-value--moveup":""),key:this.props.element.key,"data-sv-drop-target-item-value":this.model.isDraggable?this.model.item.value:void 0,onPointerDown:function(t){return e.model.onPointerDown(t)}},n.a.createElement("div",{className:"svc-item-value__ghost"}),n.a.createElement("div",{className:"svc-item-value-controls"},t),n.a.createElement("div",{className:"svc-item-value__item",onClick:function(t){return e.model.select(e.model,t)}},this.props.element))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-item-value",(function(e){return n.a.createElement(R,e)}));var L=function(e){function t(t){var i=e.call(this,t)||this;return i.preventDragHandler=function(e){e.preventDefault()},i.model=new u.ImageItemValueWrapperViewModel(i.props.componentData.creator,i.props.question,i.props.item,null,null),i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.itemsRoot=this.rootRef.current},t.prototype.render=function(){var e=this;this.model.item=this.props.item;var t=!this.props.question.isItemInList(this.props.item),i=null;return i=t?n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-image-item-value__item"},n.a.createElement("div",{className:"sd-imagepicker__item sd-imagepicker__item--inline"},n.a.createElement("label",{className:"sd-imagepicker__label"},n.a.createElement("div",{style:{width:this.props.question.imageWidth?this.props.question.imageWidth+"px":void 0,height:this.props.question.imageHeight?this.props.question.imageHeight+"px":void 0},className:"sd-imagepicker__image"})))),n.a.createElement("div",{className:"svc-image-item-value-controls"},this.model.allowAdd?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__add",onClick:function(){return e.model.chooseNewFile(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-add-lg"}))):null)):n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-image-item-value__item"},this.props.element),n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__drag-area-indicator",onPointerDown:function(t){return e.model.onPointerDown(t)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-drag-area-indicator"})),n.a.createElement("div",{className:"svc-image-item-value-controls"},this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__choose-file",onClick:function(){return e.model.chooseFile(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-file"}))):null,this.model.allowRemove?Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-image-item-value-controls__button svc-image-item-value-controls__remove",onClick:function(){return e.model.remove(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-delete"}))):null)),n.a.createElement("div",{ref:this.rootRef,className:"svc-image-item-value-wrapper"+(t?" svc-image-item-value--new":"")+(this.model.isDragDropGhost?" svc-image-item-value-wrapper--ghost":""),key:this.props.element.key,"data-sv-drop-target-item-value":this.model.isDraggable?this.model.item.value:void 0,onPointerDown:function(t){return e.model.onPointerDown(t)},onDragStart:this.preventDragHandler},n.a.createElement("div",{className:"svc-image-item-value-wrapper__ghost"}),n.a.createElement("div",{className:"svc-image-item-value-wrapper__content"},n.a.createElement("input",{type:"file","aria-hidden":"true",tabIndex:-1,accept:"image/*",className:"svc-choose-file-input",style:{position:"absolute",opacity:0,width:"1px",height:"1px",overflow:"hidden"}}),i))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-image-item-value",(function(e){return n.a.createElement(L,e)}));var D=function(e){function t(t){var i=e.call(this,t)||this,o=i.props.componentData;return i.model=new u.MatrixCellWrapperViewModel(o.creator,o.element,o.question,o.row,o.column),i}return o(t,e),t.prototype.componentDidUpdate=function(t,i){e.prototype.componentDidUpdate.call(this,t,i);var o=this.props.componentData;this.model.templateData=o.element,this.model.row=o.row,this.model.column=o.column,this.model.question=o.question},t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this,t=null;return this.model.question&&(t=n.a.createElement("div",{className:"svc-matrix-cell__question-controls"},Object(l.attachKey2click)(n.a.createElement("span",{className:"svc-matrix-cell__question-controls-button",onClick:function(){return e.model.editQuestion(e.model)}},n.a.createElement(l.SvgIcon,{size:24,iconName:"icon-edit"}))))),n.a.createElement("div",{className:"svc-matrix-cell",key:this.props.element.key,onClick:function(t){return!e.props.question&&e.model.selectContext(e.model,t)},onMouseOut:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)},onMouseOver:function(t){return e.model.hover(t.nativeEvent,t.currentTarget)}},n.a.createElement("div",{className:"svc-matrix-cell--selected"+(this.model.isSelected?" svc-visible":"")}),this.props.element,t)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-matrix-cell",(function(e){return n.a.createElement(D,e)}));var B=function(e){function t(t){var i=e.call(this,t)||this;return t.survey&&(i.model=new u.SurveyResultsModel(t.survey)),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return this.model?n.a.createElement("div",{className:"svd_test_results"},n.a.createElement("div",{className:"svd_results_header"},n.a.createElement("h2",null,this.model.surveyResultsText)),n.a.createElement("ul",{className:"navbar-default container-fluid nav nav-tabs editor-tabs"},n.a.createElement("li",{className:"nav-item "+this.model.resultViewType=="table"?"active":""},Object(l.attachKey2click)(n.a.createElement("a",{className:"nav-link",href:"#",onClick:function(){return e.model.selectTableClick(e.model)}},this.model.getLocString("ed.surveyResultsTable")))),n.a.createElement("li",{className:"nav-item "+this.model.resultViewType=="text"?"active":""},Object(l.attachKey2click)(n.a.createElement("a",{className:"nav-link",href:"#",onClick:function(){return e.model.selectJsonClick(e.model)}},this.model.getLocString("ed.surveyResultsJson"))))),this.renderResultAsText(),this.renderResultAsTable()):null},t.prototype.renderResultAsText=function(){return"text"!==this.model.resultViewType?null:n.a.createElement("div",{className:"svd_results_text svd-light-bg-color"},n.a.createElement("div",null,this.model.resultText))},t.prototype.renderResultAsTable=function(){return"table"!==this.model.resultViewType?null:n.a.createElement("div",{className:"svd_results_table svd-light-bg-color"},n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",{className:"svd-light-background-color"},n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsTitle),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsName),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsValue),n.a.createElement("th",{className:"svd-dark-border-color"},this.model.resultsDisplayValue))),n.a.createElement("tbody",null,this.renderRows(this.model.resultData))))},t.prototype.renderRows=function(e){var t=this;return e.map((function(e){return t.renderRow(e)}))},t.prototype.renderRow=function(e){return n.a.createElement(n.a.Fragment,null,n.a.createElement("tr",{"data-bind":"click: toggle"},n.a.createElement("td",{className:"svd-dark-border-color"},e.isNode?n.a.createElement("span",{className:""},"▶"):null,n.a.createElement("span",null,e.title)),n.a.createElement("td",{className:"svd-dark-border-color"},e.name),n.a.createElement("td",{className:"svd-dark-border-color"},n.a.createElement("div",{className:"survey-result-value"},e.getString(e.value))),n.a.createElement("td",{className:"svd-dark-border-color"},e.getString(e.displayValue))),this.renderRows(e.data))},t}(l.SurveyElementBase),H=function(e){function t(t){var i=e.call(this,t)||this;return i.model=new u.ToolboxToolViewModel(i.item,i.props.creator),i}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompact",{get:function(){return this.props.isCompact},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this,t=this.item,i="svc-toolbox__tool "+t.css+(t.isVisible?"":" sv-action--hidden"),o=l.ReactElementFactory.Instance.createElement(this.item.component||"svc-toolbox-item",{item:this.item,creator:this.creator,isCompact:this.isCompact});return n.a.createElement("div",{className:i,key:t.id,onPointerDown:function(t){t.persist(),e.model.onPointerDown(t)}},n.a.createElement("div",{className:"sv-action__content"},this.isCompact&&t.needSeparator?n.a.createElement("div",{className:"svc-toolbox__category-separator"}):null,o))},t}(l.SurveyElementBase),F=function(e){function t(t){var i=e.call(this,t)||this,o=i.props.item;return i.model=new u.ToolboxToolViewModel(o,i.props.creator),i}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this,t="svc-toolbox__item svc-toolbox__item--"+this.item.iconName;return Object(l.attachKey2click)(n.a.createElement("div",{className:t,tabIndex:0,role:"button","aria-label":this.item.tooltip+" "+u.editorLocalization.getString("toolbox")+" item",onClick:function(t){t.persist(),e.model.click(t)}},n.a.createElement("span",{className:"svc-toolbox__item-container"},n.a.createElement(l.SvgIcon,{size:24,iconName:this.item.iconName})),this.props.isCompact?n.a.createElement("span",{className:"svc-toolbox__item-banner svc-item__banner"},n.a.createElement(l.SvgIcon,{size:24,iconName:this.item.iconName}),n.a.createElement("span",{className:"svc-toolbox__item-title"},this.item.title)):n.a.createElement("span",{className:"svc-toolbox__item-title"},this.item.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-toolbox-item",(function(e){return n.a.createElement(F,e)}));var Q=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toolbox",{get:function(){return this.creator.toolbox},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.toolbox},t.prototype.render=function(){return this.toolbox.hasActions?n.a.createElement("div",{className:"svc-toolbox"},n.a.createElement("div",{className:"svc-toolbox__container"},1==this.toolbox.categories.length?n.a.createElement("div",{className:"svc-toolbox__category"},this.renderItems(this.toolbox.visibleActions)):this.renderCategories())):null},t.prototype.renderItems=function(e){var t=this;return e.map((function(e,i){return n.a.createElement(H,{item:e,creator:t.creator,key:"item"+i,isCompact:!1})}))},t.prototype.renderCategories=function(){var e=this;return this.toolbox.categories.map((function(t){var i=e.renderCategoryHeader(t),o=e.renderCategoryContent(t);return n.a.createElement("div",{className:"svc-toolbox__category",key:t.name},i,o)}))},t.prototype.renderCategoryHeader=function(e){var t=e.collapsed?"arrow-down":"arrow-up",i="svc-toolbox__category-header__button svc-string-editor__button--"+(e.collapsed?"expand":"collapse");return Object(l.attachKey2click)(n.a.createElement("div",{className:"svc-toolbox__category-header",onClick:function(t){return e.toggleState()}},n.a.createElement("span",{className:"svc-toolbox__category-title"},e.name),n.a.createElement("div",{className:"svc-toolbox__category-header__controls"},n.a.createElement(l.SvgIcon,{className:i,iconName:"icon-"+t,size:24}))))},t.prototype.renderCategoryContent=function(e){return e.collapsed?[]:this.renderItems(e.items)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-toolbox",(function(e){return n.a.createElement(Q,e)}));var U=function(e){function t(t){var i=e.call(this,t)||this;return i.rootRef=n.a.createRef(),i}return o(t,e),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.rootRef.current;t&&(this.manager=new c.VerticalResponsivityManager(t,this.toolbox,".svc-toolbox__tool:not(.sv-dots)>.sv-action__content",40))},t.prototype.componentWillUnmount=function(){this.manager&&this.manager.dispose(),e.prototype.componentWillUnmount.call(this)},t.prototype.render=function(){if(!this.toolbox.hasActions)return null;var e="svc-toolbox"+(this.toolbox.isCompact?" svc-toolbox--compact":"");return n.a.createElement("div",{ref:this.rootRef,className:e},n.a.createElement("div",{className:"svc-toolbox__container"},this.toolbox.isCompact||1==this.toolbox.categories.length?n.a.createElement("div",{className:"svc-toolbox__category"},this.renderItems(this.toolbox.renderedActions,this.toolbox.isCompact)):this.renderCategories()))},t.prototype.renderItems=function(e,t){var i=this;return e.map((function(e,o){return n.a.createElement(H,{item:e,creator:i.creator,isCompact:t,key:"item"+o})}))},t.prototype.renderCategoryContent=function(e){var t=[];return e.collapsed||(t=this.renderItems(e.items,!1)),t},t}(Q);l.ReactElementFactory.Instance.registerElement("svc-adaptive-toolbox",(function(e){return n.a.createElement(U,e)}));var G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onPropChangedHandler=function(e,i){if(!t.isRendering){var o=["showProgressBar","progressBarType","currentPageValue"];if(!(o.indexOf(i.name)<0)){for(var r={},n=0;n<o.length;n++){var a=o[n];r[a]=t.survey[a]}t.setState(r)}}},t}return o(t,e),t.prototype.componentDidMount=function(){this.setHandler()},t.prototype.componentDidUpdate=function(e,t){this.setHandler()},t.prototype.setHandler=function(){this.survey&&!this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler)&&this.survey.onPropertyChanged.add(this.onPropChangedHandler)},t.prototype.componentWillUnmount=function(){this.survey&&this.survey.onPropertyChanged.remove(this.onPropChangedHandler)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"location",{get:function(){return this.props.location},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTop",{get:function(){return"top"==this.location},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return this.isTop?this.survey.isShowProgressBarOnTop:this.survey.isShowProgressBarOnBottom},t.prototype.renderElement=function(){return l.ReactElementFactory.Instance.createElement("sv-progress-"+this.survey.progressBarType.toLowerCase(),{survey:this.survey,css:this.survey.css,isTop:this.isTop})},t}(l.SurveyElementBase),J=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.initResizeManager(this.containerRef.current)},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.resetResizeManager()},t.prototype.canRender=function(){return!!this.model&&e.prototype.canRender.call(this)},t.prototype.renderElement=function(){var e=this,t={display:this.model.visible?"":"none"},i="svc-side-bar"+(this.model.flyoutPanelMode?" svc-flyout-side-bar":""),o=this.model.tabs.map((function(e){return n.a.createElement(W,{item:e,key:e.id})}));return n.a.createElement("div",{className:i,style:{display:this.model.hasVisibleTabs?"":"none"}},n.a.createElement("div",{className:"svc-side-bar__shadow"}),n.a.createElement("div",{className:"svc-flex-column svc-side-bar__wrapper"},n.a.createElement("div",{ref:this.containerRef,style:t,className:"svc-side-bar__container"},n.a.createElement("div",{className:"svc-side-bar__container-header"},n.a.createElement("div",{className:"svc-side-bar__container-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.toolbar})),n.a.createElement("div",{className:"svc-side-bar__container-title"},this.model.headerText)),n.a.createElement("div",{className:"svc-side-bar__container-content"},o),n.a.createElement("div",{className:"svc-side-bar__container-close"},n.a.createElement("div",{className:"sd-btn sd-btn--action svc-side-bar__container-close-button",onClick:function(){return e.model.collapseSideBar()}}," ",this.model.closeText," ")))))},t}(l.SurveyElementBase),W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){return this.item.visible?l.ReactElementFactory.Instance.createElement(this.item.componentName,{model:this.item.model}):null},t}(l.SurveyElementBase);l.ReactQuestionFactory.Instance.registerQuestion("svc-side-bar-tab",(function(e){return n.a.createElement(W,e)}));l.ReactElementFactory.Instance.registerElement("svc-side-bar",(function(e){return n.a.createElement(J,e)}));var K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return n.a.createElement("div",{className:"sd-translation-line-skeleton"})},t}(n.a.Component);l.ReactElementFactory.Instance.registerElement("sd-translation-line-skeleton",(function(e){return n.a.createElement(K,e)}));var Z=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.renderElement=function(){var e=this,t=this.props.classes+" svc-action-button";return this.props.selected&&(t+=" svc-action-button--selected"),this.props.disabled?(t+=" svc-action-button--disabled",n.a.createElement("span",{className:t},this.props.text)):n.a.createElement(n.a.Fragment,null,Object(l.attachKey2click)(n.a.createElement("span",{role:"button",className:t,onClick:function(t){t.stopPropagation(),e.props.click()}},this.props.text)))},t}(l.SurveyElementBase),Y=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=n.a.createRef(),i.model=new u.PageNavigatorViewModel(t.creator.pagesController),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.containerRef.current;if(t){var i=this;t.parentElement.parentElement.onscroll=function(e){return i.model.onContainerScroll(e.currentTarget)}}},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this);var t=this.containerRef.current;t&&(t.parentElement.parentElement.onscroll=void 0),this.model.dispose()},t.prototype.renderElement=function(){var e=this,t="svc-page-navigator__selector";return this.model.isPopupOpened&&(t+=" svc-page-navigator__selector--opened"),n.a.createElement("div",{className:"svc-page-navigator",ref:this.containerRef,style:{display:this.model.visible?"flex":"none"}},Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.model.togglePageSelector()},title:this.model.pageSelectorCaption},n.a.createElement(l.SvgIcon,{className:"svc-page-navigator__navigator-icon",iconName:this.model.icon,size:24}),n.a.createElement(l.Popup,{model:this.model.popupModel}))),this.model.items.map((function(e){return n.a.createElement(X,{key:e.id,item:e})})))},t}(l.SurveyElementBase),X=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.getStateElement=function(){return this.props.item},t.prototype.renderElement=function(){var e=this.props.item,t="svc-page-navigator-item-content";return Object(c.unwrap)(e.active)&&(t+=" svc-page-navigator-item--selected"),Object(c.unwrap)(e.disabled)&&(t+=" svc-page-navigator-item--disabled"),n.a.createElement("div",{className:"svc-page-navigator-item"},Object(l.attachKey2click)(n.a.createElement("div",{className:t,onClick:function(){return e.action(e)}},n.a.createElement("div",{className:"svc-page-navigator-item__dot",title:e.title}),n.a.createElement("div",{className:"svc-page-navigator-item__banner svc-item__banner"},n.a.createElement("span",{className:"svc-text svc-text--small svc-text--bold"},e.title),n.a.createElement("span",{className:"svc-page-navigator-item__dot"})))))},t}(l.SurveyElementBase),$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.model.creator},enumerable:!1,configurable:!0}),t.prototype.getStateElements=function(){return[this.model,this.model.survey]},t.prototype.renderPages=function(){var e=this,t=this.creator.survey.pages.map((function(t,i){return n.a.createElement("div",{className:"svc-page","data-sv-drop-target-page":t.name,"data-sv-drop-target-survey-element":t.name,key:t.id+"-"+i},e.renderPage(t))}));return this.model.showNewPage&&t.push(n.a.createElement("div",{className:"svc-page","data-sv-drop-target-survey-element":"newGhostPage",key:this.model.newPage.id+"-ghost-new-page"},this.renderPage(this.model.newPage))),t},t.prototype.renderPage=function(e){return l.ReactElementFactory.Instance.createElement("svc-page",{survey:this.creator.survey,page:e,creator:this.creator})},t.prototype.renderElement=function(){var e=this,t=this.creator.survey,i="svc-tab-designer "+this.model.getRootCss();return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"svc-flex-column"},this.model.isToolboxVisible?l.ReactElementFactory.Instance.createElement("svc-adaptive-toolbox",{model:this.creator}):null),n.a.createElement("div",{className:i,onClick:function(){return e.model.clickDesigner()}},n.a.createElement("div",{className:this.model.getDesignerCss()},this.creator.allowEditSurveyTitle?n.a.createElement("div",null,n.a.createElement(l.SurveyHeader,{survey:t})):null,n.a.createElement(G,{survey:t,location:"top"}),this.renderPages(),n.a.createElement(G,{survey:t,location:"bottom",css:t.css})),this.creator.showPageNavigator?n.a.createElement("div",{className:"svc-tab-designer__page-navigator"},n.a.createElement(Y,{creator:this.creator,pages:this.creator.pagesController.pages})):null))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-designer",(function(e){return n.a.createElement($,e)}));var ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return n.a.createElement("div",{className:"svc-creator-tab__content svc-embed-tab__content"},this.model.survey?n.a.createElement(l.Survey,{model:this.model.survey}):null)},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-embed",(function(e){return n.a.createElement(ee,e)}));var te=function(e){function t(t){var i=e.call(this,t)||this;return i.aceEditorrRef=n.a.createRef(),i}return o(t,e),t.prototype.getStateElement=function(){return this.model},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.model.init(ace.edit(this.aceEditorrRef.current))},t.prototype.renderElement=function(){return n.a.createElement("div",{className:"svc-creator-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__ace-editor",ref:this.aceEditorrRef})))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-json-editor-ace",(function(e){return n.a.createElement(te,e)}));var ie=function(e){function t(t){var i=e.call(this,t)||this;return i.model.canShowErrors=!1,i}return o(t,e),t.prototype.getStateElement=function(){return this.model},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){for(var e=this,t=[],i=1,o=this.model.userFriendlyErrors,r=0;r<o.length;r++)t.push(n.a.createElement("span",{key:i},n.a.createElement("b",null,"Error: "))),i++,t.push(n.a.createElement("span",{key:i},o[r])),i++;return n.a.createElement("div",{className:"svc-creator-tab__content"},n.a.createElement("div",{className:"svc-json-editor-tab__content"},n.a.createElement("textarea",{className:"svc-json-editor-tab__content-area",value:this.model.text,onChange:function(t){return e.model.text=t.target.value},onKeyDown:function(t){return e.model.checkKey(t,t)},disabled:this.model.readOnly,"aria-label":this.model.ariaLabel}),t.length>0&&n.a.createElement("button",{type:"button",className:"svc-json-editor-tab__errros_button",onClick:function(){return e.model.toggleErrors()}},this.model.errorButtonText),this.model.canShowErrors&&n.a.createElement("div",{className:"svc-json-editor-tab__content-errors"},t)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-json-editor-textarea",(function(e){return n.a.createElement(ie,e)}));var oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.button},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e=this,t="svc-logic-tab__content-action"+(void 0===this.model.enabled||this.model.enabled?"":" svc-logic-tab__content-action--disabled");return Object(l.attachKey2click)(n.a.createElement("div",{role:"button",onClick:function(t){t.stopPropagation(),e.model.action()},className:t,title:this.model.title},n.a.createElement("span",{className:"svc-text svc-text--normal svc-text--bold"},this.model.title)))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-logic-add-button",(function(e){return n.a.createElement(oe,e)}));var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){this.model;var e=this.renderViewContent();return n.a.createElement("div",{className:"svc-creator-tab__content"},e)},t.prototype.renderViewContent=function(){var e="svc-plugin-tab__content svc-logic-tab__content "+(this.model.hasItems?"":"svc-logic-tab__empty");void 0===this.model.addNewButton.enabled||this.model.addNewButton.enabled;return n.a.createElement(r.Fragment,null,n.a.createElement("div",{className:e},n.a.createElement(l.Survey,{model:this.model.itemsSurvey}),this.model.hasItems?null:n.a.createElement("div",{className:"svc-logic-tab__content-empty"},n.a.createElement("span",{className:"svc-text"},this.model.emptyTabPlaceHolder)),n.a.createElement(oe,{button:this.model.addNewButton})))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-logic",(function(e){return n.a.createElement(re,e)}));var ne=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model.survey?this.model.hasFrame?n.a.createElement("div",{className:"svd-simulator-main "+this.model.simulatorMainCssClass},n.a.createElement("div",{className:"svd-simulator-wrapper",style:{width:this.model.simulatorFrame.frameWidth+"px",height:this.model.simulatorFrame.frameHeight+"px"}},n.a.createElement("div",{className:"svd-simulator-frame "+this.model.simulatorFrame.cssClass,style:{width:(this.model.landscapeOrientation?this.model.simulatorFrame.frameHeight:this.model.simulatorFrame.frameWidth)+"px",height:(this.model.landscapeOrientation?this.model.simulatorFrame.frameWidth:this.model.simulatorFrame.frameHeight)+"px"}}),n.a.createElement("div",{className:"svd-simulator",style:{width:this.model.simulatorFrame.width/this.model.simulatorFrame.scale+"px",height:this.model.simulatorFrame.height/this.model.simulatorFrame.scale+"px",transform:"scale("+this.model.simulatorFrame.scale+") translate(-50%, -50%)"}},n.a.createElement("div",{className:"svd-simulator-content"},n.a.createElement(l.Survey,{model:this.model.survey}))))):n.a.createElement("div",{className:"svd-simulator-main"},n.a.createElement("div",{className:"svd-simulator-content"},n.a.createElement(l.Survey,{model:this.model.survey}))):n.a.createElement("div",{className:"svd-simulator-main"})},t}(l.SurveyElementBase),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){var e="svc-creator-tab__content svc-test-tab__content"+(this.model.isPageToolbarVisible?" svc-creator-tab__content--with-toolbar":"");return n.a.createElement("div",{className:e},n.a.createElement("div",{className:"svc-plugin-tab__content"},n.a.createElement(ne,{model:this.model.simulator}),this.model.isRunning?null:n.a.createElement(B,{survey:this.model.simulator.survey})),this.getBottomToolbar())},t.prototype.getBottomToolbar=function(){return this.model.isPageToolbarVisible?n.a.createElement("div",{className:"svc-test-tab__content-actions"},n.a.createElement(l.SurveyActionBar,{model:this.model.pages})):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-test",(function(e){return n.a.createElement(ae,e)}));var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model?n.a.createElement("div",{className:"svc-creator-tab__content svc-translation-tab"},this.renderElementContent()):null},t.prototype.renderElementContent=function(){return this.model.isEmpty?n.a.createElement("div",{className:"st-no-strings"},n.a.createElement("span",null,this.model.noStringsText)):n.a.createElement("div",{className:"st-content"},n.a.createElement("div",{className:"svc-flex-column st-strings-wrapper"},n.a.createElement("div",{className:"svc-flex-row st-strings-header"},n.a.createElement(l.Survey,{model:this.model.stringsHeaderSurvey})),n.a.createElement("div",{className:"svc-flex-row svc-plugin-tab__content st-strings"},n.a.createElement(l.Survey,{model:this.model.stringsSurvey}))))},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-tab-translation",(function(e){return n.a.createElement(se,e)}));var le=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){return this.model.isVisible?n.a.createElement("div",{className:"svc-object-selector"},n.a.createElement(l.List,{model:this.model.list})):null},t}(l.SurveyElementBase);l.ReactElementFactory.Instance.registerElement("svc-object-selector",(function(e){return n.a.createElement(le,e)}));var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.canRender=function(){return!!this.model&&e.prototype.canRender.call(this)},t.prototype.renderElement=function(){return n.a.createElement(l.Survey,{model:this.model.survey})},t}(l.SurveyElementBase);l.ReactQuestionFactory.Instance.registerQuestion("buttongroup",(function(e){return n.a.createElement(l.SurveyQuestionButtonGroup,e)}));var ce;l.ReactElementFactory.Instance.registerElement("svc-property-grid",(function(e){return n.a.createElement(ue,e)})),ce="".concat("1.9.3-beta.1")}])}));
|