\n";
/***/ }),
/***/ "./src/knockout/components/title/title-actions.ts":
/*!********************************************************!*\
!*** ./src/knockout/components/title/title-actions.ts ***!
\********************************************************/
/*! exports provided: TitleActionViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleActionViewModel", function() { return TitleActionViewModel; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var template = __webpack_require__(/*! ./title-actions.html */ "./src/knockout/components/title/title-actions.html");
var TitleActionViewModel;
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("sv-title-actions", {
viewModel: {
createViewModel: function (params, componentInfo) {
var element = params.element;
return {
element: element,
toolbar: element.getTitleToolbar(),
};
},
},
template: template,
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["RendererFactory"].Instance.registerRenderer("element", "title-actions", "sv-title-actions");
/***/ }),
/***/ "./src/knockout/components/title/title-content.html":
/*!**********************************************************!*\
!*** ./src/knockout/components/title/title-content.html ***!
\**********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n \n\n\n \n \n \n \n \n  \n \n \n \n  \n \n \n \n  \n \n \n";
/***/ }),
/***/ "./src/knockout/components/title/title-content.ts":
/*!********************************************************!*\
!*** ./src/knockout/components/title/title-content.ts ***!
\********************************************************/
/*! exports provided: TitleContentViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleContentViewModel", function() { return TitleContentViewModel; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
var template = __webpack_require__(/*! ./title-content.html */ "./src/knockout/components/title/title-content.html");
var TitleContentViewModel;
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("survey-element-title-content", {
viewModel: {
createViewModel: function (params, componentInfo) {
var element = params.element;
return { element: element };
},
},
template: template,
});
/***/ }),
/***/ "./src/knockout/components/title/title-element.ts":
/*!********************************************************!*\
!*** ./src/knockout/components/title/title-element.ts ***!
\********************************************************/
/*! exports provided: TitleElementViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleElementViewModel", function() { return TitleElementViewModel; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* eslint-disable no-restricted-globals */
var TitleElementViewModel;
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("survey-element-title", {
viewModel: {
createViewModel: function (params, componentInfo) {
var element = params.element;
var rootEl = componentInfo.element;
var titleEl = document.createElement(element.titleTagName);
var ariaLabelAttr = !element.titleAriaLabel ? "" : "'aria-label': element.titleAriaLabel,";
var bindings = "css: element.cssTitle, attr: { " + ariaLabelAttr + " id: element.ariaTitleId, tabindex: element.titleTabIndex, 'aria-expanded': element.titleAriaExpanded, role: element.titleAriaRole }";
if (element.hasTitleEvents) {
bindings += ", key2click";
}
titleEl.setAttribute("data-bind", bindings);
titleEl.innerHTML = "";
var dummyNode = rootEl.nextSibling;
rootEl.parentNode.insertBefore(document.createComment(" ko if: element.hasTitle "), dummyNode);
rootEl.parentNode.insertBefore(titleEl, dummyNode);
rootEl.parentNode.insertBefore(document.createComment(" /ko "), dummyNode);
rootEl.parentNode.removeChild(dummyNode);
return { element: element };
},
},
template: "",
});
/***/ }),
/***/ "./src/knockout/koPopupSurvey.ts":
/*!***************************************!*\
!*** ./src/knockout/koPopupSurvey.ts ***!
\***************************************/
/*! exports provided: PopupSurveyImplementor, PopupSurvey, SurveyWindow */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyImplementor", function() { return PopupSurveyImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return PopupSurvey; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return SurveyWindow; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var koTemplate = __webpack_require__(/*! html-loader?interpolate!val-loader!./templates/window.html */ "./node_modules/html-loader/index.js?interpolate!./node_modules/val-loader/index.js!./src/knockout/templates/window.html");
var PopupSurveyImplementor = /** @class */ (function (_super) {
__extends(PopupSurveyImplementor, _super);
function PopupSurveyImplementor(window) {
var _this = _super.call(this, window) || this;
_this.window = window;
_this.window.showingChangedCallback = function () {
_this.doShowingChanged();
};
_this.window["doExpand"] = function () {
_this.window.changeExpandCollapse();
};
_this.window["doHide"] = function () {
_this.window.hide();
};
_this.window["doToggleFullScreen"] = function () {
_this.window.toggleFullScreen();
};
return _this;
}
PopupSurveyImplementor.prototype.doShowingChanged = function () {
var windowElement = this.window.windowElement;
var rootElement = survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].environment.rootElement;
if (this.window.isShowing) {
windowElement.innerHTML = this.template;
knockout__WEBPACK_IMPORTED_MODULE_0__["cleanNode"](windowElement);
knockout__WEBPACK_IMPORTED_MODULE_0__["applyBindings"](this.window, windowElement);
rootElement.appendChild(windowElement);
}
else {
rootElement.removeChild(windowElement);
windowElement.innerHTML = "";
}
};
Object.defineProperty(PopupSurveyImplementor.prototype, "template", {
get: function () {
return this.window.templateValue ? this.window.templateValue : koTemplate;
},
enumerable: false,
configurable: true
});
return PopupSurveyImplementor;
}(_kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["PopupSurveyModel"].prototype["onCreating"] = function () {
this.implementor = new PopupSurveyImplementor(this);
};
var PopupSurvey = /** @class */ (function (_super) {
__extends(PopupSurvey, _super);
function PopupSurvey(jsonObj, initialModel) {
if (initialModel === void 0) { initialModel = null; }
return _super.call(this, jsonObj, initialModel) || this;
}
return PopupSurvey;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["PopupSurveyModel"]));
var SurveyWindow = /** @class */ (function (_super) {
__extends(SurveyWindow, _super);
function SurveyWindow() {
return _super !== null && _super.apply(this, arguments) || this;
}
return SurveyWindow;
}(PopupSurvey));
/***/ }),
/***/ "./src/knockout/kobase.ts":
/*!********************************!*\
!*** ./src/knockout/kobase.ts ***!
\********************************/
/*! exports provided: ImplementorBase */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImplementorBase", function() { return ImplementorBase; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
var ImplementorBase = /** @class */ (function () {
function ImplementorBase(element) {
this.element = element;
this.implementedMark = "__surveyImplementedKo";
if (element[this.implementedMark]) {
return;
}
element.iteratePropertiesHash(function (hash, key) {
ImplementorBase.doIterateProperties(element, hash, key);
});
element.createArrayCoreHandler = function (hash, key) {
var res = knockout__WEBPACK_IMPORTED_MODULE_0__["observableArray"]();
res()["onArrayChanged"] = function () {
if (element.isLoadingFromJson || element.isDisposed)
return;
res.notifySubscribers();
};
hash[key] = res;
return res();
};
element.getPropertyValueCoreHandler = function (hash, key) {
if (hash[key] === undefined) {
hash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]();
}
return typeof hash[key] === "function" ? hash[key]() : hash[key];
};
element.setPropertyValueCoreHandler = function (hash, key, val) {
if (hash[key] !== undefined) {
// if(hash[key]() === val) {
// hash[key].notifySubscribers();
// }
hash[key](val);
}
else {
hash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](val);
}
};
element[this.implementedMark] = true;
}
ImplementorBase.doIterateProperties = function (element, hash, key) {
var val = hash[key];
if (val === "function")
return;
if (Array.isArray(val)) {
hash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observableArray"](val);
val["onArrayChanged"] = function () {
if (element.isLoadingFromJson || element.isDisposed)
return;
hash[key].notifySubscribers();
};
}
else {
hash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](val);
}
};
ImplementorBase.prototype.dispose = function () {
this.element.iteratePropertiesHash(function (hash, key) {
hash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["unwrap"](hash[key]);
if (Array.isArray(hash[key])) {
hash[key]["onArrayChanged"] = undefined;
}
});
this.element.createArrayCoreHandler = undefined;
this.element.getPropertyValueCoreHandler = undefined;
this.element.setPropertyValueCoreHandler = undefined;
delete this.element[this.implementedMark];
};
return ImplementorBase;
}());
/***/ }),
/***/ "./src/knockout/koflowpanel.ts":
/*!*************************************!*\
!*** ./src/knockout/koflowpanel.ts ***!
\*************************************/
/*! exports provided: FlowPanel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FlowPanel", function() { return FlowPanel; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
/* eslint-disable no-restricted-globals */
var FlowPanel = /** @class */ (function (_super) {
__extends(FlowPanel, _super);
function FlowPanel(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.koElementType = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]("survey-flowpanel");
new _kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"](_this);
_this.onCreating();
var self = _this;
_this.koElementAfterRender = function (el, con) {
return self.elementAfterRender(el, con);
};
return _this;
}
FlowPanel.prototype.onCreating = function () { };
FlowPanel.prototype.getHtmlForQuestion = function (question) {
return ('');
};
FlowPanel.prototype.elementAfterRender = function (elements, con) {
if (!this.survey)
return;
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (!!el) {
this.survey.afterRenderQuestion(con, el);
}
};
return FlowPanel;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["FlowPanelModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("flowpanel", function () {
return new FlowPanel();
});
/*
ElementFactory.Instance.registerElement("flowpanel", name => {
return new FlowPanel(name);
});
*/
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("f-panel", {
viewModel: {
createViewModel: function (params, componentInfo) {
var self = this;
var question = knockout__WEBPACK_IMPORTED_MODULE_0__["unwrap"](params.question);
self.element = componentInfo.element;
self.element.innerHTML = question.html;
self.isOnFocus = false;
self.wasChanged = false;
self.isContentUpdating = false;
question.contentChangedCallback = function () {
if (self.isContentUpdating)
return;
knockout__WEBPACK_IMPORTED_MODULE_0__["cleanNode"](self.element);
self.element.innerHTML = question.html;
knockout__WEBPACK_IMPORTED_MODULE_0__["applyBindings"]({ question: question }, self.element);
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
};
self.element.onfocus = function () {
self.isOnFocus = true;
};
self.element.onblur = function () {
if (self.wasChanged)
self.updateContent();
self.isOnFocus = false;
self.wasChanged = false;
};
self.element.ondragend = function (event) {
var regEx = /{(.*?(element:)[^$].*?)}/g;
var str = self.element.innerHTML;
var res = regEx.exec(str);
if (res !== null) {
var q = question.getQuestionFromText(res[0]);
if (!!q) {
question.content = self.getContent(q.name);
}
}
};
self.updateContent = function () {
self.isContentUpdating = true;
question.content = self.getContent();
self.isContentUpdating = false;
};
question.getContent = self.getContent = function (deletedName) {
var content = document.createElement("div");
content.innerHTML = self.element.innerHTML;
var cps = content.querySelectorAll('span[question="true"]');
for (var i = 0; i < cps.length; i++) {
var name = cps[i].id.replace("flowpanel_", "");
var html = "";
if (name !== deletedName) {
var el = question.getQuestionByName(name);
html = !!el ? question.getElementContentText(el) : "";
}
cps[i].outerHTML = html;
}
return content.innerHTML;
};
var config = {
characterData: true,
attributes: true,
childList: true,
subtree: true,
};
var callback = function (mutationsList, observer) {
if (!self.isOnFocus)
return;
self.wasChanged = true;
};
var observer = new MutationObserver(callback);
observer.observe(self.element, config);
return { question: question };
},
},
template: "",
});
/***/ }),
/***/ "./src/knockout/kopage.ts":
/*!********************************!*\
!*** ./src/knockout/kopage.ts ***!
\********************************/
/*! exports provided: QuestionRow, PanelImplementorBase, Panel, Page */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRow", function() { return QuestionRow; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PanelImplementorBase", function() { return PanelImplementorBase; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Panel", function() { return Panel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Page", function() { return Page; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionRow = /** @class */ (function (_super) {
__extends(QuestionRow, _super);
function QuestionRow(panel) {
var _this = _super.call(this, panel) || this;
_this.panel = panel;
new _kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"](_this);
var self = _this;
_this.koElementAfterRender = function (el, con) {
return self.elementAfterRender(el, con);
};
return _this;
}
QuestionRow.prototype.getElementType = function (el) {
return el.isPanel ? "survey-panel" : "survey-question";
};
QuestionRow.prototype.koAfterRender = function (el, con) {
for (var i = 0; i < el.length; i++) {
var tEl = el[i];
var nName = tEl.nodeName;
if (nName == "#text")
tEl.data = "";
}
};
QuestionRow.prototype.elementAfterRender = function (elements, con) {
var _this = this;
if (!this.panel || !this.panel.survey)
return;
setTimeout(function () {
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (!el)
return;
var element = con;
if (element.isDisposed)
return;
if (element.isPanel && _this.panel.survey) {
_this.panel.survey.afterRenderPanel(con, el);
}
else {
element.afterRender(el);
}
}, 0);
};
QuestionRow.prototype.rowAfterRender = function (elements, model) {
if (!model.isNeedRender) {
var rowContainerDiv_1 = elements[0].parentElement;
var timer_1 = setTimeout(function () { return model.startLazyRendering(rowContainerDiv_1); }, 1);
knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].domNodeDisposal.addDisposeCallback(rowContainerDiv_1, function () {
clearTimeout(timer_1);
model.stopLazyRendering();
if (!model.isDisposed) {
model.isNeedRender = !model.isLazyRendering();
}
});
}
};
QuestionRow.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this.koElementAfterRender = undefined;
};
return QuestionRow;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionRowModel"]));
var PanelImplementorBase = /** @class */ (function (_super) {
__extends(PanelImplementorBase, _super);
function PanelImplementorBase(panel) {
var _this = _super.call(this, panel) || this;
_this.panel = panel;
return _this;
}
return PanelImplementorBase;
}(_kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"]));
var Panel = /** @class */ (function (_super) {
__extends(Panel, _super);
function Panel(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.onCreating();
var self = _this;
_this.koElementType = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]("survey-panel");
return _this;
}
Panel.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new PanelImplementorBase(this);
};
Panel.prototype.createRow = function () {
return new QuestionRow(this);
};
Panel.prototype.onCreating = function () { };
Panel.prototype.onNumChanged = function (value) {
this.locTitle.strChanged();
};
Panel.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return Panel;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["PanelModel"]));
var Page = /** @class */ (function (_super) {
__extends(Page, _super);
function Page(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.onCreating();
return _this;
}
Page.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"](this);
};
Page.prototype.createRow = function () {
return new QuestionRow(this);
};
Page.prototype.onCreating = function () { };
Page.prototype.onNumChanged = function (value) {
this.locTitle.strChanged();
};
Page.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this._implementor.dispose();
this._implementor = undefined;
};
return Page;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["PageModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("panel", function () {
return new Panel();
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("page", function () {
return new Page();
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["ElementFactory"].Instance.registerElement("panel", function (name) {
return new Panel(name);
});
/***/ }),
/***/ "./src/knockout/koquestion.ts":
/*!************************************!*\
!*** ./src/knockout/koquestion.ts ***!
\************************************/
/*! exports provided: QuestionImplementor */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionImplementor", function() { return QuestionImplementor; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionImplementor = /** @class */ (function (_super) {
__extends(QuestionImplementor, _super);
function QuestionImplementor(question) {
var _this = _super.call(this, question) || this;
_this.question = question;
_this._koValue = knockout__WEBPACK_IMPORTED_MODULE_0__["observableArray"]();
_this.disposedObjects = [];
_this.callBackFunctions = [];
var isSynchronizing = false;
_this._koValue.subscribe(function (newValue) {
if (!isSynchronizing) {
_this.setKoValue(newValue);
}
});
Object.defineProperty(_this.question, "koValue", {
get: function () {
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isTwoValueEquals(_this._koValue(), _this.getKoValue(), false, true, false)) {
try {
isSynchronizing = true;
_this._koValue(_this.getKoValue());
}
finally {
isSynchronizing = false;
}
}
return _this._koValue;
},
enumerable: true,
configurable: true,
});
question.surveyLoadCallback = function () {
_this.onSurveyLoad();
};
_this.setObservaleObj("koTemplateName", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
return _this.getTemplateName();
}));
_this.setObservaleObj("koElementType", knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]("survey-question"));
_this.koDummy = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.setCallbackFunc("koQuestionAfterRender", function (el, con) {
_this.koQuestionAfterRender(el, con);
});
_this.setCallbackFunc("koMouseDown", function () {
_this.question.onMouseDown();
return true;
});
return _this;
}
QuestionImplementor.prototype.setObservaleObj = function (name, obj, addToQuestion) {
if (addToQuestion === void 0) { addToQuestion = true; }
this.disposedObjects.push(name);
if (addToQuestion) {
this.question[name] = obj;
}
return obj;
};
QuestionImplementor.prototype.setCallbackFunc = function (name, func) {
this.callBackFunctions.push(name);
this.question[name] = func;
};
QuestionImplementor.prototype.getKoValue = function () {
return this.question.value;
};
QuestionImplementor.prototype.setKoValue = function (val) {
this.question.value = val;
};
QuestionImplementor.prototype.onSurveyLoad = function () { };
QuestionImplementor.prototype.getQuestionTemplate = function () {
return this.question.getTemplate();
};
QuestionImplementor.prototype.getTemplateName = function () {
if (!!this.question &&
this.question.customWidget &&
!this.question.customWidget.widgetJson.isDefaultRender)
return "survey-widget-" + this.question.customWidget.name;
return "survey-question-" + this.getQuestionTemplate();
};
QuestionImplementor.prototype.getNo = function () {
return this.question.visibleIndex > -1
? this.question.visibleIndex + 1 + ". "
: "";
};
QuestionImplementor.prototype.updateKoDummy = function () {
if (this.question.isDisposed)
return;
this.koDummy(this.koDummy() + 1);
this.question.locTitle.strChanged();
};
QuestionImplementor.prototype.koQuestionAfterRender = function (elements, con) {
var _this = this;
setTimeout(function () {
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements, true);
if (!!el) {
_this.question.afterRenderQuestionElement(el);
if (!!_this.question && !!_this.question.customWidget) {
_this.question.customWidget.afterRender(_this.question, el);
}
knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].domNodeDisposal.addDisposeCallback(el, function () {
_this.question.beforeDestroyQuestionElement(el);
if (!!_this.question && !!_this.question.customWidget) {
try {
_this.question.customWidget.willUnmount(_this.question, el);
}
catch (_a) {
// eslint-disable-next-line no-console
console.warn("Custom widget will unmount failed");
}
}
});
}
}, 0);
};
QuestionImplementor.prototype.dispose = function () {
_super.prototype.dispose.call(this);
for (var i_1 = 0; i_1 < this.disposedObjects.length; i_1++) {
var name_1 = this.disposedObjects[i_1];
var obj = this[name_1] || this.question[name_1];
if (!obj)
continue;
if (this[name_1])
this[name_1] = undefined;
if (this.question[name_1])
this.question[name_1] = undefined;
if (obj["dispose"])
obj.dispose();
}
this.disposedObjects = [];
for (var i = 0; i < this.callBackFunctions.length; i++) {
this.question[this.callBackFunctions[i]] = undefined;
}
this.callBackFunctions = [];
this.question.unregisterPropertyChangedHandlers(["visibleIndex"]);
};
return QuestionImplementor;
}(_kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"]));
/***/ }),
/***/ "./src/knockout/koquestion_baseselect.ts":
/*!***********************************************!*\
!*** ./src/knockout/koquestion_baseselect.ts ***!
\***********************************************/
/*! exports provided: QuestionSelectBaseImplementor, QuestionCheckboxBaseImplementor */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBaseImplementor", function() { return QuestionSelectBaseImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBaseImplementor", function() { return QuestionCheckboxBaseImplementor; });
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionSelectBaseImplementor = /** @class */ (function (_super) {
__extends(QuestionSelectBaseImplementor, _super);
function QuestionSelectBaseImplementor(question) {
var _this = _super.call(this, question) || this;
_this.onCreated();
return _this;
}
QuestionSelectBaseImplementor.prototype.onCreated = function () { };
Object.defineProperty(QuestionSelectBaseImplementor.prototype, "isOtherSelected", {
get: function () {
return this.question.isOtherSelected;
},
enumerable: false,
configurable: true
});
return QuestionSelectBaseImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_0__["QuestionImplementor"]));
var QuestionCheckboxBaseImplementor = /** @class */ (function (_super) {
__extends(QuestionCheckboxBaseImplementor, _super);
function QuestionCheckboxBaseImplementor(question) {
var _this = _super.call(this, question) || this;
_this.setCallbackFunc("koAfterRender", _this.koAfterRender);
return _this;
}
QuestionCheckboxBaseImplementor.prototype.koAfterRender = function (el, con) {
var tEl = el[0];
if (tEl.nodeName == "#text")
tEl.data = "";
tEl = el[el.length - 1];
if (tEl.nodeName == "#text")
tEl.data = "";
};
return QuestionCheckboxBaseImplementor;
}(QuestionSelectBaseImplementor));
/***/ }),
/***/ "./src/knockout/koquestion_boolean.ts":
/*!********************************************!*\
!*** ./src/knockout/koquestion_boolean.ts ***!
\********************************************/
/*! exports provided: QuestionBoolean */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionBoolean", function() { return QuestionBoolean; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionBoolean = /** @class */ (function (_super) {
__extends(QuestionBoolean, _super);
function QuestionBoolean(name) {
return _super.call(this, name) || this;
}
QuestionBoolean.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionBoolean.prototype.onSwitchClick = function (data, event) {
return _super.prototype.onSwitchClickModel.call(this, Object(survey_core__WEBPACK_IMPORTED_MODULE_0__["getOriginalEvent"])(event));
};
QuestionBoolean.prototype.onTrueLabelClick = function (data, event) {
return this.onLabelClick(event, !this.swapOrder);
};
QuestionBoolean.prototype.onFalseLabelClick = function (data, event) {
return this.onLabelClick(event, this.swapOrder);
};
QuestionBoolean.prototype.onKeyDown = function (data, event) {
return this.onKeyDownCore(event);
};
QuestionBoolean.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionBoolean;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionBooleanModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("boolean", function () {
return new QuestionBoolean("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("boolean", function (name) {
return new QuestionBoolean(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_buttongroup.ts":
/*!************************************************!*\
!*** ./src/knockout/koquestion_buttongroup.ts ***!
\************************************************/
/*! exports provided: QuestionButtonGroup */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroup", function() { return QuestionButtonGroup; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionButtonGroup = /** @class */ (function (_super) {
__extends(QuestionButtonGroup, _super);
function QuestionButtonGroup(name) {
return _super.call(this, name) || this;
}
QuestionButtonGroup.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_1__["QuestionCheckboxBaseImplementor"](this);
};
QuestionButtonGroup.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionButtonGroup;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionButtonGroupModel"]));
// Serializer.overrideClassCreator("buttongroup", function() {
// return new QuestionButtonGroup("");
// });
// QuestionFactory.Instance.registerQuestion("buttongroup", name => {
// var q = new QuestionButtonGroup(name);
// q.choices = QuestionFactory.DefaultChoices;
// return q;
// });
/***/ }),
/***/ "./src/knockout/koquestion_checkbox.ts":
/*!*********************************************!*\
!*** ./src/knockout/koquestion_checkbox.ts ***!
\*********************************************/
/*! exports provided: QuestionCheckboxImplementor, QuestionCheckbox */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxImplementor", function() { return QuestionCheckboxImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckbox", function() { return QuestionCheckbox; });
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionCheckboxImplementor = /** @class */ (function (_super) {
__extends(QuestionCheckboxImplementor, _super);
function QuestionCheckboxImplementor(question) {
return _super.call(this, question) || this;
}
QuestionCheckboxImplementor.prototype.getKoValue = function () {
return this.question.renderedValue;
};
QuestionCheckboxImplementor.prototype.setKoValue = function (val) {
this.question.renderedValue = val;
};
return QuestionCheckboxImplementor;
}(_koquestion_baseselect__WEBPACK_IMPORTED_MODULE_0__["QuestionCheckboxBaseImplementor"]));
var QuestionCheckbox = /** @class */ (function (_super) {
__extends(QuestionCheckbox, _super);
function QuestionCheckbox(name) {
var _this = _super.call(this, name) || this;
_this._selectAllItemImpl = undefined;
_this._otherItemImpl = undefined;
_this._selectAllItemImpl = new _kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"](_this.selectAllItem);
_this._otherItemImpl = new _kobase__WEBPACK_IMPORTED_MODULE_2__["ImplementorBase"](_this.otherItem);
return _this;
}
QuestionCheckbox.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionCheckboxImplementor(this);
};
QuestionCheckbox.prototype.dispose = function () {
if (this._selectAllItemImpl) {
this._selectAllItemImpl.dispose();
this._selectAllItemImpl = undefined;
}
if (this._otherItemImpl) {
this._otherItemImpl.dispose();
this._otherItemImpl = undefined;
}
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionCheckbox;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionCheckboxModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("checkbox", function () {
return new QuestionCheckbox("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("checkbox", function (name) {
var q = new QuestionCheckbox(name);
q.choices = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_comment.ts":
/*!********************************************!*\
!*** ./src/knockout/koquestion_comment.ts ***!
\********************************************/
/*! exports provided: QuestionComment */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionComment", function() { return QuestionComment; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionComment = /** @class */ (function (_super) {
__extends(QuestionComment, _super);
function QuestionComment(name) {
return _super.call(this, name) || this;
}
QuestionComment.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionComment.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionComment;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionCommentModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("comment", function () {
return new QuestionComment("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("comment", function (name) {
return new QuestionComment(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_custom.ts":
/*!*******************************************!*\
!*** ./src/knockout/koquestion_custom.ts ***!
\*******************************************/
/*! exports provided: QuestionCustom, QuestionComposite */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionCustom", function() { return QuestionCustom; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionComposite", function() { return QuestionComposite; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionCustom = /** @class */ (function (_super) {
__extends(QuestionCustom, _super);
function QuestionCustom(name, questionJSON) {
return _super.call(this, name, questionJSON) || this;
}
QuestionCustom.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionCustom.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionCustom;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionCustomModel"]));
var QuestionComposite = /** @class */ (function (_super) {
__extends(QuestionComposite, _super);
function QuestionComposite(name, questionJSON) {
return _super.call(this, name, questionJSON) || this;
}
QuestionComposite.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionComposite.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionComposite;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionCompositeModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.onCreateCustom = function (name, questionJSON) {
return new QuestionCustom(name, questionJSON);
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.onCreateComposite = function (name, questionJSON) {
return new QuestionComposite(name, questionJSON);
};
/***/ }),
/***/ "./src/knockout/koquestion_dropdown.ts":
/*!*********************************************!*\
!*** ./src/knockout/koquestion_dropdown.ts ***!
\*********************************************/
/*! exports provided: QuestionDropdown */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdown", function() { return QuestionDropdown; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionDropdownImplementor = /** @class */ (function (_super) {
__extends(QuestionDropdownImplementor, _super);
function QuestionDropdownImplementor(question) {
return _super.call(this, question) || this;
}
return QuestionDropdownImplementor;
}(_koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__["QuestionSelectBaseImplementor"]));
var QuestionDropdown = /** @class */ (function (_super) {
__extends(QuestionDropdown, _super);
function QuestionDropdown(name) {
var _this = _super.call(this, name) || this;
_this.koDisableOption = function (option, item) {
if (!item)
return;
knockout__WEBPACK_IMPORTED_MODULE_0__["applyBindingsToNode"](option, { disable: knockout__WEBPACK_IMPORTED_MODULE_0__["computed"](function () { return !item.isEnabled; }) }, item);
};
return _this;
}
QuestionDropdown.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionDropdownImplementor(this);
};
QuestionDropdown.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionDropdown;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionDropdownModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("dropdown", function () {
return new QuestionDropdown("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("dropdown", function (name) {
var q = new QuestionDropdown(name);
q.choices = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_empty.ts":
/*!******************************************!*\
!*** ./src/knockout/koquestion_empty.ts ***!
\******************************************/
/*! exports provided: QuestionEmpty */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionEmpty", function() { return QuestionEmpty; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionEmpty = /** @class */ (function (_super) {
__extends(QuestionEmpty, _super);
function QuestionEmpty(name) {
return _super.call(this, name) || this;
}
QuestionEmpty.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionEmpty.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionEmpty;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionEmptyModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("empty", function () {
return new QuestionEmpty("");
});
/***/ }),
/***/ "./src/knockout/koquestion_expression.ts":
/*!***********************************************!*\
!*** ./src/knockout/koquestion_expression.ts ***!
\***********************************************/
/*! exports provided: QuestionExpression */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionExpression", function() { return QuestionExpression; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionExpression = /** @class */ (function (_super) {
__extends(QuestionExpression, _super);
function QuestionExpression(name) {
return _super.call(this, name) || this;
}
QuestionExpression.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionExpression.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionExpression;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionExpressionModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("expression", function () {
return new QuestionExpression("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("expression", function (name) {
return new QuestionExpression(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_file.ts":
/*!*****************************************!*\
!*** ./src/knockout/koquestion_file.ts ***!
\*****************************************/
/*! exports provided: QuestionFile */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionFile", function() { return QuestionFile; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionFileImplementor = /** @class */ (function (_super) {
__extends(QuestionFileImplementor, _super);
function QuestionFileImplementor(question) {
var _this = _super.call(this, question) || this;
_this.koRecalc = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.setObservaleObj("koState", knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]("empty"));
_this.setObservaleObj("koHasValue", knockout__WEBPACK_IMPORTED_MODULE_0__["computed"](function () { return _this.question.koState() === "loaded"; }));
_this.setObservaleObj("koData", knockout__WEBPACK_IMPORTED_MODULE_0__["computed"](function () {
if (_this.question.koHasValue()) {
return _this.question.previewValue;
}
return [];
}));
_this.setObservaleObj("ko", knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]());
_this.setObservaleObj("koInputTitle", knockout__WEBPACK_IMPORTED_MODULE_0__["computed"](function () {
_this.koRecalc();
return _this.question.inputTitle;
}));
_this.setObservaleObj("koChooseFileCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
return _this.question.getChooseFileCss();
}));
_this.setCallbackFunc("koGetChooseButtonText", function () {
_this.question.koState();
return _this.question.chooseButtonText;
});
_this.setCallbackFunc("ondrop", function (data, event) {
_this.question.onDrop(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("ondragover", function (data, event) {
_this.question.onDragOver(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("ondragenter", function (data, event) {
_this.question.onDragEnter(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("ondragleave", function (data, event) {
_this.question.onDragLeave(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("dochange", function (data, event) {
_this.question.doChange(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("doclean", function (data, event) {
_this.question.doClean(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event));
});
_this.setCallbackFunc("doremovefile", function (data, event) {
_this.question.doRemoveFile(data);
});
_this.setCallbackFunc("dodownload", function (data, event) {
_this.question.doDownloadFile(Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getOriginalEvent"])(event), data);
return true;
});
return _this;
}
return QuestionFileImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"]));
var QuestionFile = /** @class */ (function (_super) {
__extends(QuestionFile, _super);
function QuestionFile(name) {
var _this = _super.call(this, name) || this;
_this.updateState = function (sender, options) {
_this.koState(options.state);
_this._implementor.koRecalc(_this._implementor.koRecalc() + 1);
};
_this.onUploadStateChanged.add(_this.updateState);
_this.updateState(_this, { state: _this.currentState });
return _this;
}
QuestionFile.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionFileImplementor(this);
};
QuestionFile.prototype.dispose = function () {
this.onUploadStateChanged.remove(this.updateState);
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionFile;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFileModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("file", function () {
return new QuestionFile("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("file", function (name) {
return new QuestionFile(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_html.ts":
/*!*****************************************!*\
!*** ./src/knockout/koquestion_html.ts ***!
\*****************************************/
/*! exports provided: QuestionHtml */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionHtml", function() { return QuestionHtml; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionHtml = /** @class */ (function (_super) {
__extends(QuestionHtml, _super);
function QuestionHtml(name) {
return _super.call(this, name) || this;
}
QuestionHtml.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionHtml.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionHtml;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionHtmlModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("html", function () {
return new QuestionHtml("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("html", function (name) {
return new QuestionHtml(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_image.ts":
/*!******************************************!*\
!*** ./src/knockout/koquestion_image.ts ***!
\******************************************/
/*! exports provided: QuestionImage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionImage", function() { return QuestionImage; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionImage = /** @class */ (function (_super) {
__extends(QuestionImage, _super);
function QuestionImage(name) {
return _super.call(this, name) || this;
}
QuestionImage.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionImage.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionImage;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionImageModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("image", function () {
return new QuestionImage("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("image", function (name) {
return new QuestionImage(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_imagepicker.ts":
/*!************************************************!*\
!*** ./src/knockout/koquestion_imagepicker.ts ***!
\************************************************/
/*! exports provided: QuestionImagePicker */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePicker", function() { return QuestionImagePicker; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionImagePickerImplementor = /** @class */ (function (_super) {
__extends(QuestionImagePickerImplementor, _super);
function QuestionImagePickerImplementor(question) {
var _this = _super.call(this, question) || this;
_this.question = question;
_this.koRecalc = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.setCallbackFunc("koGetItemClass", function (item) {
_this.koRecalc();
return question.getItemClass(item);
});
_this.question.registerFunctionOnPropertyValueChanged("value", function () {
if (_this.question.multiSelect && _this.question.isDesignMode) {
_this.koRecalc(_this.koRecalc() + 1);
}
}, "__koOnValueChangeTrigger");
return _this;
}
QuestionImagePickerImplementor.prototype.getKoValue = function () {
return this.question.renderedValue;
};
QuestionImagePickerImplementor.prototype.dispose = function () {
this.question.unRegisterFunctionOnPropertyValueChanged("value", "__koOnValueChangeTrigger");
_super.prototype.dispose.call(this);
};
return QuestionImagePickerImplementor;
}(_koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__["QuestionCheckboxBaseImplementor"]));
var QuestionImagePicker = /** @class */ (function (_super) {
__extends(QuestionImagePicker, _super);
function QuestionImagePicker(name) {
return _super.call(this, name) || this;
}
QuestionImagePicker.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionImagePickerImplementor(this);
};
QuestionImagePicker.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionImagePicker;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionImagePickerModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("imagepicker", function () {
return new QuestionImagePicker("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("imagepicker", function (name) {
var q = new QuestionImagePicker(name);
//q.choices = QuestionFactory.DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_matrix.ts":
/*!*******************************************!*\
!*** ./src/knockout/koquestion_matrix.ts ***!
\*******************************************/
/*! exports provided: QuestionMatrix */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrix", function() { return QuestionMatrix; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionMatrix = /** @class */ (function (_super) {
__extends(QuestionMatrix, _super);
function QuestionMatrix(name) {
var _this = _super.call(this, name) || this;
_this.koVisibleRows = knockout__WEBPACK_IMPORTED_MODULE_0__["observableArray"]();
_this.koVisibleColumns = knockout__WEBPACK_IMPORTED_MODULE_0__["observableArray"]();
_this.koVisibleRows(_this.visibleRows);
_this.koVisibleColumns(_this.visibleColumns);
return _this;
}
QuestionMatrix.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"](this);
};
QuestionMatrix.prototype.onColumnsChanged = function () {
_super.prototype.onColumnsChanged.call(this);
this.koVisibleColumns(this.visibleColumns);
};
QuestionMatrix.prototype.onRowsChanged = function () {
_super.prototype.onRowsChanged.call(this);
this.koVisibleRows(this.visibleRows);
};
QuestionMatrix.prototype.onSurveyLoad = function () {
_super.prototype.onSurveyLoad.call(this);
this.onRowsChanged();
};
QuestionMatrix.prototype.onMatrixRowCreated = function (row) {
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](row);
};
QuestionMatrix.prototype.getVisibleRows = function () {
var rows = _super.prototype.getVisibleRows.call(this);
this.koVisibleRows(rows);
return rows;
};
QuestionMatrix.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
this.koVisibleRows = undefined;
this.koVisibleColumns = undefined;
_super.prototype.dispose.call(this);
};
return QuestionMatrix;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("matrix", function () {
return new QuestionMatrix("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("matrix", function (name) {
var q = new QuestionMatrix(name);
q.rows = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultRows;
q.columns = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultColums;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_matrixdropdown.ts":
/*!***************************************************!*\
!*** ./src/knockout/koquestion_matrixdropdown.ts ***!
\***************************************************/
/*! exports provided: QuestionMatrixBaseImplementor, QuestionMatrixDropdown, KoQuestionMatrixDropdownRenderedTable */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseImplementor", function() { return QuestionMatrixBaseImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdown", function() { return QuestionMatrixDropdown; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "KoQuestionMatrixDropdownRenderedTable", function() { return KoQuestionMatrixDropdownRenderedTable; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionMatrixBaseImplementor = /** @class */ (function (_super) {
__extends(QuestionMatrixBaseImplementor, _super);
function QuestionMatrixBaseImplementor(question) {
var _this = _super.call(this, question) || this;
_this.koRecalc = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.matrix.onRenderedTableCreatedCallback = function (table) {
if (!!_this._tableImplementor) {
_this._tableImplementor.dispose();
}
_this._tableImplementor = new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](table);
};
_this.matrix.onRenderedTableResetCallback = function () {
if (_this.question.isDisposed)
return;
_this.koRecalc(_this.koRecalc() + 1);
};
_this.matrix.onAddColumn = function (column) {
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](column);
};
_this.setObservaleObj("koTable", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.matrix.renderedTable;
}));
_this.setCallbackFunc("koCellAfterRender", function (el, con) {
return _this.cellAfterRender(el, con);
});
_this.setCallbackFunc("koCellQuestionAfterRender", function (el, con) {
return _this.cellQuestionAfterRender(el, con);
});
_this.setCallbackFunc("koAddRowClick", function () {
_this.addRow();
});
_this.setCallbackFunc("koRemoveRowClick", function (data) {
_this.removeRow(data.row);
});
_this.setCallbackFunc("koPanelAfterRender", function (el, con) {
_this.panelAfterRender(el, con);
});
return _this;
}
Object.defineProperty(QuestionMatrixBaseImplementor.prototype, "matrix", {
get: function () { return this.question; },
enumerable: false,
configurable: true
});
QuestionMatrixBaseImplementor.prototype.cellAfterRender = function (elements, con) {
var _this = this;
if (!this.question.survey)
return;
setTimeout(function () {
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (!el)
return;
var cell = con;
if (!cell || !_this.question || !_this.question.survey || _this.question.isDisposed)
return;
var options = {
cell: cell.cell,
cellQuestion: cell.question,
htmlElement: el,
row: cell.row,
column: !!cell.cell ? cell.cell.column : null,
};
_this.question.survey.matrixAfterCellRender(_this.question, options);
if (cell.question) {
cell.question.afterRenderCore(el);
}
}, 0);
};
QuestionMatrixBaseImplementor.prototype.cellQuestionAfterRender = function (elements, con) {
if (!this.question || !this.question.survey)
return;
setTimeout(function () {
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (!el)
return;
var cell = con;
if (!cell)
return;
var question = cell.question;
if (!question || !question.survey || question.isDisposed)
return;
if (question.customWidget) {
question.customWidget.afterRender(cell.question, el);
knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].domNodeDisposal.addDisposeCallback(el, function () {
question.customWidget.willUnmount(cell.question, el);
});
}
knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].domNodeDisposal.addDisposeCallback(el, function () {
question.beforeDestroyQuestionElement(el);
});
question.afterRenderQuestionElement(el);
}, 0);
};
QuestionMatrixBaseImplementor.prototype.isAddRowTop = function () {
return false;
};
QuestionMatrixBaseImplementor.prototype.isAddRowBottom = function () {
return false;
};
QuestionMatrixBaseImplementor.prototype.addRow = function () { };
QuestionMatrixBaseImplementor.prototype.removeRow = function (row) { };
QuestionMatrixBaseImplementor.prototype.panelAfterRender = function (elements, con) {
if (!this.question || !this.question.survey)
return;
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
this.question.survey.afterRenderPanel(con, el);
};
QuestionMatrixBaseImplementor.prototype.dispose = function () {
if (!!this._tableImplementor) {
this._tableImplementor.dispose();
}
this.matrix.onRenderedTableCreatedCallback = undefined;
this.matrix.onRenderedTableResetCallback = undefined;
this.matrix.onAddColumn = undefined;
_super.prototype.dispose.call(this);
};
return QuestionMatrixBaseImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"]));
var QuestionMatrixDropdown = /** @class */ (function (_super) {
__extends(QuestionMatrixDropdown, _super);
function QuestionMatrixDropdown(name) {
return _super.call(this, name) || this;
}
QuestionMatrixDropdown.prototype.createRenderedTable = function () {
return new KoQuestionMatrixDropdownRenderedTable(this);
};
QuestionMatrixDropdown.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionMatrixBaseImplementor(this);
};
QuestionMatrixDropdown.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this._implementor.dispose();
this._implementor = undefined;
};
return QuestionMatrixDropdown;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDropdownModel"]));
var KoQuestionMatrixDropdownRenderedTable = /** @class */ (function (_super) {
__extends(KoQuestionMatrixDropdownRenderedTable, _super);
function KoQuestionMatrixDropdownRenderedTable() {
return _super !== null && _super.apply(this, arguments) || this;
}
KoQuestionMatrixDropdownRenderedTable.prototype.createRenderedRow = function (cssClasses, isDetailRow) {
if (isDetailRow === void 0) { isDetailRow = false; }
var renderedRow = new survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDropdownRenderedRow"](cssClasses, isDetailRow);
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](renderedRow);
return renderedRow;
};
KoQuestionMatrixDropdownRenderedTable.prototype.createErrorRenderedRow = function (cssClasses) {
var res = _super.prototype.createErrorRenderedRow.call(this, cssClasses);
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](res);
return res;
};
return KoQuestionMatrixDropdownRenderedTable;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDropdownRenderedTable"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("matrixdropdown", function () {
return new QuestionMatrixDropdown("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("matrixdropdown", function (name) {
var q = new QuestionMatrixDropdown(name);
q.choices = [1, 2, 3, 4, 5];
q.rows = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultRows;
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDropdownModelBase"].addDefaultColumns(q);
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_matrixdynamic.ts":
/*!**************************************************!*\
!*** ./src/knockout/koquestion_matrixdynamic.ts ***!
\**************************************************/
/*! exports provided: QuestionMatrixDynamicImplementor, QuestionMatrixDynamic */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicImplementor", function() { return QuestionMatrixDynamicImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamic", function() { return QuestionMatrixDynamic; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion_matrixdropdown */ "./src/knockout/koquestion_matrixdropdown.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionMatrixDynamicImplementor = /** @class */ (function (_super) {
__extends(QuestionMatrixDynamicImplementor, _super);
function QuestionMatrixDynamicImplementor(question) {
var _this = _super.call(this, question) || this;
_this.question["getKoPopupIsVisible"] = _this.getKoPopupIsVisible;
return _this;
}
QuestionMatrixDynamicImplementor.prototype.addRow = function () {
this.question.addRowUI();
};
QuestionMatrixDynamicImplementor.prototype.removeRow = function (row) {
this.question.removeRowUI(row);
};
QuestionMatrixDynamicImplementor.prototype.getKoPopupIsVisible = function (row) {
return knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](row.isDetailPanelShowing);
};
QuestionMatrixDynamicImplementor.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this.question["getKoPopupIsVisible"] = undefined;
};
return QuestionMatrixDynamicImplementor;
}(_koquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_2__["QuestionMatrixBaseImplementor"]));
var QuestionMatrixDynamic = /** @class */ (function (_super) {
__extends(QuestionMatrixDynamic, _super);
function QuestionMatrixDynamic(name) {
return _super.call(this, name) || this;
}
QuestionMatrixDynamic.prototype.createRenderedTable = function () {
return new _koquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_2__["KoQuestionMatrixDropdownRenderedTable"](this);
};
QuestionMatrixDynamic.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionMatrixDynamicImplementor(this);
};
QuestionMatrixDynamic.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionMatrixDynamic;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDynamicModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("matrixdynamic", function () {
return new QuestionMatrixDynamic("");
});
// QuestionMatrixDropdownRenderedRow.prototype["onCreating"] = function() {
// new ImplementorBase(this);
// };
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("matrixdynamic", function (name) {
var q = new QuestionMatrixDynamic(name);
q.choices = [1, 2, 3, 4, 5];
q.rowCount = 2;
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMatrixDropdownModelBase"].addDefaultColumns(q);
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_multipletext.ts":
/*!*************************************************!*\
!*** ./src/knockout/koquestion_multipletext.ts ***!
\*************************************************/
/*! exports provided: koMultipleTextEditorModel, MultipleTextItem, QuestionMultipleTextImplementor, QuestionMultipleText */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "koMultipleTextEditorModel", function() { return koMultipleTextEditorModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItem", function() { return MultipleTextItem; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextImplementor", function() { return QuestionMultipleTextImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleText", function() { return QuestionMultipleText; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
/* harmony import */ var _koquestion_text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./koquestion_text */ "./src/knockout/koquestion_text.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var koMultipleTextEditorModel = /** @class */ (function (_super) {
__extends(koMultipleTextEditorModel, _super);
function koMultipleTextEditorModel(name) {
return _super.call(this, name) || this;
}
koMultipleTextEditorModel.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion_text__WEBPACK_IMPORTED_MODULE_3__["QuestionTextImplementor"](this);
};
koMultipleTextEditorModel.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return koMultipleTextEditorModel;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["MultipleTextEditorModel"]));
var MultipleTextItem = /** @class */ (function (_super) {
__extends(MultipleTextItem, _super);
function MultipleTextItem(name, title) {
if (name === void 0) { name = null; }
if (title === void 0) { title = null; }
return _super.call(this, name, title) || this;
}
MultipleTextItem.prototype.createEditor = function (name) {
return new koMultipleTextEditorModel(name);
};
return MultipleTextItem;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["MultipleTextItemModel"]));
var QuestionMultipleTextImplementor = /** @class */ (function (_super) {
__extends(QuestionMultipleTextImplementor, _super);
function QuestionMultipleTextImplementor(question) {
var _this = _super.call(this, question) || this;
_this.koRecalc = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.setObservaleObj("koItemCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.getItemCss();
}));
_this.setObservaleObj("koItemTitleCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.getItemTitleCss();
}));
return _this;
}
return QuestionMultipleTextImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"]));
var QuestionMultipleText = /** @class */ (function (_super) {
__extends(QuestionMultipleText, _super);
function QuestionMultipleText(name) {
return _super.call(this, name) || this;
}
QuestionMultipleText.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionMultipleTextImplementor(this);
};
QuestionMultipleText.prototype.onRowCreated = function (row) {
new _kobase__WEBPACK_IMPORTED_MODULE_4__["ImplementorBase"](row);
return row;
};
QuestionMultipleText.prototype.createTextItem = function (name, title) {
return new MultipleTextItem(name, title);
};
QuestionMultipleText.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
this.koRows = undefined;
_super.prototype.dispose.call(this);
};
return QuestionMultipleText;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMultipleTextModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("multipletextitem", function () {
return new MultipleTextItem("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("multipletext", function () {
return new QuestionMultipleText("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("multipletext", function (name) {
var q = new QuestionMultipleText(name);
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionMultipleTextModel"].addDefaultItems(q);
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_paneldynamic.ts":
/*!*************************************************!*\
!*** ./src/knockout/koquestion_paneldynamic.ts ***!
\*************************************************/
/*! exports provided: QuestionPanelDynamicImplementor, QuestionPanelDynamic */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicImplementor", function() { return QuestionPanelDynamicImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamic", function() { return QuestionPanelDynamic; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionPanelDynamicImplementor = /** @class */ (function (_super) {
__extends(QuestionPanelDynamicImplementor, _super);
function QuestionPanelDynamicImplementor(question) {
var _this = _super.call(this, question) || this;
_this.koRecalc = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](0);
_this.setCallbackFunc("koAddPanelClick", function () {
_this.addPanel();
});
_this.setCallbackFunc("koRemovePanelClick", function (data) {
_this.removePanel(data);
});
_this.setCallbackFunc("koPrevPanelClick", function () {
_this.question.goToPrevPanel();
});
_this.setCallbackFunc("koNextPanelClick", function () {
_this.question.goToNextPanel();
});
_this.setObservaleObj("koCanAddPanel", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.canAddPanel;
}));
_this.setObservaleObj("koCanRemovePanel", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.canRemovePanel;
}));
_this.setObservaleObj("koIsPrevButton", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isPrevButtonVisible;
}));
_this.setObservaleObj("koIsNextButton", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isNextButtonVisible;
}));
_this.setObservaleObj("koIsRange", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isRangeShowing;
}));
_this.setObservaleObj("koPanel", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.currentPanel;
}));
_this.setObservaleObj("koIsList", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isRenderModeList;
}));
_this.setObservaleObj("koIsProgressTop", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isProgressTopShowing;
}));
_this.setObservaleObj("koIsProgressBottom", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.isProgressBottomShowing;
}));
var koRangeValue = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](_this.question.currentIndex);
koRangeValue.subscribe(function (newValue) {
_this.question.currentIndex = newValue;
});
_this.setObservaleObj("koRangeValue", koRangeValue);
_this.setObservaleObj("koRangeMax", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.visiblePanelCount - 1;
}));
_this.setObservaleObj("koAddButtonCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.getAddButtonCss();
}));
_this.setObservaleObj("koPrevButtonCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.getPrevButtonCss();
}));
_this.setObservaleObj("koNextButtonCss", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.getNextButtonCss();
}));
_this.setObservaleObj("koProgressText", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.progressText;
}));
_this.setObservaleObj("koProgress", knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () {
_this.koRecalc();
return _this.question.progress;
}));
_this.setCallbackFunc("koPanelAfterRender", function (el, con) {
_this.panelAfterRender(el, con);
});
_this.question.panelCountChangedCallback = function () {
_this.onPanelCountChanged();
};
_this.question.renderModeChangedCallback = function () {
_this.onRenderModeChanged();
};
_this.question.currentIndexChangedCallback = function () {
_this.onCurrentIndexChanged();
};
return _this;
}
QuestionPanelDynamicImplementor.prototype.onPanelCountChanged = function () {
this.onCurrentIndexChanged();
};
QuestionPanelDynamicImplementor.prototype.onRenderModeChanged = function () {
this.onCurrentIndexChanged();
};
QuestionPanelDynamicImplementor.prototype.onCurrentIndexChanged = function () {
if (this.question.isDisposed)
return;
this.koRecalc(this.koRecalc() + 1);
this.question.koRangeValue(this.question.currentIndex);
};
QuestionPanelDynamicImplementor.prototype.addPanel = function () {
this.question.addPanelUI();
};
QuestionPanelDynamicImplementor.prototype.removePanel = function (val) {
if (!this.question.isRenderModeList) {
val = this.question.currentPanel;
}
this.question.removePanelUI(val);
};
QuestionPanelDynamicImplementor.prototype.panelAfterRender = function (elements, con) {
if (!this.question || !this.question.survey)
return;
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
this.question.survey.afterRenderPanel(con, el);
};
QuestionPanelDynamicImplementor.prototype.dispose = function () {
this.question.panelCountChangedCallback = undefined;
this.question.renderModeChangedCallback = undefined;
this.question.currentIndexChangedCallback = undefined;
_super.prototype.dispose.call(this);
};
return QuestionPanelDynamicImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"]));
var QuestionPanelDynamic = /** @class */ (function (_super) {
__extends(QuestionPanelDynamic, _super);
function QuestionPanelDynamic(name) {
return _super.call(this, name) || this;
}
QuestionPanelDynamic.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionPanelDynamicImplementor(this);
};
QuestionPanelDynamic.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionPanelDynamic;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionPanelDynamicModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("paneldynamic", function () {
return new QuestionPanelDynamic("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("paneldynamic", function (name) {
return new QuestionPanelDynamic(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_radiogroup.ts":
/*!***********************************************!*\
!*** ./src/knockout/koquestion_radiogroup.ts ***!
\***********************************************/
/*! exports provided: QuestionRadiogroup */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroup", function() { return QuestionRadiogroup; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionRadiogroup = /** @class */ (function (_super) {
__extends(QuestionRadiogroup, _super);
function QuestionRadiogroup(name) {
return _super.call(this, name) || this;
}
QuestionRadiogroup.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_1__["QuestionCheckboxBaseImplementor"](this);
};
QuestionRadiogroup.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionRadiogroup;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionRadiogroupModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("radiogroup", function () {
return new QuestionRadiogroup("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("radiogroup", function (name) {
var q = new QuestionRadiogroup(name);
q.choices = survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_ranking.ts":
/*!********************************************!*\
!*** ./src/knockout/koquestion_ranking.ts ***!
\********************************************/
/*! exports provided: QuestionRanking */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRanking", function() { return QuestionRanking; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionRanking = /** @class */ (function (_super) {
__extends(QuestionRanking, _super);
function QuestionRanking() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.koHandleKeydown = function (data, event) {
_this.handleKeydown(event, data);
return true;
};
_this.koHandlePointerDown = function (data, event) {
if (!_this.survey.isDesignMode)
event.preventDefault();
_this.handlePointerDown(event, data, event.currentTarget);
return true;
};
return _this;
}
QuestionRanking.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionRanking.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionRanking;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionRankingModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("ranking", function () {
return new QuestionRanking("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("ranking", function (name) {
var q = new QuestionRanking(name);
q.choices = survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_rating.ts":
/*!*******************************************!*\
!*** ./src/knockout/koquestion_rating.ts ***!
\*******************************************/
/*! exports provided: QuestionRatingImplementor, QuestionRating */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingImplementor", function() { return QuestionRatingImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRating", function() { return QuestionRating; });
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionRatingImplementor = /** @class */ (function (_super) {
__extends(QuestionRatingImplementor, _super);
function QuestionRatingImplementor(question) {
var _this = _super.call(this, question) || this;
_this.onCreated();
return _this;
}
QuestionRatingImplementor.prototype.onCreated = function () { };
return QuestionRatingImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_0__["QuestionImplementor"]));
var QuestionRating = /** @class */ (function (_super) {
__extends(QuestionRating, _super);
function QuestionRating(name) {
return _super.call(this, name) || this;
}
QuestionRating.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionRatingImplementor(this);
};
QuestionRating.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionRating;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionRatingModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("rating", function () {
return new QuestionRating("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("rating", function (name) {
return new QuestionRating(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_signaturepad.ts":
/*!*************************************************!*\
!*** ./src/knockout/koquestion_signaturepad.ts ***!
\*************************************************/
/*! exports provided: QuestionSignaturePad */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePad", function() { return QuestionSignaturePad; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionSignaturePad = /** @class */ (function (_super) {
__extends(QuestionSignaturePad, _super);
function QuestionSignaturePad(name) {
return _super.call(this, name) || this;
}
QuestionSignaturePad.prototype.koOnBlur = function (data, event) {
return this.onBlur(event);
};
QuestionSignaturePad.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion__WEBPACK_IMPORTED_MODULE_1__["QuestionImplementor"](this);
};
QuestionSignaturePad.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionSignaturePad;
}(survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionSignaturePadModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].overrideClassCreator("signaturepad", function () {
return new QuestionSignaturePad("");
});
survey_core__WEBPACK_IMPORTED_MODULE_0__["QuestionFactory"].Instance.registerQuestion("signaturepad", function (name) {
return new QuestionSignaturePad(name);
});
/***/ }),
/***/ "./src/knockout/koquestion_tagbox.ts":
/*!*******************************************!*\
!*** ./src/knockout/koquestion_tagbox.ts ***!
\*******************************************/
/*! exports provided: QuestionTagbox */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionTagbox", function() { return QuestionTagbox; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion_baseselect */ "./src/knockout/koquestion_baseselect.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
/*
export class QuestionCheckboxImplementor extends QuestionCheckboxBaseImplementor {
constructor(question: Question) {
super(question);
}
protected getKoValue() {
return this.question.renderedValue;
}
}
*/
var QuestionTagbox = /** @class */ (function (_super) {
__extends(QuestionTagbox, _super);
function QuestionTagbox(name) {
var _this = _super.call(this, name) || this;
_this.isAllSelectedUpdating = false;
_this.koAllSelected = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](_this.isAllSelected);
_this.koAllSelected.subscribe(function (newValue) {
if (_this.isAllSelectedUpdating)
return;
if (newValue)
_this.selectAll();
else
_this.clearValue();
});
return _this;
}
QuestionTagbox.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new _koquestion_baseselect__WEBPACK_IMPORTED_MODULE_2__["QuestionCheckboxBaseImplementor"](this);
};
QuestionTagbox.prototype.onSurveyValueChanged = function (newValue) {
_super.prototype.onSurveyValueChanged.call(this, newValue);
this.updateAllSelected();
};
QuestionTagbox.prototype.onVisibleChoicesChanged = function () {
_super.prototype.onVisibleChoicesChanged.call(this);
this.updateAllSelected();
};
QuestionTagbox.prototype.updateAllSelected = function () {
this.isAllSelectedUpdating = true;
this.koAllSelected(this.isAllSelected);
this.isAllSelectedUpdating = false;
};
QuestionTagbox.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
this.koAllSelected = undefined;
_super.prototype.dispose.call(this);
};
return QuestionTagbox;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionTagboxModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("tagbox", function () {
return new QuestionTagbox("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("tagbox", function (name) {
var q = new QuestionTagbox(name);
q.choices = survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].DefaultChoices;
return q;
});
/***/ }),
/***/ "./src/knockout/koquestion_text.ts":
/*!*****************************************!*\
!*** ./src/knockout/koquestion_text.ts ***!
\*****************************************/
/*! exports provided: QuestionTextImplementor, QuestionText */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionTextImplementor", function() { return QuestionTextImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionText", function() { return QuestionText; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _koquestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./koquestion */ "./src/knockout/koquestion.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var QuestionTextImplementor = /** @class */ (function (_super) {
__extends(QuestionTextImplementor, _super);
function QuestionTextImplementor(question) {
var _this = _super.call(this, question) || this;
_this.setCallbackFunc("koOnFocus", function (_, event) {
_this.question.onFocus(event);
return true;
});
_this.setCallbackFunc("koOnBlur", function (_, event) {
_this.question.onBlur(event);
return true;
});
_this.setCallbackFunc("koOnKeyDown", function (_, event) {
_this.question.onKeyDown(event);
return true;
});
_this.setCallbackFunc("koOnKeyUp", function (_, event) {
_this.question.onKeyUp(event);
return true;
});
_this.setCallbackFunc("koOnChange", function (_, event) {
_this.question.onChange(event);
return true;
});
_this.setCallbackFunc("koOnCompositeUpdate", function (_, event) {
_this.question.onCompositionUpdate(event);
return true;
});
_this.setObservaleObj("koReadOnlyValue", knockout__WEBPACK_IMPORTED_MODULE_0__["computed"](function () { return _this.question.inputValue; }));
return _this;
}
return QuestionTextImplementor;
}(_koquestion__WEBPACK_IMPORTED_MODULE_2__["QuestionImplementor"]));
var QuestionText = /** @class */ (function (_super) {
__extends(QuestionText, _super);
function QuestionText(name) {
return _super.call(this, name) || this;
}
QuestionText.prototype.onBaseCreating = function () {
_super.prototype.onBaseCreating.call(this);
this._implementor = new QuestionTextImplementor(this);
};
QuestionText.prototype.dispose = function () {
this._implementor.dispose();
this._implementor = undefined;
_super.prototype.dispose.call(this);
};
return QuestionText;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionTextModel"]));
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].overrideClassCreator("text", function () {
return new QuestionText("");
});
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("text", function (name) {
return new QuestionText(name);
});
/***/ }),
/***/ "./src/knockout/kosurvey.ts":
/*!**********************************!*\
!*** ./src/knockout/kosurvey.ts ***!
\**********************************/
/*! exports provided: SurveyImplementor, Survey, registerTemplateEngine */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyImplementor", function() { return SurveyImplementor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Survey", function() { return Survey; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerTemplateEngine", function() { return registerTemplateEngine; });
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _templateText__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./templateText */ "./src/knockout/templateText.ts");
/* harmony import */ var _kobase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./kobase */ "./src/knockout/kobase.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __assign = (undefined && undefined.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
/* eslint-disable no-restricted-globals */
survey_core__WEBPACK_IMPORTED_MODULE_1__["CustomWidgetCollection"].Instance.onCustomWidgetAdded.add(function (customWidget) {
if (customWidget.widgetJson.isDefaultRender)
return;
if (!customWidget.htmlTemplate)
customWidget.htmlTemplate =
"
'htmlTemplate' attribute is missed.
";
new _templateText__WEBPACK_IMPORTED_MODULE_2__["SurveyTemplateText"]().replaceText(customWidget.htmlTemplate, "widget", customWidget.name);
});
var SurveyImplementor = /** @class */ (function (_super) {
__extends(SurveyImplementor, _super);
function SurveyImplementor(survey) {
var _this = _super.call(this, survey) || this;
_this.survey = survey;
_this.survey.valueHashGetDataCallback = function (valuesHash, key) {
if (valuesHash[key] === undefined) {
valuesHash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]();
}
return knockout__WEBPACK_IMPORTED_MODULE_0__["unwrap"](valuesHash[key]);
};
_this.survey.valueHashSetDataCallback = function (valuesHash, key, value) {
if (knockout__WEBPACK_IMPORTED_MODULE_0__["isWriteableObservable"](valuesHash[key])) {
valuesHash[key](value);
}
else {
valuesHash[key] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](value);
}
};
_this.survey.valueHashDeleteDataCallback = function (valuesHash, key) {
if (knockout__WEBPACK_IMPORTED_MODULE_0__["isWriteableObservable"](valuesHash[key])) {
valuesHash[key](undefined);
}
else {
delete valuesHash[key];
}
};
_this.survey["koTitleTemplate"] = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"]("survey-header");
_this.survey["koAfterRenderPage"] = function (elements, con) {
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (!el)
return;
setTimeout(function () {
!!knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"] && knockout__WEBPACK_IMPORTED_MODULE_0__["tasks"].runEarly();
_this.survey.afterRenderPage(el);
}, 0);
};
_this.survey["koAfterRenderHeader"] = function (elements, con) {
var el = survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyElement"].GetFirstNonTextElement(elements);
if (el)
_this.survey.afterRenderHeader(el);
};
_this.survey.disposeCallback = function () {
_this.dispose();
};
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](_this.survey.timerModel);
return _this;
}
SurveyImplementor.prototype.render = function (element) {
if (element === void 0) { element = null; }
if (typeof knockout__WEBPACK_IMPORTED_MODULE_0__ === "undefined")
throw new Error("knockoutjs library is not loaded.");
var page = this.survey.activePage;
if (!!page) {
page.updateCustomWidgets();
}
this.survey.updateElementCss(false);
if (element && typeof element === "string") {
element = Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["getElement"])(element);
}
if (element) {
this.renderedElement = element;
}
this.survey.startTimerFromUI();
this.applyBinding();
};
SurveyImplementor.prototype.applyBinding = function () {
if (!this.renderedElement)
return;
knockout__WEBPACK_IMPORTED_MODULE_0__["cleanNode"](this.renderedElement);
knockout__WEBPACK_IMPORTED_MODULE_0__["renderTemplate"]("survey-content", this.survey, {}, this.renderedElement);
};
SurveyImplementor.prototype.koEventAfterRender = function (element, survey) {
survey.afterRenderSurvey(element);
};
SurveyImplementor.prototype.dispose = function () {
_super.prototype.dispose.call(this);
if (!!this.renderedElement) {
knockout__WEBPACK_IMPORTED_MODULE_0__["cleanNode"](this.renderedElement);
this.renderedElement.innerHTML = "";
this.renderedElement = undefined;
}
this.survey["koAfterRenderPage"] = undefined;
this.survey["koAfterRenderHeader"] = undefined;
this.survey.iteratePropertiesHash(function (hash, key) {
delete hash[key];
});
};
return SurveyImplementor;
}(_kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"]));
// SurveyModel.prototype["onCreating"] = function() {
// this.implementor = new SurveyImplementor(this);
// };
// SurveyModel.prototype["render"] = function(element: any = null) {
// this.implementor.render(element);
// };
// SurveyModel.prototype["getHtmlTemplate"] = function(): string {
// return koTemplate;t
// };
var Survey = /** @class */ (function (_super) {
__extends(Survey, _super);
function Survey(jsonObj, renderedElement) {
if (jsonObj === void 0) { jsonObj = null; }
if (renderedElement === void 0) { renderedElement = null; }
var _this = _super.call(this, jsonObj, renderedElement) || this;
_this.implementor = new SurveyImplementor(_this);
return _this;
}
Survey.prototype.render = function (element) {
if (element === void 0) { element = null; }
this.implementor.render(element);
};
Survey.prototype.fromJSON = function (json, options) {
if (!json)
return;
_super.prototype.fromJSON.call(this, json, options);
this.locStrsChanged();
};
Survey.prototype.getHtmlTemplate = function () {
return _templateText__WEBPACK_IMPORTED_MODULE_2__["koTemplate"];
};
Survey.prototype.makeReactive = function (obj) {
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](obj);
};
Survey.prototype.dispose = function () {
_super.prototype.dispose.call(this);
if (this.implementor) {
this.implementor.dispose();
this.implementor = undefined;
}
};
return Survey;
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"]));
function ensureSurvey(survey) {
if (!survey.implementor) {
survey.implementor = new SurveyImplementor(survey);
survey.render = function (element) {
if (element === void 0) { element = null; }
survey.implementor.render(element);
};
survey.getHtmlTemplate = function () {
return _templateText__WEBPACK_IMPORTED_MODULE_2__["koTemplate"];
};
survey.makeReactive = function (obj) {
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](obj);
};
}
}
survey_core__WEBPACK_IMPORTED_MODULE_1__["LocalizableString"].prototype["onCreating"] = function () {
var self = this;
this.koHasHtml = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](this.hasHtml);
this.koRenderedHtml = knockout__WEBPACK_IMPORTED_MODULE_0__["observable"](this.renderedHtml);
this.onStringChanged.add(function () {
var hasHtml = self.hasHtml;
self.koHasHtml(hasHtml);
self.koRenderedHtml(hasHtml ? self.getHtmlValue() : self.calculatedText);
});
};
survey_core__WEBPACK_IMPORTED_MODULE_1__["ItemValue"].prototype["onCreating"] = function () {
var _this = this;
new _kobase__WEBPACK_IMPORTED_MODULE_3__["ImplementorBase"](this);
this.koText = knockout__WEBPACK_IMPORTED_MODULE_0__["pureComputed"](function () { return _this.locText.koRenderedHtml(); });
};
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("survey", {
viewModel: {
createViewModel: function (params, componentInfo) {
var survey = knockout__WEBPACK_IMPORTED_MODULE_0__["unwrap"](params.survey) || knockout__WEBPACK_IMPORTED_MODULE_0__["unwrap"](params.model);
ensureSurvey(survey);
setTimeout(function () {
var surveyRoot = document.createElement("div");
surveyRoot.style.width = "100%";
surveyRoot.style.height = "100%";
componentInfo.element.appendChild(surveyRoot);
survey.render(surveyRoot);
}, 1);
// !!ko.tasks && ko.tasks.runEarly();
return params.survey;
},
},
template: _templateText__WEBPACK_IMPORTED_MODULE_2__["koTemplate"],
});
knockout__WEBPACK_IMPORTED_MODULE_0__["bindingHandlers"]["surveyProp"] = {
update: function (element, valueAccessor, allBindingsAccessor) {
var value = knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].unwrapObservable(valueAccessor()) || {};
for (var propName in value) {
if (typeof propName == "string") {
var propValue = knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].unwrapObservable(value[propName]);
element[propName] = propValue;
}
}
},
};
survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"].platform = "knockout";
var registerTemplateEngine = function (ko, platform) {
ko.surveyTemplateEngine = function () { };
ko.surveyTemplateEngine.prototype = new ko.nativeTemplateEngine();
ko.surveyTemplateEngine.prototype.makeTemplateSource = function (template, templateDocument) {
if (typeof template === "string") {
templateDocument = templateDocument || document;
var templateElementRoot = templateDocument.getElementById("survey-content-" + platform);
if (!templateElementRoot) {
var rootElement = survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].environment.rootElement;
templateElementRoot = document.createElement("div");
templateElementRoot.id = "survey-content-" + survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"].platform;
templateElementRoot.style.display = "none";
templateElementRoot.innerHTML = _templateText__WEBPACK_IMPORTED_MODULE_2__["koTemplate"];
rootElement.appendChild(templateElementRoot);
}
var elem;
for (var i = 0; i < templateElementRoot.children.length; i++) {
if (templateElementRoot.children[i].id === template) {
elem = templateElementRoot.children[i];
break;
}
}
if (!elem) {
elem = templateDocument.getElementById(template);
}
if (!elem) {
return new ko.nativeTemplateEngine().makeTemplateSource(template, templateDocument);
}
return new ko.templateSources.domElement(elem);
}
else if (template.nodeType === 1 || template.nodeType === 8) {
return new ko.templateSources.anonymousTemplate(template);
}
else {
throw new Error("Unknown template type: " + template);
}
};
// (ko).surveyTemplateEngine.prototype.renderTemplateSource = function (templateSource: any, bindingContext: any, options: any, templateDocument: any) {
// var useNodesIfAvailable = !((ko.utils).ieVersion < 9),
// templateNodesFunc = useNodesIfAvailable ? templateSource["nodes"] : null,
// templateNodes = templateNodesFunc ? templateSource["nodes"]() : null;
// if (templateNodes) {
// return (ko.utils).makeArray(templateNodes.cloneNode(true).childNodes);
// } else {
// var templateText = templateSource["text"]();
// return (ko.utils).parseHtmlFragment(templateText, templateDocument);
// }
// };
var surveyTemplateEngineInstance = new ko.surveyTemplateEngine();
ko.setTemplateEngine(surveyTemplateEngineInstance);
};
knockout__WEBPACK_IMPORTED_MODULE_0__["bindingHandlers"]["elementStyle"] = {
update: function (element, valueAccessor, allBindings) {
if (element && element.style.length) {
for (var index = element.style.length - 1; index >= 0; index--) {
var style = element.style[index];
if (style && style.indexOf("--sjs-") === 0) {
element.style.removeProperty(style);
}
}
}
var value = knockout__WEBPACK_IMPORTED_MODULE_0__["utils"].unwrapObservable(valueAccessor()) || {};
Object.keys(value).forEach(function (key) {
if (key.indexOf("--") === 0) {
element.style.setProperty(key, value[key]);
}
else {
element.style[key] = value[key];
}
});
}
};
knockout__WEBPACK_IMPORTED_MODULE_0__["bindingHandlers"]["key2click"] = {
init: function (element, valueAccessor, allBindingsAccessor, viewModel) {
var options = __assign({}, valueAccessor()) || {
processEsc: true,
disableTabStop: false
};
if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {
element.tabIndex = -1;
return;
}
element.tabIndex = 0;
element.onkeyup = function (evt) {
evt.preventDefault();
evt.stopPropagation();
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["doKey2ClickUp"])(evt, options);
return false;
};
element.onkeydown = function (evt) { return Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["doKey2ClickDown"])(evt, options); };
element.onblur = function (evt) { return Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["doKey2ClickBlur"])(evt); };
},
};
/***/ }),
/***/ "./src/knockout/svg-bundle.ts":
/*!************************************!*\
!*** ./src/knockout/svg-bundle.ts ***!
\************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! knockout */ "knockout");
/* harmony import */ var knockout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(knockout__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
knockout__WEBPACK_IMPORTED_MODULE_0__["components"].register("sv-svg-bundle", {
viewModel: {
createViewModel: function (params, componentInfo) {
var element = componentInfo.element.querySelector && componentInfo.element.querySelector("svg") || componentInfo.element.nextElementSibling;
element.innerHTML = survey_core__WEBPACK_IMPORTED_MODULE_1__["SvgRegistry"].iconsRenderedHtml();
return params;
}
},
template: ""
});
/***/ }),
/***/ "./src/knockout/templateText.ts":
/*!**************************************!*\
!*** ./src/knockout/templateText.ts ***!
\**************************************/
/*! exports provided: koTemplate, SurveyTemplateText */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "koTemplate", function() { return koTemplate; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyTemplateText", function() { return SurveyTemplateText; });
var koTemplate = __webpack_require__(/*! html-loader?interpolate!val-loader!./templates/entry.html */ "./node_modules/html-loader/index.js?interpolate!./node_modules/val-loader/index.js!./src/knockout/templates/entry.html");
var SurveyTemplateText = /** @class */ (function () {
function SurveyTemplateText() {
}
SurveyTemplateText.prototype.addText = function (newText, id, name) {
id = this.getId(id, name);
this.text =
this.text +
'";
};
SurveyTemplateText.prototype.replaceText = function (replaceText, id, questionType) {
if (questionType === void 0) { questionType = null; }
var posId = this.getId(id, questionType);
var pos = this.text.indexOf(posId);
if (pos < 0) {
this.addText(replaceText, id, questionType);
return;
}
pos = this.text.indexOf(">", pos);
if (pos < 0)
return;
var startPos = pos + 1;
var endString = "";
pos = this.text.indexOf(endString, startPos);
if (pos < 0)
return;
this.text =
this.text.substring(0, startPos) + replaceText + this.text.substring(pos);
};
SurveyTemplateText.prototype.getId = function (id, questionType) {
var result = 'id="survey-' + id;
if (questionType) {
result += "-" + questionType;
}
return result + '"';
};
Object.defineProperty(SurveyTemplateText.prototype, "text", {
get: function () {
return koTemplate;
},
set: function (value) {
koTemplate = value;
},
enumerable: false,
configurable: true
});
return SurveyTemplateText;
}());
/***/ }),
/***/ "./src/knockout/templates/comment.html":
/*!*********************************************!*\
!*** ./src/knockout/templates/comment.html ***!
\*********************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/flowpanel.html":
/*!***********************************************!*\
!*** ./src/knockout/templates/flowpanel.html ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n";
/***/ }),
/***/ "./src/knockout/templates/header.html":
/*!********************************************!*\
!*** ./src/knockout/templates/header.html ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/index.html":
/*!*******************************************!*\
!*** ./src/knockout/templates/index.html ***!
\*******************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n";
/***/ }),
/***/ "./src/knockout/templates/page.html":
/*!******************************************!*\
!*** ./src/knockout/templates/page.html ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/panel.html":
/*!*******************************************!*\
!*** ./src/knockout/templates/panel.html ***!
\*******************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/popup-pointer.html":
/*!***************************************************!*\
!*** ./src/knockout/templates/popup-pointer.html ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-boolean.html":
/*!******************************************************!*\
!*** ./src/knockout/templates/question-boolean.html ***!
\******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-buttongroup.html":
/*!**********************************************************!*\
!*** ./src/knockout/templates/question-buttongroup.html ***!
\**********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-checkbox.html":
/*!*******************************************************!*\
!*** ./src/knockout/templates/question-checkbox.html ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-comment.html":
/*!******************************************************!*\
!*** ./src/knockout/templates/question-comment.html ***!
\******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-composite.html":
/*!********************************************************!*\
!*** ./src/knockout/templates/question-composite.html ***!
\********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-custom.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/question-custom.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-dropdown.html":
/*!*******************************************************!*\
!*** ./src/knockout/templates/question-dropdown.html ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-empty.html":
/*!****************************************************!*\
!*** ./src/knockout/templates/question-empty.html ***!
\****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-errors.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/question-errors.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-expression.html":
/*!*********************************************************!*\
!*** ./src/knockout/templates/question-expression.html ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-file.html":
/*!***************************************************!*\
!*** ./src/knockout/templates/question-file.html ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-html.html":
/*!***************************************************!*\
!*** ./src/knockout/templates/question-html.html ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-image.html":
/*!****************************************************!*\
!*** ./src/knockout/templates/question-image.html ***!
\****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-imagepicker.html":
/*!**********************************************************!*\
!*** ./src/knockout/templates/question-imagepicker.html ***!
\**********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-matrix.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/question-matrix.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-matrixdropdown.html":
/*!*************************************************************!*\
!*** ./src/knockout/templates/question-matrixdropdown.html ***!
\*************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-matrixdynamic.html":
/*!************************************************************!*\
!*** ./src/knockout/templates/question-matrixdynamic.html ***!
\************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-multipletext.html":
/*!***********************************************************!*\
!*** ./src/knockout/templates/question-multipletext.html ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-paneldynamic-navigator.html":
/*!*********************************************************************!*\
!*** ./src/knockout/templates/question-paneldynamic-navigator.html ***!
\*********************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-paneldynamic.html":
/*!***********************************************************!*\
!*** ./src/knockout/templates/question-paneldynamic.html ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-radiogroup.html":
/*!*********************************************************!*\
!*** ./src/knockout/templates/question-radiogroup.html ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-ranking.html":
/*!******************************************************!*\
!*** ./src/knockout/templates/question-ranking.html ***!
\******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n\n\n";
/***/ }),
/***/ "./src/knockout/templates/question-rating.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/question-rating.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question-signaturepad.html":
/*!***********************************************************!*\
!*** ./src/knockout/templates/question-signaturepad.html ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-tagbox.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/question-tagbox.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/question-text.html":
/*!***************************************************!*\
!*** ./src/knockout/templates/question-text.html ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/question.html":
/*!**********************************************!*\
!*** ./src/knockout/templates/question.html ***!
\**********************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/questioncontent.html":
/*!*****************************************************!*\
!*** ./src/knockout/templates/questioncontent.html ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/questiontitle.html":
/*!***************************************************!*\
!*** ./src/knockout/templates/questiontitle.html ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/row.html":
/*!*****************************************!*\
!*** ./src/knockout/templates/row.html ***!
\*****************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/rows.html":
/*!******************************************!*\
!*** ./src/knockout/templates/rows.html ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "";
/***/ }),
/***/ "./src/knockout/templates/string.html":
/*!********************************************!*\
!*** ./src/knockout/templates/string.html ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/knockout/templates/timerpanel.html":
/*!************************************************!*\
!*** ./src/knockout/templates/timerpanel.html ***!
\************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "\n";
/***/ }),
/***/ "./src/list.ts":
/*!*********************!*\
!*** ./src/list.ts ***!
\*********************/
/*! exports provided: defaultListCss, ListModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultListCss", function() { return defaultListCss; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return ListModel; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
/* harmony import */ var _actions_action__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./actions/action */ "./src/actions/action.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _element_helper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./element-helper */ "./src/element-helper.ts");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var defaultListCss = {
root: "sv-list__container",
item: "sv-list__item",
searchClearButtonIcon: "sv-list__filter-clear-button",
loadingIndicator: "sv-list__loading-indicator",
itemSelected: "sv-list__item--selected",
itemWithIcon: "sv-list__item--with-icon",
itemDisabled: "sv-list__item--disabled",
itemFocused: "sv-list__item--focused",
itemTextWrap: "sv-list__item-text--wrap",
itemIcon: "sv-list__item-icon",
itemSeparator: "sv-list__item-separator",
itemBody: "sv-list__item-body",
itemsContainer: "sv-list",
itemsContainerFiltering: "sv-list--filtering",
filter: "sv-list__filter",
filterIcon: "sv-list__filter-icon",
filterInput: "sv-list__input",
emptyContainer: "sv-list__empty-container",
emptyText: "sv-list__empty-text"
};
var ListModel = /** @class */ (function (_super) {
__extends(ListModel, _super);
function ListModel(items, onSelectionChanged, allowSelection, selectedItem, onFilterStringChangedCallback, elementId) {
var _this = _super.call(this) || this;
_this.onSelectionChanged = onSelectionChanged;
_this.allowSelection = allowSelection;
_this.onFilterStringChangedCallback = onFilterStringChangedCallback;
_this.elementId = elementId;
_this.onItemClick = function (itemValue) {
if (_this.isItemDisabled(itemValue)) {
return;
}
_this.isExpanded = false;
if (_this.allowSelection) {
_this.selectedItem = itemValue;
}
if (!!_this.onSelectionChanged) {
_this.onSelectionChanged(itemValue);
}
};
_this.isItemDisabled = function (itemValue) {
return itemValue.enabled !== undefined && !itemValue.enabled;
};
_this.isItemSelected = function (itemValue) {
return _this.areSameItems(_this.selectedItem, itemValue);
};
_this.isItemFocused = function (itemValue) {
return _this.areSameItems(_this.focusedItem, itemValue);
};
_this.getListClass = function () {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
.append(_this.cssClasses.itemsContainer)
.append(_this.cssClasses.itemsContainerFiltering, !!_this.filterString && _this.visibleActions.length !== _this.visibleItems.length)
.toString();
};
_this.getItemClass = function (itemValue) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
.append(_this.cssClasses.item)
.append(_this.cssClasses.itemWithIcon, !!itemValue.iconName)
.append(_this.cssClasses.itemDisabled, _this.isItemDisabled(itemValue))
.append(_this.cssClasses.itemFocused, _this.isItemFocused(itemValue))
.append(_this.cssClasses.itemSelected, _this.isItemSelected(itemValue))
.append(_this.cssClasses.itemTextWrap, _this.textWrapEnabled)
.append(itemValue.css)
.toString();
};
_this.getItemIndent = function (itemValue) {
var level = itemValue.level || 0;
return (level + 1) * ListModel.INDENT + "px";
};
_this.setItems(items);
_this.selectedItem = selectedItem;
return _this;
}
ListModel.prototype.hasText = function (item, filterStringInLow) {
if (!filterStringInLow)
return true;
var text = item.title || "";
if (this.onTextSearchCallback)
return this.onTextSearchCallback(item, filterStringInLow);
var textInLow = text.toLocaleLowerCase();
textInLow = _settings__WEBPACK_IMPORTED_MODULE_6__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
return textInLow.indexOf(filterStringInLow.toLocaleLowerCase()) > -1;
};
ListModel.prototype.isItemVisible = function (item) {
return item.visible && (!this.shouldProcessFilter || this.hasText(item, this.filterString));
};
Object.defineProperty(ListModel.prototype, "visibleItems", {
get: function () {
var _this = this;
return this.visibleActions.filter(function (item) { return _this.isItemVisible(item); });
},
enumerable: false,
configurable: true
});
Object.defineProperty(ListModel.prototype, "shouldProcessFilter", {
get: function () {
return !this.onFilterStringChangedCallback;
},
enumerable: false,
configurable: true
});
ListModel.prototype.onFilterStringChanged = function (text) {
var _this = this;
if (!!this.onFilterStringChangedCallback) {
this.onFilterStringChangedCallback(text);
}
this.isEmpty = this.renderedActions.filter(function (action) { return _this.isItemVisible(action); }).length === 0;
};
ListModel.prototype.scrollToItem = function (selector, ms) {
var _this = this;
if (ms === void 0) { ms = 0; }
setTimeout(function () {
if (!_this.listContainerHtmlElement)
return;
var item = _this.listContainerHtmlElement.querySelector("." + selector);
if (item) {
setTimeout(function () {
item.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "start" });
}, ms);
}
}, ms);
};
ListModel.prototype.setOnFilterStringChangedCallback = function (callback) {
this.onFilterStringChangedCallback = callback;
};
ListModel.prototype.setOnTextSearchCallback = function (callback) {
this.onTextSearchCallback = callback;
};
ListModel.prototype.setItems = function (items, sortByVisibleIndex) {
var _this = this;
if (sortByVisibleIndex === void 0) { sortByVisibleIndex = true; }
_super.prototype.setItems.call(this, items, sortByVisibleIndex);
if (this.elementId) {
this.renderedActions.forEach(function (action) { action.elementId = _this.elementId + action.id; });
}
if (!this.isAllDataLoaded && !!this.actions.length) {
this.actions.push(this.loadingIndicator);
}
};
ListModel.prototype.onSet = function () {
this.showFilter = this.searchEnabled && (this.forceShowFilter || (this.actions || []).length > ListModel.MINELEMENTCOUNT);
_super.prototype.onSet.call(this);
};
ListModel.prototype.getDefaultCssClasses = function () {
return defaultListCss;
};
ListModel.prototype.areSameItems = function (item1, item2) {
if (!!this.areSameItemsCallback)
return this.areSameItemsCallback(item1, item2);
return !!item1 && !!item2 && item1.id == item2.id;
};
Object.defineProperty(ListModel.prototype, "filterStringPlaceholder", {
get: function () {
return this.getLocalizationString("filterStringPlaceholder");
},
enumerable: false,
configurable: true
});
Object.defineProperty(ListModel.prototype, "emptyMessage", {
get: function () {
return this.isAllDataLoaded ? this.getLocalizationString("emptyMessage") : this.loadingText;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ListModel.prototype, "scrollableContainer", {
get: function () {
return this.listContainerHtmlElement.querySelector("." + this.getDefaultCssClasses().itemsContainer);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ListModel.prototype, "loadingText", {
get: function () {
return this.getLocalizationString("loadingFile");
},
enumerable: false,
configurable: true
});
Object.defineProperty(ListModel.prototype, "loadingIndicator", {
get: function () {
if (!this.loadingIndicatorValue) {
this.loadingIndicatorValue = (new _actions_action__WEBPACK_IMPORTED_MODULE_2__["Action"]({
id: "loadingIndicator",
title: this.loadingText,
action: function () { },
css: this.cssClasses.loadingIndicator
}));
}
return this.loadingIndicatorValue;
},
enumerable: false,
configurable: true
});
ListModel.prototype.goToItems = function (event) {
if (event.key === "ArrowDown" || event.keyCode === 40) {
var currentElement = event.target.parentElement;
var listElement = currentElement.parentElement.querySelector("ul");
var firstChild = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["getFirstVisibleChild"])(listElement);
if (!!listElement && !!firstChild) {
_element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].focusElement(firstChild);
event.preventDefault();
}
}
};
ListModel.prototype.onMouseMove = function (event) {
this.resetFocusedItem();
};
ListModel.prototype.onKeyDown = function (event) {
var currentElement = event.target;
if (event.key === "ArrowDown" || event.keyCode === 40) {
_element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].focusElement(_element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].getNextElementPreorder(currentElement));
event.preventDefault();
}
else if (event.key === "ArrowUp" || event.keyCode === 38) {
_element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].focusElement(_element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].getNextElementPostorder(currentElement));
event.preventDefault();
}
};
ListModel.prototype.onPointerDown = function (event, item) { };
ListModel.prototype.refresh = function () {
this.filterString = "";
this.resetFocusedItem();
};
ListModel.prototype.onClickSearchClearButton = function (event) {
event.currentTarget.parentElement.querySelector("input").focus();
this.refresh();
};
ListModel.prototype.resetFocusedItem = function () {
this.focusedItem = undefined;
};
ListModel.prototype.focusFirstVisibleItem = function () {
this.focusedItem = this.visibleItems[0];
};
ListModel.prototype.focusLastVisibleItem = function () {
this.focusedItem = this.visibleItems[this.visibleItems.length - 1];
};
ListModel.prototype.initFocusedItem = function () {
var _this = this;
this.focusedItem = this.visibleItems.filter(function (item) { return item.visible && _this.isItemSelected(item); })[0];
if (!this.focusedItem) {
this.focusFirstVisibleItem();
}
};
ListModel.prototype.focusNextVisibleItem = function () {
if (!this.focusedItem) {
this.initFocusedItem();
}
else {
var items = this.visibleItems;
var currentFocusedItemIndex = items.indexOf(this.focusedItem);
var nextItem = items[currentFocusedItemIndex + 1];
if (nextItem) {
this.focusedItem = nextItem;
}
else {
this.focusFirstVisibleItem();
}
}
};
ListModel.prototype.focusPrevVisibleItem = function () {
if (!this.focusedItem) {
this.initFocusedItem();
}
else {
var items = this.visibleItems;
var currentFocusedItemIndex = items.indexOf(this.focusedItem);
var prevItem = items[currentFocusedItemIndex - 1];
if (prevItem) {
this.focusedItem = prevItem;
}
else {
this.focusLastVisibleItem();
}
}
};
ListModel.prototype.selectFocusedItem = function () {
!!this.focusedItem && this.onItemClick(this.focusedItem);
};
ListModel.prototype.initListContainerHtmlElement = function (htmlElement) {
this.listContainerHtmlElement = htmlElement;
};
ListModel.prototype.onLastItemRended = function (item) {
if (this.isAllDataLoaded)
return;
if (item === this.actions[this.actions.length - 1] && !!this.listContainerHtmlElement) {
this.hasVerticalScroller = _element_helper__WEBPACK_IMPORTED_MODULE_4__["ElementHelper"].hasVerticalScroller(this.scrollableContainer);
}
};
ListModel.prototype.scrollToFocusedItem = function () {
this.scrollToItem(this.getDefaultCssClasses().itemFocused);
};
ListModel.prototype.scrollToSelectedItem = function () {
this.scrollToItem(this.getDefaultCssClasses().itemSelected, 110);
};
ListModel.prototype.addScrollEventListener = function (handler) {
if (!!handler) {
this.scrollHandler = handler;
}
if (!!this.scrollHandler) {
this.scrollableContainer.addEventListener("scroll", this.scrollHandler);
}
};
ListModel.prototype.removeScrollEventListener = function () {
if (!!this.scrollHandler) {
this.scrollableContainer.removeEventListener("scroll", this.scrollHandler);
}
};
ListModel.prototype.dispose = function () {
_super.prototype.dispose.call(this);
if (!!this.loadingIndicatorValue) {
this.loadingIndicatorValue.dispose();
}
this.listContainerHtmlElement = undefined;
};
ListModel.INDENT = 16;
ListModel.MINELEMENTCOUNT = 10;
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
defaultValue: true,
onSet: function (newValue, target) {
target.onSet();
}
})
], ListModel.prototype, "searchEnabled", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "showFilter", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "forceShowFilter", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "isExpanded", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({})
], ListModel.prototype, "selectedItem", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], ListModel.prototype, "focusedItem", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
onSet: function (_, target) {
target.onFilterStringChanged(target.filterString);
}
})
], ListModel.prototype, "filterString", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "hasVerticalScroller", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
], ListModel.prototype, "isAllDataLoaded", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "showSearchClearButton", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
], ListModel.prototype, "renderElements", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
], ListModel.prototype, "textWrapEnabled", void 0);
return ListModel;
}(_actions_container__WEBPACK_IMPORTED_MODULE_1__["ActionContainer"]));
/***/ }),
/***/ "./src/localizablestring.ts":
/*!**********************************!*\
!*** ./src/localizablestring.ts ***!
\**********************************/
/*! exports provided: LocalizableString, LocalizableStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return LocalizableString; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return LocalizableStrings; });
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./surveyStrings */ "./src/surveyStrings.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./survey-element */ "./src/survey-element.ts");
/**
* The class represents the string that supports multi-languages and markdown.
* It uses in all objects where support for multi-languages and markdown is required.
*/
var LocalizableString = /** @class */ (function () {
function LocalizableString(owner, useMarkdown, name) {
if (useMarkdown === void 0) { useMarkdown = false; }
var _a;
this.owner = owner;
this.useMarkdown = useMarkdown;
this.name = name;
this.values = {};
this.htmlValues = {};
this._allowLineBreaks = false;
this.onStringChanged = new _base__WEBPACK_IMPORTED_MODULE_3__["EventBase"]();
if (owner instanceof _survey_element__WEBPACK_IMPORTED_MODULE_5__["SurveyElementCore"]) {
this._allowLineBreaks = ((_a = _jsonobject__WEBPACK_IMPORTED_MODULE_4__["Serializer"].findProperty(owner.getType(), name)) === null || _a === void 0 ? void 0 : _a.type) == "text";
}
this.onCreating();
}
Object.defineProperty(LocalizableString, "defaultLocale", {
get: function () {
return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName;
},
set: function (val) {
_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName = val;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "localizationName", {
get: function () {
return this._localizationName;
},
set: function (val) {
if (this._localizationName != val) {
this._localizationName = val;
this.strChanged();
}
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "allowLineBreaks", {
get: function () {
return this._allowLineBreaks;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.getIsMultiple = function () { return false; };
Object.defineProperty(LocalizableString.prototype, "locale", {
get: function () {
if (this.owner && this.owner.getLocale) {
var res = this.owner.getLocale();
if (!!res || !this.sharedData)
return res;
}
if (!!this.sharedData)
return this.sharedData.locale;
return "";
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.strChanged = function () {
this.searchableText = undefined;
if (this.renderedText === undefined)
return;
this.calculatedTextValue = this.calcText();
if (this.renderedText !== this.calculatedTextValue) {
this.renderedText = undefined;
this.calculatedTextValue = undefined;
}
this.htmlValues = {};
this.onChanged();
this.onStringChanged.fire(this, {});
};
Object.defineProperty(LocalizableString.prototype, "text", {
get: function () {
return this.pureText;
},
set: function (value) {
this.setLocaleText(this.locale, value);
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "calculatedText", {
get: function () {
this.renderedText =
this.calculatedTextValue !== undefined
? this.calculatedTextValue
: this.calcText();
this.calculatedTextValue = undefined;
return this.renderedText;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.calcText = function () {
var res = this.pureText;
if (res &&
this.owner &&
this.owner.getProcessedText &&
res.indexOf("{") > -1) {
res = this.owner.getProcessedText(res);
}
if (this.onGetTextCallback)
res = this.onGetTextCallback(res);
return res;
};
Object.defineProperty(LocalizableString.prototype, "pureText", {
get: function () {
var loc = this.locale;
if (!loc)
loc = this.defaultLoc;
var res = this.getValue(loc);
if (this.isValueEmpty(res) && loc === this.defaultLoc) {
res = this.getValue(_surveyStrings__WEBPACK_IMPORTED_MODULE_1__["surveyLocalization"].defaultLocale);
}
if (this.isValueEmpty(res)) {
var dialect = this.getRootDialect(loc);
if (!!dialect) {
res = this.getValue(dialect);
}
}
if (this.isValueEmpty(res) && loc !== this.defaultLoc) {
res = this.getValue(this.defaultLoc);
}
if (this.isValueEmpty(res) && !!this.getLocalizationName()) {
res = this.getLocalizationStr();
if (!!this.onGetLocalizationTextCallback) {
res = this.onGetLocalizationTextCallback(res);
}
}
if (!res)
res = this.defaultValue || "";
return res;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.getRootDialect = function (loc) {
if (!loc)
return loc;
var index = loc.indexOf("-");
return index > -1 ? loc.substring(0, index) : "";
};
LocalizableString.prototype.getLocalizationName = function () {
return !!this.sharedData ? this.sharedData.localizationName : this.localizationName;
};
LocalizableString.prototype.getLocalizationStr = function () {
var name = this.getLocalizationName();
return !!name ? _surveyStrings__WEBPACK_IMPORTED_MODULE_1__["surveyLocalization"].getString(name, this.locale) : "";
};
Object.defineProperty(LocalizableString.prototype, "hasHtml", {
get: function () {
return this.hasHtmlValue();
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "html", {
get: function () {
if (!this.hasHtml)
return "";
return this.getHtmlValue();
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "isEmpty", {
get: function () {
return this.getValuesKeys().length == 0;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "textOrHtml", {
get: function () {
return this.hasHtml ? this.getHtmlValue() : this.calculatedText;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "renderedHtml", {
get: function () {
return this.textOrHtml;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.getLocaleText = function (loc) {
var res = this.getLocaleTextCore(loc);
return res ? res : "";
};
LocalizableString.prototype.getLocaleTextCore = function (loc) {
if (!loc)
loc = this.defaultLoc;
return this.getValue(loc);
};
LocalizableString.prototype.isLocaleTextEqualsWithDefault = function (loc, val) {
var res = this.getLocaleTextCore(loc);
if (res === val)
return true;
return this.isValueEmpty(res) && this.isValueEmpty(val);
};
LocalizableString.prototype.clear = function () {
this.setJson(undefined);
};
LocalizableString.prototype.clearLocale = function (loc) {
this.setLocaleText(loc, undefined);
};
LocalizableString.prototype.setLocaleText = function (loc, value) {
loc = this.getValueLoc(loc);
if (!this.storeDefaultText && this.isLocaleTextEqualsWithDefault(loc, value)) {
if (!this.isValueEmpty(value) || !!loc && loc !== this.defaultLoc)
return;
var dl = _surveyStrings__WEBPACK_IMPORTED_MODULE_1__["surveyLocalization"].defaultLocale;
var oldValue_1 = this.getValue(dl);
if (!!dl && !this.isValueEmpty(oldValue_1)) {
this.setValue(dl, value);
this.fireStrChanged(dl, oldValue_1);
}
return;
}
if (!_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.storeDuplicatedTranslations &&
!this.isValueEmpty(value) && loc && loc != this.defaultLoc &&
!this.getValue(loc) &&
value == this.getLocaleText(this.defaultLoc))
return;
var curLoc = this.curLocale;
if (!loc)
loc = this.defaultLoc;
var oldValue = this.onStrChanged && loc === curLoc ? this.pureText : undefined;
delete this.htmlValues[loc];
if (this.isValueEmpty(value)) {
this.deleteValue(loc);
}
else {
if (typeof value === "string") {
if (this.canRemoveLocValue(loc, value)) {
this.setLocaleText(loc, null);
}
else {
this.setValue(loc, value);
if (loc == this.defaultLoc) {
this.deleteValuesEqualsToDefault(value);
}
}
}
}
this.fireStrChanged(loc, oldValue);
};
LocalizableString.prototype.isValueEmpty = function (val) {
if (val === undefined || val === null)
return true;
if (this.localizationName)
return false;
return val === "";
};
Object.defineProperty(LocalizableString.prototype, "curLocale", {
get: function () {
return !!this.locale ? this.locale : this.defaultLoc;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.canRemoveLocValue = function (loc, val) {
if (_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.storeDuplicatedTranslations)
return false;
if (loc === this.defaultLoc)
return false;
var dialect = this.getRootDialect(loc);
if (!!dialect) {
var dialectVal = this.getLocaleText(dialect);
if (!!dialectVal)
return dialectVal == val;
return this.canRemoveLocValue(dialect, val);
}
else {
return val == this.getLocaleText(this.defaultLoc);
}
};
LocalizableString.prototype.fireStrChanged = function (loc, oldValue) {
this.strChanged();
if (!this.onStrChanged)
return;
var value = this.pureText;
if (loc !== this.curLocale || oldValue !== value) {
this.onStrChanged(oldValue, value);
}
};
LocalizableString.prototype.hasNonDefaultText = function () {
var keys = this.getValuesKeys();
if (keys.length == 0)
return false;
return keys.length > 1 || keys[0] != this.defaultLoc;
};
LocalizableString.prototype.getLocales = function () {
var keys = this.getValuesKeys();
if (keys.length == 0)
return [];
return keys;
};
LocalizableString.prototype.getJson = function () {
if (!!this.sharedData)
return this.sharedData.getJson();
var keys = this.getValuesKeys();
if (keys.length == 0)
return null;
if (keys.length == 1 &&
keys[0] == _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName &&
!_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].serialization.localizableStringSerializeAsObject)
return this.values[keys[0]];
var res = {};
for (var key in this.values) {
res[key] = this.values[key];
}
return res;
};
LocalizableString.prototype.setJson = function (value) {
if (!!this.sharedData) {
this.sharedData.setJson(value);
return;
}
this.values = {};
this.htmlValues = {};
if (value === null || value === undefined)
return;
if (typeof value === "string") {
this.setLocaleText(null, value);
}
else {
for (var key in value) {
this.setLocaleText(key, value[key]);
}
}
this.strChanged();
};
Object.defineProperty(LocalizableString.prototype, "renderAs", {
get: function () {
if (!this.owner || typeof this.owner.getRenderer !== "function") {
return LocalizableString.defaultRenderer;
}
return this.owner.getRenderer(this.name) || LocalizableString.defaultRenderer;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableString.prototype, "renderAsData", {
get: function () {
if (!this.owner || typeof this.owner.getRendererContext !== "function") {
return this;
}
return this.owner.getRendererContext(this) || this;
},
enumerable: false,
configurable: true
});
LocalizableString.prototype.equals = function (obj) {
if (!!this.sharedData)
return this.sharedData.equals(obj);
if (!obj || !obj.values)
return false;
return _helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isTwoValueEquals(this.values, obj.values, false, true, false);
};
LocalizableString.prototype.setFindText = function (text) {
if (this.searchText == text)
return;
this.searchText = text;
if (!this.searchableText) {
var textOrHtml = this.textOrHtml;
this.searchableText = !!textOrHtml ? textOrHtml.toLowerCase() : "";
}
var str = this.searchableText;
var index = !!str && !!text ? str.indexOf(text) : undefined;
if (index < 0)
index = undefined;
if (index != undefined || this.searchIndex != index) {
this.searchIndex = index;
if (!!this.onSearchChanged) {
this.onSearchChanged();
}
}
return this.searchIndex != undefined;
};
LocalizableString.prototype.onChanged = function () { };
LocalizableString.prototype.onCreating = function () { };
LocalizableString.prototype.hasHtmlValue = function () {
if (!this.owner || !this.useMarkdown)
return false;
var loc = this.locale;
if (!loc)
loc = this.defaultLoc;
if (this.htmlValues[loc] !== undefined)
return !!this.htmlValues[loc];
var renderedText = this.calculatedText;
if (!renderedText) {
this.setHtmlValue(loc, "");
return false;
}
if (!!this.getLocalizationName() && renderedText === this.getLocalizationStr()) {
this.setHtmlValue(loc, "");
return false;
}
var res = this.owner.getMarkdownHtml(renderedText, this.name);
this.setHtmlValue(loc, res);
return !!res;
};
LocalizableString.prototype.setHtmlValue = function (loc, val) {
this.htmlValues[loc] = val;
};
LocalizableString.prototype.getHtmlValue = function () {
var loc = this.locale;
if (!loc)
loc = this.defaultLoc;
return this.htmlValues[loc];
};
LocalizableString.prototype.deleteValuesEqualsToDefault = function (defaultValue) {
if (_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.storeDuplicatedTranslations)
return;
var keys = this.getValuesKeys();
for (var i = 0; i < keys.length; i++) {
if (keys[i] == this.defaultLoc)
continue;
if (this.getValue(keys[i]) == defaultValue) {
this.deleteValue(keys[i]);
}
}
};
LocalizableString.prototype.getValue = function (loc) {
if (!!this.sharedData)
return this.sharedData.getValue(loc);
return this.values[this.getValueLoc(loc)];
};
LocalizableString.prototype.setValue = function (loc, value) {
if (!!this.sharedData)
this.sharedData.setValue(loc, value);
else
this.values[this.getValueLoc(loc)] = value;
};
LocalizableString.prototype.deleteValue = function (loc) {
if (!!this.sharedData)
this.sharedData.deleteValue(loc);
else
delete this.values[this.getValueLoc(loc)];
};
LocalizableString.prototype.getValueLoc = function (loc) {
if (this.disableLocalization)
return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName;
return loc;
};
LocalizableString.prototype.getValuesKeys = function () {
if (!!this.sharedData)
return this.sharedData.getValuesKeys();
return Object.keys(this.values);
};
Object.defineProperty(LocalizableString.prototype, "defaultLoc", {
get: function () {
return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName;
},
enumerable: false,
configurable: true
});
LocalizableString.SerializeAsObject = false;
LocalizableString.defaultRenderer = "sv-string-viewer";
LocalizableString.editableRenderer = "sv-string-editor";
return LocalizableString;
}());
/**
* The class represents the list of strings that supports multi-languages.
*/
var LocalizableStrings = /** @class */ (function () {
function LocalizableStrings(owner) {
this.owner = owner;
this.values = {};
}
LocalizableStrings.prototype.getIsMultiple = function () { return true; };
Object.defineProperty(LocalizableStrings.prototype, "locale", {
get: function () {
return this.owner && this.owner.getLocale ? this.owner.getLocale() : "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableStrings.prototype, "value", {
get: function () {
return this.getValue("");
},
set: function (val) {
this.setValue("", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(LocalizableStrings.prototype, "text", {
get: function () {
return Array.isArray(this.value) ? this.value.join("\n") : "";
},
set: function (val) {
this.value = !!val ? val.split("\n") : [];
},
enumerable: false,
configurable: true
});
LocalizableStrings.prototype.getLocaleText = function (loc) {
var res = this.getValueCore(loc, !loc || loc === this.locale);
if (!res || !Array.isArray(res) || res.length == 0)
return "";
return res.join("\n");
};
LocalizableStrings.prototype.setLocaleText = function (loc, newValue) {
var val = !!newValue ? newValue.split("\n") : null;
this.setValue(loc, val);
};
LocalizableStrings.prototype.getValue = function (loc) {
return this.getValueCore(loc);
};
LocalizableStrings.prototype.getValueCore = function (loc, useDefault) {
if (useDefault === void 0) { useDefault = true; }
loc = this.getLocale(loc);
if (this.values[loc])
return this.values[loc];
if (useDefault) {
var defLoc = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName;
if (loc !== defLoc && this.values[defLoc])
return this.values[defLoc];
}
return [];
};
LocalizableStrings.prototype.setValue = function (loc, val) {
loc = this.getLocale(loc);
var oldValue = _helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].createCopy(this.values);
if (!val || val.length == 0) {
delete this.values[loc];
}
else {
this.values[loc] = val;
}
if (!!this.onValueChanged) {
this.onValueChanged(oldValue, this.values);
}
};
LocalizableStrings.prototype.hasValue = function (loc) {
if (loc === void 0) { loc = ""; }
return !this.isEmpty && this.getValue(loc).length > 0;
};
Object.defineProperty(LocalizableStrings.prototype, "isEmpty", {
get: function () {
return this.getValuesKeys().length == 0;
},
enumerable: false,
configurable: true
});
LocalizableStrings.prototype.getLocale = function (loc) {
if (!!loc)
return loc;
loc = this.locale;
return !!loc ? loc : _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName;
};
LocalizableStrings.prototype.getLocales = function () {
var keys = this.getValuesKeys();
if (keys.length == 0)
return [];
return keys;
};
LocalizableStrings.prototype.getJson = function () {
var keys = this.getValuesKeys();
if (keys.length == 0)
return null;
if (keys.length == 1 &&
keys[0] == _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].localization.defaultLocaleName &&
!_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].serialization.localizableStringSerializeAsObject)
return this.values[keys[0]];
return _helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].createCopy(this.values);
};
LocalizableStrings.prototype.setJson = function (value) {
this.values = {};
if (!value)
return;
if (Array.isArray(value)) {
this.setValue(null, value);
}
else {
for (var key in value) {
this.setValue(key, value[key]);
}
}
};
LocalizableStrings.prototype.getValuesKeys = function () {
return Object.keys(this.values);
};
return LocalizableStrings;
}());
/***/ }),
/***/ "./src/localization/arabic.ts":
/*!************************************!*\
!*** ./src/localization/arabic.ts ***!
\************************************/
/*! exports provided: arabicSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "arabicSurveyStrings", function() { return arabicSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var arabicSurveyStrings = {
pagePrevText: "السابق",
pageNextText: "التالي",
completeText: "إرسال البيانات",
previewText: "معاينة",
editText: "تعديل",
startSurveyText: "بداية",
otherItemText: "نص آخر",
noneItemText: "لا شيء",
refuseItemText: "رفض الإجابة",
dontKnowItemText: "لا أعرف",
selectAllItemText: "اختر الكل",
progressText: "{1} صفحة {0} من",
indexText: "{0} من {1}",
panelDynamicProgressText: "سجل {0} من {1}",
panelDynamicTabTextFormat: "لوحة {بانل إندكس}",
questionsProgressText: "تمت الإجابة على أسئلة {0} / {1}",
emptySurvey: "لا توجد صفحة مرئية أو سؤال في النموذج",
completingSurvey: "شكرا لكم لاستكمال النموذج!",
completingSurveyBefore: "تظهر سجلاتنا أنك قد أكملت هذا الاستطلاع بالفعل.",
loadingSurvey: "...يتم تحميل النموذج",
placeholder: "...اختر",
ratingOptionsCaption: "اختار...",
value: "القيمة",
requiredError: ".يرجى الإجابة على السؤال",
requiredErrorInPanel: "الرجاء الإجابة على سؤال واحد على الأقل.",
requiredInAllRowsError: "يرجى الإجابة على الأسئلة في جميع الصفوف",
eachRowUniqueError: "يجب أن يكون لكل صف قيمة فريدة.",
numericError: "يجب أن تكون القيمة رقمية.",
minError: "يجب ألا تقل القيمة عن {0}",
maxError: "يجب ألا تزيد القيمة عن {0}",
textMinLength: "الرجاء إدخال ما لا يقل عن {0} حروف",
textMaxLength: "الرجاء إدخال أقل من {0} حروف",
textMinMaxLength: "يرجى إدخال أكثر من {0} وأقل من {1} حروف",
minRowCountError: "يرجى ملء ما لا يقل عن {0} الصفوف",
minSelectError: "يرجى تحديد ما لا يقل عن {0} المتغيرات",
maxSelectError: "يرجى تحديد ما لا يزيد عن {0} المتغيرات",
numericMinMax: "و'{0}' يجب أن تكون مساوية أو أكثر من {1} وتساوي أو أقل من {2}ا",
numericMin: "و'{0}' يجب أن تكون مساوية أو أكثر من {1}ا",
numericMax: "و'{0}' يجب أن تكون مساوية أو أقل من {1}ا",
invalidEmail: "الرجاء إدخال بريد الكتروني صحيح",
invalidExpression: "يجب أن يعرض التعبير: {0} 'صواب'.",
urlRequestError: "طلب إرجاع خطأ '{0}'. {1}ا",
urlGetChoicesError: "عاد طلب البيانات فارغ أو 'المسار' غير صحيح ",
exceedMaxSize: "ينبغي ألا يتجاوز حجم الملف {0}ا",
noUploadFilesHandler: "لا يمكن تحميل الملفات. يرجى إضافة معالج لحدث \"onUploadFiles\".",
otherRequiredError: "الرجاء إدخال قيمة أخرى",
uploadingFile: "تحميل الملف الخاص بك. يرجى الانتظار عدة ثوان والمحاولة لاحقًا",
loadingFile: "جار التحميل...",
chooseFile: "اختر الملفات...",
noFileChosen: "لم تقم باختيار ملف",
filePlaceholder: "اسحب ملفا وأفلته هنا أو انقر فوق الزر أدناه واختر ملفا لتحميله.",
confirmDelete: "هل تريد حذف السجل؟",
keyDuplicationError: "يجب أن تكون هذه القيمة فريدة.",
addColumn: "أضف العمود",
addRow: "اضافة صف",
removeRow: "إزالة صف",
emptyRowsText: "لا توجد صفوف.",
addPanel: "اضف جديد",
removePanel: "إزالة",
showDetails: "اظهر التفاصيل",
hideDetails: "إخفاء التفاصيل",
choices_Item: "بند",
matrix_column: "عمود",
matrix_row: "صف",
multipletext_itemname: "نص",
savingData: "يتم حفظ النتائج على الخادم ...",
savingDataError: "حدث خطأ ولم نتمكن من حفظ النتائج.",
savingDataSuccess: "تم حفظ النتائج بنجاح!",
saveAgainButton: "حاول مجددا",
timerMin: "دقيقة",
timerSec: "ثانية",
timerSpentAll: "لقد أنفقت {0} على هذه الصفحة و {1} إجمالاً.",
timerSpentPage: "لقد أنفقت {0} على هذه الصفحة.",
timerSpentSurvey: "لقد أنفقت {0} إجمالاً.",
timerLimitAll: "لقد أنفقت {0} من {1} في هذه الصفحة و {2} من إجمالي {3}.",
timerLimitPage: "لقد أنفقت {0} من {1} في هذه الصفحة.",
timerLimitSurvey: "لقد أنفقت {0} من إجمالي {1}.",
clearCaption: "واضح",
signaturePlaceHolder: "وقع هنا",
chooseFileCaption: "اختر ملف",
takePhotoCaption: "التقاط صورة",
photoPlaceholder: "انقر فوق الزر أدناه لالتقاط صورة باستخدام الكاميرا.",
fileOrPhotoPlaceholder: "قم بسحب ملف وإفلاته أو تحديده لتحميله أو التقاط صورة باستخدام الكاميرا.",
replaceFileCaption: "استبدال الملف",
removeFileCaption: "قم بإزالة هذا الملف",
booleanCheckedLabel: "نعم",
booleanUncheckedLabel: "لا",
confirmRemoveFile: "هل أنت متأكد أنك تريد إزالة هذا الملف: {0}؟",
confirmRemoveAllFiles: "هل أنت متأكد أنك تريد إزالة كافة الملفات؟",
questionTitlePatternText: "عنوان السؤال",
modalCancelButtonText: "إلغاء الأمر",
modalApplyButtonText: "طبق",
filterStringPlaceholder: "اكتب للبحث...",
emptyMessage: "لا توجد بيانات للعرض",
noEntriesText: "لا توجد إدخالات حتى الآن.\nانقر فوق الزر أدناه لإضافة إدخال جديد.",
noEntriesReadonlyText: "لا توجد إدخالات.",
more: "أكثر",
tagboxDoneButtonCaption: "موافق",
selectToRankEmptyRankedAreaText: "يتم ترتيب جميع الخيارات",
selectToRankEmptyUnrankedAreaText: "قم بسحب وإسقاط الخيارات هنا لترتيبها",
ok: "موافق",
cancel: "إلغاء الأمر"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ar"] = arabicSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ar"] = "العربية";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} من {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "لوحة {بانل إندكس}"
// ratingOptionsCaption: "Select..." => "اختار..."
// minError: "The value should not be less than {0}" => "يجب ألا تقل القيمة عن {0}"
// maxError: "The value should not be greater than {0}" => "يجب ألا تزيد القيمة عن {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "اسحب ملفا وأفلته هنا أو انقر فوق الزر أدناه واختر ملفا لتحميله."
// emptyRowsText: "There are no rows." => "لا توجد صفوف."
// multipletext_itemname: "text" => "نص"
// signaturePlaceHolder: "Sign here" => "وقع هنا"
// modalCancelButtonText: "Cancel" => "إلغاء الأمر"
// modalApplyButtonText: "Apply" => "طبق"
// filterStringPlaceholder: "Type to search..." => "اكتب للبحث..."
// emptyMessage: "No data to display" => "لا توجد بيانات للعرض"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "لا توجد إدخالات حتى الآن.\nانقر فوق الزر أدناه لإضافة إدخال جديد."
// noEntriesReadonlyText: "There are no entries." => "لا توجد إدخالات."
// more: "More" => "أكثر"
// tagboxDoneButtonCaption: "OK" => "موافق"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "يتم ترتيب جميع الخيارات"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "قم بسحب وإسقاط الخيارات هنا لترتيبها"// takePhotoCaption: "Take Photo" => "التقاط صورة"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "انقر فوق الزر أدناه لالتقاط صورة باستخدام الكاميرا."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "قم بسحب ملف وإفلاته أو تحديده لتحميله أو التقاط صورة باستخدام الكاميرا."
// replaceFileCaption: "Replace file" => "استبدال الملف"// eachRowUniqueError: "Each row must have a unique value." => "يجب أن يكون لكل صف قيمة فريدة."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "لا يمكن تحميل الملفات. يرجى إضافة معالج لحدث \"onUploadFiles\"."
// showDetails: "Show Details" => "اظهر التفاصيل"
// hideDetails: "Hide Details" => "إخفاء التفاصيل"
// ok: "OK" => "موافق"
// cancel: "Cancel" => "إلغاء الأمر"
// refuseItemText: "Refuse to answer" => "رفض الإجابة"
// dontKnowItemText: "Don't know" => "لا أعرف"
/***/ }),
/***/ "./src/localization/basque.ts":
/*!************************************!*\
!*** ./src/localization/basque.ts ***!
\************************************/
/*! exports provided: basqueSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "basqueSurveyStrings", function() { return basqueSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var basqueSurveyStrings = {
pagePrevText: "Aurrekoa",
pageNextText: "Hurrengoa",
completeText: "Bukatu",
previewText: "Aurrebista",
editText: "Editatu",
startSurveyText: "Hasi",
otherItemText: "Beste bat (zehaztu)",
noneItemText: "Bat ere ez",
refuseItemText: "Erantzuteari uko egin",
dontKnowItemText: "Ez dakit",
selectAllItemText: "Guztia hautatu",
progressText: "{1}-(e)tik {0} orrialde",
indexText: "{1} {0}",
panelDynamicProgressText: "{0} errigistro {1}-(e)tik",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Erantzundako galderak {0}/{1}",
emptySurvey: "Ez dago orrialde bistaragarririk edo ez dago galderarik.",
completingSurvey: "Eskerrik asko galdetegia erantzuteagatik!",
completingSurveyBefore: "Gure datuek diote dagoeneko galdetegia erantzun duzula.",
loadingSurvey: "Galdetegia kargatzen...",
placeholder: "Hautatu...",
ratingOptionsCaption: "Aukeratu...",
value: "balioa",
requiredError: "Mesedez, galdera erantzun.",
requiredErrorInPanel: "Mesedez, gutxienez galdera bat erantzun.",
requiredInAllRowsError: "Mesedez, errenkadako galdera guztiak erantzun.",
eachRowUniqueError: "Ilara bakoitzak balio bakarra izan behar du.",
numericError: "Estimazioa zenbakizkoa izan behar du.",
minError: "Balioa ez da {0} baino txikiagoa izan behar",
maxError: "Balioa ez da {0} baino handiagoa izan behar",
textMinLength: "Mesedez, gutxienez {0} karaktere erabili behar dira.",
textMaxLength: "Mesedez, gehienez {0} karaktere erabili behar dira.",
textMinMaxLength: "Mesedez, gehienez {0} eta gutxienez {1} karaktere erabili behar dira.",
minRowCountError: "Mesedez, gutxienez {0} errenkada bete.",
minSelectError: "Mesedez, gutxienez {0} aukera hautatu.",
maxSelectError: "Mesedez, {0} aukera baino gehiago ez hautatu.",
numericMinMax: "El '{0}' debe de ser igual o más de {1} y igual o menos de {2}",
numericMin: "'{0}' {1} baino handiagoa edo berdin izan behar da",
numericMax: "'{0}' {1} baino txikiago edo berdin izan behar da",
invalidEmail: "Mesedez, baliozko emaila idatz ezazu.",
invalidExpression: "{0} adierazpenak 'egiazkoa' itzuli beharko luke.",
urlRequestError: "Eskaerak '{0}' errorea itzuli du. {1}",
urlGetChoicesError: "La solicitud regresó vacío de data o la propiedad 'trayectoria' no es correcta",
exceedMaxSize: "Fitxategiaren tamaina ez da {0} baino handiagoa izan behar.",
noUploadFilesHandler: "Artxiboak ezin dira kargatu. Gaineratu kontrolatzaile bat 'onUploadFiles' ekitaldirako.",
otherRequiredError: "Mesedez, beste estimazioa gehitu.",
uploadingFile: "Zure fitxategia igotzen ari da. Mesedez, segundo batzuk itxaron eta saiatu berriro.",
loadingFile: "Kargatzen...",
chooseFile: "Fitxategia(k) hautatu...",
noFileChosen: "Ez da inolako fitxategirik hautatu",
filePlaceholder: "Arrastatu eta askatu artxibo bat hemen edo klik egin beheko botoian eta aukeratu artxibo bat kargatzeko.",
confirmDelete: "¿Erregistroa borratu nahi al duzu?",
keyDuplicationError: "Balio hau bakarra izan behar du.",
addColumn: "Zutabe bat gehitu",
addRow: "Errenkada bat gehitu",
removeRow: "Errenkada bat kendu",
emptyRowsText: "Ez dago errenkadarik.",
addPanel: "Berria gehitu",
removePanel: "Kendu",
showDetails: "Xehetasunak erakutsi",
hideDetails: "Xehetasunak ezkutatu",
choices_Item: "artikulua",
matrix_column: "Zutabea",
matrix_row: "Errenkada",
multipletext_itemname: "testua",
savingData: "Erantzunak zerbitzarian gordetzen ari dira...",
savingDataError: "Erroreren bat gertatu eta erantzunak ez dira zerbitzarian gorde ahal izan.",
savingDataSuccess: "Erantzunak egoki gorde dira!",
saveAgainButton: "Berriro saiatu.",
timerMin: "min",
timerSec: "seg",
timerSpentAll: "{0} erabili duzu orrialde honetan eta orotara {1}.",
timerSpentPage: "Zuk {0} erabili duzu.",
timerSpentSurvey: "Orotara gastatu duzu.",
timerLimitAll: "{0} gastatu duzu {1}-(e)tik orrialde honetan eta orotara {2} {3}-(e)tik.",
timerLimitPage: "{0} gastatu duzu orrialde honetan {1}-(e)tik.",
timerLimitSurvey: "Zuk orotara {0} gastatu duzu {1}-(e)tik.",
clearCaption: "Hustu",
signaturePlaceHolder: "Sinatu hemen",
chooseFileCaption: "Fitxategia hautatu",
takePhotoCaption: "Argazkia hartu",
photoPlaceholder: "Egin klik beheko botoian, kamerarekin argazki bat hartzeko.",
fileOrPhotoPlaceholder: "Arrastatu eta askatu artxibo bat kamerarekin argazki bat kargatzeko edo hartzeko.",
replaceFileCaption: "Artxiboa ordeztu",
removeFileCaption: "Fitxategi hau ezabatu",
booleanCheckedLabel: "Bai",
booleanUncheckedLabel: "Ez",
confirmRemoveFile: "Ziur zaude hurrengo fitxategia ezabatu nahi duzula: {0}?",
confirmRemoveAllFiles: "Ziur al zaude fitxategi guztiak ezabatu nahi dituzula?",
questionTitlePatternText: "Galderaren izenburua",
modalCancelButtonText: "Ezeztatu",
modalApplyButtonText: "Ezarri",
filterStringPlaceholder: "Idatzi bila...",
emptyMessage: "Ez daturik erakusteko",
noEntriesText: "Oraindik ez sarrerarik.\nKlik beheko botoian klik egin sarrera berri bat eransteko.",
noEntriesReadonlyText: "Ez sarrerarik.",
more: "Gehiago",
tagboxDoneButtonCaption: "Ados",
selectToRankEmptyRankedAreaText: "Aukera guztiak sailkatuta daude",
selectToRankEmptyUnrankedAreaText: "Arrastaka eta askatzen ditu hemen sailkatzeko",
ok: "Ados",
cancel: "Ezeztatu"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["eu"] = basqueSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["eu"] = "Euskara";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{1} {0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Aukeratu..."
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Arrastatu eta askatu artxibo bat hemen edo klik egin beheko botoian eta aukeratu artxibo bat kargatzeko."
// filterStringPlaceholder: "Type to search..." => "Idatzi bila..."
// emptyMessage: "No data to display" => "Ez daturik erakusteko"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Oraindik ez sarrerarik.\nKlik beheko botoian klik egin sarrera berri bat eransteko."
// noEntriesReadonlyText: "There are no entries." => "Ez sarrerarik."
// more: "More" => "Gehiago"
// tagboxDoneButtonCaption: "OK" => "Ados"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Aukera guztiak sailkatuta daude"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Arrastaka eta askatzen ditu hemen sailkatzeko"// takePhotoCaption: "Take Photo" => "Argazkia hartu"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Egin klik beheko botoian, kamerarekin argazki bat hartzeko."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Arrastatu eta askatu artxibo bat kamerarekin argazki bat kargatzeko edo hartzeko."
// replaceFileCaption: "Replace file" => "Artxiboa ordeztu"// eachRowUniqueError: "Each row must have a unique value." => "Ilara bakoitzak balio bakarra izan behar du."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Artxiboak ezin dira kargatu. Gaineratu kontrolatzaile bat 'onUploadFiles' ekitaldirako."
// showDetails: "Show Details" => "Xehetasunak erakutsi"
// hideDetails: "Hide Details" => "Xehetasunak ezkutatu"
// ok: "OK" => "Ados"
// cancel: "Cancel" => "Ezeztatu"
// refuseItemText: "Refuse to answer" => "Erantzuteari uko egin"
// dontKnowItemText: "Don't know" => "Ez dakit"
/***/ }),
/***/ "./src/localization/bulgarian.ts":
/*!***************************************!*\
!*** ./src/localization/bulgarian.ts ***!
\***************************************/
/*! exports provided: bulgarianStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bulgarianStrings", function() { return bulgarianStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var bulgarianStrings = {
pagePrevText: "Назад",
pageNextText: "Напред",
completeText: "Край",
previewText: "Визуализация",
editText: "редактиране",
startSurveyText: "Начало",
otherItemText: "Друго (опишете)",
noneItemText: "Нито един",
refuseItemText: "Отказва да отговори",
dontKnowItemText: "Не знам",
selectAllItemText: "Всички",
progressText: "стр. {0}, общо стр. {1}",
indexText: "{0} на {1}",
panelDynamicProgressText: "Запис {0} от {1}",
panelDynamicTabTextFormat: "Панел {panelIndex}",
questionsProgressText: "Отговорени на {0} / {1} въпроса",
emptySurvey: "Анкетата не съдържа видими страници или въпроси.",
completingSurvey: "Благодарим ви за участието в анкетата!",
completingSurveyBefore: "Изглежда, че вие вече сте попълнили анкетата.",
loadingSurvey: "Зареждане на анкетата...",
placeholder: "Изберете...",
ratingOptionsCaption: "Отбран...",
value: "value",
requiredError: "Моля, отговорете на следния въпрос.",
requiredErrorInPanel: "Моля, отговорете поне на един от въпросите.",
requiredInAllRowsError: "Моля, отговорете на въпросите на всички редове.",
eachRowUniqueError: "Всеки ред трябва да има уникална стойност.",
numericError: "Стойността следва да бъде число.",
minError: "Стойността не трябва да бъде по-малка от {0}",
maxError: "Стойността не трябва да бъде по-голяма от {0}",
textMinLength: "Моля, използвайте поне {0} символа.",
textMaxLength: "Моля, използвайте не повече от {0} символа.",
textMinMaxLength: "Моля, използвайте повече от {0} и по-малко от {1} символа.",
minRowCountError: "Моля, попълнете поне {0} реда.",
minSelectError: "Моля, изберете поне {0} варианта.",
maxSelectError: "Моля, изберете не повече от {0} варианта.",
numericMinMax: "Стойността '{0}' следва да бъде равна или по-голяма от {1} и равна или по-малка от {2}",
numericMin: "Стойността '{0}' следва да бъде равна или по-голяма от {1}",
numericMax: "Стойността '{0}' следва да бъде равна или по-малка от {1}",
invalidEmail: "Моля, въведете валиден адрес на електронна поща.",
invalidExpression: "Изразът: {0} трябва да дава резултат 'true' (истина).",
urlRequestError: "Заявката води до грешка '{0}'. {1}",
urlGetChoicesError: "Заявката не връща данни или частта 'path' (път до търсения ресурс на сървъра) е неправилно зададена",
exceedMaxSize: "Размерът на файла следва да не превишава {0}.",
noUploadFilesHandler: "Файловете не могат да бъдат качени. Моля, добавете манипулатор за събитието \"onUploadFiles\".",
otherRequiredError: "Моля, въведете другата стойност.",
uploadingFile: "Вашит файл се зарежда на сървъра. Моля, изчакайте няколко секунди и тогава опитвайте отново.",
loadingFile: "Зареждане...",
chooseFile: "Изберете файл(ове)...",
noFileChosen: "Няма избран файл",
filePlaceholder: "Плъзнете и пуснете файл тук или щракнете върху бутона по-долу и изберете файл за качване.",
confirmDelete: "Желаете ли да изтриете записа?",
keyDuplicationError: "Стойността следва да бъде уникална.",
addColumn: "Добавяне на колона",
addRow: "Добавяне на ред",
removeRow: "Премахване на ред",
emptyRowsText: "Няма редове.",
addPanel: "Добавяне на панел",
removePanel: "Премахване на панел",
showDetails: "Показване на подробни данни",
hideDetails: "Скрий подробните данни",
choices_Item: "елемент",
matrix_column: "Колона",
matrix_row: "Ред",
multipletext_itemname: "Текст",
savingData: "Резултатите се запазват на сървъра...",
savingDataError: "Поради възникнала грешка резултатите не можаха да бъдат запазени.",
savingDataSuccess: "Резултатите бяха запазени успешно!",
saveAgainButton: "Нов опит",
timerMin: "мин",
timerSec: "сек",
timerSpentAll: "Вие използвахте {0} на тази страница и общо {1}.",
timerSpentPage: "Вие използвахте {0} на тази страница.",
timerSpentSurvey: "Вие използвахте общо {0}.",
timerLimitAll: "Вие изпозвахте {0} от {1} на тази страница и общо {2} от {3}.",
timerLimitPage: "Вие използвахте {0} от {1} на тази страница.",
timerLimitSurvey: "Вие използвахте общо {0} от {1}.",
clearCaption: "Начално състояние",
signaturePlaceHolder: "Подпишете тук",
chooseFileCaption: "Изберете файл",
takePhotoCaption: "Направете снимка",
photoPlaceholder: "Кликнете върху бутона по-долу, за да направите снимка с помощта на камерата.",
fileOrPhotoPlaceholder: "Плъзнете и пуснете или изберете файл за качване или правене на снимка с помощта на камерата.",
replaceFileCaption: "Заместване на файл",
removeFileCaption: "Премахване на файла",
booleanCheckedLabel: "Да",
booleanUncheckedLabel: "Не",
confirmRemoveFile: "Наистина ли искате да премахнете този файл: {0}?",
confirmRemoveAllFiles: "Наистина ли искате да премахнете всички файлове?",
questionTitlePatternText: "Заглавие на въпроса",
modalCancelButtonText: "Отмени",
modalApplyButtonText: "Прилагам",
filterStringPlaceholder: "Въведете за търсене...",
emptyMessage: "Няма данни за показване",
noEntriesText: "Все още няма записи.\nЩракнете върху бутона по-долу, за да добавите нов запис.",
noEntriesReadonlyText: "Няма записи.",
more: "Още",
tagboxDoneButtonCaption: "Добре",
selectToRankEmptyRankedAreaText: "Всички възможности за избор са класирани",
selectToRankEmptyUnrankedAreaText: "Плъзнете и пуснете опции тук, за да ги класирате",
ok: "Добре",
cancel: "Отмени"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["bg"] = bulgarianStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["bg"] = "български";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} на {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Панел {panelIndex}"
// ratingOptionsCaption: "Select..." => "Отбран..."
// minError: "The value should not be less than {0}" => "Стойността не трябва да бъде по-малка от {0}"
// maxError: "The value should not be greater than {0}" => "Стойността не трябва да бъде по-голяма от {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Плъзнете и пуснете файл тук или щракнете върху бутона по-долу и изберете файл за качване."
// emptyRowsText: "There are no rows." => "Няма редове."
// multipletext_itemname: "text" => "Текст"
// signaturePlaceHolder: "Sign here" => "Подпишете тук"
// modalCancelButtonText: "Cancel" => "Отмени"
// modalApplyButtonText: "Apply" => "Прилагам"
// filterStringPlaceholder: "Type to search..." => "Въведете за търсене..."
// emptyMessage: "No data to display" => "Няма данни за показване"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Все още няма записи.\nЩракнете върху бутона по-долу, за да добавите нов запис."
// noEntriesReadonlyText: "There are no entries." => "Няма записи."
// more: "More" => "Още"
// tagboxDoneButtonCaption: "OK" => "Добре"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Всички възможности за избор са класирани"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Плъзнете и пуснете опции тук, за да ги класирате"// takePhotoCaption: "Take Photo" => "Направете снимка"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Кликнете върху бутона по-долу, за да направите снимка с помощта на камерата."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Плъзнете и пуснете или изберете файл за качване или правене на снимка с помощта на камерата."
// replaceFileCaption: "Replace file" => "Заместване на файл"// eachRowUniqueError: "Each row must have a unique value." => "Всеки ред трябва да има уникална стойност."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Файловете не могат да бъдат качени. Моля, добавете манипулатор за събитието \"onUploadFiles\"."
// showDetails: "Show Details" => "Показване на подробни данни"
// hideDetails: "Hide Details" => "Скрий подробните данни"
// ok: "OK" => "Добре"
// cancel: "Cancel" => "Отмени"
// refuseItemText: "Refuse to answer" => "Отказва да отговори"
// dontKnowItemText: "Don't know" => "Не знам"
/***/ }),
/***/ "./src/localization/catalan.ts":
/*!*************************************!*\
!*** ./src/localization/catalan.ts ***!
\*************************************/
/*! exports provided: catalanSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "catalanSurveyStrings", function() { return catalanSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var catalanSurveyStrings = {
pagePrevText: "Anterior",
pageNextText: "Següent",
completeText: "Complet",
previewText: "Preestrena",
editText: "Editar",
startSurveyText: "Començar",
otherItemText: "Un altre (descrigui)",
noneItemText: "Cap",
refuseItemText: "Negar-se a respondre",
dontKnowItemText: "No sé",
selectAllItemText: "Selecciona-ho tot",
progressText: "Pàgina {0} de {1}",
indexText: "{0} de {1}",
panelDynamicProgressText: "{0} de {1}",
panelDynamicTabTextFormat: "Panell {panelIndex}",
questionsProgressText: "Respostes {0}/{1} preguntes",
emptySurvey: "No hi ha cap pàgina visible o pregunta a l'enquesta.",
completingSurvey: "Gràcies per completar l'enquesta!",
completingSurveyBefore: "Els nostres registres mostren que ja heu completat aquesta enquesta.",
loadingSurvey: "L'enquesta s'està carregant ...",
placeholder: "Selecciona ...",
ratingOptionsCaption: "Seleccionar...",
value: "valor",
requiredError: "Si us plau contesti la pregunta.",
requiredErrorInPanel: "Resposta necessària: respondre almenys una pregunta.",
requiredInAllRowsError: "Si us plau contesti les preguntes de cada filera.",
eachRowUniqueError: "Cada fila ha de tenir un valor únic.",
numericError: "L'estimació ha de ser numèrica.",
minError: "El valor no ha de ser inferior a {0}",
maxError: "El valor no ha de ser superior a {0}",
textMinLength: "Si us plau entre almenys {0} símbols.",
textMaxLength: "Si us plau entre menys de {0} símbols.",
textMinMaxLength: "Si us plau entre més de {0} i menys de {1} símbols.",
minRowCountError: "Si us plau ompli almenys {0} fileres.",
minSelectError: "Si us plau seleccioni almenys {0} variants.",
maxSelectError: "Si us plau seleccioni no més de {0} variants.",
numericMinMax: "El '{0}' deu ser igual o més de {1} i igual o menys de {2}",
numericMin: "El '{0}' ha de ser igual o més de {1}",
numericMax: "El '{0}' ha de ser igual o menys de {1}",
invalidEmail: "Si us plau afegiu un correu electrònic vàlid.",
invalidExpression: "L'expressió: {0} ha de tornar 'veritable'.",
urlRequestError: "La sol·licitud va tornar error '{0}'. {1}",
urlGetChoicesError: "La sol·licitud va tornar buida de dates o la propietat 'trajectòria' no és correcta",
exceedMaxSize: "La mida de l'arxiu no pot excedir {0}.",
noUploadFilesHandler: "No es poden carregar fitxers. Afegiu un controlador per a l'esdeveniment 'onUploadFiles'.",
otherRequiredError: "Si us plau afegiu l'altra estimació.",
uploadingFile: "El seu arxiu s'està pujant. Si us plau esperi uns segons i intenteu-ho de nou.",
loadingFile: "Càrrega...",
chooseFile: "Trieu fitxer(s)...",
noFileChosen: "No s'ha triat cap fitxer",
filePlaceholder: "Arrossegueu i deixeu anar un fitxer aquí o feu clic al botó següent i trieu un fitxer per carregar.",
confirmDelete: "Vols eliminar el registre?",
keyDuplicationError: "Aquest valor ha de ser únic.",
addColumn: "Afegeix una columna",
addRow: "Afegiu una filera",
removeRow: "Eliminar una filera",
emptyRowsText: "No hi ha files.",
addPanel: "Afegeix un nou",
removePanel: "Treure",
showDetails: "Mostra els detalls",
hideDetails: "Amaga els detalls",
choices_Item: "ítem",
matrix_column: "Columna",
matrix_row: "Filera",
multipletext_itemname: "SMS",
savingData: "Els resultats s'estan guardant al servidor...",
savingDataError: "S'ha produït un error i no hem pogut guardar els resultats.",
savingDataSuccess: "Els resultats es van salvar amb èxit!",
saveAgainButton: "Prova una altra vegada",
timerMin: "min",
timerSec: "Seg",
timerSpentAll: "Heu passat {0} en aquesta pàgina i {1} en total.",
timerSpentPage: "Has passat {0} en aquesta pàgina.",
timerSpentSurvey: "Has gastat {0} en total.",
timerLimitAll: "Heu passat {0} de {1} en aquesta pàgina i {2} de {3} en total.",
timerLimitPage: "Has passat {0} de {1} en aquesta pàgina.",
timerLimitSurvey: "Has gastat {0} d'{1} en total.",
clearCaption: "Clar",
signaturePlaceHolder: "Inscriu-te aquí",
chooseFileCaption: "Tria un fitxer",
takePhotoCaption: "Fer foto",
photoPlaceholder: "Feu clic al botó següent per fer una foto amb la càmera.",
fileOrPhotoPlaceholder: "Arrossegueu i deixeu anar o seleccioneu un fitxer per penjar-lo o fer-ne una foto amb la càmera.",
replaceFileCaption: "Substitueix el fitxer",
removeFileCaption: "Suprimeix aquest fitxer",
booleanCheckedLabel: "Sí",
booleanUncheckedLabel: "No",
confirmRemoveFile: "Esteu segur que voleu eliminar aquest fitxer: {0}?",
confirmRemoveAllFiles: "Esteu segur que voleu eliminar tots els fitxers?",
questionTitlePatternText: "Títol de la pregunta",
modalCancelButtonText: "Cancel·lar",
modalApplyButtonText: "Aplicar",
filterStringPlaceholder: "Escriviu per cercar...",
emptyMessage: "No hi ha dades per mostrar",
noEntriesText: "Encara no hi ha entrades.\nFeu clic al botó següent per afegir una entrada nova.",
noEntriesReadonlyText: "No hi ha entrades.",
more: "Més",
tagboxDoneButtonCaption: "D'ACORD",
selectToRankEmptyRankedAreaText: "Totes les opcions estan classificades",
selectToRankEmptyUnrankedAreaText: "Arrossegueu i deixeu anar les opcions aquí per classificar-les",
ok: "D'ACORD",
cancel: "Cancel·lar"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ca"] = catalanSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ca"] = "català";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// previewText: "Preview" => "Preestrena"
// editText: "Edit" => "Editar"
// startSurveyText: "Start" => "Començar"
// noneItemText: "None" => "Cap"
// selectAllItemText: "Select All" => "Selecciona-ho tot"
// indexText: "{0} of {1}" => "{0} de {1}"
// panelDynamicProgressText: "{0} of {1}" => "{0} de {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panell {panelIndex}"
// questionsProgressText: "Answered {0}/{1} questions" => "Respostes {0}/{1} preguntes"
// completingSurveyBefore: "Our records show that you have already completed this survey." => "Els nostres registres mostren que ja heu completat aquesta enquesta."
// ratingOptionsCaption: "Select..." => "Seleccionar..."
// value: "value" => "valor"
// requiredErrorInPanel: "Response required: answer at least one question." => "Resposta necessària: respondre almenys una pregunta."
// minError: "The value should not be less than {0}" => "El valor no ha de ser inferior a {0}"
// maxError: "The value should not be greater than {0}" => "El valor no ha de ser superior a {0}"
// invalidExpression: "The expression: {0} should return 'true'." => "L'expressió: {0} ha de tornar 'veritable'."
// loadingFile: "Loading..." => "Càrrega..."
// chooseFile: "Choose file(s)..." => "Trieu fitxer(s)..."
// noFileChosen: "No file chosen" => "No s'ha triat cap fitxer"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Arrossegueu i deixeu anar un fitxer aquí o feu clic al botó següent i trieu un fitxer per carregar."
// confirmDelete: "Do you want to delete the record?" => "Vols eliminar el registre?"
// keyDuplicationError: "This value should be unique." => "Aquest valor ha de ser únic."
// addColumn: "Add Column" => "Afegeix una columna"
// emptyRowsText: "There are no rows." => "No hi ha files."
// addPanel: "Add new" => "Afegeix un nou"
// removePanel: "Remove" => "Treure"
// choices_Item: "item" => "ítem"
// multipletext_itemname: "text" => "SMS"
// savingData: "The results are being saved on the server..." => "Els resultats s'estan guardant al servidor..."
// savingDataError: "An error occurred and we could not save the results." => "S'ha produït un error i no hem pogut guardar els resultats."
// savingDataSuccess: "The results were saved successfully!" => "Els resultats es van salvar amb èxit!"
// saveAgainButton: "Try again" => "Prova una altra vegada"
// timerMin: "min" => "min"
// timerSec: "sec" => "Seg"
// timerSpentAll: "You have spent {0} on this page and {1} in total." => "Heu passat {0} en aquesta pàgina i {1} en total."
// timerSpentPage: "You have spent {0} on this page." => "Has passat {0} en aquesta pàgina."
// timerSpentSurvey: "You have spent {0} in total." => "Has gastat {0} en total."
// timerLimitAll: "You have spent {0} of {1} on this page and {2} of {3} in total." => "Heu passat {0} de {1} en aquesta pàgina i {2} de {3} en total."
// timerLimitPage: "You have spent {0} of {1} on this page." => "Has passat {0} de {1} en aquesta pàgina."
// timerLimitSurvey: "You have spent {0} of {1} in total." => "Has gastat {0} d'{1} en total."
// clearCaption: "Clear" => "Clar"
// signaturePlaceHolder: "Sign here" => "Inscriu-te aquí"
// chooseFileCaption: "Choose file" => "Tria un fitxer"
// removeFileCaption: "Remove this file" => "Suprimeix aquest fitxer"
// booleanCheckedLabel: "Yes" => "Sí"
// booleanUncheckedLabel: "No" => "No"
// confirmRemoveFile: "Are you sure that you want to remove this file: {0}?" => "Esteu segur que voleu eliminar aquest fitxer: {0}?"
// confirmRemoveAllFiles: "Are you sure that you want to remove all files?" => "Esteu segur que voleu eliminar tots els fitxers?"
// questionTitlePatternText: "Question Title" => "Títol de la pregunta"
// modalCancelButtonText: "Cancel" => "Cancel·lar"
// modalApplyButtonText: "Apply" => "Aplicar"
// filterStringPlaceholder: "Type to search..." => "Escriviu per cercar..."
// emptyMessage: "No data to display" => "No hi ha dades per mostrar"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Encara no hi ha entrades.\nFeu clic al botó següent per afegir una entrada nova."
// noEntriesReadonlyText: "There are no entries." => "No hi ha entrades."
// more: "More" => "Més"
// tagboxDoneButtonCaption: "OK" => "D'ACORD"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Totes les opcions estan classificades"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Arrossegueu i deixeu anar les opcions aquí per classificar-les"// takePhotoCaption: "Take Photo" => "Fer foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Feu clic al botó següent per fer una foto amb la càmera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Arrossegueu i deixeu anar o seleccioneu un fitxer per penjar-lo o fer-ne una foto amb la càmera."
// replaceFileCaption: "Replace file" => "Substitueix el fitxer"// eachRowUniqueError: "Each row must have a unique value." => "Cada fila ha de tenir un valor únic."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "No es poden carregar fitxers. Afegiu un controlador per a l'esdeveniment 'onUploadFiles'."
// showDetails: "Show Details" => "Mostra els detalls"
// hideDetails: "Hide Details" => "Amaga els detalls"
// ok: "OK" => "D'ACORD"
// cancel: "Cancel" => "Cancel·lar"
// refuseItemText: "Refuse to answer" => "Negar-se a respondre"
// dontKnowItemText: "Don't know" => "No sé"
/***/ }),
/***/ "./src/localization/croatian.ts":
/*!**************************************!*\
!*** ./src/localization/croatian.ts ***!
\**************************************/
/*! exports provided: croatianStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "croatianStrings", function() { return croatianStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var croatianStrings = {
pagePrevText: "Prethodni",
pageNextText: "Sljedeći",
completeText: "Kompletan",
previewText: "Pregled",
editText: "Uređivanje",
startSurveyText: "Početak",
otherItemText: "Ostali (opis)",
noneItemText: "Nitko",
refuseItemText: "Odbijte odgovoriti",
dontKnowItemText: "Ne znam",
selectAllItemText: "Select All",
progressText: "Stranica {0} od {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Zapisa {0} od {1}",
panelDynamicTabTextFormat: "Ploča {panelIndex}",
questionsProgressText: "Odgovorio na {0}/{1} pitanja",
emptySurvey: "U anketi nema vidljive stranice ili pitanja.",
completingSurvey: "Hvala vam što ste završili anketu!",
completingSurveyBefore: "Naši zapisi pokazuju da ste već završili ovu anketu.",
loadingSurvey: "Anketa o učitavanje...",
placeholder: "Odaberite...",
ratingOptionsCaption: "Odabirati...",
value: "vrijednost",
requiredError: "Molim vas odgovorite na pitanje.",
requiredErrorInPanel: "Molim vas odgovorite na barem jedno pitanje.",
requiredInAllRowsError: "Odgovorite na pitanja u svim redovima.",
eachRowUniqueError: "Svaki redak mora imati jedinstvenu vrijednost.",
numericError: "Vrijednost bi trebala biti brojčana.",
minError: "Vrijednost ne smije biti manja od {0}",
maxError: "Vrijednost ne smije biti veća od {0}",
textMinLength: "Unesite najmanje {0} znak(ova).",
textMaxLength: "Unesite manje od {0} znak(ova).",
textMinMaxLength: "Unesite više od {0} i manje od {1} znakova.",
minRowCountError: "Molimo ispunite najmanje {0} redaka.",
minSelectError: "Odaberite barem {0} varijante.",
maxSelectError: "Odaberite ne više od {0} varijanti.",
numericMinMax: "'{0}'bi trebao biti jednak ili više od {1} i jednak ili manji od {2}.",
numericMin: "'{0}' bi trebao biti jednak ili više od {1}.",
numericMax: "'{0}' bi trebao biti jednak ili manji od {1}",
invalidEmail: "Unesite valjanu e-mail adresu.",
invalidExpression: "Izraz: {0} treba vratiti 'true'.",
urlRequestError: "Zahtjev vratio pogrešku '{0}'. {1}",
urlGetChoicesError: "Zahtjev je vratio prazne podatke ili je 'path' svojstvo netočna.",
exceedMaxSize: "Veličina datoteke ne smije prelaziti {0}.",
noUploadFilesHandler: "Datoteke se ne mogu prenijeti. Dodajte rukovatelja za događaj 'onUploadFiles'.",
otherRequiredError: "Unesite drugu vrijednost.",
uploadingFile: "Vaša datoteka se prenosi. Pričekajte nekoliko sekundi i pokušajte ponovno.",
loadingFile: "Učitavanje...",
chooseFile: "Odaberite datoteku...",
noFileChosen: "Nije odabrana datoteka",
filePlaceholder: "Povucite i ispustite datoteku ovdje ili kliknite donji gumb i odaberite datoteku koju želite prenijeti.",
confirmDelete: "Želite li izbrisati zapis?",
keyDuplicationError: "Ta bi vrijednost trebala biti jedinstvena.",
addColumn: "Dodavanje stupca",
addRow: "Dodavanje redaka",
removeRow: "Ukloniti",
emptyRowsText: "Nema redova.",
addPanel: "Dodavanje novih",
removePanel: "Ukloniti",
showDetails: "Pokaži detalje",
hideDetails: "Sakrij detalje",
choices_Item: "stavku",
matrix_column: "Stupca",
matrix_row: "Redak",
multipletext_itemname: "Tekstualna poruka",
savingData: "Rezultati se spremaju na poslužitelju...",
savingDataError: "Došlo je do pogreške i nismo mogli spremiti rezultate.",
savingDataSuccess: "Rezultati su uspješno spremljeni!",
saveAgainButton: "Pokušaj ponovo",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Vi ste proveli {0} na ovoj stranici i {1} ukupno.",
timerSpentPage: "Potrošili ste {0} na ovu stranicu.",
timerSpentSurvey: "You have spent {0} in total. {0}.",
timerLimitAll: "Vi ste proveli {0} od {1} na ovoj stranici i {2} od {3} ukupno.",
timerLimitPage: "Potrošio si {0} od {1} na ovoj stranici.",
timerLimitSurvey: "Ukupno ste potrošili {0} od {1}.",
clearCaption: "Očistiti",
signaturePlaceHolder: "Potpiši ovdje",
chooseFileCaption: "Odaberite datoteku",
takePhotoCaption: "Snimi fotografiju",
photoPlaceholder: "Kliknite donji gumb da biste snimili fotografiju pomoću kamere.",
fileOrPhotoPlaceholder: "Povucite i ispustite ili odaberite datoteku za prijenos ili snimanje fotografije pomoću kamere.",
replaceFileCaption: "Zamijeni datoteku",
removeFileCaption: "Uklonite ovu datoteku",
booleanCheckedLabel: "Da",
booleanUncheckedLabel: "Ne",
confirmRemoveFile: "Jeste li sigurni da želite ukloniti ovu datoteku: {0}?",
confirmRemoveAllFiles: "Jeste li sigurni da želite ukloniti sve datoteke?",
questionTitlePatternText: "Naslov pitanja",
modalCancelButtonText: "Otkazati",
modalApplyButtonText: "Primijeniti",
filterStringPlaceholder: "Upišite za pretraživanje...",
emptyMessage: "Nema podataka za prikaz",
noEntriesText: "Još nema unosa.\nKliknite donji gumb da biste dodali novi unos.",
noEntriesReadonlyText: "Nema unosa.",
more: "Više",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Svi izbori su rangirani",
selectToRankEmptyUnrankedAreaText: "Ovdje povucite i ispustite odabire da biste ih rangirali",
ok: "OK",
cancel: "Otkazati"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["hr"] = croatianStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hr"] = "hrvatski";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Ploča {panelIndex}"
// ratingOptionsCaption: "Select..." => "Odabirati..."
// minError: "The value should not be less than {0}" => "Vrijednost ne smije biti manja od {0}"
// maxError: "The value should not be greater than {0}" => "Vrijednost ne smije biti veća od {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Povucite i ispustite datoteku ovdje ili kliknite donji gumb i odaberite datoteku koju želite prenijeti."
// emptyRowsText: "There are no rows." => "Nema redova."
// multipletext_itemname: "text" => "Tekstualna poruka"
// signaturePlaceHolder: "Sign here" => "Potpiši ovdje"
// filterStringPlaceholder: "Type to search..." => "Upišite za pretraživanje..."
// emptyMessage: "No data to display" => "Nema podataka za prikaz"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Još nema unosa.\nKliknite donji gumb da biste dodali novi unos."
// noEntriesReadonlyText: "There are no entries." => "Nema unosa."
// more: "More" => "Više"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Svi izbori su rangirani"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Ovdje povucite i ispustite odabire da biste ih rangirali"// takePhotoCaption: "Take Photo" => "Snimi fotografiju"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kliknite donji gumb da biste snimili fotografiju pomoću kamere."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Povucite i ispustite ili odaberite datoteku za prijenos ili snimanje fotografije pomoću kamere."
// replaceFileCaption: "Replace file" => "Zamijeni datoteku"// eachRowUniqueError: "Each row must have a unique value." => "Svaki redak mora imati jedinstvenu vrijednost."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Datoteke se ne mogu prenijeti. Dodajte rukovatelja za događaj 'onUploadFiles'."
// showDetails: "Show Details" => "Pokaži detalje"
// hideDetails: "Hide Details" => "Sakrij detalje"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Otkazati"
// refuseItemText: "Refuse to answer" => "Odbijte odgovoriti"
// dontKnowItemText: "Don't know" => "Ne znam"
/***/ }),
/***/ "./src/localization/czech.ts":
/*!***********************************!*\
!*** ./src/localization/czech.ts ***!
\***********************************/
/*! exports provided: czechSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "czechSurveyStrings", function() { return czechSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var czechSurveyStrings = {
pagePrevText: "Předchozí",
pageNextText: "Další",
completeText: "Dokončit",
previewText: "Náhled",
editText: "Upravit",
startSurveyText: "Začít",
otherItemText: "Jiná odpověď (napište)",
noneItemText: "Žádný",
refuseItemText: "Odmítnout odpovědět",
dontKnowItemText: "Nevím",
selectAllItemText: "Vybrat vše",
progressText: "Strana {0} z {1}",
indexText: "{0} z {1}",
panelDynamicProgressText: "Záznam {0} z {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Zodpovězené otázky: {0} / {1}",
emptySurvey: "Průzkum neobsahuje žádné otázky.",
completingSurvey: "Děkujeme za vyplnění průzkumu!",
completingSurveyBefore: "Naše záznamy ukazují, že jste tento průzkum již dokončil/a.",
loadingSurvey: "Probíhá načítání průzkumu...",
placeholder: "Vyberte...",
ratingOptionsCaption: "Vybrat...",
value: "hodnota",
requiredError: "Odpovězte prosím na otázku.",
requiredErrorInPanel: "Odpovězte prosím alespoň jednu otázku.",
requiredInAllRowsError: "Odpovězte prosím na všechny otázky.",
eachRowUniqueError: "Každý řádek musí mít jedinečnou hodnotu.",
numericError: "V tomto poli lze zadat pouze čísla.",
minError: "Hodnota by neměla být menší než {0}",
maxError: "Hodnota by neměla být větší než {0}",
textMinLength: "Zadejte prosím alespoň {0} znaků.",
textMaxLength: "Zadejte prosím méně než {0} znaků.",
textMinMaxLength: "Zadejte prosím více než {0} a méně než {1} znaků.",
minRowCountError: "Vyplňte prosím alespoň {0} řádků.",
minSelectError: "Vyberte prosím alespoň {0} varianty.",
maxSelectError: "Nevybírejte prosím více než {0} variant.",
numericMinMax: "Odpověď '{0}' by mělo být větší nebo rovno {1} a menší nebo rovno {2}",
numericMin: "Odpověď '{0}' by mělo být větší nebo rovno {1}",
numericMax: "Odpověď '{0}' by mělo být menší nebo rovno {1}",
invalidEmail: "Zadejte prosím platnou e-mailovou adresu.",
invalidExpression: "Výraz: {0} by měl vrátit hodnotu „true“.",
urlRequestError: "Požadavek vrátil chybu '{0}'. {1}",
urlGetChoicesError: "Požadavek nevrátil data nebo je neplatná vlastnost 'path'",
exceedMaxSize: "Velikost souboru by neměla být větší než {0}.",
noUploadFilesHandler: "Soubory nelze nahrát. Přidejte obslužnou rutinu pro událost 'onUploadFiles'.",
otherRequiredError: "Zadejte prosím jinou hodnotu.",
uploadingFile: "Váš soubor se nahrává. Zkuste to prosím za několik sekund.",
loadingFile: "Načítání...",
chooseFile: "Vyberte soubory...",
noFileChosen: "Není zvolený žádný soubor",
filePlaceholder: "Přetáhněte sem soubor nebo klikněte na tlačítko níže a vyberte soubor, který chcete nahrát.",
confirmDelete: "Chcete záznam smazat?",
keyDuplicationError: "Tato hodnota by měla být unikátní.",
addColumn: "Přidat sloupec",
addRow: "Přidat řádek",
removeRow: "Odstranit",
emptyRowsText: "Neexistují žádné řádky.",
addPanel: "Přidat nový",
removePanel: "Odstranit",
showDetails: "Zobrazit podrobnosti",
hideDetails: "Skrýt podrobnosti",
choices_Item: "položka",
matrix_column: "Sloupec",
matrix_row: "Řádek",
multipletext_itemname: "Text",
savingData: "Výsledky se ukládají na server...",
savingDataError: "Došlo k chybě a výsledky jsme nemohli uložit.",
savingDataSuccess: "Výsledky byly úspěšně uloženy!",
saveAgainButton: "Zkuste to znovu",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Na této stránce jste strávil/a celkem {0} z {1}.",
timerSpentPage: "Na této stránce jste strávil/a {0}.",
timerSpentSurvey: "Celkem jste strávil/a {0}.",
timerLimitAll: "Na této stránce jste strávil/a {0} z {1} a celkem {2} z {3}.",
timerLimitPage: "Na této stránce jste strávil/a {0} z {1}.",
timerLimitSurvey: "Celkově jste strávil/a {0} z {1}.",
clearCaption: "Vymazat",
signaturePlaceHolder: "Podepište se zde",
chooseFileCaption: "Vyberte soubor",
takePhotoCaption: "Pořídit fotografii",
photoPlaceholder: "Kliknutím na tlačítko níže pořídíte fotografii pomocí fotoaparátu.",
fileOrPhotoPlaceholder: "Přetáhněte nebo vyberte soubor, který chcete nahrát nebo pořiďte fotografii pomocí fotoaparátu.",
replaceFileCaption: "Nahradit soubor",
removeFileCaption: "Odeberte tento soubor",
booleanCheckedLabel: "Ano",
booleanUncheckedLabel: "Ne",
confirmRemoveFile: "Opravdu chcete odebrat tento soubor: {0}?",
confirmRemoveAllFiles: "Opravdu chcete odstranit všechny soubory?",
questionTitlePatternText: "Název otázky",
modalCancelButtonText: "Zrušit",
modalApplyButtonText: "Použít",
filterStringPlaceholder: "Zadejte hledaný text...",
emptyMessage: "Žádná data k zobrazení",
noEntriesText: "Zatím nejsou žádné záznamy.\nKliknutím na tlačítko níže přidáte novou položku.",
noEntriesReadonlyText: "Nejsou zde žádné položky.",
more: "Více",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Všechny možnosti jsou seřazeny",
selectToRankEmptyUnrankedAreaText: "Přetáhněte volby zde a seřaďte je",
ok: "OK",
cancel: "Zrušit"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["cs"] = czechSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["cs"] = "čeština";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} z {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Vybrat..."
// minError: "The value should not be less than {0}" => "Hodnota by neměla být menší než {0}"
// maxError: "The value should not be greater than {0}" => "Hodnota by neměla být větší než {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Přetáhněte sem soubor nebo klikněte na tlačítko níže a vyberte soubor, který chcete nahrát."
// emptyRowsText: "There are no rows." => "Neexistují žádné řádky."
// multipletext_itemname: "text" => "Text"
// signaturePlaceHolder: "Sign here" => "Podepište se zde"
// modalCancelButtonText: "Cancel" => "Zrušit"
// modalApplyButtonText: "Apply" => "Použít"
// filterStringPlaceholder: "Type to search..." => "Zadejte hledaný text..."
// emptyMessage: "No data to display" => "Žádná data k zobrazení"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Zatím nejsou žádné záznamy.\nKliknutím na tlačítko níže přidáte novou položku."
// noEntriesReadonlyText: "There are no entries." => "Nejsou zde žádné položky."
// more: "More" => "Více"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Všechny možnosti jsou seřazeny"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Přetáhněte volby zde a seřaďte je"// takePhotoCaption: "Take Photo" => "Pořídit fotografii"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kliknutím na tlačítko níže pořídíte fotografii pomocí fotoaparátu."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Přetáhněte nebo vyberte soubor, který chcete nahrát nebo pořiďte fotografii pomocí fotoaparátu."
// replaceFileCaption: "Replace file" => "Nahradit soubor"// eachRowUniqueError: "Each row must have a unique value." => "Každý řádek musí mít jedinečnou hodnotu."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Soubory nelze nahrát. Přidejte obslužnou rutinu pro událost 'onUploadFiles'."
// showDetails: "Show Details" => "Zobrazit podrobnosti"
// hideDetails: "Hide Details" => "Skrýt podrobnosti"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Zrušit"
// refuseItemText: "Refuse to answer" => "Odmítnout odpovědět"
// dontKnowItemText: "Don't know" => "Nevím"
/***/ }),
/***/ "./src/localization/danish.ts":
/*!************************************!*\
!*** ./src/localization/danish.ts ***!
\************************************/
/*! exports provided: danishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "danishSurveyStrings", function() { return danishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var danishSurveyStrings = {
pagePrevText: "Tilbage",
pageNextText: "Videre",
completeText: "Færdig",
previewText: "Forpremiere",
editText: "Redigér",
startSurveyText: "Start",
otherItemText: "Valgfrit svar...",
noneItemText: "Ingen",
refuseItemText: "Nægt at svare",
dontKnowItemText: "Ved ikke",
selectAllItemText: "Vælg alle",
progressText: "Side {0} af {1}",
indexText: "{0} af {1}",
panelDynamicProgressText: "Optag {0} af {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Besvarede {0} / {1} spørgsmål",
emptySurvey: "Der er ingen synlige spørgsmål.",
completingSurvey: "Mange tak for din besvarelse!",
completingSurveyBefore: "Vores data viser at du allerede har gennemført dette spørgeskema.",
loadingSurvey: "Spørgeskemaet hentes fra serveren...",
placeholder: "Vælg...",
ratingOptionsCaption: "Markere...",
value: "værdi",
requiredError: "Besvar venligst spørgsmålet.",
requiredErrorInPanel: "Besvar venligst mindst ét spørgsmål.",
requiredInAllRowsError: "Besvar venligst spørgsmål i alle rækker.",
eachRowUniqueError: "Hver række skal have en entydig værdi.",
numericError: "Angiv et tal.",
minError: "Værdien bør ikke være mindre end {0}",
maxError: "Værdien bør ikke være større end {0}",
textMinLength: "Angiv mindst {0} tegn.",
textMaxLength: "Please enter less than {0} characters.",
textMinMaxLength: "Angiv mere end {0} og mindre end {1} tegn.",
minRowCountError: "Udfyld mindst {0} rækker.",
minSelectError: "Vælg venligst mindst {0} svarmulighed(er).",
maxSelectError: "Vælg venligst færre {0} svarmuligheder(er).",
numericMinMax: "'{0}' skal være lig med eller større end {1} og lig med eller mindre end {2}",
numericMin: "'{0}' skal være lig med eller større end {1}",
numericMax: "'{0}' skal være lig med eller mindre end {1}",
invalidEmail: "Angiv venligst en gyldig e-mail adresse.",
invalidExpression: "Udtrykket: {0} skal returnere 'true'.",
urlRequestError: "Forespørgslen returnerede fejlen '{0}'. {1}",
urlGetChoicesError: "Forespørgslen returnerede ingen data eller 'path' parameteren er forkert",
exceedMaxSize: "Filstørrelsen må ikke overstige {0}.",
noUploadFilesHandler: "Filer kan ikke uploades. Tilføj en handler for hændelsen 'onUploadFiles'.",
otherRequiredError: "Angiv en værdi for dit valgfrie svar.",
uploadingFile: "Din fil bliver uploadet. Vent nogle sekunder og prøv eventuelt igen.",
loadingFile: "Indlæser...",
chooseFile: "Vælg fil(er)...",
noFileChosen: "Ingen fil er valgt",
filePlaceholder: "Træk og slip en fil her, eller klik på knappen nedenfor, og vælg en fil, der skal uploades.",
confirmDelete: "Vil du fjerne den?",
keyDuplicationError: "Denne værdi skal være unik.",
addColumn: "Tilføj kolonne",
addRow: "Tilføj række",
removeRow: "Fjern",
emptyRowsText: "Der er ingen rækker.",
addPanel: "Tilføj ny",
removePanel: "Fjern",
showDetails: "Vis detaljer",
hideDetails: "Skjul detaljer",
choices_Item: "valg",
matrix_column: "Kolonne",
matrix_row: "Række",
multipletext_itemname: "Tekst",
savingData: "Resultaterne bliver gemt på serveren...",
savingDataError: "Der opstod en fejl og vi kunne ikke gemme resultatet.",
savingDataSuccess: "Resultatet blev gemt!",
saveAgainButton: "Prøv igen",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Du har brugt {0} på denne side og {1} i alt.",
timerSpentPage: "Du har brugt {0} på denne side.",
timerSpentSurvey: "Du har brugt {0} i alt.",
timerLimitAll: "Du har brugt {0} af {1} på denne side og {2} af {3} i alt.",
timerLimitPage: "Du har brugt {0} af {1} på denne side.",
timerLimitSurvey: "Du har brugt {0} af {1} i alt.",
clearCaption: "Fjern",
signaturePlaceHolder: "Tilmeld dig her",
chooseFileCaption: "Vælg fil",
takePhotoCaption: "Tag billede",
photoPlaceholder: "Klik på knappen nedenfor for at tage et billede med kameraet.",
fileOrPhotoPlaceholder: "Træk og slip, eller vælg en fil, der skal uploades, eller tag et billede med kameraet.",
replaceFileCaption: "Erstat fil",
removeFileCaption: "Fjern denne fil",
booleanCheckedLabel: "Ja",
booleanUncheckedLabel: "Ingen",
confirmRemoveFile: "Er du sikker på, at du vil fjerne denne fil: {0}?",
confirmRemoveAllFiles: "Er du sikker på, at du vil fjerne alle filer?",
questionTitlePatternText: "Spørgsmåls titel",
modalCancelButtonText: "Aflyse",
modalApplyButtonText: "Anvende",
filterStringPlaceholder: "Skriv for at søge...",
emptyMessage: "Ingen data at vise",
noEntriesText: "Der er endnu ingen tilmeldinger.\nKlik på knappen nedenfor for at tilføje en ny post.",
noEntriesReadonlyText: "Der er ingen poster.",
more: "Mere",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Alle valg er rangeret",
selectToRankEmptyUnrankedAreaText: "Træk og slip valg her for at rangere dem",
ok: "OK",
cancel: "Aflyse"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["da"] = danishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["da"] = "dansk";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} af {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Markere..."
// minError: "The value should not be less than {0}" => "Værdien bør ikke være mindre end {0}"
// maxError: "The value should not be greater than {0}" => "Værdien bør ikke være større end {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Træk og slip en fil her, eller klik på knappen nedenfor, og vælg en fil, der skal uploades."
// emptyRowsText: "There are no rows." => "Der er ingen rækker."
// multipletext_itemname: "text" => "Tekst"
// signaturePlaceHolder: "Sign here" => "Tilmeld dig her"
// modalCancelButtonText: "Cancel" => "Aflyse"
// modalApplyButtonText: "Apply" => "Anvende"
// filterStringPlaceholder: "Type to search..." => "Skriv for at søge..."
// emptyMessage: "No data to display" => "Ingen data at vise"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Der er endnu ingen tilmeldinger.\nKlik på knappen nedenfor for at tilføje en ny post."
// noEntriesReadonlyText: "There are no entries." => "Der er ingen poster."
// more: "More" => "Mere"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alle valg er rangeret"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Træk og slip valg her for at rangere dem"// takePhotoCaption: "Take Photo" => "Tag billede"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klik på knappen nedenfor for at tage et billede med kameraet."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Træk og slip, eller vælg en fil, der skal uploades, eller tag et billede med kameraet."
// replaceFileCaption: "Replace file" => "Erstat fil"// eachRowUniqueError: "Each row must have a unique value." => "Hver række skal have en entydig værdi."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Filer kan ikke uploades. Tilføj en handler for hændelsen 'onUploadFiles'."
// showDetails: "Show Details" => "Vis detaljer"
// hideDetails: "Hide Details" => "Skjul detaljer"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Aflyse"
// refuseItemText: "Refuse to answer" => "Nægt at svare"
// dontKnowItemText: "Don't know" => "Ved ikke"
/***/ }),
/***/ "./src/localization/dutch.ts":
/*!***********************************!*\
!*** ./src/localization/dutch.ts ***!
\***********************************/
/*! exports provided: dutchSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dutchSurveyStrings", function() { return dutchSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var dutchSurveyStrings = {
pagePrevText: "Vorige",
pageNextText: "Volgende",
completeText: "Verzenden",
previewText: "Voorbeeld",
editText: "Bewerk",
startSurveyText: "Start",
otherItemText: "Anders, nl.",
noneItemText: "Geen",
refuseItemText: "Weiger te antwoorden",
dontKnowItemText: "Weet niet",
selectAllItemText: "Selecteer Alles",
progressText: "Pagina {0} van {1}",
indexText: "{0} van {1}",
panelDynamicProgressText: "Record {0} of {1}",
panelDynamicTabTextFormat: "Paneel {panelIndex}",
questionsProgressText: "Geantwoord {0}/{1} vragen",
emptySurvey: "Er is geen zichtbare pagina of vraag in deze vragenlijst",
completingSurvey: "Bedankt voor het invullen van de vragenlijst",
completingSurveyBefore: "Onze gegevens tonen aan dat je deze vragenlijst reeds beantwoord hebt.",
loadingSurvey: "De vragenlijst is aan het laden...",
placeholder: "Kies...",
ratingOptionsCaption: "Selecteren...",
value: "waarde",
requiredError: "Dit is een vereiste vraag",
requiredErrorInPanel: "Gelieve ten minste een vraag te beantwoorden.",
requiredInAllRowsError: "Deze vraag vereist één antwoord per rij",
eachRowUniqueError: "Elke rij moet een unieke waarde hebben.",
numericError: "Het antwoord moet een getal zijn",
minError: "De waarde mag niet lager zijn dan {0}",
maxError: "De waarde mag niet groter zijn dan {0}",
textMinLength: "Vul minstens {0} karakters in",
textMaxLength: "Gelieve minder dan {0} karakters in te vullen.",
textMinMaxLength: "Gelieve meer dan {0} en minder dan {1} karakters in te vullen.",
minRowCountError: "Gelieve ten minste {0} rijen in te vullen.",
minSelectError: "Selecteer minimum {0} antwoorden",
maxSelectError: "Selecteer niet meer dan {0} antwoorden",
numericMinMax: "Uw antwoord '{0}' moet groter of gelijk zijn aan {1} en kleiner of gelijk aan {2}",
numericMin: "Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",
numericMax: "Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",
invalidEmail: "Vul een geldig e-mailadres in",
invalidExpression: "De uitdrukking: {0} moet 'waar' teruggeven.",
urlRequestError: "De vraag keerde een fout terug '{0}'. {1}",
urlGetChoicesError: "De vraag gaf een leeg antwoord terug of de 'pad' eigenschap is niet correct",
exceedMaxSize: "De grootte van het bestand mag niet groter zijn dan {0}",
noUploadFilesHandler: "Bestanden kunnen niet worden geüpload. Voeg een handler toe voor de gebeurtenis 'onUploadFiles'.",
otherRequiredError: "Vul het veld 'Anders, nl.' in",
uploadingFile: "Uw bestand wordt geüpload. Gelieve enkele seconden te wachten en opnieuw te proberen.",
loadingFile: "Laden...",
chooseFile: "Kies uw bestand(en)...",
noFileChosen: "Geen bestand gekozen",
filePlaceholder: "Sleep het bestand naar hier",
confirmDelete: "Wilt u deze gegevens verwijderen?",
keyDuplicationError: "Deze waarde moet uniek zijn.",
addColumn: "Voeg kolom toe",
addRow: "Voeg rij toe",
removeRow: "Verwijder",
emptyRowsText: "Er zijn geen rijen.",
addPanel: "Nieuwe toevoegen",
removePanel: "Verwijder",
showDetails: "Toon details",
hideDetails: "Verberg details",
choices_Item: "onderwerp",
matrix_column: "Kolom",
matrix_row: "Rij",
multipletext_itemname: "Sms",
savingData: "De resultaten worden bewaard op de server...",
savingDataError: "Er was een probleem en we konden de resultaten niet bewaren.",
savingDataSuccess: "De resultaten werden succesvol bewaard!",
saveAgainButton: "Probeer opnieuw",
timerMin: "minimum",
timerSec: "sec",
timerSpentAll: "U heeft {0} gespendeerd op deze pagina en {1} in totaal.",
timerSpentPage: "U heeft {0} op deze pagina gespendeerd.",
timerSpentSurvey: "U heeft in totaal {0} gespendeerd.",
timerLimitAll: "U heeft {0} van {1} op deze pagina gespendeerd en {2} van {3} in totaal.",
timerLimitPage: "U heeft {0} van {1} gespendeerd op deze pagina.",
timerLimitSurvey: "U heeft {0} van {1} in het totaal.",
clearCaption: "Verwijder",
signaturePlaceHolder: "Hier tekenen",
chooseFileCaption: "Gekozen bestand",
takePhotoCaption: "Foto maken",
photoPlaceholder: "Klik op de onderstaande knop om een foto te maken met de camera.",
fileOrPhotoPlaceholder: "Sleep en zet neer of selecteer een bestand om te uploaden of maak een foto met de camera.",
replaceFileCaption: "Bestand vervangen",
removeFileCaption: "Verwijder dit bestand",
booleanCheckedLabel: "Ja",
booleanUncheckedLabel: "Nee",
confirmRemoveFile: "Weet u zeker dat u deze file wilt verwijderen: {0}?",
confirmRemoveAllFiles: "Weet u zeker dat u al deze files wilt verwijderen?",
questionTitlePatternText: "Titel van de vraag",
modalCancelButtonText: "Annuleren",
modalApplyButtonText: "Toepassen",
filterStringPlaceholder: "Typ om te zoeken...",
emptyMessage: "Geen gegevens om weer te geven",
noEntriesText: "Er zijn nog geen inzendingen.\nKlik op de onderstaande knop om een nieuw item toe te voegen.",
noEntriesReadonlyText: "Er zijn geen inzendingen.",
more: "Meer",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Alle keuzes zijn gerangschikt",
selectToRankEmptyUnrankedAreaText: "Drag en drop keuzes hier om ze te rangschikken",
ok: "OK",
cancel: "Annuleren"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["nl"] = dutchSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["nl"] = "nederlands";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} van {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Paneel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Selecteren..."
// minError: "The value should not be less than {0}" => "De waarde mag niet lager zijn dan {0}"
// maxError: "The value should not be greater than {0}" => "De waarde mag niet groter zijn dan {0}"
// emptyRowsText: "There are no rows." => "Er zijn geen rijen."
// multipletext_itemname: "text" => "Sms"
// modalCancelButtonText: "Cancel" => "Annuleren"
// modalApplyButtonText: "Apply" => "Toepassen"
// filterStringPlaceholder: "Type to search..." => "Typ om te zoeken..."
// emptyMessage: "No data to display" => "Geen gegevens om weer te geven"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Er zijn nog geen inzendingen.\nKlik op de onderstaande knop om een nieuw item toe te voegen."
// noEntriesReadonlyText: "There are no entries." => "Er zijn geen inzendingen."
// more: "More" => "Meer"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alle keuzes zijn gerangschikt"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Drag en drop keuzes hier om ze te rangschikken"// takePhotoCaption: "Take Photo" => "Foto maken"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klik op de onderstaande knop om een foto te maken met de camera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Sleep en zet neer of selecteer een bestand om te uploaden of maak een foto met de camera."
// replaceFileCaption: "Replace file" => "Bestand vervangen"// eachRowUniqueError: "Each row must have a unique value." => "Elke rij moet een unieke waarde hebben."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Bestanden kunnen niet worden geüpload. Voeg een handler toe voor de gebeurtenis 'onUploadFiles'."
// showDetails: "Show Details" => "Toon details"
// hideDetails: "Hide Details" => "Verberg details"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Annuleren"
// refuseItemText: "Refuse to answer" => "Weiger te antwoorden"
// dontKnowItemText: "Don't know" => "Weet niet"
/***/ }),
/***/ "./src/localization/english.ts":
/*!*************************************!*\
!*** ./src/localization/english.ts ***!
\*************************************/
/*! exports provided: englishStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return englishStrings; });
// Uncomment the line below if you create a custom dictionary
// import { surveyLocalization } from "survey-core";
var englishStrings = {
pagePrevText: "Previous",
pageNextText: "Next",
completeText: "Complete",
previewText: "Preview",
editText: "Edit",
startSurveyText: "Start",
otherItemText: "Other (describe)",
noneItemText: "None",
refuseItemText: "Refuse to answer",
dontKnowItemText: "Don't know",
selectAllItemText: "Select All",
progressText: "Page {0} of {1}",
indexText: "{0} of {1}",
panelDynamicProgressText: "{0} of {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Answered {0}/{1} questions",
emptySurvey: "The survey doesn't contain any visible elements.",
completingSurvey: "Thank you for completing the survey",
completingSurveyBefore: "Our records show that you have already completed this survey.",
loadingSurvey: "Loading Survey...",
placeholder: "Select...",
ratingOptionsCaption: "Select...",
value: "value",
requiredError: "Response required.",
requiredErrorInPanel: "Response required: answer at least one question.",
requiredInAllRowsError: "Response required: answer questions in all rows.",
eachRowUniqueError: "Each row must have a unique value.",
numericError: "The value should be numeric.",
minError: "The value should not be less than {0}",
maxError: "The value should not be greater than {0}",
textMinLength: "Please enter at least {0} character(s).",
textMaxLength: "Please enter no more than {0} character(s).",
textMinMaxLength: "Please enter at least {0} and no more than {1} characters.",
minRowCountError: "Please fill in at least {0} row(s).",
minSelectError: "Please select at least {0} option(s).",
maxSelectError: "Please select no more than {0} option(s).",
numericMinMax: "The '{0}' should be at least {1} and at most {2}",
numericMin: "The '{0}' should be at least {1}",
numericMax: "The '{0}' should be at most {1}",
invalidEmail: "Please enter a valid e-mail address.",
invalidExpression: "The expression: {0} should return 'true'.",
urlRequestError: "The request returned error '{0}'. {1}",
urlGetChoicesError: "The request returned empty data or the 'path' property is incorrect",
exceedMaxSize: "The file size should not exceed {0}.",
noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event.",
otherRequiredError: "Response required: enter another value.",
uploadingFile: "Your file is uploading. Please wait several seconds and try again.",
loadingFile: "Loading...",
chooseFile: "Choose file(s)...",
noFileChosen: "No file chosen",
filePlaceholder: "Drag and drop a file here or click the button below to select a file to upload.",
confirmDelete: "Are you sure you want to delete this record?",
keyDuplicationError: "This value should be unique.",
addColumn: "Add Column",
addRow: "Add Row",
removeRow: "Remove",
emptyRowsText: "There are no rows.",
addPanel: "Add new",
removePanel: "Remove",
showDetails: "Show Details",
hideDetails: "Hide Details",
choices_Item: "item",
matrix_column: "Column",
matrix_row: "Row",
multipletext_itemname: "text",
savingData: "The results are being saved on the server...",
savingDataError: "An error occurred and we could not save the results.",
savingDataSuccess: "The results were saved successfully!",
saveAgainButton: "Try again",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "You have spent {0} on this page and {1} in total.",
timerSpentPage: "You have spent {0} on this page.",
timerSpentSurvey: "You have spent {0} in total.",
timerLimitAll: "You have spent {0} of {1} on this page and {2} of {3} in total.",
timerLimitPage: "You have spent {0} of {1} on this page.",
timerLimitSurvey: "You have spent {0} of {1} in total.",
clearCaption: "Clear",
signaturePlaceHolder: "Sign here",
chooseFileCaption: "Select File",
takePhotoCaption: "Take Photo",
photoPlaceholder: "Click the button below to take a photo using the camera.",
fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera.",
replaceFileCaption: "Replace file",
removeFileCaption: "Remove this file",
booleanCheckedLabel: "Yes",
booleanUncheckedLabel: "No",
confirmRemoveFile: "Are you sure that you want to remove this file: {0}?",
confirmRemoveAllFiles: "Are you sure that you want to remove all files?",
questionTitlePatternText: "Question Title",
modalCancelButtonText: "Cancel",
modalApplyButtonText: "Apply",
filterStringPlaceholder: "Type to search...",
emptyMessage: "No data to display",
noEntriesText: "No entries yet.\nClick the button below to add a new entry.",
noEntriesReadonlyText: "No entries.",
more: "More",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "All choices are selected for ranking",
selectToRankEmptyUnrankedAreaText: "Drag choices here to rank them",
ok: "OK",
cancel: "Cancel",
};
// Uncomment the lines below if you create a custom dictionary.
// Replace "en" with a custom locale code (for example, "fr" or "de"),
// Replace `englishStrings` with the name of the variable that contains the custom dictionary.
// surveyLocalization.locales["en"] = englishStrings;
// surveyLocalization.localeNames["en"] = "English";
/***/ }),
/***/ "./src/localization/estonian.ts":
/*!**************************************!*\
!*** ./src/localization/estonian.ts ***!
\**************************************/
/*! exports provided: estonianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "estonianSurveyStrings", function() { return estonianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var estonianSurveyStrings = {
pagePrevText: "Tagasi",
pageNextText: "Edasi",
completeText: "Lõpeta",
previewText: "Eelvaade",
editText: "Muuda",
startSurveyText: "Alusta",
otherItemText: "Muu (täpsusta)",
noneItemText: "Mitte midagi",
refuseItemText: "Keeldu vastamast",
dontKnowItemText: "Ei tea",
selectAllItemText: "Vali kõik",
progressText: "Lehekülg {0}/{1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Kirje {0}/{1}",
panelDynamicTabTextFormat: "Paneel {panelIndex}",
questionsProgressText: "Vastatud {0} küsimust {1}-st",
emptySurvey: "Selles uuringus ei ole ühtki nähtavat lehekülge või küsimust.",
completingSurvey: "Aitäh, et vastasid ankeedile!",
completingSurveyBefore: "Meie andmetel oled sa sellele ankeedile juba vastanud.",
loadingSurvey: "Laen ankeeti...",
placeholder: "Vali...",
ratingOptionsCaption: "Valima...",
value: "väärtus",
requiredError: "Palun vasta küsimusele.",
requiredErrorInPanel: "Palun vasta vähemalt ühele küsimusele.",
requiredInAllRowsError: "Palun anna vastus igal real.",
eachRowUniqueError: "Igal real peab olema kordumatu väärtus.",
numericError: "See peaks olema numbriline väärtus.",
minError: "Väärtus ei tohiks olla väiksem kui {0}",
maxError: "Väärtus ei tohiks olla suurem kui {0}",
textMinLength: "Palun sisesta vähemalt {0} tähemärki.",
textMaxLength: "Palun ära sisesta rohkem kui {0} tähemärki.",
textMinMaxLength: "Sisesta palun {0} - {1} tähemärki.",
minRowCountError: "Sisesta plaun vähemalt {0} rida.",
minSelectError: "Palun vali vähemalt {0} varianti.",
maxSelectError: "Palun vali kõige rohkem {0} varianti.",
numericMinMax: "'{0}' peaks olema võrdne või suurem kui {1} ja võrdne või väiksem kui {2}",
numericMin: "'{0}' peaks olema võrdne või suurem kui {1}",
numericMax: "'{0}' peaks olema võrnde või väiksem kui {1}",
invalidEmail: "Sisesta palun korrektne e-posti aadress.",
invalidExpression: "Avaldis: {0} peaks tagastama tõese.",
urlRequestError: "Taotlus tagastas vea „{0}”. {1}",
urlGetChoicesError: "Taotlus tagastas tühjad andmed või atribuut 'path' on vale",
exceedMaxSize: "Faili suurus ei tohi ületada {0}.",
noUploadFilesHandler: "Faile ei saa üles laadida. Palun lisage sündmuse \"onUploadFiles\" jaoks käitleja.",
otherRequiredError: "Sisesta palun muu vastus.",
uploadingFile: "Sinu fail laeb üles. Palun oota mõned sekundid ning proovi seejärel uuesti.",
loadingFile: "Laen...",
chooseFile: "Vali fail(id)...",
noFileChosen: "Faili pole valitud",
filePlaceholder: "Pukseerige fail siia või klõpsake allolevat nuppu ja valige üleslaaditav fail.",
confirmDelete: "Kas tahad kirje kustutada?",
keyDuplicationError: "See väärtus peab olema unikaalne.",
addColumn: "Lisa veerg",
addRow: "Lisa rida",
removeRow: "Eemalda",
emptyRowsText: "Ridu pole.",
addPanel: "Lisa uus",
removePanel: "Eemalda",
showDetails: "Näita detaile",
hideDetails: "Peida üksikasjad",
choices_Item: "üksus",
matrix_column: "Veerg",
matrix_row: "Rida",
multipletext_itemname: "Tekst",
savingData: "Salvestan andmed serveris...",
savingDataError: "Tekkis viga ning me ei saanud vastuseid salvestada.",
savingDataSuccess: "Vastuste salvestamine õnnestus!",
saveAgainButton: "Proovi uuesti",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Oled veetnud {0} sellel lehel ning kokku {1}.",
timerSpentPage: "Oled veetnud {0} sellel lehel.",
timerSpentSurvey: "Oled veetnud {0} kokku.",
timerLimitAll: "Oled kulutanud {0} võimalikust {1} sellel lehel ning {2} võimalikust {3} kokku.",
timerLimitPage: "Oled kulutanud {0} võimalikust {1} sellel lehel.",
timerLimitSurvey: "Oled kulutanud {0} võimalikust {1} koguajast.",
clearCaption: "Puhasta",
signaturePlaceHolder: "Allkirjasta siin",
chooseFileCaption: "Vali fail",
takePhotoCaption: "Pildistamine",
photoPlaceholder: "Kaamera abil pildistamiseks klõpsake allolevat nuppu.",
fileOrPhotoPlaceholder: "Pukseerige või valige üleslaaditav fail või pildistage seda kaamera abil.",
replaceFileCaption: "Asenda fail",
removeFileCaption: "Eemalda see fail",
booleanCheckedLabel: "Jah",
booleanUncheckedLabel: "Ei",
confirmRemoveFile: "Oled sa kindel, et soovid selle faili eemaldada: {0}?",
confirmRemoveAllFiles: "Oled sa kindel, et soovid eemaldada kõik failid?",
questionTitlePatternText: "Küsimuse pealkiri",
modalCancelButtonText: "Tühistama",
modalApplyButtonText: "Kohaldata",
filterStringPlaceholder: "Tippige otsimiseks...",
emptyMessage: "Kuvatavaid andmeid pole",
noEntriesText: "Sissekandeid veel ei ole.\nUue kirje lisamiseks klõpsake allolevat nuppu.",
noEntriesReadonlyText: "Kirjeid ei ole.",
more: "Rohkem",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Kõik valikud on järjestatud",
selectToRankEmptyUnrankedAreaText: "Lohistage valikuid siia, et neid järjestada",
ok: "OK",
cancel: "Tühistama"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["et"] = estonianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["et"] = "eesti keel";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Paneel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Valima..."
// minError: "The value should not be less than {0}" => "Väärtus ei tohiks olla väiksem kui {0}"
// maxError: "The value should not be greater than {0}" => "Väärtus ei tohiks olla suurem kui {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Pukseerige fail siia või klõpsake allolevat nuppu ja valige üleslaaditav fail."
// emptyRowsText: "There are no rows." => "Ridu pole."
// multipletext_itemname: "text" => "Tekst"
// signaturePlaceHolder: "Sign here" => "Allkirjasta siin"
// modalCancelButtonText: "Cancel" => "Tühistama"
// modalApplyButtonText: "Apply" => "Kohaldata"
// filterStringPlaceholder: "Type to search..." => "Tippige otsimiseks..."
// emptyMessage: "No data to display" => "Kuvatavaid andmeid pole"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Sissekandeid veel ei ole.\nUue kirje lisamiseks klõpsake allolevat nuppu."
// noEntriesReadonlyText: "There are no entries." => "Kirjeid ei ole."
// more: "More" => "Rohkem"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Kõik valikud on järjestatud"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Lohistage valikuid siia, et neid järjestada"// takePhotoCaption: "Take Photo" => "Pildistamine"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kaamera abil pildistamiseks klõpsake allolevat nuppu."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Pukseerige või valige üleslaaditav fail või pildistage seda kaamera abil."
// replaceFileCaption: "Replace file" => "Asenda fail"// eachRowUniqueError: "Each row must have a unique value." => "Igal real peab olema kordumatu väärtus."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Faile ei saa üles laadida. Palun lisage sündmuse \"onUploadFiles\" jaoks käitleja."
// showDetails: "Show Details" => "Näita detaile"
// hideDetails: "Hide Details" => "Peida üksikasjad"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Tühistama"
// refuseItemText: "Refuse to answer" => "Keeldu vastamast"
// dontKnowItemText: "Don't know" => "Ei tea"
/***/ }),
/***/ "./src/localization/finnish.ts":
/*!*************************************!*\
!*** ./src/localization/finnish.ts ***!
\*************************************/
/*! exports provided: finnishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "finnishSurveyStrings", function() { return finnishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var finnishSurveyStrings = {
pagePrevText: "Edellinen",
pageNextText: "Seuraava",
completeText: "Valmis",
previewText: "Esikatselu",
editText: "Muokkaa",
startSurveyText: "Aloita",
otherItemText: "Muu (tarkenna)",
noneItemText: "Ei mitään",
refuseItemText: "Kieltäydy vastaamasta",
dontKnowItemText: "Ei tiedä",
selectAllItemText: "Valitse kaikki",
progressText: "Sivu {0} / {1}",
indexText: "{0} / {1}",
panelDynamicProgressText: "Osio {0} / {1}",
panelDynamicTabTextFormat: "Paneeli {panelIndex}",
questionsProgressText: "Olet vastannut {0} / {1} kysymykseen.",
emptySurvey: "Tässä kyselyssä ei ole yhtään näkyvillä olevaa sivua tai kysymystä.",
completingSurvey: "Kiitos kyselyyn vastaamisesta!",
completingSurveyBefore: "Tietojemme mukaan olet jo suorittanut tämän kyselyn.",
loadingSurvey: "Kyselyä ladataan palvelimelta...",
placeholder: "Valitse...",
ratingOptionsCaption: "Arvioi napauttamalla tätä...",
value: "arvo",
requiredError: "Vastaa kysymykseen, kiitos.",
requiredErrorInPanel: "Vastaa ainakin yhteen kysymykseen.",
requiredInAllRowsError: "Vastaa kysymyksiin kaikilla riveillä.",
eachRowUniqueError: "Jokaisella rivillä on oltava yksilöllinen arvo.",
numericError: "Arvon tulee olla numeerinen.",
minError: "Arvo ei saa olla pienempi kuin {0}",
maxError: "Arvo ei saa olla suurempi kuin {0}",
textMinLength: "Syötä vähintään {0} merkkiä.",
textMaxLength: "Älä syötä yli {0} merkkiä.",
textMinMaxLength: "Syötä vähintään {0} ja enintään {1} merkkiä.",
minRowCountError: "Täytä vähintään {0} riviä.",
minSelectError: "Valitse vähintään {0} vaihtoehtoa.",
maxSelectError: "Valitse enintään {0} vaihtoehtoa.",
numericMinMax: "Luvun '{0}' tulee olla vähintään {1} ja korkeintaan {2}.",
numericMin: "Luvun '{0}' tulee olla vähintään {1}.",
numericMax: "Luvun '{0}' tulee olla korkeintaan {1}.",
invalidEmail: "Syötä validi sähköpostiosoite.",
invalidExpression: "Lausekkeen: {0} pitäisi palauttaa 'true'.",
urlRequestError: "Pyyntö palautti virheen {0}. {1}",
urlGetChoicesError: "Pyyntö palautti tyhjän tiedoston tai 'path'-asetus on väärä",
exceedMaxSize: "Tiedoston koko ei saa olla suurempi kuin {0}.",
noUploadFilesHandler: "Tiedostoja ei voi ladata. Lisää käsittelijä onUploadFiles-tapahtumalle.",
otherRequiredError: "Tarkenna vastaustasi tekstikenttään.",
uploadingFile: "Tiedostoa lähetetään. Odota muutama sekunti ja yritä uudelleen.",
loadingFile: "Ladataan...",
chooseFile: "Valitse tiedosto(t)...",
noFileChosen: "Ei tiedostoa valittuna",
filePlaceholder: "Pudota tiedosto tähän tai lataa tiedosto napsauttamalla alla olevaa painiketta.",
confirmDelete: "Haluatko poistaa osion?",
keyDuplicationError: "Tämä arvo on jo käytössä. Syötä toinen arvo.",
addColumn: "Lisää sarake",
addRow: "Lisää rivi",
removeRow: "Poista",
emptyRowsText: "Ei rivejä",
addPanel: "Lisää uusi",
removePanel: "Poista",
showDetails: "Näytä tiedot",
hideDetails: "Piilota tiedot",
choices_Item: "kohde",
matrix_column: "Sarake",
matrix_row: "Rivi",
multipletext_itemname: "teksti",
savingData: "Tietoja tallennetaan palvelimelle...",
savingDataError: "Tapahtui virhe, emmekä voineet tallentaa kyselyn tietoja.",
savingDataSuccess: "Tiedot tallennettiin onnistuneesti!",
saveAgainButton: "Yritä uudelleen",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Olet käyttänyt {0} tällä sivulla ja yhteensä {1}.",
timerSpentPage: "Olet käyttänyt {0} tällä sivulla.",
timerSpentSurvey: "Olet käyttänyt yhteensä {0}.",
timerLimitAll: "Olet käyttänyt tällä sivulla {0} / {1} ja yhteensä {2} / {3}.",
timerLimitPage: "Olet käyttänyt {0} / {1} tällä sivulla.",
timerLimitSurvey: "Olet käyttänyt yhteensä {0} / {1}.",
clearCaption: "Tyhjennä",
signaturePlaceHolder: "Allekirjoita tähän",
chooseFileCaption: "Valitse tiedosto",
takePhotoCaption: "Ota valokuva",
photoPlaceholder: "Napsauta alla olevaa painiketta ottaaksesi valokuvan kameralla.",
fileOrPhotoPlaceholder: "Vedä ja pudota tai valitse ladattava tiedosto tai ota valokuva kameralla.",
replaceFileCaption: "Korvaa tiedosto",
removeFileCaption: "Poista tämä tiedosto",
booleanCheckedLabel: "Kyllä",
booleanUncheckedLabel: "Ei",
confirmRemoveFile: "Haluatko varmasti poistaa tämän tiedoston: {0}?",
confirmRemoveAllFiles: "Haluatko varmasti poistaa kaikki tiedostot?",
questionTitlePatternText: "Kysymyksen otsikko",
modalCancelButtonText: "Peruuta",
modalApplyButtonText: "Käytä",
filterStringPlaceholder: "Hae kirjoittamalla...",
emptyMessage: "Ei näytettäviä tietoja",
noEntriesText: "Merkintöjä ei ole vielä.\nLisää uusi merkintä napsauttamalla alla olevaa painiketta.",
noEntriesReadonlyText: "Merkintöjä ei ole.",
more: "Enemmän",
tagboxDoneButtonCaption: "OKEI",
selectToRankEmptyRankedAreaText: "Kaikki valinnat asetetaan paremmuusjärjestykseen",
selectToRankEmptyUnrankedAreaText: "Vedä ja pudota vaihtoehdot tähän luokitellaksesi ne",
ok: "OKEI",
cancel: "Perua"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["fi"] = finnishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fi"] = "suomi";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Paneeli {panelIndex}"
// emptyMessage: "No data to display" => "Ei näytettäviä tietoja"
// noEntriesReadonlyText: "There are no entries." => "Merkintöjä ei ole."
// more: "More" => "Enemmän"
// tagboxDoneButtonCaption: "OK" => "OKEI"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Kaikki valinnat asetetaan paremmuusjärjestykseen"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Vedä ja pudota vaihtoehdot tähän luokitellaksesi ne"// takePhotoCaption: "Take Photo" => "Ota valokuva"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Napsauta alla olevaa painiketta ottaaksesi valokuvan kameralla."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Vedä ja pudota tai valitse ladattava tiedosto tai ota valokuva kameralla."
// replaceFileCaption: "Replace file" => "Korvaa tiedosto"// eachRowUniqueError: "Each row must have a unique value." => "Jokaisella rivillä on oltava yksilöllinen arvo."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Tiedostoja ei voi ladata. Lisää käsittelijä onUploadFiles-tapahtumalle."
// showDetails: "Show Details" => "Näytä tiedot"
// hideDetails: "Hide Details" => "Piilota tiedot"
// ok: "OK" => "OKEI"
// cancel: "Cancel" => "Perua"
// refuseItemText: "Refuse to answer" => "Kieltäydy vastaamasta"
// dontKnowItemText: "Don't know" => "Ei tiedä"
/***/ }),
/***/ "./src/localization/french.ts":
/*!************************************!*\
!*** ./src/localization/french.ts ***!
\************************************/
/*! exports provided: frenchSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "frenchSurveyStrings", function() { return frenchSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var frenchSurveyStrings = {
pagePrevText: "Précédent",
pageNextText: "Suivant",
completeText: "Terminer",
previewText: "Aperçu",
editText: "Modifier",
startSurveyText: "Commencer",
otherItemText: "Autre (préciser)",
noneItemText: "Aucun",
refuseItemText: "Refuser de répondre",
dontKnowItemText: "Sais pas",
selectAllItemText: "Tout sélectionner",
progressText: "Page {0} sur {1}",
indexText: "{0} sur {1}",
panelDynamicProgressText: "Enregistrement {0} sur {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0}/{1} question(s) répondue(s)",
emptySurvey: "Il n'y a ni page visible ni question visible dans ce questionnaire",
completingSurvey: "Merci d'avoir répondu au questionnaire !",
completingSurveyBefore: "Nos données indiquent que vous avez déjà rempli ce questionnaire.",
loadingSurvey: "Le questionnaire est en cours de chargement...",
placeholder: "Choisissez...",
ratingOptionsCaption: "Appuyez ici pour noter...",
value: "valeur",
requiredError: "La réponse à cette question est obligatoire.",
requiredErrorInPanel: "Merci de répondre au moins à une question.",
requiredInAllRowsError: "Toutes les lignes sont obligatoires",
eachRowUniqueError: "Chaque ligne doit avoir une valeur unique.",
numericError: "La réponse doit être un nombre.",
minError: "La valeur ne doit pas être inférieure à {0}",
maxError: "La valeur ne doit pas être supérieure à {0}",
textMinLength: "Merci de saisir au moins {0} caractères.",
textMaxLength: "Merci de saisir moins de {0} caractères.",
textMinMaxLength: "Merci de saisir entre {0} et {1} caractères.",
minRowCountError: "Merci de compléter au moins {0} lignes.",
minSelectError: "Merci de sélectionner au minimum {0} réponses.",
maxSelectError: "Merci de sélectionner au maximum {0} réponses.",
numericMinMax: "Votre réponse '{0}' doit être supérieure ou égale à {1} et inférieure ou égale à {2}",
numericMin: "Votre réponse '{0}' doit être supérieure ou égale à {1}",
numericMax: "Votre réponse '{0}' doit être inférieure ou égale à {1}",
invalidEmail: "Merci d'entrer une adresse mail valide.",
invalidExpression: "L'expression: {0} doit retourner 'true'.",
urlRequestError: "La requête a renvoyé une erreur '{0}'. {1}",
urlGetChoicesError: "La requête a renvoyé des données vides ou la propriété 'path' est incorrecte",
exceedMaxSize: "La taille du fichier ne doit pas excéder {0}.",
noUploadFilesHandler: "Les fichiers ne peuvent pas être téléchargés. Veuillez ajouter un gestionnaire pour l’événement 'onUploadFiles'.",
otherRequiredError: "Merci de préciser le champ 'Autre'.",
uploadingFile: "Votre fichier est en cours de chargement. Merci d'attendre quelques secondes et de réessayer.",
loadingFile: "Chargement...",
chooseFile: "Ajouter des fichiers...",
noFileChosen: "Aucun fichier ajouté",
filePlaceholder: "Déposez un fichier ici ou cliquez sur le bouton ci-dessous pour charger le fichier.",
confirmDelete: "Voulez-vous supprimer cet enregistrement ?",
keyDuplicationError: "Cette valeur doit être unique.",
addColumn: "Ajouter une colonne",
addRow: "Ajouter une ligne",
removeRow: "Supprimer",
emptyRowsText: "Il n'y a pas de lignes.",
addPanel: "Ajouter",
removePanel: "Supprimer",
showDetails: "Afficher les détails",
hideDetails: "Masquer les détails",
choices_Item: "item",
matrix_column: "Colonne",
matrix_row: "Ligne",
multipletext_itemname: "texte",
savingData: "Les résultats sont en cours de sauvegarde sur le serveur...",
savingDataError: "Une erreur est survenue et a empêché la sauvegarde des résultats.",
savingDataSuccess: "Les résultats ont bien été enregistrés !",
saveAgainButton: "Réessayer",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Vous avez passé {0} sur cette page et {1} au total.",
timerSpentPage: "Vous avez passé {0} sur cette page.",
timerSpentSurvey: "Vous avez passé {0} au total.",
timerLimitAll: "Vous avez passé {0} sur {1} sur cette page et {2} sur {3} au total.",
timerLimitPage: "Vous avez passé {0} sur {1} sur cette page.",
timerLimitSurvey: "Vous avez passé {0} sur {1} au total.",
clearCaption: "Vider",
signaturePlaceHolder: "Signez ici",
chooseFileCaption: "Ajouter un fichier",
takePhotoCaption: "Prendre une photo",
photoPlaceholder: "Cliquez sur le bouton ci-dessous pour prendre une photo à l’aide de l’appareil photo.",
fileOrPhotoPlaceholder: "Faites glisser et déposez ou sélectionnez un fichier à télécharger ou à prendre une photo à l’aide de l’appareil photo.",
replaceFileCaption: "Remplacer le fichier",
removeFileCaption: "Enlever ce fichier",
booleanCheckedLabel: "Oui",
booleanUncheckedLabel: "Non",
confirmRemoveFile: "Êtes-vous certains de vouloir supprimer ce fichier : {0}?",
confirmRemoveAllFiles: "Êtes-vous certains de vouloir supprimer tous les fichiers?",
questionTitlePatternText: "Titre de la question",
modalCancelButtonText: "Annuler",
modalApplyButtonText: "Appliquer",
filterStringPlaceholder: "Tapez pour rechercher...",
emptyMessage: "Aucune donnée à afficher",
noEntriesText: "Il n'y a pas encore d'entrées.\nCliquez sur le bouton ci-dessous pour ajouter une nouvelle entrée.",
noEntriesReadonlyText: "Il n’y a pas d’entrées.",
more: "Plus",
tagboxDoneButtonCaption: "D’ACCORD",
selectToRankEmptyRankedAreaText: "Tous les choix sont classés",
selectToRankEmptyUnrankedAreaText: "Faites glisser et déposez les choix ici pour les classer",
ok: "D’ACCORD",
cancel: "Annuler"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["fr"] = frenchSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fr"] = "français";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// emptyMessage: "No data to display" => "Aucune donnée à afficher"
// noEntriesReadonlyText: "There are no entries." => "Il n’y a pas d’entrées."
// more: "More" => "Plus"
// tagboxDoneButtonCaption: "OK" => "D’ACCORD"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Tous les choix sont classés"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Faites glisser et déposez les choix ici pour les classer"// takePhotoCaption: "Take Photo" => "Prendre une photo"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Cliquez sur le bouton ci-dessous pour prendre une photo à l’aide de l’appareil photo."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Faites glisser et déposez ou sélectionnez un fichier à télécharger ou à prendre une photo à l’aide de l’appareil photo."
// replaceFileCaption: "Replace file" => "Remplacer le fichier"// eachRowUniqueError: "Each row must have a unique value." => "Chaque ligne doit avoir une valeur unique."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Les fichiers ne peuvent pas être téléchargés. Veuillez ajouter un gestionnaire pour l’événement 'onUploadFiles'."
// showDetails: "Show Details" => "Afficher les détails"
// hideDetails: "Hide Details" => "Masquer les détails"
// ok: "OK" => "D’ACCORD"
// cancel: "Cancel" => "Annuler"
// refuseItemText: "Refuse to answer" => "Refuser de répondre"
// dontKnowItemText: "Don't know" => "Sais pas"
/***/ }),
/***/ "./src/localization/georgian.ts":
/*!**************************************!*\
!*** ./src/localization/georgian.ts ***!
\**************************************/
/*! exports provided: georgianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "georgianSurveyStrings", function() { return georgianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var georgianSurveyStrings = {
pagePrevText: "უკან",
pageNextText: "შემდეგ",
completeText: "დასრულება",
previewText: "გადახედვა",
editText: "რედაქტირება",
startSurveyText: "დაქოქვა",
otherItemText: "სხვა (გთხოვთ მიუთითეთ)",
noneItemText: "არცერთი",
refuseItemText: "უარი პასუხზე",
dontKnowItemText: "არ ვიცი",
selectAllItemText: "ყველას მონიშნა",
progressText: "გვერდი {0} / {1}",
indexText: "{1} {0}",
panelDynamicProgressText: "{1} {0}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "უპასუხეთ {0}/{1} კითხვებს",
emptySurvey: "არცერთი კითხვა არ არის.",
completingSurvey: "გმადლობთ კითხვარის შევსებისთვის!",
completingSurveyBefore: "ჩვენი ჩანაწერები აჩვენებს, რომ თქვენ უკვე დაასრულეთ ეს გამოკითხვა.",
loadingSurvey: "ჩატვირთვა სერვერიდან...",
placeholder: "არჩევა...",
ratingOptionsCaption: "აირჩიეთ...",
value: "ღირებულება",
requiredError: "გთხოვთ უპასუხეთ კითხვას.",
requiredErrorInPanel: "საჭიროა პასუხი: უპასუხეთ მინიმუმ ერთ კითხვას.",
requiredInAllRowsError: "საჭიროა პასუხი: უპასუხეთ კითხვებს ყველა რიგში.",
eachRowUniqueError: "თითოეულ რიგს უნდა ჰქონდეს უნიკალური მნიშვნელობა.",
numericError: "პასუხი უნდა იყოს რიცხვი.",
minError: "ღირებულება არ უნდა იყოს ნაკლები {0}",
maxError: "ღირებულება არ უნდა იყოს {0}",
textMinLength: "გთხოვთ შეიყვანეთ არანაკლებ {0} სიმბოლო.",
textMaxLength: "გთხოვთ, შეიყვანოთ არაუმეტეს {0} სიმბოლო(ებ)ი.",
textMinMaxLength: "გთხოვთ, შეიყვანოთ მინიმუმ {0} და არაუმეტეს {1} სიმბოლო.",
minRowCountError: "გთხოვთ შეავსოთ მინიმუმ {0} რიგი( ებ)ი.",
minSelectError: "გთხოვთ აირჩიეთ არანაკლებ {0} ვარიანტი.",
maxSelectError: "გთხოვთ აირჩიეთ არაუმეტეს {0} ვარიანტი.",
numericMinMax: "'{0}' უნდა იყოს მეტი ან ტოლი, ვიდრე {1}, და ნაკლები ან ტოლი ვიდრე {2}",
numericMin: "'{0}' უნდა იყოს მეტი ან ტოლი ვიდრე {1}",
numericMax: "'{0}' უნდა იყოს ნაკლები ან ტოლი ვიდრე {1}",
invalidEmail: "გთხოვთ შეიყვანოთ ელ. ფოსტის რეალური მისამართი.",
invalidExpression: "გამოთქმა: {0} უნდა დაბრუნდეს \"ჭეშმარიტი\".",
urlRequestError: "მოთხოვნა დაუბრუნდა შეცდომას '{0}'. {1}",
urlGetChoicesError: "მოთხოვნამ დაუბრუნა ცარიელი მონაცემები ან \"ბილიკის\" ქონება არასწორია",
exceedMaxSize: "ფაილის ზომა არ უნდა აღემატებოდეს {0}.",
noUploadFilesHandler: "ფაილების ატვირთვა შეუძლებელია. გთხოვთ, დაამატოთ დამმუშავებელი 'onUploadFiles' ღონისძიებისთვის.",
otherRequiredError: "საჭიროა პასუხი: შეიყვანეთ სხვა მნიშვნელობა.",
uploadingFile: "თქვენი ფაილი ატვირთვაა. გთხოვთ დაელოდოთ რამდენიმე წამს და კიდევ სცადოთ.",
loadingFile: "იტვირთება...",
chooseFile: "აირჩიეთ ფაილი...",
noFileChosen: "ფაილის არჩევა არ არის",
filePlaceholder: "გადაიტანეთ და ჩამოაგდეთ ფაილი აქ ან დააჭირეთ ქვემოთ მოცემულ ღილაკს და აირჩიეთ ფაილი ასატვირთად.",
confirmDelete: "გსურთ ჩანაწერის წაშლა?",
keyDuplicationError: "ეს მნიშვნელობა უნდა იყოს უნიკალური.",
addColumn: "სვეტის დამატება",
addRow: "რიგის დამატება",
removeRow: "წაშლა",
emptyRowsText: "რიგები არ არის.",
addPanel: "ახალი დამატება",
removePanel: "წაშლა",
showDetails: "დეტალების ჩვენება",
hideDetails: "დეტალების დამალვა",
choices_Item: "ნივთი",
matrix_column: "სვეტი",
matrix_row: "რიგი",
multipletext_itemname: "ტექსტი",
savingData: "შედეგები ინახება სერვერზე...",
savingDataError: "დაფიქსირდა შეცდომა და შედეგი ვერ შევინახავდით.",
savingDataSuccess: "შედეგები წარმატებით გადაარჩინეს!",
saveAgainButton: "კიდევ სცადე",
timerMin: "წთ",
timerSec: "წმ",
timerSpentAll: "თქვენ დახარჯეთ {0} ამ გვერდზე და ჯამში {1}.",
timerSpentPage: "თქვენ {0} დახარჯეთ ამ გვერდზე.",
timerSpentSurvey: "თქვენ სულ {0} დახარჯეთ.",
timerLimitAll: "თქვენ დახარჯეთ {1} {0} ამ გვერდზე და ჯამში {3} {2}.",
timerLimitPage: "თქვენ ამ გვერდზე {1} {0} დახარჯეთ.",
timerLimitSurvey: "თქვენ სულ {1} {0} დახარჯეთ.",
clearCaption: "მოწმენდილი ცა",
signaturePlaceHolder: "შესვლა აქ",
chooseFileCaption: "ვაუჩერის ნახვა",
takePhotoCaption: "გადაიღეთ ფოტო",
photoPlaceholder: "დააჭირეთ ქვემოთ მოცემულ ღილაკს, რომ გადაიღოთ ფოტო კამერის გამოყენებით.",
fileOrPhotoPlaceholder: "გადაიტანეთ და ჩამოაგდეთ ან შეარჩიეთ ფაილი კამერის გამოყენებით ფოტოს ასატვირთად ან გადასაღებად.",
replaceFileCaption: "ფაილის შეცვლა",
removeFileCaption: "ამ ფაილის წაშლა",
booleanCheckedLabel: "დიახ",
booleanUncheckedLabel: "არა",
confirmRemoveFile: "დარწმუნებული ხართ, რომ გსურთ ამ ფაილის წაშლა: {0}?",
confirmRemoveAllFiles: "დარწმუნებული ხართ, რომ გსურთ ყველა ფაილის წაშლა?",
questionTitlePatternText: "კითხვის სათაური",
modalCancelButtonText: "გაუქმება",
modalApplyButtonText: "მიღება",
filterStringPlaceholder: "ჩაწერეთ ძებნა...",
emptyMessage: "მონაცემები არ არის საჩვენებლად",
noEntriesText: "ჯერ არ არის ჩანაწერები.\nდააჭირეთ ქვემოთ მოცემულ ღილაკს, რომ დაამატოთ ახალი ჩანაწერი.",
noEntriesReadonlyText: "არ არსებობს ჩანაწერები.",
more: "სრულად",
tagboxDoneButtonCaption: "კარგი",
selectToRankEmptyRankedAreaText: "ყველა არჩევანი რანჟირებულია",
selectToRankEmptyUnrankedAreaText: "გადაიტანეთ და ჩამოაგდეთ არჩევანი აქ, რომ დაასახელოთ ისინი",
ok: "კარგი",
cancel: "გაუქმება"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ka"] = georgianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ka"] = "ქართული";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// previewText: "Preview" => "გადახედვა"
// editText: "Edit" => "რედაქტირება"
// startSurveyText: "Start" => "დაქოქვა"
// noneItemText: "None" => "არცერთი"
// selectAllItemText: "Select All" => "ყველას მონიშნა"
// indexText: "{0} of {1}" => "{1} {0}"
// panelDynamicProgressText: "{0} of {1}" => "{1} {0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// questionsProgressText: "Answered {0}/{1} questions" => "უპასუხეთ {0}/{1} კითხვებს"
// completingSurveyBefore: "Our records show that you have already completed this survey." => "ჩვენი ჩანაწერები აჩვენებს, რომ თქვენ უკვე დაასრულეთ ეს გამოკითხვა."
// ratingOptionsCaption: "Select..." => "აირჩიეთ..."
// value: "value" => "ღირებულება"
// requiredErrorInPanel: "Response required: answer at least one question." => "საჭიროა პასუხი: უპასუხეთ მინიმუმ ერთ კითხვას."
// requiredInAllRowsError: "Response required: answer questions in all rows." => "საჭიროა პასუხი: უპასუხეთ კითხვებს ყველა რიგში."
// minError: "The value should not be less than {0}" => "ღირებულება არ უნდა იყოს ნაკლები {0}"
// maxError: "The value should not be greater than {0}" => "ღირებულება არ უნდა იყოს {0}"
// textMaxLength: "Please enter no more than {0} character(s)." => "გთხოვთ, შეიყვანოთ არაუმეტეს {0} სიმბოლო(ებ)ი."
// textMinMaxLength: "Please enter at least {0} and no more than {1} characters." => "გთხოვთ, შეიყვანოთ მინიმუმ {0} და არაუმეტეს {1} სიმბოლო."
// minRowCountError: "Please fill in at least {0} row(s)." => "გთხოვთ შეავსოთ მინიმუმ {0} რიგი( ებ)ი."
// invalidExpression: "The expression: {0} should return 'true'." => "გამოთქმა: {0} უნდა დაბრუნდეს \"ჭეშმარიტი\"."
// urlRequestError: "The request returned error '{0}'. {1}" => "მოთხოვნა დაუბრუნდა შეცდომას '{0}'. {1}"
// urlGetChoicesError: "The request returned empty data or the 'path' property is incorrect" => "მოთხოვნამ დაუბრუნა ცარიელი მონაცემები ან \"ბილიკის\" ქონება არასწორია"
// exceedMaxSize: "The file size should not exceed {0}." => "ფაილის ზომა არ უნდა აღემატებოდეს {0}."
// otherRequiredError: "Response required: enter another value." => "საჭიროა პასუხი: შეიყვანეთ სხვა მნიშვნელობა."
// uploadingFile: "Your file is uploading. Please wait several seconds and try again." => "თქვენი ფაილი ატვირთვაა. გთხოვთ დაელოდოთ რამდენიმე წამს და კიდევ სცადოთ."
// loadingFile: "Loading..." => "იტვირთება..."
// chooseFile: "Choose file(s)..." => "აირჩიეთ ფაილი..."
// noFileChosen: "No file chosen" => "ფაილის არჩევა არ არის"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "გადაიტანეთ და ჩამოაგდეთ ფაილი აქ ან დააჭირეთ ქვემოთ მოცემულ ღილაკს და აირჩიეთ ფაილი ასატვირთად."
// confirmDelete: "Do you want to delete the record?" => "გსურთ ჩანაწერის წაშლა?"
// keyDuplicationError: "This value should be unique." => "ეს მნიშვნელობა უნდა იყოს უნიკალური."
// addColumn: "Add Column" => "სვეტის დამატება"
// addRow: "Add Row" => "რიგის დამატება"
// removeRow: "Remove" => "წაშლა"
// emptyRowsText: "There are no rows." => "რიგები არ არის."
// addPanel: "Add new" => "ახალი დამატება"
// removePanel: "Remove" => "წაშლა"
// choices_Item: "item" => "ნივთი"
// matrix_column: "Column" => "სვეტი"
// matrix_row: "Row" => "რიგი"
// multipletext_itemname: "text" => "ტექსტი"
// savingData: "The results are being saved on the server..." => "შედეგები ინახება სერვერზე..."
// savingDataError: "An error occurred and we could not save the results." => "დაფიქსირდა შეცდომა და შედეგი ვერ შევინახავდით."
// savingDataSuccess: "The results were saved successfully!" => "შედეგები წარმატებით გადაარჩინეს!"
// saveAgainButton: "Try again" => "კიდევ სცადე"
// timerMin: "min" => "წთ"
// timerSec: "sec" => "წმ"
// timerSpentAll: "You have spent {0} on this page and {1} in total." => "თქვენ დახარჯეთ {0} ამ გვერდზე და ჯამში {1}."
// timerSpentPage: "You have spent {0} on this page." => "თქვენ {0} დახარჯეთ ამ გვერდზე."
// timerSpentSurvey: "You have spent {0} in total." => "თქვენ სულ {0} დახარჯეთ."
// timerLimitAll: "You have spent {0} of {1} on this page and {2} of {3} in total." => "თქვენ დახარჯეთ {1} {0} ამ გვერდზე და ჯამში {3} {2}."
// timerLimitPage: "You have spent {0} of {1} on this page." => "თქვენ ამ გვერდზე {1} {0} დახარჯეთ."
// timerLimitSurvey: "You have spent {0} of {1} in total." => "თქვენ სულ {1} {0} დახარჯეთ."
// clearCaption: "Clear" => "მოწმენდილი ცა"
// signaturePlaceHolder: "Sign here" => "შესვლა აქ"
// chooseFileCaption: "Choose file" => "ვაუჩერის ნახვა"
// removeFileCaption: "Remove this file" => "ამ ფაილის წაშლა"
// booleanCheckedLabel: "Yes" => "დიახ"
// booleanUncheckedLabel: "No" => "არა"
// confirmRemoveFile: "Are you sure that you want to remove this file: {0}?" => "დარწმუნებული ხართ, რომ გსურთ ამ ფაილის წაშლა: {0}?"
// confirmRemoveAllFiles: "Are you sure that you want to remove all files?" => "დარწმუნებული ხართ, რომ გსურთ ყველა ფაილის წაშლა?"
// questionTitlePatternText: "Question Title" => "კითხვის სათაური"
// modalCancelButtonText: "Cancel" => "გაუქმება"
// modalApplyButtonText: "Apply" => "მიღება"
// filterStringPlaceholder: "Type to search..." => "ჩაწერეთ ძებნა..."
// emptyMessage: "No data to display" => "მონაცემები არ არის საჩვენებლად"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "ჯერ არ არის ჩანაწერები.\nდააჭირეთ ქვემოთ მოცემულ ღილაკს, რომ დაამატოთ ახალი ჩანაწერი."
// noEntriesReadonlyText: "There are no entries." => "არ არსებობს ჩანაწერები."
// more: "More" => "სრულად"
// tagboxDoneButtonCaption: "OK" => "კარგი"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "ყველა არჩევანი რანჟირებულია"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "გადაიტანეთ და ჩამოაგდეთ არჩევანი აქ, რომ დაასახელოთ ისინი"// takePhotoCaption: "Take Photo" => "გადაიღეთ ფოტო"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "დააჭირეთ ქვემოთ მოცემულ ღილაკს, რომ გადაიღოთ ფოტო კამერის გამოყენებით."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "გადაიტანეთ და ჩამოაგდეთ ან შეარჩიეთ ფაილი კამერის გამოყენებით ფოტოს ასატვირთად ან გადასაღებად."
// replaceFileCaption: "Replace file" => "ფაილის შეცვლა"// eachRowUniqueError: "Each row must have a unique value." => "თითოეულ რიგს უნდა ჰქონდეს უნიკალური მნიშვნელობა."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "ფაილების ატვირთვა შეუძლებელია. გთხოვთ, დაამატოთ დამმუშავებელი 'onUploadFiles' ღონისძიებისთვის."
// showDetails: "Show Details" => "დეტალების ჩვენება"
// hideDetails: "Hide Details" => "დეტალების დამალვა"
// ok: "OK" => "კარგი"
// cancel: "Cancel" => "გაუქმება"
// refuseItemText: "Refuse to answer" => "უარი პასუხზე"
// dontKnowItemText: "Don't know" => "არ ვიცი"
/***/ }),
/***/ "./src/localization/german.ts":
/*!************************************!*\
!*** ./src/localization/german.ts ***!
\************************************/
/*! exports provided: germanSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "germanSurveyStrings", function() { return germanSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var germanSurveyStrings = {
pagePrevText: "Zurück",
pageNextText: "Weiter",
completeText: "Abschließen",
previewText: "Vorschau",
editText: "Bearbeiten",
startSurveyText: "Start",
otherItemText: "Sonstiges (Bitte angeben)",
noneItemText: "Nichts trifft zu",
refuseItemText: "Verweigern Sie die Antwort",
dontKnowItemText: "Weiß ich nicht",
selectAllItemText: "Alles auswählen",
progressText: "Seite {0} von {1}",
indexText: "{0} von {1}",
panelDynamicProgressText: "Eintrag {0} von {1}",
panelDynamicTabTextFormat: "Bereich {panelIndex}",
questionsProgressText: "{0}/{1} Fragen beantwortet",
emptySurvey: "Es sind keine Fragen vorhanden.",
completingSurvey: "Vielen Dank, dass Sie die Umfrage abgeschlossen haben!",
completingSurveyBefore: "Wir haben festgestellt, dass Sie diese Umfrage bereits abgeschlossen haben.",
loadingSurvey: "Umfrage wird geladen...",
placeholder: "Bitte auswählen...",
ratingOptionsCaption: "Tippen Sie hier, um zu bewerten...",
value: "Wert",
requiredError: "Bitte beantworten Sie diese Frage.",
requiredErrorInPanel: "Bitte beantworten Sie mindestens eine Frage.",
requiredInAllRowsError: "Bitte beantworten Sie alle Fragen.",
eachRowUniqueError: "Jede Zeile muss einen eindeutigen Wert haben.",
numericError: "Der Wert muss eine Zahl sein.",
minError: "Der Wert sollte nicht kleiner als {0} sein",
maxError: "Der Wert sollte nicht größer als {0} sein",
textMinLength: "Bitte geben Sie mindestens {0} Zeichen ein.",
textMaxLength: "Bitte geben Sie nicht mehr als {0} Zeichen ein.",
textMinMaxLength: "Bitte geben Sie mindestens {0} und maximal {1} Zeichen ein.",
minRowCountError: "Bitte machen Sie in mindestens {0} Zeilen eine Eingabe.",
minSelectError: "Bitte wählen Sie mindestens {0} Antwort(en) aus.",
maxSelectError: "Bitte wählen Sie nicht mehr als {0} Antwort(en) aus.",
numericMinMax: "'{0}' muss größer oder gleich {1} und kleiner oder gleich {2} sein",
numericMin: "'{0}' muss größer oder gleich {1} sein",
numericMax: "'{0}' muss kleiner oder gleich {1} sein",
invalidEmail: "Bitte geben Sie eine gültige E-Mail-Adresse ein.",
invalidExpression: "Der Ausdruck: {0} muss den Wert 'wahr' zurückgeben.",
urlRequestError: "Ein Netzwerkdienst hat folgenden Fehler zurückgegeben '{0}'. {1}",
urlGetChoicesError: "Eine Netzwerkdienst hat ungültige Daten zurückgegeben",
exceedMaxSize: "Die Datei darf nicht größer als {0} sein.",
noUploadFilesHandler: "Dateien können nicht hochgeladen werden. Fügen Sie einen Handler für das Ereignis 'onUploadFiles' hinzu.",
otherRequiredError: "Bitte geben Sie einen Wert an.",
uploadingFile: "Bitte warten Sie bis der Upload Ihrer Dateien abgeschlossen ist.",
loadingFile: "Wird hochgeladen...",
chooseFile: "Datei(en) auswählen...",
noFileChosen: "Keine Datei ausgewählt",
filePlaceholder: "Legen Sie hier eine Datei ab oder klicken Sie auf die Schaltfläche unten, um die Datei zu laden.",
confirmDelete: "Wollen Sie den Eintrag löschen?",
keyDuplicationError: "Dieser Wert muss einmalig sein.",
addColumn: "Spalte hinzufügen",
addRow: "Zeile hinzufügen",
removeRow: "Entfernen",
emptyRowsText: "Es gibt keine Reihen.",
addPanel: "Neu hinzufügen",
removePanel: "Entfernen",
showDetails: "Details anzeigen",
hideDetails: "Details ausblenden",
choices_Item: "Element",
matrix_column: "Spalte",
matrix_row: "Zeile",
multipletext_itemname: "Text",
savingData: "Die Ergebnisse werden auf dem Server gespeichert...",
savingDataError: "Es ist ein Fehler aufgetreten. Die Ergebnisse konnten nicht gespeichert werden.",
savingDataSuccess: "Die Ergebnisse wurden gespeichert!",
saveAgainButton: "Erneut absenden",
timerMin: "Min.",
timerSec: "Sek.",
timerSpentAll: "Sie waren {0} auf dieser Seite und brauchten insgesamt {1}.",
timerSpentPage: "Sie waren {0} auf dieser Seite.",
timerSpentSurvey: "Sie haben insgesamt {0} gebraucht.",
timerLimitAll: "Sie waren {0} von {1} auf dieser Seite und brauchten insgesamt {2} von {3}.",
timerLimitPage: "Sie waren {0} von {1} auf dieser Seite.",
timerLimitSurvey: "Sie haben insgesamt {0} von {1} gebraucht.",
clearCaption: "Auswahl entfernen",
signaturePlaceHolder: "Hier unterschreiben",
chooseFileCaption: "Datei auswählen",
takePhotoCaption: "Foto machen",
photoPlaceholder: "Klicken Sie auf die Schaltfläche unten, um ein Foto mit der Kamera aufzunehmen.",
fileOrPhotoPlaceholder: "Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder ein Foto mit der Kamera aufzunehmen.",
replaceFileCaption: "Datei ersetzen",
removeFileCaption: "Datei löschen",
booleanCheckedLabel: "Ja",
booleanUncheckedLabel: "Nein",
confirmRemoveFile: "Sind Sie sicher, dass Sie diese Datei löschen möchten: {0}?",
confirmRemoveAllFiles: "Sind Sie sicher, dass Sie alle Dateien löschen möchten?",
questionTitlePatternText: "Fragentitel",
modalCancelButtonText: "Abbrechen",
modalApplyButtonText: "Anwenden",
filterStringPlaceholder: "Tippe um zu suchen...",
emptyMessage: "Es gibt noch keine Daten.",
noEntriesText: "Es gibt noch keine Einträge.\nKlicken Sie auf die Schaltfläche unten, um einen neuen Eintrag hinzuzufügen.",
noEntriesReadonlyText: "Es gibt keine Einträge.",
more: "Mehr",
tagboxDoneButtonCaption: "OKAY",
selectToRankEmptyRankedAreaText: "Alle Auswahlmöglichkeiten sind in einer Rangfolge angeordnet",
selectToRankEmptyUnrankedAreaText: "Ziehen Sie die Auswahl hierher, um sie zu ordnen",
ok: "OKAY",
cancel: "Abbrechen"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["de"] = germanSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["de"] = "deutsch";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Bereich {panelIndex}"
// noEntriesReadonlyText: "There are no entries." => "Es gibt keine Einträge."
// tagboxDoneButtonCaption: "OK" => "OKAY"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alle Auswahlmöglichkeiten sind in einer Rangfolge angeordnet"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Ziehen Sie die Auswahl hierher, um sie zu ordnen"// takePhotoCaption: "Take Photo" => "Foto machen"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klicken Sie auf die Schaltfläche unten, um ein Foto mit der Kamera aufzunehmen."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder ein Foto mit der Kamera aufzunehmen."
// replaceFileCaption: "Replace file" => "Datei ersetzen"// eachRowUniqueError: "Each row must have a unique value." => "Jede Zeile muss einen eindeutigen Wert haben."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Dateien können nicht hochgeladen werden. Fügen Sie einen Handler für das Ereignis 'onUploadFiles' hinzu."
// showDetails: "Show Details" => "Details anzeigen"
// hideDetails: "Hide Details" => "Details ausblenden"
// ok: "OK" => "OKAY"
// cancel: "Cancel" => "Abbrechen"
// refuseItemText: "Refuse to answer" => "Verweigern Sie die Antwort"
// dontKnowItemText: "Don't know" => "Weiß ich nicht"
/***/ }),
/***/ "./src/localization/greek.ts":
/*!***********************************!*\
!*** ./src/localization/greek.ts ***!
\***********************************/
/*! exports provided: greekSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "greekSurveyStrings", function() { return greekSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var greekSurveyStrings = {
pagePrevText: "Προηγούμενο",
pageNextText: "Επόμενο",
completeText: "Ολοκλήρωση",
previewText: "Προεπισκόπηση",
editText: "Επεξεργασία",
startSurveyText: "Αρχή",
otherItemText: "Άλλο (παρακαλώ διευκρινίστε)",
noneItemText: "Κανένας",
refuseItemText: "Αρνηθείτε να απαντήσετε",
dontKnowItemText: "Δεν ξέρω",
selectAllItemText: "Επιλογή όλων",
progressText: "Σελίδα {0} από {1}",
indexText: "{0} από {1}",
panelDynamicProgressText: "Εγγραφή {0} από {1}",
panelDynamicTabTextFormat: "Πίνακας {panelIndex}",
questionsProgressText: "Απαντήθηκαν {0} / {1} ερωτήσεις",
emptySurvey: "Δεν υπάρχει καμία ορατή σελίδα ή ορατή ερώτηση σε αυτό το ερωτηματολόγιο.",
completingSurvey: "Ευχαριστούμε για την συμπλήρωση αυτού του ερωτηματολογίου!",
completingSurveyBefore: "Τα αρχεία μας δείχνουν ότι έχετε ήδη ολοκληρώσει αυτήν την έρευνα.",
loadingSurvey: "Το ερωτηματολόγιο φορτώνεται απο το διακομιστή...",
placeholder: "Επιλέξτε...",
ratingOptionsCaption: "Πατήστε για να βαθμολογήσετε εδώ...",
value: "τιμή",
requiredError: "Παρακαλώ απαντήστε στην ερώτηση.",
requiredErrorInPanel: "Απαντήστε σε τουλάχιστον μία ερώτηση.",
requiredInAllRowsError: "Παρακαλώ απαντήστε τις ερωτήσεις σε όλες τις γραμμές.",
eachRowUniqueError: "Κάθε γραμμή πρέπει να έχει μια μοναδική τιμή.",
numericError: "Η τιμή πρέπει να είναι αριθμητική.",
minError: "Η τιμή δεν πρέπει να είναι μικρότερη από {0}",
maxError: "Η τιμή δεν πρέπει να είναι μεγαλύτερη από {0}",
textMinLength: "Παρακαλώ συμπληρώστε τουλάχιστον {0} χαρακτήρες.",
textMaxLength: "Εισαγάγετε λιγότερους από {0} χαρακτήρες.",
textMinMaxLength: "Εισαγάγετε περισσότερους από {0} και λιγότερους από {1} χαρακτήρες.",
minRowCountError: "Παρακαλώ συμπληρώστε τουλάχιστον {0} γραμμές.",
minSelectError: "Παρακαλώ επιλέξτε τουλάχιστον {0} παραλλαγές.",
maxSelectError: "Παρακαλώ επιλέξτε όχι παραπάνω απο {0} παραλλαγές.",
numericMinMax: "Το '{0}' θα πρέπει να είναι ίσο ή μεγαλύτερο απο το {1} και ίσο ή μικρότερο απο το {2}",
numericMin: "Το '{0}' πρέπει να είναι μεγαλύτερο ή ισο με το {1}",
numericMax: "Το '{0}' πρέπει να είναι μικρότερο ή ίσο απο το {1}",
invalidEmail: "Παρακαλώ δώστε μια αποδεκτή διεύθυνση e-mail.",
invalidExpression: "Η έκφραση: {0} θα πρέπει να επιστρέψει 'true'.",
urlRequestError: "Η αίτηση επέστρεψε σφάλμα '{0}'. {1}",
urlGetChoicesError: "Η αίτηση επέστρεψε κενά δεδομένα ή η ιδιότητα 'μονοπάτι/path' είναι εσφαλμένη",
exceedMaxSize: "Το μέγεθος του αρχείου δεν μπορεί να υπερβαίνει τα {0}.",
noUploadFilesHandler: "Δεν είναι δυνατή η αποστολή αρχείων. Προσθέστε ένα πρόγραμμα χειρισμού για το συμβάν 'onUploadFiles'.",
otherRequiredError: "Παρακαλώ συμπληρώστε την τιμή για το πεδίο 'άλλο'.",
uploadingFile: "Το αρχείο σας ανεβαίνει. Παρακαλώ περιμένετε μερικά δευτερόλεπτα και δοκιμάστε ξανά.",
loadingFile: "Φόρτωση...",
chooseFile: "Επιλογή αρχείων ...",
noFileChosen: "Δεν έχει επιλεγεί αρχείο",
filePlaceholder: "Αποθέστε το αρχείο σας εδώ ή κάντε κλικ στο κουμπί παρακάτω για να φορτώσετε το αρχείο.",
confirmDelete: "Θέλετε να διαγράψετε την εγγραφή;",
keyDuplicationError: "Αυτή η τιμή πρέπει να είναι μοναδική.",
addColumn: "Προσθήκη στήλης",
addRow: "Προσθήκη γραμμής",
removeRow: "Αφαίρεση",
emptyRowsText: "Δεν υπάρχουν εγγραφές.",
addPanel: "Προσθέστε νέο",
removePanel: "Αφαίρεση",
showDetails: "Εμφάνιση λεπτομερειών",
hideDetails: "Απόκρυψη λεπτομερειών",
choices_Item: "είδος",
matrix_column: "Στήλη",
matrix_row: "Γραμμή",
multipletext_itemname: "κείμενο",
savingData: "Τα αποτελέσματα αποθηκεύονται στον διακομιστή ...",
savingDataError: "Παρουσιάστηκε σφάλμα και δεν ήταν δυνατή η αποθήκευση των αποτελεσμάτων.",
savingDataSuccess: "Τα αποτελέσματα αποθηκεύτηκαν με επιτυχία!",
saveAgainButton: "Προσπάθησε ξανά",
timerMin: "ελάχ",
timerSec: "δευτ",
timerSpentAll: "Έχετε δαπανήσει {0} σε αυτήν τη σελίδα και {1} συνολικά.",
timerSpentPage: "Έχετε ξοδέψει {0} σε αυτήν τη σελίδα.",
timerSpentSurvey: "Έχετε ξοδέψει συνολικά {0}.",
timerLimitAll: "Έχετε δαπανήσει {0} από {1} σε αυτήν τη σελίδα και {2} από {3} συνολικά.",
timerLimitPage: "Έχετε ξοδέψει {0} από {1} σε αυτήν τη σελίδα.",
timerLimitSurvey: "Έχετε ξοδέψει {0} από {1} συνολικά.",
clearCaption: "Εκκαθάριση",
signaturePlaceHolder: "Υπογράψτε εδώ",
chooseFileCaption: "Επιλέξτε αρχείο",
takePhotoCaption: "Λήψη φωτογραφίας",
photoPlaceholder: "Κάντε κλικ στο παρακάτω κουμπί για να τραβήξετε μια φωτογραφία χρησιμοποιώντας την κάμερα.",
fileOrPhotoPlaceholder: "Σύρετε και αποθέστε ή επιλέξτε ένα αρχείο για αποστολή ή λήψη φωτογραφίας χρησιμοποιώντας την κάμερα.",
replaceFileCaption: "Αντικατάσταση αρχείου",
removeFileCaption: "Διαγράψτε αυτό το αρχείο",
booleanCheckedLabel: "Ναι",
booleanUncheckedLabel: "Όχι",
confirmRemoveFile: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το αρχείο: {0};",
confirmRemoveAllFiles: "Είστε βέβαιοι ότι θέλετε να διαγράψετε όλα τα αρχεία;",
questionTitlePatternText: "Τίτλος ερώτησης",
modalCancelButtonText: "Άκυρο",
modalApplyButtonText: "Εφαρμογή",
filterStringPlaceholder: "Πληκτρολογήστε για αναζήτηση...",
emptyMessage: "Δεν υπάρχουν δεδομένα προς εμφάνιση",
noEntriesText: "Δεν υπάρχουν ακόμη εγγραφές.\nΚάντε κλικ στο κουμπί παρακάτω για να προσθέσετε μια νέα εγγραφή.",
noEntriesReadonlyText: "Δεν υπάρχουν καταχωρήσεις.",
more: "Περισσότερα",
tagboxDoneButtonCaption: "ΟΚ",
selectToRankEmptyRankedAreaText: "Όλες οι επιλογές κατατάσσονται",
selectToRankEmptyUnrankedAreaText: "Σύρετε και αποθέστε επιλογές εδώ για να τις κατατάξετε",
ok: "OK",
cancel: "Ακυρώνω"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["gr"] = greekSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["gr"] = "ελληνικά";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Πίνακας {panelIndex}"
// noEntriesReadonlyText: "There are no entries." => "Δεν υπάρχουν καταχωρήσεις."
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Όλες οι επιλογές κατατάσσονται"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Σύρετε και αποθέστε επιλογές εδώ για να τις κατατάξετε"// takePhotoCaption: "Take Photo" => "Λήψη φωτογραφίας"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Κάντε κλικ στο παρακάτω κουμπί για να τραβήξετε μια φωτογραφία χρησιμοποιώντας την κάμερα."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Σύρετε και αποθέστε ή επιλέξτε ένα αρχείο για αποστολή ή λήψη φωτογραφίας χρησιμοποιώντας την κάμερα."
// replaceFileCaption: "Replace file" => "Αντικατάσταση αρχείου"// eachRowUniqueError: "Each row must have a unique value." => "Κάθε γραμμή πρέπει να έχει μια μοναδική τιμή."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Δεν είναι δυνατή η αποστολή αρχείων. Προσθέστε ένα πρόγραμμα χειρισμού για το συμβάν 'onUploadFiles'."
// showDetails: "Show Details" => "Εμφάνιση λεπτομερειών"
// hideDetails: "Hide Details" => "Απόκρυψη λεπτομερειών"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Ακυρώνω"
// refuseItemText: "Refuse to answer" => "Αρνηθείτε να απαντήσετε"
// dontKnowItemText: "Don't know" => "Δεν ξέρω"
/***/ }),
/***/ "./src/localization/hebrew.ts":
/*!************************************!*\
!*** ./src/localization/hebrew.ts ***!
\************************************/
/*! exports provided: hebrewSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hebrewSurveyStrings", function() { return hebrewSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var hebrewSurveyStrings = {
pagePrevText: "אחורה",
pageNextText: "קדימה",
completeText: "סיום",
previewText: "תצוגה מקדימה",
editText: "לַעֲרוֹך",
startSurveyText: "הַתחָלָה",
otherItemText: "אחר (נא לתאר)",
noneItemText: "אף אחד",
refuseItemText: "מסרבים לענות",
dontKnowItemText: "לא יודע",
selectAllItemText: "בחר הכל",
progressText: "דף {1} מתוך {0}",
indexText: "{0} מתוך {1}",
panelDynamicProgressText: "הקלטה {0} מתוך {1}",
panelDynamicTabTextFormat: "לוח {panelIndex}",
questionsProgressText: "ענה על שאלות",
emptySurvey: "אין שאלות",
completingSurvey: "תודה על מילוי השאלון!",
completingSurveyBefore: "הרשומות שלנו מראות שכבר סיימת את הסקר הזה.",
loadingSurvey: "טעינה מהשרת...",
placeholder: "בחר...",
ratingOptionsCaption: "בחר...",
value: "ערך",
requiredError: "אנא השב על השאלה",
requiredErrorInPanel: "אנא ענה לפחות על שאלה אחת.",
requiredInAllRowsError: "אנא ענה על שאלות בכל השורות.",
eachRowUniqueError: "לכל שורה חייב להיות ערך ייחודי.",
numericError: "התשובה צריכה להיות מספר.",
minError: "הערך לא צריך להיות קטן מ {0}",
maxError: "הערך לא צריך להיות גדול מ- {0}",
textMinLength: "הזן לפחות {0} תווים.",
textMaxLength: "הזן פחות מ- {0} תווים.",
textMinMaxLength: "הזן יותר מ- {0} ופחות מ- {1} תווים.",
minRowCountError: "אנא מלא לפחות {0} שורות.",
minSelectError: "בחר לפחות {0} אפשרויות.",
maxSelectError: "בחר עד {0} אפשרויות.",
numericMinMax: "'{0}' חייב להיות שווה או גדול מ {1}, ושווה ל- {2} או פחות מ- {}}",
numericMin: "'{0}' חייב להיות שווה או גדול מ {1}",
numericMax: "'{0}' חייב להיות שווה או קטן מ {1}",
invalidEmail: "הזן כתובת דוא\"ל חוקית.",
invalidExpression: "הביטוי: {0} צריך להחזיר 'אמת'.",
urlRequestError: "הבקשה החזירה את השגיאה '{0}'. {1}",
urlGetChoicesError: "הבקשה החזירה נתונים ריקים או שהמאפיין 'נתיב' שגוי",
exceedMaxSize: "גודל הקובץ לא יעלה על {0}.",
noUploadFilesHandler: "לא ניתן להעלות קבצים. אנא הוסף מטפל לאירוע 'onUploadFiles'.",
otherRequiredError: "נא להזין נתונים בשדה \"אחר\"",
uploadingFile: "הקובץ שלך נטען. המתן מספר שניות ונסה שוב.",
loadingFile: "טוען...",
chooseFile: "לבחור קבצים...",
noFileChosen: "לא נבחר קובץ",
filePlaceholder: "גרור ושחרר קובץ לכאן או לחץ על הלחצן למטה ובחר קובץ להעלאה.",
confirmDelete: "האם אתה רוצה למחוק את הרשומה?",
keyDuplicationError: "ערך זה צריך להיות ייחודי.",
addColumn: "הוסף עמודה",
addRow: "להוסיף שורה",
removeRow: "לְהַסִיר",
emptyRowsText: "אין שורות.",
addPanel: "הוסף חדש",
removePanel: "לְהַסִיר",
showDetails: "הראה פרטים",
hideDetails: "הסתר פרטים",
choices_Item: "פריט",
matrix_column: "טור",
matrix_row: "שׁוּרָה",
multipletext_itemname: "טקסט",
savingData: "התוצאות נשמרות בשרת ...",
savingDataError: "אירעה שגיאה ולא הצלחנו לשמור את התוצאות.",
savingDataSuccess: "התוצאות נשמרו בהצלחה!",
saveAgainButton: "נסה שוב",
timerMin: "דקה",
timerSec: "שניות",
timerSpentAll: "הוצאת {0} בדף זה ובסך הכל {1}.",
timerSpentPage: "הוצאת {0} בדף זה.",
timerSpentSurvey: "הוצאת סכום כולל של {0}.",
timerLimitAll: "הוצאת {0} מתוך {1} בדף זה ו- {2} מתוך {3} בסך הכל.",
timerLimitPage: "הוצאת {0} מתוך {1} בדף זה.",
timerLimitSurvey: "הוצאת סכום כולל של {0} מתוך {1}.",
clearCaption: "ברור",
signaturePlaceHolder: "חתום כאן",
chooseFileCaption: "בחר קובץ",
takePhotoCaption: "צלם תמונה",
photoPlaceholder: "לחץ על הלחצן למטה כדי לצלם תמונה באמצעות המצלמה.",
fileOrPhotoPlaceholder: "גרור ושחרר או בחר קובץ כדי להעלות או לצלם תמונה באמצעות המצלמה.",
replaceFileCaption: "החלפת קובץ",
removeFileCaption: "הסר קובץ זה",
booleanCheckedLabel: "כן",
booleanUncheckedLabel: "לא",
confirmRemoveFile: "האם אתה בטוח שברצונך להסיר קובץ זה: {0}?",
confirmRemoveAllFiles: "האם אתה בטוח שברצונך להסיר את כל הקבצים?",
questionTitlePatternText: "כותרת שאלה",
modalCancelButtonText: "ביטל",
modalApplyButtonText: "החל",
filterStringPlaceholder: "הקלד כדי לחפש...",
emptyMessage: "אין נתונים להצגה",
noEntriesText: "אין עדיין ערכים.\nלחץ על הלחצן למטה כדי להוסיף ערך חדש.",
noEntriesReadonlyText: "אין ערכים.",
more: "עוד",
tagboxDoneButtonCaption: "אוקיי",
selectToRankEmptyRankedAreaText: "כל האפשרויות מדורגות",
selectToRankEmptyUnrankedAreaText: "גרור ושחרר אפשרויות לכאן כדי לדרג אותן",
ok: "אוקיי",
cancel: "ביטל"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["he"] = hebrewSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["he"] = "עברית";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} מתוך {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "לוח {panelIndex}"
// ratingOptionsCaption: "Select..." => "בחר..."
// minError: "The value should not be less than {0}" => "הערך לא צריך להיות קטן מ {0}"
// maxError: "The value should not be greater than {0}" => "הערך לא צריך להיות גדול מ- {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "גרור ושחרר קובץ לכאן או לחץ על הלחצן למטה ובחר קובץ להעלאה."
// emptyRowsText: "There are no rows." => "אין שורות."
// multipletext_itemname: "text" => "טקסט"
// signaturePlaceHolder: "Sign here" => "חתום כאן"
// modalCancelButtonText: "Cancel" => "ביטל"
// modalApplyButtonText: "Apply" => "החל"
// filterStringPlaceholder: "Type to search..." => "הקלד כדי לחפש..."
// emptyMessage: "No data to display" => "אין נתונים להצגה"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "אין עדיין ערכים.\nלחץ על הלחצן למטה כדי להוסיף ערך חדש."
// noEntriesReadonlyText: "There are no entries." => "אין ערכים."
// more: "More" => "עוד"
// tagboxDoneButtonCaption: "OK" => "אוקיי"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "כל האפשרויות מדורגות"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "גרור ושחרר אפשרויות לכאן כדי לדרג אותן"// takePhotoCaption: "Take Photo" => "צלם תמונה"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "לחץ על הלחצן למטה כדי לצלם תמונה באמצעות המצלמה."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "גרור ושחרר או בחר קובץ כדי להעלות או לצלם תמונה באמצעות המצלמה."
// replaceFileCaption: "Replace file" => "החלפת קובץ"// eachRowUniqueError: "Each row must have a unique value." => "לכל שורה חייב להיות ערך ייחודי."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "לא ניתן להעלות קבצים. אנא הוסף מטפל לאירוע 'onUploadFiles'."
// showDetails: "Show Details" => "הראה פרטים"
// hideDetails: "Hide Details" => "הסתר פרטים"
// ok: "OK" => "אוקיי"
// cancel: "Cancel" => "ביטל"
// refuseItemText: "Refuse to answer" => "מסרבים לענות"
// dontKnowItemText: "Don't know" => "לא יודע"
/***/ }),
/***/ "./src/localization/hindi.ts":
/*!***********************************!*\
!*** ./src/localization/hindi.ts ***!
\***********************************/
/*! exports provided: hindiStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hindiStrings", function() { return hindiStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var hindiStrings = {
pagePrevText: "पिछला",
pageNextText: "अगला",
completeText: "पूरा",
previewText: "पूर्वसमीक्षा",
editText: "संपादित",
startSurveyText: "शुरू",
otherItemText: "दूसरा (वर्णन करें)",
noneItemText: "कोई नहीं",
refuseItemText: "जवाब देने से इनकार",
dontKnowItemText: "नहीं मालूम",
selectAllItemText: "सभी का चयन करें",
progressText: "पृष्ठ 1 में से 0",
indexText: "{1} का {0}",
panelDynamicProgressText: " दस्तावेज {1} के {0}",
panelDynamicTabTextFormat: "पैनल {panelIndex}",
questionsProgressText: "{1} सवालों में से {0} के जवाब दिए",
emptySurvey: "सर्वेक्षण में कोई दृश्यमान पृष्ठ या प्रश्न नहीं है",
completingSurvey: "सर्वेक्षण को पूरा करने के लिए धन्यवाद",
completingSurveyBefore: " हमारे रिकॉर्ड बताते हैं कि आप पहले ही इस सर्वेक्षण को पूरा कर चुके हैं",
loadingSurvey: "सर्वेक्षण खुल रहा है.…",
placeholder: "चुनें",
ratingOptionsCaption: "चुनना।।।",
value: "मूल्य",
requiredError: "कृपया प्रश्न का उत्तर दें",
requiredErrorInPanel: "कृपया कम से कम एक प्रश्न का उत्तर दें",
requiredInAllRowsError: "कृपया सभी पंक्तियों में सवालों के जवाब दें",
eachRowUniqueError: "प्रत्येक पंक्ति का एक अद्वितीय मान होना चाहिए.",
numericError: "मूल्य संख्यात्मक होना चाहिए",
minError: "मान {0} से कम नहीं होना चाहिए",
maxError: "मान {0} से अधिक नहीं होना चाहिए",
textMinLength: "कृपया कम से कम {0} वर्ण दर्ज करें",
textMaxLength: "कृपया {0} से कम वर्ण दर्ज करें",
textMinMaxLength: "कृपया {0} से अधिक और {1} से कम पात्रों में प्रवेश करें",
minRowCountError: "कृपया कम से कम {0} पंक्तियों को भरें",
minSelectError: "कृपया कम से कम {0} विकल्प का चयन करें",
maxSelectError: "कृपया {0} विकल्पों से अधिक नहीं चुनें",
numericMinMax: "'{0}' {1} से बराबर या अधिक और {2} से बराबर या कम होना चाहिए",
numericMin: "'{0}' {1} से बराबर या अधिक होना चाहिए",
numericMax: "'{0}' {1} से बराबर या कम होना चाहिए",
invalidEmail: "कृपया एक वैध ईमेल पता दर्ज करें",
invalidExpression: "अभिव्यक्ति: {0} को ' सच ' लौटना चाहिए",
urlRequestError: "अनुरोध लौटाया त्रुटि '{0}' . {1}",
urlGetChoicesError: "अनुरोध ने खाली डेटा वापस कर दिया है ",
exceedMaxSize: "फ़ाइल का आकार {0} से अधिक नहीं होना चाहिए या फिर 'पाथ' प्रॉपर्टी गलत है",
noUploadFilesHandler: "फ़ाइलें अपलोड नहीं की जा सकती. कृपया 'onloadFiles' ईवेंट के लिए एक हैंडलर जोड़ें.",
otherRequiredError: "कृपया दूसरा मूल्य दर्ज करें",
uploadingFile: "आपकी फाइल अपलोड हो रही है। कृपया कई सेकंड इंतजार करें और फिर से प्रयास करें।",
loadingFile: "लोडिंग",
chooseFile: "फ़ाइल चुनें",
noFileChosen: "कोई फाइल नहीं चुनी गई",
filePlaceholder: "यहां एक फ़ाइल खींचें और छोड़ें या नीचे दिए गए बटन पर क्लिक करें और अपलोड करने के लिए एक फ़ाइल चुनें।",
confirmDelete: "क्या आप रिकॉर्ड हटाना चाहते हैं",
keyDuplicationError: "यह मान अनोखा होना चाहिए",
addColumn: "कॉलम जोड़ें",
addRow: "पंक्ति जोड़ें",
removeRow: "हटाए",
emptyRowsText: "कोई पंक्तियाँ नहीं हैं.",
addPanel: "नया जोड़ें",
removePanel: "हटाए",
showDetails: "विवरण दिखाएँ",
hideDetails: "विवरण छुपाएँ",
choices_Item: "मद",
matrix_column: "कॉलम",
matrix_row: "पंक्ति",
multipletext_itemname: "टेक्स्ट",
savingData: "परिणाम सर्वर पर सेव हो रहे हैं",
savingDataError: "एक त्रुटि हुई और हम परिणामों को नहीं सेव कर सके",
savingDataSuccess: "परिणाम सफलतापूर्वक सेव हो गए",
saveAgainButton: "फिर कोशिश करो",
timerMin: "मिनट",
timerSec: "सेकंड",
timerSpentAll: "आपने इस पृष्ठ पर {0} खर्च किए हैं और कुल {1}",
timerSpentPage: "आपने इस पृष्ठ पर {0} खर्च किया है",
timerSpentSurvey: "आपने कुल {0} खर्च किया है",
timerLimitAll: "आपने इस पृष्ठ पर {1} की {0} और कुल {3} की {2} खर्च की है।",
timerLimitPage: "आपने इस पृष्ठ पर {1} का {0} खर्च किया है",
timerLimitSurvey: "आपने कुल {1} की {0} खर्च की है",
clearCaption: "स्पष्ट",
signaturePlaceHolder: "यहां साइन करें",
chooseFileCaption: "फ़ाइल चुनें",
takePhotoCaption: "फोटो ले लो",
photoPlaceholder: "कैमरे का उपयोग करके फोटो लेने के लिए नीचे दिए गए बटन पर क्लिक करें।",
fileOrPhotoPlaceholder: "कैमरे का उपयोग करके फ़ोटो अपलोड करने या फ़ोटो लेने के लिए किसी फ़ाइल को खींचें और छोड़ें या चुनें.",
replaceFileCaption: "फ़ाइल बदलें",
removeFileCaption: "इस फाइल को निकालें",
booleanCheckedLabel: "हाँ",
booleanUncheckedLabel: "नहीं",
confirmRemoveFile: "क्या आप सुनिश्चित हैं कि आप इस फ़ाइल को हटाना चाहते हैं: {0}",
confirmRemoveAllFiles: "क्या आप सुनिश्चित हैं कि आप सभी फ़ाइलों को हटाना चाहते हैं",
questionTitlePatternText: "प्रश्न का शीर्षक",
modalCancelButtonText: "रद्द करना",
modalApplyButtonText: "लागू करना",
filterStringPlaceholder: "खोज करने के लिए टाइप करें...",
emptyMessage: "प्रदर्शित करने के लिए कोई डेटा नहीं",
noEntriesText: "अभी तक कोई प्रविष्टियां नहीं हैं।\nनई प्रविष्टि जोड़ने के लिए नीचे दिए गए बटन पर क्लिक करें.",
noEntriesReadonlyText: "कोई प्रविष्टियाँ नहीं हैं.",
more: "अधिक",
tagboxDoneButtonCaption: "ठीक है",
selectToRankEmptyRankedAreaText: "सभी विकल्पों को रैंक किया गया है",
selectToRankEmptyUnrankedAreaText: "विकल्पों को रैंक करने के लिए उन्हें यहां खींचें और छोड़ दें",
ok: "ठीक है",
cancel: "रद्द करना"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["hi"] = hindiStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hi"] = "hindi";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// noneItemText: "None" => "कोई नहीं"
// indexText: "{0} of {1}" => "{1} का {0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "पैनल {panelIndex}"
// ratingOptionsCaption: "Select..." => "चुनना।।।"
// minError: "The value should not be less than {0}" => "मान {0} से कम नहीं होना चाहिए"
// maxError: "The value should not be greater than {0}" => "मान {0} से अधिक नहीं होना चाहिए"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "यहां एक फ़ाइल खींचें और छोड़ें या नीचे दिए गए बटन पर क्लिक करें और अपलोड करने के लिए एक फ़ाइल चुनें।"
// emptyRowsText: "There are no rows." => "कोई पंक्तियाँ नहीं हैं."
// multipletext_itemname: "text" => "टेक्स्ट"
// signaturePlaceHolder: "Sign here" => "यहां साइन करें"
// modalCancelButtonText: "Cancel" => "रद्द करना"
// modalApplyButtonText: "Apply" => "लागू करना"
// filterStringPlaceholder: "Type to search..." => "खोज करने के लिए टाइप करें..."
// emptyMessage: "No data to display" => "प्रदर्शित करने के लिए कोई डेटा नहीं"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "अभी तक कोई प्रविष्टियां नहीं हैं।\nनई प्रविष्टि जोड़ने के लिए नीचे दिए गए बटन पर क्लिक करें."
// noEntriesReadonlyText: "There are no entries." => "कोई प्रविष्टियाँ नहीं हैं."
// more: "More" => "अधिक"
// tagboxDoneButtonCaption: "OK" => "ठीक है"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "सभी विकल्पों को रैंक किया गया है"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "विकल्पों को रैंक करने के लिए उन्हें यहां खींचें और छोड़ दें"// takePhotoCaption: "Take Photo" => "फोटो ले लो"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "कैमरे का उपयोग करके फोटो लेने के लिए नीचे दिए गए बटन पर क्लिक करें।"
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "कैमरे का उपयोग करके फ़ोटो अपलोड करने या फ़ोटो लेने के लिए किसी फ़ाइल को खींचें और छोड़ें या चुनें."
// replaceFileCaption: "Replace file" => "फ़ाइल बदलें"// eachRowUniqueError: "Each row must have a unique value." => "प्रत्येक पंक्ति का एक अद्वितीय मान होना चाहिए."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "फ़ाइलें अपलोड नहीं की जा सकती. कृपया 'onloadFiles' ईवेंट के लिए एक हैंडलर जोड़ें."
// showDetails: "Show Details" => "विवरण दिखाएँ"
// hideDetails: "Hide Details" => "विवरण छुपाएँ"
// ok: "OK" => "ठीक है"
// cancel: "Cancel" => "रद्द करना"// refuseItemText: "Refuse to answer" => "जवाब देने से इनकार"
// dontKnowItemText: "Don't know" => "नहीं मालूम"
/***/ }),
/***/ "./src/localization/hungarian.ts":
/*!***************************************!*\
!*** ./src/localization/hungarian.ts ***!
\***************************************/
/*! exports provided: hungarianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hungarianSurveyStrings", function() { return hungarianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var hungarianSurveyStrings = {
pagePrevText: "Vissza",
pageNextText: "Tovább",
completeText: "Kész",
previewText: "Előnézet",
editText: "Szerkesztés",
startSurveyText: "Rajt",
otherItemText: "Egyéb (adja meg)",
noneItemText: "Egyik sem",
refuseItemText: "A válaszadás megtagadása",
dontKnowItemText: "Nem tudom",
selectAllItemText: "Mindet kiválaszt",
progressText: "{0}./{1} oldal",
indexText: "{0} {1} közül",
panelDynamicProgressText: "{0} / {1} rekord",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Válaszolt kérdések: {0} / {1}",
emptySurvey: "The survey doesn't contain any visible elements.",
completingSurvey: "Köszönjük, hogy kitöltötte felmérésünket!",
completingSurveyBefore: "Már kitöltötte a felmérést.",
loadingSurvey: "Felmérés betöltése...",
placeholder: "Válasszon...",
ratingOptionsCaption: "Kiválaszt...",
value: "érték",
requiredError: "Kérjük, válaszolja meg ezt a kérdést!",
requiredErrorInPanel: "Kérjük, válaszoljon legalább egy kérdésre.",
requiredInAllRowsError: "Kérjük adjon választ minden sorban!",
eachRowUniqueError: "Minden sornak egyedi értékkel kell rendelkeznie.",
numericError: "Az érték szám kell, hogy legyen!",
minError: "Az érték nem lehet kisebb, mint {0}",
maxError: "Az érték nem lehet nagyobb, mint {0}",
textMinLength: "Adjon meg legalább {0} karaktert!",
textMaxLength: "Legfeljebb {0} karaktert adjon meg!",
textMinMaxLength: "Adjon meg legalább {0}, de legfeljebb {1} karaktert!",
minRowCountError: "Töltsön ki minimum {0} sort!",
minSelectError: "Válasszon ki legalább {0} lehetőséget!",
maxSelectError: "Ne válasszon többet, mint {0} lehetőség!",
numericMinMax: "'{0}' legyen nagyobb, vagy egyenlő, mint {1} és kisebb, vagy egyenlő, mint {2}!",
numericMin: "'{0}' legyen legalább {1}!",
numericMax: "The '{0}' ne legyen nagyobb, mint {1}!",
invalidEmail: "Adjon meg egy valós email címet!",
invalidExpression: "A következő kifejezés: {0} vissza kell adnia az „igaz” értéket.",
urlRequestError: "A lekérdezés hibával tért vissza: '{0}'. {1}",
urlGetChoicesError: "A lekérdezés üres adattal tért vissza, vagy a 'path' paraméter helytelen.",
exceedMaxSize: "A méret nem lehet nagyobb, mint {0}.",
noUploadFilesHandler: "A fájlok nem tölthetők fel. Adjon hozzá egy kezelőt az \"onUploadFiles\" eseményhez.",
otherRequiredError: "Adja meg az egyéb értéket!",
uploadingFile: "Feltöltés folyamatban. Várjon pár másodpercet, majd próbálja újra.",
loadingFile: "Betöltés...",
chooseFile: "Fájlok kiválasztása ...",
noFileChosen: "Nincs kiválasztva fájl",
filePlaceholder: "Dobjon ide egy fájlt, vagy kattintson az alábbi gombra a fájl betöltéséhez.",
confirmDelete: "Törli ezt a rekordot?",
keyDuplicationError: "Az értéknek egyedinek kell lennie.",
addColumn: "Oszlop hozzáadása",
addRow: "Sor hozzáadása",
removeRow: "Eltávolítás",
emptyRowsText: "Nincsenek sorok.",
addPanel: "Új hozzáadása",
removePanel: "Eltávolítás",
showDetails: "Mutasd a részleteket",
hideDetails: "Részletek elrejtése",
choices_Item: "elem",
matrix_column: "Oszlop",
matrix_row: "Sor",
multipletext_itemname: "SMS",
savingData: "Eredmény mentése a szerverre...",
savingDataError: "Egy hiba folytán nem tudtuk elmenteni az eredményt.",
savingDataSuccess: "Eredmény sikeresen mentve!",
saveAgainButton: "Próbálja újra",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Ön {0} összeget költött ezen az oldalon, és összesen {1}.",
timerSpentPage: "{0} összeget költött ezen az oldalon.",
timerSpentSurvey: "Összesen {0} költött.",
timerLimitAll: "Ön {0} / {1} összeget költött ezen az oldalon, és összesen {2} / {3}.",
timerLimitPage: "Ön {0} / {1} összeget költött ezen az oldalon.",
timerLimitSurvey: "Összesen {0} / {1} összeget költött el.",
clearCaption: "Egyértelmű",
signaturePlaceHolder: "Írja alá itt",
chooseFileCaption: "Válassz fájlt",
takePhotoCaption: "Fotó készítése",
photoPlaceholder: "Kattintson az alábbi gombra, hogy fényképet készítsen a fényképezőgéppel.",
fileOrPhotoPlaceholder: "Húzzon át vagy válasszon ki egy fájlt, amelyet fel szeretne tölteni vagy fényképet szeretne készíteni a kamerával.",
replaceFileCaption: "Fájl cseréje",
removeFileCaption: "Távolítsa el ezt a fájlt",
booleanCheckedLabel: "Igen",
booleanUncheckedLabel: "Nem",
confirmRemoveFile: "Biztosan eltávolítja ezt a fájlt: {0}?",
confirmRemoveAllFiles: "Biztosan el akarja távolítani az összes fájlt?",
questionTitlePatternText: "Kérdés címe",
modalCancelButtonText: "Érvénytelenít",
modalApplyButtonText: "Alkalmaz",
filterStringPlaceholder: "Írja be a kereséshez...",
emptyMessage: "Nincs megjeleníthető adat",
noEntriesText: "Még nincsenek bejegyzések.\nKattintson az alábbi gombra egy új bejegyzés hozzáadásához.",
noEntriesReadonlyText: "Nincsenek bejegyzések.",
more: "Több",
tagboxDoneButtonCaption: "OKÉ",
selectToRankEmptyRankedAreaText: "Minden választási lehetőség rangsorolva van",
selectToRankEmptyUnrankedAreaText: "Húzza ide a választási lehetőségeket a rangsoroláshoz",
ok: "OKÉ",
cancel: "Érvénytelenít"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["hu"] = hungarianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hu"] = "magyar";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1} közül"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Kiválaszt..."
// minError: "The value should not be less than {0}" => "Az érték nem lehet kisebb, mint {0}"
// maxError: "The value should not be greater than {0}" => "Az érték nem lehet nagyobb, mint {0}"
// emptyRowsText: "There are no rows." => "Nincsenek sorok."
// multipletext_itemname: "text" => "SMS"
// signaturePlaceHolder: "Sign here" => "Írja alá itt"
// modalCancelButtonText: "Cancel" => "Érvénytelenít"
// modalApplyButtonText: "Apply" => "Alkalmaz"
// filterStringPlaceholder: "Type to search..." => "Írja be a kereséshez..."
// emptyMessage: "No data to display" => "Nincs megjeleníthető adat"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Még nincsenek bejegyzések.\nKattintson az alábbi gombra egy új bejegyzés hozzáadásához."
// noEntriesReadonlyText: "There are no entries." => "Nincsenek bejegyzések."
// more: "More" => "Több"
// tagboxDoneButtonCaption: "OK" => "OKÉ"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Minden választási lehetőség rangsorolva van"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Húzza ide a választási lehetőségeket a rangsoroláshoz"// takePhotoCaption: "Take Photo" => "Fotó készítése"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kattintson az alábbi gombra, hogy fényképet készítsen a fényképezőgéppel."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Húzzon át vagy válasszon ki egy fájlt, amelyet fel szeretne tölteni vagy fényképet szeretne készíteni a kamerával."
// replaceFileCaption: "Replace file" => "Fájl cseréje"// eachRowUniqueError: "Each row must have a unique value." => "Minden sornak egyedi értékkel kell rendelkeznie."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "A fájlok nem tölthetők fel. Adjon hozzá egy kezelőt az \"onUploadFiles\" eseményhez."
// showDetails: "Show Details" => "Mutasd a részleteket"
// hideDetails: "Hide Details" => "Részletek elrejtése"
// ok: "OK" => "OKÉ"
// cancel: "Cancel" => "Érvénytelenít"
// refuseItemText: "Refuse to answer" => "A válaszadás megtagadása"
// dontKnowItemText: "Don't know" => "Nem tudom"
/***/ }),
/***/ "./src/localization/icelandic.ts":
/*!***************************************!*\
!*** ./src/localization/icelandic.ts ***!
\***************************************/
/*! exports provided: icelandicSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "icelandicSurveyStrings", function() { return icelandicSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var icelandicSurveyStrings = {
pagePrevText: "Tilbaka",
pageNextText: "Áfram",
completeText: "Lokið",
previewText: "Forskoða",
editText: "Breyta",
startSurveyText: "Byrjaðu",
otherItemText: "Hinn (skýring)",
noneItemText: "Enginn",
refuseItemText: "Neita að svara",
dontKnowItemText: "Veit ekki",
selectAllItemText: "Velja allt",
progressText: "Síða {0} of {1}",
indexText: "{0} af {1}",
panelDynamicProgressText: "Taka upp {0} af {1}",
panelDynamicTabTextFormat: "Pallborð {panelIndex}",
questionsProgressText: "Svarað {0} / {1} spurningum",
emptySurvey: "Það er enginn síða eða spurningar í þessari könnun.",
completingSurvey: "Takk fyrir að fyllja út þessa könnun!",
completingSurveyBefore: "Skrár okkar sýna að þú hefur þegar lokið þessari könnun.",
loadingSurvey: "Könnunin er að hlaða...",
placeholder: "Veldu...",
ratingOptionsCaption: "Velja...",
value: "gildi",
requiredError: "Vinsamlegast svarið spurningunni.",
requiredErrorInPanel: "Vinsamlegast svaraðu að minnsta kosti einni spurningu.",
requiredInAllRowsError: "Vinsamlegast svarið spurningum í öllum röðum.",
eachRowUniqueError: "Hver lína verður að hafa einstakt gildi.",
numericError: "Þetta gildi verður að vera tala.",
minError: "Gildið má ekki vera lægra en {0}",
maxError: "Gildið má ekki vera hærra en {0}",
textMinLength: "Það ætti að vera minnst {0} tákn.",
textMaxLength: "Það ætti að vera mest {0} tákn.",
textMinMaxLength: "Það ætti að vera fleiri en {0} og færri en {1} tákn.",
minRowCountError: "Vinsamlegast fyllið úr að minnsta kosti {0} raðir.",
minSelectError: "Vinsamlegast veljið að minnsta kosti {0} möguleika.",
maxSelectError: "Vinsamlegast veljið ekki fleiri en {0} möguleika.",
numericMinMax: "'{0}' ætti að vera meira en eða jafnt og {1} minna en eða jafnt og {2}",
numericMin: "{0}' ætti að vera meira en eða jafnt og {1}",
numericMax: "'{0}' ætti að vera minna en eða jafnt og {1}",
invalidEmail: "Vinsamlegast sláið inn gilt netfang.",
invalidExpression: "Tjáningin: {0} ætti að skila 'satt'.",
urlRequestError: "Beiðninn skilaði eftirfaranadi villu '{0}'. {1}",
urlGetChoicesError: "Beiðninng skilaði engum gögnum eða slóðinn var röng",
exceedMaxSize: "Skráinn skal ekki vera stærri en {0}.",
noUploadFilesHandler: "Ekki er hægt að hlaða upp skrám. Vinsamlegast bættu við rekli fyrir 'onUploadFiles' atvikið.",
otherRequiredError: "Vinamlegast fyllið út hitt gildið.",
uploadingFile: "Skráinn þín var send. Vinsamlegast bíðið í nokkrar sekúndur og reynið aftur.",
loadingFile: "Hleður ...",
chooseFile: "Veldu skrár ...",
noFileChosen: "Engin skrá valin",
filePlaceholder: "Dragðu og slepptu skrá hér eða smelltu á hnappinn hér að neðan og veldu skrá til að hlaða upp.",
confirmDelete: "Viltu eyða skránni?",
keyDuplicationError: "Þetta gildi ætti að vera einstakt.",
addColumn: "Bæta við dálki",
addRow: "Bæta við röð",
removeRow: "Fjarlægja",
emptyRowsText: "Það eru engar raðir.",
addPanel: "Bæta við nýju",
removePanel: "Fjarlægðu",
showDetails: "Sýna upplýsingar",
hideDetails: "Fela upplýsingar",
choices_Item: "hlutur",
matrix_column: "Dálkur",
matrix_row: "Röð",
multipletext_itemname: "Texti",
savingData: "Niðurstöðurnar eru að spara á netþjóninum ... ",
savingDataError: "Villa kom upp og við gátum ekki vistað niðurstöðurnar.",
savingDataSuccess: "Árangurinn var vistaður með góðum árangri!",
saveAgainButton: "Reyndu aftur",
timerMin: "mín",
timerSec: "sek",
timerSpentAll: "Þú hefur eytt {0} á þessari síðu og {1} samtals.",
timerSpentPage: "Þú hefur eytt {0} á þessari síðu.",
timerSpentSurvey: "Þú hefur eytt {0} samtals.",
timerLimitAll: "Þú hefur eytt {0} af {1} á þessari síðu og {2} af {3} samtals.",
timerLimitPage: "Þú hefur eytt {0} af {1} á þessari síðu.",
timerLimitSurvey: "Þú hefur eytt {0} af {1} samtals.",
clearCaption: "Hreinsa",
signaturePlaceHolder: "Kvittađu hér",
chooseFileCaption: "Veldu skrá",
takePhotoCaption: "Taka mynd",
photoPlaceholder: "Smelltu á hnappinn hér að neðan til að taka mynd með myndavélinni.",
fileOrPhotoPlaceholder: "Dragðu og slepptu eða veldu skrá til að hlaða upp eða taka mynd með myndavélinni.",
replaceFileCaption: "Skipta út skrá",
removeFileCaption: "Fjarlægðu þessa skrá",
booleanCheckedLabel: "Já",
booleanUncheckedLabel: "Nei",
confirmRemoveFile: "Ertu viss um að þú viljir fjarlægja þessa skrá: {0}?",
confirmRemoveAllFiles: "Ertu viss um að þú viljir fjarlægja allar skrár?",
questionTitlePatternText: "Spurningartitill",
modalCancelButtonText: "Afturkalla",
modalApplyButtonText: "Nota",
filterStringPlaceholder: "Sláðu inn til að leita...",
emptyMessage: "Engin gögn til að birta",
noEntriesText: "Það eru engar færslur ennþá.\nSmelltu á hnappinn hér að neðan til að bæta við nýrri færslu.",
noEntriesReadonlyText: "Það eru engar færslur.",
more: "Fleiri",
tagboxDoneButtonCaption: "ÓKEI",
selectToRankEmptyRankedAreaText: "Öllum valkostum er raðað",
selectToRankEmptyUnrankedAreaText: "Dragðu og slepptu valkostum hér til að raða þeim",
ok: "ÓKEI",
cancel: "Afturkalla"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["is"] = icelandicSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["is"] = "íslenska";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} af {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Pallborð {panelIndex}"
// ratingOptionsCaption: "Select..." => "Velja..."
// minError: "The value should not be less than {0}" => "Gildið má ekki vera lægra en {0}"
// maxError: "The value should not be greater than {0}" => "Gildið má ekki vera hærra en {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Dragðu og slepptu skrá hér eða smelltu á hnappinn hér að neðan og veldu skrá til að hlaða upp."
// emptyRowsText: "There are no rows." => "Það eru engar raðir."
// multipletext_itemname: "text" => "Texti"
// signaturePlaceHolder: "Sign here" => "Kvittađu hér"
// modalCancelButtonText: "Cancel" => "Afturkalla"
// modalApplyButtonText: "Apply" => "Nota"
// filterStringPlaceholder: "Type to search..." => "Sláðu inn til að leita..."
// emptyMessage: "No data to display" => "Engin gögn til að birta"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Það eru engar færslur ennþá.\nSmelltu á hnappinn hér að neðan til að bæta við nýrri færslu."
// noEntriesReadonlyText: "There are no entries." => "Það eru engar færslur."
// more: "More" => "Fleiri"
// tagboxDoneButtonCaption: "OK" => "ÓKEI"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Öllum valkostum er raðað"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Dragðu og slepptu valkostum hér til að raða þeim"// takePhotoCaption: "Take Photo" => "Taka mynd"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Smelltu á hnappinn hér að neðan til að taka mynd með myndavélinni."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Dragðu og slepptu eða veldu skrá til að hlaða upp eða taka mynd með myndavélinni."
// replaceFileCaption: "Replace file" => "Skipta út skrá"// eachRowUniqueError: "Each row must have a unique value." => "Hver lína verður að hafa einstakt gildi."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Ekki er hægt að hlaða upp skrám. Vinsamlegast bættu við rekli fyrir 'onUploadFiles' atvikið."
// showDetails: "Show Details" => "Sýna upplýsingar"
// hideDetails: "Hide Details" => "Fela upplýsingar"
// ok: "OK" => "ÓKEI"
// cancel: "Cancel" => "Afturkalla"
// refuseItemText: "Refuse to answer" => "Neita að svara"
// dontKnowItemText: "Don't know" => "Veit ekki"
/***/ }),
/***/ "./src/localization/indonesian.ts":
/*!****************************************!*\
!*** ./src/localization/indonesian.ts ***!
\****************************************/
/*! exports provided: indonesianStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "indonesianStrings", function() { return indonesianStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var indonesianStrings = {
pagePrevText: "Sebelumnya",
pageNextText: "Selanjutnya",
completeText: "Selesai",
previewText: "Pratinjau",
editText: "Sunting",
startSurveyText: "Mulai",
otherItemText: "Lainnya (jelaskan)",
noneItemText: "Tidak Ada",
refuseItemText: "Menolak untuk menjawab",
dontKnowItemText: "Tidak tahu",
selectAllItemText: "Pilih Semua",
progressText: "Halaman {0} dari {1}",
indexText: "{0} dari {1}",
panelDynamicProgressText: "Rekam {0} dari {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Menjawab pertanyaan {0} / {1}",
emptySurvey: "Tidak ada halaman atau pertanyaan dalam survei.",
completingSurvey: "Terima kasih telah menyelesaikan survei!",
completingSurveyBefore: "Catatan kami menunjukkan bahwa Anda telah menyelesaikan survei ini.",
loadingSurvey: "Memuat survei...",
placeholder: "Pilih...",
ratingOptionsCaption: "Pilih...",
value: "nilai",
requiredError: "Silahkan jawab pertanyaan berikut.",
requiredErrorInPanel: "Silahkan jawab setidaknya satu petanyaan.",
requiredInAllRowsError: "Silahkan jawab pertanyaan pada semua baris.",
eachRowUniqueError: "Setiap baris harus memiliki nilai unik.",
numericError: "Nilai harus berupa angka.",
minError: "Nilainya tidak boleh kurang dari {0}",
maxError: "Nilai tidak boleh lebih besar dari {0}",
textMinLength: "Silahkan masukkan setidaknya {0} karakter.",
textMaxLength: "Silahkan masukkan kurang {0} karakter.",
textMinMaxLength: "PSilahkan masukkan lebih dari {0} dan kurang dari {1} karakter.",
minRowCountError: "Silahkan isi setidaknya {0} baris.",
minSelectError: "Silahkan pilih setidaknya {0} varian.",
maxSelectError: "Silahkan pilih tidak lebih dari {0} varian.",
numericMinMax: "'{0}' harus sama dengan atau lebih dari {1} dan harus sama dengan atau kurang dari {2}",
numericMin: "'{0}' harus sama dengan atau lebih dari {1}",
numericMax: "'{0}' harus sama dengan atau kurang dari {1}",
invalidEmail: "Silahkan masukkan e-mail yang benar.",
invalidExpression: "Ekspresi: {0} harus mengembalikan 'benar'.",
urlRequestError: "Permintaan mengembalikan kesalahan '{0}'. {1}",
urlGetChoicesError: "Permintaan mengembalikan data kosong atau properti 'path' salah.",
exceedMaxSize: "Ukuran berkas tidak boleh melebihi {0}.",
noUploadFilesHandler: "File tidak dapat diunggah. Harap tambahkan handler untuk acara 'onUploadFiles'.",
otherRequiredError: "Silahkan masukkan nilai lainnnya.",
uploadingFile: "Berkas Anda sedang diunggah. Silahkan tunggu beberapa saat atau coba lagi.",
loadingFile: "Memuat...",
chooseFile: "Pilih berkas...",
noFileChosen: "Tidak ada file yang dipilih",
filePlaceholder: "Seret dan jatuhkan file di sini atau klik tombol di bawah ini dan pilih file yang akan diunggah.",
confirmDelete: "Apakah Anda ingin menghapus catatan?",
keyDuplicationError: "Nilai harus unik.",
addColumn: "Tambah kolom",
addRow: "Tambah baris",
removeRow: "Hapus",
emptyRowsText: "Tidak ada baris.",
addPanel: "Tambah baru",
removePanel: "Hapus",
showDetails: "Tampilkan Detail",
hideDetails: "Sembunyikan Detail",
choices_Item: "item",
matrix_column: "Kolom",
matrix_row: "Baris",
multipletext_itemname: "Teks",
savingData: "Hasil sedang disimpan pada server...",
savingDataError: "Kesalahan terjadi dan kami tidak dapat menyimpan hasil.",
savingDataSuccess: "Hasil telah sukses disimpan!",
saveAgainButton: "Coba lagi",
timerMin: "menit",
timerSec: "detik",
timerSpentAll: "Anda telah menghabiskan {0} pada halaman ini dan {1} secara keseluruhan.",
timerSpentPage: "YAnda telah menghabiskan {0} pada halaman ini.",
timerSpentSurvey: "Anda telah menghabiskan {0} secara keseluruhan.",
timerLimitAll: "Anda telah menghabiskan {0} dari {1} pada halaman ini dan {2} dari {3} secara keseluruhan.",
timerLimitPage: "Anda telah menghabiskan {0} dari {1} pada halaman ini.",
timerLimitSurvey: "Anda telah menghabiskan {0} dari {1} secara keseluruhan.",
clearCaption: "Bersihkan",
signaturePlaceHolder: "Tanda tangan di sini",
chooseFileCaption: "Pilih File",
takePhotoCaption: "Ambil Foto",
photoPlaceholder: "Klik tombol di bawah ini untuk mengambil foto menggunakan kamera.",
fileOrPhotoPlaceholder: "Seret dan lepas atau pilih file untuk diunggah atau mengambil foto menggunakan kamera.",
replaceFileCaption: "Ganti file",
removeFileCaption: "Hapus berkas ini",
booleanCheckedLabel: "Iya",
booleanUncheckedLabel: "Tidak",
confirmRemoveFile: "Anda yakin ingin menghapus file ini: {0}?",
confirmRemoveAllFiles: "Anda yakin ingin menghapus semua file?",
questionTitlePatternText: "Judul pertanyaan",
modalCancelButtonText: "Membatalkan",
modalApplyButtonText: "Berlaku",
filterStringPlaceholder: "Ketik untuk mencari...",
emptyMessage: "Tidak ada data untuk ditampilkan",
noEntriesText: "Belum ada entri.\nKlik tombol di bawah ini untuk menambahkan entri baru.",
noEntriesReadonlyText: "Tidak ada entri.",
more: "Lebih",
tagboxDoneButtonCaption: "OKE",
selectToRankEmptyRankedAreaText: "Semua pilihan diberi peringkat",
selectToRankEmptyUnrankedAreaText: "Seret dan lepas pilihan di sini untuk memberi peringkat",
ok: "OKE",
cancel: "Membatalkan"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["id"] = indonesianStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["id"] = "bahasa Indonesia";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} dari {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Pilih..."
// minError: "The value should not be less than {0}" => "Nilainya tidak boleh kurang dari {0}"
// maxError: "The value should not be greater than {0}" => "Nilai tidak boleh lebih besar dari {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Seret dan jatuhkan file di sini atau klik tombol di bawah ini dan pilih file yang akan diunggah."
// emptyRowsText: "There are no rows." => "Tidak ada baris."
// multipletext_itemname: "text" => "Teks"
// signaturePlaceHolder: "Sign here" => "Tanda tangan di sini"
// modalCancelButtonText: "Cancel" => "Membatalkan"
// modalApplyButtonText: "Apply" => "Berlaku"
// filterStringPlaceholder: "Type to search..." => "Ketik untuk mencari..."
// emptyMessage: "No data to display" => "Tidak ada data untuk ditampilkan"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Belum ada entri.\nKlik tombol di bawah ini untuk menambahkan entri baru."
// noEntriesReadonlyText: "There are no entries." => "Tidak ada entri."
// more: "More" => "Lebih"
// tagboxDoneButtonCaption: "OK" => "OKE"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Semua pilihan diberi peringkat"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Seret dan lepas pilihan di sini untuk memberi peringkat"// takePhotoCaption: "Take Photo" => "Ambil Foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klik tombol di bawah ini untuk mengambil foto menggunakan kamera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Seret dan lepas atau pilih file untuk diunggah atau mengambil foto menggunakan kamera."
// replaceFileCaption: "Replace file" => "Ganti file"// eachRowUniqueError: "Each row must have a unique value." => "Setiap baris harus memiliki nilai unik."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "File tidak dapat diunggah. Harap tambahkan handler untuk acara 'onUploadFiles'."
// showDetails: "Show Details" => "Tampilkan Detail"
// hideDetails: "Hide Details" => "Sembunyikan Detail"
// ok: "OK" => "OKE"
// cancel: "Cancel" => "Membatalkan"
// refuseItemText: "Refuse to answer" => "Menolak untuk menjawab"
// dontKnowItemText: "Don't know" => "Tidak tahu"
/***/ }),
/***/ "./src/localization/italian.ts":
/*!*************************************!*\
!*** ./src/localization/italian.ts ***!
\*************************************/
/*! exports provided: italianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "italianSurveyStrings", function() { return italianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var italianSurveyStrings = {
pagePrevText: "Precedente",
pageNextText: "Successivo",
completeText: "Salva",
previewText: "Anteprima",
editText: "Modifica",
startSurveyText: "Inizio",
otherItemText: "Altro (descrivi)",
noneItemText: "Nessuno",
refuseItemText: "Rifiuta di rispondere",
dontKnowItemText: "Non lo so",
selectAllItemText: "Seleziona tutti",
progressText: "Pagina {0} di {1}",
indexText: "{0} da {1}",
panelDynamicProgressText: "Record di {0} di {1}",
panelDynamicTabTextFormat: "Pannello {panelIndex}",
questionsProgressText: "Risposte a {0}/{1} domande",
emptySurvey: "Non ci sono pagine o domande visibili nel questionario.",
completingSurvey: "Grazie per aver completato il questionario!",
completingSurveyBefore: "I nostri records mostrano che hai già completato questo questionario.",
loadingSurvey: "Caricamento del questionario in corso...",
placeholder: "Scegli...",
ratingOptionsCaption: "Tocca qui per valutare...",
value: "valore",
requiredError: "Campo obbligatorio",
requiredErrorInPanel: "Per Favore, rispondi ad almeno una domanda.",
requiredInAllRowsError: "Completare tutte le righe",
eachRowUniqueError: "Ogni riga deve avere un valore univoco.",
numericError: "Il valore deve essere numerico",
minError: "Il valore non deve essere inferiore a {0}",
maxError: "Il valore non deve essere maggiore di {0}",
textMinLength: "Inserire almeno {0} caratteri",
textMaxLength: "Lunghezza massima consentita {0} caratteri",
textMinMaxLength: "Inserire una stringa con minimo {0} e massimo {1} caratteri",
minRowCountError: "Completare almeno {0} righe.",
minSelectError: "Selezionare almeno {0} varianti.",
maxSelectError: "Selezionare massimo {0} varianti.",
numericMinMax: "'{0}' deve essere uguale o superiore a {1} e uguale o inferiore a {2}",
numericMin: "'{0}' deve essere uguale o superiore a {1}",
numericMax: "'{0}' deve essere uguale o inferiore a {1}",
invalidEmail: "Inserire indirizzo mail valido",
invalidExpression: "L'espressione: {0} dovrebbe tornare 'vero'.",
urlRequestError: "La richiesta ha risposto con un errore '{0}'. {1}",
urlGetChoicesError: "La richiesta ha risposto null oppure il percorso non è corretto",
exceedMaxSize: "Il file non può eccedere {0}",
noUploadFilesHandler: "I file non possono essere caricati. Aggiungere un gestore per l'evento 'onUploadFiles'.",
otherRequiredError: "Inserire il valore 'altro'",
uploadingFile: "File in caricamento. Attendi alcuni secondi e riprova",
loadingFile: "Caricamento...",
chooseFile: "Selezionare file(s)...",
noFileChosen: "Nessun file selezionato",
filePlaceholder: "Trascina un file qui o fai clic sul pulsante in basso per caricare il file.",
confirmDelete: "Sei sicuro di voler elminare il record?",
keyDuplicationError: "Questo valore deve essere univoco.",
addColumn: "Aggiungi colonna",
addRow: "Aggiungi riga",
removeRow: "Rimuovi riga",
emptyRowsText: "Non ci sono righe.",
addPanel: "Aggiungi riga",
removePanel: "Elimina",
showDetails: "Mostra dettagli",
hideDetails: "Nascondi dettagli",
choices_Item: "Elemento",
matrix_column: "Colonna",
matrix_row: "Riga",
multipletext_itemname: "testo",
savingData: "Salvataggio dati sul server...",
savingDataError: "Si è verificato un errore e non è stato possibile salvare i risultati.",
savingDataSuccess: "I risultati sono stati salvati con successo!",
saveAgainButton: "Riprova",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Hai impiegato {0} su questa pagina e {1} in totale.",
timerSpentPage: "Hai impiegato {0} su questa pagina.",
timerSpentSurvey: "Hai impiegato {0} in totale.",
timerLimitAll: "Hai impiegato {0} di {1} su questa pagina e {2} di {3} in totale.",
timerLimitPage: "Hai impiegato {0} di {1} su questa pagina.",
timerLimitSurvey: "Hai impiegato {0} di {1} in totale.",
clearCaption: "Cancella",
signaturePlaceHolder: "Firmare qui",
chooseFileCaption: "Scegliere il file",
takePhotoCaption: "Scatta foto",
photoPlaceholder: "Fai clic sul pulsante qui sotto per scattare una foto utilizzando la fotocamera.",
fileOrPhotoPlaceholder: "Trascina e rilascia o seleziona un file da caricare o scattare una foto utilizzando la fotocamera.",
replaceFileCaption: "Sostituisci file",
removeFileCaption: "Rimuovere questo file",
booleanCheckedLabel: "Sì",
booleanUncheckedLabel: "No",
confirmRemoveFile: "Sei sicuro di voler elminare questo file: {0}?",
confirmRemoveAllFiles: "Sei sicuro di voler elminare tutti i files?",
questionTitlePatternText: "Titolo della domanda",
modalCancelButtonText: "Annulla",
modalApplyButtonText: "Applicare",
filterStringPlaceholder: "Digita per cercare...",
emptyMessage: "Nessun dato da visualizzare",
noEntriesText: "Non ci sono ancora voci.\nFai clic sul pulsante qui sotto per aggiungere una nuova voce.",
noEntriesReadonlyText: "Non ci sono voci.",
more: "Più",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Tutte le scelte sono classificate",
selectToRankEmptyUnrankedAreaText: "Trascina e rilascia le scelte qui per classificarle",
ok: "OK",
cancel: "Annulla"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["it"] = italianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["it"] = "italiano";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Pannello {panelIndex}"
// emptyMessage: "No data to display" => "Nessun dato da visualizzare"
// noEntriesReadonlyText: "There are no entries." => "Non ci sono voci."
// more: "More" => "Più"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Tutte le scelte sono classificate"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Trascina e rilascia le scelte qui per classificarle"// takePhotoCaption: "Take Photo" => "Scatta foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Fai clic sul pulsante qui sotto per scattare una foto utilizzando la fotocamera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Trascina e rilascia o seleziona un file da caricare o scattare una foto utilizzando la fotocamera."
// replaceFileCaption: "Replace file" => "Sostituisci file"// eachRowUniqueError: "Each row must have a unique value." => "Ogni riga deve avere un valore univoco."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "I file non possono essere caricati. Aggiungere un gestore per l'evento 'onUploadFiles'."
// showDetails: "Show Details" => "Mostra dettagli"
// hideDetails: "Hide Details" => "Nascondi dettagli"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Annulla"
// refuseItemText: "Refuse to answer" => "Rifiuta di rispondere"
// dontKnowItemText: "Don't know" => "Non lo so"
/***/ }),
/***/ "./src/localization/japanese.ts":
/*!**************************************!*\
!*** ./src/localization/japanese.ts ***!
\**************************************/
/*! exports provided: japaneseSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "japaneseSurveyStrings", function() { return japaneseSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var japaneseSurveyStrings = {
pagePrevText: "前へ",
pageNextText: "次へ",
completeText: "完了",
previewText: "プレビュー",
editText: "編集",
startSurveyText: "スタート",
otherItemText: "その他(説明)",
noneItemText: "なし",
refuseItemText: "回答を拒否する",
dontKnowItemText: "わかりません",
selectAllItemText: "すべて選択",
progressText: "{0}/{1}頁",
indexText: "{1}の{0}",
panelDynamicProgressText: "{1}の{0}を記録する",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0}/{1}の質問に回答しました。",
emptySurvey: "この調査に表示できるページや質問はありません",
completingSurvey: "調査を完了してくれてありがとうございました",
completingSurveyBefore: "当社の記録によると、この調査はすでに完了しています。",
loadingSurvey: "調査をダウンロード中",
placeholder: "選択",
ratingOptionsCaption: "選ぶ。。。",
value: "値打ち",
requiredError: "質問にお答え下さい",
requiredErrorInPanel: "最低でも1つの質問に答えてください。",
requiredInAllRowsError: "質問には全列で回答してください。",
eachRowUniqueError: "各行には一意の値が必要です。",
numericError: "数字でご記入下さい",
minError: "値は {0} 値より小さくすることはできません",
maxError: "値は {0} を超えてはなりません。",
textMinLength: "{0} 文字以上で入力して下さい",
textMaxLength: "{0}文字以下で入力してください。",
textMinMaxLength: "{0}以上{1}未満の文字を入力してください。",
minRowCountError: "{0}行以上で入力して下さい",
minSelectError: "{0}種類以上を選択して下さい",
maxSelectError: "{0}以上のバリアントを選択しないでください。",
numericMinMax: "{0}は{1}以上であり、{2}以下であることが望ましい。",
numericMin: "'{0}' は同等か{1}より大きくなければなりません",
numericMax: "'{0}' は同等か{1}より小さくなければなりません",
invalidEmail: "有効なメールアドレスをご記入下さい",
invalidExpression: "式は {0}は'true'を返すべきです。",
urlRequestError: "リクエストはエラー '{0}' を返しました。{1}",
urlGetChoicesError: "リクエストが空のデータを返したか、'path' プロパティが正しくありません。",
exceedMaxSize: "ファイルのサイズは{0}を超えてはいけません",
noUploadFilesHandler: "ファイルはアップロードできません。「onUploadFiles」イベントのハンドラーを追加してください。",
otherRequiredError: "その他の値を入力してください。",
uploadingFile: "ファイルをアップロード中です。しばらくしてから再度お試し下さい",
loadingFile: "読み込み中",
chooseFile: "ファイルを選択",
noFileChosen: "選択されたファイルはありません",
filePlaceholder: "ここにファイルをドラッグ&ドロップするか、下のボタンをクリックしてアップロードするファイルを選択してください。",
confirmDelete: "レコードを削除しますか?",
keyDuplicationError: "この値は一意でなければなりません。",
addColumn: "列の追加",
addRow: "追加行",
removeRow: "除去",
emptyRowsText: "行はありません。",
addPanel: "新規追加",
removePanel: "除去",
showDetails: "詳細を表示",
hideDetails: "詳細を隠す",
choices_Item: "品目",
matrix_column: "コラム",
matrix_row: "行",
multipletext_itemname: "テキスト",
savingData: "結果はサーバーに保存されています...。",
savingDataError: "エラーが発生し、結果を保存できませんでした。",
savingDataSuccess: "結果は無事に保存されました",
saveAgainButton: "もう一度試してみてください。",
timerMin: "僅少",
timerSec: "セック",
timerSpentAll: "あなたはこのページに{0}を費やし、合計で{1}を費やしました。",
timerSpentPage: "あなたはこのページに{0}を費やしました。",
timerSpentSurvey: "合計で{0}を使ったことになります。",
timerLimitAll: "このページに{1}のうち{0}を費やし、{3}のうち{2}を合計で費やしました。",
timerLimitPage: "このページで{1}の{0}を使ったことがあります。",
timerLimitSurvey: "合計で{1}の{0}を使ったことがあります。",
clearCaption: "空白",
signaturePlaceHolder: "ここに署名",
chooseFileCaption: "ファイルを選択",
takePhotoCaption: "写真を撮る",
photoPlaceholder: "下のボタンをクリックして、カメラを使用して写真を撮ります。",
fileOrPhotoPlaceholder: "アップロードするファイルをドラッグアンドドロップまたは選択するか、カメラを使用して写真を撮ります。",
replaceFileCaption: "ファイルの置換",
removeFileCaption: "このファイルを削除",
booleanCheckedLabel: "噫",
booleanUncheckedLabel: "否",
confirmRemoveFile: "このファイルを削除してもよろしいですか?{0}?",
confirmRemoveAllFiles: "すべてのファイルを削除してもよろしいですか?",
questionTitlePatternText: "質問名",
modalCancelButtonText: "キャンセル",
modalApplyButtonText: "申し込む",
filterStringPlaceholder: "検索するタイプ...",
emptyMessage: "表示するデータがありません",
noEntriesText: "エントリはまだありません。\n下のボタンをクリックして、新しいエントリを追加します。",
noEntriesReadonlyText: "エントリはありません。",
more: "もっとその",
tagboxDoneButtonCaption: "わかりました",
selectToRankEmptyRankedAreaText: "すべての選択肢がランク付けされます",
selectToRankEmptyUnrankedAreaText: "ここに選択肢をドラッグアンドドロップしてランク付けします",
ok: "わかりました",
cancel: "キャンセル"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ja"] = japaneseSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ja"] = "日本語";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{1}の{0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "選ぶ。。。"
// minError: "The value should not be less than {0}" => "値は {0} 値より小さくすることはできません"
// maxError: "The value should not be greater than {0}" => "値は {0} を超えてはなりません。"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "ここにファイルをドラッグ&ドロップするか、下のボタンをクリックしてアップロードするファイルを選択してください。"
// emptyRowsText: "There are no rows." => "行はありません。"
// multipletext_itemname: "text" => "テキスト"
// signaturePlaceHolder: "Sign here" => "ここに署名"
// modalCancelButtonText: "Cancel" => "キャンセル"
// modalApplyButtonText: "Apply" => "申し込む"
// filterStringPlaceholder: "Type to search..." => "検索するタイプ..."
// emptyMessage: "No data to display" => "表示するデータがありません"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "エントリはまだありません。\n下のボタンをクリックして、新しいエントリを追加します。"
// noEntriesReadonlyText: "There are no entries." => "エントリはありません。"
// more: "More" => "もっとその"
// tagboxDoneButtonCaption: "OK" => "わかりました"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "すべての選択肢がランク付けされます"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "ここに選択肢をドラッグアンドドロップしてランク付けします"// takePhotoCaption: "Take Photo" => "写真を撮る"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "下のボタンをクリックして、カメラを使用して写真を撮ります。"
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "アップロードするファイルをドラッグアンドドロップまたは選択するか、カメラを使用して写真を撮ります。"
// replaceFileCaption: "Replace file" => "ファイルの置換"// eachRowUniqueError: "Each row must have a unique value." => "各行には一意の値が必要です。"
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "ファイルはアップロードできません。「onUploadFiles」イベントのハンドラーを追加してください。"
// showDetails: "Show Details" => "詳細を表示"
// hideDetails: "Hide Details" => "詳細を隠す"
// ok: "OK" => "わかりました"
// cancel: "Cancel" => "キャンセル"
// refuseItemText: "Refuse to answer" => "回答を拒否する"
// dontKnowItemText: "Don't know" => "わかりません"
/***/ }),
/***/ "./src/localization/kazakh.ts":
/*!************************************!*\
!*** ./src/localization/kazakh.ts ***!
\************************************/
/*! exports provided: kazakhStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kazakhStrings", function() { return kazakhStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var kazakhStrings = {
pagePrevText: "Артқа",
pageNextText: "Келесі",
completeText: "Дайын",
previewText: "Алдын ала қарау",
editText: "Редакциялау",
startSurveyText: "Бастау",
otherItemText: "Басқа (өтінеміз, жазыңыз)",
noneItemText: "Жоқ",
refuseItemText: "Жауап беруден бас тарту",
dontKnowItemText: "Білмеймін",
selectAllItemText: "Барлығын таңдау",
progressText: "{0} ден {1} бет ",
indexText: "{1} {0}",
panelDynamicProgressText: "{0} ден {1} жазба",
panelDynamicTabTextFormat: "Панель {panelIndex}",
questionsProgressText: "{0}/{1} сұрақтарға жауап",
emptySurvey: "Бір де бір сұрақ жоқ.",
completingSurvey: "Сауалнаманы толтырғаныңыз үшін рахмет!",
completingSurveyBefore: "Сіз бұл сауалнаманы өтіп қойдыңыз.",
loadingSurvey: "Серверден жүктеу...",
placeholder: "Таңдау...",
ratingOptionsCaption: "Таңдау...",
value: "мәні",
requiredError: "Өтінеміз, сұраққа жауап беріңіз.",
requiredErrorInPanel: "Өтінеміз, кем дегенде бір сұраққа жауап беріңіз.",
requiredInAllRowsError: "Өтінеміз, әрбір жолдың сұрағаны жауап беріңіз.",
eachRowUniqueError: "Әр жолдың бірегей мәні болуы тиіс.",
numericError: "Жауап сан түрінде болуы керек.",
minError: "Мәні {0} кем болмауы тиіс",
maxError: "Мән {0} артық болмауы тиіс",
textMinLength: "Өтінеміз, {0} ден көп таңба енгізіңіз.",
textMaxLength: "Өтінеміз, {0} ден аз таңба енгізіңіз.",
textMinMaxLength: "Өтінеміз, {0} аз және {1} көп таңба енгізіңіз.",
minRowCountError: "Өтінеміз, {0} ден кем емес жол толтырыңыз.",
minSelectError: "Өтінеміз, тым болмаса {0} нұсқа таңдаңыз.",
maxSelectError: "Өтінеміз, {0} нұсқадан көп таңдамаңыз.",
numericMinMax: "'{0}' {1} ден кем емес және {2} ден көп емес болу керек",
numericMin: "'{0}' {1} ден кем емес болу керек",
numericMax: "'{0}' {1} ден көп емес болу керек",
invalidEmail: "Өтінеміз, жарамды электрондық поштаңызды енгізіңіз.",
invalidExpression: "{0} өрнегі 'true' қайтару керек.",
urlRequestError: "Сұратым қателікті қайтарды'{0}'. {1}",
urlGetChoicesError: "Сұратымға жауап бос келді немесе 'path' қасиеті қате көрсетілген ",
exceedMaxSize: "Файлдың мөлшері {0} аспау керек.",
noUploadFilesHandler: "Файлдарды кері жүктеу мүмкін емес. 'OnUploadFiles' оқиғасына өңдеушіні қосуыңызды сұраймыз.",
otherRequiredError: "Өтінеміз, “Басқа” жолына деректі енгізіңіз",
uploadingFile: "Сіздің файлыңыз жүктеліп жатыр. Бірнеше секунд тосып, қайтадан байқап көріңіз.",
loadingFile: "Жүктеу...",
chooseFile: "Файлдарды таңдаңыз...",
noFileChosen: "Файл таңдалынбады",
filePlaceholder: "Файлды осы жерге апарып тастаңыз немесе төмендегі түймені басыңыз және кері жүктеу үшін файлды таңдаңыз.",
confirmDelete: "Сіз жазбаны жоятыныңызға сенімдісіз бе?",
keyDuplicationError: "Бұл мән бірегей болу керек.",
addColumn: "Бағана қосу",
addRow: "Жолды қосу",
removeRow: "Өшіру",
emptyRowsText: "Қатарлар жоқ.",
addPanel: "Жаңа қосу",
removePanel: "Өшіру",
showDetails: "Егжей-тегжейін көрсету",
hideDetails: "Егжей- тегжейін жасы",
choices_Item: "Нұсқа",
matrix_column: "Бағана",
matrix_row: "Жол",
multipletext_itemname: "мәтін",
savingData: "Нәтижелер серверде сақталады...",
savingDataError: "Қателік туындады, нәтиже сақталынбады.",
savingDataSuccess: "Нәтиже ойдағыдай сақталды!",
saveAgainButton: "Қайтадан байқап көру",
timerMin: "мин",
timerSec: "сек",
timerSpentAll: "Сіз бұл бетте {0} кетірдіңіз және барлығы {1}.",
timerSpentPage: "Сіз бұл бетте {0} кетірдіңіз.",
timerSpentSurvey: "Сіз сауалнама кезінде {0} кетірдіңіз.",
timerLimitAll: "Сіз бұл бетте {0} ден {1} кетірдіңіз және {2} ден {3} бүкіл сауалнама үшін.",
timerLimitPage: "Сіз бұл бетте {0} ден {1} кетірдіңіз.",
timerLimitSurvey: "Сіз бүкіл сауалнама үшін {0} ден {1} кетірдіңіз ",
clearCaption: "Тазалау",
signaturePlaceHolder: "Осында кіру",
chooseFileCaption: "Файл таңдаңыз",
takePhotoCaption: "Фотосуретке түсу",
photoPlaceholder: "Камераны пайдаланып суретке түсу үшін төмендегі түймені басыңыз.",
fileOrPhotoPlaceholder: "Фотоаппаратты пайдаланып кері жүктеу немесе суретке түсіру үшін файлды апарып тастаыңыз немесе таңдаңыз.",
replaceFileCaption: "Файлды ауыстыру",
removeFileCaption: "Файлды жойыңыз",
booleanCheckedLabel: "Иә",
booleanUncheckedLabel: "Жоқ",
confirmRemoveFile: "Сіз бұл файлды жоятыныңызға сенімдісіз бе: {0}?",
confirmRemoveAllFiles: "Сіз барлық файлдарды жоятыныңызға сенімдісіз бе?",
questionTitlePatternText: "Сұрақтың атауы",
modalCancelButtonText: "Болдырмау",
modalApplyButtonText: "Қолдану",
filterStringPlaceholder: "Іздеу үшін теріңіз...",
emptyMessage: "Көрсетілетін деректер жоқ",
noEntriesText: "Әзірге жазбалар жоқ.\nЖаңа жазбаны қосу үшін төмендегі түймешігіңді басыңыз.",
noEntriesReadonlyText: "Жазбалар жоқ.",
more: "Қосымша",
tagboxDoneButtonCaption: "ЖАҚСЫ",
selectToRankEmptyRankedAreaText: "Барлық таңдаулар ранжирленген",
selectToRankEmptyUnrankedAreaText: "Таңдауды рангтеу үшін осында апарып тастау",
ok: "ЖАҚСЫ",
cancel: "Болдырмау"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["kk"] = kazakhStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["kk"] = "Kazakh";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{1} {0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Панель {panelIndex}"
// ratingOptionsCaption: "Select..." => "Таңдау..."
// minError: "The value should not be less than {0}" => "Мәні {0} кем болмауы тиіс"
// maxError: "The value should not be greater than {0}" => "Мән {0} артық болмауы тиіс"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Файлды осы жерге апарып тастаңыз немесе төмендегі түймені басыңыз және кері жүктеу үшін файлды таңдаңыз."
// emptyRowsText: "There are no rows." => "Қатарлар жоқ."
// multipletext_itemname: "text" => "мәтін"
// signaturePlaceHolder: "Sign here" => "Осында кіру"
// modalCancelButtonText: "Cancel" => "Болдырмау"
// modalApplyButtonText: "Apply" => "Қолдану"
// filterStringPlaceholder: "Type to search..." => "Іздеу үшін теріңіз..."
// emptyMessage: "No data to display" => "Көрсетілетін деректер жоқ"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Әзірге жазбалар жоқ.\nЖаңа жазбаны қосу үшін төмендегі түймешігіңді басыңыз."
// noEntriesReadonlyText: "There are no entries." => "Жазбалар жоқ."
// more: "More" => "Қосымша"
// tagboxDoneButtonCaption: "OK" => "ЖАҚСЫ"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Барлық таңдаулар ранжирленген"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Таңдауды рангтеу үшін осында апарып тастау"// takePhotoCaption: "Take Photo" => "Фотосуретке түсу"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Камераны пайдаланып суретке түсу үшін төмендегі түймені басыңыз."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Фотоаппаратты пайдаланып кері жүктеу немесе суретке түсіру үшін файлды апарып тастаыңыз немесе таңдаңыз."
// replaceFileCaption: "Replace file" => "Файлды ауыстыру"// eachRowUniqueError: "Each row must have a unique value." => "Әр жолдың бірегей мәні болуы тиіс."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Файлдарды кері жүктеу мүмкін емес. 'OnUploadFiles' оқиғасына өңдеушіні қосуыңызды сұраймыз."
// showDetails: "Show Details" => "Егжей-тегжейін көрсету"
// hideDetails: "Hide Details" => "Егжей- тегжейін жасы"
// ok: "OK" => "ЖАҚСЫ"
// cancel: "Cancel" => "Болдырмау"
// refuseItemText: "Refuse to answer" => "Жауап беруден бас тарту"
// dontKnowItemText: "Don't know" => "Білмеймін"
/***/ }),
/***/ "./src/localization/korean.ts":
/*!************************************!*\
!*** ./src/localization/korean.ts ***!
\************************************/
/*! exports provided: koreanStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "koreanStrings", function() { return koreanStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var koreanStrings = {
pagePrevText: "이전",
pageNextText: "다음",
completeText: "완료",
previewText: "미리보기",
editText: "수정",
startSurveyText: "시작",
otherItemText: "기타 (설명)",
noneItemText: "없음",
refuseItemText: "대답 거부",
dontKnowItemText: "모르다",
selectAllItemText: "모두 선택",
progressText: "페이지 {1} / {0}",
indexText: "{0} / {1}",
panelDynamicProgressText: "{0} / {1}",
panelDynamicTabTextFormat: "패널 {panelIndex}",
questionsProgressText: "{0} / {1} 개의 질문에 답변함",
emptySurvey: "설문지에 보여지는 페이지나 질문이 없습니다.",
completingSurvey: "설문조사를 완료해 주셔서 감사합니다.",
completingSurveyBefore: "기록에 따르면 이미 설문 조사를 마치셨습니다.",
loadingSurvey: "설문조사가 로드중입니다...",
placeholder: "선택...",
ratingOptionsCaption: "등급을 매기려면 누르세요.",
value: "값",
requiredError: "질문에 답하시오.",
requiredErrorInPanel: "하나 이상의 질문에 답하십시오.",
requiredInAllRowsError: "모든 행에 있는 질문에 답하십시오.",
eachRowUniqueError: "각 행에는 고유한 값이 있어야 합니다.",
numericError: "값은 숫자여야 합니다.",
minError: "값은 {0}보다 작으면 안됩니다.",
maxError: "값은 {0}보다 클 수 없습니다.",
textMinLength: "답변의 길이는 최소 {0}자여야 입니다.",
textMaxLength: "답변의 길이는 {0}자를 초과 할 수 없습니다.",
textMinMaxLength: "답변의 길이는 {0} - {1}자 사이여야 합니다.",
minRowCountError: "최소 {0}개의 행을 채우십시오",
minSelectError: "최소 {0}개의 변수를 선택하십시오.",
maxSelectError: "최대 {0}개의 변수를 선택하십시오.",
numericMinMax: "'{0}'은 {1}보다 크거나 같고 {2}보다 작거나 같아야합니다.",
numericMin: "'{0}'은 {1}보다 크거나 같아야합니다.",
numericMax: "'{0}'은 {1}보다 작거나 같아야합니다.",
invalidEmail: "올바른 이메일 주소를 입력하십시오.",
invalidExpression: "표현식: {0}은 '참'이어야 합니다.",
urlRequestError: "'{0}'으로 잘못된 요청입니다. {1}",
urlGetChoicesError: "비어있는 데이터를 요청했거나 잘못된 속성의 경로입니다.",
exceedMaxSize: "파일 크기가 {0}을 초과 할 수 없습니다.",
noUploadFilesHandler: "파일을 업로드할 수 없습니다. 'onUploadFiles'이벤트에 대한 핸들러를 추가하십시오.",
otherRequiredError: "다른 질문을 작성하십시오.",
uploadingFile: "파일 업로드 중입니다. 잠시 후 다시 시도하십시오.",
loadingFile: "로드 중...",
chooseFile: "파일 선택...",
noFileChosen: "선택된 파일이 없습니다.",
filePlaceholder: "파일을 여기에 놓거나 아래 버튼을 클릭하여 파일을 불러오세요.",
confirmDelete: "기록을 삭제하시겠습니까?",
keyDuplicationError: " 이 값은 고유해야합니다.",
addColumn: "열 추가",
addRow: "행 추가",
removeRow: "제거",
emptyRowsText: "행이 없습니다.",
addPanel: "추가",
removePanel: "제거",
showDetails: "세부 정보 표시",
hideDetails: "세부 정보 숨기기",
choices_Item: "항목",
matrix_column: "열",
matrix_row: "행",
multipletext_itemname: "텍스트",
savingData: "결과가 서버에 저장 중입니다...",
savingDataError: "오류가 발생하여 결과를 저장할 수 없습니다.",
savingDataSuccess: "결과가 성공적으로 저장되었습니다.",
saveAgainButton: "다시 시도하세요.",
timerMin: "분",
timerSec: "초",
timerSpentAll: "현재 페이지에서 {0}을 소요해 총 {1}이 걸렸습니다.",
timerSpentPage: "현재 페이지에서 {0}이 걸렸습니다.",
timerSpentSurvey: "총 {0}이 걸렸습니다.",
timerLimitAll: "현재 페이지에서 {0}/{1}을 소요해 총 {2}/{3}이 걸렸습니다.",
timerLimitPage: "현재 페이지에서 {0}/{1}이 걸렸습니다.",
timerLimitSurvey: "총 {0}/{1}이 걸렸습니다.",
clearCaption: "지우기",
signaturePlaceHolder: "서명하세요.",
chooseFileCaption: "파일 선택",
takePhotoCaption: "사진 찍기",
photoPlaceholder: "아래 버튼을 클릭하여 카메라로 사진을 찍습니다.",
fileOrPhotoPlaceholder: "업로드할 파일을 드래그 앤 드롭하거나 선택하거나 카메라를 사용하여 사진을 찍습니다.",
replaceFileCaption: "파일 바꾸기",
removeFileCaption: "파일 제거",
booleanCheckedLabel: "예",
booleanUncheckedLabel: "아니오",
confirmRemoveFile: "{0} 파일을 제거 하시겠습니까?",
confirmRemoveAllFiles: "모든 파일을 제거 하시겠습니까?",
questionTitlePatternText: "질문 제목",
modalCancelButtonText: "취소",
modalApplyButtonText: "적용",
filterStringPlaceholder: "검색 유형...",
emptyMessage: "표시할 데이터가 없습니다.",
noEntriesText: "아직 항목이 없습니다.\n새 항목을 추가하려면 아래 버튼을 클릭하세요.",
noEntriesReadonlyText: "항목이 없습니다.",
more: "더보기",
tagboxDoneButtonCaption: "그래",
selectToRankEmptyRankedAreaText: "모든 선택 항목이 순위가 매겨집니다.",
selectToRankEmptyUnrankedAreaText: "여기에 선택 항목을 끌어다 놓아 순위를 매깁니다.",
ok: "그래",
cancel: "취소"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ko"] = koreanStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ko"] = "한국어";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "패널 {panelIndex}"
// emptyMessage: "No data to display" => "표시할 데이터가 없습니다."
// noEntriesReadonlyText: "There are no entries." => "항목이 없습니다."
// tagboxDoneButtonCaption: "OK" => "그래"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "모든 선택 항목이 순위가 매겨집니다."
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "여기에 선택 항목을 끌어다 놓아 순위를 매깁니다."// takePhotoCaption: "Take Photo" => "사진 찍기"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "아래 버튼을 클릭하여 카메라로 사진을 찍습니다."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "업로드할 파일을 드래그 앤 드롭하거나 선택하거나 카메라를 사용하여 사진을 찍습니다."
// replaceFileCaption: "Replace file" => "파일 바꾸기"// eachRowUniqueError: "Each row must have a unique value." => "각 행에는 고유한 값이 있어야 합니다."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "파일을 업로드할 수 없습니다. 'onUploadFiles'이벤트에 대한 핸들러를 추가하십시오."
// showDetails: "Show Details" => "세부 정보 표시"
// hideDetails: "Hide Details" => "세부 정보 숨기기"
// ok: "OK" => "그래"
// cancel: "Cancel" => "취소"
// refuseItemText: "Refuse to answer" => "대답 거부"
// dontKnowItemText: "Don't know" => "모르다"
/***/ }),
/***/ "./src/localization/latvian.ts":
/*!*************************************!*\
!*** ./src/localization/latvian.ts ***!
\*************************************/
/*! exports provided: latvianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "latvianSurveyStrings", function() { return latvianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var latvianSurveyStrings = {
pagePrevText: "Iepriekšēja lapa",
pageNextText: "Nākamā lapa",
completeText: "Iesniegt",
previewText: "Priekšskatījums",
editText: "Rediģēt",
startSurveyText: "Sākt",
otherItemText: "Cits (lūdzu, aprakstiet!)",
noneItemText: "Nav",
refuseItemText: "Atteikties atbildēt",
dontKnowItemText: "Es nezinu",
selectAllItemText: "Izvēlēties visus",
progressText: "{0}. lapa no {1}",
indexText: "{0} no {1}",
panelDynamicProgressText: "Ierakstīt {0} no {1}",
panelDynamicTabTextFormat: "Panelis {panelIndex}",
questionsProgressText: "Atbildēts uz {0} / {1} jautājumiem",
emptySurvey: "Nav neviena jautājuma.",
completingSurvey: "Pateicamies Jums par anketas aizpildīšanu!",
completingSurveyBefore: "Mūsu ieraksti liecina, ka Jūs jau esat aizpildījis šo aptauju.",
loadingSurvey: "Ielāde no servera...",
placeholder: "Izvēlēties...",
ratingOptionsCaption: "Nospiediet šeit, lai novērtētu...",
value: "value",
requiredError: "Lūdzu, atbildiet uz jautājumu!",
requiredErrorInPanel: "Lūdzu, atbildiet uz vismaz vienu jautājumu.",
requiredInAllRowsError: "Lūdzu, atbildiet uz jautājumiem visās rindās.",
eachRowUniqueError: "Katrai rindai jābūt unikālai vērtībai.",
numericError: "Atbildei ir jābūt skaitlim.",
minError: "Vērtība nedrīkst būt mazāka par {0}",
maxError: "Vērtība nedrīkst būt lielāka par {0}",
textMinLength: "Lūdzu, ievadiet vismaz {0} simbolus.",
textMaxLength: "Lūdzu, ievadiet mazāk nekā {0} rakstzīmes.",
textMinMaxLength: "Lūdzu, ievadiet vairāk nekā {0} rakstzīmes un mazāk nekā {1} rakstzīmes.",
minRowCountError: "Lūdzu, aizpildiet vismaz {0} rindas.",
minSelectError: "Lūdzu, izvēlieties vismaz {0} variantu.",
maxSelectError: "Lūdzu, izvēlieties ne vairak par {0} variantiem.",
numericMinMax: "'{0}' jābūt vienādam vai lielākam nekā {1}, un vienādam vai mazākam, nekā {2}",
numericMin: "'{0}' jābūt vienādam vai lielākam {1}",
numericMax: "'{0}' jābūt vienādam vai lielākam {1}",
invalidEmail: "Lūdzu, ievadiet pareizu e-pasta adresi!",
invalidExpression: "Izteicienam: {0} jāatgriež “true”.",
urlRequestError: "Pieprasījumā tika atgriezta kļūda “{0}”. {1}",
urlGetChoicesError: "Pieprasījums atgrieza tukšus datus vai rekvizīts “path” ir nepareizs",
exceedMaxSize: "Faila lielums nedrīkst pārsniegt {0}.",
noUploadFilesHandler: "Failus nevar augšupielādēt. Lūdzu, pievienojiet apdarinātāju notikumam \"onUploadFiles\".",
otherRequiredError: "Lūdzu, ievadiet datus laukā 'Cits'",
uploadingFile: "Jūsu fails tiek augšupielādēts. Lūdzu, uzgaidiet dažas sekundes un mēģiniet vēlreiz.",
loadingFile: "Notiek ielāde ...",
chooseFile: "Izvēlieties failus ...",
noFileChosen: "Nav izvēlēts neviens fails",
filePlaceholder: "Lai pievienotu, ievelciet failu šeit vai arī klikšķiniet uz zemāk redzamās pogas",
confirmDelete: "Vai vēlaties izdzēst ierakstu?",
keyDuplicationError: "Šai vērtībai jābūt unikālai.",
addColumn: "Pievienot kolonnu",
addRow: "Pievienot rindu",
removeRow: "Noņemt",
emptyRowsText: "Nav rindu.",
addPanel: "Pievieno jaunu",
removePanel: "Noņemt",
showDetails: "Rādīt detalizētu informāciju",
hideDetails: "Slēpt detaļas",
choices_Item: "vienums",
matrix_column: "Sleja",
matrix_row: "Rinda",
multipletext_itemname: "teksts",
savingData: "Rezultāti tiek saglabāti serverī ...",
savingDataError: "Radās kļūda, un mēs nevarējām saglabāt rezultātus.",
savingDataSuccess: "Rezultāti tika veiksmīgi saglabāti!",
saveAgainButton: "Mēģiniet vēlreiz",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Šajā lapā esat iztērējis {0} un kopā {1}.",
timerSpentPage: "Šajā lapā esat iztērējis {0}.",
timerSpentSurvey: "Kopā esat iztērējis {0}.",
timerLimitAll: "Šajā lapā esat iztērējis {0} no {1} un kopā {2} no {3}.",
timerLimitPage: "Šajā lapā esat iztērējis {0} no {1}.",
timerLimitSurvey: "Kopā esat iztērējis {0} no {1}.",
clearCaption: "Iztīrīt",
signaturePlaceHolder: "Parakstieties šeit",
chooseFileCaption: "Izvēlēties failu",
takePhotoCaption: "Uzņemt fotoattēlu",
photoPlaceholder: "Noklikšķiniet uz pogas zemāk, lai uzņemtu fotoattēlu, izmantojot kameru.",
fileOrPhotoPlaceholder: "Velciet un nometiet vai atlasiet failu, ko augšupielādēt vai uzņemt fotoattēlu, izmantojot kameru.",
replaceFileCaption: "Aizstāt failu",
removeFileCaption: "Noņemiet šo failu",
booleanCheckedLabel: "Jā",
booleanUncheckedLabel: "Nē",
confirmRemoveFile: "Vai tiešām vēlaties noņemt šo failu: {0}?",
confirmRemoveAllFiles: "Vai tiešām vēlaties noņemt visus failus?",
questionTitlePatternText: "Jautājuma nosaukums",
modalCancelButtonText: "Atcelt",
modalApplyButtonText: "Pielietot",
filterStringPlaceholder: "Ierakstiet, lai meklētu...",
emptyMessage: "Nav datu, ko rādīt",
noEntriesText: "Vēl nav neviena ieraksta.\nNoklikšķiniet uz zemāk esošās pogas, lai pievienotu jaunu ierakstu.",
noEntriesReadonlyText: "Ierakstu nav.",
more: "Vairāk",
tagboxDoneButtonCaption: "LABI",
selectToRankEmptyRankedAreaText: "Visas izvēles ir sarindotas",
selectToRankEmptyUnrankedAreaText: "Velciet un nometiet izvēles iespējas šeit, lai tās sarindotu",
ok: "LABI",
cancel: "Atcelt"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["lv"] = latvianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["lv"] = "latviešu";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panelis {panelIndex}"
// emptyMessage: "No data to display" => "Nav datu, ko rādīt"
// noEntriesReadonlyText: "There are no entries." => "Ierakstu nav."
// more: "More" => "Vairāk"
// tagboxDoneButtonCaption: "OK" => "LABI"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Visas izvēles ir sarindotas"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Velciet un nometiet izvēles iespējas šeit, lai tās sarindotu"// takePhotoCaption: "Take Photo" => "Uzņemt fotoattēlu"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Noklikšķiniet uz pogas zemāk, lai uzņemtu fotoattēlu, izmantojot kameru."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Velciet un nometiet vai atlasiet failu, ko augšupielādēt vai uzņemt fotoattēlu, izmantojot kameru."
// replaceFileCaption: "Replace file" => "Aizstāt failu"// eachRowUniqueError: "Each row must have a unique value." => "Katrai rindai jābūt unikālai vērtībai."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Failus nevar augšupielādēt. Lūdzu, pievienojiet apdarinātāju notikumam \"onUploadFiles\"."
// showDetails: "Show Details" => "Rādīt detalizētu informāciju"
// hideDetails: "Hide Details" => "Slēpt detaļas"
// ok: "OK" => "LABI"
// cancel: "Cancel" => "Atcelt"
// refuseItemText: "Refuse to answer" => "Atteikties atbildēt"
// dontKnowItemText: "Don't know" => "Es nezinu"
/***/ }),
/***/ "./src/localization/lithuanian.ts":
/*!****************************************!*\
!*** ./src/localization/lithuanian.ts ***!
\****************************************/
/*! exports provided: lithuaniaSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lithuaniaSurveyStrings", function() { return lithuaniaSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var lithuaniaSurveyStrings = {
pagePrevText: "Atgal",
pageNextText: "Toliau",
completeText: "Baigti",
previewText: "Peržiūra",
editText: "Redaguoti",
startSurveyText: "Pradėti",
otherItemText: "Kita (įvesti)",
noneItemText: "Nėra",
refuseItemText: "Atsisakyti atsakyti",
dontKnowItemText: "Nežinau",
selectAllItemText: "Pasirinkti visus",
progressText: "Puslapis {0} iš {1}",
indexText: "{1} {0}",
panelDynamicProgressText: "Įrašyti {0} iš {1}",
panelDynamicTabTextFormat: "Skydelis {panelIndex}",
questionsProgressText: "Atsakė į {0} / {1} klausimus",
emptySurvey: "Apklausoje nėra matomo puslapio ar klausimo.",
completingSurvey: "Dėkojame už dalyvavimą apklausoje!",
completingSurveyBefore: "Mūsų įrašai rodo, kad jau atlikote šią apklausą.",
loadingSurvey: "Prašome palaukti...",
placeholder: "Pasirinkti...",
ratingOptionsCaption: "Žymėti...",
value: "reikšmė",
requiredError: "Būtina atsakyti į šį klausimą.",
requiredErrorInPanel: "Būtina atsakyti bent į vieną klausimą.",
requiredInAllRowsError: "Prašome atsakyti į klausimus visose eilutėse.",
eachRowUniqueError: "Kiekviena eilutė turi turėti unikalią reikšmę.",
numericError: "Turi būti skaičiai.",
minError: "Vertė neturėtų būti mažesnė nei {0}",
maxError: "Vertė neturėtų būti didesnė nei {0}",
textMinLength: "Prašome suvesti bent {0} simbolius.",
textMaxLength: "Prašome suvesti mažiau nei {0} simbolių.",
textMinMaxLength: "Prašome suvesti daugiau nei {0} ir mažiau nei {1} simbolių.",
minRowCountError: "Prašome suvesti ne mažiau nei {0} eilučių.",
minSelectError: "Prašome pasirinkti bent {0} variantų.",
maxSelectError: "Pasirinkite ne daugiau kaip {0} variantus.",
numericMinMax: "'{0}' turi būti lygus arba didesnis nei {1} ir lygus arba mažesnis nei {2}",
numericMin: "'{0}' turėtų būti lygus arba didesnis nei {1}",
numericMax: "'{0}' turėtų būti lygus ar mažesnis už {1}",
invalidEmail: "Prašome įvesti galiojantį elektroninio pašto adresą.",
invalidExpression: "Reikšmė: {0} turi grąžinti 'true'.",
urlRequestError: "Užklausa grąžino klaidą'{0}'. {1}",
urlGetChoicesError: "Užklausa grąžino tuščius duomenis arba 'path' savybė yra neteisinga",
exceedMaxSize: "Failo dydis neturi viršyti {0}.",
noUploadFilesHandler: "Failų įkelti negalima. Pridėkite įvykio \"onUploadFiles\" tvarkytoją.",
otherRequiredError: "Įveskite kitą reikšmę.",
uploadingFile: "Jūsų failas yra keliamas. Palaukite keletą sekundžių ir bandykite dar kartą.",
loadingFile: "Prašome palaukti...",
chooseFile: "Pasirinkti failą(us)...",
noFileChosen: "Nepasirinktas joks failas",
filePlaceholder: "Nuvilkite failą čia arba spustelėkite žemiau esantį mygtuką ir pasirinkite failą, kurį norite įkelti.",
confirmDelete: "Ar norite ištrinti įrašą?",
keyDuplicationError: "Ši reikšmė turėtų būti unikali.",
addColumn: "Pridėti stulpelį",
addRow: "Pridėti eilutę",
removeRow: "Ištrinti",
emptyRowsText: "Eilių nėra.",
addPanel: "Pridėti naują",
removePanel: "Ištrinti",
showDetails: "Rodyti išsamią informaciją",
hideDetails: "Slėpti išsamią informaciją",
choices_Item: "elementas",
matrix_column: "Stulpelis",
matrix_row: "Eilutė",
multipletext_itemname: "SMS žinutė",
savingData: "Rezultatai saugomi serveryje...",
savingDataError: "Įvyko klaida ir mes negalėjome išsaugoti rezultatų.",
savingDataSuccess: "Rezultatai buvo išsaugoti sėkmingai!",
saveAgainButton: "Bandyti dar kartą",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Praleidote {0} šiame puslapyje ir {1} iš viso.",
timerSpentPage: "Praleidote {0} šiame puslapyje.",
timerSpentSurvey: "Praleidote {0} iš viso.",
timerLimitAll: "Praleidote {0} iš {1} šiame puslapyje ir {2} iš {3} iš viso.",
timerLimitPage: "Praleidote {0} iš {1} šiame puslapyje.",
timerLimitSurvey: "Praleidote {0} iš {1} iš viso.",
clearCaption: "Valyti",
signaturePlaceHolder: "Pasirašykite čia",
chooseFileCaption: "Pasirinkti failą",
takePhotoCaption: "Fotografuoti",
photoPlaceholder: "Spustelėkite žemiau esantį mygtuką, kad nufotografuotumėte fotoaparatu.",
fileOrPhotoPlaceholder: "Nuvilkite arba pasirinkite failą, kurį norite įkelti arba nufotografuoti naudodami fotoaparatą.",
replaceFileCaption: "Pakeiskite failą",
removeFileCaption: "Ištrinti šį failą",
booleanCheckedLabel: "Taip",
booleanUncheckedLabel: "Ne",
confirmRemoveFile: "Ar tikrai norite pašalinti šį failą: {0}?",
confirmRemoveAllFiles: "Ar tikrai norite pašalinti visus failus?",
questionTitlePatternText: "Klausimo pavadinimas",
modalCancelButtonText: "Atšaukti",
modalApplyButtonText: "Vartoti",
filterStringPlaceholder: "Įveskite, kad ieškotumėte...",
emptyMessage: "Nėra rodomų duomenų",
noEntriesText: "Įrašų dar nėra.\nSpustelėkite žemiau esantį mygtuką, kad pridėtumėte naują įrašą.",
noEntriesReadonlyText: "Įrašų nėra.",
more: "Daugiau",
tagboxDoneButtonCaption: "GERAI",
selectToRankEmptyRankedAreaText: "Visi pasirinkimai yra reitinguojami",
selectToRankEmptyUnrankedAreaText: "Nuvilkite pasirinkimus čia, kad juos reitinguotumėte",
ok: "GERAI",
cancel: "Atšaukti"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["lt"] = lithuaniaSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["lt"] = "lietuvių";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{1} {0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Skydelis {panelIndex}"
// ratingOptionsCaption: "Select..." => "Žymėti..."
// minError: "The value should not be less than {0}" => "Vertė neturėtų būti mažesnė nei {0}"
// maxError: "The value should not be greater than {0}" => "Vertė neturėtų būti didesnė nei {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Nuvilkite failą čia arba spustelėkite žemiau esantį mygtuką ir pasirinkite failą, kurį norite įkelti."
// emptyRowsText: "There are no rows." => "Eilių nėra."
// multipletext_itemname: "text" => "SMS žinutė"
// signaturePlaceHolder: "Sign here" => "Pasirašykite čia"
// modalCancelButtonText: "Cancel" => "Atšaukti"
// modalApplyButtonText: "Apply" => "Vartoti"
// filterStringPlaceholder: "Type to search..." => "Įveskite, kad ieškotumėte..."
// emptyMessage: "No data to display" => "Nėra rodomų duomenų"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Įrašų dar nėra.\nSpustelėkite žemiau esantį mygtuką, kad pridėtumėte naują įrašą."
// noEntriesReadonlyText: "There are no entries." => "Įrašų nėra."
// more: "More" => "Daugiau"
// tagboxDoneButtonCaption: "OK" => "GERAI"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Visi pasirinkimai yra reitinguojami"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Nuvilkite pasirinkimus čia, kad juos reitinguotumėte"// takePhotoCaption: "Take Photo" => "Fotografuoti"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Spustelėkite žemiau esantį mygtuką, kad nufotografuotumėte fotoaparatu."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Nuvilkite arba pasirinkite failą, kurį norite įkelti arba nufotografuoti naudodami fotoaparatą."
// replaceFileCaption: "Replace file" => "Pakeiskite failą"// eachRowUniqueError: "Each row must have a unique value." => "Kiekviena eilutė turi turėti unikalią reikšmę."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Failų įkelti negalima. Pridėkite įvykio \"onUploadFiles\" tvarkytoją."
// showDetails: "Show Details" => "Rodyti išsamią informaciją"
// hideDetails: "Hide Details" => "Slėpti išsamią informaciją"
// ok: "OK" => "GERAI"
// cancel: "Cancel" => "Atšaukti"
// refuseItemText: "Refuse to answer" => "Atsisakyti atsakyti"
// dontKnowItemText: "Don't know" => "Nežinau"
/***/ }),
/***/ "./src/localization/macedonian.ts":
/*!****************************************!*\
!*** ./src/localization/macedonian.ts ***!
\****************************************/
/*! exports provided: macedonianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "macedonianSurveyStrings", function() { return macedonianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var macedonianSurveyStrings = {
pagePrevText: "Претходна",
pageNextText: "Следно",
completeText: "Заврши",
previewText: "Преглед",
editText: "Уредување",
startSurveyText: "Започнете",
otherItemText: "Друго (опиши)",
noneItemText: "Ништо",
refuseItemText: "Одбиј да одговориш.",
dontKnowItemText: "Не знам",
selectAllItemText: "Селектирај се",
progressText: "Страница {0} од {1}",
indexText: "{0} на {1}",
panelDynamicProgressText: "Сними {0} од {1}",
panelDynamicTabTextFormat: "Панел {панел Индекс}",
questionsProgressText: "Одговорени на {0} / {1} прашања",
emptySurvey: "Нема видлива страница или прашање во истражувањето.",
completingSurvey: "Ви благодариме што го завршивте истражувањето!",
completingSurveyBefore: "Нашите записи покажуваат дека веќе сте го завршиле ова истражување.",
loadingSurvey: "Анкетата се вчитува ...",
placeholder: "Изберете ...",
ratingOptionsCaption: "Изберете...",
value: "вредност",
requiredError: "Ве молам, одговорете на прашањето.",
requiredErrorInPanel: "Ве молам, одговорете барем на едно прашање.",
requiredInAllRowsError: "Ве молиме, одговорете на прашања во сите редови.",
eachRowUniqueError: "Секој ред мора да има уникатна вредност.",
numericError: "Вредноста треба да биде нумеричка.",
minError: "Вредноста не треба да биде помала од {0}",
maxError: "Вредноста не треба да биде поголема од {0}",
textMinLength: "Внесете најмалку {0} знак/ци.",
textMaxLength: "Внесете не повеќе од {0} знак/ци.",
textMinMaxLength: "Внесете најмалку {0} и не повеќе од {1} знаци.",
minRowCountError: "Пополнете најмалку {0} ред(ови).",
minSelectError: "Ве молиме изберете најмалку {0} варијанта(и).",
maxSelectError: "Изберете не повеќе од {0} варијанта(и).",
numericMinMax: "'{0}' треба да биде најмалку {1} и најмногу {2}",
numericMin: "'{0}' треба да биде најмалку {1}",
numericMax: "'{0}' треба да биде најмногу {1}",
invalidEmail: "Ве молиме внесете валидна е-маил адреса.",
invalidExpression: "Изразот: {0} треба да се врати 'true'.",
urlRequestError: "Барањето врати грешка '{0}'. {1} ",
urlGetChoicesError: "Барањето врати празни податоци или својството 'path' е неточно",
exceedMaxSize: "Големината на датотеката не треба да надминува {0}.",
noUploadFilesHandler: "Фајловите не можат да се качуваат. Ве молиме додадете раководител за настанот 'onUploadFiles'.",
otherRequiredError: "Внесете ја другата вредност.",
uploadingFile: "Вашата датотека се поставува. Ве молиме почекајте неколку секунди и обидете се повторно.",
loadingFile: "Се вчитува ...",
chooseFile: "Изберете датотека (и) ...",
noFileChosen: "Не се избрани датотеки",
filePlaceholder: "Пуштете датотека овде или кликнете на копчето подолу за да ја вчитате датотеката.",
confirmDelete: "Дали сакате да го избришете записот?",
keyDuplicationError: "Оваа вредност треба да биде единствена.",
addColumn: "Додај колона",
addRow: "Додади ред",
removeRow: "Отстрани",
emptyRowsText: "Нема редови.",
addPanel: "Додади ново",
removePanel: "Отстрани",
showDetails: "Прикажување на деталите",
hideDetails: "Сокриј ги деталите.",
choices_Item: "ставка",
matrix_column: "Колона",
matrix_row: "Ред",
multipletext_itemname: "текст.",
savingData: "Резултатите се зачувуваат на серверот ...",
savingDataError: "Настана грешка и не можевме да ги зачуваме резултатите.",
savingDataSuccess: "Резултатите беа успешно зачувани!",
saveAgainButton: "Обиди се повторно",
timerMin: "мин",
timerSec: "сек",
timerSpentAll: "Поминавте {0} на оваа страница и вкупно {1}.",
timerSpentPage: "Поминавте {0} на оваа страница.",
timerSpentSurvey: "Вие потрошивте вкупно {0}.",
timerLimitAll: "Поминавте {0} од {1} на оваа страница и {2} од {3} вкупно.",
timerLimitPage: "Поминавте {0} од {1} на оваа страница.",
timerLimitSurvey: "Вие потрошивте вкупно {0} од {1}.",
clearCaption: "Да расчисти",
signaturePlaceHolder: "Потпиши се овде.",
chooseFileCaption: "Изберете датотека",
takePhotoCaption: "Фотографирајте",
photoPlaceholder: "Кликнете на копчето подолу за да фотографирате користејќи ја камерата.",
fileOrPhotoPlaceholder: "Влечете и фрлајте или изберете датотека за качување или фотографирање користејќи ја камерата.",
replaceFileCaption: "Заменете го фајлот.",
removeFileCaption: "Отстранете ја оваа датотека",
booleanCheckedLabel: "Да",
booleanUncheckedLabel: "Не",
confirmRemoveFile: "Дали сте сигурни дека сакате да ја отстраните оваа датотека: {0}?",
confirmRemoveAllFiles: "Дали сте сигурни дека сакате да ги отстраните сите датотеки?",
questionTitlePatternText: "Наслов на прашањето",
modalCancelButtonText: "Откажи",
modalApplyButtonText: "Аплицирај",
filterStringPlaceholder: "Тип за пребарување...",
emptyMessage: "Нема податоци за прикажување",
noEntriesText: "Сеуште нема влезници.\nКликнете на копчето подолу за да додадете нов влез.",
noEntriesReadonlyText: "Нема влезници.",
more: "Повеќе",
tagboxDoneButtonCaption: "ДОБРО",
selectToRankEmptyRankedAreaText: "Сите избори се рангирани",
selectToRankEmptyUnrankedAreaText: "Влечете и фрлете го изборот овде за да ги рангирате",
ok: "ДОБРО",
cancel: "Откажи"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["mk"] = macedonianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["mk"] = "Македонски";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} на {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Панел {панел Индекс}"
// ratingOptionsCaption: "Select..." => "Изберете..."
// multipletext_itemname: "text" => "текст."
// signaturePlaceHolder: "Sign here" => "Потпиши се овде."
// filterStringPlaceholder: "Type to search..." => "Тип за пребарување..."
// emptyMessage: "No data to display" => "Нема податоци за прикажување"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Сеуште нема влезници.\nКликнете на копчето подолу за да додадете нов влез."
// noEntriesReadonlyText: "There are no entries." => "Нема влезници."
// more: "More" => "Повеќе"
// tagboxDoneButtonCaption: "OK" => "ДОБРО"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Сите избори се рангирани"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Влечете и фрлете го изборот овде за да ги рангирате"// takePhotoCaption: "Take Photo" => "Фотографирајте"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Кликнете на копчето подолу за да фотографирате користејќи ја камерата."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Влечете и фрлајте или изберете датотека за качување или фотографирање користејќи ја камерата."
// replaceFileCaption: "Replace file" => "Заменете го фајлот."// eachRowUniqueError: "Each row must have a unique value." => "Секој ред мора да има уникатна вредност."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Фајловите не можат да се качуваат. Ве молиме додадете раководител за настанот 'onUploadFiles'."
// showDetails: "Show Details" => "Прикажување на деталите"
// hideDetails: "Hide Details" => "Сокриј ги деталите."
// ok: "OK" => "ДОБРО"
// cancel: "Cancel" => "Откажи"
// refuseItemText: "Refuse to answer" => "Одбиј да одговориш."
// dontKnowItemText: "Don't know" => "Не знам"
/***/ }),
/***/ "./src/localization/malay.ts":
/*!***********************************!*\
!*** ./src/localization/malay.ts ***!
\***********************************/
/*! exports provided: malaySurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "malaySurveyStrings", function() { return malaySurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var malaySurveyStrings = {
pagePrevText: "Sebelumnya",
pageNextText: "Seterusnya",
completeText: "Selesai",
previewText: "Pratonton",
editText: "Edit",
startSurveyText: "Mula",
otherItemText: "Lain (terangkan)",
noneItemText: "Tiada",
refuseItemText: "Enggan menjawab",
dontKnowItemText: "Tak tahu",
selectAllItemText: "Pilih Semua",
progressText: "Halaman {0} daripada {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Rekod {0} daripada {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0}/{1} soalan telah dijawab",
emptySurvey: "Tiada halaman atau soalan boleh dilihat dalam tinjauan.",
completingSurvey: "Terima kasih kerana melengkapkan tinjauan!",
completingSurveyBefore: "Rekod kami menunjukkan yang anda telah melengkapkan tinjauan ini.",
loadingSurvey: "Memuatkan Tinjauan...",
placeholder: "Pilih...",
ratingOptionsCaption: "Pilih...",
value: "nilai",
requiredError: "Respons diperlukan.",
requiredErrorInPanel: "Respons diperlukan: jawab sekurang-kurangnya satu soalan.",
requiredInAllRowsError: "Respons diperlukan: jawab soalan dalam semua baris.",
eachRowUniqueError: "Setiap baris mesti mempunyai nilai yang unik.",
numericError: "Nilai mestilah numerik.",
minError: "Nilai tidak boleh kurang daripada {0}",
maxError: "Nilai tidak boleh lebih besar daripada {0}",
textMinLength: "Sila masukkan sekurang-kurangnya {0} aksara.",
textMaxLength: "Sila masukkan tidak lebih daripada {0} aksara.",
textMinMaxLength: "Sila masukkan sekurang-kurangnya {0} dan tidak lebih daripada {1} aksara.",
minRowCountError: "Sila isikan sekurang-kurangnya {0} baris.",
minSelectError: "Sila pilih sekurang-kurangnya {0} varian.",
maxSelectError: "Sila pilih tidak lebih daripada {0} varian.",
numericMinMax: "'{0}' mestilah sekurang-kurangnya {1} dan paling banyak {2}",
numericMin: "'{0}' mestilah sekurang-kurangnya {1}",
numericMax: "'{0}' mestilah paling banyak {1}",
invalidEmail: "Sila masukkan alamat e-mel yang sah.",
invalidExpression: "Ekspresi: {0} hendaklah mengembalikan nilai 'benar'.",
urlRequestError: "Permintaan mengembalikan ralat '{0}'. {1}",
urlGetChoicesError: "Permintaan mengembalikan data kosong atau ciri 'laluan' salah",
exceedMaxSize: "Saiz fail hendaklah tidak melebihi {0}.",
noUploadFilesHandler: "Fail tidak boleh dimuat naik. Sila tambah pengendali untuk acara 'onUploadFiles'.",
otherRequiredError: "Respons diperlukan: masukkan nilai lain.",
uploadingFile: "Fail anda sedang dimuat naik. Sila tunggu beberapa saat dan cuba lagi.",
loadingFile: "Memuat...",
chooseFile: "Pilih fail...",
noFileChosen: "Tiada fail dipilih",
filePlaceholder: "Letakkan fail di sini atau klik butang di bawah untuk memuatkan fail.",
confirmDelete: "Adakah anda ingin memadamkan rekod?",
keyDuplicationError: "Nilai ini hendaklah unik.",
addColumn: "Tambahkan lajur",
addRow: "Tambahkan baris",
removeRow: "Alih keluar",
emptyRowsText: "Tiada baris.",
addPanel: "Tambah baharu",
removePanel: "Alih keluar",
showDetails: "Tunjukkan Butiran",
hideDetails: "Sembunyikan Butiran",
choices_Item: "item",
matrix_column: "Lajur",
matrix_row: "Baris",
multipletext_itemname: "teks",
savingData: "Keputusan sedang disimpan pada pelayan...",
savingDataError: "Ralat berlaku dan kami tidak dapat menyimpan keputusan.",
savingDataSuccess: "Keputusan berjaya disimpan!",
saveAgainButton: "Cuba lagi",
timerMin: "min",
timerSec: "saat",
timerSpentAll: "Anda telah meluangkan {0} pada halaman ini dan {1} secara keseluruhan.",
timerSpentPage: "Anda telah meluangkan {0} pada halaman ini.",
timerSpentSurvey: "Anda telah meluangkan {0} secara keseluruhan.",
timerLimitAll: "Anda telah meluangkan {0} daripada {1} pada halaman ini dan {2} daripada {3} secara keseluruhan.",
timerLimitPage: "Anda telah meluangkan {0} daripada {1} pada halaman ini.",
timerLimitSurvey: "Anda telah meluangkan {0} daripada {1} secara keseluruhan.",
clearCaption: "Kosongkan",
signaturePlaceHolder: "Tandatangan di sini",
chooseFileCaption: "Pilih fail",
takePhotoCaption: "Ambil gambar",
photoPlaceholder: "Klik butang di bawah untuk mengambil gambar menggunakan kamera.",
fileOrPhotoPlaceholder: "Seret dan lepas atau pilih fail untuk memuat naik atau mengambil foto menggunakan kamera.",
replaceFileCaption: "Gantikan fail",
removeFileCaption: "Alih keluar fail ini",
booleanCheckedLabel: "Ya",
booleanUncheckedLabel: "Tidak",
confirmRemoveFile: "Anda pasti ingin mengalih keluar fail ini: {0}?",
confirmRemoveAllFiles: "Anda pasti ingin mengalih keluar semua fail?",
questionTitlePatternText: "Tajuk Soalan",
modalCancelButtonText: "Batal",
modalApplyButtonText: "Guna",
filterStringPlaceholder: "Taip untuk membuat carian...",
emptyMessage: "Tiada data untuk dipaparkan",
noEntriesText: "Belum ada entri.\nKlik butang di bawah untuk menambahkan entri.",
noEntriesReadonlyText: "Tiada penyertaan.",
more: "Lebih banyak",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Semua pilihan disenaraikan",
selectToRankEmptyUnrankedAreaText: "Seret dan lepaskan pilihan di sini untuk meletakkannya",
ok: "OK",
cancel: "Batal"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ms"] = malaySurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ms"] = "melayu";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Pilih..."
// emptyMessage: "No data to display" => "Tiada data untuk dipaparkan"
// noEntriesReadonlyText: "There are no entries." => "Tiada penyertaan."
// more: "More" => "Lebih banyak"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Semua pilihan disenaraikan"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Seret dan lepaskan pilihan di sini untuk meletakkannya"// takePhotoCaption: "Take Photo" => "Ambil gambar"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klik butang di bawah untuk mengambil gambar menggunakan kamera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Seret dan lepas atau pilih fail untuk memuat naik atau mengambil foto menggunakan kamera."
// replaceFileCaption: "Replace file" => "Gantikan fail"// eachRowUniqueError: "Each row must have a unique value." => "Setiap baris mesti mempunyai nilai yang unik."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Fail tidak boleh dimuat naik. Sila tambah pengendali untuk acara 'onUploadFiles'."
// showDetails: "Show Details" => "Tunjukkan Butiran"
// hideDetails: "Hide Details" => "Sembunyikan Butiran"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Batal"
// refuseItemText: "Refuse to answer" => "Enggan menjawab"
// dontKnowItemText: "Don't know" => "Tak tahu"
/***/ }),
/***/ "./src/localization/nl-BE.ts":
/*!***********************************!*\
!*** ./src/localization/nl-BE.ts ***!
\***********************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _dutch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dutch */ "./src/localization/dutch.ts");
/**
* This is initialized as a copy of the Dutch strings, when they start to deviate a choice has to be made:
* - Copy the Dutch set once and move forward as if it are 2 totally different languages
* - Override the relevant strings only
*/
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["nl-BE"] = _dutch__WEBPACK_IMPORTED_MODULE_1__["dutchSurveyStrings"];
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["nl-BE"] = "vlaams";
/***/ }),
/***/ "./src/localization/norwegian.ts":
/*!***************************************!*\
!*** ./src/localization/norwegian.ts ***!
\***************************************/
/*! exports provided: norwegianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "norwegianSurveyStrings", function() { return norwegianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var norwegianSurveyStrings = {
pagePrevText: "Forrige",
pageNextText: "Neste",
completeText: "Fullfør",
previewText: "Forhåndsvisning",
editText: "Redigere",
startSurveyText: "Start",
otherItemText: "Annet (beskriv)",
noneItemText: "Ingen",
refuseItemText: "Nekter å svare",
dontKnowItemText: "Vet ikke",
selectAllItemText: "Velg alle",
progressText: "Side {0} av {1}",
indexText: "{0} av {1}",
panelDynamicProgressText: "Ta opp {0} av {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Besvarte {0} / {1} spørsmål",
emptySurvey: "Det er ingen synlig side eller spørsmål i undersøkelsen.",
completingSurvey: "Takk for at du fullførte undersøkelsen!",
completingSurveyBefore: "Våre data viser at du allerede har gjennomført denne undersøkelsen.",
loadingSurvey: "Undersøkelsen laster...",
placeholder: "Velg...",
ratingOptionsCaption: "Velge...",
value: "verdi",
requiredError: "Vennligst svar på spørsmålet.",
requiredErrorInPanel: "Vennligst svar på minst ett spørsmål.",
requiredInAllRowsError: "Vennligst svar på spørsmål i alle rader.",
eachRowUniqueError: "Hver rad må ha en unik verdi.",
numericError: "Verdien skal være numerisk.",
minError: "Verdien bør ikke være mindre enn {0}",
maxError: "Verdien bør ikke være større enn {0}",
textMinLength: "Vennligst skriv inn minst {0} tegn.",
textMaxLength: "Vennligst skriv inn mindre enn {0} tegn.",
textMinMaxLength: "Vennligst skriv inn mer enn {0} og mindre enn {1} tegn.",
minRowCountError: "Vennligst fyll inn minst {0} rader.",
minSelectError: "Vennligst velg minst {0} varianter.",
maxSelectError: "Vennligst ikke velg mer enn {0} varianter.",
numericMinMax: "'{0}' bør være lik eller mer enn {1} og lik eller mindre enn {2}",
numericMin: "'{0}' bør være lik eller mer enn {1}",
numericMax: "'{0}' bør være lik eller mindre enn {1}",
invalidEmail: "Vennligst skriv inn en gyldig e-post adresse.",
invalidExpression: "Uttrykket: {0} skal returnere 'sant'.",
urlRequestError: "Forespørselen returnerte feilen '{0}'. {1}",
urlGetChoicesError: "Forespørselen returnerte tomme data, eller 'sti' -egenskapen er feil",
exceedMaxSize: "Filstørrelsen bør ikke overstige {0}.",
noUploadFilesHandler: "Filer kan ikke lastes opp. Legg til et behandlingsprogram for onUploadFiles-hendelsen.",
otherRequiredError: "Vennligst skriv inn den andre verdien.",
uploadingFile: "Filen din lastes opp. Vennligst vent noen sekunder og prøv igjen.",
loadingFile: "Laster inn ...",
chooseFile: "Velg fil (er) ...",
noFileChosen: "Ingen fil valgt",
filePlaceholder: "Dra og slipp en fil her, eller klikk på knappen nedenfor og velg en fil du vil laste opp.",
confirmDelete: "Ønsker du å slette posten?",
keyDuplicationError: "Denne verdien skal være unik.",
addColumn: "Legg til kolonne",
addRow: "Legg til rad",
removeRow: "Fjern",
emptyRowsText: "Det er ingen rader.",
addPanel: "Legg til ny",
removePanel: "Fjerne",
showDetails: "Vis detaljer",
hideDetails: "Skjul detaljer",
choices_Item: "element",
matrix_column: "Kolonne",
matrix_row: "Rad",
multipletext_itemname: "Tekst",
savingData: "Resultatene lagres på serveren ...",
savingDataError: "Det oppsto en feil, og vi kunne ikke lagre resultatene.",
savingDataSuccess: "Resultatene ble lagret!",
saveAgainButton: "Prøv igjen",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Du har tilbrakt {0} på denne siden og {1} totalt.",
timerSpentPage: "Du har tilbrakt {0} på denne siden.",
timerSpentSurvey: "Du har tilbrakt {0} totalt.",
timerLimitAll: "Du har tilbrakt {0} av {1} på denne siden og totalt {2} av {3}.",
timerLimitPage: "Du har tilbrakt {0} av {1} på denne siden.",
timerLimitSurvey: "Du har tilbrakt {0} av {1} totalt.",
clearCaption: "Klar",
signaturePlaceHolder: "Logg inn her",
chooseFileCaption: "Velg Fil",
takePhotoCaption: "Ta bilde",
photoPlaceholder: "Klikk på knappen nedenfor for å ta et bilde med kameraet.",
fileOrPhotoPlaceholder: "Dra og slipp eller velg en fil for å laste opp eller ta et bilde med kameraet.",
replaceFileCaption: "Erstatt fil",
removeFileCaption: "Fjern denne filen",
booleanCheckedLabel: "Ja",
booleanUncheckedLabel: "Nei",
confirmRemoveFile: "Er du sikker på at du vil fjerne denne filen: {0}?",
confirmRemoveAllFiles: "Er du sikker på at du vil fjerne alle filene?",
questionTitlePatternText: "Spørsmålstittel",
modalCancelButtonText: "Annullere",
modalApplyButtonText: "Bruke",
filterStringPlaceholder: "Skriv for å søke ...",
emptyMessage: "Ingen data å vise",
noEntriesText: "Det er ingen oppføringer ennå.\nKlikk på knappen nedenfor for å legge til en ny oppføring.",
noEntriesReadonlyText: "Det er ingen oppføringer.",
more: "Mer",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Alle valg er rangert",
selectToRankEmptyUnrankedAreaText: "Dra og slipp valg her for å rangere dem",
ok: "OK",
cancel: "Annullere"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["no"] = norwegianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["no"] = "norsk";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} av {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Velge..."
// minError: "The value should not be less than {0}" => "Verdien bør ikke være mindre enn {0}"
// maxError: "The value should not be greater than {0}" => "Verdien bør ikke være større enn {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Dra og slipp en fil her, eller klikk på knappen nedenfor og velg en fil du vil laste opp."
// emptyRowsText: "There are no rows." => "Det er ingen rader."
// multipletext_itemname: "text" => "Tekst"
// signaturePlaceHolder: "Sign here" => "Logg inn her"
// modalCancelButtonText: "Cancel" => "Annullere"
// modalApplyButtonText: "Apply" => "Bruke"
// filterStringPlaceholder: "Type to search..." => "Skriv for å søke ..."
// emptyMessage: "No data to display" => "Ingen data å vise"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Det er ingen oppføringer ennå.\nKlikk på knappen nedenfor for å legge til en ny oppføring."
// noEntriesReadonlyText: "There are no entries." => "Det er ingen oppføringer."
// more: "More" => "Mer"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alle valg er rangert"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Dra og slipp valg her for å rangere dem"// takePhotoCaption: "Take Photo" => "Ta bilde"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klikk på knappen nedenfor for å ta et bilde med kameraet."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Dra og slipp eller velg en fil for å laste opp eller ta et bilde med kameraet."
// replaceFileCaption: "Replace file" => "Erstatt fil"// eachRowUniqueError: "Each row must have a unique value." => "Hver rad må ha en unik verdi."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Filer kan ikke lastes opp. Legg til et behandlingsprogram for onUploadFiles-hendelsen."
// showDetails: "Show Details" => "Vis detaljer"
// hideDetails: "Hide Details" => "Skjul detaljer"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Annullere"
// refuseItemText: "Refuse to answer" => "Nekter å svare"
// dontKnowItemText: "Don't know" => "Vet ikke"
/***/ }),
/***/ "./src/localization/persian.ts":
/*!*************************************!*\
!*** ./src/localization/persian.ts ***!
\*************************************/
/*! exports provided: persianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "persianSurveyStrings", function() { return persianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var persianSurveyStrings = {
pagePrevText: "قبلی",
pageNextText: "بعدی",
completeText: "تکمیل",
previewText: "پیش نمایش",
editText: "ویرایش",
startSurveyText: "شروع",
otherItemText: "دیگر(توضیح)",
noneItemText: "هیچ",
refuseItemText: "امتناع از پاسخ دادن",
dontKnowItemText: "نمی دانم",
selectAllItemText: "انتخاب همه",
progressText: "صفحه {0} از {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "مورد {0} از {1}",
panelDynamicTabTextFormat: "پنل {panelIndex}",
questionsProgressText: "تعداد پاسخ {0}/{1} سوال",
emptySurvey: "صفحه ای یا گزینه ای برای این پرسشنامه موجود نیست.",
completingSurvey: "از شما بابت تکمیل این پرسشنامه متشکریم",
completingSurveyBefore: "به نظر می رسد هم هم اکنون پرسشنامه را تکمیل کرده اید.",
loadingSurvey: "درحال ایجاد پرسشنامه",
placeholder: "انتخاب کنید...",
ratingOptionsCaption: "انتخاب...",
value: "مقدار",
requiredError: "لطفا به سوال پاسخ دهید",
requiredErrorInPanel: "لطفا حداقل به یک سوال پاسخ دهید.",
requiredInAllRowsError: "لطفا سوالات تمام سطرها را پاسخ دهید.",
eachRowUniqueError: "هر سطر باید یک مقدار منحصر به فرد داشته باشد.",
numericError: "مقدار باید عددی باشد",
minError: "ارزش نباید کمتر از {0}",
maxError: "ارزش نباید بیشتر از {0}",
textMinLength: "لطفا حداقل {0} حرف وارد کنید",
textMaxLength: "لطفا کمتر از {0} حرف وارد کنید.",
textMinMaxLength: "لطفا بیشتر از {0} حرف و کمتر از {1} حرف وارد کنید.",
minRowCountError: "لطفا حداقل {0} سطر وارد کنید.",
minSelectError: "حداقل {0} انتخاب کنید.",
maxSelectError: "لطفا بیشتر از {0} انتخاب کنید.",
numericMinMax: "'{0}' باید بین {1} و {2} باشد",
numericMin: "'{0}' بزرگتر مساوی {1} باشد",
numericMax: "'{0}' باید کوچکتر یا مساوی {1} باشد",
invalidEmail: "لطفا ایمیل صحیح درج کنید",
invalidExpression: "عبارت: {0} پاسخ باید 'true' باشد.",
urlRequestError: "درخواست با خطا روبرو شد: '{0}'. {1}",
urlGetChoicesError: "درخواست مسیری خالی بازگشت داده یا مسیر درست تنظیم نشده",
exceedMaxSize: "بیشترین حجم مجاز فایل: {0}",
noUploadFilesHandler: "پروندهها را نمیتوان بارگذاری کرد. لطفا یک گرداننده برای رویداد \"onUploadFiles\" اضافه کنید.",
otherRequiredError: "مقدار 'دیگر' را وارد کنید",
uploadingFile: "فایل در حال آیلود است. لطفا صبر کنید.",
loadingFile: "بارگیری...",
chooseFile: "انتخاب فایل(ها)...",
noFileChosen: "هیچ فایلی انتخاب نشده",
filePlaceholder: "کشیدن و رها کردن یک فایل در اینجا و یا کلیک بر روی دکمه زیر و یک فایل برای اپلود را انتخاب کنید.",
confirmDelete: "آیا مایل به حذف این ردیف هستید؟",
keyDuplicationError: "این مقدار باید غیر تکراری باشد",
addColumn: "ستون جدید",
addRow: "سطر جدید",
removeRow: "حذف",
emptyRowsText: "هیچ ردیفی وجود ندارد.",
addPanel: "جدید",
removePanel: "حذف",
showDetails: "نمایش جزئیات",
hideDetails: "مخفی کردن جزئیات",
choices_Item: "آیتم",
matrix_column: "ستون",
matrix_row: "سطر",
multipletext_itemname: "پیامک",
savingData: "نتایج در حال ذخیره سازی در سرور است",
savingDataError: "خطایی در ذخیره سازی نتایج رخ داده است",
savingDataSuccess: "نتایج با موفقیت ذخیره شد",
saveAgainButton: "مجدد تلاش کنید",
timerMin: "دقیقه",
timerSec: "ثانیه",
timerSpentAll: "شما مدت {0} در این صفحه و مدت {1} را در مجموع سپری کرده اید.",
timerSpentPage: "شما مدت {0} را در این صفحه سپری کرده اید.",
timerSpentSurvey: "شما مدت {0} را در مجموع سپری کرده اید.",
timerLimitAll: "شما مدت {0} از {1} در این صفحه و مدت {2} از {3} را در مجموع سپری کرده اید.",
timerLimitPage: "شما مدت {0} از {1} را در این صفحه سپری کرده اید.",
timerLimitSurvey: "شما مدت {0} از {1} را در مجموع سپری کرده اید.",
clearCaption: "خالی کردن",
signaturePlaceHolder: "اینجا را امضا کنید",
chooseFileCaption: "انتخاب فایل",
takePhotoCaption: "گرفتن عکس",
photoPlaceholder: "روی دکمه زیر کلیک کنید تا با استفاده از دوربین عکس بگیرید.",
fileOrPhotoPlaceholder: "کشیدن و رها کردن یا انتخاب یک فایل برای اپلود یا گرفتن عکس با استفاده از دوربین.",
replaceFileCaption: "جایگزینی پرونده",
removeFileCaption: "حذف این فایل",
booleanCheckedLabel: "بله",
booleanUncheckedLabel: "خیر",
confirmRemoveFile: "آیا میخواهید این فایل را پاک کنید: {0}?",
confirmRemoveAllFiles: "آیا میخواهید تمام فایل ها را پاک کنید?",
questionTitlePatternText: "عنوان سوال",
modalCancelButtonText: "لغو",
modalApplyButtonText: "درخواست",
filterStringPlaceholder: "تایپ برای جستجو...",
emptyMessage: "داده ای برای نمایش وجود ندارد",
noEntriesText: "هنوز هیچ ورودی وجود ندارد.\nروی دکمه زیر کلیک کنید تا یک ورودی جدید اضافه شود.",
noEntriesReadonlyText: "هیچ ورودی وجود ندارد.",
more: "بیشتر",
tagboxDoneButtonCaption: "باشه",
selectToRankEmptyRankedAreaText: "همه انتخاب ها رتبه بندی می شوند",
selectToRankEmptyUnrankedAreaText: "انتخاب های کشیدن و رها کردن در اینجا برای رتبه بندی انها",
ok: "باشه",
cancel: "لغو"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["fa"] = persianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fa"] = "فارْسِى";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "پنل {panelIndex}"
// ratingOptionsCaption: "Select..." => "انتخاب..."
// minError: "The value should not be less than {0}" => "ارزش نباید کمتر از {0}"
// maxError: "The value should not be greater than {0}" => "ارزش نباید بیشتر از {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "کشیدن و رها کردن یک فایل در اینجا و یا کلیک بر روی دکمه زیر و یک فایل برای اپلود را انتخاب کنید."
// emptyRowsText: "There are no rows." => "هیچ ردیفی وجود ندارد."
// multipletext_itemname: "text" => "پیامک"
// signaturePlaceHolder: "Sign here" => "اینجا را امضا کنید"
// modalCancelButtonText: "Cancel" => "لغو"
// modalApplyButtonText: "Apply" => "درخواست"
// filterStringPlaceholder: "Type to search..." => "تایپ برای جستجو..."
// emptyMessage: "No data to display" => "داده ای برای نمایش وجود ندارد"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "هنوز هیچ ورودی وجود ندارد.\nروی دکمه زیر کلیک کنید تا یک ورودی جدید اضافه شود."
// noEntriesReadonlyText: "There are no entries." => "هیچ ورودی وجود ندارد."
// more: "More" => "بیشتر"
// tagboxDoneButtonCaption: "OK" => "باشه"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "همه انتخاب ها رتبه بندی می شوند"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "انتخاب های کشیدن و رها کردن در اینجا برای رتبه بندی انها"// takePhotoCaption: "Take Photo" => "گرفتن عکس"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "روی دکمه زیر کلیک کنید تا با استفاده از دوربین عکس بگیرید."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "کشیدن و رها کردن یا انتخاب یک فایل برای اپلود یا گرفتن عکس با استفاده از دوربین."
// replaceFileCaption: "Replace file" => "جایگزینی پرونده"// eachRowUniqueError: "Each row must have a unique value." => "هر سطر باید یک مقدار منحصر به فرد داشته باشد."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "پروندهها را نمیتوان بارگذاری کرد. لطفا یک گرداننده برای رویداد \"onUploadFiles\" اضافه کنید."
// showDetails: "Show Details" => "نمایش جزئیات"
// hideDetails: "Hide Details" => "مخفی کردن جزئیات"
// ok: "OK" => "باشه"
// cancel: "Cancel" => "لغو"
// refuseItemText: "Refuse to answer" => "امتناع از پاسخ دادن"
// dontKnowItemText: "Don't know" => "نمی دانم"
/***/ }),
/***/ "./src/localization/polish.ts":
/*!************************************!*\
!*** ./src/localization/polish.ts ***!
\************************************/
/*! exports provided: polishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "polishSurveyStrings", function() { return polishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var polishSurveyStrings = {
pagePrevText: "Wstecz",
pageNextText: "Dalej",
completeText: "Gotowe",
previewText: "Premiera",
editText: "Edycja",
startSurveyText: "Start",
otherItemText: "Inna odpowiedź (wpisz)",
noneItemText: "Brak",
refuseItemText: "Odmów odpowiedzi",
dontKnowItemText: "Nie wiem",
selectAllItemText: "Wybierz wszystkie",
progressText: "Strona {0} z {1}",
indexText: "{0} od {1}",
panelDynamicProgressText: "Zapis {0} z {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Odpowiedzi na {0}/{1} pytania",
emptySurvey: "Nie ma widocznych pytań.",
completingSurvey: "Dziękujemy za wypełnienie ankiety!",
completingSurveyBefore: "Z naszych zapisów wynika, że wypełniłeś już tę ankietę.",
loadingSurvey: "Trwa wczytywanie ankiety...",
placeholder: "Wybierz...",
ratingOptionsCaption: "Kliknij tutaj, aby ocenić...",
value: "Wartość",
requiredError: "Proszę odpowiedzieć na to pytanie.",
requiredErrorInPanel: "Proszę odpowiedzieć na co najmniej jedno pytanie.",
requiredInAllRowsError: "Proszę odpowiedzieć na wszystkie pytania.",
eachRowUniqueError: "Każdy wiersz musi mieć unikatową wartość.",
numericError: "W tym polu można wpisać tylko liczby.",
minError: "Wartość nie powinna być mniejsza niż {0}",
maxError: "Wartość nie powinna być większa niż {0}",
textMinLength: "Proszę wpisać co najmniej {0} znaków.",
textMaxLength: "Proszę wpisać mniej niż {0} znaków.",
textMinMaxLength: "Proszę wpisać więcej niż {0} i mniej niż {1} znaków.",
minRowCountError: "Proszę uzupełnić przynajmniej {0} wierszy.",
minSelectError: "Proszę wybrać co najmniej {0} pozycji.",
maxSelectError: "Proszę wybrać nie więcej niż {0} pozycji.",
numericMinMax: "Odpowiedź '{0}' powinna być większa lub równa {1} oraz mniejsza lub równa {2}",
numericMin: "Odpowiedź '{0}' powinna być większa lub równa {1}",
numericMax: "Odpowiedź '{0}' powinna być mniejsza lub równa {1}",
invalidEmail: "Proszę podać prawidłowy adres email.",
invalidExpression: "Wyrażenie: {0} powinno wracać 'prawdziwe'.",
urlRequestError: "Żądanie zwróciło błąd '{0}'. {1}",
urlGetChoicesError: "Żądanie nie zwróciło danych albo ścieżka jest nieprawidłowa",
exceedMaxSize: "Rozmiar przesłanego pliku nie może przekraczać {0}.",
noUploadFilesHandler: "Nie można przesłać plików. Dodaj moduł obsługi zdarzenia \"onUploadFiles\".",
otherRequiredError: "Proszę podać inną odpowiedź.",
uploadingFile: "Trwa przenoszenie Twojego pliku, proszę spróbować ponownie za kilka sekund.",
loadingFile: "Ładowanie...",
chooseFile: "Wybierz plik(i)...",
noFileChosen: "Nie wybrano żadnego pliku",
filePlaceholder: "Upuść plik tutaj lub kliknij przycisk poniżej, aby załadować plik.",
confirmDelete: "Chcesz skasować nagranie?",
keyDuplicationError: "Ta wartość powinna być wyjątkowa.",
addColumn: "Dodaj kolumnę",
addRow: "Dodaj wiersz",
removeRow: "Usuń",
emptyRowsText: "Nie ma rzędów.",
addPanel: "Dodaj panel",
removePanel: "Usuń",
showDetails: "Pokaż szczegóły",
hideDetails: "Ukryj szczegóły",
choices_Item: "element",
matrix_column: "Kolumna",
matrix_row: "Wiersz",
multipletext_itemname: "tekst",
savingData: "Zapisuję wyniki ankiety na serwerze...",
savingDataError: "Wystąpił błąd i wyniki nie mogły zostać zapisane.",
savingDataSuccess: "Wyniki zostały poprawnie zapisane!",
saveAgainButton: "Spróbuj ponownie",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Spędziłeś {0} na tej stronie a w sumie {1}.",
timerSpentPage: "Spędziłeś {0} na tej stronie.",
timerSpentSurvey: "Spędziłeś w sumie {0}.",
timerLimitAll: "Spędziłeś {0} z {1} na tej stronie a w sumie {2} z {3}.",
timerLimitPage: "Spędziłeś {0} z {1} na tej stronie",
timerLimitSurvey: "Spędziłeś {0} z {1}.",
clearCaption: "Wyczyść",
signaturePlaceHolder: "Podpisz tutaj",
chooseFileCaption: "Wybierz plik",
takePhotoCaption: "Zrób zdjęcie",
photoPlaceholder: "Kliknij przycisk poniżej, aby zrobić zdjęcie aparatem.",
fileOrPhotoPlaceholder: "Przeciągnij i upuść lub wybierz plik, który chcesz przesłać lub zrobić zdjęcie za pomocą aparatu.",
replaceFileCaption: "Zastąp plik",
removeFileCaption: "Usuń ten plik",
booleanCheckedLabel: "Tak",
booleanUncheckedLabel: "Nie",
confirmRemoveFile: "Jesteś pewien, że chcesz usunąć ten plik: {0}?",
confirmRemoveAllFiles: "Jesteś pewien, że chcesz usunąć wszystkie pliki?",
questionTitlePatternText: "Tytuł pytania",
modalCancelButtonText: "Anulować",
modalApplyButtonText: "Zastosować",
filterStringPlaceholder: "Wpisz aby wyszukać...",
emptyMessage: "Brak danych do wyświetlenia",
noEntriesText: "Nie ma jeszcze wpisów.\nKliknij przycisk poniżej, aby dodać nowy wpis.",
noEntriesReadonlyText: "Brak wpisów.",
more: "Więcej",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Wszystkie wybory są uszeregowane",
selectToRankEmptyUnrankedAreaText: "Przeciągnij i upuść tutaj wybory, aby je uszeregować",
ok: "OK",
cancel: "Anuluj"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["pl"] = polishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pl"] = "polski";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// emptyMessage: "No data to display" => "Brak danych do wyświetlenia"
// noEntriesReadonlyText: "There are no entries." => "Brak wpisów."
// more: "More" => "Więcej"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Wszystkie wybory są uszeregowane"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Przeciągnij i upuść tutaj wybory, aby je uszeregować"// takePhotoCaption: "Take Photo" => "Zrób zdjęcie"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kliknij przycisk poniżej, aby zrobić zdjęcie aparatem."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Przeciągnij i upuść lub wybierz plik, który chcesz przesłać lub zrobić zdjęcie za pomocą aparatu."
// replaceFileCaption: "Replace file" => "Zastąp plik"// eachRowUniqueError: "Each row must have a unique value." => "Każdy wiersz musi mieć unikatową wartość."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Nie można przesłać plików. Dodaj moduł obsługi zdarzenia \"onUploadFiles\"."
// showDetails: "Show Details" => "Pokaż szczegóły"
// hideDetails: "Hide Details" => "Ukryj szczegóły"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Anuluj"
// refuseItemText: "Refuse to answer" => "Odmów odpowiedzi"
// dontKnowItemText: "Don't know" => "Nie wiem"
/***/ }),
/***/ "./src/localization/portuguese-br.ts":
/*!*******************************************!*\
!*** ./src/localization/portuguese-br.ts ***!
\*******************************************/
/*! exports provided: portugueseBrSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "portugueseBrSurveyStrings", function() { return portugueseBrSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/**
* You don't need to translate strings that have the same value as Portuguese translation
*/
var portugueseBrSurveyStrings = {
pagePrevText: "Anterior",
pageNextText: "Próximo",
completeText: "Completar",
previewText: "Visualizar",
editText: "Editar",
startSurveyText: "Começar",
otherItemText: "Outros (descrever)",
noneItemText: "Nenhum",
refuseItemText: "Recusar-se a responder",
dontKnowItemText: "Não sei",
selectAllItemText: "Selecionar tudo",
progressText: "Página {0} de {1}",
indexText: "{0} de {1}",
panelDynamicProgressText: "{0} de {1}",
panelDynamicTabTextFormat: "Painel {panelIndex}",
questionsProgressText: "Perguntas respondidas {0}/{1}",
emptySurvey: "Não há página visível ou pergunta na pesquisa.",
completingSurvey: "Obrigado por finalizar a pesquisa!",
completingSurveyBefore: "Nossos registros mostram que você já finalizou a pesquisa.",
loadingSurvey: "A pesquisa está carregando...",
placeholder: "Selecionar...",
ratingOptionsCaption: "Selecionar...",
value: "valor",
requiredError: "Por favor, responda a pergunta.",
requiredErrorInPanel: "Por favor, responda pelo menos uma pergunta.",
requiredInAllRowsError: "Por favor, responda as perguntas em todas as linhas.",
eachRowUniqueError: "Cada linha deve ter um valor exclusivo.",
numericError: "O valor deve ser numérico.",
minError: "O valor não deve ser inferior a {0}",
maxError: "O valor não deve ser maior que {0}",
textMinLength: "Introduza pelo menos {0} caractere(s).",
textMaxLength: "Introduza no máximo {0} caractere(s).",
textMinMaxLength: "Insira pelo menos {0} e não mais do que {1} caracteres.",
minRowCountError: "Por favor, preencha pelo menos {0} linha(s).",
minSelectError: "Selecione pelo menos {0} variante(s).",
maxSelectError: "Por favor, selecione não mais do que {0} opções.",
numericMinMax: "O \"{0}\" deve ser pelo menos {1} e no máximo {2}",
numericMin: "O \"{0}\" deve ser pelo menos {1}",
numericMax: "O \"{0}\" deve ser no máximo {1}",
invalidEmail: "Por favor, informe um e-mail válido.",
invalidExpression: "A expressão: {0} deve retornar 'verdadeiro'.",
urlRequestError: "A requisição retornou o erro '{0}'. {1}",
urlGetChoicesError: "A requisição não retornou dados ou o 'caminho' da requisição não está correto",
exceedMaxSize: "O tamanho do arquivo não deve exceder {0}.",
noUploadFilesHandler: "Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",
otherRequiredError: "Por favor, informe o outro valor.",
uploadingFile: "Seu arquivo está sendo carregado. Por favor, aguarde alguns segundos e tente novamente.",
loadingFile: "Carregando...",
chooseFile: "Escolha o(s) arquivo(s)...",
noFileChosen: "Nenhum arquivo escolhido",
filePlaceholder: "Arraste e solte um arquivo aqui ou clique no botão abaixo e escolha um arquivo para carregar.",
confirmDelete: "Tem certeza que deseja deletar?",
keyDuplicationError: "Esse valor deve ser único.",
addColumn: "Adicionar coluna",
addRow: "Adicionar linha",
removeRow: "Retirar",
emptyRowsText: "Não há filas.",
addPanel: "Adicionar novo",
removePanel: "Retirar",
showDetails: "Mostrar detalhes",
hideDetails: "Ocultar detalhes",
choices_Item: "item",
matrix_column: "Coluna",
matrix_row: "Remar",
multipletext_itemname: "Texto",
savingData: "Os resultados esto sendo salvos no servidor...",
savingDataError: "Ocorreu um erro e não foi possível salvar os resultados.",
savingDataSuccess: "Os resultados foram salvos com sucesso!",
saveAgainButton: "Tentar novamente",
timerMin: "Min",
timerSec: "segundo",
timerSpentAll: "Você gastou {0} nesta página e {1} no total.",
timerSpentPage: "Você passou {0} nesta página.",
timerSpentSurvey: "Gastou {0} no total.",
timerLimitAll: "Você gastou {0} de {1} nesta página e {2} de {3} no total.",
timerLimitPage: "Você gastou {0} de {1} nesta página.",
timerLimitSurvey: "Gastou {0} de {1} no total.",
clearCaption: "Claro",
signaturePlaceHolder: "Assine aqui",
chooseFileCaption: "Escolher arquivo",
takePhotoCaption: "Tirar foto",
photoPlaceholder: "Clique no botão abaixo para tirar uma foto usando a câmera.",
fileOrPhotoPlaceholder: "Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera.",
replaceFileCaption: "Substituir arquivo",
removeFileCaption: "Remover este arquivo",
booleanCheckedLabel: "Sim",
booleanUncheckedLabel: "Não",
confirmRemoveFile: "Tem certeza que deseja remover este arquivo: {0}?",
confirmRemoveAllFiles: "Tem certeza que deseja remover todos os arquivos?",
questionTitlePatternText: "Título da pergunta",
modalCancelButtonText: "Cancelar",
modalApplyButtonText: "Aplicar",
filterStringPlaceholder: "Digite para pesquisar...",
emptyMessage: "Nenhum dado a ser exibido",
noEntriesText: "Ainda não há inscrições.\nClique no botão abaixo para adicionar uma nova entrada.",
noEntriesReadonlyText: "Não há entradas.",
more: "Mais",
tagboxDoneButtonCaption: "OKEY",
selectToRankEmptyRankedAreaText: "Todas as opções são classificadas",
selectToRankEmptyUnrankedAreaText: "Arraste e solte as opções aqui para classificá-las",
ok: "OKEY",
cancel: "Cancelar"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["pt-br"] = portugueseBrSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pt-br"] = "português brasileiro";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// pagePrevText: "Previous" => "Anterior"
// pageNextText: "Next" => "Próximo"
// completeText: "Complete" => "Completar"
// previewText: "Preview" => "Visualizar"
// editText: "Edit" => "Editar"
// startSurveyText: "Start" => "Começar"
// otherItemText: "Other (describe)" => "Outros (descrever)"
// noneItemText: "None" => "Nenhum"
// selectAllItemText: "Select All" => "Selecionar tudo"
// progressText: "Page {0} of {1}" => "Página {0} de {1}"
// indexText: "{0} of {1}" => "{0} de {1}"
// panelDynamicProgressText: "{0} of {1}" => "{0} de {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Painel {panelIndex}"
// questionsProgressText: "Answered {0}/{1} questions" => "Perguntas respondidas {0}/{1}"
// placeholder: "Select..." => "Selecionar..."
// ratingOptionsCaption: "Select..." => "Selecionar..."
// value: "value" => "valor"
// numericError: "The value should be numeric." => "O valor deve ser numérico."
// minError: "The value should not be less than {0}" => "O valor não deve ser inferior a {0}"
// maxError: "The value should not be greater than {0}" => "O valor não deve ser maior que {0}"
// textMinLength: "Please enter at least {0} character(s)." => "Introduza pelo menos {0} caractere(s)."
// textMaxLength: "Please enter no more than {0} character(s)." => "Introduza no máximo {0} caractere(s)."
// textMinMaxLength: "Please enter at least {0} and no more than {1} characters." => "Insira pelo menos {0} e não mais do que {1} caracteres."
// minRowCountError: "Please fill in at least {0} row(s)." => "Por favor, preencha pelo menos {0} linha(s)."
// minSelectError: "Please select at least {0} variant(s)." => "Selecione pelo menos {0} variante(s)."
// numericMinMax: "The '{0}' should be at least {1} and at most {2}" => "O \"{0}\" deve ser pelo menos {1} e no máximo {2}"
// numericMin: "The '{0}' should be at least {1}" => "O \"{0}\" deve ser pelo menos {1}"
// numericMax: "The '{0}' should be at most {1}" => "O \"{0}\" deve ser no máximo {1}"
// invalidExpression: "The expression: {0} should return 'true'." => "A expressão: {0} deve retornar 'verdadeiro'."
// exceedMaxSize: "The file size should not exceed {0}." => "O tamanho do arquivo não deve exceder {0}."
// chooseFile: "Choose file(s)..." => "Escolha o(s) arquivo(s)..."
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Arraste e solte um arquivo aqui ou clique no botão abaixo e escolha um arquivo para carregar."
// addColumn: "Add Column" => "Adicionar coluna"
// addRow: "Add Row" => "Adicionar linha"
// removeRow: "Remove" => "Retirar"
// emptyRowsText: "There are no rows." => "Não há filas."
// addPanel: "Add new" => "Adicionar novo"
// removePanel: "Remove" => "Retirar"
// choices_Item: "item" => "item"
// matrix_column: "Column" => "Coluna"
// matrix_row: "Row" => "Remar"
// multipletext_itemname: "text" => "Texto"
// saveAgainButton: "Try again" => "Tentar novamente"
// timerMin: "min" => "Min"
// timerSec: "sec" => "segundo"
// timerSpentAll: "You have spent {0} on this page and {1} in total." => "Você gastou {0} nesta página e {1} no total."
// timerSpentPage: "You have spent {0} on this page." => "Você passou {0} nesta página."
// timerSpentSurvey: "You have spent {0} in total." => "Gastou {0} no total."
// timerLimitAll: "You have spent {0} of {1} on this page and {2} of {3} in total." => "Você gastou {0} de {1} nesta página e {2} de {3} no total."
// timerLimitPage: "You have spent {0} of {1} on this page." => "Você gastou {0} de {1} nesta página."
// timerLimitSurvey: "You have spent {0} of {1} in total." => "Gastou {0} de {1} no total."
// clearCaption: "Clear" => "Claro"
// signaturePlaceHolder: "Sign here" => "Assine aqui"
// booleanCheckedLabel: "Yes" => "Sim"
// booleanUncheckedLabel: "No" => "Não"
// questionTitlePatternText: "Question Title" => "Título da pergunta"
// modalCancelButtonText: "Cancel" => "Cancelar"
// modalApplyButtonText: "Apply" => "Aplicar"
// filterStringPlaceholder: "Type to search..." => "Digite para pesquisar..."
// emptyMessage: "No data to display" => "Nenhum dado a ser exibido"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Ainda não há inscrições.\nClique no botão abaixo para adicionar uma nova entrada."
// noEntriesReadonlyText: "There are no entries." => "Não há entradas."
// more: "More" => "Mais"
// tagboxDoneButtonCaption: "OK" => "OKEY"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Todas as opções são classificadas"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Arraste e solte as opções aqui para classificá-las"// takePhotoCaption: "Take Photo" => "Tirar foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Clique no botão abaixo para tirar uma foto usando a câmera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera."
// replaceFileCaption: "Replace file" => "Substituir arquivo"// eachRowUniqueError: "Each row must have a unique value." => "Cada linha deve ter um valor exclusivo."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'."
// showDetails: "Show Details" => "Mostrar detalhes"
// hideDetails: "Hide Details" => "Ocultar detalhes"
// ok: "OK" => "OKEY"
// cancel: "Cancel" => "Cancelar"
// refuseItemText: "Refuse to answer" => "Recusar-se a responder"
// dontKnowItemText: "Don't know" => "Não sei"
/***/ }),
/***/ "./src/localization/portuguese.ts":
/*!****************************************!*\
!*** ./src/localization/portuguese.ts ***!
\****************************************/
/*! exports provided: portugueseSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "portugueseSurveyStrings", function() { return portugueseSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var portugueseSurveyStrings = {
pagePrevText: "Anterior",
pageNextText: "Próximo",
completeText: "Finalizar",
previewText: "Pré-visualização",
editText: "Editar",
startSurveyText: "Começar",
otherItemText: "Outros (descrever)",
noneItemText: "Nenhum",
refuseItemText: "Recusar-se a responder",
dontKnowItemText: "Não sei",
selectAllItemText: "Selecionar Todos",
progressText: "Página {0} de {1}",
indexText: "{0} de {1}",
panelDynamicProgressText: "Registo {0} de {1}",
panelDynamicTabTextFormat: "Painel {panelIndex}",
questionsProgressText: "Respostas {0}/{1} perguntas",
emptySurvey: "Não há página visível ou pergunta no questionário.",
completingSurvey: "Obrigado por finalizar o questionário!",
completingSurveyBefore: "Os nossos registos mostram que já finalizou o questionário.",
loadingSurvey: "O questionário está a carregar...",
placeholder: "Selecione...",
ratingOptionsCaption: "Selecione aqui para avaliar...",
value: "valor",
requiredError: "Por favor, responda à pergunta.",
requiredErrorInPanel: "Por favor, responda pelo menos a uma pergunta.",
requiredInAllRowsError: "Por favor, responda às perguntas em todas as linhas.",
eachRowUniqueError: "Cada linha deve ter um valor exclusivo.",
numericError: "O valor deve ser numérico.",
minError: "O valor não deverá ser menor que {0}",
maxError: "O valor não deverá ser maior que {0}",
textMinLength: "Por favor, insira pelo menos {0} caracteres.",
textMaxLength: "Por favor, insira menos de {0} caracteres.",
textMinMaxLength: "Por favor, insira mais de {0} e menos de {1} caracteres.",
minRowCountError: "Preencha pelo menos {0} linhas.",
minSelectError: "Selecione pelo menos {0} opções.",
maxSelectError: "Por favor, selecione no máximo {0} opções.",
numericMinMax: "O '{0}' deve ser igual ou superior a {1} e igual ou menor que {2}",
numericMin: "O '{0}' deve ser igual ou superior a {1}",
numericMax: "O '{0}' deve ser igual ou inferior a {1}",
invalidEmail: "Por favor, insira um e-mail válido.",
invalidExpression: "A expressão: {0} deve retornar 'verdadeiro'.",
urlRequestError: "O pedido retornou o erro '{0}'. {1}",
urlGetChoicesError: "O pedido não retornou dados ou o 'caminho' do pedido não está correto",
exceedMaxSize: "O tamanho do arquivo não deve exceder {0}.",
noUploadFilesHandler: "Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",
otherRequiredError: "Por favor, insira o outro valor.",
uploadingFile: "O seu ficheiro está a carregar. Por favor, aguarde alguns segundos e tente novamente.",
loadingFile: "A carregar...",
chooseFile: "Selecione o(s) arquivo(s)...",
noFileChosen: "Nenhum ficheiro escolhido",
filePlaceholder: "Arraste um ficheiro aqui ou clique no botão abaixo para carregar o ficheiro.",
confirmDelete: "Tem a certeza que deseja apagar?",
keyDuplicationError: "Este valor deve ser único.",
addColumn: "Adicionar coluna",
addRow: "Adicionar linha",
removeRow: "Remover linha",
emptyRowsText: "Não existem linhas.",
addPanel: "Adicionar novo",
removePanel: "Remover",
showDetails: "Mostrar detalhes",
hideDetails: "Ocultar detalhes",
choices_Item: "item",
matrix_column: "Coluna",
matrix_row: "Linha",
multipletext_itemname: "texto",
savingData: "Os resultados estão a ser guardados no servidor...",
savingDataError: "Ocorreu um erro e não foi possível guardar os resultados.",
savingDataSuccess: "Os resultados foram guardados com sucesso!",
saveAgainButton: "Tente novamente",
timerMin: "min",
timerSec: "seg",
timerSpentAll: "Você gastou {0} nesta página e {1} no total.",
timerSpentPage: "Você gastou {0} nesta página.",
timerSpentSurvey: "Você gastou {0} no total.",
timerLimitAll: "Você gastou {0} de {1} nesta página e {2} de {3} no total.",
timerLimitPage: "Você gastou {0} de {1} nesta página.",
timerLimitSurvey: "Você gastou {0} de {1} no total.",
clearCaption: "Limpar",
signaturePlaceHolder: "Assine aqui",
chooseFileCaption: "Escolher ficheiro",
takePhotoCaption: "Tirar foto",
photoPlaceholder: "Clique no botão abaixo para tirar uma foto usando a câmera.",
fileOrPhotoPlaceholder: "Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera.",
replaceFileCaption: "Substituir arquivo",
removeFileCaption: "Remover este ficheiro",
booleanCheckedLabel: "Sim",
booleanUncheckedLabel: "Não",
confirmRemoveFile: "Tem a certeza que deseja remover este ficheiro: {0}?",
confirmRemoveAllFiles: "Tem a certeza que deseja remover todos os ficheiros?",
questionTitlePatternText: "Título da questão",
modalCancelButtonText: "Cancelar",
modalApplyButtonText: "Aplicar",
filterStringPlaceholder: "Digite para pesquisar...",
emptyMessage: "Não existe informação a mostrar",
noEntriesText: "Ainda não existem registos.\nClique no botão abaixo para adicionar um novo registo.",
noEntriesReadonlyText: "Não há entradas.",
more: "Mais",
tagboxDoneButtonCaption: "Terminado",
selectToRankEmptyRankedAreaText: "Todas as opções são classificadas",
selectToRankEmptyUnrankedAreaText: "Arraste e solte as opções aqui para classificá-las",
ok: "OKEY",
cancel: "Cancelar"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["pt"] = portugueseSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pt"] = "português";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Painel {panelIndex}"
// noEntriesReadonlyText: "There are no entries." => "Não há entradas."
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Todas as opções são classificadas"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Arraste e solte as opções aqui para classificá-las"// takePhotoCaption: "Take Photo" => "Tirar foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Clique no botão abaixo para tirar uma foto usando a câmera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera."
// replaceFileCaption: "Replace file" => "Substituir arquivo"// eachRowUniqueError: "Each row must have a unique value." => "Cada linha deve ter um valor exclusivo."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'."
// showDetails: "Show Details" => "Mostrar detalhes"
// hideDetails: "Hide Details" => "Ocultar detalhes"
// ok: "OK" => "OKEY"
// cancel: "Cancel" => "Cancelar"
// refuseItemText: "Refuse to answer" => "Recusar-se a responder"
// dontKnowItemText: "Don't know" => "Não sei"
/***/ }),
/***/ "./src/localization/romanian.ts":
/*!**************************************!*\
!*** ./src/localization/romanian.ts ***!
\**************************************/
/*! exports provided: romanianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "romanianSurveyStrings", function() { return romanianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var romanianSurveyStrings = {
pagePrevText: "Precedent",
pageNextText: "Următor",
completeText: "Finalizare",
previewText: "previzualizare",
editText: "Editați",
startSurveyText: "start",
otherItemText: "Altul(precizaţi)",
noneItemText: "Nici unul",
refuseItemText: "Refuză să răspundă",
dontKnowItemText: "Nu ştiu",
selectAllItemText: "Selectează tot",
progressText: "Pagina {0} din {1}",
indexText: "{0} de {1}",
panelDynamicProgressText: "Înregistrare {0} din {1}",
panelDynamicTabTextFormat: "Panou {panelIndex}",
questionsProgressText: "Răspunsuri la {0} / {1} întrebări",
emptySurvey: "Nu sunt întrebări pentru acest chestionar",
completingSurvey: "Vă mulţumim pentru timpul acordat!",
completingSurveyBefore: "Din înregistrările noastre reiese că ați completat deja acest chestionar.",
loadingSurvey: "Chestionarul se încarcă...",
placeholder: "Alegeţi...",
ratingOptionsCaption: "Alege...",
value: "valoare",
requiredError: "Răspunsul la această întrebare este obligatoriu.",
requiredErrorInPanel: "Vă rugăm să răspundeți la cel puțin o întrebare.",
requiredInAllRowsError: "Toate răspunsurile sunt obligatorii",
eachRowUniqueError: "Fiecare rând trebuie să aibă o valoare unică.",
numericError: "Răspunsul trebuie să fie numeric.",
minError: "Valoarea nu trebuie să fie mai mică de {0}",
maxError: "Valoarea nu trebuie să fie mai mare de {0}",
textMinLength: "Trebuie să introduceți minim {0} caractere.",
textMaxLength: "Trebuie să introduceți maxim {0} caractere.",
textMinMaxLength: "Trebuie să introduceți mai mult de {0} și mai puțin de {1} caractere.",
minRowCountError: "Trebuie să completați minim {0} rânduri.",
minSelectError: "Trebuie să selectați minim {0} opţiuni.",
maxSelectError: "Trebuie să selectați maxim {0} opţiuni.",
numericMinMax: "Răspunsul '{0}' trebuie să fie mai mare sau egal ca {1} şî mai mic sau egal cu {2}",
numericMin: "Răspunsul '{0}' trebuie să fie mai mare sau egal ca {1}",
numericMax: "Răspunsul '{0}' trebuie să fie mai mic sau egal ca {1}",
invalidEmail: "Trebuie să introduceţi o adresa de email validă.",
invalidExpression: "Expresia: {0} ar trebui să returneze „adevărat”.",
urlRequestError: "Request-ul a returnat eroarea '{0}'. {1}",
urlGetChoicesError: "Request-ul nu a returnat date sau proprietatea 'path' este incorectă",
exceedMaxSize: "Dimensiunea fişierului nu trebuie să depăşească {0}.",
noUploadFilesHandler: "Fișierele nu pot fi încărcate. Vă rugăm să adăugați un handler pentru evenimentul \"onUploadFiles\".",
otherRequiredError: "Trebuie să completați câmpul 'Altul'.",
uploadingFile: "Fișierul dumneavoastră este în curs de încărcare. Vă rugăm așteptați câteva secunde și reveniți apoi.",
loadingFile: "Se încarcă...",
chooseFile: "Alege fisierele...",
noFileChosen: "Niciun fișier ales",
filePlaceholder: "Glisați și fixați un fișier aici sau faceți clic pe butonul de mai jos și alegeți un fișier de încărcat.",
confirmDelete: "Sunteți sigur că doriți să ștergeți înregistrarea?",
keyDuplicationError: "Valoarea trebuie să fie unică.",
addColumn: "Adăugați coloană",
addRow: "Adăugare rând",
removeRow: "Ștergere",
emptyRowsText: "Nu există rânduri.",
addPanel: "Adăugare",
removePanel: "Ștergere",
showDetails: "Arată detalii",
hideDetails: "Ascunde detalii",
choices_Item: "opțiune",
matrix_column: "Coloană",
matrix_row: "Rând",
multipletext_itemname: "Text",
savingData: "Rezultatele sunt în curs de salvare...",
savingDataError: "A intervenit o eroare, rezultatele nu au putut fi salvate.",
savingDataSuccess: "Rezultatele au fost salvate cu succes!",
saveAgainButton: "Încercați din nou",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Ați petrecut {0} pe această pagină și {1} în total.",
timerSpentPage: "Ați petrecut {0} pe această pagină.",
timerSpentSurvey: "Ați petrecut {0} în total.",
timerLimitAll: "Ați petrecut {0} din {1} pe această pagină și {2} din {3} în total.",
timerLimitPage: "Ați petrecut {0} din {1} pe această pagină.",
timerLimitSurvey: "Ați petrecut {0} din {1} în total.",
clearCaption: "clar",
signaturePlaceHolder: "Semnează aici",
chooseFileCaption: "Alege fișierul",
takePhotoCaption: "Faceți o fotografie",
photoPlaceholder: "Faceți clic pe butonul de mai jos pentru a face o fotografie folosind camera.",
fileOrPhotoPlaceholder: "Glisați și fixați sau selectați un fișier pentru a încărca sau a face o fotografie folosind camera.",
replaceFileCaption: "Înlocuire fișier",
removeFileCaption: "Eliminați acest fișier",
booleanCheckedLabel: "da",
booleanUncheckedLabel: "Nu",
confirmRemoveFile: "Sigur doriți să eliminați acest fișier: {0}?",
confirmRemoveAllFiles: "Sigur doriți să eliminați toate fișierele?",
questionTitlePatternText: "Titlul intrebarii",
modalCancelButtonText: "Anula",
modalApplyButtonText: "Aplica",
filterStringPlaceholder: "Tastați pentru a căuta...",
emptyMessage: "Nu există date de afișat",
noEntriesText: "Nu există încă intrări.\nFaceți clic pe butonul de mai jos pentru a adăuga o intrare nouă.",
noEntriesReadonlyText: "Nu există intrări.",
more: "Mai mult",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Toate opțiunile sunt clasificate",
selectToRankEmptyUnrankedAreaText: "Glisați și fixați opțiunile aici pentru a le clasifica",
ok: "OK",
cancel: "Anula"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ro"] = romanianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ro"] = "română";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} de {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panou {panelIndex}"
// ratingOptionsCaption: "Select..." => "Alege..."
// minError: "The value should not be less than {0}" => "Valoarea nu trebuie să fie mai mică de {0}"
// maxError: "The value should not be greater than {0}" => "Valoarea nu trebuie să fie mai mare de {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Glisați și fixați un fișier aici sau faceți clic pe butonul de mai jos și alegeți un fișier de încărcat."
// emptyRowsText: "There are no rows." => "Nu există rânduri."
// multipletext_itemname: "text" => "Text"
// signaturePlaceHolder: "Sign here" => "Semnează aici"
// modalCancelButtonText: "Cancel" => "Anula"
// modalApplyButtonText: "Apply" => "Aplica"
// filterStringPlaceholder: "Type to search..." => "Tastați pentru a căuta..."
// emptyMessage: "No data to display" => "Nu există date de afișat"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Nu există încă intrări.\nFaceți clic pe butonul de mai jos pentru a adăuga o intrare nouă."
// noEntriesReadonlyText: "There are no entries." => "Nu există intrări."
// more: "More" => "Mai mult"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Toate opțiunile sunt clasificate"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Glisați și fixați opțiunile aici pentru a le clasifica"// takePhotoCaption: "Take Photo" => "Faceți o fotografie"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Faceți clic pe butonul de mai jos pentru a face o fotografie folosind camera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Glisați și fixați sau selectați un fișier pentru a încărca sau a face o fotografie folosind camera."
// replaceFileCaption: "Replace file" => "Înlocuire fișier"// eachRowUniqueError: "Each row must have a unique value." => "Fiecare rând trebuie să aibă o valoare unică."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Fișierele nu pot fi încărcate. Vă rugăm să adăugați un handler pentru evenimentul \"onUploadFiles\"."
// showDetails: "Show Details" => "Arată detalii"
// hideDetails: "Hide Details" => "Ascunde detalii"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Anula"
// refuseItemText: "Refuse to answer" => "Refuză să răspundă"
// dontKnowItemText: "Don't know" => "Nu ştiu"
/***/ }),
/***/ "./src/localization/russian.ts":
/*!*************************************!*\
!*** ./src/localization/russian.ts ***!
\*************************************/
/*! exports provided: russianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "russianSurveyStrings", function() { return russianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var russianSurveyStrings = {
pagePrevText: "Назад",
pageNextText: "Далее",
completeText: "Готово",
previewText: "Предварительный просмотр",
editText: "Редактирование",
startSurveyText: "Начать",
otherItemText: "Другое (пожалуйста, опишите)",
noneItemText: "Нет",
refuseItemText: "Отказываюсь отвечать",
dontKnowItemText: "Не знаю",
selectAllItemText: "Выбрать всё",
progressText: "Страница {0} из {1}",
indexText: "{0} из {1}",
panelDynamicProgressText: "Запись {0} из {1}",
panelDynamicTabTextFormat: "Панель {panelIndex}",
questionsProgressText: "Oтвечено на {0}/{1} вопросов",
emptySurvey: "Нет ни одного вопроса.",
completingSurvey: "Благодарим Вас за заполнение анкеты!",
completingSurveyBefore: "Вы уже проходили этот опрос.",
loadingSurvey: "Загрузка с сервера...",
placeholder: "Выбрать...",
ratingOptionsCaption: "Нажмите здесь, чтобы оценить...",
value: "значение",
requiredError: "Пожалуйста, ответьте на вопрос.",
requiredErrorInPanel: "Пожалуйста, ответьте по крайней мере на один вопрос.",
requiredInAllRowsError: "Пожалуйста, ответьте на вопросы в каждой строке.",
eachRowUniqueError: "Каждая строка должна иметь уникальное значение.",
numericError: "Ответ должен быть числом.",
minError: "Значение не должно быть меньше {0}.",
maxError: "Значение не должно превышать {0}.",
textMinLength: "Пожалуйста введите больше {0} символов.",
textMaxLength: "Пожалуйста введите меньше {0} символов.",
textMinMaxLength: "Пожалуйста введите больше {0} и меньше {1} символов.",
minRowCountError: "Пожалуйста, заполните не меньше {0} строк.",
minSelectError: "Пожалуйста, выберите хотя бы {0} вариантов.",
maxSelectError: "Пожалуйста, выберите не более {0} вариантов.",
numericMinMax: "'{0}' должно быть не меньше чем {1}, и не больше чем {2}",
numericMin: "'{0}' должно быть не меньше чем {1}",
numericMax: "'{0}' должно быть не больше чем {1}",
invalidEmail: "Пожалуйста, введите действительный адрес электронной почты.",
invalidExpression: "Выражение {0} должно возвращать 'true'.",
urlRequestError: "Запрос вернул ошибку '{0}'. {1}",
urlGetChoicesError: "Ответ на запрос пришел пустой или свойство 'path' указано неверно",
exceedMaxSize: "Размер файла не должен превышать {0}.",
noUploadFilesHandler: "Файлы не могут быть загружены. Пожалуйста, добавьте обработчик для события 'onUploadFiles'.",
otherRequiredError: "Пожалуйста, введите данные в поле 'Другое'",
uploadingFile: "Ваш файл загружается. Подождите несколько секунд и попробуйте снова.",
loadingFile: "Загрузка...",
chooseFile: "Выберите файл(ы)...",
noFileChosen: "Файл не выбран",
filePlaceholder: "Перетащите файл сюда или нажмите кнопку ниже, чтобы загрузить файл.",
confirmDelete: "Вы точно хотите удалить запись?",
keyDuplicationError: "Это значение должно быть уникальным.",
addColumn: "Добавить колонку",
addRow: "Добавить строку",
removeRow: "Удалить",
emptyRowsText: "Рядов нет.",
addPanel: "Добавить новую",
removePanel: "Удалить",
showDetails: "Показать подробности",
hideDetails: "Скрыть подробности",
choices_Item: "Вариант",
matrix_column: "Колонка",
matrix_row: "Строка",
multipletext_itemname: "текст",
savingData: "Результаты сохраняются на сервер...",
savingDataError: "Произошла ошибка, результат не был сохранён.",
savingDataSuccess: "Результат успешно сохранён!",
saveAgainButton: "Попробовать снова",
timerMin: "мин",
timerSec: "сек",
timerSpentAll: "Вы потратили {0} на этой странице и {1} всего.",
timerSpentPage: "Вы потратили {0} на этой странице.",
timerSpentSurvey: "Вы потратили {0} в течение теста.",
timerLimitAll: "Вы потратили {0} из {1} на этой странице и {2} из {3} для всего теста.",
timerLimitPage: "Вы потратили {0} из {1} на этой странице.",
timerLimitSurvey: "Вы потратили {0} из {1} для всего теста.",
clearCaption: "Очистить",
signaturePlaceHolder: "Подпишите здесь",
chooseFileCaption: "Выберите файл",
takePhotoCaption: "Сделать фото",
photoPlaceholder: "Нажмите кнопку ниже, чтобы сделать снимок с помощью камеры.",
fileOrPhotoPlaceholder: "Перетащите или выберите файл для загрузки или съемки с помощью камеры.",
replaceFileCaption: "Заменить файл",
removeFileCaption: "Удалить файл",
booleanCheckedLabel: "Да",
booleanUncheckedLabel: "Нет",
confirmRemoveFile: "Вы уверены, что хотите удалить этот файл: {0}?",
confirmRemoveAllFiles: "Вы уверены, что хотите удалить все файлы?",
questionTitlePatternText: "Название вопроса",
modalCancelButtonText: "Отменить",
modalApplyButtonText: "Применять",
filterStringPlaceholder: "Введите для поиска...",
emptyMessage: "Нет данных для отображения",
noEntriesText: "Пока нет записей.\nНажмите кнопку ниже, чтобы добавить новую запись.",
noEntriesReadonlyText: "Записей нет.",
more: "Больше",
tagboxDoneButtonCaption: "Хорошо",
selectToRankEmptyRankedAreaText: "Все варианты ранжируются",
selectToRankEmptyUnrankedAreaText: "Перетащите сюда варианты, чтобы ранжировать их",
ok: "Хорошо",
cancel: "Отмена"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ru"] = russianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ru"] = "русский";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Панель {panelIndex}"
// emptyMessage: "No data to display" => "Нет данных для отображения"
// noEntriesReadonlyText: "There are no entries." => "Записей нет."
// more: "More" => "Больше"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Все варианты ранжируются"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Перетащите сюда варианты, чтобы ранжировать их"// takePhotoCaption: "Take Photo" => "Сделать фото"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Нажмите кнопку ниже, чтобы сделать снимок с помощью камеры."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Перетащите или выберите файл для загрузки или съемки с помощью камеры."
// replaceFileCaption: "Replace file" => "Заменить файл"// eachRowUniqueError: "Each row must have a unique value." => "Каждая строка должна иметь уникальное значение."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Файлы не могут быть загружены. Пожалуйста, добавьте обработчик для события 'onUploadFiles'."
// showDetails: "Show Details" => "Показать подробности"
// hideDetails: "Hide Details" => "Скрыть подробности"
// cancel: "Cancel" => "Отмена"
/***/ }),
/***/ "./src/localization/serbian.ts":
/*!*************************************!*\
!*** ./src/localization/serbian.ts ***!
\*************************************/
/*! exports provided: serbianStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "serbianStrings", function() { return serbianStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var serbianStrings = {
pagePrevText: "Nazad",
pageNextText: "Dalje",
completeText: "Završi",
previewText: "Pregledaj",
editText: "Izmeni",
startSurveyText: "Započni",
otherItemText: "Drugo (upiši)",
noneItemText: "Ništa",
refuseItemText: "Odbijanje odgovora",
dontKnowItemText: "Ne znam",
selectAllItemText: "Izaberi sve",
progressText: "Stranica {0} od {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Upis {0} od {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Odgovoreno na {0}/{1} pitanja",
emptySurvey: "Nema vidljivih stranica ili pitanja u anketi.",
completingSurvey: "Hvala na popunjavanju ankete!",
completingSurveyBefore: "Prema našim podacima, već ste popunili ovu anketu.",
loadingSurvey: "Učitavam anketu...",
placeholder: "Izaberi...",
ratingOptionsCaption: "Izaberite...",
value: "vrednost",
requiredError: "Molimo odgovorite na ovo pitanje.",
requiredErrorInPanel: "Molimo odgovorite na bar jedno pitanje.",
requiredInAllRowsError: "Molimo odgovorite na pitanja u svim redovima.",
eachRowUniqueError: "Svaki red mora imati jedinstvenu vrednost.",
numericError: "Vrednost bi trebalo da bude numerička.",
minError: "Vrednost ne bi trebalo da bude manja od {0}",
maxError: "Vrednost ne bi trebalo da bude veća od {0}",
textMinLength: "Molimo unesite bar {0} znak(ov)a.",
textMaxLength: "Molimo unesite najviše {0} znak(ov)a.",
textMinMaxLength: "Molimo unesite najmanje {0} i ne više od {1} znak(ov)a.",
minRowCountError: "Molimo popunite najmanje {0} red(ova).",
minSelectError: "Molimo izaberite najmanje {0} opcija/e.",
maxSelectError: "Molimo izaberite najviše {0} opcija/e.",
numericMinMax: "'{0}' bi trebalo da bude najmanje {1} i najviše {2}",
numericMin: "'{0}' bi trebalo da bude najmanje {1}",
numericMax: "'{0}' bi trebalo da bude najviše {1}",
invalidEmail: "Molimo unesite ispravnu e-mail adresu.",
invalidExpression: "Izraz: {0} bi trebalo da bude tačan.",
urlRequestError: "Zahtev je naišao na grešku '{0}'. {1}",
urlGetChoicesError: "Zahtev nije pronašao podatke, ili je putanja netačna",
exceedMaxSize: "Veličina fajla ne bi trebalo da prelazi {0}.",
noUploadFilesHandler: "Nije moguće otpremiti datoteke. Dodajte rukovaoca za događaj \"onUploadFiles\".",
otherRequiredError: "Molimo unesite drugu vrednost.",
uploadingFile: "Fajl se šalje. Molimo sačekajte neko vreme i pokušajte ponovo.",
loadingFile: "Učitavanje...",
chooseFile: "Izaberite fajlove...",
noFileChosen: "Nije izabran nijedan fajl",
filePlaceholder: "Prevucite i otpustite datoteku ovde ili kliknite na dugme ispod i odaberite datoteku za otpremanje.",
confirmDelete: "Da li želite da izbrišete unos?",
keyDuplicationError: "Ova vrednost treba da bude jedinstvena.",
addColumn: "Dodaj kolonu",
addRow: "Dodaj red",
removeRow: "Ukloni",
emptyRowsText: "Nema redova.",
addPanel: "Dodaj novo",
removePanel: "Ukloni",
showDetails: "Prikaži detalje",
hideDetails: "Sakrij detalje",
choices_Item: "stavka",
matrix_column: "Kolona",
matrix_row: "Red",
multipletext_itemname: "tekst",
savingData: "U toku je čuvanje podataka na serveru...",
savingDataError: "Došlo je do greške i rezultati nisu sačuvani.",
savingDataSuccess: "Rezultati su uspešno sačuvani!",
saveAgainButton: "Pokušajte ponovo",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Proveli ste {0} na ovoj stranici i {1} ukupno.",
timerSpentPage: "Proveli ste {0} na ovoj stranici.",
timerSpentSurvey: "Proveli ste {0} ukupno.",
timerLimitAll: "Proveli ste {0} od {1} na ovoj stranici i {2} od {3} ukupno.",
timerLimitPage: "Proveli ste {0} od {1} na ovoj stranici.",
timerLimitSurvey: "Proveli ste {0} od {1} ukupno.",
clearCaption: "Poništi",
signaturePlaceHolder: "Potpišite ovde",
chooseFileCaption: "Izaberi fajl",
takePhotoCaption: "Fotografisanje",
photoPlaceholder: "Kliknite na dugme ispod da biste snimili fotografiju pomoću fotoaparata.",
fileOrPhotoPlaceholder: "Prevucite i otpustite ili izaberite datoteku za otpremanje ili snimanje fotografije pomoću fotoaparata.",
replaceFileCaption: "Zameni datoteku",
removeFileCaption: "Ukloni ovaj fajl",
booleanCheckedLabel: "Da",
booleanUncheckedLabel: "Ne",
confirmRemoveFile: "Da li ste sigurni da želite da uklonite ovaj fajl: {0}?",
confirmRemoveAllFiles: "Da li ste sigurni da želite da uklonite sve fajlove?",
questionTitlePatternText: "Naslov pitanja",
modalCancelButtonText: "Otkaži",
modalApplyButtonText: "Primeni",
filterStringPlaceholder: "Otkucajte da biste pretražili...",
emptyMessage: "Nema podataka za prikazivanje",
noEntriesText: "Još uvek nema stavki.\nKliknite na dugme ispod da biste dodali novu stavku.",
noEntriesReadonlyText: "Nema stavki.",
more: "Viљe",
tagboxDoneButtonCaption: "U redu",
selectToRankEmptyRankedAreaText: "Svi izbori su rangirani",
selectToRankEmptyUnrankedAreaText: "Prevucite i otpustite izbor ovde da biste ih rangirali",
ok: "U redu",
cancel: "Otkaži"
};
//Uncomment these two lines on creating a translation file. You should replace "en" and enStrings with your locale ("fr", "de" and so on) and your variable.
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["rs"] = serbianStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["rs"] = "Srpski";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Izaberite..."
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Prevucite i otpustite datoteku ovde ili kliknite na dugme ispod i odaberite datoteku za otpremanje."
// signaturePlaceHolder: "Sign here" => "Potpišite ovde"
// filterStringPlaceholder: "Type to search..." => "Otkucajte da biste pretražili..."
// emptyMessage: "No data to display" => "Nema podataka za prikazivanje"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Još uvek nema stavki.\nKliknite na dugme ispod da biste dodali novu stavku."
// noEntriesReadonlyText: "There are no entries." => "Nema stavki."
// more: "More" => "Viљe"
// tagboxDoneButtonCaption: "OK" => "U redu"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Svi izbori su rangirani"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Prevucite i otpustite izbor ovde da biste ih rangirali"// takePhotoCaption: "Take Photo" => "Fotografisanje"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kliknite na dugme ispod da biste snimili fotografiju pomoću fotoaparata."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Prevucite i otpustite ili izaberite datoteku za otpremanje ili snimanje fotografije pomoću fotoaparata."
// replaceFileCaption: "Replace file" => "Zameni datoteku"// eachRowUniqueError: "Each row must have a unique value." => "Svaki red mora imati jedinstvenu vrednost."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Nije moguće otpremiti datoteke. Dodajte rukovaoca za događaj \"onUploadFiles\"."
// showDetails: "Show Details" => "Prikaži detalje"
// hideDetails: "Hide Details" => "Sakrij detalje"
// ok: "OK" => "U redu"
// cancel: "Cancel" => "Otkaži"
// refuseItemText: "Refuse to answer" => "Odbijanje odgovora"
// dontKnowItemText: "Don't know" => "Ne znam"
/***/ }),
/***/ "./src/localization/simplified-chinese.ts":
/*!************************************************!*\
!*** ./src/localization/simplified-chinese.ts ***!
\************************************************/
/*! exports provided: simplifiedChineseSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "simplifiedChineseSurveyStrings", function() { return simplifiedChineseSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var simplifiedChineseSurveyStrings = {
pagePrevText: "上一页",
pageNextText: "下一页",
completeText: "提交问卷",
previewText: "预览",
editText: "编辑",
startSurveyText: "开始问卷",
otherItemText: "填写其他答案",
noneItemText: "无",
refuseItemText: "拒绝回答",
dontKnowItemText: "不知道",
selectAllItemText: "选择全部",
progressText: "第 {0} 页, 共 {1} 页",
indexText: "{1}{0}",
panelDynamicProgressText: "{0} of {1}",
panelDynamicTabTextFormat: "面板 {面板索引}",
questionsProgressText: "第 {0}/{1} 题",
emptySurvey: "问卷中没有问题或页面",
completingSurvey: "感谢您的参与!",
completingSurveyBefore: "你已完成问卷.",
loadingSurvey: "问卷正在加载中...",
placeholder: "请选择...",
ratingOptionsCaption: "选择。。。",
value: "值",
requiredError: "请填写此问题",
requiredErrorInPanel: "至少回答一题.",
requiredInAllRowsError: "请填写所有行中问题",
eachRowUniqueError: "每行必须具有唯一值。",
numericError: "答案必须是个数字",
minError: "该值不能小于 {0}",
maxError: "该值不能大于 {0}",
textMinLength: "答案长度至少 {0} 个字符",
textMaxLength: "答案长度不能超过 {0} 个字符",
textMinMaxLength: "答案长度必须在 {0} - {1} 个字符之间",
minRowCountError: "最少需要填写 {0} 行答案",
minSelectError: "最少需要选择 {0} 项答案",
maxSelectError: "最多只能选择 {0} 项答案",
numericMinMax: "答案 '{0}' 必须大于等于 {1} 且小于等于 {2}",
numericMin: "答案 '{0}' 必须大于等于 {1}",
numericMax: "答案 '{0}' 必须小于等于 {1}",
invalidEmail: "请输入有效的 Email 地址",
invalidExpression: "公式: {0} 无效.",
urlRequestError: "载入选项时发生错误 '{0}': {1}",
urlGetChoicesError: "未能载入有效的选项或请求参数路径有误",
exceedMaxSize: "文件大小不能超过 {0}",
noUploadFilesHandler: "无法上传文件。请为“onUploadFiles”事件添加处理程序。",
otherRequiredError: "请完成其他问题",
uploadingFile: "文件上传中... 请耐心等待几秒后重试",
loadingFile: "加载...",
chooseFile: "选择文件...",
noFileChosen: "未选择文件",
filePlaceholder: "将文件拖放到此处或单击下面的按钮并选择要上传的文件。",
confirmDelete: "删除记录?",
keyDuplicationError: "主键不能重复",
addColumn: "添加列",
addRow: "添加行",
removeRow: "删除答案",
emptyRowsText: "无内容",
addPanel: "新添",
removePanel: "删除",
showDetails: "显示详细信息",
hideDetails: "隐藏详细信息",
choices_Item: "选项",
matrix_column: "列",
matrix_row: "行",
multipletext_itemname: "文本",
savingData: "正在将结果保存到服务器...",
savingDataError: "在保存结果过程中发生了错误,结果未能保存",
savingDataSuccess: "结果保存成功!",
saveAgainButton: "请重试",
timerMin: "分",
timerSec: "秒",
timerSpentAll: "本页用时 {0} 总计用时{1} .",
timerSpentPage: "本页用时{0} .",
timerSpentSurvey: "总计用时 {0} .",
timerLimitAll: "本页用时 {0} 共 {1}, 总计用时 {2} 共 {3} .",
timerLimitPage: "本页用时 {0} 共 {1} .",
timerLimitSurvey: "总计用时 {0} 共 {1}.",
clearCaption: "清除",
signaturePlaceHolder: "在此签名",
chooseFileCaption: "选择文件",
takePhotoCaption: "拍照",
photoPlaceholder: "单击下面的按钮使用相机拍照。",
fileOrPhotoPlaceholder: "拖放或选择要上传的文件或使用相机拍摄照片。",
replaceFileCaption: "替换文件",
removeFileCaption: "移除文件",
booleanCheckedLabel: "是",
booleanUncheckedLabel: "否",
confirmRemoveFile: "删除文件: {0}?",
confirmRemoveAllFiles: "删除所有文件?",
questionTitlePatternText: "标题",
modalCancelButtonText: "取消",
modalApplyButtonText: "确定",
filterStringPlaceholder: "键入以搜索...",
emptyMessage: "没有要显示的数据",
noEntriesText: "尚无条目。\n单击下面的按钮以添加新条目。",
noEntriesReadonlyText: "没有条目。",
more: "更多",
tagboxDoneButtonCaption: "还行",
selectToRankEmptyRankedAreaText: "所有选择均已排名",
selectToRankEmptyUnrankedAreaText: "将选项拖放到此处进行排名",
ok: "还行",
cancel: "取消"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["zh-cn"] = simplifiedChineseSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["zh-cn"] = "简体中文";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{1}{0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "面板 {面板索引}"
// ratingOptionsCaption: "Select..." => "选择。。。"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "将文件拖放到此处或单击下面的按钮并选择要上传的文件。"
// signaturePlaceHolder: "Sign here" => "在此签名"
// filterStringPlaceholder: "Type to search..." => "键入以搜索..."
// emptyMessage: "No data to display" => "没有要显示的数据"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "尚无条目。\n单击下面的按钮以添加新条目。"
// noEntriesReadonlyText: "There are no entries." => "没有条目。"
// more: "More" => "更多"
// tagboxDoneButtonCaption: "OK" => "还行"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "所有选择均已排名"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "将选项拖放到此处进行排名"// takePhotoCaption: "Take Photo" => "拍照"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "单击下面的按钮使用相机拍照。"
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "拖放或选择要上传的文件或使用相机拍摄照片。"
// replaceFileCaption: "Replace file" => "替换文件"// eachRowUniqueError: "Each row must have a unique value." => "每行必须具有唯一值。"
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "无法上传文件。请为“onUploadFiles”事件添加处理程序。"
// showDetails: "Show Details" => "显示详细信息"
// hideDetails: "Hide Details" => "隐藏详细信息"
// ok: "OK" => "还行"
// cancel: "Cancel" => "取消"
// refuseItemText: "Refuse to answer" => "拒绝回答"
// dontKnowItemText: "Don't know" => "不知道"
/***/ }),
/***/ "./src/localization/slovak.ts":
/*!************************************!*\
!*** ./src/localization/slovak.ts ***!
\************************************/
/*! exports provided: slovakSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slovakSurveyStrings", function() { return slovakSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var slovakSurveyStrings = {
pagePrevText: "Predchádzajúca",
pageNextText: "Ďalej",
completeText: "Dokončené",
previewText: "Ukážka",
editText: "Upraviť",
startSurveyText: "Spustiť",
otherItemText: "Iné (opíšte)",
noneItemText: "Žiadne",
refuseItemText: "Odmietnuť odpovedať",
dontKnowItemText: "Neviem",
selectAllItemText: "Vybrať všetky",
progressText: "Strana {0} z {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Záznam {0} z {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Zodpovedané otázky {0}/{1}",
emptySurvey: "V prieskume nie je žiadna vidieľná stránka ani otázka.",
completingSurvey: "Ďakujeme vám za dokončenie prieskumu.",
completingSurveyBefore: "Podľa našich záznamov ste už tento prieskum dokončili.",
loadingSurvey: "Načítanie prieskumu...",
placeholder: "Vybrať...",
ratingOptionsCaption: "Vybrať...",
value: "hodnota",
requiredError: "Požaduje sa odozva.",
requiredErrorInPanel: "Požaduje sa odozva: zodpovedajte aspoň jednu otázku.",
requiredInAllRowsError: "Požaduje sa odozva: zodpovedajte otázky vo všetkých riadkoch.",
eachRowUniqueError: "Každý riadok musí mať jedinečnú hodnotu.",
numericError: "Hodnota má byť číselná.",
minError: "Hodnota nemá byť nižšia než {0}",
maxError: "Hodnota nemá byť vyššia než {0}",
textMinLength: "Zadajte aspoň {0} znak(-y/-ov).",
textMaxLength: "Nezadávajte viac než {0} znak(-y/-ov).",
textMinMaxLength: "Zadajte aspoň {0} a nie viac než {1} znaky(-ov).",
minRowCountError: "Vyplňte aspoň {0} riadok(-y/-ov).",
minSelectError: "Vyberte aspoň {0} variant(-y/-ov).",
maxSelectError: "Nevyberajte viac než {0} variant(-y/-ov).",
numericMinMax: "„{0}“ má byť minimálne {1} a maximálne {2}",
numericMin: "„{0}“ má byť minimálne {1}",
numericMax: "„{0}“ má byť maximálne {1}",
invalidEmail: "Zadajte platnú e-mailovú adresu.",
invalidExpression: "Výraz: {0} má vrátiť hodnotu „true“.",
urlRequestError: "Požiadavky vrátila hodnotu „{0}“. {1}",
urlGetChoicesError: "Požiadavka vrátila prázdne údaje alebo je vlastnosť „cesta“ nesprávna",
exceedMaxSize: "Veľkosť súboru nemá prekročiť {0}.",
noUploadFilesHandler: "Súbory nie je možné nahrať. Pridajte obslužný program pre udalosť \"onUploadFiles\".",
otherRequiredError: "Požaduje sa odozva: zadajte inú hodnotu.",
uploadingFile: "Súbor sa odovzdáva. Počkajte niekoľko sekúnd a skúste to znova.",
loadingFile: "Načítanie...",
chooseFile: "Vyberte súbor(-y)...",
noFileChosen: "Žiadny vybratý súbor",
filePlaceholder: "Presuňte súbor sem alebo kliknite na nasledujúce tlačidlo a načítajte súbor.",
confirmDelete: "Chcete záznam odstrániť?",
keyDuplicationError: "Táto hodnota má byť jedinečná.",
addColumn: "Pridať stĺpec",
addRow: "Pridať riadok",
removeRow: "Odstrániť",
emptyRowsText: "K dispozícii nie sú žiadne riadky.",
addPanel: "Pridať nové",
removePanel: "Odstrániť",
showDetails: "Zobraziť podrobnosti",
hideDetails: "Skryť podrobnosti",
choices_Item: "položka",
matrix_column: "Stĺpec",
matrix_row: "Riadok",
multipletext_itemname: "text",
savingData: "Výsledky sa ukladajú na server...",
savingDataError: "V dôsledku chyby sa nepodarilo výsledky uložiť.",
savingDataSuccess: "Výsledky sa úspešne uložili.",
saveAgainButton: "Skúste to znova",
timerMin: "min",
timerSec: "s",
timerSpentAll: "Na tejto stránke ste strávili {0} a celkovo {1}.",
timerSpentPage: "Na tejto stránke ste strávili {0}.",
timerSpentSurvey: "Celkovo ste strávili {0}.",
timerLimitAll: "Na tejto stránke ste strávili {0} z {1} a celkovo {2} z {3}.",
timerLimitPage: "Na tejto stránke ste strávili {0} z {1}.",
timerLimitSurvey: "Celkovo ste strávili {0} z {1}.",
clearCaption: "Vymazať",
signaturePlaceHolder: "Podpísať tu",
chooseFileCaption: "Vybrať súbor",
takePhotoCaption: "Odfotiť",
photoPlaceholder: "Kliknutím na tlačidlo nižšie nasnímate fotografiu pomocou fotoaparátu.",
fileOrPhotoPlaceholder: "Presuňte myšou alebo vyberte súbor, ktorý chcete nahrať alebo nasnímať fotografiu pomocou fotoaparátu.",
replaceFileCaption: "Nahradenie súboru",
removeFileCaption: "Odstrániť tento súbor",
booleanCheckedLabel: "Áno",
booleanUncheckedLabel: "Nie",
confirmRemoveFile: "Naozaj chcete odstrániť tento súbor: {0}?",
confirmRemoveAllFiles: "Naozaj chcete odstrániť všetky súbory?",
questionTitlePatternText: "Titul otázky",
modalCancelButtonText: "Zrušiť",
modalApplyButtonText: "Použiť",
filterStringPlaceholder: "Vyhľadávanie písaním...",
emptyMessage: "Žiadne údaje na zobrazenie",
noEntriesText: "K dispozícii ešte nie sú žiadne zadania.\nKliknutím na nasledujúce tlačidlo pridajte nové zadanie.",
noEntriesReadonlyText: "Nie sú k dispozícii žiadne záznamy.",
more: "Viacej",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Všetky možnosti sú zoradené",
selectToRankEmptyUnrankedAreaText: "Presuňte sem voľby, aby ste ich zoradili",
ok: "OK",
cancel: "Zrušiť"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["sk"] = slovakSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sk"] = "slovak";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Vybrať..."
// emptyMessage: "No data to display" => "Žiadne údaje na zobrazenie"
// noEntriesReadonlyText: "There are no entries." => "Nie sú k dispozícii žiadne záznamy."
// more: "More" => "Viacej"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Všetky možnosti sú zoradené"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Presuňte sem voľby, aby ste ich zoradili"// takePhotoCaption: "Take Photo" => "Odfotiť"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kliknutím na tlačidlo nižšie nasnímate fotografiu pomocou fotoaparátu."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Presuňte myšou alebo vyberte súbor, ktorý chcete nahrať alebo nasnímať fotografiu pomocou fotoaparátu."
// replaceFileCaption: "Replace file" => "Nahradenie súboru"// eachRowUniqueError: "Each row must have a unique value." => "Každý riadok musí mať jedinečnú hodnotu."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Súbory nie je možné nahrať. Pridajte obslužný program pre udalosť \"onUploadFiles\"."
// showDetails: "Show Details" => "Zobraziť podrobnosti"
// hideDetails: "Hide Details" => "Skryť podrobnosti"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Zrušiť"
// refuseItemText: "Refuse to answer" => "Odmietnuť odpovedať"
// dontKnowItemText: "Don't know" => "Neviem"
/***/ }),
/***/ "./src/localization/spanish.ts":
/*!*************************************!*\
!*** ./src/localization/spanish.ts ***!
\*************************************/
/*! exports provided: spanishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "spanishSurveyStrings", function() { return spanishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var spanishSurveyStrings = {
pagePrevText: "Anterior",
pageNextText: "Siguiente",
completeText: "Completar",
previewText: "Vista previa",
editText: "Edita",
startSurveyText: "Comienza",
otherItemText: "Otro (describa)",
noneItemText: "Ninguno",
refuseItemText: "Negarse a responder",
dontKnowItemText: "No sé",
selectAllItemText: "Seleccionar todo",
progressText: "Página {0} de {1}",
indexText: "{0} de {1}",
panelDynamicProgressText: "Registro {0} de {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Respondió a {0}/{1} preguntas",
emptySurvey: "No hay página visible o pregunta en la encuesta.",
completingSurvey: "¡Gracias por completar la encuesta!",
completingSurveyBefore: "Nuestros registros muestran que ya ha completado esta encuesta.",
loadingSurvey: "La encuesta está cargando...",
placeholder: "Seleccione...",
ratingOptionsCaption: "Toca aquí para calificar...",
value: "valor",
requiredError: "Por favor conteste la pregunta.",
requiredErrorInPanel: "Por favor, responda al menos una pregunta.",
requiredInAllRowsError: "Por favor conteste las preguntas en cada hilera.",
eachRowUniqueError: "Cada fila debe tener un valor único.",
numericError: "La estimación debe ser numérica.",
minError: "La estimación no debe ser menor que {0}",
maxError: "La estimación no debe ser mayor que {0}",
textMinLength: "Por favor entre por lo menos {0} símbolos.",
textMaxLength: "Por favor entre menos de {0} símbolos.",
textMinMaxLength: "Por favor entre más de {0} y menos de {1} símbolos.",
minRowCountError: "Por favor llene por lo menos {0} hileras.",
minSelectError: "Por favor seleccione por lo menos {0} variantes.",
maxSelectError: "Por favor seleccione no más de {0} variantes.",
numericMinMax: "El '{0}' debe de ser igual o más de {1} y igual o menos de {2}",
numericMin: "El '{0}' debe ser igual o más de {1}",
numericMax: "El '{0}' debe ser igual o menos de {1}",
invalidEmail: "Por favor agregue un correo electrónico válido.",
invalidExpression: "La expresión: {0} debería devolver 'verdadero'.",
urlRequestError: "La solicitud regresó error '{0}'. {1}",
urlGetChoicesError: "La solicitud regresó vacío de data o la propiedad 'trayectoria' no es correcta",
exceedMaxSize: "El tamaño del archivo no debe de exceder {0}.",
noUploadFilesHandler: "Los archivos no se pueden cargar. Agregue un controlador para el evento 'onUploadFiles'.",
otherRequiredError: "Por favor agregue la otra estimación.",
uploadingFile: "Su archivo se está subiendo. Por favor espere unos segundos e intente de nuevo.",
loadingFile: "Cargando...",
chooseFile: "Elija archivo(s)...",
noFileChosen: "No se ha elegido ningún archivo",
filePlaceholder: "Suelte un archivo aquí o haga clic en el botón de abajo para cargar el archivo",
confirmDelete: "¿Quieres borrar el registro?",
keyDuplicationError: "Este valor debe ser único.",
addColumn: "Añadir columna",
addRow: "Agregue una hilera",
removeRow: "Eliminar una hilera",
emptyRowsText: "No hay hileras.",
addPanel: "Añadir nuevo",
removePanel: "Retire",
showDetails: "Mostrar detalles",
hideDetails: "Ocultar detalles",
choices_Item: "artículo",
matrix_column: "Columna",
matrix_row: "Hilera",
multipletext_itemname: "texto",
savingData: "Los resultados se están guardando en el servidor...",
savingDataError: "Los resultados se están guardando en el servidor...",
savingDataSuccess: "¡Los resultados se guardaron con éxito!",
saveAgainButton: "Inténtalo de nuevo.",
timerMin: "min",
timerSec: "sec",
timerSpentAll: "Has gastado {0} en esta página y {1} en total.",
timerSpentPage: "Usted ha pasado {0} en esta página.",
timerSpentSurvey: "Has gastado en total.",
timerLimitAll: "Has gastado {0} de {1} en esta página y {2} de {3} en total.",
timerLimitPage: "Has gastado {0} de {1} en esta página.",
timerLimitSurvey: "Usted ha gastado {0} de {1} en total.",
clearCaption: "Borrar",
signaturePlaceHolder: "Firma aqui",
chooseFileCaption: "Elija el archivo",
takePhotoCaption: "Tomar foto",
photoPlaceholder: "Haga clic en el botón de abajo para tomar una foto con la cámara.",
fileOrPhotoPlaceholder: "Arrastre y suelte o seleccione un archivo para cargar o tomar una foto con la cámara.",
replaceFileCaption: "Reemplazar archivo",
removeFileCaption: "Elimina este archivo",
booleanCheckedLabel: "Sí",
booleanUncheckedLabel: "No",
confirmRemoveFile: "¿Estás seguro de que quieres eliminar este archivo: {0}?",
confirmRemoveAllFiles: "¿Estás seguro de que quieres eliminar todos los archivos?",
questionTitlePatternText: "Título de la pregunta",
modalCancelButtonText: "Anular",
modalApplyButtonText: "Aplicar",
filterStringPlaceholder: "Escribe para buscar...",
emptyMessage: "No hay datos para mostrar",
noEntriesText: "Aún no hay entradas.\nHaga clic en el botón de abajo para agregar una nueva entrada.",
noEntriesReadonlyText: "No hay entradas.",
more: "Más",
tagboxDoneButtonCaption: "De acuerdo",
selectToRankEmptyRankedAreaText: "Todas las opciones están clasificadas",
selectToRankEmptyUnrankedAreaText: "Arrastra y suelta opciones aquí para clasificarlas",
ok: "De acuerdo",
cancel: "Cancelar"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["es"] = spanishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["es"] = "español";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// emptyMessage: "No data to display" => "No hay datos para mostrar"
// noEntriesReadonlyText: "There are no entries." => "No hay entradas."
// more: "More" => "Más"
// tagboxDoneButtonCaption: "OK" => "De acuerdo"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Todas las opciones están clasificadas"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Arrastra y suelta opciones aquí para clasificarlas"// takePhotoCaption: "Take Photo" => "Tomar foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Haga clic en el botón de abajo para tomar una foto con la cámara."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Arrastre y suelte o seleccione un archivo para cargar o tomar una foto con la cámara."
// replaceFileCaption: "Replace file" => "Reemplazar archivo"// eachRowUniqueError: "Each row must have a unique value." => "Cada fila debe tener un valor único."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Los archivos no se pueden cargar. Agregue un controlador para el evento 'onUploadFiles'."
// showDetails: "Show Details" => "Mostrar detalles"
// hideDetails: "Hide Details" => "Ocultar detalles"
// ok: "OK" => "De acuerdo"
// cancel: "Cancel" => "Cancelar"
// refuseItemText: "Refuse to answer" => "Negarse a responder"
// dontKnowItemText: "Don't know" => "No sé"
/***/ }),
/***/ "./src/localization/swahili.ts":
/*!*************************************!*\
!*** ./src/localization/swahili.ts ***!
\*************************************/
/*! exports provided: swahiliStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "swahiliStrings", function() { return swahiliStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var swahiliStrings = {
pagePrevText: "Iliyotangulia",
pageNextText: "Ifuatayo",
completeText: "Kamili",
previewText: "Hakiki",
editText: "Hariri",
startSurveyText: "Anza",
otherItemText: "Nyingine (eleza)",
noneItemText: "Hakuna",
refuseItemText: "Kukataa kujibu",
dontKnowItemText: "Sijui",
selectAllItemText: "Chagua Zote",
progressText: "Ukurasa {0} wa {1}",
indexText: "{0} ya {1}",
panelDynamicProgressText: "Rekodi {0} ya {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Yaliyojibiwa {0}/{1} maswali",
emptySurvey: "Hakuna ukurasa unaoonekana au swali katika utafiti.",
completingSurvey: "Asanti kwa kukamilisha utafiti!",
completingSurveyBefore: "Recodi zetu zinatuonyesha tayari umekamilisha utafiti.",
loadingSurvey: "Tunaandaa utafiti...",
placeholder: "Chagua...",
ratingOptionsCaption: "Teua...",
value: "thamani",
requiredError: "Tafadhali jibu hili swali.",
requiredErrorInPanel: "Tafadhali jibu swali angalau moja.",
requiredInAllRowsError: "Tafadhali jibu maswali katika safu zote.",
eachRowUniqueError: "Kila safu lazima iwe na thamani ya kipekee.",
numericError: "Thamani inapaswa kuwa ya nambari.",
minError: "Thamani haipaswi kuwa chini ya {0}",
maxError: "Thamani haipaswi kuwa kubwa kuliko {0}",
textMinLength: "Tafadhali ingiza angalau{0} husika.",
textMaxLength: "Tafadhali ingiza isiozidi {0} husika.",
textMinMaxLength: "Tafadhali ingiza kiwango zaidi ya {0} na kisichopungua {1} husika.",
minRowCountError: "Tafadhali jaza isiopungua {0} safu.",
minSelectError: "Tafadhali chagua angalau {0} lahaja.",
maxSelectError: "Tafadhali changua isiozidi {0} lahaja.",
numericMinMax: " '{0}' inapaswa kuwa sawa au zaidi ya {1} na sawa au chini ya {2}",
numericMin: " '{0}'inapaswa kuwa sawa au zaidi ya {1}",
numericMax: " '{0}'inapaswa kuwa sawa au chini ya {1}",
invalidEmail: "Tafadhali ingiza anwani halali ya barua-pepe.",
invalidExpression: "Usemi:{0} inapaswa kurudi 'kweli'.",
urlRequestError: "Ombi lina kosa '{0}'. {1}",
urlGetChoicesError: "Ombi lilirudisha data tupu au the 'path' mali ya njia sio sahihi",
exceedMaxSize: "Saizi ya faili haipaswi kuzidi {0}.",
noUploadFilesHandler: "Faili haziwezi kupakiwa. Tafadhali ongeza kishiko kwa tukio la 'onUploadFiles'.",
otherRequiredError: "Tafadhali ingiza thamani nyingine.",
uploadingFile: "Faili yako inapakia.Tafadhali subiri sekunde kadhaa na ujaribu tena.",
loadingFile: "Inapakia...",
chooseFile: "Chagua faili...",
noFileChosen: "Hujachagua faili",
filePlaceholder: "Buruta na udondoshe faili hapa au bofya kitufe hapa chini na uchague faili ya kupakia.",
confirmDelete: "Je! Unataka kufuta rekodi?",
keyDuplicationError: "Thamani hii inapaswa kuwa ya kipekee.",
addColumn: "Ongeza Kolamu",
addRow: "Ongeza safu",
removeRow: "Toa",
emptyRowsText: "Hakuna safu.",
addPanel: "Ongeza mpya",
removePanel: "Toa",
showDetails: "Onyesha Maelezo",
hideDetails: "Ficha Maelezo",
choices_Item: "kitu",
matrix_column: "Kolamu",
matrix_row: "Safu",
multipletext_itemname: "Ujumbe",
savingData: "Matokeo yamehifadhiwa kwa seva...",
savingDataError: "Kosa limetokea na hatukuweza kuhifadhi matokeo.",
savingDataSuccess: "Matokeo yamehifadhiwa!",
saveAgainButton: "Jaribu tena",
timerMin: "dakika",
timerSec: "sekunde",
timerSpentAll: "Umetumia {0} kwenye ukurasa huu na {1} kwa jumla.",
timerSpentPage: "Umetumia {0} kwenye ukurasa huu.",
timerSpentSurvey: "Umetumia {0} kwa jumla.",
timerLimitAll: "Umetumia {0} ya {1} kwenye ukurasa huu {2} wa {3} kwa jumla.",
timerLimitPage: "Umetumia {0} ya {1} kwenye ukurasa huu.",
timerLimitSurvey: "Umetumia {0} ya {1} kwa jumla.",
clearCaption: "Ondoa",
signaturePlaceHolder: "Ingia hapa",
chooseFileCaption: "Chagua faili",
takePhotoCaption: "Chukua Picha",
photoPlaceholder: "Bonyeza kitufe hapa chini ili kupiga picha kwa kutumia kamera.",
fileOrPhotoPlaceholder: "Drag na kuacha au kuchagua faili kupakia au kuchukua picha kwa kutumia kamera.",
replaceFileCaption: "Badilisha faili",
removeFileCaption: "Ondoa faili",
booleanCheckedLabel: "Ndio",
booleanUncheckedLabel: "Hapana",
confirmRemoveFile: "Je! Una uhakika kuwa unataka kuondoa faili hii: {0}?",
confirmRemoveAllFiles: "Je! Una uhakika kuwa unataka kuondoa faili zote?",
questionTitlePatternText: "Kichwa cha Swali",
modalCancelButtonText: "Katisha",
modalApplyButtonText: "Tekeleza",
filterStringPlaceholder: "Andika ili kutafuta...",
emptyMessage: "Hakuna data ya kuonyesha",
noEntriesText: "Hakuna maingizo kwa sasa.\nBofya kitufe hapa chini ili kuongeza ingizo jipya.",
noEntriesReadonlyText: "Hakuna viingilio.",
more: "Zaidi",
tagboxDoneButtonCaption: "Sawa kabisa",
selectToRankEmptyRankedAreaText: "Chaguzi zote zimeorodheshwa",
selectToRankEmptyUnrankedAreaText: "Buruta na uache uchaguzi hapa ili kuziorodhesha",
ok: "Sawa kabisa",
cancel: "Katisha"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["sw"] = swahiliStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sw"] = "swahili";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} ya {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Teua..."
// minError: "The value should not be less than {0}" => "Thamani haipaswi kuwa chini ya {0}"
// maxError: "The value should not be greater than {0}" => "Thamani haipaswi kuwa kubwa kuliko {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Buruta na udondoshe faili hapa au bofya kitufe hapa chini na uchague faili ya kupakia."
// emptyRowsText: "There are no rows." => "Hakuna safu."
// multipletext_itemname: "text" => "Ujumbe"
// signaturePlaceHolder: "Sign here" => "Ingia hapa"
// modalCancelButtonText: "Cancel" => "Katisha"
// modalApplyButtonText: "Apply" => "Tekeleza"
// filterStringPlaceholder: "Type to search..." => "Andika ili kutafuta..."
// emptyMessage: "No data to display" => "Hakuna data ya kuonyesha"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Hakuna maingizo kwa sasa.\nBofya kitufe hapa chini ili kuongeza ingizo jipya."
// noEntriesReadonlyText: "There are no entries." => "Hakuna viingilio."
// more: "More" => "Zaidi"
// tagboxDoneButtonCaption: "OK" => "Sawa kabisa"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Chaguzi zote zimeorodheshwa"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Buruta na uache uchaguzi hapa ili kuziorodhesha"// takePhotoCaption: "Take Photo" => "Chukua Picha"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Bonyeza kitufe hapa chini ili kupiga picha kwa kutumia kamera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Drag na kuacha au kuchagua faili kupakia au kuchukua picha kwa kutumia kamera."
// replaceFileCaption: "Replace file" => "Badilisha faili"// eachRowUniqueError: "Each row must have a unique value." => "Kila safu lazima iwe na thamani ya kipekee."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Faili haziwezi kupakiwa. Tafadhali ongeza kishiko kwa tukio la 'onUploadFiles'."
// showDetails: "Show Details" => "Onyesha Maelezo"
// hideDetails: "Hide Details" => "Ficha Maelezo"
// ok: "OK" => "Sawa kabisa"
// cancel: "Cancel" => "Katisha"
// refuseItemText: "Refuse to answer" => "Kukataa kujibu"
// dontKnowItemText: "Don't know" => "Sijui"
/***/ }),
/***/ "./src/localization/swedish.ts":
/*!*************************************!*\
!*** ./src/localization/swedish.ts ***!
\*************************************/
/*! exports provided: swedishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "swedishSurveyStrings", function() { return swedishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var swedishSurveyStrings = {
pagePrevText: "Föregående",
pageNextText: "Nästa",
completeText: "Slutför",
previewText: "Förhandsvisning",
editText: "Redigera",
startSurveyText: "Börja",
otherItemText: "Annat (beskriv)",
noneItemText: "Ingen",
refuseItemText: "Vägra svara",
dontKnowItemText: "Vet inte",
selectAllItemText: "Välj alla",
progressText: "Sida {0} av {1}",
indexText: "{0} av {1}",
panelDynamicProgressText: "{0} av {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0} / {1} frågor besvarade",
emptySurvey: "Det finns ingen synlig sida eller fråga i enkäten.",
completingSurvey: "Tack för att du genomfört enkäten!!",
completingSurveyBefore: "Våra register visar att du redan har slutfört denna undersökning.",
loadingSurvey: "Enkäten laddas...",
placeholder: "Välj...",
ratingOptionsCaption: "Tryck här för att betygsätta...",
value: "värde",
requiredError: "Frågan är obligatorisk.",
requiredErrorInPanel: "Vänligen svara på minst en fråga.",
requiredInAllRowsError: "Var vänlig besvara frågorna på alla rader.",
eachRowUniqueError: "Varje rad måste ha ett unikt värde.",
numericError: "Värdet ska vara numeriskt.",
minError: "Värdet får inte vara mindre än {0}",
maxError: "Värdet får inte vara större än {0}",
textMinLength: "Ange minst {0} tecken.",
textMaxLength: "Ange färre än {0} tecken.",
textMinMaxLength: "Ange mer än {0} och färre än {1} tecken.",
minRowCountError: "Var vänlig fyll i minst {0} rader.",
minSelectError: "Var vänlig välj åtminstone {0} varianter.",
maxSelectError: "Var vänlig välj inte fler än {0} varianter.",
numericMinMax: "'{0}' ska vara lika med eller mer än {1} samt lika med eller mindre än {2}",
numericMin: "'{0}' ska vara lika med eller mer än {1}",
numericMax: "'{0}' ska vara lika med eller mindre än {1}",
invalidEmail: "Var vänlig ange en korrekt e-postadress.",
invalidExpression: "Uttrycket: {0} ska returnera 'true'.",
urlRequestError: "Förfrågan returnerade felet '{0}'. {1}",
urlGetChoicesError: "Antingen returnerade förfrågan ingen data eller så är egenskapen 'path' inte korrekt",
exceedMaxSize: "Filstorleken får ej överstiga {0}.",
noUploadFilesHandler: "Filer kan inte laddas upp. Lägg till en hanterare för händelsen 'onUploadFiles'.",
otherRequiredError: "Var vänlig ange det andra värdet.",
uploadingFile: "Din fil laddas upp. Var vänlig vänta några sekunder och försök sedan igen.",
loadingFile: "Laddar...",
chooseFile: "Välj fil(er) ...",
noFileChosen: "Ingen fil vald",
filePlaceholder: "Dra och släpp en fil här eller klicka på knappen nedan och välj en fil att ladda upp.",
confirmDelete: "Vill du radera posten?",
keyDuplicationError: "Detta värde ska vara unikt.",
addColumn: "Lägg till kolumn",
addRow: "Lägg till rad",
removeRow: "Ta bort",
emptyRowsText: "Det finns inga rader.",
addPanel: "Lägg till ny",
removePanel: "Ta bort",
showDetails: "Detaljer",
hideDetails: "Göm detaljer",
choices_Item: "Artikel",
matrix_column: "Kolumn",
matrix_row: "Rad",
multipletext_itemname: "text",
savingData: "Resultaten sparas på servern ...",
savingDataError: "Ett fel inträffade och vi kunde inte spara resultaten.",
savingDataSuccess: "Resultaten lyckades sparas!",
saveAgainButton: "Försök igen",
timerMin: "min",
timerSec: "sek",
timerSpentAll: "Du har spenderat {0} på den här sidan och {1} totalt.",
timerSpentPage: "Du har spenderat {0} på den här sidan.",
timerSpentSurvey: "Du har spenderat {0} totalt.",
timerLimitAll: "Du har spenderat {0} av {1} på den här sidan och {2} av {3} totalt.",
timerLimitPage: "Du har spenderat {0} av {1} på den här sidan.",
timerLimitSurvey: "Du har spenderat {0} av {1} totalt.",
clearCaption: "Klar",
signaturePlaceHolder: "Signera här",
chooseFileCaption: "Välj fil",
takePhotoCaption: "Ta foto",
photoPlaceholder: "Klicka på knappen nedan för att ta ett foto med kameran.",
fileOrPhotoPlaceholder: "Dra och släpp eller välj en fil att ladda upp eller ta ett foto med kameran.",
replaceFileCaption: "Ersätt fil",
removeFileCaption: "Ta bort den här filen",
booleanCheckedLabel: "Ja",
booleanUncheckedLabel: "Nej",
confirmRemoveFile: "Är du säker på att du vill ta bort den här filen: {0}?",
confirmRemoveAllFiles: "Är du säker på att du vill ta bort alla filer?",
questionTitlePatternText: "Frågetitel",
modalCancelButtonText: "Avbryt",
modalApplyButtonText: "Spara",
filterStringPlaceholder: "Skriv för att söka...",
emptyMessage: "Ingen data finns",
noEntriesText: "Det finns inga värden än.\nKlicka på knappen nedan för att lägga till nytt värde.",
noEntriesReadonlyText: "Det finns inga poster.",
more: "Mer",
tagboxDoneButtonCaption: "OKEJ",
selectToRankEmptyRankedAreaText: "Alla val rangordnas",
selectToRankEmptyUnrankedAreaText: "Dra och släpp val här för att rangordna dem",
ok: "OKEJ",
cancel: "Annullera"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["sv"] = swedishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sv"] = "svenska";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Dra och släpp en fil här eller klicka på knappen nedan och välj en fil att ladda upp."
// emptyRowsText: "There are no rows." => "Det finns inga rader."
// noEntriesReadonlyText: "There are no entries." => "Det finns inga poster."
// tagboxDoneButtonCaption: "OK" => "OKEJ"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alla val rangordnas"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Dra och släpp val här för att rangordna dem"// takePhotoCaption: "Take Photo" => "Ta foto"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klicka på knappen nedan för att ta ett foto med kameran."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Dra och släpp eller välj en fil att ladda upp eller ta ett foto med kameran."
// replaceFileCaption: "Replace file" => "Ersätt fil"// eachRowUniqueError: "Each row must have a unique value." => "Varje rad måste ha ett unikt värde."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Filer kan inte laddas upp. Lägg till en hanterare för händelsen 'onUploadFiles'."
// showDetails: "Show Details" => "Detaljer"
// hideDetails: "Hide Details" => "Göm detaljer"
// ok: "OK" => "OKEJ"
// cancel: "Cancel" => "Annullera"
// refuseItemText: "Refuse to answer" => "Vägra svara"
// dontKnowItemText: "Don't know" => "Vet inte"
/***/ }),
/***/ "./src/localization/tajik.ts":
/*!***********************************!*\
!*** ./src/localization/tajik.ts ***!
\***********************************/
/*! exports provided: tajikSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tajikSurveyStrings", function() { return tajikSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
// This dictionary contains 25 untranslated or inherited localization strings.
// These strings are commented out. Uncomment and edit them if you want to add your translations.
var tajikSurveyStrings = {
pagePrevText: "Бозгашт",
pageNextText: "Оянда",
completeText: "Иҷро шуд",
// previewText: "Preview",
// editText: "Edit",
startSurveyText: "Оғоз",
otherItemText: "Дигар (лутфан тавсиф кунед)",
noneItemText: "Не",
selectAllItemText: "Ҳамаро интихоб кардан",
progressText: "Саҳифаи {0} аз {1}",
// indexText: "{0} of {1}",
// panelDynamicProgressText: "{0} of {1}",
// questionsProgressText: "Answered {0}/{1} questions",
emptySurvey: "Ягон савол вуҷуд надорад.",
completingSurvey: "Ташаккур барои пур кардани саволнома!",
completingSurveyBefore: "Шумо аллакай ин пурсишро анҷом додаед.",
loadingSurvey: "Боргирӣ аз сервер...",
placeholder: "Интихоб кардан...",
// ratingOptionsCaption: "Select...",
value: "қиммат",
requiredError: "Илтимос, ба савол ҷавоб диҳед.",
requiredErrorInPanel: "Илтимос, ақалан ба як савол ҷавоб диҳед.",
requiredInAllRowsError: "Илтимос, ба ҳамаи саволҳо дар ҳамаи сатрҳо ҷавоб диҳед.",
numericError: "Ҷавоб бояд рақам бошад.",
// minError: "The value should not be less than {0}",
// maxError: "The value should not be greater than {0}",
textMinLength: "Илтимос, аз {0} зиёдтар рамз ворид кунед.",
textMaxLength: "Илтимос, аз {0} камтар рамз ворид кунед.",
textMinMaxLength: "Илтимос, аз {0} зиёдтар ва аз {1} камтар рамз ворид кунед.",
minRowCountError: "Илтимос, на камтар аз {0} сатр пур кунед.",
minSelectError: "Илтимос, ақалан {0} вариант интихоб кунед.",
maxSelectError: "Илтимос, на зиёдтар аз {0} вариант интихоб кунед.",
numericMinMax: "'{0}' бояд на кам аз {1} ва на бисёр аз {2} бошад",
numericMin: "'{0}' бояд на кам аз {1} бошад",
numericMax: "'{0}' бояд на зиёд аз {1} бошад",
invalidEmail: "Илтимос, почтаи электронии воқеиро ворид кунед.",
invalidExpression: "Ифодаи {0} бояд 'true' баргардонад.",
urlRequestError: "Дархост хатогӣ бозгардонд '{0}'. {1}",
urlGetChoicesError: "Ҷавоб ба дархост холӣ омад ё хосияти 'path' нодуруст муайян карда шудааст",
exceedMaxSize: "Андозаи файл бояд на калон аз {0} бошад.",
otherRequiredError: "Илтимос, ба майдони 'Дигар' додаҳоро ворид кунед",
uploadingFile: "Файли шумо бор шуда истодааст. Якчанд сония интизор шавед ва бори дигар кӯшиш кунед.",
loadingFile: "Боркунӣ...",
chooseFile: "Файл(ҳо)-ро интихоб кунед...",
// noFileChosen: "No file chosen",
// filePlaceholder: "Drop a file here or click the button below to load the file.",
confirmDelete: "Шумо мутмаин ҳастед, ки мехоҳед воридро тоза кунед?",
keyDuplicationError: "Ин арзиш бояд беназир бошад.",
addColumn: "Иловаи сутун",
addRow: "Иловаи сатр",
removeRow: "Нест кардан",
// emptyRowsText: "There are no rows.",
addPanel: "Илова кардан",
removePanel: "Нест кардан",
choices_Item: "Вариант",
matrix_column: "Сутун",
matrix_row: "Сатр",
// multipletext_itemname: "text",
savingData: "Натиҷа ба сервер сабт шуда истодаанд...",
savingDataError: "Хатогӣ ба амал омад, натиҷа сабт нашуд.",
savingDataSuccess: "Натиҷа бомуваффакият сабт шуд!",
saveAgainButton: "Бори дигар кӯшиш карданд",
timerMin: "дақ",
timerSec: "сон",
timerSpentAll: "Шумо {0} дар ин саҳифа ва {1} дар умум сарф кардед.",
timerSpentPage: "Шумо {0} дар ин саҳифа сарф кардед.",
timerSpentSurvey: "Шумо {0} дар ин тест сарф намудед.",
timerLimitAll: "Шумо {0} аз {1} дар ин саҳифа ва {2} аз {3} дар умум сарф кардед дар дохили ин тест.",
timerLimitPage: "Шумо {0} аз {1} дар ин саҳифа сарф кардед.",
timerLimitSurvey: "Шумо {0} аз {1} дар ҳамаи тест сарф кардед.",
clearCaption: "Тоза кардан",
// signaturePlaceHolder: "Sign here",
// chooseFileCaption: "Choose file",
removeFileCaption: "Файлро нест кардан",
// booleanCheckedLabel: "Yes",
// booleanUncheckedLabel: "No",
// confirmRemoveFile: "Are you sure that you want to remove this file: {0}?",
// confirmRemoveAllFiles: "Are you sure that you want to remove all files?",
// questionTitlePatternText: "Question Title",
// modalCancelButtonText: "Cancel",
// modalApplyButtonText: "Apply",
// filterStringPlaceholder: "Type to search...",
// emptyMessage: "No data to display",
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry.",
// more: "More"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["tg"] = tajikSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["tg"] = "тоҷикӣ";
/***/ }),
/***/ "./src/localization/telugu.ts":
/*!************************************!*\
!*** ./src/localization/telugu.ts ***!
\************************************/
/*! exports provided: teluguStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "teluguStrings", function() { return teluguStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var teluguStrings = {
pagePrevText: "వెనకటి",
pageNextText: "తరువాయ",
completeText: "పూర్తి చేయండి",
previewText: "ముందుగా వీక్షించు",
editText: "మార్పులు చెయ్యి",
startSurveyText: "ప్రారంభించు",
otherItemText: "ఇతరమైన(వివరించండి)",
noneItemText: "ఎవరు కాదు",
refuseItemText: "సమాధానం ఇవ్వడానికి నిరాకరించండి",
dontKnowItemText: "తెలియదు",
selectAllItemText: "అన్ని ఎంచుకో",
progressText: "పేజీ{0}/{1}",
indexText: "{1} {0}[మార్చు]",
panelDynamicProgressText: "దాఖలాలు{0}/{1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0}/{1} ప్రశ్నలకు జవాబు ఇవ్వడం అయినది",
emptySurvey: "ఈ సర్వేలో పేజీలు గాని ప్రశ్నలు గాని కనబడుట లేదు",
completingSurvey: "సర్వేను ముగించి నందుకు ధన్యవాదములు",
completingSurveyBefore: " మీరు ఇప్పటికే సర్వేను ముగించినట్లు మా రికార్డులు చూపిస్తున్నాయి",
loadingSurvey: "సర్వే లోడ్ అవుతుంది",
placeholder: "ఎన్నుకోండి",
ratingOptionsCaption: "ఎంచు...",
value: "విలువ",
requiredError: "దయచేసి ప్రశ్నకు జవాబు ఇవ్వండి",
requiredErrorInPanel: "దయచేసి కనీసం ఒక్క ప్రశ్నకైనా జవాబు ఇవ్వండి",
requiredInAllRowsError: "దయచేసి అన్ని వరుసలలో ఉన్న ప్రశ్నలకు జవాబు ఇవ్వండి",
eachRowUniqueError: "ప్రతి వరుసకు ఒక ప్రత్యేకమైన విలువ ఉండాలి.",
numericError: "విలువను సంఖ్యలలో తెలియజేయండి",
minError: "విలువ {0} కంటే తక్కువగా ఉండకూడదు.",
maxError: "విలువ {0} కంటే ఎక్కువ ఉండకూడదు.",
textMinLength: "దయచేసి కనీసం {0} అక్షరాలను నమోదు చేయండి",
textMaxLength: "దయచేసి {0} కన్నా తక్కువ అక్షరాలను నమోదు చేయండి",
textMinMaxLength: "దయచేసి {0} కన్నా ఎక్కువ మరియు{1} కన్నా తక్కువ అక్షరాలను నమోదు చేయండి",
minRowCountError: "దయచేసి కనీసం {0}వరుసలను పూరించండి",
minSelectError: "దయచేసి కనీసం{0} రకాలను ఎన్నుకోండి",
maxSelectError: "దయచేసి {0} కన్నా ఎక్కువ రకాలను ఎన్నుకో కండి",
numericMinMax: "'{0}' {1}తొ సమానంగా లేదా {1} కన్నా ఎక్కువ గా మరియు {2}కన్నా తక్కువ ఉండాలి లెదా {2}తొ సమానంగా ఉండాలి",
numericMin: "''{0}' {1}తొ సమానంగా లేదా {1}కన్నా ఎక్కువగా ఉండాలి",
numericMax: "'{0}' {1} తక్కువ లేదా సమానంగా ఉండాలి",
invalidEmail: "దయచేసి సరైన ఈమెయిల్ నమోదు చేయండి",
invalidExpression: "{0} 'నిజం' అని తిరిగివ్వాలి",
urlRequestError: "విన్నపము {0} ని తప్పుగా గుర్తించింది {1}",
urlGetChoicesError: "విన్నపము ఖాళీ డేటాని తిరిగిచ్చింది, లేదా path తప్పైన ది",
exceedMaxSize: "ఫైల్ పరిమాణం{0} కంటే పెద్దదిగా ఉండకూడదు",
noUploadFilesHandler: "ఫైళ్లను అప్ లోడ్ చేయలేం. దయచేసి 'ఆన్ అప్ లోడ్ ఫైల్స్' ఈవెంట్ కొరకు ఒక హ్యాండ్లర్ ని జోడించండి.",
otherRequiredError: "దయచేసి ఇతర విలువలను నమో దించండి",
uploadingFile: "మీ ఫైల్ అప్లోడ్ అవుతున్నది దయచేసి కొన్ని సెకండ్లు వేచి ఉండండి మరియు మళ్లీ ప్రయత్నించండి",
loadingFile: "లోడ్ అవుతున్నది",
chooseFile: "ఫైళ్లను ఎన్నుకోండి",
noFileChosen: "ఏ ఫైల్ ఎన్నుకో లేదు",
filePlaceholder: "ఇక్కడ ఒక ఫైల్ ను డ్రాగ్ చేసి డ్రాప్ చేయండి లేదా దిగువ బటన్ క్లిక్ చేయండి మరియు అప్ లోడ్ చేయడానికి ఫైల్ ఎంచుకోండి.",
confirmDelete: "మీరు రికార్డులను తొలగించాలని అనుకుంటున్నారా",
keyDuplicationError: "విలువ ప్రత్యేకంగా ఉండాలి",
addColumn: "కాలం చేర్పించండి",
addRow: "వరుసలు చేర్పించండి",
removeRow: "తీసేయండి",
emptyRowsText: "వరుసలు లేవు.",
addPanel: "కొత్త దాన్ని చేర్పించండి",
removePanel: "తీసేయండి",
showDetails: "వివరాలు చూపించు",
hideDetails: "వివరాలను దాచండి",
choices_Item: "వస్తువులు",
matrix_column: "కాలం ",
matrix_row: "వరుస",
multipletext_itemname: "వచనం",
savingData: "ఫలితాంశాలు సర్వర్లో సేవ్ అవుతున్నాయి",
savingDataError: "ఒక లోపము సంభవించినది అందుకని ఫలితాంశాలను సేవ్ చేయలేకపోయాము ",
savingDataSuccess: "ఫలితాంశాలను విజయవంతంగా సేవ్ చేసాము",
saveAgainButton: "మళ్లీ ప్రయత్నించు",
timerMin: "నిమిషాలు ",
timerSec: "సెకండ్లు",
timerSpentAll: "ఈ పేజీ పైన మీరు{0} ఉపయోగించారు మొత్తంగా {1} ఉపయోగించారు",
timerSpentPage: "ఈ పేజీ పైన మీరు{0} ఉపయోగించారు",
timerSpentSurvey: "మీరు మొత్తంగా {0} ఉపయోగించారు",
timerLimitAll: "ఈ పేజీ పైన మీరు {1}లో {0} భాగాన్ని ఉపయోగించారు. మోతంగా {3}లో {2} భాగాన్ని ఉపయోగించారు.",
timerLimitPage: "ఈ పేజీలో మీరు {1}లోని{0} ని ఉపయోగించారు",
timerLimitSurvey: " మొత్తంగా మీరు {1} లో {0} ని ఉపయోగించారు ",
clearCaption: "స్పష్టమ్",
signaturePlaceHolder: "ఇక్కడ సంతకం చేయండి",
chooseFileCaption: "ఫైల్ ఎంచుకోండి",
takePhotoCaption: "ఫోటో తీసుకోండి",
photoPlaceholder: "కెమెరాను ఉపయోగించి ఫోటో తీయడానికి దిగువ బటన్ మీద క్లిక్ చేయండి.",
fileOrPhotoPlaceholder: "కెమెరాను ఉపయోగించి ఫోటోను అప్ లోడ్ చేయడానికి లేదా తీయడానికి ఫైల్ ను డ్రాగ్ మరియు డ్రాప్ చేయండి లేదా ఎంచుకోండి.",
replaceFileCaption: "ఫైలు మార్చండి",
removeFileCaption: "ఈ ఫైల్ తీసేయండి",
booleanCheckedLabel: "అవును",
booleanUncheckedLabel: "లేదు",
confirmRemoveFile: " ఈ ఫైల్ని తీయించాలని మీరు ఖచ్చితంగా అనుకుంటున్నారా:{0} ?",
confirmRemoveAllFiles: "అన్ని ఫైళ్లను తీసేయాలని మీరు ఖచ్చితంగా అనుకుంటున్నారా",
questionTitlePatternText: "ప్రశ్న శీర్షిక",
modalCancelButtonText: "రద్దు",
modalApplyButtonText: "సరిపడు",
filterStringPlaceholder: "శోధించడానికి టైప్ చేయండి...",
emptyMessage: "డిస్ ప్లే చేయడానికి డేటా లేదు",
noEntriesText: "ఇంకా ఎలాంటి ఎంట్రీలు లేవు.\nకొత్త ఎంట్రీని జోడించడం కొరకు దిగువ బటన్ మీద క్లిక్ చేయండి.",
noEntriesReadonlyText: "ఎలాంటి ఎంట్రీలు లేవు.",
more: "ఎక్కువ",
tagboxDoneButtonCaption: "సరే",
selectToRankEmptyRankedAreaText: "అన్ని ఎంపికలు ర్యాంక్ చేయబడతాయి",
selectToRankEmptyUnrankedAreaText: "వాటిని ర్యాంక్ చేయడం కొరకు ఎంపికలను ఇక్కడ డ్రాగ్ మరియు డ్రాప్ చేయండి",
ok: "సరే",
cancel: "రద్దు"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["tel"] = teluguStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["tel"] = "Telugu";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// noneItemText: "None" => "ఎవరు కాదు"
// indexText: "{0} of {1}" => "{1} {0}[మార్చు]"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "ఎంచు..."
// minError: "The value should not be less than {0}" => "విలువ {0} కంటే తక్కువగా ఉండకూడదు."
// maxError: "The value should not be greater than {0}" => "విలువ {0} కంటే ఎక్కువ ఉండకూడదు."
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "ఇక్కడ ఒక ఫైల్ ను డ్రాగ్ చేసి డ్రాప్ చేయండి లేదా దిగువ బటన్ క్లిక్ చేయండి మరియు అప్ లోడ్ చేయడానికి ఫైల్ ఎంచుకోండి."
// emptyRowsText: "There are no rows." => "వరుసలు లేవు."
// multipletext_itemname: "text" => "వచనం"
// signaturePlaceHolder: "Sign here" => "ఇక్కడ సంతకం చేయండి"
// modalCancelButtonText: "Cancel" => "రద్దు"
// modalApplyButtonText: "Apply" => "సరిపడు"
// filterStringPlaceholder: "Type to search..." => "శోధించడానికి టైప్ చేయండి..."
// emptyMessage: "No data to display" => "డిస్ ప్లే చేయడానికి డేటా లేదు"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "ఇంకా ఎలాంటి ఎంట్రీలు లేవు.\nకొత్త ఎంట్రీని జోడించడం కొరకు దిగువ బటన్ మీద క్లిక్ చేయండి."
// noEntriesReadonlyText: "There are no entries." => "ఎలాంటి ఎంట్రీలు లేవు."
// more: "More" => "ఎక్కువ"
// tagboxDoneButtonCaption: "OK" => "సరే"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "అన్ని ఎంపికలు ర్యాంక్ చేయబడతాయి"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "వాటిని ర్యాంక్ చేయడం కొరకు ఎంపికలను ఇక్కడ డ్రాగ్ మరియు డ్రాప్ చేయండి"// takePhotoCaption: "Take Photo" => "ఫోటో తీసుకోండి"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "కెమెరాను ఉపయోగించి ఫోటో తీయడానికి దిగువ బటన్ మీద క్లిక్ చేయండి."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "కెమెరాను ఉపయోగించి ఫోటోను అప్ లోడ్ చేయడానికి లేదా తీయడానికి ఫైల్ ను డ్రాగ్ మరియు డ్రాప్ చేయండి లేదా ఎంచుకోండి."
// replaceFileCaption: "Replace file" => "ఫైలు మార్చండి"// eachRowUniqueError: "Each row must have a unique value." => "ప్రతి వరుసకు ఒక ప్రత్యేకమైన విలువ ఉండాలి."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "ఫైళ్లను అప్ లోడ్ చేయలేం. దయచేసి 'ఆన్ అప్ లోడ్ ఫైల్స్' ఈవెంట్ కొరకు ఒక హ్యాండ్లర్ ని జోడించండి."
// showDetails: "Show Details" => "వివరాలు చూపించు"
// hideDetails: "Hide Details" => "వివరాలను దాచండి"
// ok: "OK" => "సరే"
// cancel: "Cancel" => "రద్దు"// refuseItemText: "Refuse to answer" => "సమాధానం ఇవ్వడానికి నిరాకరించండి"
// dontKnowItemText: "Don't know" => "తెలియదు"
/***/ }),
/***/ "./src/localization/thai.ts":
/*!**********************************!*\
!*** ./src/localization/thai.ts ***!
\**********************************/
/*! exports provided: thaiStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "thaiStrings", function() { return thaiStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var thaiStrings = {
pagePrevText: "ก่อนหน้า",
pageNextText: "ถัดไป",
completeText: "สำเร็จ",
previewText: "ดูตัวอย่าง",
editText: "แก้ไข",
startSurveyText: "เริ่ม",
otherItemText: "อื่นๆ (โปรดระบุ)",
noneItemText: "ไม่มี",
refuseItemText: "ปฏิเสธที่จะตอบ",
dontKnowItemText: "ไม่ทราบ",
selectAllItemText: "เลือกทั้งหมด",
progressText: "หน้าที่ {0} จาก {1}",
indexText: "{0} of {1}",
panelDynamicProgressText: "รายการที่ {0} จาก {1}",
panelDynamicTabTextFormat: "แผง {panelIndex}",
questionsProgressText: "คำตอบที่ {0}/{1} จำนวนคำถาม",
emptySurvey: "ไม่มีหน้าเพจที่มองเห็น หรือ คำถามใน survey นี้",
completingSurvey: "ขอบคุณที่ทำ survey จนเสร็จ",
completingSurveyBefore: "รายการของเราแสดงว่าคุณได้ทำ survey เสร็จเรียบร้อยแล้ว",
loadingSurvey: "กำลังโหลด Survey...",
placeholder: "เลือก...",
ratingOptionsCaption: "เลือก ",
value: "ข้อมูล",
requiredError: "กรุณาตอบคำถาม",
requiredErrorInPanel: "กรุณาตอบขั้นต่ำหนึ่งคำถาม",
requiredInAllRowsError: "กรุณาตอบคำถามในทุกๆแถว",
eachRowUniqueError: "แต่ละแถวต้องมีค่าที่ไม่ซ้ํากัน",
numericError: "ข้อมูลที่ใส่ต้องเป็นตัวเลข",
minError: "ค่าไม่ควรน้อยกว่า {0}",
maxError: "ค่าไม่ควรเกิน{0}",
textMinLength: "กรุณาใส่ขั้นต่ำจำนวน {0} ตัวอักษร",
textMaxLength: "กรุณาใส่ไม่เกินจำนวน {0} ตัวอักษร",
textMinMaxLength: "กรุณาใส่ขั้นต่ำจำนวน {0} และไม่เกินจำนวน {1} ตัวอักษร",
minRowCountError: "กรุณาใส่ขั้นต่ำจำนวน {0} แถว",
minSelectError: "กรุณาเลือกอย่างน้อย {0} รายการ",
maxSelectError: "กรุณาเลือกไม่เกิน {0} รายการ",
numericMinMax: "'{0}' ต้องมากกว่าหรือเท่ากับ {1} และน้อยกว่าหรือเท่ากับ {2}",
numericMin: "'{0}' ต้องมากกว่าหรือเท่ากับ {1}",
numericMax: "'{0}' น้อยกว่าหรือเท่ากับ {1}",
invalidEmail: "กรุณาใส่อีเมล์แอดเดรสที่ถูกต้อง",
invalidExpression: "The expression: {0} ต้องรีเทิร์น 'true'.",
urlRequestError: "รีเควสรีเทิร์น error '{0}'. {1}",
urlGetChoicesError: "รีเควสรีเทิร์นข้อมูลว่างเปล่า หรือ 'path' property ไม่ถูกต้อง",
exceedMaxSize: "ขนาดไฟล์ต้องไม่เกิน {0}.",
noUploadFilesHandler: "ไม่สามารถอัปโหลดไฟล์ได้ โปรดเพิ่มตัวจัดการสําหรับเหตุการณ์ 'onUploadFiles'",
otherRequiredError: "กรุณาใส่ค่าอื่น",
uploadingFile: "ไฟล์ของคุณกำลังอัพโหลดอยู่. กรุณารอสักครู่แล้วทำการลองอีกครั้ง",
loadingFile: "กำลังโหลด...",
chooseFile: "เลือกไฟล์...",
noFileChosen: "ไม่ไฟล์ที่เลือก",
filePlaceholder: "ลากและวางไฟล์ที่นี่หรือคลิกปุ่มด้านล่างและเลือกไฟล์ที่จะอัปโหลด",
confirmDelete: "คุณต้องการลบรายการนี้จริงหรือไม่?",
keyDuplicationError: "ข้อมูลนี้ต้องเป็น unique.",
addColumn: "เพิ่มคอลัมน์",
addRow: "เพิ่มแถว",
removeRow: "ลบ",
emptyRowsText: "ไม่มีแถว",
addPanel: "เพิ่ม",
removePanel: "ลบ",
showDetails: "แสดงรายละเอียด",
hideDetails: "ซ่อนรายละเอียด",
choices_Item: "ชิ้น",
matrix_column: "คอลัมน์",
matrix_row: "แถว",
multipletext_itemname: "ข้อความ",
savingData: "ผลลัพท์กำลังบันทึกลงที่เซิร์ฟเวอร์...",
savingDataError: "มีความผิดพลาดเกิดขึ้นส่งผลให้ไม่สามารถบันทึกผลได้",
savingDataSuccess: "บันทึกสำเร็จแล้ว",
saveAgainButton: "รบกวนลองอีกครั้ง",
timerMin: "นาที",
timerSec: "วินาที",
timerSpentAll: "คุณใช้เวลา {0} บนหน้านี้และ {1} รวมทั้งหมด",
timerSpentPage: "คุณใช้เวลา {0} บนหน้านี้",
timerSpentSurvey: "คุณใช้เวลา {0} รวมทั้งหมด",
timerLimitAll: "คุณใช้เวลา {0} ของ {1} บนหน้านี้และ {2} ของ {3} รวมทั้งหมด",
timerLimitPage: "คุณใช้เวลา {0} ของ {1} บนหน้านี้",
timerLimitSurvey: "คุณใช้เวลา {0} ของ {1} รวมทั้งหมด",
clearCaption: "เคลียร์",
signaturePlaceHolder: "ลงชื่อที่นี่",
chooseFileCaption: "เลือกไฟล์",
takePhotoCaption: "ถ่ายรูป",
photoPlaceholder: "คลิกปุ่มด้านล่างเพื่อถ่ายภาพโดยใช้กล้อง",
fileOrPhotoPlaceholder: "ลากและวางหรือเลือกไฟล์ที่จะอัปโหลดหรือถ่ายภาพโดยใช้กล้อง",
replaceFileCaption: "แทนที่ไฟล์",
removeFileCaption: "นำไฟล์นี้ออก",
booleanCheckedLabel: "ใช่",
booleanUncheckedLabel: "ไม่ใช่",
confirmRemoveFile: "คุณแน่ใจที่จะนำไฟล์นี้ออกใช่หรือไม่: {0}?",
confirmRemoveAllFiles: "คุณแน่ใจที่จะนำไฟล์ทั้งหมดออกใช่หรือไม่",
questionTitlePatternText: "ชื่อคำถาม",
modalCancelButtonText: "ยกเลิก",
modalApplyButtonText: "ใช้",
filterStringPlaceholder: "พิมพ์เพื่อค้นหา...",
emptyMessage: "ไม่มีข้อมูลที่จะแสดง",
noEntriesText: "ยังไม่มีรายการ\nคลิกปุ่มด้านล่างเพื่อเพิ่มรายการใหม่",
noEntriesReadonlyText: "ไม่มีรายการ",
more: "อีก",
tagboxDoneButtonCaption: "ตกลง, ได้",
selectToRankEmptyRankedAreaText: "ตัวเลือกทั้งหมดจะถูกจัดอันดับ",
selectToRankEmptyUnrankedAreaText: "ลากและวางตัวเลือกที่นี่เพื่อจัดอันดับ",
ok: "ตกลง, ได้",
cancel: "ยกเลิก"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["th"] = thaiStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["th"] = "ไทย";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} of {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "แผง {panelIndex}"
// ratingOptionsCaption: "Select..." => "เลือก "
// minError: "The value should not be less than {0}" => "ค่าไม่ควรน้อยกว่า {0}"
// maxError: "The value should not be greater than {0}" => "ค่าไม่ควรเกิน{0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "ลากและวางไฟล์ที่นี่หรือคลิกปุ่มด้านล่างและเลือกไฟล์ที่จะอัปโหลด"
// emptyRowsText: "There are no rows." => "ไม่มีแถว"
// multipletext_itemname: "text" => "ข้อความ"
// signaturePlaceHolder: "Sign here" => "ลงชื่อที่นี่"
// modalCancelButtonText: "Cancel" => "ยกเลิก"
// modalApplyButtonText: "Apply" => "ใช้"
// filterStringPlaceholder: "Type to search..." => "พิมพ์เพื่อค้นหา..."
// emptyMessage: "No data to display" => "ไม่มีข้อมูลที่จะแสดง"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "ยังไม่มีรายการ\nคลิกปุ่มด้านล่างเพื่อเพิ่มรายการใหม่"
// noEntriesReadonlyText: "There are no entries." => "ไม่มีรายการ"
// more: "More" => "อีก"
// tagboxDoneButtonCaption: "OK" => "ตกลง, ได้"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "ตัวเลือกทั้งหมดจะถูกจัดอันดับ"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "ลากและวางตัวเลือกที่นี่เพื่อจัดอันดับ"// takePhotoCaption: "Take Photo" => "ถ่ายรูป"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "คลิกปุ่มด้านล่างเพื่อถ่ายภาพโดยใช้กล้อง"
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "ลากและวางหรือเลือกไฟล์ที่จะอัปโหลดหรือถ่ายภาพโดยใช้กล้อง"
// replaceFileCaption: "Replace file" => "แทนที่ไฟล์"// eachRowUniqueError: "Each row must have a unique value." => "แต่ละแถวต้องมีค่าที่ไม่ซ้ํากัน"
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "ไม่สามารถอัปโหลดไฟล์ได้ โปรดเพิ่มตัวจัดการสําหรับเหตุการณ์ 'onUploadFiles'"
// showDetails: "Show Details" => "แสดงรายละเอียด"
// hideDetails: "Hide Details" => "ซ่อนรายละเอียด"
// ok: "OK" => "ตกลง, ได้"
// cancel: "Cancel" => "ยกเลิก"// refuseItemText: "Refuse to answer" => "ปฏิเสธที่จะตอบ"
// dontKnowItemText: "Don't know" => "ไม่ทราบ"
/***/ }),
/***/ "./src/localization/traditional-chinese.ts":
/*!*************************************************!*\
!*** ./src/localization/traditional-chinese.ts ***!
\*************************************************/
/*! exports provided: traditionalChineseSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "traditionalChineseSurveyStrings", function() { return traditionalChineseSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var traditionalChineseSurveyStrings = {
pagePrevText: "上一頁",
pageNextText: "下一頁",
completeText: "提交問卷",
previewText: "預覽",
editText: "編輯",
startSurveyText: "開始",
otherItemText: "填寫其他答案",
noneItemText: "沒有",
refuseItemText: "拒絕回答",
dontKnowItemText: "不知道",
selectAllItemText: "全選",
progressText: "第 {0} 頁, 共 {1} 頁",
indexText: "{1}{0}",
panelDynamicProgressText: "{1}{0}",
panelDynamicTabTextFormat: "面板 {面板索引}",
questionsProgressText: "回答了{0}/{1}問題",
emptySurvey: "問卷中沒有問題或頁面",
completingSurvey: "感謝您的參與!",
completingSurveyBefore: "我們的記錄顯示您已經完成了此調查。",
loadingSurvey: "問卷載入中...",
placeholder: "請選擇...",
ratingOptionsCaption: "選擇。。。",
value: "價值",
requiredError: "請填寫此問題",
requiredErrorInPanel: "需要回答:至少回答一個問題。",
requiredInAllRowsError: "請填寫所有行中問題",
eachRowUniqueError: "每行必須具有唯一值。",
numericError: "答案必須是個數字",
minError: "該值不應小於 {0}",
maxError: "該值不應大於 {0}",
textMinLength: "答案長度至少 {0} 個字元",
textMaxLength: "答案長度不能超過 {0} 個字元",
textMinMaxLength: "答案長度必須在 {0} - {1} 個字元之間",
minRowCountError: "最少需要填寫 {0} 行答案",
minSelectError: "最少需要選擇 {0} 項答案",
maxSelectError: "最多只能選擇 {0} 項答案",
numericMinMax: "答案 '{0}' 必須大於等於 {1} 且小於等於 {2}",
numericMin: "答案 '{0}' 必須大於等於 {1}",
numericMax: "答案 '{0}' 必須小於等於 {1}",
invalidEmail: "請輸入有效的 Email 地址",
invalidExpression: "表達式:{0}應返回「true」。",
urlRequestError: "載入選項時發生錯誤 '{0}': {1}",
urlGetChoicesError: "未能載入有效的選項或請求參數路徑有誤",
exceedMaxSize: "文件大小不能超過 {0}",
noUploadFilesHandler: "無法上傳檔。請為「onUploadFiles」事件添加處理程式。",
otherRequiredError: "請完成其他問題",
uploadingFile: "文件上傳中... 請耐心等待幾秒後重試",
loadingFile: "裝載。。。",
chooseFile: "選擇檔案...",
noFileChosen: "未選擇任何檔",
filePlaceholder: "將檔案拖放到此處或按下下面的按鈕並選擇要上傳的檔。",
confirmDelete: "是否要刪除記錄?",
keyDuplicationError: "此值應該是唯一的。",
addColumn: "添加列",
addRow: "添加答案",
removeRow: "刪除答案",
emptyRowsText: "沒有行。",
addPanel: "新增",
removePanel: "刪除",
showDetails: "顯示詳細資訊",
hideDetails: "隱藏詳細資訊",
choices_Item: "選項",
matrix_column: "列",
matrix_row: "行",
multipletext_itemname: "發簡訊",
savingData: "正在將結果保存到服務器...",
savingDataError: "在保存結果過程中發生了錯誤,結果未能保存",
savingDataSuccess: "結果保存成功!",
saveAgainButton: "請重試",
timerMin: "最小",
timerSec: "秒",
timerSpentAll: "您在此頁面上花費了{0},總共{1}。",
timerSpentPage: "您在此頁面上花費了{0}。",
timerSpentSurvey: "你總共花了{0}。",
timerLimitAll: "您在此頁面上花費了{0}{1},總共花費了{2}{3}。",
timerLimitPage: "您在此頁面上花費了{0}{1}。",
timerLimitSurvey: "您總共花費了{1}的{0}。",
clearCaption: "清楚",
signaturePlaceHolder: "在此簽名",
chooseFileCaption: "選擇檔案",
takePhotoCaption: "拍照",
photoPlaceholder: "按下下面的按鈕使用相機拍照。",
fileOrPhotoPlaceholder: "拖放或選擇要上傳的檔或使用相機拍攝照片。",
replaceFileCaption: "替換檔",
removeFileCaption: "刪除此檔",
booleanCheckedLabel: "是的",
booleanUncheckedLabel: "不",
confirmRemoveFile: "是否確實要刪除此檔:{0}?",
confirmRemoveAllFiles: "是否確實要刪除所有檔?",
questionTitlePatternText: "問題標題",
modalCancelButtonText: "取消",
modalApplyButtonText: "應用",
filterStringPlaceholder: "鍵入以搜尋...",
emptyMessage: "沒有要顯示的數據",
noEntriesText: "尚無條目。\n按下下面的按鈕以添加新條目。",
noEntriesReadonlyText: "沒有條目。",
more: "更多",
tagboxDoneButtonCaption: "還行",
selectToRankEmptyRankedAreaText: "所有選擇均已排名",
selectToRankEmptyUnrankedAreaText: "將選項拖放到此處進行排名",
ok: "還行",
cancel: "取消"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["zh-tw"] = traditionalChineseSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["zh-tw"] = "繁體中文";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// previewText: "Preview" => "預覽"
// editText: "Edit" => "編輯"
// startSurveyText: "Start" => "開始"
// noneItemText: "None" => "沒有"
// selectAllItemText: "Select All" => "全選"
// indexText: "{0} of {1}" => "{1}{0}"
// panelDynamicProgressText: "{0} of {1}" => "{1}{0}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "面板 {面板索引}"
// questionsProgressText: "Answered {0}/{1} questions" => "回答了{0}/{1}問題"
// completingSurveyBefore: "Our records show that you have already completed this survey." => "我們的記錄顯示您已經完成了此調查。"
// ratingOptionsCaption: "Select..." => "選擇。。。"
// value: "value" => "價值"
// requiredErrorInPanel: "Response required: answer at least one question." => "需要回答:至少回答一個問題。"
// minError: "The value should not be less than {0}" => "該值不應小於 {0}"
// maxError: "The value should not be greater than {0}" => "該值不應大於 {0}"
// invalidExpression: "The expression: {0} should return 'true'." => "表達式:{0}應返回「true」。"
// loadingFile: "Loading..." => "裝載。。。"
// chooseFile: "Choose file(s)..." => "選擇檔案..."
// noFileChosen: "No file chosen" => "未選擇任何檔"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "將檔案拖放到此處或按下下面的按鈕並選擇要上傳的檔。"
// confirmDelete: "Do you want to delete the record?" => "是否要刪除記錄?"
// keyDuplicationError: "This value should be unique." => "此值應該是唯一的。"
// addColumn: "Add Column" => "添加列"
// emptyRowsText: "There are no rows." => "沒有行。"
// addPanel: "Add new" => "新增"
// removePanel: "Remove" => "刪除"
// multipletext_itemname: "text" => "發簡訊"
// timerMin: "min" => "最小"
// timerSec: "sec" => "秒"
// timerSpentAll: "You have spent {0} on this page and {1} in total." => "您在此頁面上花費了{0},總共{1}。"
// timerSpentPage: "You have spent {0} on this page." => "您在此頁面上花費了{0}。"
// timerSpentSurvey: "You have spent {0} in total." => "你總共花了{0}。"
// timerLimitAll: "You have spent {0} of {1} on this page and {2} of {3} in total." => "您在此頁面上花費了{0}{1},總共花費了{2}{3}。"
// timerLimitPage: "You have spent {0} of {1} on this page." => "您在此頁面上花費了{0}{1}。"
// timerLimitSurvey: "You have spent {0} of {1} in total." => "您總共花費了{1}的{0}。"
// clearCaption: "Clear" => "清楚"
// signaturePlaceHolder: "Sign here" => "在此簽名"
// chooseFileCaption: "Choose file" => "選擇檔案"
// removeFileCaption: "Remove this file" => "刪除此檔"
// booleanCheckedLabel: "Yes" => "是的"
// booleanUncheckedLabel: "No" => "不"
// confirmRemoveFile: "Are you sure that you want to remove this file: {0}?" => "是否確實要刪除此檔:{0}?"
// confirmRemoveAllFiles: "Are you sure that you want to remove all files?" => "是否確實要刪除所有檔?"
// questionTitlePatternText: "Question Title" => "問題標題"
// modalCancelButtonText: "Cancel" => "取消"
// modalApplyButtonText: "Apply" => "應用"
// filterStringPlaceholder: "Type to search..." => "鍵入以搜尋..."
// emptyMessage: "No data to display" => "沒有要顯示的數據"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "尚無條目。\n按下下面的按鈕以添加新條目。"
// noEntriesReadonlyText: "There are no entries." => "沒有條目。"
// more: "More" => "更多"
// tagboxDoneButtonCaption: "OK" => "還行"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "所有選擇均已排名"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "將選項拖放到此處進行排名"// takePhotoCaption: "Take Photo" => "拍照"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "按下下面的按鈕使用相機拍照。"
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "拖放或選擇要上傳的檔或使用相機拍攝照片。"
// replaceFileCaption: "Replace file" => "替換檔"// eachRowUniqueError: "Each row must have a unique value." => "每行必須具有唯一值。"
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "無法上傳檔。請為「onUploadFiles」事件添加處理程式。"
// showDetails: "Show Details" => "顯示詳細資訊"
// hideDetails: "Hide Details" => "隱藏詳細資訊"
// ok: "OK" => "還行"
// cancel: "Cancel" => "取消"// refuseItemText: "Refuse to answer" => "拒絕回答"
// dontKnowItemText: "Don't know" => "不知道"
/***/ }),
/***/ "./src/localization/turkish.ts":
/*!*************************************!*\
!*** ./src/localization/turkish.ts ***!
\*************************************/
/*! exports provided: turkishSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "turkishSurveyStrings", function() { return turkishSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var turkishSurveyStrings = {
pagePrevText: "Önceki",
pageNextText: "Sonraki",
completeText: "Tamamla",
previewText: "Önizleme",
editText: "Düzenle",
startSurveyText: "Başlat",
otherItemText: "Diğer (açıklayınız)",
noneItemText: "Hiçbiri",
refuseItemText: "Cevap vermeyi reddet",
dontKnowItemText: "Bilmiyorum",
selectAllItemText: "Tümünü Seç",
progressText: "Sayfa {0}/{1}",
indexText: "{0}/{1}",
panelDynamicProgressText: "{0}/{1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "{0}/{1} soru yanıtlandı",
emptySurvey: "Ankette görüntülenecek sayfa ya da soru mevcut değil.",
completingSurvey: "Anketi tamamladığınız için teşekkür ederiz",
completingSurveyBefore: "Kayıtlarımız bu anketi zaten tamamladığınızı gösteriyor.",
loadingSurvey: "Anket Yükleniyor...",
placeholder: "Seçiniz...",
ratingOptionsCaption: "Seçiniz...",
value: "değer",
requiredError: "Lütfen soruya cevap verin.",
requiredErrorInPanel: "Lütfen en az bir soruyu yanıtlayın.",
requiredInAllRowsError: "Lütfen tüm satırlardaki soruları cevaplayın.",
eachRowUniqueError: "Her satırın benzersiz bir değeri olmalıdır.",
numericError: "Değer sayısal olmalıdır.",
minError: "Değer {0}'den küçük olmamalıdır",
maxError: "Değer {0}'dan büyük olmamalıdır",
textMinLength: "Lütfen en az {0} karakter girin.",
textMaxLength: "Lütfen en fazla {0} karakter girin.",
textMinMaxLength: "Lütfen {0}’den fazla ve {1}’den az karakter girin.",
minRowCountError: "Lütfen en az {0} satırı doldurun.",
minSelectError: "Lütfen en az {0} seçeneği seçin.",
maxSelectError: "Lütfen en fazla {0} seçeneği seçin.",
numericMinMax: "'{0}', {1}'e eşit veya daha büyük ve {2}'ye eşit veya daha küçük olmalıdır",
numericMin: "'{0}' değeri {1} değerine eşit veya büyük olmalıdır",
numericMax: "'{0}' değeri {1} değerine eşit ya da küçük olmalıdır.",
invalidEmail: "Lütfen geçerli bir e-posta adresi girin.",
invalidExpression: "İfade: {0} 'true' döndürmelidir.",
urlRequestError: "İstek '{0}' hatasını döndürdü. {1}",
urlGetChoicesError: "İstek boş veri döndürdü veya 'path' özelliği yanlış",
exceedMaxSize: "Dosya boyutu {0} değerini geçemez.",
noUploadFilesHandler: "Dosyalar yüklenemiyor. Lütfen 'onUploadFiles' olayı için bir işleyici ekleyin.",
otherRequiredError: "Lütfen diğer değerleri girin.",
uploadingFile: "Dosyanız yükleniyor. Lütfen birkaç saniye bekleyin ve tekrar deneyin.",
loadingFile: "Yükleniyor...",
chooseFile: "Dosyaları seçin...",
noFileChosen: "Dosya seçili değil",
filePlaceholder: "Buraya bir dosya bırakın veya dosyayı yüklemek için aşağıdaki düğmeyi tıklayın.",
confirmDelete: "Kaydı silmek istiyor musunuz?",
keyDuplicationError: "Bu değer benzersiz olmalıdır.",
addColumn: "Sütun Ekle",
addRow: "Satır Ekle",
removeRow: "Kaldır",
emptyRowsText: "Satır yok.",
addPanel: "Yeni ekle",
removePanel: "Kaldır",
showDetails: "Detayları göster",
hideDetails: "Detayları Gizle",
choices_Item: "öğe",
matrix_column: "Sütun",
matrix_row: "Satır",
multipletext_itemname: "metin",
savingData: "Sonuçlar sunucuya kaydediliyor...",
savingDataError: "Bir hata oluştu ve sonuçlar kaydedilemedi.",
savingDataSuccess: "Sonuçlar başarıyla kaydedildi!",
saveAgainButton: "Tekrar deneyin",
timerMin: "dakika",
timerSec: "saniye",
timerSpentAll: "Bu sayfada {0} ve toplamda {1} harcadınız.",
timerSpentPage: "Bu sayfaya {0} harcadınız.",
timerSpentSurvey: "Toplamda {0} harcadınız.",
timerLimitAll: "Bu sayfaya {0}/{1} ve toplamda {2}/{3} harcadınız.",
timerLimitPage: "Bu sayfaya {0}/{1} harcadınız.",
timerLimitSurvey: "Toplamda {0}/{1} harcadınız.",
clearCaption: "Temizle",
signaturePlaceHolder: "Burayı imzalayın",
chooseFileCaption: "Dosya seçin",
takePhotoCaption: "Fotoğraf Çekin",
photoPlaceholder: "Kamerayı kullanarak fotoğraf çekmek için aşağıdaki düğmeyi tıklayın.",
fileOrPhotoPlaceholder: "Kamerayı kullanarak fotoğraf yüklemek veya fotoğraf çekmek için bir dosyayı sürükleyip bırakın veya seçin.",
replaceFileCaption: "Dosyayı değiştir",
removeFileCaption: "Bu dosyayı kaldır",
booleanCheckedLabel: "Evet",
booleanUncheckedLabel: "Hayır",
confirmRemoveFile: "Bu dosyayı kaldırmak istediğinizden emin misiniz: {0}?",
confirmRemoveAllFiles: "Tüm dosyaları kaldırmak istediğinizden emin misiniz?",
questionTitlePatternText: "Soru Başlığı",
modalCancelButtonText: "İptal",
modalApplyButtonText: "Uygula",
filterStringPlaceholder: "Aramak için yazın...",
emptyMessage: "Görüntülenecek veri yok",
noEntriesText: "Henüz giriş yok.\nYeni bir giriş eklemek için aşağıdaki düğmeyi tıklayın.",
noEntriesReadonlyText: "Giriş yok.",
more: "Daha fazla",
tagboxDoneButtonCaption: "TAMAM",
selectToRankEmptyRankedAreaText: "Tüm seçenekler sıralanmıştır",
selectToRankEmptyUnrankedAreaText: "Seçimleri sıralamak için buraya sürükleyip bırakın",
ok: "TAMAM",
cancel: "İptal"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["tr"] = turkishSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["tr"] = "türkçe";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// takePhotoCaption: "Take Photo" => "Fotoğraf Çekin"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Kamerayı kullanarak fotoğraf çekmek için aşağıdaki düğmeyi tıklayın."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Kamerayı kullanarak fotoğraf yüklemek veya fotoğraf çekmek için bir dosyayı sürükleyip bırakın veya seçin."
// replaceFileCaption: "Replace file" => "Dosyayı değiştir"// eachRowUniqueError: "Each row must have a unique value." => "Her satırın benzersiz bir değeri olmalıdır."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Dosyalar yüklenemiyor. Lütfen 'onUploadFiles' olayı için bir işleyici ekleyin."
// showDetails: "Show Details" => "Detayları göster"
// hideDetails: "Hide Details" => "Detayları Gizle"
// ok: "OK" => "TAMAM"
// cancel: "Cancel" => "İptal"// refuseItemText: "Refuse to answer" => "Cevap vermeyi reddet"
// dontKnowItemText: "Don't know" => "Bilmiyorum"
/***/ }),
/***/ "./src/localization/ukrainian.ts":
/*!***************************************!*\
!*** ./src/localization/ukrainian.ts ***!
\***************************************/
/*! exports provided: ukrainianSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ukrainianSurveyStrings", function() { return ukrainianSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var ukrainianSurveyStrings = {
pagePrevText: "Назад",
pageNextText: "Далі",
completeText: "Завершити",
previewText: "Попередній перегляд",
editText: "Редагувати",
startSurveyText: "Почати",
otherItemText: "Інше (будь ласка, опишіть)",
noneItemText: "Жоден",
refuseItemText: "Відмовтеся відповідати",
dontKnowItemText: "Не знаю",
selectAllItemText: "Вибрати все",
progressText: "Сторінка {0} з {1}",
indexText: "{0} {1}",
panelDynamicProgressText: "Запис {0} із {1}",
panelDynamicTabTextFormat: "Панель {panelIndex}",
questionsProgressText: "Відповіли на {0}/{1} питань",
emptySurvey: "Немає жодного питання.",
completingSurvey: "Дякуємо Вам за заповнення анкети!",
completingSurveyBefore: "Ви вже проходили це опитування.",
loadingSurvey: "Завантаження опитування...",
placeholder: "Вибрати...",
ratingOptionsCaption: "Виберіть...",
value: "значення",
requiredError: "Будь ласка, дайте відповідь.",
requiredErrorInPanel: "Будь ласка, дайте відповідь хоча б на одне питання.",
requiredInAllRowsError: "Будь ласка, дайте відповідь на питання в кожному рядку.",
eachRowUniqueError: "Кожен рядок повинен мати унікальне значення.",
numericError: "Відповідь повинна бути числом.",
minError: "Значення не повинно бути менше {0}",
maxError: "Значення не повинно бути більше {0}",
textMinLength: "Будь ласка введіть більше {0} символів.",
textMaxLength: "Будь ласка введіть менше {0} символів.",
textMinMaxLength: "Будь ласка введіть більше {0} и менше {1} символів.",
minRowCountError: "Будь ласка, заповніть не менше {0} рядків.",
minSelectError: "Будь ласка, виберіть хоча б {0} варіантів.",
maxSelectError: "Будь ласка, виберіть не більше {0} варіантів.",
numericMinMax: "'{0}' повинно бути не менше ніж {1}, і не більше ніж {2}",
numericMin: "'{0}' повинно бути не менше ніж {1}",
numericMax: "'{0}' повинно бути не більше ніж {1}",
invalidEmail: "Будь ласка, введіть дійсну адресу електронної пошти.",
invalidExpression: "Вираз {0} повинен повертати 'true'.",
urlRequestError: "Запит повернув помилку '{0}'. {1}",
urlGetChoicesError: "Відповідь на запит повернулась порожньою або властивіть 'path' вказано невірно",
exceedMaxSize: "Розмір файлу не повинен перевищувати {0}.",
noUploadFilesHandler: "Файли не можна завантажити. Будь ласка, додайте обробник для події 'onUploadFiles'.",
otherRequiredError: "Будь ласка, введіть дані в поле 'Інше'",
uploadingFile: "Ваш файл завантажується. Зачекайте декілька секунд і спробуйте знову.",
loadingFile: "Завантаження...",
chooseFile: "Виберіть файл(и)...",
noFileChosen: "Файл не вибрано",
filePlaceholder: "Перетягніть файл сюди або натисніть кнопку нижче та виберіть файл для завантаження.",
confirmDelete: "Ви хочете видалити запис?",
keyDuplicationError: "Це значення повинно бути унікальним.",
addColumn: "Додати колонку",
addRow: "Додати рядок",
removeRow: "Видалити",
emptyRowsText: "Рядів немає.",
addPanel: "Додати нову",
removePanel: "Видалити",
showDetails: "Показати подробиці",
hideDetails: "Сховати подробиці",
choices_Item: "Варіант",
matrix_column: "Колонка",
matrix_row: "Рядок",
multipletext_itemname: "Текст",
savingData: "Результати зберігаються на сервер...",
savingDataError: "Відбулася помилка, результат не був збережений.",
savingDataSuccess: "Резвультат успішно збережений!",
saveAgainButton: "Спробувати знову",
timerMin: "хв",
timerSec: "сек",
timerSpentAll: "Ви витратили {0} на цій сторінці і {1} загалом.",
timerSpentPage: "Ви витратили {0} на цій сторінці.",
timerSpentSurvey: "Ви витратили {0} протягом тесту.",
timerLimitAll: "Ви витратили {0} з {1} на цій сторінці і {2} з {3} для всього тесту.",
timerLimitPage: "Ви витратили {0} з {1} на цій сторінці.",
timerLimitSurvey: "Ви витратили {0} з {1} для всього тесту.",
clearCaption: "Очистити",
signaturePlaceHolder: "Підпишіться тут",
chooseFileCaption: "Виберіть файл",
takePhotoCaption: "Зробити фото",
photoPlaceholder: "Натисніть кнопку нижче, щоб зробити фото за допомогою камери.",
fileOrPhotoPlaceholder: "Перетягніть або виберіть файл, щоб завантажити або зробити фотографію за допомогою камери.",
replaceFileCaption: "Замінити файл",
removeFileCaption: "Видалити файл",
booleanCheckedLabel: "Так",
booleanUncheckedLabel: "Ні",
confirmRemoveFile: "Ви впевнені, що хочете видалити цей файл: {0}?",
confirmRemoveAllFiles: "Ви впевнені, що хочете видалити всі файли?",
questionTitlePatternText: "Назва запитання",
modalCancelButtonText: "Скасувати",
modalApplyButtonText: "Застосовувати",
filterStringPlaceholder: "Введіть для пошуку...",
emptyMessage: "Немає даних для відображення",
noEntriesText: "Записів поки немає.\nНатисніть кнопку нижче, щоб додати новий запис.",
noEntriesReadonlyText: "Записів немає.",
more: "Більше",
tagboxDoneButtonCaption: "ГАРАЗД",
selectToRankEmptyRankedAreaText: "Всі варіанти ранжуються",
selectToRankEmptyUnrankedAreaText: "Перетягніть варіанти тут, щоб оцінити їх",
ok: "ГАРАЗД",
cancel: "Скасувати"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ua"] = ukrainianSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ua"] = "українська";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Панель {panelIndex}"
// ratingOptionsCaption: "Select..." => "Виберіть..."
// minError: "The value should not be less than {0}" => "Значення не повинно бути менше {0}"
// maxError: "The value should not be greater than {0}" => "Значення не повинно бути більше {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Перетягніть файл сюди або натисніть кнопку нижче та виберіть файл для завантаження."
// emptyRowsText: "There are no rows." => "Рядів немає."
// multipletext_itemname: "text" => "Текст"
// signaturePlaceHolder: "Sign here" => "Підпишіться тут"
// modalCancelButtonText: "Cancel" => "Скасувати"
// modalApplyButtonText: "Apply" => "Застосовувати"
// filterStringPlaceholder: "Type to search..." => "Введіть для пошуку..."
// emptyMessage: "No data to display" => "Немає даних для відображення"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Записів поки немає.\nНатисніть кнопку нижче, щоб додати новий запис."
// noEntriesReadonlyText: "There are no entries." => "Записів немає."
// more: "More" => "Більше"
// tagboxDoneButtonCaption: "OK" => "ГАРАЗД"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Всі варіанти ранжуються"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Перетягніть варіанти тут, щоб оцінити їх"// takePhotoCaption: "Take Photo" => "Зробити фото"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Натисніть кнопку нижче, щоб зробити фото за допомогою камери."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Перетягніть або виберіть файл, щоб завантажити або зробити фотографію за допомогою камери."
// replaceFileCaption: "Replace file" => "Замінити файл"// eachRowUniqueError: "Each row must have a unique value." => "Кожен рядок повинен мати унікальне значення."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Файли не можна завантажити. Будь ласка, додайте обробник для події 'onUploadFiles'."
// showDetails: "Show Details" => "Показати подробиці"
// hideDetails: "Hide Details" => "Сховати подробиці"
// ok: "OK" => "ГАРАЗД"
// cancel: "Cancel" => "Скасувати"// refuseItemText: "Refuse to answer" => "Відмовтеся відповідати"
// dontKnowItemText: "Don't know" => "Не знаю"
/***/ }),
/***/ "./src/localization/vietnamese.ts":
/*!****************************************!*\
!*** ./src/localization/vietnamese.ts ***!
\****************************************/
/*! exports provided: vietnameseSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vietnameseSurveyStrings", function() { return vietnameseSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var vietnameseSurveyStrings = {
pagePrevText: "Trở về",
pageNextText: "Tiếp theo",
completeText: "Hoàn thành",
previewText: "Xem trước",
editText: "Chỉnh sửa",
startSurveyText: "Bắt đầu",
otherItemText: "Khác (mô tả)",
noneItemText: "Trống",
refuseItemText: "Từ chối trả lời",
dontKnowItemText: "Không biết",
selectAllItemText: "Chọn tất cả",
progressText: "Trang {0} / {1}",
indexText: "{0} của {1}",
panelDynamicProgressText: "Dòng {0} / {1}",
panelDynamicTabTextFormat: "Bảng điều khiển {panelIndex}",
questionsProgressText: "Đã trả lời {0}/{1} câu hỏi",
emptySurvey: "Không có trang hoặc câu hỏi nào được hiển thị trong cuộc khảo sát này.",
completingSurvey: "Cảm ơn đã hoàn thành khảo sát!",
completingSurveyBefore: "Hồ sơ chúng tôi cho thấy rằng bạn đã hoàn thành cuộc khảo sát này.",
loadingSurvey: "Đang tải khảo sát...",
placeholder: "Chọn...",
ratingOptionsCaption: "Lựa...",
value: "Giá trị",
requiredError: "Vui lòng trả lời câu hỏi.",
requiredErrorInPanel: "Vui lòng trả lời ít nhất một câu hỏi.",
requiredInAllRowsError: "Vui lòng trả lời các câu hỏi trên tất cả các dòng.",
eachRowUniqueError: "Mỗi hàng phải có một giá trị duy nhất.",
numericError: "Giá trị nên là kiểu số.",
minError: "Giá trị không được nhỏ hơn {0}",
maxError: "Giá trị không được lớn hơn {0}",
textMinLength: "Vui lòng nhập ít nhất {0} kí tự.",
textMaxLength: "Vui lòng nhập ít hơn {0} kí tự.",
textMinMaxLength: "Vui lòng nhập nhiều hơn {0} hoặc ít hơn {1} kí tự.",
minRowCountError: "Vui lòng nhập ít nhất {0} dòng.",
minSelectError: "Vui lòng chọn ít nhất {0} loại.",
maxSelectError: "Vui lòng không chọn nhiều hơn {0} loại.",
numericMinMax: "Giá trị '{0}' nên bằng hoặc lớn hơn {1} và bằng hoặc nhỏ hơn {2}",
numericMin: "Giá trị '{0}' nên bằng hoặc lớn hơn {1}",
numericMax: "Giá trị '{0}' nên bằng hoặc nhỏ hơn {1}",
invalidEmail: "Vui lòng điền địa chỉ email hợp lệ.",
invalidExpression: "Biểu thức: {0} nên trả về 'true'.",
urlRequestError: "Yêu cầu trả về lỗi '{0}'. {1}",
urlGetChoicesError: "Yêu cầu trả về dữ liệu trống hoặc thuộc tính 'path' không đúng",
exceedMaxSize: "Kích thước tập tin không nên vượt quá {0}.",
noUploadFilesHandler: "Không thể tải tệp lên. Vui lòng thêm trình xử lý cho sự kiện 'onUploadFiles'.",
otherRequiredError: "Vui lòng điền giá trị khác.",
uploadingFile: "Tập tin đang được tải lên. Vui lòng chờ một lúc và thử lại.",
loadingFile: "Đang tải...",
chooseFile: "Chọn các tập tin...",
noFileChosen: "Không có tập tin nào được chọn",
filePlaceholder: "Kéo và thả tệp vào đây hoặc nhấp vào nút bên dưới và chọn tệp để tải lên.",
confirmDelete: "Bạn muốn xóa dòng này?",
keyDuplicationError: "Giá trị này không nên bị trùng lặp.",
addColumn: "Thêm cột",
addRow: "Thêm dòng",
removeRow: "Xóa",
emptyRowsText: "Không có hàng.",
addPanel: "Thêm mới",
removePanel: "Xóa",
showDetails: "Hiển thị chi tiết",
hideDetails: "Ẩn chi tiết",
choices_Item: "mục",
matrix_column: "Cột",
matrix_row: "Dòng",
multipletext_itemname: "Nhắn tin",
savingData: "Kết quả đang lưu lại trên hệ thống...",
savingDataError: "Có lỗi xảy ra và chúng ta không thể lưu kết quả.",
savingDataSuccess: "Kết quả đã được lưu thành công!",
saveAgainButton: "Thử lại",
timerMin: "phút",
timerSec: "giây",
timerSpentAll: "Bạn đã sử dụng {0} trên trang này và {1} trên toàn bộ.",
timerSpentPage: "Bạn đã sử dụng {0} trên trang.",
timerSpentSurvey: "Bạn đã sử dụng {0} trên toàn bộ.",
timerLimitAll: "Bạn đã sử dụng {0} / {1} trên trang này và {2} / {3} trên toàn bộ.",
timerLimitPage: "Bạn đã sử dụng {0} / {1} trên trang này.",
timerLimitSurvey: "Bạn đã sử dụng {0} / {1} trên toàn bộ.",
clearCaption: "Xóa",
signaturePlaceHolder: "Ký tên tại đây",
chooseFileCaption: "Chọn tập tin",
takePhotoCaption: "Chụp ảnh",
photoPlaceholder: "Nhấp vào nút bên dưới để chụp ảnh bằng máy ảnh.",
fileOrPhotoPlaceholder: "Kéo và thả hoặc chọn tệp để tải lên hoặc chụp ảnh bằng máy ảnh.",
replaceFileCaption: "Thay thế tập tin",
removeFileCaption: "Xóa tập tin",
booleanCheckedLabel: "Có",
booleanUncheckedLabel: "Không",
confirmRemoveFile: "Bạn có chắc chắn muốn xóa tập tin này: {0}?",
confirmRemoveAllFiles: "Bạn có chắc chắn muốn xóa toàn bộ tập tin?",
questionTitlePatternText: "Tiêu đề câu hỏi",
modalCancelButtonText: "Hủy",
modalApplyButtonText: "Áp dụng",
filterStringPlaceholder: "Nhập để tìm kiếm...",
emptyMessage: "Không có dữ liệu để hiển thị",
noEntriesText: "Chưa có mục nào.\nNhấp vào nút bên dưới để thêm mục nhập mới.",
noEntriesReadonlyText: "Không có mục.",
more: "Nhiều hơn",
tagboxDoneButtonCaption: "OK",
selectToRankEmptyRankedAreaText: "Tất cả các lựa chọn được xếp hạng",
selectToRankEmptyUnrankedAreaText: "Kéo và thả các lựa chọn vào đây để xếp hạng chúng",
ok: "OK",
cancel: "Hủy"
};
//Uncomment these two lines on creating a translation file. You should replace "en" and enStrings with your locale ("fr", "de" and so on) and your variable.
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["vi"] = vietnameseSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["vi"] = "Việt Nam";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} của {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Bảng điều khiển {panelIndex}"
// ratingOptionsCaption: "Select..." => "Lựa..."
// minError: "The value should not be less than {0}" => "Giá trị không được nhỏ hơn {0}"
// maxError: "The value should not be greater than {0}" => "Giá trị không được lớn hơn {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Kéo và thả tệp vào đây hoặc nhấp vào nút bên dưới và chọn tệp để tải lên."
// emptyRowsText: "There are no rows." => "Không có hàng."
// multipletext_itemname: "text" => "Nhắn tin"
// signaturePlaceHolder: "Sign here" => "Ký tên tại đây"
// modalCancelButtonText: "Cancel" => "Hủy"
// modalApplyButtonText: "Apply" => "Áp dụng"
// filterStringPlaceholder: "Type to search..." => "Nhập để tìm kiếm..."
// emptyMessage: "No data to display" => "Không có dữ liệu để hiển thị"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Chưa có mục nào.\nNhấp vào nút bên dưới để thêm mục nhập mới."
// noEntriesReadonlyText: "There are no entries." => "Không có mục."
// more: "More" => "Nhiều hơn"
// tagboxDoneButtonCaption: "OK" => "OK"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Tất cả các lựa chọn được xếp hạng"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Kéo và thả các lựa chọn vào đây để xếp hạng chúng"// takePhotoCaption: "Take Photo" => "Chụp ảnh"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Nhấp vào nút bên dưới để chụp ảnh bằng máy ảnh."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Kéo và thả hoặc chọn tệp để tải lên hoặc chụp ảnh bằng máy ảnh."
// replaceFileCaption: "Replace file" => "Thay thế tập tin"// eachRowUniqueError: "Each row must have a unique value." => "Mỗi hàng phải có một giá trị duy nhất."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Không thể tải tệp lên. Vui lòng thêm trình xử lý cho sự kiện 'onUploadFiles'."
// showDetails: "Show Details" => "Hiển thị chi tiết"
// hideDetails: "Hide Details" => "Ẩn chi tiết"
// ok: "OK" => "OK"
// cancel: "Cancel" => "Hủy"// refuseItemText: "Refuse to answer" => "Từ chối trả lời"
// dontKnowItemText: "Don't know" => "Không biết"
/***/ }),
/***/ "./src/localization/welsh.ts":
/*!***********************************!*\
!*** ./src/localization/welsh.ts ***!
\***********************************/
/*! exports provided: welshSurveyStrings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "welshSurveyStrings", function() { return welshSurveyStrings; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
var welshSurveyStrings = {
pagePrevText: "Blaenorol",
pageNextText: "Nesaf",
completeText: "Cwblhau",
previewText: "Rhagolwg",
editText: "Golygu",
startSurveyText: "Dechrau",
otherItemText: "Arall (disgrifiwch)",
noneItemText: "Dim",
refuseItemText: "Gwrthod ateb",
dontKnowItemText: "Ddim yn gwybod",
selectAllItemText: "Dewis y Cyfan ",
progressText: "Tudalen {0} o {1}",
indexText: "{0} o {1}",
panelDynamicProgressText: "Cofnod {0} o {1}",
panelDynamicTabTextFormat: "Panel {panelIndex}",
questionsProgressText: "Wedi ateb {0}/{1} cwestiwn",
emptySurvey: "Does dim modd gweld tudalen na chwestiwn yn yr arolwg.",
completingSurvey: "Diolch am lenwi’r holiadur!",
completingSurveyBefore: "Rydych chi wedi llenwi’r arolwg hwn yn barod yn ôl ein cofnodion.",
loadingSurvey: "Wrthi’n Llwytho’r Arolwg...",
placeholder: "Dewiswch...",
ratingOptionsCaption: "Dewis...",
value: "gwerth",
requiredError: "Atebwch y cwestiwn.",
requiredErrorInPanel: "Atebwch o leiaf un cwestiwn.",
requiredInAllRowsError: "Atebwch y cwestiynau ym mhob rhes.",
eachRowUniqueError: "Rhaid i bob rhes fod â gwerth unigryw.",
numericError: "Dylai’r gwerth fod yn rhif.",
minError: "Ni ddylai'r gwerth fod yn llai na {0}",
maxError: "Ni ddylai'r gwerth fod yn fwy na {0}",
textMinLength: "Rhowch o leiaf {0} nod.",
textMaxLength: "Rhowch lai na {0} nod.",
textMinMaxLength: "Rhowch o leiaf {0} nod ond dim mwy na {1}.",
minRowCountError: "Llenwch o leiaf {0} rhes.",
minSelectError: "Dewiswch o leiaf {0} amrywiolyn.",
maxSelectError: "Peidiwch â dewis mwy na {0} amrywiolyn.",
numericMinMax: "Dylai’r '{0}' fod yr un fath â {1} neu’n fwy, a’r fath â {2} neu’n llai",
numericMin: "Dylai’r '{0}' fod yr un fath â {1} neu’n fwy",
numericMax: "Dylai’r '{0}' fod yr un fath â {1} neu’n llai",
invalidEmail: "Rhowch gyfeiriad e-bost dilys.",
invalidExpression: "Dylai’r mynegiad {0} arwain at 'true'.",
urlRequestError: "Roedd y cais wedi arwain at y gwall '{0}'. {1}",
urlGetChoicesError: "Roedd y cais wedi arwain at ddata gwag neu mae priodwedd y ‘path’ yn anghywir ",
exceedMaxSize: "Ddylai’r ffeil ddim bod yn fwy na {0}.",
noUploadFilesHandler: "Ni ellir llwytho ffeiliau i fyny. Ychwanegwch handler ar gyfer y digwyddiad 'onUploadFiles'.",
otherRequiredError: "Rhowch y gwerth arall.",
uploadingFile: "Mae eich ffeil wrthi’n llwytho i fyny. Arhoswch ychydig o eiliadau a rhoi cynnig arall arni.",
loadingFile: "Wrthi’n llwytho...",
chooseFile: "Dewiswch ffeil(iau)...",
noFileChosen: "Heb ddewis ffeil ",
filePlaceholder: "Llusgwch a gollwng ffeil yma neu cliciwch y botwm isod a dewiswch ffeil i'w lanlwytho.",
confirmDelete: "Ydych chi am ddileu’r cofnod?",
keyDuplicationError: "Dylai’r gwerth hwn fod yn unigryw.",
addColumn: "Ychwanegu colofn ",
addRow: "Ychwanegu rhes",
removeRow: "Tynnu",
emptyRowsText: "Nid oes unrhyw ffraeau.",
addPanel: "Ychwanegu o’r newydd",
removePanel: "Tynnu",
showDetails: "Dangos manylion",
hideDetails: "Manylion Cuddio",
choices_Item: "eitem",
matrix_column: "Colofn",
matrix_row: "Rhes",
multipletext_itemname: "Testun",
savingData: "Mae’r canlyniadau’n cael eu cadw ar y gweinydd...",
savingDataError: "Roedd gwall a doedd dim modd cadw’r canlyniadau.",
savingDataSuccess: "Wedi llwyddo i gadw’r canlyniadau!",
saveAgainButton: "Rhowch gynnig arall arni",
timerMin: "mun",
timerSec: "eil",
timerSpentAll: "Rydych chi wedi treulio {0} ar y dudalen hon a {1} gyda’i gilydd.",
timerSpentPage: "Rydych chi wedi treulio {0} ar y dudalen hon.",
timerSpentSurvey: "Rydych chi wedi treulio {0} gyda’i gilydd.",
timerLimitAll: "Rydych chi wedi treulio {0} o {1} ar y dudalen hon a {2} o {3} gyda’i gilydd.",
timerLimitPage: "Rydych chi wedi treulio {0} o {1} ar y dudalen hon.",
timerLimitSurvey: "Rydych chi wedi treulio {0} o {1} gyda’i gilydd.",
clearCaption: "Clirio",
signaturePlaceHolder: "Arwydd yma",
chooseFileCaption: "Dewiswch ffeil ",
takePhotoCaption: "Tynnu Llun",
photoPlaceholder: "Cliciwch y botwm isod i dynnu llun gan ddefnyddio'r camera.",
fileOrPhotoPlaceholder: "Llusgwch a gollwng neu dewiswch ffeil i lanlwytho neu dynnu llun gan ddefnyddio'r camera.",
replaceFileCaption: "Amnewid ffeil",
removeFileCaption: "Tynnu’r ffeil hon ",
booleanCheckedLabel: "Iawn",
booleanUncheckedLabel: "Na",
confirmRemoveFile: "Ydych chi’n siŵr eich bod am dynnu’r ffeil hon: {0}?",
confirmRemoveAllFiles: "Ydych chi’n siŵr eich bod am dynnu pob ffeil?",
questionTitlePatternText: "Teitl y Cwestiwn ",
modalCancelButtonText: "Canslo",
modalApplyButtonText: "Cynnig",
filterStringPlaceholder: "Teipiwch i chwilio...",
emptyMessage: "Dim data i'w arddangos",
noEntriesText: "Nid oes unrhyw gofnodion hyd yn hyn.\nCliciwch y botwm isod i ychwanegu cofnod newydd.",
noEntriesReadonlyText: "Nid oes unrhyw gofnodion.",
more: "Rhagor",
tagboxDoneButtonCaption: "OCÊ",
selectToRankEmptyRankedAreaText: "Mae'r holl ddewisiadau yn cael eu rhestru",
selectToRankEmptyUnrankedAreaText: "Dewisiadau llusgo a gollwng yma i'w graddio",
ok: "OCÊ",
cancel: "Canslo"
};
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["cy"] = welshSurveyStrings;
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["cy"] = "cymraeg";
// The following strings have been translated by a machine translation service
// Remove those strings that you have corrected manually
// indexText: "{0} of {1}" => "{0} o {1}"
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Panel {panelIndex}"
// ratingOptionsCaption: "Select..." => "Dewis..."
// minError: "The value should not be less than {0}" => "Ni ddylai'r gwerth fod yn llai na {0}"
// maxError: "The value should not be greater than {0}" => "Ni ddylai'r gwerth fod yn fwy na {0}"
// filePlaceholder: "Drag and drop a file here or click the button below and choose a file to upload." => "Llusgwch a gollwng ffeil yma neu cliciwch y botwm isod a dewiswch ffeil i'w lanlwytho."
// emptyRowsText: "There are no rows." => "Nid oes unrhyw ffraeau."
// multipletext_itemname: "text" => "Testun"
// signaturePlaceHolder: "Sign here" => "Arwydd yma"
// modalCancelButtonText: "Cancel" => "Canslo"
// modalApplyButtonText: "Apply" => "Cynnig"
// filterStringPlaceholder: "Type to search..." => "Teipiwch i chwilio..."
// emptyMessage: "No data to display" => "Dim data i'w arddangos"
// noEntriesText: "There are no entries yet.\nClick the button below to add a new entry." => "Nid oes unrhyw gofnodion hyd yn hyn.\nCliciwch y botwm isod i ychwanegu cofnod newydd."
// noEntriesReadonlyText: "There are no entries." => "Nid oes unrhyw gofnodion."
// more: "More" => "Rhagor"
// tagboxDoneButtonCaption: "OK" => "OCÊ"
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Mae'r holl ddewisiadau yn cael eu rhestru"
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Dewisiadau llusgo a gollwng yma i'w graddio"// takePhotoCaption: "Take Photo" => "Tynnu Llun"
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Cliciwch y botwm isod i dynnu llun gan ddefnyddio'r camera."
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Llusgwch a gollwng neu dewiswch ffeil i lanlwytho neu dynnu llun gan ddefnyddio'r camera."
// replaceFileCaption: "Replace file" => "Amnewid ffeil"// eachRowUniqueError: "Each row must have a unique value." => "Rhaid i bob rhes fod â gwerth unigryw."
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Ni ellir llwytho ffeiliau i fyny. Ychwanegwch handler ar gyfer y digwyddiad 'onUploadFiles'."
// showDetails: "Show Details" => "Dangos manylion"
// hideDetails: "Hide Details" => "Manylion Cuddio"
// ok: "OK" => "OCÊ"
// cancel: "Cancel" => "Canslo"// refuseItemText: "Refuse to answer" => "Gwrthod ateb"
// dontKnowItemText: "Don't know" => "Ddim yn gwybod"
/***/ }),
/***/ "./src/martixBase.ts":
/*!***************************!*\
!*** ./src/martixBase.ts ***!
\***************************/
/*! exports provided: QuestionMatrixBaseModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return QuestionMatrixBaseModel; });
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./itemvalue */ "./src/itemvalue.ts");
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./question */ "./src/question.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _conditions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./conditions */ "./src/conditions.ts");
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**
* A base class for all matrix question types.
*/
var QuestionMatrixBaseModel = /** @class */ (function (_super) {
__extends(QuestionMatrixBaseModel, _super);
function QuestionMatrixBaseModel(name) {
var _this = _super.call(this, name) || this;
_this.generatedVisibleRows = null;
_this.generatedTotalRow = null;
_this.filteredRows = null;
_this.filteredColumns = null;
_this.columns = _this.createColumnValues();
_this.rows = _this.createItemValues("rows");
return _this;
}
QuestionMatrixBaseModel.prototype.createColumnValues = function () {
return this.createItemValues("columns");
};
QuestionMatrixBaseModel.prototype.getType = function () {
return "matrixbase";
};
QuestionMatrixBaseModel.prototype.endLoadingFromJson = function () {
_super.prototype.endLoadingFromJson.call(this);
this.updateVisibilityBasedOnRows();
};
Object.defineProperty(QuestionMatrixBaseModel.prototype, "isCompositeQuestion", {
get: function () {
return true;
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "showHeader", {
/**
* Specifies whether to display the table header that contains column captions.
*
* Default value: `true`
*/
get: function () {
return this.getPropertyValue("showHeader");
},
set: function (val) {
this.setPropertyValue("showHeader", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columns", {
/**
* An array of matrix columns.
*
* For a Single-Select Matrix, the `columns` array can contain configuration objects with the `text` (display value) and `value` (value to be saved in survey results) properties. Alternatively, the array can contain primitive values that will be used as both the display values and values to be saved in survey results.
*
* [View "Single-Select Matrix" Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
*
* For a Multi-Select Matrix or Dynamic Matrix, the `columns` array should contain configuration objects with properties described in the [`MatrixDropdownColumn`](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) API Reference section.
*
* [View "Multi-Select Matrix" Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/ (linkStyle))
*/
get: function () {
return this.getPropertyValue("columns");
},
set: function (newValue) {
this.setPropertyValue("columns", newValue);
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "visibleColumns", {
get: function () {
return !!this.filteredColumns ? this.filteredColumns : this.columns;
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "rows", {
/**
* An array of matrix rows.
*
* This array can contain primitive values or objects with the `text` (display value) and `value` (value to be saved in survey results) properties.
*
* [View Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
*/
get: function () {
return this.getPropertyValue("rows");
},
set: function (newValue) {
var newRows = this.processRowsOnSet(newValue);
this.setPropertyValue("rows", newRows);
this.filterItems();
},
enumerable: false,
configurable: true
});
QuestionMatrixBaseModel.prototype.processRowsOnSet = function (newRows) {
return newRows;
};
QuestionMatrixBaseModel.prototype.getVisibleRows = function () {
return [];
};
Object.defineProperty(QuestionMatrixBaseModel.prototype, "visibleRows", {
/**
* Returns an array of visible matrix rows.
* @see rowsVisibleIf
*/
get: function () {
return this.getVisibleRows();
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "rowsVisibleIf", {
/**
* A Boolean expression that is evaluated against each matrix row. If the expression evaluates to `false`, the row becomes hidden.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Use the `{item}` placeholder to reference the current row in the expression.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visibleRows
* @see columnsVisibleIf
*/
get: function () {
return this.getPropertyValue("rowsVisibleIf", "");
},
set: function (val) {
this.setPropertyValue("rowsVisibleIf", val);
this.filterItems();
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnsVisibleIf", {
/**
* A Boolean expression that is evaluated against each matrix column. If the expression evaluates to `false`, the column becomes hidden.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Use the `{item}` placeholder to reference the current column in the expression.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see rowsVisibleIf
*/
get: function () {
return this.getPropertyValue("columnsVisibleIf", "");
},
set: function (val) {
this.setPropertyValue("columnsVisibleIf", val);
this.filterItems();
},
enumerable: false,
configurable: true
});
QuestionMatrixBaseModel.prototype.runCondition = function (values, properties) {
_super.prototype.runCondition.call(this, values, properties);
this.runItemsCondition(values, properties);
};
QuestionMatrixBaseModel.prototype.filterItems = function () {
if (this.areInvisibleElementsShowing) {
this.onRowsChanged();
return false;
}
if (this.isLoadingFromJson || !this.data)
return false;
return this.runItemsCondition(this.getDataFilteredValues(), this.getDataFilteredProperties());
};
QuestionMatrixBaseModel.prototype.onColumnsChanged = function () { };
QuestionMatrixBaseModel.prototype.onRowsChanged = function () {
this.updateVisibilityBasedOnRows();
this.fireCallback(this.visibleRowsChangedCallback);
};
QuestionMatrixBaseModel.prototype.updateVisibilityBasedOnRows = function () {
if (this.hideIfRowsEmpty) {
this.visible =
this.rows.length > 0 &&
(!this.filteredRows || this.filteredRows.length > 0);
}
};
QuestionMatrixBaseModel.prototype.shouldRunColumnExpression = function () {
return !this.survey || !this.survey.areInvisibleElementsShowing;
};
QuestionMatrixBaseModel.prototype.hasRowsAsItems = function () {
return true;
};
QuestionMatrixBaseModel.prototype.runItemsCondition = function (values, properties) {
var oldVisibleRows = null;
if (!!this.filteredRows && !_helpers__WEBPACK_IMPORTED_MODULE_4__["Helpers"].isValueEmpty(this.defaultValue)) {
oldVisibleRows = [];
for (var i = 0; i < this.filteredRows.length; i++) {
oldVisibleRows.push(this.filteredRows[i]);
}
}
var hasChanges = this.hasRowsAsItems() && this.runConditionsForRows(values, properties);
var hasColumnsChanged = this.runConditionsForColumns(values, properties);
hasChanges = hasColumnsChanged || hasChanges;
if (hasChanges) {
if (this.isClearValueOnHidden && (!!this.filteredColumns || !!this.filteredRows)) {
this.clearIncorrectValues();
}
if (!!oldVisibleRows) {
this.restoreNewVisibleRowsValues(oldVisibleRows);
}
this.clearGeneratedRows();
if (hasColumnsChanged) {
this.onColumnsChanged();
}
this.onRowsChanged();
}
return hasChanges;
};
QuestionMatrixBaseModel.prototype.clearGeneratedRows = function () {
this.generatedVisibleRows = null;
};
QuestionMatrixBaseModel.prototype.runConditionsForRows = function (values, properties) {
var showInvisibile = !!this.survey && this.survey.areInvisibleElementsShowing;
var runner = !showInvisibile && !!this.rowsVisibleIf
? new _conditions__WEBPACK_IMPORTED_MODULE_3__["ConditionRunner"](this.rowsVisibleIf)
: null;
this.filteredRows = [];
var hasChanged = _itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].runConditionsForItems(this.rows, this.filteredRows, runner, values, properties, !showInvisibile);
if (this.filteredRows.length === this.rows.length) {
this.filteredRows = null;
}
return hasChanged;
};
QuestionMatrixBaseModel.prototype.runConditionsForColumns = function (values, properties) {
var useColumnsExpression = !!this.survey && !this.survey.areInvisibleElementsShowing;
var runner = useColumnsExpression && !!this.columnsVisibleIf
? new _conditions__WEBPACK_IMPORTED_MODULE_3__["ConditionRunner"](this.columnsVisibleIf)
: null;
this.filteredColumns = [];
var hasChanged = _itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].runConditionsForItems(this.columns, this.filteredColumns, runner, values, properties, this.shouldRunColumnExpression());
if (this.filteredColumns.length === this.columns.length) {
this.filteredColumns = null;
}
return hasChanged;
};
QuestionMatrixBaseModel.prototype.clearIncorrectValues = function () {
var val = this.value;
if (!val)
return;
var newVal = null;
var isChanged = false;
var rows = !!this.filteredRows ? this.filteredRows : this.rows;
var columns = !!this.filteredColumns ? this.filteredColumns : this.columns;
for (var key in val) {
if (_itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].getItemByValue(rows, key) &&
_itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].getItemByValue(columns, val[key])) {
if (newVal == null)
newVal = {};
newVal[key] = val[key];
}
else {
isChanged = true;
}
}
if (isChanged) {
this.value = newVal;
}
_super.prototype.clearIncorrectValues.call(this);
};
QuestionMatrixBaseModel.prototype.clearInvisibleValuesInRows = function () {
if (this.isEmpty())
return;
var newData = this.getUnbindValue(this.value);
var rows = this.rows;
for (var i = 0; i < rows.length; i++) {
var key = rows[i].value;
if (!!newData[key] && !rows[i].isVisible) {
delete newData[key];
}
}
if (this.isTwoValueEquals(newData, this.value))
return;
this.value = newData;
};
QuestionMatrixBaseModel.prototype.restoreNewVisibleRowsValues = function (oldVisibleRows) {
var rows = !!this.filteredRows ? this.filteredRows : this.rows;
var val = this.defaultValue;
var newValue = this.getUnbindValue(this.value);
var isChanged = false;
for (var key in val) {
if (_itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].getItemByValue(rows, key) &&
!_itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"].getItemByValue(oldVisibleRows, key)) {
if (newValue == null)
newValue = {};
newValue[key] = val[key];
isChanged = true;
}
}
if (isChanged) {
this.value = newValue;
}
};
QuestionMatrixBaseModel.prototype.needResponsiveWidth = function () {
//TODO: make it mor intelligent
return true;
};
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnsAutoWidth", {
get: function () {
return !this.isMobile && !this.columns.some(function (col) { return !!col.width; });
},
enumerable: false,
configurable: true
});
QuestionMatrixBaseModel.prototype.getTableCss = function () {
var _a;
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
.append(this.cssClasses.root)
.append(this.cssClasses.columnsAutoWidth, this.columnsAutoWidth)
.append(this.cssClasses.noHeader, !this.showHeader)
.append(this.cssClasses.hasFooter, !!((_a = this.renderedTable) === null || _a === void 0 ? void 0 : _a.showAddRowOnBottom))
.append(this.cssClasses.rootAlternateRows, this.alternateRows)
.append(this.cssClasses.rootVerticalAlignTop, (this.verticalAlign === "top"))
.append(this.cssClasses.rootVerticalAlignMiddle, (this.verticalAlign === "middle")).toString();
};
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnMinWidth", {
/**
* Minimum column width in CSS values.
*
* @see width
*/
get: function () {
return this.getPropertyValue("columnMinWidth") || "";
},
set: function (val) {
this.setPropertyValue("columnMinWidth", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionMatrixBaseModel.prototype, "rowTitleWidth", {
/**
* A width for the column that displays row titles (first column). Accepts CSS values.
*/
get: function () {
return this.getPropertyValue("rowTitleWidth") || "";
},
set: function (val) {
this.setPropertyValue("rowTitleWidth", val);
},
enumerable: false,
configurable: true
});
//a11y
QuestionMatrixBaseModel.prototype.getCellAriaLabel = function (rowTitle, columnTitle) {
var row = (this.getLocalizationString("matrix_row") || "row").toLocaleLowerCase();
var column = (this.getLocalizationString("matrix_column") || "column").toLocaleLowerCase();
return row + " " + rowTitle + ", " + column + " " + columnTitle;
};
Object.defineProperty(QuestionMatrixBaseModel.prototype, "isNewA11yStructure", {
get: function () {
return true;
},
enumerable: false,
configurable: true
});
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
], QuestionMatrixBaseModel.prototype, "verticalAlign", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
], QuestionMatrixBaseModel.prototype, "alternateRows", void 0);
return QuestionMatrixBaseModel;
}(_question__WEBPACK_IMPORTED_MODULE_1__["Question"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("matrixbase", [
{ name: "showCommentArea:switch", layout: "row", visible: true, category: "general" },
"columnsVisibleIf:condition",
"rowsVisibleIf:condition",
"columnMinWidth",
{ name: "showHeader:boolean", default: true },
{
name: "verticalAlign",
choices: ["top", "middle"],
default: "middle",
},
{ name: "alternateRows:boolean", default: false }
], undefined, "question");
/***/ }),
/***/ "./src/mask/input_element_adapter.ts":
/*!*******************************************!*\
!*** ./src/mask/input_element_adapter.ts ***!
\*******************************************/
/*! exports provided: InputElementAdapter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputElementAdapter", function() { return InputElementAdapter; });
var InputElementAdapter = /** @class */ (function () {
function InputElementAdapter(inputMaskInstance, inputElement, value) {
var _this = this;
if (value === void 0) { value = ""; }
this.inputMaskInstance = inputMaskInstance;
this.inputElement = inputElement;
this.prevUnmaskedValue = undefined;
this.inputMaskInstancePropertyChangedHandler = function (sender, options) {
if (options.name !== "saveMaskedValue") {
var maskedValue = _this.inputMaskInstance.getMaskedValue(_this.prevUnmaskedValue);
_this.inputElement.value = maskedValue;
}
};
this.beforeInputHandler = function (event) {
var args = _this.createArgs(event);
var result = _this.inputMaskInstance.processInput(args);
_this.inputElement.value = result.value;
_this.inputElement.setSelectionRange(result.caretPosition, result.caretPosition);
if (!result.cancelPreventDefault) {
event.preventDefault();
}
};
this.inputElement.value = inputMaskInstance.getMaskedValue(value);
this.prevUnmaskedValue = value;
inputMaskInstance.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler);
this.addInputEventListener();
}
InputElementAdapter.prototype.createArgs = function (event) {
var args = {
insertedChars: event.data,
selectionStart: event.target.selectionStart,
selectionEnd: event.target.selectionEnd,
prevValue: event.target.value,
inputDirection: "forward"
};
if (event.inputType === "deleteContentBackward") {
args.inputDirection = "backward";
if (args.selectionStart === args.selectionEnd) {
args.selectionStart = Math.max(args.selectionStart - 1, 0);
}
}
if (event.inputType === "deleteContentForward" && args.selectionStart === args.selectionEnd) {
args.selectionEnd += 1;
}
return args;
};
InputElementAdapter.prototype.addInputEventListener = function () {
if (!!this.inputElement) {
this.inputElement.addEventListener("beforeinput", this.beforeInputHandler);
}
};
InputElementAdapter.prototype.removeInputEventListener = function () {
if (!!this.inputElement) {
this.inputElement.removeEventListener("beforeinput", this.beforeInputHandler);
}
};
InputElementAdapter.prototype.dispose = function () {
this.removeInputEventListener();
this.inputMaskInstance.onPropertyChanged.remove(this.inputMaskInstancePropertyChangedHandler);
};
return InputElementAdapter;
}());
/***/ }),
/***/ "./src/mask/mask_base.ts":
/*!*******************************!*\
!*** ./src/mask/mask_base.ts ***!
\*******************************/
/*! exports provided: InputMaskBase */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return InputMaskBase; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base */ "./src/base.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../jsonobject */ "./src/jsonobject.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**
* A base class for classes that implement input masks:
*
* - [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/inputmasknumeric)
* - [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/inputmaskcurrency)
* - [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/inputmaskdatetime)
* - [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/inputmaskpattern)
*/
var InputMaskBase = /** @class */ (function (_super) {
__extends(InputMaskBase, _super);
function InputMaskBase() {
return _super !== null && _super.apply(this, arguments) || this;
}
InputMaskBase.prototype.getType = function () {
return "masksettings";
};
InputMaskBase.prototype.setData = function (json) {
var _this = this;
var properties = _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].getProperties(this.getType());
properties.forEach(function (property) {
var currentValue = json[property.name];
_this[property.name] = currentValue !== undefined ? currentValue : property.defaultValue;
});
};
InputMaskBase.prototype.getData = function () {
var _this = this;
var res = {};
var properties = _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].getProperties(this.getType());
properties.forEach(function (property) {
var currentValue = _this[property.name];
if (!property.isDefaultValue(currentValue)) {
res[property.name] = currentValue;
}
});
return res;
};
// public get maskedInputValue(): string {
// return this.input.value;
// }
// public get unmaskedInputValue(): string {
// return this.getUnmaskedValue(this.input.value, true);
// }
InputMaskBase.prototype.processInput = function (args) {
return { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
};
InputMaskBase.prototype.getUnmaskedValue = function (src) { return src; };
InputMaskBase.prototype.getMaskedValue = function (src) { return src; };
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
], InputMaskBase.prototype, "saveMaskedValue", void 0);
return InputMaskBase;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("masksettings", [
{
name: "saveMaskedValue:boolean",
visibleIf: function (obj) {
if (!obj)
return false;
return obj.getType() !== "masksettings";
},
},
], function () {
return new InputMaskBase();
});
/***/ }),
/***/ "./src/mask/mask_currency.ts":
/*!***********************************!*\
!*** ./src/mask/mask_currency.ts ***!
\***********************************/
/*! exports provided: InputMaskCurrency */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return InputMaskCurrency; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _mask_numeric__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mask_numeric */ "./src/mask/mask_numeric.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**
* A class that describes an input mask of the `"currency"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
*
* The following code shows how to specify the properties of this class within a survey JSON schema:
*
* ```js
* const surveyJson = {
* "elements": [{
* "name": "textquestion1"
* "type": "text",
* "maskType": "currency",
* "maskSettings": {
* // Specify the properties of a currency input mask here
* }
* }]
* }
* ```
*
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
*/
var InputMaskCurrency = /** @class */ (function (_super) {
__extends(InputMaskCurrency, _super);
function InputMaskCurrency() {
return _super !== null && _super.apply(this, arguments) || this;
}
InputMaskCurrency.prototype.getType = function () {
return "currencymask";
};
InputMaskCurrency.prototype.wrapText = function (str) {
var prefixValue = this.prefix || "";
var suffixValue = this.suffix || "";
var result = str;
if (!result)
return result;
if (result.indexOf(prefixValue) === -1) {
result = prefixValue + result;
}
if (result.indexOf(suffixValue) === -1) {
result += suffixValue;
}
return result;
};
InputMaskCurrency.prototype.unwrapInputArgs = function (args) {
var result = args.prevValue;
if (!result)
return;
if (this.prefix && result.indexOf(this.prefix) !== -1) {
result = result.slice(result.indexOf(this.prefix) + this.prefix.length);
var preffixPadding = (this.prefix || "").length;
args.selectionStart = Math.max((args.selectionStart - preffixPadding), 0);
args.selectionEnd -= preffixPadding;
}
if (this.suffix && result.indexOf(this.suffix) !== -1) {
result = result.slice(0, result.indexOf(this.suffix));
}
args.prevValue = result;
};
InputMaskCurrency.prototype.processInput = function (args) {
this.unwrapInputArgs(args);
var result = _super.prototype.processInput.call(this, args);
var preffixPadding = (this.prefix || "").length;
if (!!result.value) {
result.caretPosition += preffixPadding;
}
result.value = this.wrapText(result.value);
return result;
};
InputMaskCurrency.prototype.getMaskedValue = function (src) {
var result = _super.prototype.getMaskedValue.call(this, src);
return this.wrapText(result);
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskCurrency.prototype, "prefix", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskCurrency.prototype, "suffix", void 0);
return InputMaskCurrency;
}(_mask_numeric__WEBPACK_IMPORTED_MODULE_1__["InputMaskNumeric"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("currencymask", [
{ name: "prefix" },
{ name: "suffix" },
], function () {
return new InputMaskCurrency();
}, "numericmask");
/***/ }),
/***/ "./src/mask/mask_datetime.ts":
/*!***********************************!*\
!*** ./src/mask/mask_datetime.ts ***!
\***********************************/
/*! exports provided: getDateTimeLexems, InputMaskDateTime */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDateTimeLexems", function() { return getDateTimeLexems; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return InputMaskDateTime; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _mask_pattern__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mask_pattern */ "./src/mask/mask_pattern.ts");
/* harmony import */ var _mask_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mask_utils */ "./src/mask/mask_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
function getMaxCountLexem(currentLexemType, count) {
switch (currentLexemType) {
case ("day"):
case ("month"): {
return 2;
}
case ("year"): {
return count;
}
default: {
return 1;
}
}
}
function trimDatePart(lexem, data) {
var result = data;
if (lexem.count < lexem.maxCount && ((lexem.type === "day" && parseInt(data[0]) === 0) || (lexem.type === "month" && parseInt(data[0]) === 0))) {
result = data.slice(1, data.length);
}
return result;
}
function getDefaultYearForValidation(minYear, maxYear) {
var defaultVal = 2000;
if (defaultVal > maxYear) {
defaultVal = parseInt(maxYear.toString().slice(0, maxYear.toString().length - 2)) * 100;
}
if (defaultVal < minYear) {
var middle = (maxYear - minYear) / 2 + minYear;
defaultVal = parseInt(middle.toString().slice(0, middle.toString().length - 1)) * 10;
}
if (defaultVal >= minYear && defaultVal <= maxYear) {
return defaultVal;
}
return minYear;
}
function getDateTimeLexems(pattern) {
var result = [];
var prevLexemType;
var createOrUpdateLexem = function (currentLexemType, currentChar) {
if (!!prevLexemType && prevLexemType === currentLexemType) {
result[result.length - 1].count++;
var maxCount = getMaxCountLexem(currentLexemType, result[result.length - 1].count);
result[result.length - 1].maxCount = maxCount;
}
else {
var maxCount = getMaxCountLexem(currentLexemType, 1);
// result.push({ type: currentLexemType, value: currentChar, count: 1, data: { value: "", isCompleted: false, isCorrect: false }, maxCount: maxCount });
result.push({ type: currentLexemType, value: currentChar, count: 1, maxCount: maxCount });
}
};
for (var index = 0; index < pattern.length; index++) {
var currentChar = pattern[index];
switch (currentChar) {
case "m":
createOrUpdateLexem("month", "m");
break;
case "d":
createOrUpdateLexem("day", "d");
break;
case "y":
createOrUpdateLexem("year", "y");
break;
default:
result.push({ type: "separator", value: currentChar, count: 1, maxCount: 1 });
break;
}
prevLexemType = result[result.length - 1].type;
}
return result;
}
/**
* A class that describes an input mask of the `"datetime"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
*
* The following code shows how to specify the properties of this class within a survey JSON schema:
*
* ```js
* const surveyJson = {
* "elements": [{
* "name": "textquestion1"
* "type": "text",
* "maskType": "datetime",
* "maskSettings": {
* // Specify the properties of a date-time input mask here
* }
* }]
* }
* ```
*
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
*/
var InputMaskDateTime = /** @class */ (function (_super) {
__extends(InputMaskDateTime, _super);
function InputMaskDateTime() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.turnOfTheCentury = 68;
_this.lexems = [];
_this.inputDateTimeData = [];
return _this;
}
InputMaskDateTime.prototype.getType = function () {
return "datetimemask";
};
InputMaskDateTime.prototype.updateLiterals = function () {
this.lexems = getDateTimeLexems(this.pattern || "");
};
InputMaskDateTime.prototype.leaveOnlyNumbers = function (input) {
var result = "";
for (var index = 0; index < input.length; index++) {
if (input[index].match(_mask_utils__WEBPACK_IMPORTED_MODULE_2__["numberDefinition"])) {
result += input[index];
}
}
return result;
};
InputMaskDateTime.prototype.getMaskedStrFromISO = function (str) {
var _this = this;
var date = new Date(str);
this.initInputDateTimeData();
if (!isNaN(date)) {
this.lexems.forEach(function (lexem, index) {
var inputData = _this.inputDateTimeData[index];
inputData.isCompleted = true;
switch (lexem.type) {
case ("day"): {
inputData.value = date.getDate().toString();
break;
}
case ("month"): {
inputData.value = (date.getMonth() + 1).toString();
break;
}
case ("year"): {
var year = date.getFullYear();
if (lexem.count == 2)
year = year % 100;
inputData.value = year.toString();
break;
}
default: {
break;
}
}
});
}
return this.getFormatedString(true);
};
InputMaskDateTime.prototype.initInputDateTimeData = function () {
var _this = this;
this.inputDateTimeData = [];
this.lexems.forEach(function (lexem) {
_this.inputDateTimeData.push({ lexem: lexem, isCompleted: false, value: undefined });
});
};
InputMaskDateTime.prototype.getISO_8601Format = function (dateTime) {
if (dateTime.year === undefined || dateTime.month === undefined || dateTime.day === undefined)
return "";
var year = this.getPlaceholder(4, dateTime.year.toString(), "0") + dateTime.year;
var month = this.getPlaceholder(2, dateTime.month.toString(), "0") + dateTime.month;
var day = this.getPlaceholder(2, dateTime.day.toString(), "0") + dateTime.day;
return [year, month, day].join("-");
};
InputMaskDateTime.prototype.isYearValid = function (dateTime) {
if (dateTime.min === undefined && dateTime.max === undefined)
return false;
var data = dateTime.year.toString();
var minYearPart = dateTime.min.toISOString().slice(0, data.length);
var maxYearPart = dateTime.max.toISOString().slice(0, data.length);
return dateTime.year >= parseInt(minYearPart) && dateTime.year <= parseInt(maxYearPart);
};
InputMaskDateTime.prototype.isDateValid = function (dateTime) {
var min = dateTime.min;
var max = dateTime.max;
var year = dateTime.year !== undefined ? dateTime.year : getDefaultYearForValidation(min.getFullYear(), max.getFullYear());
var month = dateTime.month !== undefined ? dateTime.month : 1;
var day = dateTime.day !== undefined ? dateTime.day : 1;
var date = new Date(this.getISO_8601Format({ year: year, month: month, day: day }));
var monthIndex = month - 1;
return !isNaN(date) &&
date.getDate() === day &&
date.getMonth() === monthIndex &&
date.getFullYear() === year &&
date >= dateTime.min && date <= dateTime.max;
};
InputMaskDateTime.prototype.getPlaceholder = function (lexemLength, str, char) {
var paddingsLength = lexemLength - (str || "").length;
var paddings = paddingsLength > 0 ? char.repeat(paddingsLength) : "";
return paddings;
};
InputMaskDateTime.prototype.updateInputDateTimeData = function (newItem, dateTime) {
var data = newItem.value;
if (!data)
return;
var propertyName = newItem.lexem.type;
dateTime[propertyName] = parseInt(data);
if (data.length === newItem.lexem.maxCount) {
if (this.isDateValid(dateTime)) {
newItem.isCompleted = true;
}
else {
data = data.slice(0, data.length - 1);
}
}
else if (propertyName === "year" && !this.isYearValid(dateTime)) {
data = data.slice(0, data.length - 1);
}
else if ((propertyName === "day" && parseInt(data[0]) > 3) || (propertyName === "month" && parseInt(data[0]) > 1)) {
newItem.isCompleted = true;
}
newItem.value = data;
dateTime[propertyName] = parseInt(data) > 0 ? parseInt(data) : undefined;
};
InputMaskDateTime.prototype.getCorrectDatePartFormat = function (inputData, matchWholeMask) {
var lexem = inputData.lexem;
var dataStr = inputData.value || "";
if (!!dataStr && inputData.isCompleted) {
dataStr = parseInt(dataStr).toString();
}
if (!!dataStr && inputData.isCompleted) {
var zeroPaddings = this.getPlaceholder(lexem.count, dataStr, "0");
dataStr = zeroPaddings + dataStr;
}
else {
// !!!
dataStr = trimDatePart(lexem, dataStr);
if (matchWholeMask) {
dataStr += this.getPlaceholder(lexem.count, dataStr, lexem.value);
}
}
return dataStr;
};
InputMaskDateTime.prototype.createIDateTimeComposition = function () {
var tempDateTime = {
day: undefined,
month: undefined,
year: undefined,
min: new Date(this.min || "0001-01-01"),
max: new Date(this.max || "9999-12-31")
};
return tempDateTime;
};
InputMaskDateTime.prototype.parseTwoDigitYear = function (data) {
var inputData = data.value;
if (data.lexem.type !== "year" || data.lexem.count > 2)
return inputData;
if (!!this.max && this.max.length >= 4) {
this.turnOfTheCentury = parseInt(this.max.slice(2, 4));
}
var year = parseInt(inputData);
var result = (year > this.turnOfTheCentury ? "19" : "20") + inputData;
return result;
};
InputMaskDateTime.prototype.getFormatedString = function (matchWholeMask) {
var result = "";
var prevSeparator = "";
var prevIsCompleted = false;
for (var index = 0; index < this.inputDateTimeData.length; index++) {
var inputData = this.inputDateTimeData[index];
switch (inputData.lexem.type) {
case "day":
case "month":
case "year":
if (inputData.value === undefined && !matchWholeMask) {
result += (prevIsCompleted ? prevSeparator : "");
return result;
}
else {
var data = this.getCorrectDatePartFormat(inputData, matchWholeMask);
result += (prevSeparator + data);
prevIsCompleted = inputData.isCompleted;
}
break;
case "separator":
prevSeparator = inputData.lexem.value;
break;
}
}
return result;
};
InputMaskDateTime.prototype.setInputDateTimeData = function (numberParts) {
var _this = this;
var numberPartsArrayIndex = 0;
this.initInputDateTimeData();
this.lexems.forEach(function (lexem, index) {
if (lexem.type !== "separator" && numberParts.length > 0 && numberPartsArrayIndex < numberParts.length) {
var inputData = _this.inputDateTimeData[index];
var currentPart = numberParts[numberPartsArrayIndex];
var _data = _this.leaveOnlyNumbers(currentPart);
inputData.value = _data.slice(0, lexem.maxCount);
numberPartsArrayIndex++;
}
});
};
InputMaskDateTime.prototype._getMaskedValue = function (src, matchWholeMask) {
var _this = this;
if (matchWholeMask === void 0) { matchWholeMask = true; }
var input = (src === undefined || src === null) ? "" : src.toString();
var inputParts = this.getParts(input);
this.setInputDateTimeData(inputParts);
var tempDateTime = this.createIDateTimeComposition();
this.inputDateTimeData.forEach(function (itemData) { return _this.updateInputDateTimeData(itemData, tempDateTime); });
var result = this.getFormatedString(matchWholeMask);
return result;
};
InputMaskDateTime.prototype.getPartsOld = function (input) {
var inputParts = [];
var separatorLexems = this.lexems.filter(function (l) { return l.type === "separator"; });
var separatorLexemsIndex = 0;
do {
if (!separatorLexems[separatorLexemsIndex]) {
if (!!input) {
inputParts.push(input);
input = "";
}
break;
}
var separatorCharIndex = input.indexOf(separatorLexems[separatorLexemsIndex].value);
if (separatorCharIndex !== -1) {
var part = input.slice(0, separatorCharIndex);
if (!!part) {
inputParts.push(part);
}
input = input.slice(separatorCharIndex + 1);
}
else {
}
separatorLexemsIndex++;
} while (!!input);
return inputParts;
};
InputMaskDateTime.prototype.getParts = function (input) {
var inputParts = [];
var lexemsWithValue = this.lexems.filter(function (l) { return l.type !== "separator"; });
var separators = this.lexems.filter(function (l) { return l.type === "separator"; }).map(function (s) { return s.value; });
var curPart = "";
var foundSeparator = false;
var foundPseudoSeparator = false;
for (var i = 0; i < input.length; i++) {
var inputChar = input[i];
if (inputChar.match(_mask_utils__WEBPACK_IMPORTED_MODULE_2__["numberDefinition"]) || inputChar === lexemsWithValue[inputParts.length].value) {
foundSeparator = false;
foundPseudoSeparator = false;
curPart += inputChar;
}
else {
if (separators.indexOf(inputChar) !== -1) {
if (!foundPseudoSeparator) {
foundSeparator = true;
inputParts.push(curPart);
curPart = "";
}
}
else {
if (!foundSeparator) {
foundPseudoSeparator = true;
inputParts.push(curPart);
curPart = "";
}
}
}
if (inputParts.length >= lexemsWithValue.length) {
foundSeparator = false;
break;
}
}
if (curPart != "" || foundSeparator) {
inputParts.push(curPart);
}
return inputParts;
};
InputMaskDateTime.prototype.getUnmaskedValue = function (src) {
var _this = this;
var input = (src === undefined || src === null) ? "" : src.toString();
var inputParts = this.getParts(input);
this.setInputDateTimeData(inputParts);
var tempDateTime = this.createIDateTimeComposition();
this.inputDateTimeData.forEach(function (inputData) {
var str = inputData.value;
if (!str || str.length < inputData.lexem.count)
return undefined;
tempDateTime[inputData.lexem.type] = parseInt(_this.parseTwoDigitYear(inputData));
});
return this.getISO_8601Format(tempDateTime);
};
InputMaskDateTime.prototype.getMaskedValue = function (src) {
return this.getMaskedStrFromISO(src);
};
InputMaskDateTime.prototype.processInput = function (args) {
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
var leftPart = args.prevValue.slice(0, args.selectionStart);
var rightPart = args.prevValue.slice(args.selectionEnd);
result.value = this._getMaskedValue(leftPart + (args.insertedChars || "") + rightPart);
if (!args.insertedChars && args.inputDirection === "backward") {
result.caretPosition = args.selectionStart;
}
else {
result.caretPosition = this._getMaskedValue(leftPart + (args.insertedChars || ""), false).length;
}
return result;
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskDateTime.prototype, "min", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskDateTime.prototype, "max", void 0);
return InputMaskDateTime;
}(_mask_pattern__WEBPACK_IMPORTED_MODULE_1__["InputMaskPattern"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("datetimemask", [
{
name: "min",
type: "datetime",
enableIf: function (obj) {
return !!obj.pattern;
}
},
{
name: "max",
type: "datetime",
enableIf: function (obj) {
return !!obj.pattern;
}
}
], function () {
return new InputMaskDateTime();
}, "patternmask");
/***/ }),
/***/ "./src/mask/mask_numeric.ts":
/*!**********************************!*\
!*** ./src/mask/mask_numeric.ts ***!
\**********************************/
/*! exports provided: splitString, InputMaskNumeric */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "splitString", function() { return splitString; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return InputMaskNumeric; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _mask_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mask_base */ "./src/mask/mask_base.ts");
/* harmony import */ var _mask_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mask_utils */ "./src/mask/mask_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
function splitString(str, reverse, n) {
if (reverse === void 0) { reverse = true; }
if (n === void 0) { n = 3; }
var arr = [];
if (reverse) {
for (var i = str.length - n; i > -n; i -= n) {
arr.push(str.substring(i, i + n));
}
arr = arr.reverse();
}
else {
for (var i = 0; i < str.length; i += n) {
arr.push(str.substring(i, i + n));
}
}
return arr;
}
/**
* A class that describes an input mask of the `"numeric"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
*
* The following code shows how to specify the properties of this class within a survey JSON schema:
*
* ```js
* const surveyJson = {
* "elements": [{
* "name": "textquestion1"
* "type": "text",
* "maskType": "numeric",
* "maskSettings": {
* // Specify the properties of a numeric input mask here
* }
* }]
* }
* ```
*
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
*/
var InputMaskNumeric = /** @class */ (function (_super) {
__extends(InputMaskNumeric, _super);
function InputMaskNumeric() {
return _super !== null && _super.apply(this, arguments) || this;
}
InputMaskNumeric.prototype.calccaretPosition = function (leftPart, args, maskedValue) {
var leftPartMaskedLength = !!leftPart ? this.displayNumber(this.parseNumber(leftPart), false).length : 0;
var validCharIndex = 0;
var result = args.selectionStart;
// let result = 0;
var isDeleteKeyOperation = !args.insertedChars && args.inputDirection === "forward";
for (var index = 0; index < maskedValue.length; index++) {
var currentChar = maskedValue[index];
if (currentChar !== this.thousandsSeparator) {
validCharIndex++;
}
if (validCharIndex === (leftPartMaskedLength + (isDeleteKeyOperation ? 1 : 0))) {
if (isDeleteKeyOperation) {
result = index;
}
else {
result = index + 1;
}
break;
}
// if (validCharIndex === leftPartMaskedLength) {
// result = index + 1;
// break;
// }
}
return result;
};
InputMaskNumeric.prototype.displayNumber = function (parsedNumber, insertThousandsSeparator, matchWholeMask) {
if (insertThousandsSeparator === void 0) { insertThousandsSeparator = true; }
if (matchWholeMask === void 0) { matchWholeMask = false; }
var displayIntegralPart = parsedNumber.integralPart;
if (insertThousandsSeparator && !!displayIntegralPart) {
displayIntegralPart = splitString(displayIntegralPart).join(this.thousandsSeparator);
}
var displayFractionalPart = parsedNumber.fractionalPart;
var minusSign = parsedNumber.isNegative ? "-" : "";
if (displayFractionalPart === "") {
if (matchWholeMask) {
return (!displayIntegralPart || displayIntegralPart === "0") ? displayIntegralPart : minusSign + displayIntegralPart;
}
else {
var displayDecimalSeparator = parsedNumber.hasDecimalSeparator && !matchWholeMask ? this.decimalSeparator : "";
var src = displayIntegralPart + displayDecimalSeparator;
return src === "0" ? src : minusSign + src;
}
}
else {
displayIntegralPart = displayIntegralPart || "0";
displayFractionalPart = displayFractionalPart.substring(0, this.precision);
return [minusSign + displayIntegralPart, displayFractionalPart].join(this.decimalSeparator);
}
};
InputMaskNumeric.prototype.convertNumber = function (parsedNumber) {
var value;
var minusSign = parsedNumber.isNegative ? "-" : "";
if (!!parsedNumber.fractionalPart) {
value = parseFloat(minusSign + (parsedNumber.integralPart || "0") + "." + parsedNumber.fractionalPart.substring(0, this.precision));
}
else {
value = parseInt(minusSign + parsedNumber.integralPart || "0");
}
return value;
};
InputMaskNumeric.prototype.validateNumber = function (number) {
var min = this.min || Number.MIN_SAFE_INTEGER;
var max = this.max || Number.MAX_SAFE_INTEGER;
if (this.min !== undefined || this.max !== undefined) {
var value = this.convertNumber(number);
if (Number.isNaN(value)) {
return true;
}
return value >= min && value <= max;
}
return true;
};
InputMaskNumeric.prototype.parseNumber = function (src) {
var result = { integralPart: "", fractionalPart: "", hasDecimalSeparator: false, isNegative: false };
var input = (src === undefined || src === null) ? "" : src.toString();
if (typeof src === "number") {
input = src.toString().replace(".", this.decimalSeparator);
}
var minusCharCount = 0;
for (var inputIndex = 0; inputIndex < input.length; inputIndex++) {
var currentChar = input[inputIndex];
switch (currentChar) {
case "-": {
if (this.allowNegativeValues) {
minusCharCount++;
}
break;
}
case this.decimalSeparator: {
if (this.precision > 0) {
result.hasDecimalSeparator = true;
}
break;
}
case this.thousandsSeparator: {
break;
}
default: {
if (currentChar.match(_mask_utils__WEBPACK_IMPORTED_MODULE_2__["numberDefinition"])) {
if (result.hasDecimalSeparator) {
result.fractionalPart += currentChar;
}
else {
result.integralPart += currentChar;
}
}
}
}
}
result.isNegative = minusCharCount % 2 !== 0;
if (result.integralPart.length > 1 && result.integralPart[0] === "0") {
result.integralPart = result.integralPart.slice(1);
}
return result;
};
InputMaskNumeric.prototype.getNumberMaskedValue = function (src, matchWholeMask) {
if (matchWholeMask === void 0) { matchWholeMask = false; }
var input = (src === undefined || src === null) ? "" : src;
var parsedNumber = this.parseNumber(input);
var displayText = this.displayNumber(parsedNumber, true, matchWholeMask);
return displayText;
};
InputMaskNumeric.prototype.getNumberUnmaskedValue = function (str) {
var parsedNumber = this.parseNumber(str);
return this.convertNumber(parsedNumber);
};
InputMaskNumeric.prototype.getMaskedValue = function (src) {
return this.getNumberMaskedValue(src, true);
};
InputMaskNumeric.prototype.getUnmaskedValue = function (src) {
return this.getNumberUnmaskedValue(src);
};
InputMaskNumeric.prototype.processInput = function (args) {
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
var leftPart = args.prevValue.slice(0, args.selectionStart) + (args.insertedChars || "");
var rightPart = args.prevValue.slice(args.selectionEnd);
var src = leftPart + rightPart;
var parsedNumber = this.parseNumber(src);
if (!this.validateNumber(parsedNumber)) {
return result;
}
var maskedValue = this.getNumberMaskedValue(src);
var caretPosition = this.calccaretPosition(leftPart, args, maskedValue);
result.value = maskedValue;
result.caretPosition = caretPosition;
return result;
};
InputMaskNumeric.prototype.getType = function () {
return "numericmask";
};
InputMaskNumeric.prototype.isPropertyEmpty = function (value) {
return value === "" || value === undefined || value === null;
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "allowNegativeValues", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "decimalSeparator", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "precision", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "thousandsSeparator", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "min", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], InputMaskNumeric.prototype, "max", void 0);
return InputMaskNumeric;
}(_mask_base__WEBPACK_IMPORTED_MODULE_1__["InputMaskBase"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("numericmask", [
{ name: "allowNegativeValues:boolean", default: true },
{ name: "decimalSeparator", default: ".", maxLength: 1 },
{ name: "thousandsSeparator", default: ",", maxLength: 1 },
{ name: "precision:number", default: 2, minValue: 0 },
{ name: "min:number" },
{ name: "max:number" },
], function () {
return new InputMaskNumeric();
}, "masksettings");
/***/ }),
/***/ "./src/mask/mask_pattern.ts":
/*!**********************************!*\
!*** ./src/mask/mask_pattern.ts ***!
\**********************************/
/*! exports provided: getLiterals, getMaskedValueByPattern, getUnmaskedValueByPattern, InputMaskPattern */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLiterals", function() { return getLiterals; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMaskedValueByPattern", function() { return getMaskedValueByPattern; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUnmaskedValueByPattern", function() { return getUnmaskedValueByPattern; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return InputMaskPattern; });
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../settings */ "./src/settings.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _mask_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mask_base */ "./src/mask/mask_base.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
function getLiterals(pattern) {
var result = [];
var prevCharIsEscaped = false;
var definitionsKeys = Object.keys(_settings__WEBPACK_IMPORTED_MODULE_0__["settings"].maskSettings.patternDefinitions);
for (var index = 0; index < pattern.length; index++) {
var currentChar = pattern[index];
if (currentChar === _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].maskSettings.patternEscapeChar) {
prevCharIsEscaped = true;
}
else if (prevCharIsEscaped) {
prevCharIsEscaped = false;
result.push({ type: "fixed", value: currentChar });
}
else {
result.push({ type: definitionsKeys.indexOf(currentChar) !== -1 ? "regex" : "const", value: currentChar });
}
}
return result;
}
function getFirstMatch(str, strIndex, literal) {
var currentDefinition = _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].maskSettings.patternDefinitions[literal.value];
while (strIndex < str.length) {
if (str[strIndex].match(currentDefinition)) {
return strIndex;
}
strIndex++;
}
return strIndex;
}
function getMaskedValueByPattern(src, pattern, matchWholeMask) {
var input = (src === undefined || src === null) ? "" : src;
var result = "";
var strIndex = 0;
var literals = (typeof pattern === "string") ? getLiterals(pattern) : pattern;
for (var maskIndex = 0; maskIndex < literals.length; maskIndex++) {
switch (literals[maskIndex].type) {
case "regex":
if (strIndex < input.length) {
strIndex = getFirstMatch(input, strIndex, literals[maskIndex]);
}
if (strIndex < input.length) {
result += input[strIndex];
}
else if (matchWholeMask) {
result += _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].maskSettings.patternPlaceholderChar;
}
else {
return result;
}
strIndex++;
break;
case "const":
case "fixed":
result += literals[maskIndex].value;
if (literals[maskIndex].value === input[strIndex]) {
strIndex++;
}
break;
}
}
return result;
}
function getUnmaskedValueByPattern(str, pattern, matchWholeMask, skipFixedChar) {
if (skipFixedChar === void 0) { skipFixedChar = false; }
var result = "";
if (!str)
return result;
var literals = (typeof pattern === "string") ? getLiterals(pattern) : pattern;
for (var index = 0; index < literals.length; index++) {
if (literals[index].type === "fixed" && !skipFixedChar) {
result += literals[index].value;
}
if (literals[index].type === "regex") {
var currentDefinition = _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].maskSettings.patternDefinitions[literals[index].value];
if (!!str[index] && str[index].match(currentDefinition)) {
result += str[index];
}
else if (matchWholeMask) {
result = "";
break;
}
else {
break;
}
}
}
return result;
}
/**
* A class that describes an input mask of the `"pattern"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
*
* The following code shows how to specify the properties of this class within a survey JSON schema:
*
* ```js
* const surveyJson = {
* "elements": [{
* "name": "textquestion1"
* "type": "text",
* "maskType": "pattern",
* "maskSettings": {
* // Specify the properties of a pattern input mask here
* }
* }]
* }
* ```
*
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
*/
var InputMaskPattern = /** @class */ (function (_super) {
__extends(InputMaskPattern, _super);
function InputMaskPattern() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.literals = [];
return _this;
}
InputMaskPattern.prototype.updateLiterals = function () {
this.literals = getLiterals(this.pattern || "");
};
InputMaskPattern.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
if (name === "pattern") {
this.updateLiterals();
}
};
InputMaskPattern.prototype.getType = function () {
return "patternmask";
};
InputMaskPattern.prototype.fromJSON = function (json, options) {
_super.prototype.fromJSON.call(this, json, options);
this.updateLiterals();
};
InputMaskPattern.prototype._getMaskedValue = function (src, matchWholeMask) {
if (matchWholeMask === void 0) { matchWholeMask = false; }
var input = (src === undefined || src === null) ? "" : src;
return getMaskedValueByPattern(input, this.literals, matchWholeMask);
};
InputMaskPattern.prototype._getUnmaskedValue = function (src, matchWholeMask) {
if (matchWholeMask === void 0) { matchWholeMask = false; }
var input = (src === undefined || src === null) ? "" : src;
return getUnmaskedValueByPattern(input, this.literals, matchWholeMask);
};
InputMaskPattern.prototype.processInput = function (args) {
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
if (!args.insertedChars && args.selectionStart === args.selectionEnd) {
return result;
}
var leftPart = args.prevValue.slice(0, args.selectionStart) + (args.insertedChars || "");
var leftPartUnmasked = getUnmaskedValueByPattern(args.prevValue.slice(0, args.selectionStart), this.literals.slice(0, args.selectionStart), false);
var rightPartUnmasked = getUnmaskedValueByPattern(args.prevValue.slice(args.selectionEnd), this.literals.slice(args.selectionEnd), false, true);
result.value = this._getMaskedValue(leftPartUnmasked + (args.insertedChars || "") + rightPartUnmasked, true);
if (!args.insertedChars && args.inputDirection === "backward") {
result.caretPosition = args.selectionStart;
}
else {
result.caretPosition = this._getMaskedValue(leftPart).length;
}
return result;
};
InputMaskPattern.prototype.getMaskedValue = function (src) {
return this._getMaskedValue(src, true);
};
InputMaskPattern.prototype.getUnmaskedValue = function (src) {
return this._getUnmaskedValue(src, true);
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
], InputMaskPattern.prototype, "pattern", void 0);
return InputMaskPattern;
}(_mask_base__WEBPACK_IMPORTED_MODULE_2__["InputMaskBase"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("patternmask", [
{ name: "pattern" },
], function () {
return new InputMaskPattern();
}, "masksettings");
/***/ }),
/***/ "./src/mask/mask_utils.ts":
/*!********************************!*\
!*** ./src/mask/mask_utils.ts ***!
\********************************/
/*! exports provided: numberDefinition */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "numberDefinition", function() { return numberDefinition; });
var numberDefinition = /[0-9]/;
/***/ }),
/***/ "./src/multiSelectListModel.ts":
/*!*************************************!*\
!*** ./src/multiSelectListModel.ts ***!
\*************************************/
/*! exports provided: MultiSelectListModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return MultiSelectListModel; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./list */ "./src/list.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var MultiSelectListModel = /** @class */ (function (_super) {
__extends(MultiSelectListModel, _super);
function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems, onFilterStringChangedCallback, elementId) {
var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined, onFilterStringChangedCallback, elementId) || this;
_this.onItemClick = function (item) {
if (_this.isItemDisabled(item))
return;
_this.isExpanded = false;
if (_this.isItemSelected(item)) {
_this.selectedItems.splice(_this.selectedItems.indexOf(item), 1)[0];
!!_this.onSelectionChanged && (_this.onSelectionChanged(item, "removed"));
}
else {
_this.selectedItems.push(item);
!!_this.onSelectionChanged && (_this.onSelectionChanged(item, "added"));
}
};
_this.isItemDisabled = function (itemValue) {
return itemValue.enabled !== undefined && !itemValue.enabled;
};
_this.isItemSelected = function (itemValue) {
return !!_this.allowSelection && _this.selectedItems.filter(function (item) { return _this.areSameItems(item, itemValue); }).length > 0;
};
_this.setSelectedItems(selectedItems || []);
return _this;
}
MultiSelectListModel.prototype.updateItemState = function () {
var _this = this;
this.actions.forEach(function (action) {
var isSelected = _this.isItemSelected(action);
action.visible = _this.hideSelectedItems ? !isSelected : true;
});
};
MultiSelectListModel.prototype.updateState = function () {
var _this = this;
this.updateItemState();
this.isEmpty = this.renderedActions.filter(function (action) { return _this.isItemVisible(action); }).length === 0;
};
MultiSelectListModel.prototype.setSelectedItems = function (newItems) {
this.selectedItems = newItems;
this.updateState();
};
MultiSelectListModel.prototype.selectFocusedItem = function () {
_super.prototype.selectFocusedItem.call(this);
if (this.hideSelectedItems) {
this.focusNextVisibleItem();
}
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], MultiSelectListModel.prototype, "hideSelectedItems", void 0);
return MultiSelectListModel;
}(_list__WEBPACK_IMPORTED_MODULE_1__["ListModel"]));
/***/ }),
/***/ "./src/notifier.ts":
/*!*************************!*\
!*** ./src/notifier.ts ***!
\*************************/
/*! exports provided: Notifier */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return Notifier; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var Notifier = /** @class */ (function (_super) {
__extends(Notifier, _super);
function Notifier(cssClasses) {
var _this = _super.call(this) || this;
_this.cssClasses = cssClasses;
_this.timeout = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].notifications.lifetime;
_this.timer = undefined;
_this.actionsVisibility = {};
_this.showActions = true;
_this.actionBar = new _actions_container__WEBPACK_IMPORTED_MODULE_4__["ActionContainer"]();
_this.actionBar.updateCallback = function (isResetInitialized) {
_this.actionBar.actions.forEach(function (action) { return action.cssClasses = {}; });
};
_this.css = _this.cssClasses.root;
return _this;
}
Notifier.prototype.getCssClass = function (type) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
.append(this.cssClasses.root)
.append(this.cssClasses.rootWithButtons, this.actionBar.visibleActions.length > 0)
.append(this.cssClasses.info, type !== "error" && type !== "success")
.append(this.cssClasses.error, type === "error")
.append(this.cssClasses.success, type === "success")
.append(this.cssClasses.shown, this.active)
.toString();
};
Notifier.prototype.updateActionsVisibility = function (type) {
var _this = this;
this.actionBar.actions.forEach(function (action) { return action.visible = _this.showActions && (_this.actionsVisibility[action.id] === type); });
};
Notifier.prototype.notify = function (message, type, waitUserAction) {
var _this = this;
if (type === void 0) { type = "info"; }
if (waitUserAction === void 0) { waitUserAction = false; }
this.isDisplayed = true;
setTimeout(function () {
_this.updateActionsVisibility(type);
_this.message = message;
_this.active = true;
_this.css = _this.getCssClass(type);
if (!!_this.timer) {
clearTimeout(_this.timer);
_this.timer = undefined;
}
if (!waitUserAction) {
_this.timer = setTimeout(function () {
_this.timer = undefined;
_this.active = false;
_this.css = _this.getCssClass(type);
}, _this.timeout);
}
}, 1);
};
Notifier.prototype.addAction = function (action, notificationType) {
action.visible = false;
action.innerCss = this.cssClasses.button;
var res = this.actionBar.addAction(action);
this.actionsVisibility[res.id] = notificationType;
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: false })
], Notifier.prototype, "active", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: false })
], Notifier.prototype, "isDisplayed", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
], Notifier.prototype, "message", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
], Notifier.prototype, "css", void 0);
return Notifier;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
/***/ }),
/***/ "./src/page.ts":
/*!*********************!*\
!*** ./src/page.ts ***!
\*********************/
/*! exports provided: PageModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return PageModel; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./panel */ "./src/panel.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _drag_drop_page_helper_v1__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./drag-drop-page-helper-v1 */ "./src/drag-drop-page-helper-v1.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**
* The `PageModel` object describes a survey page and contains properties and methods that allow you to control the page and access its elements (panels and questions).
*
* [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
*/
var PageModel = /** @class */ (function (_super) {
__extends(PageModel, _super);
function PageModel(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.hasShownValue = false;
/**
* A time period that a respondent has spent on this page so far; measured in seconds. Applies only to [quiz surveys](https://surveyjs.io/form-library/documentation/design-survey-create-a-quiz).
* @see maxTimeToFinish
*/
_this.timeSpent = 0;
_this.locTitle.onGetTextCallback = function (text) {
if (_this.canShowPageNumber() && text)
return _this.num + ". " + text;
return text;
};
_this.createLocalizableString("navigationTitle", _this, true);
_this.createLocalizableString("navigationDescription", _this, true);
_this.dragDropPageHelper = new _drag_drop_page_helper_v1__WEBPACK_IMPORTED_MODULE_3__["DragDropPageHelperV1"](_this);
return _this;
}
PageModel.prototype.getType = function () {
return "page";
};
PageModel.prototype.toString = function () {
return this.name;
};
Object.defineProperty(PageModel.prototype, "isPage", {
get: function () {
return true;
},
enumerable: false,
configurable: true
});
PageModel.prototype.canShowPageNumber = function () {
return this.survey && this.survey.showPageNumbers;
};
PageModel.prototype.canShowTitle = function () {
return this.survey && this.survey.showPageTitles;
};
Object.defineProperty(PageModel.prototype, "navigationTitle", {
/**
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
*
* If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
*/
get: function () {
return this.getLocalizableStringText("navigationTitle");
},
set: function (val) {
this.setLocalizableStringText("navigationTitle", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "locNavigationTitle", {
get: function () {
return this.getLocalizableString("navigationTitle");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "navigationDescription", {
/**
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
*/
get: function () {
return this.getLocalizableStringText("navigationDescription");
},
set: function (val) {
this.setLocalizableStringText("navigationDescription", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "locNavigationDescription", {
get: function () {
return this.getLocalizableString("navigationDescription");
},
enumerable: false,
configurable: true
});
PageModel.prototype.navigationLocStrChanged = function () {
this.locNavigationTitle.strChanged();
this.locNavigationDescription.strChanged();
};
Object.defineProperty(PageModel.prototype, "renderedNavigationTitle", {
get: function () {
return this.locNavigationTitle.renderedHtml || this.title || this.name;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "passed", {
get: function () {
return this.getPropertyValue("passed", false);
},
set: function (val) {
this.setPropertyValue("passed", val);
},
enumerable: false,
configurable: true
});
PageModel.prototype.removeFromParent = function () {
if (!!this.survey) {
this.removeSelfFromList(this.survey.pages);
}
};
PageModel.prototype.onFirstRendering = function () {
if (this.wasShown)
return;
_super.prototype.onFirstRendering.call(this);
};
Object.defineProperty(PageModel.prototype, "visibleIndex", {
/**
* The visible index of the page. It has values from 0 to visible page count - 1.
* @see SurveyModel.visiblePages
* @see SurveyModel.pages
*/
get: function () {
return this.getPropertyValue("visibleIndex", -1);
},
set: function (val) {
this.setPropertyValue("visibleIndex", val);
},
enumerable: false,
configurable: true
});
PageModel.prototype.canRenderFirstRows = function () {
return !this.isDesignMode || this.visibleIndex == 0;
};
Object.defineProperty(PageModel.prototype, "isStartPage", {
/**
* Returns `true` if this page is a start page.
*
* Refer to the following help topic for more information on how to configure a start page: [Start Page](https://surveyjs.io/form-library/documentation/design-survey-create-a-multi-page-survey#start-page).
*/
get: function () {
return this.survey && this.survey.isPageStarted(this);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "isStarted", {
get: function () { return this.isStartPage; },
enumerable: false,
configurable: true
});
PageModel.prototype.calcCssClasses = function (css) {
var classes = { page: {}, error: {}, pageTitle: "", pageDescription: "", row: "", rowMultiple: "", pageRow: "", rowCompact: "" };
this.copyCssClasses(classes.page, css.page);
this.copyCssClasses(classes.error, css.error);
if (!!css.pageTitle) {
classes.pageTitle = css.pageTitle;
}
if (!!css.pageDescription) {
classes.pageDescription = css.pageDescription;
}
if (!!css.row) {
classes.row = css.row;
}
if (!!css.pageRow) {
classes.pageRow = css.pageRow;
}
if (!!css.rowMultiple) {
classes.rowMultiple = css.rowMultiple;
}
if (!!css.rowCompact) {
classes.rowCompact = css.rowCompact;
}
if (this.survey) {
this.survey.updatePageCssClasses(this, classes);
}
return classes;
};
Object.defineProperty(PageModel.prototype, "cssTitle", {
get: function () {
if (!this.cssClasses.page)
return "";
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
.append(this.cssClasses.page.title)
.toString();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "cssRoot", {
get: function () {
if (!this.cssClasses.page || !this.survey)
return "";
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
.append(this.cssClasses.page.root)
.append(this.cssClasses.page.emptyHeaderRoot, !this.survey.renderedHasHeader &&
!(this.survey.isShowProgressBarOnTop && !this.survey.isStaring))
.toString();
},
enumerable: false,
configurable: true
});
PageModel.prototype.getCssError = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
.append(_super.prototype.getCssError.call(this, cssClasses))
.append(cssClasses.page.errorsContainer).toString();
};
Object.defineProperty(PageModel.prototype, "navigationButtonsVisibility", {
/**
* Set this property to "hide" to make "Prev", "Next" and "Complete" buttons are invisible for this page. Set this property to "show" to make these buttons visible, even if survey showNavigationButtons property is false.
* @see SurveyMode.showNavigationButtons
*/
get: function () {
return this.getPropertyValue("navigationButtonsVisibility");
},
set: function (val) {
this.setPropertyValue("navigationButtonsVisibility", val.toLowerCase());
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "isActive", {
/**
* Returns `true` if this is the current page.
* @see SurveyModel.currentPage
*/
get: function () {
return !!this.survey && this.survey.currentPage === this;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "wasShown", {
/**
* Returns `true` if the respondent has already seen this page during the current session.
*/
get: function () {
return this.hasShownValue;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PageModel.prototype, "hasShown", {
get: function () {
return this.wasShown;
},
enumerable: false,
configurable: true
});
PageModel.prototype.setWasShown = function (val) {
if (val == this.hasShownValue)
return;
this.hasShownValue = val;
if (this.isDesignMode || val !== true)
return;
var els = this.elements;
for (var i = 0; i < els.length; i++) {
if (els[i].isPanel) {
els[i].randomizeElements(this.areQuestionsRandomized);
}
}
this.randomizeElements(this.areQuestionsRandomized);
};
/**
* Scrolls this page to the top.
*/
PageModel.prototype.scrollToTop = function () {
if (!!this.survey) {
this.survey.scrollElementToTop(this, null, this, this.id);
}
};
// public get timeSpent(): number {
// return this.getPropertyValue("timeSpent", 0);
// }
// public set timeSpent(val: number) {
// this.setPropertyValue("timeSpent", val);
// }
/**
* Returns a list of all panels on this page.
* @param visibleOnly A Boolean value that specifies whether to include only visible panels.
* @param includingDesignTime For internal use.
*/
PageModel.prototype.getAllPanels = function (visibleOnly, includingDesignTime) {
if (visibleOnly === void 0) { visibleOnly = false; }
if (includingDesignTime === void 0) { includingDesignTime = false; }
var result = new Array();
this.addPanelsIntoList(result, visibleOnly, includingDesignTime);
return result;
};
PageModel.prototype.getPanels = function (visibleOnly, includingDesignTime) {
if (visibleOnly === void 0) { visibleOnly = false; }
if (includingDesignTime === void 0) { includingDesignTime = false; }
return this.getAllPanels(visibleOnly, includingDesignTime);
};
Object.defineProperty(PageModel.prototype, "maxTimeToFinish", {
/**
* A time period that a respondent has to complete this page; measured in seconds. Applies only to [quiz surveys](https://surveyjs.io/form-library/documentation/design-survey-create-a-quiz).
*
* A negative value or 0 sets an unlimited time period.
*
* Alternatively, you can use the `SurveyModel`'s [`maxTimeToFinishPage`](https://surveyjs.io/form-library/documentation/surveymodel#maxTimeToFinishPage) property to specify identical time periods for all survey pages.
* @see timeSpent
*/
get: function () {
return this.getPropertyValue("maxTimeToFinish", 0);
},
set: function (val) {
this.setPropertyValue("maxTimeToFinish", val);
},
enumerable: false,
configurable: true
});
PageModel.prototype.onNumChanged = function (value) { };
PageModel.prototype.onVisibleChanged = function () {
if (this.isRandomizing)
return;
_super.prototype.onVisibleChanged.call(this);
if (this.survey != null) {
this.survey.pageVisibilityChanged(this, this.isVisible);
}
};
PageModel.prototype.getDragDropInfo = function () { return this.dragDropPageHelper.getDragDropInfo(); };
PageModel.prototype.dragDropStart = function (src, target, nestedPanelDepth) {
if (nestedPanelDepth === void 0) { nestedPanelDepth = -1; }
this.dragDropPageHelper.dragDropStart(src, target, nestedPanelDepth);
};
PageModel.prototype.dragDropMoveTo = function (destination, isBottom, isEdge) {
if (isBottom === void 0) { isBottom = false; }
if (isEdge === void 0) { isEdge = false; }
return this.dragDropPageHelper.dragDropMoveTo(destination, isBottom, isEdge);
};
PageModel.prototype.dragDropFinish = function (isCancel) {
if (isCancel === void 0) { isCancel = false; }
return this.dragDropPageHelper.dragDropFinish(isCancel);
};
PageModel.prototype.ensureRowsVisibility = function () {
_super.prototype.ensureRowsVisibility.call(this);
this.getPanels().forEach(function (panel) { return panel.ensureRowsVisibility(); });
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: -1, onSet: function (val, target) { return target.onNumChanged(val); } })
], PageModel.prototype, "num", void 0);
return PageModel;
}(_panel__WEBPACK_IMPORTED_MODULE_1__["PanelModelBase"]));
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("page", [
{
name: "navigationButtonsVisibility",
default: "inherit",
choices: ["inherit", "show", "hide"],
},
{ name: "maxTimeToFinish:number", default: 0, minValue: 0 },
{
name: "navigationTitle",
visibleIf: function (obj) {
return !!obj.survey && (obj.survey.progressBarType === "buttons" || obj.survey.showTOC);
},
serializationProperty: "locNavigationTitle",
},
{
name: "navigationDescription",
visibleIf: function (obj) {
return !!obj.survey && obj.survey.progressBarType === "buttons";
},
serializationProperty: "locNavigationDescription",
},
{ name: "title:text", serializationProperty: "locTitle" },
{ name: "description:text", serializationProperty: "locDescription" },
], function () {
return new PageModel();
}, "panelbase");
/***/ }),
/***/ "./src/panel.ts":
/*!**********************!*\
!*** ./src/panel.ts ***!
\**********************/
/*! exports provided: QuestionRowModel, PanelModelBase, PanelModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return QuestionRowModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return PanelModelBase; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return PanelModel; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./survey-element */ "./src/survey-element.ts");
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./question */ "./src/question.ts");
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./error */ "./src/error.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _drag_drop_panel_helper_v1__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./drag-drop-panel-helper-v1 */ "./src/drag-drop-panel-helper-v1.ts");
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
};
var QuestionRowModel = /** @class */ (function (_super) {
__extends(QuestionRowModel, _super);
function QuestionRowModel(panel) {
var _this = _super.call(this) || this;
_this.panel = panel;
_this._scrollableParent = undefined;
_this._updateVisibility = undefined;
_this.idValue = QuestionRowModel.getRowId();
_this.visible = panel.areInvisibleElementsShowing;
_this.createNewArray("elements");
_this.createNewArray("visibleElements");
return _this;
}
QuestionRowModel.getRowId = function () {
return "pr_" + QuestionRowModel.rowCounter++;
};
QuestionRowModel.prototype.startLazyRendering = function (rowContainerDiv, findScrollableContainer) {
var _this = this;
if (findScrollableContainer === void 0) { findScrollableContainer = _utils_utils__WEBPACK_IMPORTED_MODULE_8__["findScrollableParent"]; }
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].isAvailable())
return;
this._scrollableParent = findScrollableContainer(rowContainerDiv);
// if this._scrollableParent is html the scroll event isn't fired, so we should use window
if (this._scrollableParent === _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].getDocumentElement()) {
this._scrollableParent = _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomWindowHelper"].getWindow();
}
var hasScroll = this._scrollableParent.scrollHeight > this._scrollableParent.clientHeight;
this.isNeedRender = !hasScroll;
if (hasScroll) {
this._updateVisibility = function () {
var isRowContainerDivVisible = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_8__["isElementVisible"])(rowContainerDiv, 50);
if (!_this.isNeedRender && isRowContainerDivVisible) {
_this.isNeedRender = true;
_this.stopLazyRendering();
}
};
setTimeout(function () {
if (!!_this._scrollableParent &&
!!_this._scrollableParent.addEventListener) {
_this._scrollableParent.addEventListener("scroll", _this._updateVisibility);
}
_this.ensureVisibility();
}, 10);
}
};
QuestionRowModel.prototype.ensureVisibility = function () {
if (!!this._updateVisibility) {
this._updateVisibility();
}
};
QuestionRowModel.prototype.stopLazyRendering = function () {
if (!!this._scrollableParent &&
!!this._updateVisibility &&
!!this._scrollableParent.removeEventListener) {
this._scrollableParent.removeEventListener("scroll", this._updateVisibility);
}
this._scrollableParent = undefined;
this._updateVisibility = undefined;
};
QuestionRowModel.prototype.setIsLazyRendering = function (val) {
this.isLazyRenderingValue = val;
this.isNeedRender = !val;
};
QuestionRowModel.prototype.isLazyRendering = function () {
return this.isLazyRenderingValue === true;
};
Object.defineProperty(QuestionRowModel.prototype, "id", {
get: function () {
return this.idValue;
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionRowModel.prototype, "elements", {
get: function () {
return this.getPropertyValue("elements");
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionRowModel.prototype, "visibleElements", {
get: function () {
return this.getPropertyValue("visibleElements");
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionRowModel.prototype, "visible", {
get: function () {
return this.getPropertyValue("visible", true);
},
set: function (val) {
this.setPropertyValue("visible", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(QuestionRowModel.prototype, "isNeedRender", {
get: function () {
return this.getPropertyValue("isneedrender", true);
},
set: function (val) {
this.setPropertyValue("isneedrender", val);
},
enumerable: false,
configurable: true
});
QuestionRowModel.prototype.updateVisible = function () {
var isVisible = this.calcVisible();
this.setWidth();
this.visible = isVisible;
};
QuestionRowModel.prototype.addElement = function (q) {
this.elements.push(q);
this.updateVisible();
};
Object.defineProperty(QuestionRowModel.prototype, "index", {
get: function () {
return this.panel.rows.indexOf(this);
},
enumerable: false,
configurable: true
});
QuestionRowModel.prototype.setWidth = function () {
var _a;
var visCount = this.visibleElements.length;
if (visCount == 0)
return;
var isSingleInRow = this.visibleElements.length === 1;
var counter = 0;
var preSetWidthElements = [];
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
if (el.isVisible) {
el.isSingleInRow = isSingleInRow;
var width = this.getElementWidth(el);
if (!!width) {
el.renderWidth = this.getRenderedWidthFromWidth(width);
preSetWidthElements.push(el);
}
if (counter < visCount - 1 && !(this.panel.isDefaultV2Theme || ((_a = this.panel.parentQuestion) === null || _a === void 0 ? void 0 : _a.isDefaultV2Theme))) {
el.rightIndent = 1;
}
else {
el.rightIndent = 0;
}
counter++;
}
else {
el.renderWidth = "";
}
}
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
if (!el.isVisible || preSetWidthElements.indexOf(el) > -1)
continue;
if (preSetWidthElements.length == 0) {
el.renderWidth = Number.parseFloat((100 / visCount).toFixed(6)) + "%";
}
else {
el.renderWidth = this.getRenderedCalcWidth(el, preSetWidthElements, visCount);
}
}
};
QuestionRowModel.prototype.getRenderedCalcWidth = function (el, preSetWidthElements, visCount) {
var expression = "100%";
for (var i = 0; i < preSetWidthElements.length; i++) {
expression += " - " + preSetWidthElements[i].renderWidth;
}
var calcWidthEl = visCount - preSetWidthElements.length;
if (calcWidthEl > 1) {
expression = "(" + expression + ")/" + calcWidthEl.toString();
}
return "calc(" + expression + ")";
};
QuestionRowModel.prototype.getElementWidth = function (el) {
var width = el.width;
if (!width || typeof width !== "string")
return "";
return width.trim();
};
QuestionRowModel.prototype.getRenderedWidthFromWidth = function (width) {
return _helpers__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isNumber(width) ? width + "px" : width;
};
QuestionRowModel.prototype.calcVisible = function () {
var visElements = [];
for (var i = 0; i < this.elements.length; i++) {
if (this.elements[i].isVisible) {
visElements.push(this.elements[i]);
}
}
if (this.needToUpdateVisibleElements(visElements)) {
this.setPropertyValue("visibleElements", visElements);
}
return visElements.length > 0;
};
QuestionRowModel.prototype.needToUpdateVisibleElements = function (visElements) {
if (visElements.length !== this.visibleElements.length)
return true;
for (var i = 0; i < visElements.length; i++) {
if (visElements[i] !== this.visibleElements[i])
return true;
}
return false;
};
QuestionRowModel.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this.stopLazyRendering();
};
QuestionRowModel.prototype.getRowCss = function () {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
.append(this.panel.cssClasses.row)
.append(this.panel.cssClasses.rowCompact, this.panel["isCompact"])
.append(this.panel.cssClasses.pageRow, this.panel.isPage || (!!this.panel.originalPage && !this.panel.survey.isShowingPreview))
.append(this.panel.cssClasses.rowMultiple, this.visibleElements.length > 1)
.toString();
};
QuestionRowModel.rowCounter = 100;
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: null })
], QuestionRowModel.prototype, "dragTypeOverMe", void 0);
return QuestionRowModel;
}(_base__WEBPACK_IMPORTED_MODULE_2__["Base"]));
/**
* A base class for the [PanelModel](https://surveyjs.io/form-library/documentation/panelmodel) and [PageModel](https://surveyjs.io/form-library/documentation/pagemodel) classes.
*/
var PanelModelBase = /** @class */ (function (_super) {
__extends(PanelModelBase, _super);
function PanelModelBase(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.isQuestionsReady = false;
_this.questionsValue = new Array();
_this.isRandomizing = false;
_this.locCountRowUpdates = 0;
_this.createNewArray("rows");
_this.elementsValue = _this.createNewArray("elements", _this.onAddElement.bind(_this), _this.onRemoveElement.bind(_this));
_this.id = PanelModelBase.getPanelId();
_this.addExpressionProperty("visibleIf", function (obj, res) { _this.visible = res === true; }, function (obj) { return !_this.areInvisibleElementsShowing; });
_this.addExpressionProperty("enableIf", function (obj, res) { _this.readOnly = res === false; });
_this.addExpressionProperty("requiredIf", function (obj, res) { _this.isRequired = res === true; });
_this.createLocalizableString("requiredErrorText", _this);
_this.registerPropertyChangedHandlers(["questionTitleLocation"], function () {
_this.onVisibleChanged.bind(_this);
_this.updateElementCss(true);
});
_this.registerPropertyChangedHandlers(["questionStartIndex", "showQuestionNumbers"], function () {
_this.updateVisibleIndexes();
});
_this.dragDropPanelHelper = new _drag_drop_panel_helper_v1__WEBPACK_IMPORTED_MODULE_10__["DragDropPanelHelperV1"](_this);
return _this;
}
PanelModelBase.getPanelId = function () {
return "sp_" + PanelModelBase.panelCounter++;
};
PanelModelBase.prototype.getType = function () {
return "panelbase";
};
PanelModelBase.prototype.setSurveyImpl = function (value, isLight) {
_super.prototype.setSurveyImpl.call(this, value, isLight);
if (this.isDesignMode)
this.onVisibleChanged();
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].setSurveyImpl(value, isLight);
}
};
PanelModelBase.prototype.endLoadingFromJson = function () {
_super.prototype.endLoadingFromJson.call(this);
this.updateDescriptionVisibility(this.description);
this.markQuestionListDirty();
this.onRowsChanged();
};
Object.defineProperty(PanelModelBase.prototype, "hasTitle", {
get: function () {
return ((this.canShowTitle() && this.locTitle.textOrHtml.length > 0) ||
(this.isDesignMode && (this.showTitle && _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].designMode.showEmptyTitles)));
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.delete = function (doDispose) {
if (doDispose === void 0) { doDispose = true; }
this.removeFromParent();
if (doDispose) {
this.dispose();
}
};
PanelModelBase.prototype.removeFromParent = function () { };
PanelModelBase.prototype.canShowTitle = function () { return true; };
Object.defineProperty(PanelModelBase.prototype, "_showDescription", {
get: function () {
if (!this.hasTitle && this.isDesignMode)
return false;
return this.survey && this.survey.showPageTitles && this.hasDescription ||
(this.showDescription && this.isDesignMode &&
_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].designMode.showEmptyDescriptions);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.localeChanged = function () {
_super.prototype.localeChanged.call(this);
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].localeChanged();
}
};
PanelModelBase.prototype.locStrsChanged = function () {
_super.prototype.locStrsChanged.call(this);
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].locStrsChanged();
}
};
Object.defineProperty(PanelModelBase.prototype, "renderedNavigationTitle", {
get: function () {
return this.title || this.name;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "requiredText", {
/**
* Returns a character or text string that indicates a required panel/page.
* @see SurveyModel.requiredText
* @see isRequired
*/
get: function () {
return !!this.survey && this.isRequired
? this.survey.requiredText
: "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "titlePattern", {
get: function () {
return !!this.survey ? this.survey.questionTitlePattern : "numTitleRequire";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "isRequireTextOnStart", {
get: function () {
return this.isRequired && this.titlePattern == "requireNumTitle";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "isRequireTextBeforeTitle", {
get: function () {
return this.isRequired && this.titlePattern == "numRequireTitle";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "isRequireTextAfterTitle", {
get: function () {
return this.isRequired && this.titlePattern == "numTitleRequire";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "requiredErrorText", {
/**
* Specifies a custom error message for a required panel/page.
* @see isRequired
* @see requiredIf
*/
get: function () {
return this.getLocalizableStringText("requiredErrorText");
},
set: function (val) {
this.setLocalizableStringText("requiredErrorText", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "locRequiredErrorText", {
get: function () {
return this.getLocalizableString("requiredErrorText");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "questionsOrder", {
/**
* Specifies the sort order of questions in the panel/page.
*
* Possible values:
*
* - `"initial"` - Preserves the original order of questions.
* - `"random"` - Displays questions in random order.
* - `"default"` (default) - Inherits the setting from the Survey's `questionsOrder` property.
* @see SurveyModel.questionsOrder
* @see areQuestionsRandomized
*/
get: function () {
return this.getPropertyValue("questionsOrder");
},
set: function (val) {
this.setPropertyValue("questionsOrder", val);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.canRandomize = function (isRandom) {
return isRandom && (this.questionsOrder !== "initial") || this.questionsOrder === "random";
};
PanelModelBase.prototype.randomizeElements = function (isRandom) {
if (!this.canRandomize(isRandom) || this.isRandomizing)
return;
this.isRandomizing = true;
var oldElements = [];
var elements = this.elements;
for (var i = 0; i < elements.length; i++) {
oldElements.push(elements[i]);
}
var newElements = _helpers__WEBPACK_IMPORTED_MODULE_1__["Helpers"].randomizeArray(oldElements);
this.setArrayPropertyDirectly("elements", newElements, false);
this.updateRows();
this.updateVisibleIndexes();
this.isRandomizing = false;
};
Object.defineProperty(PanelModelBase.prototype, "areQuestionsRandomized", {
/**
* Returns `true` if elements in this panel/page are arranged in random order.
* @see questionsOrder
*/
get: function () {
var order = this.questionsOrder == "default" && this.survey
? this.survey.questionsOrder
: this.questionsOrder;
return order == "random";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "parent", {
/**
* Returns a survey element (panel or page) that contains this panel and allows you to move this question to a different survey element.
*
* This property is always `null` for the `PageModel` object.
*/
get: function () {
return this.getPropertyValue("parent", null);
},
set: function (val) {
this.setPropertyValue("parent", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "depth", {
get: function () {
if (this.parent == null)
return 0;
return this.parent.depth + 1;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "visibleIf", {
/**
* A Boolean expression. If it evaluates to `false`, this panel/page becomes hidden.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visible
* @see isVisible
*/
get: function () {
return this.getPropertyValue("visibleIf", "");
},
set: function (val) {
this.setPropertyValue("visibleIf", val);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.calcCssClasses = function (css) {
var classes = { panel: {}, error: {}, row: "", rowMultiple: "", pageRow: "", rowCompact: "" };
this.copyCssClasses(classes.panel, css.panel);
this.copyCssClasses(classes.error, css.error);
if (!!css.pageRow) {
classes.pageRow = css.pageRow;
}
if (!!css.rowCompact) {
classes.rowCompact = css.rowCompact;
}
if (!!css.row) {
classes.row = css.row;
}
if (!!css.rowMultiple) {
classes.rowMultiple = css.rowMultiple;
}
if (this.survey) {
this.survey.updatePanelCssClasses(this, classes);
}
return classes;
};
Object.defineProperty(PanelModelBase.prototype, "id", {
/**
* An auto-generated unique element identifier.
*/
get: function () {
return this.getPropertyValue("id");
},
set: function (val) {
this.setPropertyValue("id", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "isPanel", {
/**
* Returns `true` if the survey element is a panel.
* @see Base.getType
*/
get: function () {
return false;
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getPanel = function () {
return this;
};
PanelModelBase.prototype.getLayoutType = function () {
return "row";
};
PanelModelBase.prototype.isLayoutTypeSupported = function (layoutType) {
return layoutType !== "flow";
};
Object.defineProperty(PanelModelBase.prototype, "questions", {
/**
* An array of all questions within this panel/page. Includes questions within nested panels.
* @see elements
*/
get: function () {
if (!this.isQuestionsReady) {
this.questionsValue = [];
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
if (el.isPanel) {
var qs = el.questions;
for (var j = 0; j < qs.length; j++) {
this.questionsValue.push(qs[j]);
}
}
else {
this.questionsValue.push(el);
}
}
this.isQuestionsReady = true;
}
return this.questionsValue;
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getQuestions = function (includeNested) {
var res = this.questions;
if (!includeNested)
return res;
var res2 = [];
res.forEach(function (q) {
res2.push(q);
q.getNestedQuestions().forEach(function (nQ) { return res2.push(nQ); });
});
return res2;
};
PanelModelBase.prototype.getValidName = function (name) {
if (!!name)
return name.trim();
return name;
};
/**
* Returns a question with a specified `name`. This method does not find questions within nested panels.
* @param name A question name.
*/
PanelModelBase.prototype.getQuestionByName = function (name) {
var questions = this.questions;
for (var i = 0; i < questions.length; i++) {
if (questions[i].name == name)
return questions[i];
}
return null;
};
/**
* Returns a survey element with a specified `name`. This method can find survey elements within nested elements.
* @param name An element name.
*/
PanelModelBase.prototype.getElementByName = function (name) {
var elements = this.elements;
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
if (el.name == name)
return el;
var pnl = el.getPanel();
if (!!pnl) {
var res = pnl.getElementByName(name);
if (!!res)
return res;
}
}
return null;
};
PanelModelBase.prototype.getQuestionByValueName = function (valueName) {
var questions = this.questions;
for (var i = 0; i < questions.length; i++) {
if (questions[i].getValueName() == valueName)
return questions[i];
}
return null;
};
/**
* Returns a JSON object with question values nested in the panel/page.
* @see getDisplayValue
*/
PanelModelBase.prototype.getValue = function () {
var data = {};
this.collectValues(data, 0);
return data;
};
PanelModelBase.prototype.collectValues = function (data, level) {
var elements = this.elements;
if (level === 0) {
elements = this.questions;
}
var hasValue = false;
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
if (el.isPanel || el.isPage) {
var panelData = {};
if (el.collectValues(panelData, level - 1)) {
data[el.name] = panelData;
hasValue = true;
}
}
else {
var q = el;
if (!q.isEmpty()) {
var valueName = q.getValueName();
data[valueName] = q.value;
if (!!this.data) {
var comment = this.data.getComment(valueName);
if (!!comment) {
data[valueName + _base__WEBPACK_IMPORTED_MODULE_2__["Base"].commentSuffix] = comment;
}
}
}
hasValue = true;
}
}
return true;
};
/**
* Returns a JSON object with display texts that correspond to question values nested in the panel/page.
* @param keysAsText Pass `true` if not only values in the object should be display texts, but also keys. Default value: `false`.
* @see getValue
*/
PanelModelBase.prototype.getDisplayValue = function (keysAsText) {
var data = {};
var questions = this.questions;
for (var i = 0; i < questions.length; i++) {
var q = questions[i];
if (q.isEmpty())
continue;
var valueName = keysAsText ? q.title : q.getValueName();
data[valueName] = q.getDisplayValue(keysAsText);
}
return data;
};
/**
* Returns a JSON object with comments left to questions within this panel/page. Question names are used as keys.
*/
PanelModelBase.prototype.getComments = function () {
var comments = {};
if (!this.data)
return comments;
var questions = this.questions;
for (var i = 0; i < questions.length; i++) {
var q = questions[i];
var comment = this.data.getComment(q.getValueName());
if (!!comment) {
comments[q.getValueName()] = comment;
}
}
return comments;
};
/**
* Removes values that cannot be assigned to nested questions, for example, choices unlisted in the `choices` array.
*
* Call this method after you assign new question values in code to ensure that they are acceptable.
*
* > This method does not remove values for invisible questions and values that fail validation. Call the `validate()` method to validate newly assigned values.
*
* @see validate
*/
PanelModelBase.prototype.clearIncorrectValues = function () {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].clearIncorrectValues();
}
};
/**
* Empties the `errors` array for this panel/page and all its child elements (panels and questions).
* @see errors
*/
PanelModelBase.prototype.clearErrors = function () {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].clearErrors();
}
this.errors = [];
};
PanelModelBase.prototype.markQuestionListDirty = function () {
this.isQuestionsReady = false;
if (this.parent)
this.parent.markQuestionListDirty();
};
Object.defineProperty(PanelModelBase.prototype, "elements", {
/**
* An array of all survey elements (questions or panels) within this panel/page. Does not include questions within nested panels.
* @see questions
*/
get: function () {
return this.elementsValue;
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getElementsInDesign = function (includeHidden) {
if (includeHidden === void 0) { includeHidden = false; }
return this.elements;
};
/**
* Checks whether a given element belongs to this panel/page or nested panels.
* @param element A survey element to check.
*/
PanelModelBase.prototype.containsElement = function (element) {
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
if (el == element)
return true;
var pnl = el.getPanel();
if (!!pnl) {
if (pnl.containsElement(element))
return true;
}
}
return false;
};
Object.defineProperty(PanelModelBase.prototype, "isRequired", {
/**
* Makes the panel/page require an answer at least in one nested question. If a respondent leaves the panel/page without any answers, the survey displays a validation error.
* @see requiredIf
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
*/
get: function () {
return this.getPropertyValue("isRequired");
},
set: function (val) {
this.setPropertyValue("isRequired", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "requiredIf", {
/**
* A Boolean expression. If it evaluates to `true`, this panel/page becomes required (at least one question in the panel/page should have an answer).
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see isRequired
*/
get: function () {
return this.getPropertyValue("requiredIf", "");
},
set: function (val) {
this.setPropertyValue("requiredIf", val);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.searchText = function (text, founded) {
_super.prototype.searchText.call(this, text, founded);
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].searchText(text, founded);
}
};
PanelModelBase.prototype.hasErrors = function (fireCallback, focusOnFirstError, rec) {
if (fireCallback === void 0) { fireCallback = true; }
if (focusOnFirstError === void 0) { focusOnFirstError = false; }
if (rec === void 0) { rec = null; }
return !this.validate(fireCallback, focusOnFirstError, rec);
};
/**
* Validates questions within this panel or page and returns `false` if the validation fails.
* @param fireCallback *(Optional)* Pass `false` if you do not want to show validation errors in the UI.
* @param focusOnFirstError *(Optional)* Pass `true` if you want to focus the first question with a validation error.
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
*/
PanelModelBase.prototype.validate = function (fireCallback, focusOnFirstError, rec) {
if (fireCallback === void 0) { fireCallback = true; }
if (focusOnFirstError === void 0) { focusOnFirstError = false; }
if (rec === void 0) { rec = null; }
rec = !!rec
? rec
: {
fireCallback: fireCallback,
focuseOnFirstError: focusOnFirstError,
firstErrorQuestion: null,
result: false,
};
if (rec.result !== true)
rec.result = false;
this.hasErrorsCore(rec);
if (rec.firstErrorQuestion) {
rec.firstErrorQuestion.focus(true);
}
return !rec.result;
};
PanelModelBase.prototype.validateContainerOnly = function () {
this.hasErrorsInPanels({ fireCallback: true });
if (!!this.parent) {
this.parent.validateContainerOnly();
}
};
PanelModelBase.prototype.hasErrorsInPanels = function (rec) {
var errors = [];
this.hasRequiredError(rec, errors);
if (this.survey) {
var customError = this.survey.validatePanel(this);
if (customError) {
errors.push(customError);
rec.result = true;
}
}
if (!!rec.fireCallback) {
if (!!this.survey) {
this.survey.beforeSettingPanelErrors(this, errors);
}
this.errors = errors;
}
};
//ISurveyErrorOwner
PanelModelBase.prototype.getErrorCustomText = function (text, error) {
if (!!this.survey)
return this.survey.getSurveyErrorCustomText(this, text, error);
return text;
};
PanelModelBase.prototype.hasRequiredError = function (rec, errors) {
if (!this.isRequired)
return;
var visQuestions = [];
this.addQuestionsToList(visQuestions, true);
if (visQuestions.length == 0)
return;
for (var i = 0; i < visQuestions.length; i++) {
if (!visQuestions[i].isEmpty())
return;
}
rec.result = true;
errors.push(new _error__WEBPACK_IMPORTED_MODULE_6__["OneAnswerRequiredError"](this.requiredErrorText, this));
if (rec.focuseOnFirstError && !rec.firstErrorQuestion) {
rec.firstErrorQuestion = visQuestions[0];
}
};
PanelModelBase.prototype.hasErrorsCore = function (rec) {
var elements = this.elements;
var element = null;
for (var i = 0; i < elements.length; i++) {
element = elements[i];
if (!element.isVisible)
continue;
if (element.isPanel) {
element.hasErrorsCore(rec);
}
else {
var question = element;
if (!question.validate(rec.fireCallback, rec)) {
if (rec.focuseOnFirstError && rec.firstErrorQuestion == null) {
rec.firstErrorQuestion = question;
}
rec.result = true;
}
}
}
this.hasErrorsInPanels(rec);
this.updateContainsErrors();
};
PanelModelBase.prototype.getContainsErrors = function () {
var res = _super.prototype.getContainsErrors.call(this);
if (res)
return res;
var elements = this.elements;
for (var i = 0; i < elements.length; i++) {
if (elements[i].containsErrors)
return true;
}
return false;
};
PanelModelBase.prototype.updateElementVisibility = function () {
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
el.setPropertyValue("isVisible", el.isVisible);
if (el.isPanel) {
el.updateElementVisibility();
}
}
};
PanelModelBase.prototype.getFirstQuestionToFocus = function (withError, ignoreCollapseState) {
if (withError === void 0) { withError = false; }
if (ignoreCollapseState === void 0) { ignoreCollapseState = false; }
if (!withError && !ignoreCollapseState && this.isCollapsed)
return null;
var elements = this.elements;
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
if (!el.isVisible || !ignoreCollapseState && el.isCollapsed)
continue;
if (el.isPanel) {
var res = el.getFirstQuestionToFocus(withError, ignoreCollapseState);
if (!!res)
return res;
}
else {
var q = el.getFirstQuestionToFocus(withError);
if (!!q)
return q;
}
}
return null;
};
/**
* Focuses the first question in this panel/page.
* @see focusFirstErrorQuestion
*/
PanelModelBase.prototype.focusFirstQuestion = function () {
var q = this.getFirstQuestionToFocus();
if (!!q) {
q.focus();
}
};
/**
* Focuses the first question with a validation error in this panel/page.
* @see validate
* @see focusFirstQuestion
*/
PanelModelBase.prototype.focusFirstErrorQuestion = function () {
var q = this.getFirstQuestionToFocus(true);
if (!!q) {
q.focus();
}
};
PanelModelBase.prototype.addQuestionsToList = function (list, visibleOnly, includingDesignTime) {
if (visibleOnly === void 0) { visibleOnly = false; }
if (includingDesignTime === void 0) { includingDesignTime = false; }
this.addElementsToList(list, visibleOnly, includingDesignTime, false);
};
PanelModelBase.prototype.addPanelsIntoList = function (list, visibleOnly, includingDesignTime) {
if (visibleOnly === void 0) { visibleOnly = false; }
if (includingDesignTime === void 0) { includingDesignTime = false; }
this.addElementsToList(list, visibleOnly, includingDesignTime, true);
};
PanelModelBase.prototype.addElementsToList = function (list, visibleOnly, includingDesignTime, isPanel) {
if (visibleOnly && !this.visible)
return;
this.addElementsToListCore(list, this.elements, visibleOnly, includingDesignTime, isPanel);
};
PanelModelBase.prototype.addElementsToListCore = function (list, elements, visibleOnly, includingDesignTime, isPanel) {
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
if (visibleOnly && !el.visible)
continue;
if ((isPanel && el.isPanel) || (!isPanel && !el.isPanel)) {
list.push(el);
}
if (el.isPanel) {
el.addElementsToListCore(list, el.elements, visibleOnly, includingDesignTime, isPanel);
}
else {
if (includingDesignTime) {
this.addElementsToListCore(list, el.getElementsInDesign(false), visibleOnly, includingDesignTime, isPanel);
}
}
}
};
PanelModelBase.prototype.updateCustomWidgets = function () {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].updateCustomWidgets();
}
};
Object.defineProperty(PanelModelBase.prototype, "questionTitleLocation", {
/**
* Sets a title location relative to the input field for questions that belong to this panel/page.
*
* Use this property to override the `questionTitleLocation` property specified for the survey. You can also set the `titleLocation` property for individual questions.
*
* Possible values:
*
* - `"default"` (default) - Inherits the setting from the `questionTitleLocation` property specified for the survey.
* - `"top"` - Displays the title above the input field.
* - `"bottom"` - Displays the title below the input field.
* - `"left"` - Displays the title to the left of the input field.
* - `"hidden"` - Hides the question title.
*
* > Certain question types (Matrix, Multiple Text) do not support the `"left"` value. For them, the `"top"` value is used.
* @see SurveyModel.questionTitleLocation
*/
get: function () {
return this.getPropertyValue("questionTitleLocation");
},
set: function (value) {
this.setPropertyValue("questionTitleLocation", value.toLowerCase());
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getQuestionTitleLocation = function () {
if (this.onGetQuestionTitleLocation)
return this.onGetQuestionTitleLocation();
if (this.questionTitleLocation != "default")
return this.questionTitleLocation;
if (this.parent)
return this.parent.getQuestionTitleLocation();
return this.survey ? this.survey.questionTitleLocation : "top";
};
PanelModelBase.prototype.getStartIndex = function () {
if (!!this.parent)
return this.parent.getQuestionStartIndex();
if (!!this.survey)
return this.survey.questionStartIndex;
return "";
};
PanelModelBase.prototype.getQuestionStartIndex = function () {
return this.getStartIndex();
};
PanelModelBase.prototype.getChildrenLayoutType = function () {
return "row";
};
PanelModelBase.prototype.getProgressInfo = function () {
return _survey_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElement"].getProgressInfoByElements(this.elements, this.isRequired);
};
Object.defineProperty(PanelModelBase.prototype, "root", {
get: function () {
var res = this;
while (res.parent)
res = res.parent;
return res;
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.childVisibilityChanged = function () {
var newIsVisibleValue = this.getIsPageVisible(null);
var oldIsVisibleValue = this.getPropertyValue("isVisible", true);
if (newIsVisibleValue !== oldIsVisibleValue) {
this.onVisibleChanged();
}
};
PanelModelBase.prototype.createRowAndSetLazy = function (index) {
var row = this.createRow();
row.setIsLazyRendering(this.isLazyRenderInRow(index));
return row;
};
PanelModelBase.prototype.createRow = function () {
return new QuestionRowModel(this);
};
PanelModelBase.prototype.onSurveyLoad = function () {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].onSurveyLoad();
}
this.onElementVisibilityChanged(this);
};
PanelModelBase.prototype.onFirstRendering = function () {
_super.prototype.onFirstRendering.call(this);
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].onFirstRendering();
}
this.onRowsChanged();
};
PanelModelBase.prototype.updateRows = function () {
if (this.isLoadingFromJson)
return;
for (var i = 0; i < this.elements.length; i++) {
if (this.elements[i].isPanel) {
this.elements[i].updateRows();
}
}
this.onRowsChanged();
};
Object.defineProperty(PanelModelBase.prototype, "rows", {
get: function () {
return this.getPropertyValue("rows");
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.ensureRowsVisibility = function () {
this.rows.forEach(function (row) {
row.ensureVisibility();
});
};
PanelModelBase.prototype.onRowsChanged = function () {
if (this.isLoadingFromJson)
return;
this.setArrayPropertyDirectly("rows", this.buildRows());
};
PanelModelBase.prototype.blockRowsUpdates = function () {
this.locCountRowUpdates++;
};
PanelModelBase.prototype.releaseRowsUpdates = function () {
this.locCountRowUpdates--;
};
PanelModelBase.prototype.updateRowsBeforeElementRemoved = function (element) {
var _this = this;
var elementRow = this.findRowByElement(element);
var elementRowIndex = this.rows.indexOf(elementRow);
var elementIndexInRow = elementRow.elements.indexOf(element);
elementRow.elements.splice(elementIndexInRow, 1);
if (elementRow.elements.length == 0) {
this.rows.splice(elementRowIndex, 1);
}
else if (!elementRow.elements[0].startWithNewLine && this.rows[elementRowIndex - 1]) {
elementRow.elements.forEach(function (el) { return _this.rows[elementRowIndex - 1].addElement(el); });
this.rows.splice(elementRowIndex, 1);
}
else {
elementRow.updateVisible();
}
};
PanelModelBase.prototype.updateRowsOnElementAdded = function (element) {
var _this = this;
var index = this.elements.indexOf(element);
var targetElement = this.elements[index + 1];
var createRowAtIndex = function (index) {
var row = _this.createRowAndSetLazy(index);
if (_this.isDesignModeV2) {
row.setIsLazyRendering(false);
}
_this.rows.splice(index, 0, row);
return row;
};
var updateRow = function (row, start, deleteCount) {
var _a;
var elements = [];
for (var _i = 3; _i < arguments.length; _i++) {
elements[_i - 3] = arguments[_i];
}
var removedElements = (_a = row.elements).splice.apply(_a, __spreadArray([start, deleteCount], elements));
row.updateVisible();
return removedElements;
};
if (!targetElement) {
if (index == 0 || element.startWithNewLine) {
updateRow(createRowAtIndex(this.rows.length), 0, 0, element);
}
else {
this.rows[this.rows.length - 1].addElement(element);
}
return;
}
var targetRow = this.findRowByElement(targetElement);
if (!targetRow)
return;
var targetRowIndex = this.rows.indexOf(targetRow);
var targetElementIndexInRow = targetRow.elements.indexOf(targetElement);
if (targetElementIndexInRow == 0) {
if (!targetElement.startWithNewLine) {
updateRow(targetRow, 0, 0, element);
}
else if (element.startWithNewLine || targetRowIndex < 1) {
createRowAtIndex(targetRowIndex).addElement(element);
}
else {
this.rows[targetRowIndex - 1].addElement(element);
}
}
else {
if (element.startWithNewLine) {
updateRow.apply(void 0, __spreadArray([createRowAtIndex(targetRowIndex + 1), 0, 0], [element].concat(updateRow(targetRow, targetElementIndexInRow, targetRow.elements.length))));
}
else {
updateRow(targetRow, targetElementIndexInRow, 0, element);
}
}
};
PanelModelBase.prototype.onAddElement = function (element, index) {
var _this = this;
element.setSurveyImpl(this.surveyImpl);
element.parent = this;
this.markQuestionListDirty();
if (this.canBuildRows()) {
this.updateRowsOnElementAdded(element);
}
if (element.isPanel) {
var p = element;
if (this.survey) {
this.survey.panelAdded(p, index, this, this.root);
}
}
else {
if (this.survey) {
var q = element;
this.survey.questionAdded(q, index, this, this.root);
}
}
if (!!this.addElementCallback)
this.addElementCallback(element);
var self = this;
element.registerPropertyChangedHandlers(["visible", "isVisible"], function () {
_this.onElementVisibilityChanged(element);
}, this.id);
element.registerPropertyChangedHandlers(["startWithNewLine"], function () {
_this.onElementStartWithNewLineChanged(element);
}, this.id);
this.onElementVisibilityChanged(this);
};
PanelModelBase.prototype.onRemoveElement = function (element) {
element.parent = null;
this.markQuestionListDirty();
element.unregisterPropertyChangedHandlers(["visible", "isVisible", "startWithNewLine"], this.id);
this.updateRowsOnElementRemoved(element);
if (this.isRandomizing)
return;
if (!element.isPanel) {
if (this.survey)
this.survey.questionRemoved(element);
}
else {
if (this.survey)
this.survey.panelRemoved(element);
}
if (!!this.removeElementCallback)
this.removeElementCallback(element);
this.onElementVisibilityChanged(this);
};
PanelModelBase.prototype.onElementVisibilityChanged = function (element) {
if (this.isLoadingFromJson || this.isRandomizing)
return;
this.updateRowsVisibility(element);
this.childVisibilityChanged();
if (!!this.parent) {
this.parent.onElementVisibilityChanged(this);
}
};
PanelModelBase.prototype.onElementStartWithNewLineChanged = function (element) {
if (this.locCountRowUpdates > 0)
return;
this.updateRowsBeforeElementRemoved(element);
this.updateRowsOnElementAdded(element);
};
PanelModelBase.prototype.updateRowsVisibility = function (element) {
var rows = this.rows;
for (var i = 0; i < rows.length; i++) {
var row = rows[i];
if (row.elements.indexOf(element) > -1) {
row.updateVisible();
if (row.visible && !row.isNeedRender) {
row.isNeedRender = true;
}
break;
}
}
};
PanelModelBase.prototype.canBuildRows = function () {
return !this.isLoadingFromJson && this.getChildrenLayoutType() == "row";
};
PanelModelBase.prototype.buildRows = function () {
if (!this.canBuildRows())
return [];
var result = new Array();
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
var isNewRow = i == 0 || el.startWithNewLine;
var row = isNewRow ? this.createRowAndSetLazy(result.length) : result[result.length - 1];
if (isNewRow)
result.push(row);
row.addElement(el);
}
for (var i = 0; i < result.length; i++) {
result[i].updateVisible();
}
return result;
};
PanelModelBase.prototype.isLazyRenderInRow = function (rowIndex) {
if (!this.survey || !this.survey.isLazyRendering)
return false;
return (rowIndex >= this.survey.lazyRenderingFirstBatchSize ||
!this.canRenderFirstRows());
};
PanelModelBase.prototype.canRenderFirstRows = function () {
return this.isPage;
};
PanelModelBase.prototype.getDragDropInfo = function () {
var page = this.getPage(this.parent);
return !!page ? page.getDragDropInfo() : undefined;
};
PanelModelBase.prototype.updateRowsOnElementRemoved = function (element) {
if (!this.canBuildRows())
return;
this.updateRowsRemoveElementFromRow(element, this.findRowByElement(element));
};
PanelModelBase.prototype.updateRowsRemoveElementFromRow = function (element, row) {
if (!row || !row.panel)
return;
var elIndex = row.elements.indexOf(element);
if (elIndex < 0)
return;
row.elements.splice(elIndex, 1);
if (row.elements.length > 0) {
this.blockRowsUpdates();
row.elements[0].startWithNewLine = true;
this.releaseRowsUpdates();
row.updateVisible();
}
else {
if (row.index >= 0) {
row.panel.rows.splice(row.index, 1);
}
}
};
PanelModelBase.prototype.findRowByElement = function (el) {
var rows = this.rows;
for (var i = 0; i < rows.length; i++) {
if (rows[i].elements.indexOf(el) > -1)
return rows[i];
}
return null;
};
PanelModelBase.prototype.elementWidthChanged = function (el) {
if (this.isLoadingFromJson)
return;
var row = this.findRowByElement(el);
if (!!row) {
row.updateVisible();
}
};
Object.defineProperty(PanelModelBase.prototype, "processedTitle", {
get: function () {
return this.getRenderedTitle(this.locTitle.textOrHtml);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getRenderedTitle = function (str) {
return this.textProcessor != null
? this.textProcessor.processText(str, true)
: str;
};
Object.defineProperty(PanelModelBase.prototype, "visible", {
/**
* Gets or sets panel/page visibility.
*
* If you want to display or hide a survey element based on a condition, specify the `visibleIf` property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visibleIf
* @see isVisible
*/
get: function () {
return this.getPropertyValue("visible", true);
},
set: function (value) {
if (value === this.visible)
return;
this.setPropertyValue("visible", value);
this.setPropertyValue("isVisible", this.isVisible);
if (!this.isLoadingFromJson)
this.onVisibleChanged();
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.onHidingContent = function () {
this.questions.forEach(function (q) { return q.onHidingContent(); });
};
PanelModelBase.prototype.onVisibleChanged = function () {
if (this.isRandomizing)
return;
this.setPropertyValue("isVisible", this.isVisible);
if (!!this.survey && this.survey.getQuestionClearIfInvisible("default") !== "none" &&
!this.isLoadingFromJson) {
var questions = this.questions;
var isVisible = this.isVisible;
for (var i = 0; i < questions.length; i++) {
var q = questions[i];
if (!isVisible) {
q.clearValueIfInvisible("onHiddenContainer");
q.onHidingContent();
}
else {
q.updateValueWithDefaults();
}
}
}
};
PanelModelBase.prototype.notifyStateChanged = function (prevState) {
var _this = this;
_super.prototype.notifyStateChanged.call(this, prevState);
if (this.isCollapsed) {
this.questions.forEach(function (q) { return q.onHidingContent(); });
}
if (this.survey != null && !this.isLoadingFromJson && this.isExpanded && prevState === "collapsed") {
var q_1 = this.getFirstQuestionToFocus(false);
if (!!q_1) {
setTimeout(function () {
if (!_this.isDisposed && !!_this.survey) {
_this.survey.scrollElementToTop(q_1, q_1, null, q_1.inputId, false);
}
}, 15);
}
}
};
Object.defineProperty(PanelModelBase.prototype, "isVisible", {
/**
* Returns `true` if the panel/page is visible or the survey is currently in design mode.
*
* If you want to display or hide a question based on a condition, specify the `visibleIf` property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visibleIf
* @see visible
*/
get: function () {
return this.areInvisibleElementsShowing || this.getIsPageVisible(null);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getIsPageVisible = function (exceptionQuestion) {
if (!this.visible)
return false;
for (var i = 0; i < this.elements.length; i++) {
if (this.elements[i] == exceptionQuestion)
continue;
if (this.elements[i].isVisible)
return true;
}
return false;
};
PanelModelBase.prototype.setVisibleIndex = function (index) {
if (!this.isVisible || index < 0) {
this.resetVisibleIndexes();
return 0;
}
this.lastVisibleIndex = index;
var startIndex = index;
index += this.beforeSetVisibleIndex(index);
var panelStartIndex = this.getPanelStartIndex(index);
var panelIndex = panelStartIndex;
for (var i = 0; i < this.elements.length; i++) {
panelIndex += this.elements[i].setVisibleIndex(panelIndex);
}
if (this.isContinueNumbering()) {
index += panelIndex - panelStartIndex;
}
return index - startIndex;
};
PanelModelBase.prototype.updateVisibleIndexes = function () {
if (this.lastVisibleIndex === undefined)
return;
this.resetVisibleIndexes();
this.setVisibleIndex(this.lastVisibleIndex);
};
PanelModelBase.prototype.resetVisibleIndexes = function () {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].setVisibleIndex(-1);
}
};
PanelModelBase.prototype.beforeSetVisibleIndex = function (index) {
return 0;
};
PanelModelBase.prototype.getPanelStartIndex = function (index) {
return index;
};
PanelModelBase.prototype.isContinueNumbering = function () {
return true;
};
Object.defineProperty(PanelModelBase.prototype, "isReadOnly", {
get: function () {
var isParentReadOnly = !!this.parent && this.parent.isReadOnly;
var isSurveyReadOnly = !!this.survey && this.survey.isDisplayMode;
return this.readOnly || isParentReadOnly || isSurveyReadOnly;
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.onReadOnlyChanged = function () {
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
el.setPropertyValue("isReadOnly", el.isReadOnly);
}
_super.prototype.onReadOnlyChanged.call(this);
};
PanelModelBase.prototype.updateElementCss = function (reNew) {
_super.prototype.updateElementCss.call(this, reNew);
for (var i = 0; i < this.elements.length; i++) {
var el = this.elements[i];
el.updateElementCss(reNew);
}
};
Object.defineProperty(PanelModelBase.prototype, "enableIf", {
/**
* A Boolean expression. If it evaluates to `false`, this panel/page becomes read-only.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see readOnly
* @see isReadOnly
*/
get: function () {
return this.getPropertyValue("enableIf", "");
},
set: function (val) {
this.setPropertyValue("enableIf", val);
},
enumerable: false,
configurable: true
});
/**
* Adds a survey element (question or panel) to this panel/page. Returns `true` if the element was added successfully; `false` otherwise.
* @param element A survey element to add.
* @param index A desired index of this element in the `elements` array.
* @see addNewQuestion
* @see addNewPanel
*/
PanelModelBase.prototype.addElement = function (element, index) {
if (index === void 0) { index = -1; }
if (!this.canAddElement(element))
return false;
if (index < 0 || index >= this.elements.length) {
this.elements.push(element);
}
else {
this.elements.splice(index, 0, element);
}
if (this.wasRendered) {
element.onFirstRendering();
}
return true;
};
PanelModelBase.prototype.insertElement = function (element, dest, location) {
if (location === void 0) { location = "bottom"; }
if (!dest) {
this.addElement(element);
return;
}
this.blockRowsUpdates();
var index = this.elements.indexOf(dest);
var destRow = this.findRowByElement(dest);
if (location == "left" || location == "right") {
if (location == "right") {
element.startWithNewLine = false;
index++;
}
else {
if (destRow.elements.indexOf(dest) == 0) {
dest.startWithNewLine = false;
element.startWithNewLine = true;
}
else {
element.startWithNewLine = false;
}
}
}
else {
element.startWithNewLine = true;
if (location == "top") {
index = this.elements.indexOf(destRow.elements[0]);
}
else {
index = this.elements.indexOf(destRow.elements[destRow.elements.length - 1]) + 1;
}
}
this.releaseRowsUpdates();
this.addElement(element, index);
};
PanelModelBase.prototype.insertElementAfter = function (element, after) {
var index = this.elements.indexOf(after);
if (index >= 0)
this.addElement(element, index + 1);
};
PanelModelBase.prototype.insertElementBefore = function (element, before) {
var index = this.elements.indexOf(before);
if (index >= 0)
this.addElement(element, index);
};
PanelModelBase.prototype.canAddElement = function (element) {
return (!!element && element.isLayoutTypeSupported(this.getChildrenLayoutType()));
};
PanelModelBase.prototype.addQuestion = function (question, index) {
if (index === void 0) { index = -1; }
return this.addElement(question, index);
};
PanelModelBase.prototype.addPanel = function (panel, index) {
if (index === void 0) { index = -1; }
return this.addElement(panel, index);
};
/**
* Creates a new question of a given type and adds it to the `elements` array at a specified index.
*
* This method returns `null` if the question cannot be created or added to this panel/page; otherwise, the method returns the created question.
*
* @param questionType A [question type](https://surveyjs.io/form-library/documentation/question#getType).
* @param name A question name.
* @param index A desired index of the new question in the `elements` array.
* @see elements
* @see addElement
*/
PanelModelBase.prototype.addNewQuestion = function (questionType, name, index) {
if (name === void 0) { name = null; }
if (index === void 0) { index = -1; }
var question = _questionfactory__WEBPACK_IMPORTED_MODULE_5__["QuestionFactory"].Instance.createQuestion(questionType, name);
if (!this.addQuestion(question, index))
return null;
return question;
};
/**
* Creates a new panel and adds it to the end of the `elements` array.
*
* This method returns `null` if the panel cannot be created or added to this panel/page; otherwise, the method returns the created panel.
* @param name A panel name.
* @see elementsup
* @see addElement
*/
PanelModelBase.prototype.addNewPanel = function (name) {
if (name === void 0) { name = null; }
var panel = this.createNewPanel(name);
if (!this.addPanel(panel))
return null;
return panel;
};
PanelModelBase.prototype.indexOf = function (element) {
return this.elements.indexOf(element);
};
PanelModelBase.prototype.createNewPanel = function (name) {
var res = _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].createClass("panel");
res.name = name;
return res;
};
/**
* Deletes a survey element (question or panel) from this panel/page. Returns `true` if the element was deleted successfully; `false` otherwise.
* @param element A survey element to delete.
* @see elements
*/
PanelModelBase.prototype.removeElement = function (element) {
var index = this.elements.indexOf(element);
if (index < 0) {
for (var i = 0; i < this.elements.length; i++) {
if (this.elements[i].removeElement(element))
return true;
}
return false;
}
this.elements.splice(index, 1);
return true;
};
PanelModelBase.prototype.removeQuestion = function (question) {
this.removeElement(question);
};
PanelModelBase.prototype.runCondition = function (values, properties) {
if (this.isDesignMode || this.isLoadingFromJson)
return;
var elements = this.elements.slice();
for (var i = 0; i < elements.length; i++) {
elements[i].runCondition(values, properties);
}
this.runConditionCore(values, properties);
};
PanelModelBase.prototype.onAnyValueChanged = function (name, questionName) {
var els = this.elements;
for (var i = 0; i < els.length; i++) {
els[i].onAnyValueChanged(name, questionName);
}
};
PanelModelBase.prototype.checkBindings = function (valueName, value) {
var els = this.elements;
for (var i = 0; i < els.length; i++) {
els[i].checkBindings(valueName, value);
}
};
PanelModelBase.prototype.dragDropAddTarget = function (dragDropInfo) {
this.dragDropPanelHelper.dragDropAddTarget(dragDropInfo);
};
PanelModelBase.prototype.dragDropFindRow = function (findElement) {
return this.dragDropPanelHelper.dragDropFindRow(findElement);
};
PanelModelBase.prototype.dragDropMoveElement = function (src, target, targetIndex) {
this.dragDropPanelHelper.dragDropMoveElement(src, target, targetIndex);
};
PanelModelBase.prototype.needResponsiveWidth = function () {
var result = false;
this.elements.forEach(function (e) {
if (e.needResponsiveWidth())
result = true;
});
this.rows.forEach(function (r) {
if (r.elements.length > 1)
result = true;
});
return result;
};
Object.defineProperty(PanelModelBase.prototype, "hasDescriptionUnderTitle", {
get: function () {
return this.hasDescription;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "cssHeader", {
get: function () {
return this.cssClasses.panel.header;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "cssDescription", {
get: function () {
return this.cssClasses.panel.description;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "questionErrorLocation", {
/**
* Specifies the error message position for questions that belong to this page/panel.
*
* Use this property to override the [`questionErrorLocation`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionErrorLocation) property specified for the survey. You can also set the [`errorLocation`](https://surveyjs.io/form-library/documentation/question#errorLocation) property for individual questions.
*
* Possible values:
*
* - `"default"` (default) - Inherits the setting from the `questionErrorLocation` property specified for the survey.
* - `"top"` - Displays error messages above questions.
* - `"bottom"` - Displays error messages below questions.
*/
get: function () {
return this.getPropertyValue("questionErrorLocation");
},
set: function (val) {
this.setPropertyValue("questionErrorLocation", val);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getQuestionErrorLocation = function () {
if (this.questionErrorLocation !== "default")
return this.questionErrorLocation;
if (this.parent)
return this.parent.getQuestionErrorLocation();
return this.survey ? this.survey.questionErrorLocation : "top";
};
Object.defineProperty(PanelModelBase.prototype, "no", {
//ITitleOwner
get: function () { return ""; },
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModelBase.prototype, "cssError", {
get: function () {
return this.getCssError(this.cssClasses);
},
enumerable: false,
configurable: true
});
PanelModelBase.prototype.getCssError = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]().append(cssClasses.error.root).toString();
};
PanelModelBase.prototype.dispose = function () {
_super.prototype.dispose.call(this);
if (this.rows) {
for (var i = 0; i < this.rows.length; i++) {
this.rows[i].dispose();
}
this.rows.splice(0, this.rows.length);
}
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].dispose();
}
this.elements.splice(0, this.elements.length);
};
PanelModelBase.panelCounter = 100;
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
], PanelModelBase.prototype, "showTitle", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
], PanelModelBase.prototype, "showDescription", void 0);
return PanelModelBase;
}(_survey_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElement"]));
/**
* A class that describes the Panel container element.
*
* A panel can contain questions and other panels. Refer to the following help topic for an illustration: [Survey Structure](https://surveyjs.io/form-library/documentation/design-survey-create-a-simple-survey#survey-structure).
*
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-panel/ (linkStyle))
*/
var PanelModel = /** @class */ (function (_super) {
__extends(PanelModel, _super);
function PanelModel(name) {
if (name === void 0) { name = ""; }
var _this = _super.call(this, name) || this;
_this.createNewArray("footerActions");
_this.registerPropertyChangedHandlers(["width"], function () {
if (!!_this.parent) {
_this.parent.elementWidthChanged(_this);
}
});
_this.registerPropertyChangedHandlers(["indent", "innerIndent", "rightIndent"], function () { _this.onIndentChanged(); });
return _this;
}
PanelModel.prototype.getType = function () {
return "panel";
};
Object.defineProperty(PanelModel.prototype, "contentId", {
get: function () {
return this.id + "_content";
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getSurvey = function (live) {
if (live === void 0) { live = false; }
if (live) {
return !!this.parent ? this.parent.getSurvey(live) : null;
}
return _super.prototype.getSurvey.call(this, live);
};
PanelModel.prototype.onSurveyLoad = function () {
_super.prototype.onSurveyLoad.call(this);
this.onIndentChanged();
};
PanelModel.prototype.onSetData = function () {
_super.prototype.onSetData.call(this);
this.onIndentChanged();
};
Object.defineProperty(PanelModel.prototype, "isPanel", {
get: function () {
return true;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "page", {
/**
* Returns a page to which the panel belongs and allows you to move this panel to a different page.
* @see PanelModelBase.parent
*/
get: function () {
return this.getPage(this.parent);
},
set: function (val) {
this.setPage(this.parent, val);
},
enumerable: false,
configurable: true
});
PanelModel.prototype.removeFromParent = function () {
if (!!this.parent) {
this.removeSelfFromList(this.parent.elements);
}
};
PanelModel.prototype.moveTo = function (container, insertBefore) {
if (insertBefore === void 0) { insertBefore = null; }
return this.moveToBase(this.parent, container, insertBefore);
};
Object.defineProperty(PanelModel.prototype, "visibleIndex", {
/**
* Returns the visible index of the panel in the survey. Commonly it is -1 and it doesn't show.
* You have to set showNumber to true to show index/numbering for the Panel
* @see showNumber
*/
get: function () {
return this.getPropertyValue("visibleIndex", -1);
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getTitleOwner = function () { return this; };
Object.defineProperty(PanelModel.prototype, "showNumber", {
/**
* Specifies whether to show the panel number in the title.
*
* Default value: `false`
* @see SurveyModel.showQuestionNumbers
* @see SurveyModel.questionTitlePattern
*/
get: function () {
return this.getPropertyValue("showNumber");
},
set: function (val) {
this.setPropertyValue("showNumber", val);
this.notifySurveyOnVisibilityChanged();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "showQuestionNumbers", {
/**
* Gets or sets a value that specifies how the elements numbers inside panel are displayed.
*
* The following options are available:
*
* - `default` - display questions numbers as defined in parent panel or survey
* - `onpanel` - display questions numbers, start numbering from beginning of this page
* - `off` - turn off the numbering for questions titles
* @see showNumber
*/
get: function () {
return this.getPropertyValue("showQuestionNumbers");
},
set: function (value) {
this.setPropertyValue("showQuestionNumbers", value);
this.notifySurveyOnVisibilityChanged();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "questionStartIndex", {
/**
* Specifies a number or letter used to start numbering of elements inside the panel.
*
* You can include desired prefixes and postfixes alongside the number or letter:
*
* ```js
* "questionStartIndex": "a.", // a., b., c., ...
* "questionStartIndex": "#3", // #3, #4, #5, ...
* "questionStartIndex": "(B)." // (B)., (C)., (D)., ...
* ```
* Default value: `"1."` (inherited from `SurveyModel`'s `questionStartIndex` property)
* @see SurveyModel.questionStartIndex
* @see showQuestionNumbers
*/
get: function () {
return this.getPropertyValue("questionStartIndex", "");
},
set: function (val) {
this.setPropertyValue("questionStartIndex", val);
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getQuestionStartIndex = function () {
if (!!this.questionStartIndex)
return this.questionStartIndex;
return _super.prototype.getQuestionStartIndex.call(this);
};
Object.defineProperty(PanelModel.prototype, "no", {
/**
* A question number or letter (depends on the `questionStartIndex` property).
*
* When the question number, title, or the entire question is invisible, this property returns an empty string.
* @see questionStartIndex
* @see showNumber
* @see visibleIf
*/
get: function () {
return this.getPropertyValue("no", "");
},
enumerable: false,
configurable: true
});
PanelModel.prototype.setNo = function (visibleIndex) {
this.setPropertyValue("no", _helpers__WEBPACK_IMPORTED_MODULE_1__["Helpers"].getNumberByIndex(this.visibleIndex, this.getStartIndex()));
};
PanelModel.prototype.notifyStateChanged = function (prevState) {
if (!this.isLoadingFromJson) {
this.locTitle.strChanged();
}
_super.prototype.notifyStateChanged.call(this, prevState);
};
PanelModel.prototype.createLocTitleProperty = function () {
var _this = this;
var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
locTitleValue.onGetTextCallback = function (text) {
if (!text && (_this.state !== "default")) {
text = _this.name;
}
return text;
};
return locTitleValue;
};
PanelModel.prototype.beforeSetVisibleIndex = function (index) {
var visibleIndex = -1;
if (this.showNumber && (this.isDesignMode || !this.locTitle.isEmpty)) {
visibleIndex = index;
}
this.setPropertyValue("visibleIndex", visibleIndex);
this.setNo(visibleIndex);
return visibleIndex < 0 ? 0 : 1;
};
PanelModel.prototype.getPanelStartIndex = function (index) {
if (this.showQuestionNumbers == "off")
return -1;
if (this.showQuestionNumbers == "onpanel")
return 0;
return index;
};
PanelModel.prototype.isContinueNumbering = function () {
return (this.showQuestionNumbers != "off" && this.showQuestionNumbers != "onpanel");
};
PanelModel.prototype.notifySurveyOnVisibilityChanged = function () {
if (this.survey != null && !this.isLoadingFromJson) {
this.survey.panelVisibilityChanged(this, this.isVisible);
}
};
PanelModel.prototype.hasErrorsCore = function (rec) {
_super.prototype.hasErrorsCore.call(this, rec);
if (this.isCollapsed && rec.result && rec.fireCallback) {
this.expand();
}
};
PanelModel.prototype.getRenderedTitle = function (str) {
if (!str) {
if (this.isCollapsed || this.isExpanded)
return this.name;
if (this.isDesignMode)
return "[" + this.name + "]";
}
return _super.prototype.getRenderedTitle.call(this, str);
};
Object.defineProperty(PanelModel.prototype, "innerIndent", {
/**
* Increases or decreases an indent of panel content from the left edge. Accepts positive integer values and 0.
*/
get: function () {
return this.getPropertyValue("innerIndent");
},
set: function (val) {
this.setPropertyValue("innerIndent", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "startWithNewLine", {
/**
* Disable this property if you want to render the current panel on the same line or row with the previous question or panel.
*/
get: function () {
return this.getPropertyValue("startWithNewLine");
},
set: function (value) {
this.setPropertyValue("startWithNewLine", value);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "allowAdaptiveActions", {
get: function () {
return this.getPropertyValue("allowAdaptiveActions");
},
set: function (val) {
this.setPropertyValue("allowAdaptiveActions", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "innerPaddingLeft", {
get: function () {
return this.getPropertyValue("innerPaddingLeft", "");
},
set: function (val) {
this.setPropertyValue("innerPaddingLeft", val);
},
enumerable: false,
configurable: true
});
PanelModel.prototype.onIndentChanged = function () {
if (!this.getSurvey())
return;
this.innerPaddingLeft = this.getIndentSize(this.innerIndent);
this.paddingLeft = this.getIndentSize(this.indent);
this.paddingRight = this.getIndentSize(this.rightIndent);
};
PanelModel.prototype.getIndentSize = function (indent) {
if (indent < 1)
return "";
var css = this.survey["css"];
if (!css || !css.question.indent)
return "";
return indent * css.question.indent + "px";
};
PanelModel.prototype.clearOnDeletingContainer = function () {
this.elements.forEach(function (element) {
if (element instanceof _question__WEBPACK_IMPORTED_MODULE_4__["Question"] || element instanceof PanelModel) {
element.clearOnDeletingContainer();
}
});
};
Object.defineProperty(PanelModel.prototype, "footerActions", {
get: function () {
return this.getPropertyValue("footerActions");
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getFooterToolbar = function () {
var _this = this;
var _a, _b;
if (!this.footerToolbarValue) {
var actions = this.footerActions;
if (this.hasEditButton) {
actions.push({
id: "cancel-preview",
locTitle: this.survey.locEditText,
innerCss: this.survey.cssNavigationEdit,
action: function () { _this.cancelPreview(); }
});
}
if (!!this.onGetFooterActionsCallback) {
actions = this.onGetFooterActionsCallback();
}
else {
actions = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.getUpdatedPanelFooterActions(this, actions);
}
this.footerToolbarValue = this.createActionContainer(this.allowAdaptiveActions);
var footerCss = this.onGetFooterToolbarCssCallback ? this.onGetFooterToolbarCssCallback() : "";
if (!footerCss) {
footerCss = (_b = this.cssClasses.panel) === null || _b === void 0 ? void 0 : _b.footer;
}
if (footerCss) {
this.footerToolbarValue.containerCss = footerCss;
}
this.footerToolbarValue.setItems(actions);
}
return this.footerToolbarValue;
};
Object.defineProperty(PanelModel.prototype, "hasEditButton", {
get: function () {
if (this.survey && this.survey.state === "preview")
return this.depth === 1;
return false;
},
enumerable: false,
configurable: true
});
PanelModel.prototype.cancelPreview = function () {
if (!this.hasEditButton)
return;
this.survey.cancelPreviewByPage(this);
};
Object.defineProperty(PanelModel.prototype, "cssTitle", {
get: function () {
return this.getCssTitle(this.cssClasses.panel);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PanelModel.prototype, "showErrorsAbovePanel", {
get: function () {
return this.isDefaultV2Theme && !this.showPanelAsPage;
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getCssError = function (cssClasses) {
var builder = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
.append(_super.prototype.getCssError.call(this, cssClasses))
.append(cssClasses.panel.errorsContainer);
return builder.append("panel-error-root", builder.isEmpty()).toString();
};
PanelModel.prototype.onVisibleChanged = function () {
_super.prototype.onVisibleChanged.call(this);
this.notifySurveyOnVisibilityChanged();
};
PanelModel.prototype.needResponsiveWidth = function () {
if (!this.startWithNewLine) {
return true;
}
else {
return _super.prototype.needResponsiveWidth.call(this);
}
};
PanelModel.prototype.focusIn = function () {
if (!this.survey)
return;
this.survey.whenPanelFocusIn(this);
};
PanelModel.prototype.getHasFrameV2 = function () {
return _super.prototype.getHasFrameV2.call(this) && !this.showPanelAsPage;
};
PanelModel.prototype.getIsNested = function () {
return _super.prototype.getIsNested.call(this) && this.parent !== undefined;
};
Object.defineProperty(PanelModel.prototype, "showPanelAsPage", {
get: function () {
return !!this.originalPage && !this.survey.isShowingPreview;
},
enumerable: false,
configurable: true
});
PanelModel.prototype.getCssRoot = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
.append(_super.prototype.getCssRoot.call(this, cssClasses))
.append(cssClasses.container)
.append(cssClasses.asPage, this.showPanelAsPage)
.append(cssClasses.invisible, !this.isDesignMode && this.areInvisibleElementsShowing && !this.visible)
.toString();
};
PanelModel.prototype.getContainerCss = function () {
return this.getCssRoot(this.cssClasses.panel);
};
return PanelModel;
}(PanelModelBase));
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("panelbase", [
"name",
{
name: "elements",
alternativeName: "questions",
baseClassName: "question",
visible: false,
isLightSerializable: false,
},
{ name: "visible:switch", default: true, overridingProperty: "visibleIf" },
{ name: "readOnly:boolean", overridingProperty: "enableIf" },
"visibleIf:condition",
"enableIf:condition",
"requiredIf:condition",
{
name: "questionTitleLocation",
default: "default",
choices: ["default", "top", "bottom", "left", "hidden"],
},
{ name: "title:text", serializationProperty: "locTitle" },
{ name: "description:text", serializationProperty: "locDescription" },
{
name: "questionsOrder",
default: "default",
choices: ["default", "initial", "random"],
},
{ name: "questionErrorLocation", default: "default", choices: ["default", "top", "bottom"] }
], function () {
return new PanelModelBase();
});
_jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("panel", [
{
name: "state",
default: "default",
choices: ["default", "collapsed", "expanded"],
},
{ name: "isRequired:switch", overridingProperty: "requiredIf" },
{
name: "requiredErrorText:text",
serializationProperty: "locRequiredErrorText",
},
{ name: "startWithNewLine:boolean", default: true },
"width",
{ name: "minWidth", defaultFunc: function () { return "auto"; } },
{ name: "maxWidth", defaultFunc: function () { return _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].maxWidth; } },
{ name: "innerIndent:number", default: 0, choices: [0, 1, 2, 3] },
{ name: "indent:number", default: 0, choices: [0, 1, 2, 3], visible: false },
{
name: "page",
isSerializable: false,
visibleIf: function (obj) {
var survey = obj ? obj.survey : null;
return !survey || !survey.pages || survey.pages.length > 1;
},
choices: function (obj) {
var survey = obj ? obj.survey : null;
return survey
? survey.pages.map(function (p) {
return { value: p.name, text: p.title };
})
: [];
},
},
"showNumber:boolean",
{
name: "showQuestionNumbers",
default: "default",
choices: ["default", "onpanel", "off"],
},
"questionStartIndex",
{ name: "allowAdaptiveActions:boolean", default: true, visible: false },
], function () {
return new PanelModel();
}, "panelbase");
_questionfactory__WEBPACK_IMPORTED_MODULE_5__["ElementFactory"].Instance.registerElement("panel", function (name) {
return new PanelModel(name);
});
/***/ }),
/***/ "./src/plugins/themes/bootstrap/cssbootstrap.ts":
/*!******************************************************!*\
!*** ./src/plugins/themes/bootstrap/cssbootstrap.ts ***!
\******************************************************/
/*! exports provided: defaultCss */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultCss", function() { return defaultCss; });
var defaultCss = {
root: "sv_main sv_bootstrap_css",
container: "sv_container",
header: "panel-heading card-header",
body: "panel-body card-block mt-4",
bodyEmpty: "panel-body card-block mt-4 sv_body_empty",
footer: "panel-footer card-footer",
title: "",
description: "",
logo: "sv_logo",
logoImage: "sv_logo__image",
headerText: "sv_header__text",
navigationButton: "btn sv_nav_btn",
completedPage: "",
navigation: {
complete: "sv_complete_btn",
prev: "sv_prev_btn",
next: "sv_next_btn",
start: "sv_start_btn",
preview: "sv_preview_btn",
edit: "sv_edit_btn",
},
progress: "progress center-block mx-auto mb-4",
progressBar: "progress-bar",
progressTextUnderBar: "sv-hidden",
progressTextInBar: "sv-hidden",
progressButtonsContainerCenter: "sv_progress-buttons__container-center",
progressButtonsContainer: "sv_progress-buttons__container",
progressButtonsImageButtonLeft: "sv_progress-buttons__image-button-left",
progressButtonsImageButtonRight: "sv_progress-buttons__image-button-right",
progressButtonsImageButtonHidden: "sv_progress-buttons__image-button--hidden",
progressButtonsListContainer: "sv_progress-buttons__list-container",
progressButtonsList: "sv_progress-buttons__list",
progressButtonsListElementPassed: "sv_progress-buttons__list-element--passed",
progressButtonsListElementCurrent: "sv_progress-buttons__list-element--current",
progressButtonsListElementNonClickable: "sv_progress-buttons__list-element--nonclickable",
progressButtonsPageTitle: "sv_progress-buttons__page-title",
progressButtonsPageDescription: "sv_progress-buttons__page-description",
page: {
root: "",
title: "",
description: "small",
},
pageTitle: "",
pageDescription: "small",
row: "sv_row",
question: {
mainRoot: "sv_qstn",
flowRoot: "sv_q_flow sv_qstn",
header: "",
headerLeft: "title-left",
content: "",
contentLeft: "content-left",
titleLeftRoot: "sv_qstn_left",
title: "",
titleExpandable: "sv_q_title_expandable",
titleExpanded: "sv_q_title_expanded",
titleCollapsed: "sv_q_title_collapsed",
number: "sv_q_num",
description: "small",
descriptionUnderInput: "small",
requiredText: "sv_q_required_text",
comment: "form-control",
required: "",
titleRequired: "",
hasError: "has-error",
indent: 20,
formGroup: "form-group",
disabled: "sv_q--disabled",
},
panel: {
title: "sv_p_title",
titleExpandable: "sv_p_title_expandable",
titleExpanded: "sv_p_title_expanded",
titleCollapsed: "sv_p_title_collapsed",
titleOnError: "",
icon: "sv_panel_icon",
iconExpanded: "sv_expanded",
description: "small sv_p_description",
container: "sv_p_container",
footer: "sv_p_footer",
number: "sv_q_num",
requiredText: "sv_q_required_text",
},
error: {
root: "alert alert-danger",
icon: "glyphicon glyphicon-exclamation-sign",
item: "",
locationTop: "sv_qstn_error_top",
locationBottom: "sv_qstn_error_bottom",
},
boolean: {
root: "sv_qbln form-inline checkbox",
rootRadio: "sv_qbln form-inline checkbox",
item: "sv-boolean",
control: "sv-visuallyhidden",
controlCheckbox: "sv-visuallyhidden",
itemChecked: "sv-boolean--checked checked",
itemIndeterminate: "sv-boolean--indeterminate",
itemDisabled: "sv-boolean--disabled",
switch: "sv-boolean__switch",
slider: "sv-boolean__slider",
label: "sv-boolean__label ",
disabledLabel: "sv-boolean__label--disabled",
sliderGhost: "sv-boolean__thumb-ghost",
materialDecorator: "sv-item__decorator sv-boolean__decorator",
itemDecorator: "sv-item__svg sv-boolean__svg",
checkedPath: "sv-boolean__checked-path",
uncheckedPath: "sv-boolean__unchecked-path",
indeterminatePath: "sv-boolean__indeterminate-path",
},
checkbox: {
root: "sv_qcbc sv_qcbx form-inline",
item: "checkbox",
itemChecked: "checked",
itemSelectAll: "sv_q_checkbox_selectall",
itemNone: "sv_q_checkbox_none",
itemInline: "sv_q_checkbox_inline",
itemControl: "",
itemDecorator: "sv-hidden",
label: "",
labelChecked: "",
controlLabel: "",
materialDecorator: "checkbox-material",
other: "sv_q_checkbox_other form-control",
column: "sv_q_select_column",
},
ranking: {
root: "sv-ranking",
rootMobileMod: "sv-ranking--mobile",
rootDragMod: "sv-ranking--drag",
rootDisabled: "sv-ranking--disabled",
rootDragHandleAreaIcon: "sv-ranking--drag-handle-area-icon",
rootSelectToRankMod: "sv-ranking--select-to-rank",
rootSelectToRankAlignVertical: "sv-ranking--select-to-rank-vertical",
rootSelectToRankAlignHorizontal: "sv-ranking--select-to-rank-horizontal",
item: "sv-ranking-item",
itemContent: "sv-ranking-item__content",
itemIndex: "sv-ranking-item__index",
itemIndexEmptyMode: "sv-ranking-item__index--empty",
// itemText: "sv-ranking-item__text",
controlLabel: "sv-ranking-item__text",
itemGhostNode: "sv-ranking-item__ghost",
itemIconContainer: "sv-ranking-item__icon-container",
itemIcon: "sv-ranking-item__icon",
itemIconHoverMod: "sv-ranking-item__icon--hover",
itemIconFocusMod: "sv-ranking-item__icon--focus",
itemGhostMod: "sv-ranking-item--ghost",
itemDragMod: "sv-ranking-item--drag",
container: "sv-ranking__container",
containerEmptyMode: "sv-ranking__container--empty",
containerFromMode: "sv-ranking__container--from",
containerToMode: "sv-ranking__container--to",
containerPlaceholder: "sv-ranking__container-placeholder",
containersDivider: "sv-ranking__containers-divider",
},
comment: "form-control",
dropdown: {
root: "sv_q_dd_root",
popup: "sv-dropdown-popup",
selectWrapper: "sv_q_dd_select_wrapper",
control: "form-control sv_q_dd_control",
controlValue: "sv_q_dd_value",
other: "sv_q_dd_other form-control",
cleanButton: "sv_q_dd_clean-button",
cleanButtonSvg: "sv_q_dd_clean-button-svg",
cleanButtonIconId: "icon-clear_16x16",
filterStringInput: "sv_q_dd_filter-string-input",
hintPrefix: "sv_q_dd_hint-prefix",
hintSuffix: "sv_q_dd_hint-suffix"
},
tagbox: {
root: "sv_q_dd_root",
popup: "sv-dropdown-popup",
selectWrapper: "sv_q_dd_select_wrapper",
control: "form-control sv_q_dd_control",
controlValue: "sv_q_dd_value",
other: "sv_q_dd_other form-control",
cleanButton: "sv_q_dd_clean-button",
cleanButtonSvg: "sv_q_dd_clean-button-svg",
cleanButtonIconId: "icon-clear_16x16",
filterStringInput: "sv_q_dd_filter-string-input",
},
html: { root: "" },
image: { root: "sv_q_image", image: "sv_image_image" },
matrix: {
root: "table sv_q_matrix",
label: "sv_q_m_label",
itemChecked: "checked",
itemDecorator: "sv-hidden",
cellText: "sv_q_m_cell_text",
cellTextSelected: "sv_q_m_cell_selected bg-primary",
cellLabel: "sv_q_m_cell_label",
cellResponsiveTitle: "sv-hidden"
},
matrixdropdown: {
root: "table",
cell: "sv_matrix_cell",
headerCell: "sv_matrix_cell_header",
row: "sv_matrix_row",
rowAdditional: "sv-matrix__row--additional",
detailRow: "sv_matrix_detail_row",
detailRowText: "sv_matrix_cell_detail_rowtext",
detailCell: "sv_matrix_cell_detail",
detailButton: "sv_matrix_cell_detail_button",
detailButtonExpanded: "sv_matrix_cell_detail_button_expanded",
detailIcon: "sv_detail_panel_icon",
detailIconExpanded: "sv_detail_expanded",
detailPanelCell: "sv_matrix_cell_detail_panel",
actionsCell: "sv_matrix_cell sv_matrix_cell_actions",
},
matrixdynamic: {
root: "table",
button: "button",
buttonAdd: "",
buttonRemove: "",
iconAdd: "",
iconRemove: "",
iconDrag: "sv-matrixdynamic__drag-icon",
headerCell: "sv_matrix_cell_header",
row: "sv_matrix_row",
detailRow: "sv_matrix_detail_row",
detailCell: "sv_matrix_cell_detail",
detailButton: "sv_matrix_cell_detail_button",
detailButtonExpanded: "sv_matrix_cell_detail_button_expanded",
detailIcon: "sv_detail_panel_icon",
detailIconExpanded: "sv_detail_expanded",
detailPanelCell: "sv_matrix_cell_detail_panel",
actionsCell: "sv_matrix_cell sv_matrix_cell_actions",
emptyRowsSection: "sv_matrix_empty_rows_section",
emptyRowsText: "sv_matrix_empty_rows_text",
emptyRowsButton: "",
ghostRow: "sv-matrix-row--drag-drop-ghost-mod"
},
paneldynamic: {
root: "",
navigation: "sv-paneldynamic__navigation",
progressTop: "sv-paneldynamic__progress sv-paneldynamic__progress--top",
progressBottom: "sv-paneldynamic__progress sv-paneldynamic__progress--bottom",
title: "sv-title sv-question__title",
button: "button",
buttonAdd: "button sv-paneldynamic__add-btn",
buttonRemove: "sv_p_remove_btn",
buttonRemoveRight: "button sv-paneldynamic__remove-btn--right",
buttonPrev: "sv-paneldynamic__prev-btn",
buttonNext: "sv-paneldynamic__next-btn",
buttonPrevDisabled: "sv-paneldynamic__prev-btn--disabled",
buttonNextDisabled: "sv-paneldynamic__next-btn--disabled",
progressContainer: "sv-paneldynamic__progress-container",
progress: "sv-progress",
progressBar: "sv-progress__bar",
progressText: "sv-paneldynamic__progress-text",
panelWrapper: "sv_p_wrapper",
panelWrapperInRow: "sv_p_wrapper_in_row",
footer: "",
progressBtnIcon: "icon-progressbutton"
},
multipletext: {
root: "sv_q_mt table",
itemTitle: "sv_q_mt_title",
item: "sv_q_mt_item",
itemLabel: "sv_q_mt_label",
row: "form-group bmd-form-group",
itemValue: "sv_q_mt_item_value form-control",
},
radiogroup: {
root: "sv_qcbc form-inline",
item: "radio",
itemChecked: "checked",
itemInline: "sv_q_radiogroup_inline",
label: "",
labelChecked: "",
itemControl: "",
itemDecorator: "sv-hidden",
controlLabel: "",
materialDecorator: "circle",
other: "sv_q_radiogroup_other form-control",
clearButton: "sv_q_radiogroup_clear button",
column: "sv_q_select_column",
},
buttongroup: {
root: "sv-button-group",
item: "sv-button-group__item",
itemIcon: "sv-button-group__item-icon",
itemDecorator: "sv-button-group__item-decorator",
itemCaption: "sv-button-group__item-caption",
itemHover: "sv-button-group__item--hover",
itemSelected: "sv-button-group__item--selected",
itemDisabled: "sv-button-group__item--disabled",
itemControl: "sv-visuallyhidden",
},
imagepicker: {
root: "sv_imgsel",
item: "sv_q_imgsel",
itemChecked: "checked",
itemInline: "sv_q_imagepicker_inline",
label: "sv_q_imgsel_label",
itemControl: "sv_q_imgsel_control_item",
image: "sv_q_imgsel_image",
itemText: "sv_q_imgsel_text",
clearButton: "sv_q_radiogroup_clear",
},
rating: {
root: "btn-group",
item: "btn btn-default btn-secondary",
selected: "active",
minText: "sv_q_rating_min_text",
itemText: "sv_q_rating_item_text",
maxText: "sv_q_rating_max_text",
disabled: "",
},
text: "form-control",
expression: "form-control",
file: {
root: "sv_q_file",
placeholderInput: "sv_q_file_placeholder",
preview: "sv_q_file_preview",
removeButton: "sv_q_file_remove_button",
fileInput: "sv_q_file_input",
removeFile: "sv_q_file_remove",
fileDecorator: "sv-hidden",
fileSign: "sv_q_file_sign",
removeButtonBottom: "sv-hidden",
dragAreaPlaceholder: "sv-hidden",
fileList: "",
},
signaturepad: {
root: "sv_q_signaturepad sjs_sp_container",
controls: "sjs_sp_controls",
placeholder: "sjs_sp_placeholder",
canvas: "sjs_sp_canvas",
backgroundImage: "sjs_sp__background-image",
clearButton: "sjs_sp_clear",
},
saveData: {
root: "",
info: "alert alert-info",
error: "alert alert-danger",
success: "alert alert-success",
button: "",
},
window: {
root: "modal-content",
body: "modal-body",
header: {
root: "modal-header panel-title",
title: "pull-left",
button: "glyphicon pull-right",
buttonExpanded: "glyphicon pull-right glyphicon-chevron-up",
buttonCollapsed: "glyphicon pull-right glyphicon-chevron-down",
},
},
};
/***/ }),
/***/ "./src/plugins/themes/bootstrap/theme-settings.ts":
/*!********************************************************!*\
!*** ./src/plugins/themes/bootstrap/theme-settings.ts ***!
\********************************************************/
/*! exports provided: bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapThemeName", function() { return bootstrapThemeName; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapThemeColors", function() { return bootstrapThemeColors; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapThemeCssRules", function() { return bootstrapThemeCssRules; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _common_theme_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common-theme-settings */ "./src/plugins/themes/common-theme-settings.ts");
/* harmony import */ var _cssbootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssbootstrap */ "./src/plugins/themes/bootstrap/cssbootstrap.ts");
var bootstrapThemeName = "bootstrap";
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyCss"][bootstrapThemeName] = _cssbootstrap__WEBPACK_IMPORTED_MODULE_2__["defaultCss"];
var bootstrapThemeColors = {
"$main-color": "#18a689",
"$text-color": "#404040;",
"$text-input-color": "#404040;",
"$progress-text-color": "#9d9d9d",
"$disable-color": "#dbdbdb",
"$header-background-color": "#e7e7e7",
"$disabled-label-color": "rgba(64, 64, 64, 0.5)",
"$slider-color": "white",
"$disabled-switch-color": "#9f9f9f",
"$disabled-slider-color": "#cfcfcf",
"$foreground-light": "#909090",
"$foreground-disabled": "#161616",
"$background-dim": "#f3f3f3",
"$progress-buttons-color": "#8dd6c7",
"$progress-buttons-line-color": "#d4d4d4",
};
var bootstrapThemeCssRules = {
".sv_main .sv_q_imgsel.checked label>div": "background-color: $main-color",
".sv_main .sv_p_description": "padding-left: 1.66em;",
".sv_main .sv_qstn_error_bottom": "margin-top: 20px; margin-bottom: 0;",
".sv_main .progress": "width: 60%;",
".sv_main .progress-bar": "width: auto; margin-left: 2px; margin-right: 2px;",
".sv_main .table>tbody>tr>td": "min-width: 90px;",
".sv_main f-panel .sv_qstn": "padding: 0; vertical-align: middle;",
".sv_main .sv_q_image": "display: inline-block;",
".sv_main .sv_row .sv_qstn:first-child:last-child": "flex: none !important;",
".sv_main .sv_row .sv_p_container:first-child:last-child": "flex: none !important;",
//progress bar
".sv_main .sv-progress": "background-color: $header-background-color;",
".sv_main .sv-progress__bar": "background-color: $main-color;",
//progress buttons
".sv_main .sv_progress-buttons__list li:before": "border-color: $progress-buttons-color; background-color: $progress-buttons-color;",
".sv_main .sv_progress-buttons__list li:after": "background-color: $progress-buttons-line-color;",
".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-title": "color: $text-color;",
".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-description": "color: $text-color;",
".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before": "border-color: $main-color; background-color: $main-color;",
".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after": "background-color: $progress-buttons-color",
".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before": "border-color: $main-color; background-color: white;",
".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before": "border-color: $main-color; background-color: white;",
//paneldynamic
".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled": "fill: $disable-color;",
".sv_main .sv-paneldynamic__progress-text": "color: $progress-text-color;",
".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn": "fill: $text-color",
//boolean
".sv_main .sv-boolean__switch": "background-color: $main-color;",
".sv_main .sv-boolean__slider": "background-color: $slider-color;",
".sv_main .sv-boolean__label--disabled": "color: $disabled-label-color;",
".sv_main .sv-boolean--disabled .sv-boolean__switch": "background-color: $disabled-switch-color;",
".sv_main .sv-boolean--disabled .sv-boolean__slider": "background-color: $disabled-slider-color;",
//eo boolean
//signature pad
".sv_main .sjs_sp_container": "border: 1px dashed $disable-color;",
".sv_main .sjs_sp_placeholder": "color: $foreground-light;",
".sv_main .sv_matrix_detail_row": "background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",
".sv_main .sv-action-bar-item": "color: $text-color;",
".sv_main .sv-action-bar-item__icon use": "fill: $foreground-light;",
".sv_main .sv-action-bar-item:hover": "background-color: $background-dim;",
".sv-skeleton-element": "background-color: $background-dim;",
};
Object(_common_theme_settings__WEBPACK_IMPORTED_MODULE_1__["setStyles"])();
Object(_common_theme_settings__WEBPACK_IMPORTED_MODULE_1__["setMediaStyles"])();
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].ThemeColors[bootstrapThemeName] = bootstrapThemeColors;
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].ThemeCss[bootstrapThemeName] = bootstrapThemeCssRules;
/***/ }),
/***/ "./src/plugins/themes/bootstrapmaterial/cssbootstrapmaterial.ts":
/*!**********************************************************************!*\
!*** ./src/plugins/themes/bootstrapmaterial/cssbootstrapmaterial.ts ***!
\**********************************************************************/
/*! exports provided: defaultCss */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultCss", function() { return defaultCss; });
var defaultCss = {
root: "sv_main sv_bootstrapmaterial_css",
container: "sv_container",
header: "card-heading",
body: "card-body",
bodyEmpty: "card-body sv_body_empty",
footer: "card-footer",
title: "",
description: "",
logo: "sv_logo",
logoImage: "sv_logo__image",
headerText: "sv_header__text",
navigationButton: "btn-primary sv_nav_btn",
completedPage: "",
navigation: {
complete: "sv_complete_btn",
prev: "sv_prev_btn",
next: "sv_next_btn",
start: "sv_start_btn",
preview: "sv_preview_btn",
edit: "sv_edit_btn",
},
progress: "progress center-block mx-auto mb-4",
progressBar: "progress-bar",
progressTextUnderBar: "sv-hidden",
progressTextInBar: "sv-hidden",
progressButtonsContainerCenter: "sv_progress-buttons__container-center",
progressButtonsContainer: "sv_progress-buttons__container",
progressButtonsImageButtonLeft: "sv_progress-buttons__image-button-left",
progressButtonsImageButtonRight: "sv_progress-buttons__image-button-right",
progressButtonsImageButtonHidden: "sv_progress-buttons__image-button--hidden",
progressButtonsListContainer: "sv_progress-buttons__list-container",
progressButtonsList: "sv_progress-buttons__list",
progressButtonsListElementPassed: "sv_progress-buttons__list-element--passed",
progressButtonsListElementCurrent: "sv_progress-buttons__list-element--current",
progressButtonsListElementNonClickable: "sv_progress-buttons__list-element--nonclickable",
progressButtonsPageTitle: "sv_progress-buttons__page-title",
progressButtonsPageDescription: "sv_progress-buttons__page-description",
page: {
root: "",
title: "",
description: "small",
},
pageTitle: "",
pageDescription: "small",
row: "sv_row",
question: {
mainRoot: "sv_qstn form-group bmd-form-group",
flowRoot: "sv_q_flow form-group bmd-form-group",
header: "",
headerLeft: "title-left",
content: "",
contentLeft: "content-left",
titleLeftRoot: "sv_qstn_left",
requiredText: "sv_q_required_text",
title: "",
titleExpandable: "sv_q_title_expandable",
titleExpanded: "sv_q_title_expanded",
titleCollapsed: "sv_q_title_collapsed",
number: "sv_q_num",
description: "small",
descriptionUnderInput: "small",
comment: "form-control",
required: "",
titleRequired: "",
hasError: "has-error",
indent: 20,
formGroup: "form-group bmd-form-group",
disabled: "sv_q--disabled",
},
panel: {
title: "sv_p_title",
titleExpandable: "sv_p_title_expandable",
titleExpanded: "sv_p_title_expanded",
titleCollapsed: "sv_p_title_collapsed",
titleOnError: "",
icon: "sv_panel_icon",
iconExpanded: "sv_expanded",
description: "small sv_p_description",
container: "sv_p_container",
footer: "sv_p_footer",
number: "sv_q_num",
requiredText: "sv_q_required_text",
},
error: {
root: "alert alert-danger",
icon: "glyphicon glyphicon-exclamation-sign",
item: "",
locationTop: "sv_qstn_error_top",
locationBottom: "sv_qstn_error_bottom",
},
boolean: {
root: "sv_qbln checkbox",
rootRadio: "sv_qbln form-inline checkbox",
item: "sv-boolean",
control: "sv-visuallyhidden",
controlCheckbox: "sv-visuallyhidden",
itemChecked: "sv-boolean--checked checked",
itemIndeterminate: "sv-boolean--indeterminate",
itemDisabled: "sv-boolean--disabled",
switch: "sv-boolean__switch",
slider: "sv-boolean__slider",
label: "sv-boolean__label ",
disabledLabel: "sv-boolean__label--disabled",
sliderGhost: "sv-boolean__thumb-ghost",
materialDecorator: "sv-item__decorator sv-boolean__decorator",
itemDecorator: "sv-item__svg sv-boolean__svg",
checkedPath: "sv-boolean__checked-path",
uncheckedPath: "sv-boolean__unchecked-path",
indeterminatePath: "sv-boolean__indeterminate-path",
},
checkbox: {
root: "sv_qcbx",
item: "checkbox",
itemChecked: "checked",
itemSelectAll: "sv_q_checkbox_selectall",
itemNone: "sv_q_checkbox_none",
itemInline: "sv_q_checkbox_inline",
itemDecorator: "sv-hidden",
itemControl: "",
label: "",
labelChecked: "",
controlLabel: "",
materialDecorator: "checkbox-decorator",
other: "sv_q_checkbox_other form-control",
column: "sv_q_select_column",
},
ranking: {
root: "sv-ranking",
rootMobileMod: "sv-ranking--mobile",
rootDragMod: "sv-ranking--drag",
rootDisabled: "sv-ranking--disabled",
rootDragHandleAreaIcon: "sv-ranking--drag-handle-area-icon",
rootSelectToRankMod: "sv-ranking--select-to-rank",
rootSelectToRankAlignVertical: "sv-ranking--select-to-rank-vertical",
rootSelectToRankAlignHorizontal: "sv-ranking--select-to-rank-horizontal",
item: "sv-ranking-item",
itemContent: "sv-ranking-item__content",
itemIndex: "sv-ranking-item__index",
itemIndexEmptyMode: "sv-ranking-item__index--empty",
// itemText: "sv-ranking-item__text",
controlLabel: "sv-ranking-item__text",
itemGhostNode: "sv-ranking-item__ghost",
itemIconContainer: "sv-ranking-item__icon-container",
itemIcon: "sv-ranking-item__icon",
itemIconHoverMod: "sv-ranking-item__icon--hover",
itemIconFocusMod: "sv-ranking-item__icon--focus",
itemGhostMod: "sv-ranking-item--ghost",
itemDragMod: "sv-ranking-item--drag",
container: "sv-ranking__container",
containerEmptyMode: "sv-ranking__container--empty",
containerFromMode: "sv-ranking__container--from",
containerToMode: "sv-ranking__container--to",
containerPlaceholder: "sv-ranking__container-placeholder",
containersDivider: "sv-ranking__containers-divider",
},
comment: "form-control",
dropdown: {
root: "sv_q_dd_root",
popup: "sv-dropdown-popup",
selectWrapper: "sv_q_dd_select_wrapper",
control: "form-control sv_q_dd_control",
controlValue: "sv_q_dd_value",
other: "sv_q_dd_other form-control",
cleanButton: "sv_q_dd_clean-button",
cleanButtonSvg: "sv_q_dd_clean-button-svg",
cleanButtonIconId: "icon-clear_16x16",
filterStringInput: "sv_q_dd_filter-string-input",
},
tagbox: {
root: "sv_q_dd_root",
popup: "sv-dropdown-popup",
selectWrapper: "sv_q_dd_select_wrapper",
control: "form-control sv_q_dd_control",
controlValue: "sv_q_dd_value",
other: "sv_q_dd_other form-control",
cleanButton: "sv_q_dd_clean-button",
cleanButtonSvg: "sv_q_dd_clean-button-svg",
cleanButtonIconId: "icon-clear_16x16",
filterStringInput: "sv_q_dd_filter-string-input",
},
html: { root: "" },
image: { root: "sv_q_image", image: "sv_image_image" },
matrix: {
root: "table sv_q_matrix",
row: "form-group bmd-form-group",
label: "sv_q_m_label radio-inline",
cellText: "sv_q_m_cell_text",
cellTextSelected: "sv_q_m_cell_selected bg-primary",
cellLabel: "sv_q_m_cell_label",
itemValue: "form-control",
itemChecked: "checked",
itemDecorator: "sv-hidden",
materialDecorator: "bmd-radio",
cellResponsiveTitle: "sv-hidden"
},
matrixdropdown: {
root: "table",
itemValue: "form-group bmd-form-group",
headerCell: "sv_matrix_cell_header",
row: "sv_matrix_row",
rowAdditional: "sv-matrix__row--additional",
detailRow: "sv_matrix_detail_row",
detailRowText: "sv_matrix_cell_detail_rowtext",
detailCell: "sv_matrix_cell_detail",
detailButton: "sv_matrix_cell_detail_button",
detailButtonExpanded: "sv_matrix_cell_detail_button_expanded",
detailIcon: "sv_detail_panel_icon",
detailIconExpanded: "sv_detail_expanded",
detailPanelCell: "sv_matrix_cell_detail_panel",
actionsCell: "sv_matrix_cell sv_matrix_cell_actions",
},
matrixdynamic: {
mainRoot: "sv_qstn",
flowRoot: "sv_q_flow",
root: "table",
button: "btn btn-primary",
itemValue: "form-group bmd-form-group",
buttonAdd: "",
buttonRemove: "",
iconAdd: "",
iconRemove: "",
iconDrag: "sv-matrixdynamic__drag-icon",
headerCell: "sv_matrix_cell_header",
row: "sv_matrix_row",
detailRow: "sv_matrix_detail_row",
detailCell: "sv_matrix_cell_detail",
detailButton: "sv_matrix_cell_detail_button",
detailButtonExpanded: "sv_matrix_cell_detail_button_expanded",
detailIcon: "sv_detail_panel_icon",
detailIconExpanded: "sv_detail_expanded",
detailPanelCell: "sv_matrix_cell_detail_panel",
actionsCell: "sv_matrix_cell sv_matrix_cell_actions",
emptyRowsSection: "sv_matrix_empty_rows_section",
emptyRowsText: "sv_matrix_empty_rows_text",
emptyRowsButton: "",
ghostRow: "sv-matrix-row--drag-drop-ghost-mod"
},
paneldynamic: {
root: "",
navigation: "sv-paneldynamic__navigation",
progressTop: "sv-paneldynamic__progress sv-paneldynamic__progress--top",
progressBottom: "sv-paneldynamic__progress sv-paneldynamic__progress--bottom",
title: "sv-title sv-question__title",
button: "button",
buttonAdd: "button sv-paneldynamic__add-btn btn btn-primary",
buttonRemove: "button sv-paneldynamic__remove-btn btn btn-primary",
buttonRemoveRight: "sv-paneldynamic__remove-btn--right",
buttonPrev: "sv-paneldynamic__prev-btn",
buttonNext: "sv-paneldynamic__next-btn",
buttonPrevDisabled: "sv-paneldynamic__prev-btn--disabled",
buttonNextDisabled: "sv-paneldynamic__next-btn--disabled",
progressContainer: "sv-paneldynamic__progress-container",
progress: "sv-progress",
progressBar: "sv-progress__bar",
progressText: "sv-paneldynamic__progress-text",
panelWrapper: "sv_p_wrapper",
panelWrapperInRow: "sv_p_wrapper_in_row",
progressBtnIcon: "icon-progressbutton",
footer: ""
},
multipletext: {
root: "sv_q_mt table",
itemTitle: "sv_q_mt_title",
item: "sv_q_mt_item",
itemLabel: "sv_q_mt_label",
row: "form-group bmd-form-group",
itemValue: "sv_q_mt_item_value form-control",
},
radiogroup: {
root: "",
item: "radio",
itemChecked: "checked",
itemInline: "sv_q_radiogroup_inline",
itemDecorator: "sv-hidden",
label: "",
labelChecked: "",
itemControl: "",
controlLabel: "sv_q_radiogroup_control_label",
materialDecorator: "bmd-radio",
other: "sv_q_radiogroup_other form-control",
clearButton: "sv_q_radiogroup_clear button btn btn-primary",
column: "sv_q_select_column",
},
buttongroup: {
root: "sv-button-group",
item: "sv-button-group__item",
itemIcon: "sv-button-group__item-icon",
itemDecorator: "sv-button-group__item-decorator",
itemCaption: "sv-button-group__item-caption",
itemSelected: "sv-button-group__item--selected",
itemHover: "sv-button-group__item--hover",
itemDisabled: "sv-button-group__item--disabled",
itemControl: "sv-visuallyhidden",
},
imagepicker: {
root: "sv_imgsel",
item: "sv_q_imgsel",
itemChecked: "checked",
itemInline: "sv_q_imagepicker_inline",
label: "sv_q_imgsel_label",
itemControl: "sv_q_imgsel_control_item",
image: "sv_q_imgsel_image",
itemText: "sv_q_imgsel_text",
clearButton: "sv_q_radiogroup_clear",
},
rating: {
root: "btn-group",
item: "btn btn-default btn-secondary",
selected: "active",
minText: "sv_q_rating_min_text",
itemText: "sv_q_rating_item_text",
maxText: "sv_q_rating_max_text",
disabled: "",
},
text: "form-control",
expression: "form-control",
file: {
root: "form-group bmd-form-group is-fileinput sv_q_file",
placeholderInput: "",
preview: "sv_q_file_preview",
removeButton: "sv_q_file_remove_button",
fileInput: "sv_q_file_input",
fileSign: "sv_q_file_sign",
removeFile: "sv_q_file_remove",
fileDecorator: "sv-hidden",
removeButtonBottom: "sv-hidden",
dragAreaPlaceholder: "sv-hidden",
fileList: "",
},
signaturepad: {
root: "sv_q_signaturepad sjs_sp_container",
controls: "sjs_sp_controls",
placeholder: "sjs_sp_placeholder",
canvas: "sjs_sp_canvas",
backgroundImage: "sjs_sp__background-image",
clearButton: "sjs_sp_clear",
},
saveData: {
root: "",
info: "alert alert-info",
error: "alert alert-danger",
success: "alert alert-success",
button: "",
},
window: {
root: "modal-content",
body: "modal-body",
header: {
root: "modal-header card-title",
title: "pull-left",
button: "glyphicon pull-right",
buttonExpanded: "glyphicon pull-right glyphicon-chevron-up",
buttonCollapsed: "glyphicon pull-right glyphicon-chevron-down",
},
},
};
/***/ }),
/***/ "./src/plugins/themes/bootstrapmaterial/theme-settings.ts":
/*!****************************************************************!*\
!*** ./src/plugins/themes/bootstrapmaterial/theme-settings.ts ***!
\****************************************************************/
/*! exports provided: bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapMaterialThemeName", function() { return bootstrapMaterialThemeName; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapMaterialThemeColors", function() { return bootstrapMaterialThemeColors; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bootstrapMaterialThemeCssRules", function() { return bootstrapMaterialThemeCssRules; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
/* harmony import */ var _common_theme_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common-theme-settings */ "./src/plugins/themes/common-theme-settings.ts");
/* harmony import */ var _cssbootstrapmaterial__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssbootstrapmaterial */ "./src/plugins/themes/bootstrapmaterial/cssbootstrapmaterial.ts");
var bootstrapMaterialThemeName = "bootstrapmaterial";
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyCss"][bootstrapMaterialThemeName] = _cssbootstrapmaterial__WEBPACK_IMPORTED_MODULE_2__["defaultCss"];
var bootstrapMaterialThemeColors = {
"$main-color": "#18a689",
"$text-color": "#404040;",
"$text-input-color": "#404040;",
"$progress-text-color": "#9d9d9d",
"$disable-color": "#dbdbdb",
"$header-background-color": "#e7e7e7",
"$disabled-label-color": "rgba(64, 64, 64, 0.5)",
"$slider-color": "white",
"$disabled-switch-color": "#9f9f9f",
"$disabled-slider-color": "#cfcfcf",
"$body-background-color": "#ffffff",
"$foreground-light": "#909090",
"$foreground-disabled": "#161616",
"$background-dim": "#f3f3f3",
"$progress-buttons-color": "#8dd6c7",
"$progress-buttons-line-color": "#d4d4d4",
};
var bootstrapMaterialThemeCssRules = {
".sv_main.sv_bootstrapmaterial_css .form-group.is-focused .form-control": "linear-gradient(0deg, $main-color 2px, $main-color 0),linear-gradient(0deg, #D2D2D2 1px, transparent 0);",
".sv_main.sv_bootstrapmaterial_css .sv_qstn": "margin-bottom: 1rem;",
".sv_main.sv_bootstrapmaterial_css .sv_qstn label.sv_q_m_label": "height: 100%;",
".sv_main.sv_bootstrapmaterial_css .sv_q_image": "display: inline-block;",
".sv_main .sv_row .sv_qstn:first-child:last-child": "flex: none !important;",
".sv_main .sv_row .sv_p_container:first-child:last-child": "flex: none !important;",
".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check": "border-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check": "border-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check:before": "color: $main-color;",
".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check:before": "color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .circle": "border-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .circle": "border-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .check": "background-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .check": "background-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .btn-default.active": "background-color: $main-color; color: $body-background-color;",
".sv_main.sv_bootstrapmaterial_css .btn-default:active": "background-color: $main-color; color: $body-background-color;",
".sv_main.sv_bootstrapmaterial_css .btn-secondary.active": "background-color: $main-color; color: $body-background-color;",
".sv_main.sv_bootstrapmaterial_css .btn-secondary:active": "background-color: $main-color; color: $body-background-color;",
".sv_main.sv_bootstrapmaterial_css .open>.dropdown-toggle.btn-default": "background-color: $main-color; color: $body-background-color;",
".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary, .sv_main.sv_bootstrapmaterial_css button.btn-primary": "color: $body-background-color; background-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary:hover, .sv_main.sv_bootstrapmaterial_css button.btn-primary:hover": "background-color: $main-hover-color;",
".sv_main .sv_q_imgsel.checked label>div": "background-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .sv_q_file_remove:hover": "color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .form-group input[type=file]": "position: relative; opacity: 1;",
".sv_main.sv_bootstrapmaterial_css .progress": "width: 60%; height: 1.5em;",
".sv_main.sv_bootstrapmaterial_css .progress-bar": "width: auto; margin-left: 2px; margin-right: 2px;",
//progress bar
".sv_main .sv-progress": "background-color: $header-background-color;",
".sv_main .sv-progress__bar": "background-color: $main-color;",
//progress buttons
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:before": "border-color: $progress-buttons-color; background-color: $progress-buttons-color;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:after": "background-color: $progress-buttons-line-color;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-title": "color: $text-color;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-description": "color: $text-color;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before": "border-color: $main-color; background-color: $main-color;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after": "background-color: $progress-buttons-color",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before": "border-color: $main-color; background-color: white;",
".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before": "border-color: $main-color; background-color: white;",
//paneldynamic
".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled": "fill: $disable-color;",
".sv_main .sv-paneldynamic__progress-text": "color: $progress-text-color;",
".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn": "fill: $text-color",
//boolean
".sv_main .sv-boolean .checkbox-decorator": "display: none;",
".sv_main .sv-boolean__switch": "background-color: $main-color;",
".sv_main .sv-boolean__slider": "background-color: $slider-color;",
".sv_main .sv-boolean__label.sv-boolean__label--disabled": "color: $disabled-label-color;",
".sv_main .sv-boolean__label": "color: $text-color;",
".sv_main .sv-boolean--disabled .sv-boolean__switch": "background-color: $disabled-switch-color;",
".sv_main .sv-boolean--disabled .sv-boolean__slider": "background-color: $disabled-slider-color;",
//eo boolean
".sv_main .sv_matrix_detail_row": "background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",
//signature pad
".sv_main .sjs_sp_container": "border: 1px dashed $disable-color;",
".sv_main .sjs_sp_placeholder": "color: $foreground-light;",
".sv_main .sv-action-bar-item": "color: $text-color;",
".sv_main .sv-action-bar-item__icon use": "fill: $foreground-light;",
".sv_main .sv-action-bar-item:hover": "background-color: $background-dim;",
".sv-skeleton-element": "background-color: $background-dim;",
};
Object(_common_theme_settings__WEBPACK_IMPORTED_MODULE_1__["setStyles"])();
Object(_common_theme_settings__WEBPACK_IMPORTED_MODULE_1__["setMediaStyles"])();
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].ThemeColors[bootstrapMaterialThemeName] = bootstrapMaterialThemeColors;
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].ThemeCss[bootstrapMaterialThemeName] = bootstrapMaterialThemeCssRules;
/***/ }),
/***/ "./src/plugins/themes/common-theme-settings.ts":
/*!*****************************************************!*\
!*** ./src/plugins/themes/common-theme-settings.ts ***!
\*****************************************************/
/*! exports provided: setMediaStyles, setStyles */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setMediaStyles", function() { return setMediaStyles; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setStyles", function() { return setStyles; });
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
function setMediaStyles() {
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].Media = {
".sv_qstn fieldset .sv-q-col-1": {
style: "width: 100%;",
media: "@media only screen and (max-width: 480px)",
},
".sv_qstn fieldset .sv-q-col-2": {
style: "width: 100%;",
media: "@media only screen and (max-width: 480px)",
},
".sv_qstn fieldset .sv-q-col-3": {
style: "width: 100%;",
media: "@media only screen and (max-width: 480px)",
},
".sv_qstn fieldset .sv-q-col-4": {
style: "width: 100%;",
media: "@media only screen and (max-width: 480px)",
},
".sv_qstn fieldset .sv-q-col-5": {
style: "width: 100%;",
media: "@media only screen and (max-width: 480px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn": {
style: "display: block; width: 100% !important;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .title-left": {
style: "float: none;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_radiogroup_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_checkbox_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_imagepicker_inline": {
style: "display: block;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table": {
style: "display: block;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table thead": {
style: "display: none;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tbody, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tr, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table td": {
style: "display: block;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table:not(.sv_q_matrix) td:before": {
style: "content: attr(data-responsive-title);",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.sv_q_matrix td:after": {
style: "content: attr(data-responsive-title); padding-left: 1em",
media: "@media (max-width: 600px)",
},
".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .radio label, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .checkbox label": {
style: "line-height: 12px; vertical-align: top;",
media: "@media (max-width: 600px)",
},
".sv_qstn label.sv_q_m_label": {
style: "display: inline;",
media: "@media (max-width: 600px)",
},
".sv_main .sv_custom_header": {
style: "display: none;",
media: "@media (max-width: 1300px)",
},
".sv_main .sv_container .sv_header h3": {
style: "font-size: 1.5em;",
media: "@media (max-width: 1300px)",
},
".sv_main .sv_container .sv_header h3 span": {
style: "font-size: 0.75em;",
media: "@media (max-width: 700px)",
},
".sv_main.sv_bootstrap_css .sv-progress__text": {
style: "margin-left: 8em;",
media: "@media (min-width: 768px)",
},
".sv_row": {
style: " display: flex; flex-wrap: wrap;",
media: "@supports (display: flex)",
},
".sv-row > .sv-row__panel, .sv-row__question:not(:last-child)": {
style: "float: left;",
media: "@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)",
},
"[dir='rtl'],[style*='direction:rtl'] .sv-row__question:not(:last-child)": {
style: "float: right;",
media: "@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)",
},
".sv-row > .sv-row__panel, .sv-row__question": {
style: "width: 100% !important; padding-right: 0 !important;",
media: "@media only screen and (max-width: 600px)",
},
};
}
function setStyles() {
survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].Styles = {
// ".sv_bootstrap_css": "position: relative; width: 100%; background-color: #f4f4f4",
// ".sv_bootstrap_css .sv_custom_header": "position: absolute; width: 100%; height: 275px; background-color: #e7e7e7;",
// ".sv_bootstrap_css .sv_container": "max-width: 80%; margin: auto; position: relative; color: #6d7072; padding: 0 1em;",
// ".sv_bootstrap_css .panel-body": "background-color: white; padding: 1em 1em 5em 1em; border-top: 2px solid lightgray;",
".sv_main span": "word-break: break-word;",
".sv_main legend": "border: none; margin: 0;",
".sv_bootstrap_css .sv_qstn": "padding: 0.5em var(--sv-element-add-padding-right, 1em) 1.5em var(--sv-element-add-padding-left, 1em);",
".sv_bootstrap_css .sv_qcbc input[type=checkbox], .sv_bootstrap_css .sv_qcbc input[type=radio]": "vertical-align: middle; margin-top: -1px",
".sv_bootstrap_css .sv_qstn fieldset": "display: block;",
".sv_bootstrap_css .sv_qstn .sv_q_checkbox_inline, .sv_bootstrap_css .sv_qstn .sv_q_radiogroup_inline": "display: inline-block;",
".sv_bootstrap_css .sv-paneldynamic__progress-container ": "position: relative; margin-right: 250px; margin-left: 40px; margin-top: 10px;",
".sv_main.sv_bootstrapmaterial_css .sv_q_radiogroup_control_label": "display: inline; position: static;",
".sv_main.sv_bootstrapmaterial_css .checkbox": "margin-top:10px;margin-bottom:10px;",
".sv_row": "clear: both; min-width:300px;",
".sv_row .sv_qstn": "float: left",
".sv_row .sv_qstn:last-child": "float: none",
".sv_qstn": "display: vertical-align: top; overflow: auto; min-width:300px;",
".sv_p_container": "display: vertical-align: top; min-width:300px;",
".sv_q_title .sv_question_icon": "float: right; margin-right: 1em;",
".sv_q_title .sv_question_icon::before": "content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",
".sv_q_title .sv_question_icon.sv_expanded::before": "transform: rotate(180deg);",
".sv_qbln .checkbox-material": "margin-right: 3px;",
".sv_qcbx .checkbox-material": "margin-right: 5px;",
".sv_qcbx .checkbox label": "justify-content: left; display: inline-block;",
".sv_qstn .radio label": "justify-content: left; display: inline-block;",
".sv_qstn .sv_q_imgsel > label img": "pointer-events: none;",
".sv_qstn .sv_q_imgsel.sv_q_imagepicker_inline": "display: inline-block;",
".sv_qstn label.sv_q_m_label": "position: absolute; margin: 0; display: block; width: 100%;",
".sv_qstn td": "position: relative;",
".sv_q_mt": "table-layout: fixed;",
".sv_q_mt_label": "display: flex; align-items: center; font-weight: inherit;",
".sv_q_mt_title": "margin-right: 0.5em; width: 33%;",
".sv_q_mt_item": "flex: 1;",
".sv_q_mt_item_value": "float: left;",
'[dir="rtl"] .sv_q_mt_item_value': "float: right;",
".sv_qstn.sv_qstn_left": "margin-top: 0.75em;",
".sv_qstn .title-left": "float: left; margin-right: 1em; max-width: 50%",
'[dir="rtl"] .sv_qstn .title-left': "float: right; margin-left: 1em;",
".sv_qstn .content-left": "overflow: hidden",
".sv_q_radiogroup_inline .sv_q_radiogroup_other": "display: inline-block;",
".sv_q_checkbox_inline .sv_q_checkbox_other": "display: inline-block;",
".sv_q_checkbox_inline, .sv_q_radiogroup_inline, .sv_q_imagepicker_inline": "line-height: 2.5em;",
".form-inline .sv_q_checkbox_inline:not(:last-child)": "margin-right: 1em;",
".form-inline .sv_q_radiogroup_inline:not(:last-child)": "margin-right: 1em;",
".sv_imgsel .sv_q_imagepicker_inline:not(:last-child)": "margin-right: 1em;",
".sv_qstn fieldset": "border: none; margin: 0; padding: 0;",
".sv_qstn .sv_q_file_placeholder": "display:none",
".sv_p_title": "padding-left: 1em; padding-bottom: 0.3em;",
".sv_p_title_expandable, .sv_q_title_expandable": "cursor: pointer; position: relative; display: flex; align-items: center; padding-right: 24px;",
".sv_p_title_expandable::after, .sv_q_title_expandable::after": "content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 24px; height: 24px; position: absolute; right: 0;",
".sv_p_title_expanded::after, .sv_q_title_expanded::after": "transform: rotate(180deg);",
".sv_p_title .sv_panel_icon": "float: right; margin-right: 1em;",
".sv_p_title .sv_panel_icon::before": "content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",
".sv_p_title .sv_panel_icon.sv_expanded::before": "transform: rotate(180deg);",
".sv_p_footer": "padding-left: 1em; padding-bottom: 1em;padding-top: 1em;",
".sv_matrix_cell_detail_button": "position: relative",
".sv_detail_panel_icon": "display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px;",
".sv_detail_panel_icon::before": "content: ''; background-repeat: no-repeat; background-position: center; width: 14px; height: 14px; display: block; transform: rotate(270deg); background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 15 15' style='enable-background:new 0 0 15 15;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='14,5.5 12.6,4.1 7.5,9.1 2.4,4.1 1,5.5 7.5,12 '/%3E%3C/svg%3E%0A\");",
".sv_detail_panel_icon.sv_detail_expanded::before": "transform: rotate(0deg)",
".sv_matrix_empty_rows_section": "text-align: center; vertical-align: middle;",
".sv_matrix_empty_rows_text": "padding:20px",
".sv_q_file > input[type=file], .sv_q_file > button": "display: inline-block;",
".sv_q_file_preview": "display: inline-block; vertical-align: top; border: 1px solid lightgray; padding: 5px; margin-top: 10px;",
".sv_q_file_preview > a": "display: block; overflow: hidden; vertical-align: top; white-space: nowrap; text-overflow: ellipsis;",
".sv_q_file_remove_button": "line-height: normal;",
".sv_q_file_remove": "display: block; cursor: pointer;",
".sv_q_m_cell_text": "cursor: pointer;",
".sv_q_dd_other": "margin-top: 1em;",
".sv_q_dd_other input": "width: 100%;",
".sv_q_dd_clean-button": "margin: 0.15em 3em;",
".sv_q_dd_clean-button-svg": "width: 1em; height: 1em;",
".sv_q_dd_control": "display: flex; justify-content: space-between; appearance: none;",
".sv_q_dd_value": "width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative;",
".sv_q_dd_hint-prefix span": "white-space: pre;",
".sv_q_dd_hint-suffix": "display: flex;",
".sv_q_dd_root": "position: relative;",
".sv_q_dd_select_wrapper": "position: relative;",
".sv_q_dd_select_wrapper::after": "content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 34px; height: 100%; position: absolute; inset-inline-end: 0; top: 0;",
".sv_q_dd_filter-string-input": "outline: none; border: none; background-color: transparent; position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 100%; max-width: 100%; padding: 0;",
".sv_q_dropdown_clean-button": "margin: auto 2em;",
".sv_q_tagbox__placeholder": "position: absolute; top: 0; inset-inline-start: 1em; max-width: 100%; width: auto; height: 100%; text-align: start; cursor: text; pointer-events: none;",
".sv_qstn .sv-q-col-1, .sv-question .sv-q-col-1": "width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-col-2, .sv-question .sv-q-col-2": "width: calc(50% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-col-3, .sv-question .sv-q-col-3": "width: calc(33.33333% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-col-4, .sv-question .sv-q-col-4": "width: calc(25% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-col-5, .sv-question .sv-q-col-5": "width: calc(20% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-column-1, .sv-question .sv-q-column-1": "width: 100%; max-width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-column-2, .sv-question .sv-q-column-2": "max-width: 50%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-column-3, .sv-question .sv-q-column-3": "max-width: 33.33333%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-column-4, .sv-question .sv-q-column-4": "max-width: 25%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv-q-column-5, .sv-question .sv-q-column-5": "max-width: 20%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",
".sv_qstn .sv_q_file_input": "color: transparent;",
".sv_qstn .sv_q_imgsel label > div": "overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px; border: 1px solid lightgray; border-radius: 4px;",
".sv_qstn .sv_q_imgsel label > div > img, .sv_qstn .sv_q_imgsel label > div > embed": "display: block;",
".sv_qstn table tr td .sv_q_m_cell_label": "position: absolute; left: 0; right: 0; top: 0; bottom: 0;",
"f-panel": "padding: 0.5em 1em; display: inline-block; line-height: 2em;",
".sv_progress_bar > span": "white-space: nowrap;",
//progress buttons
".sv_progress-buttons__container-center": "text-align: center;",
".sv_progress-buttons__container": "display: inline-block; font-size: 0; width: 100%; max-width: 1100px; white-space: nowrap; overflow: hidden;",
".sv_progress-buttons__image-button-left": "display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iMTEsMTIgOSwxNCAzLDggOSwyIDExLDQgNyw4ICIvPg0KPC9zdmc+DQo=);",
".sv_progress-buttons__image-button-right": "display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iNSw0IDcsMiAxMyw4IDcsMTQgNSwxMiA5LDggIi8+DQo8L3N2Zz4NCg==);",
".sv_progress-buttons__image-button--hidden": "visibility: hidden;",
".sv_progress-buttons__list-container": "max-width: calc(100% - 36px); display: inline-block; overflow: hidden;",
".sv_progress-buttons__list": "display: inline-block; width: max-content; padding-left: 28px; padding-right: 28px; margin-top: 14px; margin-bottom: 14px;",
".sv_progress-buttons__list li": "width: 138px; font-size: 14px; font-family: var(--font-family, $font-family); position: relative; text-align: center; vertical-align: top; display: inline-block;",
".sv_progress-buttons__list li:before": "width: 24px; height: 24px; content: ''; line-height: 30px; display: block; margin: 0 auto 10px auto; border: 3px solid; border-radius: 50%; box-sizing: content-box; cursor: pointer;",
".sv_progress-buttons__list li:after": "width: 73%; height: 3px; content: ''; position: absolute; top: 15px; left: -36.5%;",
".sv_progress-buttons__list li:first-child:after": "content: none;",
".sv_progress-buttons__list .sv_progress-buttons__page-title": "width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold;",
".sv_progress-buttons__list .sv_progress-buttons__page-description": "width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",
".sv_progress-buttons__list li.sv_progress-buttons__list-element--nonclickable:before": "cursor: not-allowed;",
// ranking
".sv-ranking": "outline: none; user-select: none;",
".sv-ranking-item": "cursor: pointer; position: relative;",
".sv-ranking-item:focus .sv-ranking-item__icon--hover": "visibility: hidden;",
".sv-ranking-item:hover .sv-ranking-item__icon--hover": "visibility: visible;",
".sv-question--disabled .sv-ranking-item:hover .sv-ranking-item__icon--hover": "visibility: hidden;",
".sv-ranking-item:focus": "outline: none;",
".sv-ranking-item:focus .sv-ranking-item__icon--focus": "visibility: visible; top: 15px;",
".sv-ranking-item:focus .sv-ranking-item__index": "background: white; border: 2px solid var(--primary, #19b394);",
".sv-ranking-item__content": "display: flex; align-items: center; line-height: 1em; padding: 5px 0px; border-radius: 100px;",
".sv-ranking-item__icon-container": "left: 0;top: 0;bottom: 0;width: calc(3 * var(--base-unit, 8px)); flex-shrink: 0;",
".sv-ranking-item__icon": "visibility: hidden;top:20px; fill: var(--primary, #19b394); position: absolute;",
".sv-ranking-item__index": "display: flex; flex-shrink: 0; align-items: center; justify-content: center; background: var(--primary-light, rgba(25, 179, 148, 0.1)); color: var(--foreground); border-radius: 100%; border:2px solid transparent; width: 40px; height: 40px; line-height: 1em;",
".sv-ranking-item__text": "display: inline-block; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 calc(2 * var(--base-unit, 8px));",
".sv-ranking-item__ghost": "display: none; background-color: var(--background-dim, #f3f3f3); border-radius: 100px;width: 200px;height: 55px;z-index: 1;position: absolute;left: 25px;",
"[dir='rtl'] .sv-ranking-item__ghost": "left: initilal; right: 25px;",
".sv-ranking-item--ghost .sv-ranking-item__ghost": "display: block;",
".sv-ranking-item--ghost .sv-ranking-item__content": "visibility: hidden;",
".sv-ranking-item--drag .sv-ranking-item__content": "box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);border-radius: 100px;",
".sv-ranking--drag .sv-ranking-item:hover .sv-ranking-item__icon": "visibility: hidden;",
".sv-ranking-item--drag .sv-ranking-item__icon--hover": "visibility: visible;",
".sv-ranking--mobile .sv-ranking-item__icon--hover": "visibility:visible; fill:#9f9f9f;",
".sv-ranking--mobile.sv-ranking--drag .sv-ranking-item--ghost .sv-ranking-item__icon.sv-ranking-item__icon--hover": "visibility:hidden;",
".sv-ranking--mobile.sv-ranking-shortcut": "max-width: 80%;",
".sv-ranking--design-mode .sv-ranking-item:hover .sv-ranking-item__icon": "visibility: hidden;",
".sv-ranking--disabled": "opacity: 0.8;",
".sv-ranking-shortcut .sv-ranking-item__icon": "fill: var(--primary, #19b394); ",
".sv-ranking--drag-handle-area-icon .sv-ranking-item": "cursor: initial",
".sv-ranking--drag-handle-area-icon .sv-ranking-item__icon--hover": "cursor: pointer;",
// EO ranking
// drag drop
".sv-dragged-element-shortcut": "height: 24px; min-width: 100px; border-radius: 36px; background-color: white; padding: 16px; cursor: grabbing; position: absolute; z-index: 10000; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); font-family: var(--font-family, $font-family); font-size: 16px; padding-left: 20px;line-height: 24px;",
".sv-matrixdynamic__drag-icon": "padding-top:14px",
".sv-matrixdynamic__drag-icon:after": "content: ' '; display: block; height: 6px; width: 20px; border: 1px solid #e7e7e7; box-sizing: border-box; border-radius: 10px; cursor: move; margin-top: 12px;",
".sv-matrix-row--drag-drop-ghost-mod td": "background-color: #f3f3f3;",
".sv-matrix-row--drag-drop-ghost-mod td > *": "visibility: hidden",
//eo drag-drop
".sv_qstn .sv_q_select_column": "display: inline-block; vertical-align: top; min-width: 10%;",
".sv_qstn .sv_q_select_column > *:not(.sv_technical)": "display: block;",
".sv_main .sv_container .sv_body .sv_p_root .sv_qstn .sv_q_select_column textarea": "margin-left: 0; padding-left: 0; line-height: initial;",
".sv_main .sv-hidden": "display: none !important;",
".sv_main .sv-visuallyhidden": "position: absolute; height: 1px !important; width: 1px !important; overflow: hidden; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);",
// paneldynamic progress
".sv_main .sv-progress": "height: 0.19em; background-color: $header-background-color; position: relative;",
".sv_main .sv-progress__bar": "background-color: $main-color; height: 100%; position: relative;",
// EO paneldynamic progress
// paneldynamic
".sv_main .sv-paneldynamic__progress-container": "position: relative; display: inline-block; width: calc(100% - 250px); margin-top: 20px;",
".sv_main .sv-paneldynamic__add-btn": "float: right;",
".sv_main .sv-paneldynamic__add-btn--list-mode": "float: none; margin-top: 0;",
".sv_main .sv-paneldynamic__remove-btn": "margin-top: 1.25em;",
".sv_main .sv-paneldynamic__remove-btn--right": "margin-top: 0; margin-left: 1.25em;",
".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn": "box-sizing: border-box; display: inline-block; cursor: pointer; width: 0.7em; top: -0.28em; position: absolute;",
".sv_main .sv-paneldynamic__prev-btn svg, .sv_main .sv-paneldynamic__next-btn svg": "width: 0.7em; height: 0.7em; display: block;",
".sv_main .sv-paneldynamic__prev-btn": "left: -1.3em; transform: rotate(90deg);",
".sv_main .sv-paneldynamic__next-btn ": "right: -1.3em; transform: rotate(270deg);",
".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled": "cursor: auto;",
".sv_main .sv-paneldynamic__progress-text": "font-weight: bold; font-size: 0.87em; margin-top: 0.69em; margin-left: 4em",
// EO paneldynamic
//boolean
".sv_main .sv-boolean__switch": "display: inline-block; box-sizing: border-box; width: 63px; height: 24px; margin-right: 17px; margin-left: 21px; padding: 2px 3px; vertical-align: middle; border-radius: 12px; cursor: pointer;",
".sv_main .sv-boolean__slider": "display: inline-block; width: 20px; height: 20px; transition-duration: .4s; transition-property: margin-left; border: none; border-radius: 100%;",
".sv_main .sv-boolean__label": "vertical-align: middle; cursor: pointer;",
".sv_main .sv-boolean--indeterminate .sv-boolean__slider": "margin-left: calc(50% - 10px);",
".sv_main .sv-boolean input:focus ~ .sv-boolean__switch": "outline-width: 1px; outline-style: solid; outline-offset: 1px;",
".sv_main .sv-boolean--checked .sv-boolean__slider": "margin-left: calc(100% - 20px);",
"[dir='rtl'] .sv-boolean__label ": "float: right;",
"[dir='rtl'] .sv-boolean--indeterminate .sv-boolean__slider": "margin-right: calc(50% - 0.625em);",
"[dir='rtl'] .sv-boolean--checked .sv-boolean__slider": "margin-right: calc(100% - 1.25em);",
"[dir='rtl'] .sv-boolean__switch": "float: right;",
"[style*='direction:rtl'] .sv-boolean__label ": "float: right;",
"[style*='direction:rtl'] .sv-boolean--indeterminate .sv-boolean__slider": "margin-right: calc(50% - 0.625em);",
"[style*='direction:rtl'] .sv-boolean--checked .sv-boolean__slider": "margin-right: calc(100% - 1.25em);",
"[style*='direction:rtl'] .sv-boolean__switch": "float: right;",
// EO boolean
".sv_main .sv_q_num": "",
".sv_main .sv_q_num + span": "",
// SignaturePad
".sv_main .sjs_sp_container": "position: relative; box-sizing: content-box;",
".sv_main .sjs_sp_controls": "position: absolute; left: 0; bottom: 0;",
".sv_main .sjs_sp_controls > button": "user-select: none;",
".sv_main .sjs_sp_container>div>canvas:focus": "outline: none;",
".sv_main .sjs_sp_placeholder": "display: flex; align-items: center; justify-content: center; position: absolute; z-index: 0; user-select: none; pointer-events: none; width: 100%; height: 100%;",
".sv_main .sjs_sp_canvas": "position: absolute; top: 0; left: 0;",
".sv_main .sjs_sp__background-image": "position: absolute; top: 0; left: 0;",
// logo
// ".sv_main .sv_header": "white-space: nowrap;",
".sv_main .sv_logo": "",
".sv_main .sv-logo--left": "display: inline-block; vertical-align: top; margin-right: 2em;",
".sv_main .sv-logo--right": "display: inline-block; vertical-align: top; margin-left: 2em; ",
".sv_main .sv-logo--top": "display: block; width: 100%; text-align: center;",
".sv_main .sv-logo--bottom": "display: block; width: 100%; text-align: center;",
".sv_main .sv_header__text": "display: inline-block; vertical-align: top; max-width: 100%; width: 100%",
".sv_main .sv-expand-action:before": "content: \"\"; display: inline-block; background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; height: 10px; width: 12px; margin: auto 8px;",
".sv_main .sv-expand-action--expanded:before": "transform: rotate(180deg);",
".sv_main .sv-action-bar": "display: flex; position: relative; align-items: center; margin-left: auto; padding: 0 0 0 16px; overflow: hidden; white-space: nowrap;",
".sv_main .sv-action-bar-separator": "display: inline-block; width: 1px; height: 24px; vertical-align: middle; margin-right: 16px; background-color: #d6d6d6;",
".sv_main .sv-action-bar-item": "-webkit-appearance: none; -moz-appearance: none; appearance: none; display: flex; height: 40px; padding: 8px; box-sizing: border-box; margin-right: 16px; border: none; border-radius: 2px; background-color: transparent; cursor: pointer; line-height: 24px; font-size: 16px; overflow-x: hidden; white-space: nowrap; min-width: auto; font-weight: normal",
".sv_main .sv-action-bar-item__title": "vertical-align: middle; white-space: nowrap;",
".sv_main .sv-action-bar-item__title--with-icon": "margin-left: 8px;",
".sv_main .sv-action__content": "display: flex; flex-direction: row; align-items: center;",
".sv_main .sv-action__content > *": "flex: 0 0 auto;",
".sv_main .sv-action--hidden": "width: 0px; height: 0px; overflow: hidden;",
".sv_main .sv-action-bar-item__icon svg": "display: block;",
".sv_main .sv-action-bar-item:active": "opacity: 0.5;",
".sv_main .sv-action-bar-item:focus": "outline: none;",
".sv_main .sv-title-actions": "display: flex; align-items: center; width: 100%;",
".sv_main .sv-title-actions__title": "flex-wrap: wrap; max-width: 90%; min-width: 50%;",
".sv_main .sv-title-actions__bar": "min-width: 56px;",
".sv_main .sv-title-actions .sv-title-actions__title": "min-width: unset; max-width: unset; flex-wrap: wrap; flex: 0 0 auto;",
".sv_main .sv-title-actions .sv-action-title-bar": "min-width: unset; flex: 1 1 auto; justify-content: flex-end;",
".sv_main .sv_matrix_cell_actions .sv-action-bar": "margin-left: 0; padding-left: 0;",
".sv_main .sv_p_wrapper_in_row": "display: flex; flex-direction: row; align-items: center;",
".sv_main .sv_p_remove_btn_right": "margin-left: 1em;",
//button-group
".sv_main .sv-button-group": "display: flex; align-items: center; flex-direction: row; font-size: 16px; height: 48px; overflow: auto;",
".sv_main .sv-button-group__item": "display: flex; box-sizing: border-box; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 11px 16px; line-height: 24px; border-width: 1px; border-style: solid; outline: none; font-size: 16px; font-weight: 400; cursor: pointer; overflow: hidden;",
".sv_main .sv-button-group__item:not(:first-of-type)": "margin-left: -1px;",
".sv_main .sv-button-group__item-icon": "display: block; height: 24px;",
".sv_main .sv-button-group__item--selected": "font-weight: 600;",
".sv_main .sv-button-group__item-decorator": "display: flex; align-items: center; max-width: 100%;",
".sv_main .sv-button-group__item-icon + .sv-button-group__item-caption": "margin-left: 8px",
".sv_main .sv-button-group__item-caption": "display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",
".sv_main .sv-button-group__item--disabled": "color: cursor: default;",
//eo button-group
//popup
"sv-popup": "display: block; position: absolute; z-index: -1;",
".sv-popup": "position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; outline: none; z-index: 1500;",
".sv-popup.sv-dropdown-popup": "height: 0;",
".sv-popup__container": "box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); position: absolute; padding: 0;",
".sv-popup__body-content": "background-color: var(--background, #fff); border-radius: calc(0.5 * var(--base-unit, 8px)); width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; max-height: 90vh; max-width: 100vw;",
".sv-popup--modal .sv-list__filter": "padding-top: 8px;",
".sv-popup--modal .sv-list__filter-icon": "top: 20px;",
".sv-popup--overlay .sv-list__filter": "padding-top: 8px;",
".sv-popup--overlay .sv-list__filter-icon": "top: 20px;",
".sv-popup--modal": "display: flex; align-items: center; justify-content: center;",
".sv-popup--modal .sv-popup__container": "position: static;",
".sv-popup--modal .sv-popup__body-content": "padding: calc(4 * var(--base-unit, 8px));",
".sv-popup--overlay": "width: 100%;",
".sv-popup--overlay .sv-popup__container": "background: rgba(144, 144, 144, 0.5); max-width: 100vw; max-height: calc(100vh - 1 * var(--base-unit, 8px)); height: calc(100vh - 1 * var(--base-unit, 8px)); width: 100%; padding-top: calc(2 * var(--base-unit, 8px)); border: unset;",
".sv-popup__shadow": "width: 100%; height: 100%; border-radius: calc(1 * var(--base-unit, 8px));",
".sv-popup--overlay .sv-popup__body-content": "border-radius: calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) 0px 0px; background: var(--background, #fff); box-shadow: 0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) rgba(0, 0, 0, 0.1); padding: calc(3 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)); height: calc(100% - calc(1 * var(--base-unit, 8px))); max-height: 100vh; max-width: 100vw;",
".sv-popup--overlay .sv-popup__scrolling-content": "height: calc(100% - (10 * var(--base-unit, 8px)));",
".sv-popup--overlay .sv-popup__body-footer": "margin-top: calc(2 * var(--base-unit, 8px));",
".sv-popup--overlay .sv-popup__body-footer .sv-action": "width: 100%;",
".sv-popup--overlay .sv-popup__body-footer .sv-action-bar": "width: 100%;",
".sv-popup--overlay .sv-popup__body-footer-item": "width: 100%;",
".sv-popup--overlay .sv-popup__button": "background-color: var(--primary, #19b394); border: 2px solid var(--primary, #19b394); color: var(--primary-foreground, #fff);",
".sv-popup__scrolling-content": "height: 100%; overflow: auto; display: flex; flex-direction: column;",
".sv-popup__scrolling-content::-webkit-scrollbar": "height: 6px; width: 6px; background-color: var(--background-dim, #f3f3f3);",
".sv-popup__scrolling-content::-webkit-scrollbar-thumb": "background: var(--primary-light, rgba(25, 179, 148, 0.1));",
".sv-popup__content": "min-width: 100%; height: 100%; display: flex; flex-direction: column; min-height: 0;",
".sv-popup--show-pointer.sv-popup--top .sv-popup__pointer": "transform: translate(calc(-1 * var(--base-unit, 8px))) rotate(180deg);",
".sv-popup--show-pointer.sv-popup--bottom .sv-popup__pointer": "transform: translate(calc(-1 * var(--base-unit, 8px)), calc(-1 * var(--base-unit, 8px)));",
".sv-popup--show-pointer.sv-popup--right": "transform: translate(calc(1 * var(--base-unit, 8px)));",
".sv-popup--show-pointer.sv-popup--right .sv-popup__pointer": "transform: translate(-12px, -4px) rotate(-90deg);",
".sv-popup--show-pointer.sv-popup--left": "transform: translate(calc(-1 * var(--base-unit, 8px)));",
".sv-popup--show-pointer.sv-popup--left .sv-popup__pointer": "transform: translate(-4px, -4px) rotate(90deg);",
".sv-popup__pointer": "display: block; position: absolute;",
".sv-popup__pointer:after": "content: ' '; display: block; width: 0; height: 0; border-left: calc(1 * var(--base-unit, 8px)) solid transparent; border-right: calc(1 * var(--base-unit, 8px)) solid transparent; border-bottom: calc(1 * var(--base-unit, 8px)) solid var(--background, #fff); align-self: center;",
".sv-popup__body-header": "font-family: var(--font-family, $font-family); font-size: calc(3 * var(--base-unit, 8px)); line-height: calc(4 * var(--base-unit, 8px)); font-style: normal; font-weight: 700; margin-bottom: calc(2 * var(--base-unit, 8px)); color: var(--foreground, #161616);",
".sv-popup__body-footer": "display: flex; margin-top: calc(4 * var(--base-unit, 8px));",
".sv-popup__body-footer .sv-action-bar": "gap: calc(1.5 * var(--base-unit, 8px));",
".sv-popup__button": "padding: calc(2 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px)); background: var(--background, #fff); box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); border-radius: 4px; margin: 2px; cursor: pointer; font-family: var(--font-family, $font-family); font-style: normal; font-weight: 600; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); text-align: center; color: var(--primary, #19b394); border: none; outline: none;",
".sv-popup__button:hover": "box-shadow: 0 0 0 2px var(--primary, #19b394);",
".sv-popup__button:disabled": "color: var(--foreground-disabled, rgba(#161616, 0.16)); cursor: default;",
".sv-popup__button:disabled:hover": "box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);",
".sv-popup__button.sv-popup__button--apply": "background-color: var(--primary, #19b394); color: var(--primary-foreground, #fff);",
".sv-popup__button.sv-popup__button--apply:disabled": "background-color: var(--background-dim, #f3f3f3);",
".sv-popup__button.sv-popup__button--danger": "background-color: var(--sjs-special-red, #E50A3E); color: var(--primary-foreground, #fff);",
//eo popup
//list
".sv-list": "padding: 0; margin: 0; background: var(--background, #fff); list-style-type: none; overflow-y: auto;",
".sv-list__item--with-icon": "padding-top: 12px; padding-bottom: 12px;",
".sv-list__item": "width: 100%; box-sizing: border-box; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",
".sv-list__item-body": "width: 100%; box-sizing: border-box; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); padding-top: calc(1 * var(--base-unit, 8px)); padding-bottom: calc(1 * var(--base-unit, 8px)); padding-inline-end: calc(8 * var(--base-unit, 8px)); padding-inline-start: calc(2 * var(--base-unit, 8px)); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: calc(2 * 8px);",
".sv-list__item-icon": "float: left; width: calc(3 * 8px); height: calc(3 * 8px);",
".sv-list__item-icon svg": "display: block;",
".sv-list__item-icon use": "fill: #909090;",
".sv-list__item:hover .sv-list__item-body": "background-color: var(--background-dim, #f3f3f3);",
".sv-list__item.sv-list__item--focused .sv-list__item-body": "background-color: var(--background-dim, #f3f3f3);",
".sv-list__loading-indicator": "pointer-events: none;",
".sv-list__loading-indicator .sv-list__item-body": "background-color: transparent",
// ".sv-list__item--selected": "background-color: var(--primary, #19b394); color: var(--primary-foreground, #fff);",
".sv-list__item--selected .sv-list__item-icon use": "fill: var(--primary-foreground, #fff);",
".sv-list__item.sv-list__item--disabled": "color: var(--foreground-light, #909090); cursor: default;",
".sv-list__item span": "white-space: nowrap;",
".sv-list__container": "position: relative; display: flex; flex-direction: column; height: 100%; display: flex; flex-direction: column; min-height: 0;",
".sv-list__filter": "border-bottom: 1px solid rgba(0, 0, 0, 0.16); background: var(--background, #fff); padding-bottom: calcSize(1);",
".sv-list__input": "-webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; line-height: 24px; padding-left: 56px; padding-right: 24px; padding-top: 12px; padding-bottom: 12px; outline: none; font-size: 1em; border: none",
".sv-list__filter-icon": "display: block; position: absolute; top: 12px; left: 16px;",
".sv-list__filter-icon .sv-svg-icon": "width: 24px; height: 24px;",
".sv-list__empty-container": "width: 100%; box-sizing: border-box; padding: 12px 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",
".sv-list__empty-text": "line-height: 24px; font-size: 16px; font-weight: 400; text-align: center; color: var(--foreground-light, #909090);",
//eo list
".sv-skeleton-element": "min-height: 50px;",
};
}
/***/ }),
/***/ "./src/popup-dropdown-view-model.ts":
/*!******************************************!*\
!*** ./src/popup-dropdown-view-model.ts ***!
\******************************************/
/*! exports provided: PopupDropdownViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return PopupDropdownViewModel; });
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _utils_popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/popup */ "./src/utils/popup.ts");
/* harmony import */ var _popup_view_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-view-model */ "./src/popup-view-model.ts");
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var PopupDropdownViewModel = /** @class */ (function (_super) {
__extends(PopupDropdownViewModel, _super);
function PopupDropdownViewModel(model, targetElement) {
var _this = _super.call(this, model) || this;
_this.targetElement = targetElement;
_this.scrollEventCallBack = function (event) {
if (_this.isOverlay && _utils_devices__WEBPACK_IMPORTED_MODULE_3__["IsTouch"]) {
event.stopPropagation();
event.preventDefault();
return;
}
_this.hidePopup();
};
_this.resizeEventCallback = function () {
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable())
return;
var visualViewport = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport();
var documentElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getDocumentElement();
if (!!documentElement && !!visualViewport) {
documentElement.style.setProperty("--sv-popup-overlay-height", visualViewport.height * visualViewport.scale + "px");
}
};
_this.resizeWindowCallback = function () {
if (!_this.isOverlay) {
_this.updatePosition(true, _survey__WEBPACK_IMPORTED_MODULE_5__["SurveyModel"].platform === "vue" || _survey__WEBPACK_IMPORTED_MODULE_5__["SurveyModel"].platform === "vue3" || _survey__WEBPACK_IMPORTED_MODULE_5__["SurveyModel"].platform == "react");
}
};
_this.clientY = 0;
_this.isTablet = false;
_this.touchStartEventCallback = function (event) {
_this.clientY = event.touches[0].clientY;
};
_this.touchMoveEventCallback = function (event) {
_this.preventScrollOuside(event, _this.clientY - event.changedTouches[0].clientY);
};
_this.model.onRecalculatePosition.add(_this.recalculatePositionHandler);
return _this;
}
PopupDropdownViewModel.prototype.calculateIsTablet = function (windowWidth, windowHeight) {
var width = Math.min(windowWidth, windowHeight);
this.isTablet = width >= PopupDropdownViewModel.tabletSizeBreakpoint;
};
PopupDropdownViewModel.prototype._updatePosition = function () {
var _a, _b, _c;
if (!this.targetElement)
return;
var targetElementRect = this.targetElement.getBoundingClientRect();
var popupContainer = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelector(this.containerSelector);
if (!popupContainer)
return;
var fixedPopupContainer = (_b = this.container) === null || _b === void 0 ? void 0 : _b.querySelector(this.fixedPopupContainer);
var scrollContent = popupContainer.querySelector(this.scrollingContentSelector);
var popupComputedStyle = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(popupContainer);
var marginLeft = (parseFloat(popupComputedStyle.marginLeft) || 0);
var marginRight = (parseFloat(popupComputedStyle.marginRight) || 0);
var height = popupContainer.offsetHeight - scrollContent.offsetHeight + scrollContent.scrollHeight;
var width = popupContainer.getBoundingClientRect().width;
this.model.setWidthByTarget && (this.minWidth = targetElementRect.width + "px");
var verticalPosition = this.model.verticalPosition;
var actualHorizontalPosition = this.getActualHorizontalPosition();
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
var heightValues = [height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight() * 0.9, (_c = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport()) === null || _c === void 0 ? void 0 : _c.height];
height = Math.ceil(Math.min.apply(Math, heightValues.filter(function (each) { return typeof each === "number"; })));
verticalPosition = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateVerticalPosition(targetElementRect, height, this.model.verticalPosition, this.model.showPointer, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
}
this.popupDirection = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePopupDirection(verticalPosition, actualHorizontalPosition);
var pos = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePosition(targetElementRect, height, width + marginLeft + marginRight, verticalPosition, actualHorizontalPosition, this.showHeader, this.model.positionMode);
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight(), verticalPosition);
if (!!newVerticalDimensions) {
this.height = newVerticalDimensions.height + "px";
pos.top = newVerticalDimensions.top;
}
if (this.model.setWidthByTarget) {
this.width = targetElementRect.width + "px";
pos.left = targetElementRect.left;
}
else {
var newHorizontalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateHorizontalDimensions(pos.left, width, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), actualHorizontalPosition, this.model.positionMode, { left: marginLeft, right: marginRight });
if (!!newHorizontalDimensions) {
this.width = newHorizontalDimensions.width ? newHorizontalDimensions.width + "px" : undefined;
pos.left = newHorizontalDimensions.left;
}
}
}
if (!!fixedPopupContainer) {
var rect = fixedPopupContainer.getBoundingClientRect();
pos.top -= rect.top;
pos.left -= rect.left;
}
this.left = pos.left + "px";
this.top = pos.top + "px";
if (this.showHeader) {
this.pointerTarget = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePointerTarget(targetElementRect, pos.top, pos.left, verticalPosition, actualHorizontalPosition, marginLeft, marginRight);
this.pointerTarget.top += "px";
this.pointerTarget.left += "px";
}
};
PopupDropdownViewModel.prototype.getActualHorizontalPosition = function () {
var actualHorizontalPosition = this.model.horizontalPosition;
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].isAvailable()) {
var isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getBody()).direction == "rtl";
if (isRtl) {
if (this.model.horizontalPosition === "left") {
actualHorizontalPosition = "right";
}
else if (this.model.horizontalPosition === "right") {
actualHorizontalPosition = "left";
}
}
}
return actualHorizontalPosition;
};
PopupDropdownViewModel.prototype.getStyleClass = function () {
return _super.prototype.getStyleClass.call(this)
.append("sv-popup--dropdown", !this.isOverlay)
.append("sv-popup--dropdown-overlay", this.isOverlay && this.model.overlayDisplayMode !== "overlay")
.append("sv-popup--tablet", this.isTablet && this.isOverlay)
.append("sv-popup--show-pointer", !this.isOverlay && this.showHeader)
.append("sv-popup--" + this.popupDirection, !this.isOverlay && this.showHeader);
};
PopupDropdownViewModel.prototype.getShowHeader = function () {
return this.model.showPointer && !this.isOverlay;
};
PopupDropdownViewModel.prototype.getPopupHeaderTemplate = function () {
return "popup-pointer";
};
PopupDropdownViewModel.prototype.setComponentElement = function (componentRoot, targetElement) {
_super.prototype.setComponentElement.call(this, componentRoot);
if (!!componentRoot && !!componentRoot.parentElement && !this.isModal) {
this.targetElement = targetElement || componentRoot.parentElement;
}
};
PopupDropdownViewModel.prototype.resetComponentElement = function () {
_super.prototype.resetComponentElement.call(this);
this.targetElement = undefined;
};
PopupDropdownViewModel.prototype.updateOnShowing = function () {
var root = _settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.root;
this.prevActiveElement = root.activeElement;
if (this.isOverlay) {
this.resetDimensionsAndPositionStyleProperties();
}
else {
this.updatePosition(true, false);
}
this.switchFocus();
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("resize", this.resizeWindowCallback);
if (this.shouldCreateResizeCallback) {
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().addEventListener("resize", this.resizeEventCallback);
if (this.container) {
this.container.addEventListener("touchstart", this.touchStartEventCallback);
this.container.addEventListener("touchmove", this.touchMoveEventCallback);
}
this.calculateIsTablet(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
this.resizeEventCallback();
}
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("scroll", this.scrollEventCallBack);
};
Object.defineProperty(PopupDropdownViewModel.prototype, "shouldCreateResizeCallback", {
get: function () {
return !!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport() && this.isOverlay && _utils_devices__WEBPACK_IMPORTED_MODULE_3__["IsTouch"];
},
enumerable: false,
configurable: true
});
PopupDropdownViewModel.prototype.updatePosition = function (isResetHeight, isDelayUpdating) {
var _this = this;
if (isDelayUpdating === void 0) { isDelayUpdating = true; }
if (isResetHeight) {
this.height = "auto";
}
if (isDelayUpdating) {
setTimeout(function () {
_this._updatePosition();
}, 1);
}
else {
this._updatePosition();
}
};
PopupDropdownViewModel.prototype.updateOnHiding = function () {
_super.prototype.updateOnHiding.call(this);
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("resize", this.resizeWindowCallback);
if (this.shouldCreateResizeCallback) {
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().removeEventListener("resize", this.resizeEventCallback);
if (this.container) {
this.container.removeEventListener("touchstart", this.touchStartEventCallback);
this.container.removeEventListener("touchmove", this.touchMoveEventCallback);
}
}
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("scroll", this.scrollEventCallBack);
if (!this.isDisposed) {
this.top = undefined;
this.left = undefined;
this.height = undefined;
this.width = undefined;
this.minWidth = undefined;
}
};
PopupDropdownViewModel.prototype.onModelChanging = function (newModel) {
var _this = this;
if (!!this.model) {
this.model.onRecalculatePosition.remove(this.recalculatePositionHandler);
}
if (!this.recalculatePositionHandler) {
this.recalculatePositionHandler = function (_, options) {
if (!_this.isOverlay) {
_this.updatePosition(options.isResetHeight);
}
};
}
_super.prototype.onModelChanging.call(this, newModel);
newModel.onRecalculatePosition.add(this.recalculatePositionHandler);
};
PopupDropdownViewModel.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this.updateOnHiding();
if (!!this.model) {
this.model.onRecalculatePosition.remove(this.recalculatePositionHandler);
this.recalculatePositionHandler = undefined;
}
this.resetComponentElement();
};
PopupDropdownViewModel.tabletSizeBreakpoint = 600;
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
], PopupDropdownViewModel.prototype, "isTablet", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: "left" })
], PopupDropdownViewModel.prototype, "popupDirection", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: { left: "0px", top: "0px" } })
], PopupDropdownViewModel.prototype, "pointerTarget", void 0);
return PopupDropdownViewModel;
}(_popup_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupBaseViewModel"]));
/***/ }),
/***/ "./src/popup-modal-view-model.ts":
/*!***************************************!*\
!*** ./src/popup-modal-view-model.ts ***!
\***************************************/
/*! exports provided: PopupModalViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return PopupModalViewModel; });
/* harmony import */ var _popup_view_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./popup-view-model */ "./src/popup-view-model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var PopupModalViewModel = /** @class */ (function (_super) {
__extends(PopupModalViewModel, _super);
function PopupModalViewModel(model) {
var _this = _super.call(this, model) || this;
_this.onScrollOutsideCallback = function (event) {
_this.preventScrollOuside(event, event.deltaY);
};
return _this;
}
PopupModalViewModel.prototype.getStyleClass = function () {
return _super.prototype.getStyleClass.call(this)
.append("sv-popup--modal", !this.isOverlay);
};
PopupModalViewModel.prototype.getShowFooter = function () {
return true;
};
PopupModalViewModel.prototype.createFooterActionBar = function () {
var _this = this;
_super.prototype.createFooterActionBar.call(this);
this.footerToolbarValue.addAction({
id: "apply",
visibleIndex: 20,
title: this.applyButtonText,
innerCss: "sv-popup__body-footer-item sv-popup__button sv-popup__button--apply sd-btn sd-btn--action",
action: function () { _this.apply(); }
});
};
Object.defineProperty(PopupModalViewModel.prototype, "applyButtonText", {
get: function () {
return this.getLocalizationString("modalApplyButtonText");
},
enumerable: false,
configurable: true
});
PopupModalViewModel.prototype.apply = function () {
if (!!this.model.onApply && !this.model.onApply())
return;
this.hidePopup();
};
PopupModalViewModel.prototype.clickOutside = function () {
return;
};
PopupModalViewModel.prototype.onKeyDown = function (event) {
if (event.key === "Escape" || event.keyCode === 27) {
this.model.onCancel();
}
_super.prototype.onKeyDown.call(this, event);
};
PopupModalViewModel.prototype.updateOnShowing = function () {
if (this.container) {
this.container.addEventListener("wheel", this.onScrollOutsideCallback, { passive: false });
}
_super.prototype.updateOnShowing.call(this);
};
PopupModalViewModel.prototype.updateOnHiding = function () {
if (this.container) {
this.container.removeEventListener("wheel", this.onScrollOutsideCallback);
}
_super.prototype.updateOnHiding.call(this);
};
return PopupModalViewModel;
}(_popup_view_model__WEBPACK_IMPORTED_MODULE_0__["PopupBaseViewModel"]));
/***/ }),
/***/ "./src/popup-survey.ts":
/*!*****************************!*\
!*** ./src/popup-survey.ts ***!
\*****************************/
/*! exports provided: PopupSurveyModel, SurveyWindowModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return PopupSurveyModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return SurveyWindowModel; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**
* A class that renders a survey in a pop-up window.
*
* [View Demo](https://surveyjs.io/form-library/examples/popup-survey/ (linkStyle))
*/
var PopupSurveyModel = /** @class */ (function (_super) {
__extends(PopupSurveyModel, _super);
function PopupSurveyModel(jsonObj, initialModel) {
if (initialModel === void 0) { initialModel = null; }
var _this = _super.call(this) || this;
/**
* Specifies how many seconds the pop-up window should remain open after users complete the survey.
*
* Default value: 0 (the window is closed immediately)
*
* Set this property to a negative value (for instance, -1) to keep the pop-up window open without a time limit.
*/
_this.closeOnCompleteTimeout = 0;
if (initialModel) {
_this.surveyValue = initialModel;
}
else {
_this.surveyValue = _this.createSurvey(jsonObj);
}
_this.surveyValue.fitToContainer = true;
_this.windowElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
_this.survey.onComplete.add(function (survey, options) {
_this.onSurveyComplete();
});
_this.registerPropertyChangedHandlers(["isShowing"], function () {
if (!!_this.showingChangedCallback)
_this.showingChangedCallback();
});
_this.registerPropertyChangedHandlers(["isExpanded"], function () {
_this.onExpandedChanged();
});
_this.width = new _base__WEBPACK_IMPORTED_MODULE_0__["ComputedUpdater"](function () { return _this.survey.width; });
_this.width = _this.survey.width;
_this.updateCss();
_this.onCreating();
return _this;
}
PopupSurveyModel.prototype.onCreating = function () { };
PopupSurveyModel.prototype.getType = function () {
return "popupsurvey";
};
Object.defineProperty(PopupSurveyModel.prototype, "survey", {
/**
* A [`SurveyModel`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model) instance rendered in the pop-up window.
*/
get: function () {
return this.surveyValue;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "isShowing", {
/**
* Indicates whether the pop-up survey appears on the page, regardless of its [expand state](#isExpanded).
*
* You can set this property to `true` or `false` to control visibility of the pop-up survey. Alternatively, you can use the [`show()`](#show) and [`hide()`](#hide) methods.
*/
get: function () {
return this.getPropertyValue("isShowing", false);
},
set: function (val) {
this.setPropertyValue("isShowing", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "isFullScreen", {
get: function () {
return this.getPropertyValue("isFullScreen", false);
},
set: function (val) {
if (!this.isExpanded && !!val) {
this.isExpanded = true;
}
this.setPropertyValue("isFullScreen", val);
this.setCssRoot();
},
enumerable: false,
configurable: true
});
/**
* Shows the pop-up survey. The survey may appear [expanded or collapsed](#isExpanded).
*
* As an alternative to this method, you can set the [`isShowing`](#isShowing) property to `true`.
* @see hide
*/
PopupSurveyModel.prototype.show = function () {
this.isShowing = true;
};
/**
* Hides the pop-up survey.
*
* As an alternative to this method, you can set the [`isShowing`](#isShowing) property to `false`.
* @see show
* @see expand
* @see collapse
*/
PopupSurveyModel.prototype.hide = function () {
this.isShowing = false;
};
PopupSurveyModel.prototype.toggleFullScreen = function () {
this.isFullScreen = !this.isFullScreen;
};
Object.defineProperty(PopupSurveyModel.prototype, "isExpanded", {
/**
* Indicates whether the pop-up window is expanded or collapsed.
*
* You can set this property to `true` or `false` to control the expand state of the pop-up survey. Alternatively, you can use the [`expand()`](#expand) and [`collapse()`](#collapse) methods.
*/
get: function () {
return this.getPropertyValue("isExpanded", false);
},
set: function (val) {
if (!!this.isFullScreen && !val) {
this.isFullScreen = false;
}
this.setPropertyValue("isExpanded", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "isCollapsed", {
get: function () {
return !this.isExpanded;
},
enumerable: false,
configurable: true
});
PopupSurveyModel.prototype.onExpandedChanged = function () {
if (!!this.expandedChangedCallback) {
this.expandedChangedCallback();
}
this.updateCssButton();
};
Object.defineProperty(PopupSurveyModel.prototype, "title", {
/**
* A title for the pop-up window. If this property is undefined, the title is taken from [`SurveyModel`](#survey)'s [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title) property.
*/
get: function () {
return this.survey.title;
},
set: function (value) {
this.survey.title = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "locTitle", {
get: function () {
if (this.survey.locTitle.isEmpty)
return null;
return this.survey.locTitle;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "locDescription", {
get: function () {
if (this.survey.locTitle.isEmpty)
return null;
return this.survey.locDescription;
},
enumerable: false,
configurable: true
});
/**
* Expands the pop-up window.
*
* As an alternative to this method, you can set the [`isExpanded`](#isExpanded) property to `true`.
* @see collapse
*/
PopupSurveyModel.prototype.expand = function () {
this.isExpanded = true;
};
/**
* Collapses the pop-up window, leaving only the survey title visible.
*
* As an alternative to this method, you can set the [`isExpanded`](#isExpanded) property to `false`.
* @see expand
*/
PopupSurveyModel.prototype.collapse = function () {
this.isExpanded = false;
};
PopupSurveyModel.prototype.changeExpandCollapse = function () {
this.isExpanded = !this.isExpanded;
};
Object.defineProperty(PopupSurveyModel.prototype, "allowClose", {
/**
* Specifies whether to display a button that closes the pop-up window.
*
* Default value: `false`
*
* If you allow users to close the pop-up window, make sure to implement a UI element that opens it. This element should call the [`show()`](#show) method or enable the [`isShowing`](#isShowing) property.
* @see expand
* @see collapse
* @see hide
*/
get: function () {
return this.getPropertyValue("allowClose", false);
},
set: function (val) {
this.setPropertyValue("allowClose", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "allowFullScreen", {
/**
* Specifies whether to display a button that allows respondents to show the pop-up survey in full screen mode.
*
* Default value: `false`
*/
get: function () {
return this.getPropertyValue("allowFullScreen", false);
},
set: function (val) {
this.setPropertyValue("allowFullScreen", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "css", {
get: function () {
return this.survey.css;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssButton", {
get: function () {
return this.getPropertyValue("cssButton", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssRoot", {
get: function () {
var result = this.getPropertyValue("cssRoot", "");
if (this.isCollapsed)
result += " " + this.getPropertyValue("cssRootCollapsedMod", "");
return result;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssRootCollapsedMod", {
get: function () {
return this.getPropertyValue("cssRootCollapsedMod");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssRootContent", {
get: function () {
return this.getPropertyValue("cssRootContent");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssBody", {
get: function () {
return this.getPropertyValue("cssBody", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderRoot", {
get: function () {
return this.getPropertyValue("cssHeaderRoot", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderTitleCollapsed", {
get: function () {
return this.getPropertyValue("cssHeaderTitleCollapsed", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderButtonsContainer", {
get: function () {
return this.getPropertyValue("cssHeaderButtonsContainer", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderCollapseButton", {
get: function () {
return this.getPropertyValue("cssHeaderCollapseButton", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderCloseButton", {
get: function () {
return this.getPropertyValue("cssHeaderCloseButton", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderFullScreenButton", {
get: function () {
return this.getPropertyValue("cssHeaderFullScreenButton", "");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupSurveyModel.prototype, "renderedWidth", {
get: function () {
var width = this.getPropertyValue("width", "60%");
if (width && !isNaN(width))
width = width + "px";
return width;
},
enumerable: false,
configurable: true
});
PopupSurveyModel.prototype.updateCss = function () {
if (!this.css || !this.css.window)
return;
var cssWindow = this.css.window;
this.setCssRoot();
this.setPropertyValue("cssRootCollapsedMod", cssWindow.rootCollapsedMod);
this.setPropertyValue("cssRootContent", cssWindow.rootContent);
this.setPropertyValue("cssBody", cssWindow.body);
var cssHeader = cssWindow.header;
if (!cssHeader)
return;
this.setPropertyValue("cssHeaderRoot", cssHeader.root);
this.setPropertyValue("cssHeaderTitleCollapsed", cssHeader.titleCollapsed);
this.setPropertyValue("cssHeaderButtonsContainer", cssHeader.buttonsContainer);
this.setPropertyValue("cssHeaderCollapseButton", cssHeader.collapseButton);
this.setPropertyValue("cssHeaderCloseButton", cssHeader.closeButton);
this.setPropertyValue("cssHeaderFullScreenButton", cssHeader.fullScreenButton);
this.updateCssButton();
};
PopupSurveyModel.prototype.setCssRoot = function () {
var cssWindow = this.css.window;
if (this.isFullScreen) {
this.setPropertyValue("cssRoot", cssWindow.root + " " + cssWindow.rootFullScreenMode);
}
else {
this.setPropertyValue("cssRoot", cssWindow.root);
}
};
PopupSurveyModel.prototype.updateCssButton = function () {
var cssHeader = !!this.css.window ? this.css.window.header : null;
if (!cssHeader)
return;
this.setCssButton(this.isExpanded ? cssHeader.buttonExpanded : cssHeader.buttonCollapsed);
};
PopupSurveyModel.prototype.setCssButton = function (val) {
if (!val)
return;
this.setPropertyValue("cssButton", val);
};
PopupSurveyModel.prototype.createSurvey = function (jsonObj) {
return new _survey__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"](jsonObj);
};
PopupSurveyModel.prototype.onSurveyComplete = function () {
if (this.closeOnCompleteTimeout < 0)
return;
if (this.closeOnCompleteTimeout == 0) {
this.hide();
}
else {
var self = this;
var timerId = null;
var func = function () {
self.hide();
clearInterval(timerId);
};
timerId = setInterval(func, this.closeOnCompleteTimeout * 1000);
}
};
PopupSurveyModel.prototype.onScroll = function () {
this.survey.onScroll();
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
], PopupSurveyModel.prototype, "width", void 0);
return PopupSurveyModel;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
/**
* Obsolete. Please use PopupSurvey
*/
var SurveyWindowModel = /** @class */ (function (_super) {
__extends(SurveyWindowModel, _super);
function SurveyWindowModel() {
return _super !== null && _super.apply(this, arguments) || this;
}
return SurveyWindowModel;
}(PopupSurveyModel));
/***/ }),
/***/ "./src/popup-utils.ts":
/*!****************************!*\
!*** ./src/popup-utils.ts ***!
\****************************/
/*! exports provided: createPopupModalViewModel, createPopupViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return createPopupModalViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return createPopupViewModel; });
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popup-modal-view-model */ "./src/popup-modal-view-model.ts");
function createPopupModalViewModel(options, rootElement) {
var _a;
var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_1__["PopupModel"](options.componentName, options.data, "top", "left", false, true, options.onCancel, options.onApply, function () {
options.onHide();
if (!!container) {
popupViewModel.resetComponentElement();
}
}, options.onShow, options.cssClass, options.title);
popupModel.displayMode = options.displayMode || "popup";
popupModel.isFocusedContent = (_a = options.isFocusedContent) !== null && _a !== void 0 ? _a : true;
var popupViewModel = new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](popupModel);
if (!!rootElement && !!rootElement.appendChild) {
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
rootElement.appendChild(container);
popupViewModel.setComponentElement(container);
}
if (!popupViewModel.container) {
popupViewModel.initializePopupContainer();
}
return popupViewModel;
}
function createPopupViewModel(model, targetElement) {
if (model.isModal) {
return new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](model);
}
else {
return new _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupDropdownViewModel"](model, targetElement);
}
}
/***/ }),
/***/ "./src/popup-view-model.ts":
/*!*********************************!*\
!*** ./src/popup-view-model.ts ***!
\*********************************/
/*! exports provided: FOCUS_INPUT_SELECTOR, PopupBaseViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FOCUS_INPUT_SELECTOR", function() { return FOCUS_INPUT_SELECTOR; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return PopupBaseViewModel; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var FOCUS_INPUT_SELECTOR = "input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^=\"-\"])";
var PopupBaseViewModel = /** @class */ (function (_super) {
__extends(PopupBaseViewModel, _super);
function PopupBaseViewModel(model) {
var _this = _super.call(this) || this;
_this.subscriptionId = PopupBaseViewModel.SubscriptionId++;
_this.popupSelector = ".sv-popup";
_this.fixedPopupContainer = ".sv-popup";
_this.containerSelector = ".sv-popup__container";
_this.scrollingContentSelector = ".sv-popup__scrolling-content";
_this.model = model;
return _this;
}
Object.defineProperty(PopupBaseViewModel.prototype, "container", {
get: function () {
return this.containerElement || this.createdContainer;
},
enumerable: false,
configurable: true
});
PopupBaseViewModel.prototype.getLocale = function () {
if (!!this.locale)
return this.locale;
return _super.prototype.getLocale.call(this);
};
PopupBaseViewModel.prototype.hidePopup = function () {
this.model.isVisible = false;
};
PopupBaseViewModel.prototype.getStyleClass = function () {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
.append(this.model.cssClass)
.append("sv-popup--" + this.model.displayMode, this.isOverlay);
};
PopupBaseViewModel.prototype.getShowFooter = function () {
return this.isOverlay;
};
PopupBaseViewModel.prototype.getShowHeader = function () {
return false;
};
PopupBaseViewModel.prototype.getPopupHeaderTemplate = function () {
return undefined;
};
PopupBaseViewModel.prototype.createFooterActionBar = function () {
var _this = this;
this.footerToolbarValue = new _actions_container__WEBPACK_IMPORTED_MODULE_3__["ActionContainer"]();
this.footerToolbar.updateCallback = function (isResetInitialized) {
_this.footerToolbarValue.actions.forEach(function (action) { return action.cssClasses = {
item: "sv-popup__body-footer-item sv-popup__button sd-btn"
}; });
};
var footerActions = [{
id: "cancel",
visibleIndex: 10,
title: this.cancelButtonText,
innerCss: "sv-popup__button--cancel sd-btn",
action: function () { _this.cancel(); }
}];
footerActions = this.model.updateFooterActions(footerActions);
this.footerToolbarValue.setItems(footerActions);
};
PopupBaseViewModel.prototype.resetDimensionsAndPositionStyleProperties = function () {
var nullableValue = "inherit";
this.top = nullableValue;
this.left = nullableValue;
this.height = nullableValue;
this.width = nullableValue;
this.minWidth = nullableValue;
};
PopupBaseViewModel.prototype.onModelChanging = function (newModel) {
};
PopupBaseViewModel.prototype.setupModel = function (model) {
var _this = this;
if (!!this.model) {
this.model.unregisterPropertyChangedHandlers(["isVisible"], "PopupBaseViewModel" + this.subscriptionId);
}
this.onModelChanging(model);
this._model = model;
var onIsVisibleChangedHandler = function () {
if (!model.isVisible) {
_this.updateOnHiding();
}
_this.isVisible = model.isVisible;
};
model.registerPropertyChangedHandlers(["isVisible"], onIsVisibleChangedHandler, "PopupBaseViewModel" + this.subscriptionId);
onIsVisibleChangedHandler();
};
Object.defineProperty(PopupBaseViewModel.prototype, "model", {
get: function () {
return this._model;
},
set: function (model) {
this.setupModel(model);
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "title", {
get: function () {
return this.model.title;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "contentComponentName", {
get: function () {
return this.model.contentComponentName;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "contentComponentData", {
get: function () {
return this.model.contentComponentData;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "isModal", {
get: function () {
return this.model.isModal;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "isFocusedContent", {
get: function () {
return this.model.isFocusedContent;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "isFocusedContainer", {
get: function () {
return this.model.isFocusedContainer;
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "showFooter", {
get: function () {
return this.getShowFooter();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "showHeader", {
get: function () {
return this.getShowHeader();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "popupHeaderTemplate", {
get: function () {
return this.getPopupHeaderTemplate();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "isOverlay", {
get: function () {
return this.model.displayMode === "overlay";
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "styleClass", {
get: function () {
return this.getStyleClass().toString();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "cancelButtonText", {
get: function () {
return this.getLocalizationString("modalCancelButtonText");
},
enumerable: false,
configurable: true
});
Object.defineProperty(PopupBaseViewModel.prototype, "footerToolbar", {
get: function () {
if (!this.footerToolbarValue) {
this.createFooterActionBar();
}
return this.footerToolbarValue;
},
enumerable: false,
configurable: true
});
PopupBaseViewModel.prototype.onKeyDown = function (event) {
if (event.key === "Tab" || event.keyCode === 9) {
this.trapFocus(event);
}
else if (event.key === "Escape" || event.keyCode === 27) {
this.hidePopup();
}
};
PopupBaseViewModel.prototype.trapFocus = function (event) {
var focusableElements = this.container.querySelectorAll(FOCUS_INPUT_SELECTOR);
var firstFocusableElement = focusableElements[0];
var lastFocusableElement = focusableElements[focusableElements.length - 1];
if (event.shiftKey) {
if (_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.root.activeElement === firstFocusableElement) {
lastFocusableElement.focus();
event.preventDefault();
}
}
else {
if (_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.root.activeElement === lastFocusableElement) {
firstFocusableElement.focus();
event.preventDefault();
}
}
};
PopupBaseViewModel.prototype.switchFocus = function () {
if (this.isFocusedContent) {
this.focusFirstInput();
}
else if (this.isFocusedContainer) {
this.focusContainer();
}
};
PopupBaseViewModel.prototype.updateOnShowing = function () {
this.prevActiveElement = _settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.root.activeElement;
if (this.isOverlay) {
this.resetDimensionsAndPositionStyleProperties();
}
this.switchFocus();
};
PopupBaseViewModel.prototype.updateOnHiding = function () {
if (this.isFocusedContent && this.prevActiveElement) {
this.prevActiveElement.focus();
}
};
PopupBaseViewModel.prototype.focusContainer = function () {
if (!this.container)
return;
var popup = this.container.querySelector(this.popupSelector);
popup === null || popup === void 0 ? void 0 : popup.focus();
};
PopupBaseViewModel.prototype.focusFirstInput = function () {
var _this = this;
setTimeout(function () {
if (!_this.container)
return;
var el = _this.container.querySelector(_this.model.focusFirstInputSelector || FOCUS_INPUT_SELECTOR);
if (!!el)
el.focus();
else
_this.focusContainer();
}, 100);
};
PopupBaseViewModel.prototype.clickOutside = function (event) {
this.hidePopup();
event === null || event === void 0 ? void 0 : event.stopPropagation();
};
PopupBaseViewModel.prototype.cancel = function () {
this.model.onCancel();
this.hidePopup();
};
PopupBaseViewModel.prototype.dispose = function () {
_super.prototype.dispose.call(this);
if (this.model) {
this.model.unregisterPropertyChangedHandlers(["isVisible"], "PopupBaseViewModel" + this.subscriptionId);
}
if (!!this.createdContainer) {
this.createdContainer.remove();
this.createdContainer = undefined;
}
if (!!this.footerToolbarValue) {
this.footerToolbarValue.dispose();
}
this.resetComponentElement();
};
PopupBaseViewModel.prototype.initializePopupContainer = function () {
if (!this.container) {
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].createElement("div");
this.createdContainer = container;
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["getElement"])(_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.popupMountContainer).appendChild(container);
}
};
PopupBaseViewModel.prototype.setComponentElement = function (componentRoot, targetElement) {
if (!!componentRoot) {
this.containerElement = componentRoot;
}
};
PopupBaseViewModel.prototype.resetComponentElement = function () {
this.containerElement = undefined;
this.prevActiveElement = undefined;
};
PopupBaseViewModel.prototype.preventScrollOuside = function (event, deltaY) {
var currentElement = event.target;
while (currentElement !== this.container) {
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(currentElement).overflowY === "auto" && currentElement.scrollHeight !== currentElement.offsetHeight) {
var scrollHeight = currentElement.scrollHeight, scrollTop = currentElement.scrollTop, clientHeight = currentElement.clientHeight;
if (!(deltaY > 0 && Math.abs(scrollHeight - clientHeight - scrollTop) < 1) && !(deltaY < 0 && scrollTop <= 0)) {
return;
}
}
currentElement = currentElement.parentElement;
}
if (event.cancelable) {
event.preventDefault();
}
};
PopupBaseViewModel.SubscriptionId = 0;
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "0px" })
], PopupBaseViewModel.prototype, "top", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "0px" })
], PopupBaseViewModel.prototype, "left", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
], PopupBaseViewModel.prototype, "height", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
], PopupBaseViewModel.prototype, "width", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
], PopupBaseViewModel.prototype, "minWidth", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
], PopupBaseViewModel.prototype, "isVisible", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
], PopupBaseViewModel.prototype, "locale", void 0);
return PopupBaseViewModel;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
/***/ }),
/***/ "./src/popup.ts":
/*!**********************!*\
!*** ./src/popup.ts ***!
\**********************/
/*! exports provided: PopupModel, createDialogOptions */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return PopupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return createDialogOptions; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var PopupModel = /** @class */ (function (_super) {
__extends(PopupModel, _super);
function PopupModel(contentComponentName, contentComponentData, verticalPosition, horizontalPosition, showPointer, isModal, onCancel, onApply, onHide, onShow, cssClass, title, onDispose) {
if (verticalPosition === void 0) { verticalPosition = "bottom"; }
if (horizontalPosition === void 0) { horizontalPosition = "left"; }
if (showPointer === void 0) { showPointer = true; }
if (isModal === void 0) { isModal = false; }
if (onCancel === void 0) { onCancel = function () { }; }
if (onApply === void 0) { onApply = function () { return true; }; }
if (onHide === void 0) { onHide = function () { }; }
if (onShow === void 0) { onShow = function () { }; }
if (cssClass === void 0) { cssClass = ""; }
if (title === void 0) { title = ""; }
if (onDispose === void 0) { onDispose = function () { }; }
var _this = _super.call(this) || this;
_this.onDispose = onDispose;
_this.focusFirstInputSelector = "";
_this.onVisibilityChanged = _this.addEvent();
_this.onFooterActionsCreated = _this.addEvent();
_this.onRecalculatePosition = _this.addEvent();
_this.contentComponentName = contentComponentName;
_this.contentComponentData = contentComponentData;
_this.verticalPosition = verticalPosition;
_this.horizontalPosition = horizontalPosition;
_this.showPointer = showPointer;
_this.isModal = isModal;
_this.onCancel = onCancel;
_this.onApply = onApply;
_this.onHide = onHide;
_this.onShow = onShow;
_this.cssClass = cssClass;
_this.title = title;
return _this;
}
PopupModel.prototype.refreshInnerModel = function () {
var innerModel = this.contentComponentData["model"];
innerModel && innerModel.refresh && innerModel.refresh();
};
Object.defineProperty(PopupModel.prototype, "isVisible", {
get: function () {
return this.getPropertyValue("isVisible", false);
},
set: function (value) {
if (this.isVisible === value) {
return;
}
this.setPropertyValue("isVisible", value);
this.onVisibilityChanged.fire(this, { model: this, isVisible: value });
if (this.isVisible) {
this.onShow();
}
else {
this.refreshInnerModel();
this.onHide();
}
},
enumerable: false,
configurable: true
});
PopupModel.prototype.toggleVisibility = function () {
this.isVisible = !this.isVisible;
};
PopupModel.prototype.recalculatePosition = function (isResetHeight) {
this.onRecalculatePosition.fire(this, { isResetHeight: isResetHeight });
};
PopupModel.prototype.updateFooterActions = function (footerActions) {
var options = { actions: footerActions };
this.onFooterActionsCreated.fire(this, options);
return options.actions;
};
PopupModel.prototype.dispose = function () {
_super.prototype.dispose.call(this);
this.onDispose();
};
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
], PopupModel.prototype, "contentComponentName", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
], PopupModel.prototype, "contentComponentData", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "bottom" })
], PopupModel.prototype, "verticalPosition", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "left" })
], PopupModel.prototype, "horizontalPosition", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
], PopupModel.prototype, "showPointer", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
], PopupModel.prototype, "isModal", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: true })
], PopupModel.prototype, "isFocusedContent", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: true })
], PopupModel.prototype, "isFocusedContainer", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: function () { } })
], PopupModel.prototype, "onCancel", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: function () { return true; } })
], PopupModel.prototype, "onApply", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: function () { } })
], PopupModel.prototype, "onHide", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: function () { } })
], PopupModel.prototype, "onShow", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "" })
], PopupModel.prototype, "cssClass", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "" })
], PopupModel.prototype, "title", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
], PopupModel.prototype, "overlayDisplayMode", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "popup" })
], PopupModel.prototype, "displayMode", void 0);
__decorate([
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "flex" })
], PopupModel.prototype, "positionMode", void 0);
return PopupModel;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
function createDialogOptions(componentName, data, onApply, onCancel, onHide, onShow, cssClass, title, displayMode) {
if (onHide === void 0) { onHide = function () { }; }
if (onShow === void 0) { onShow = function () { }; }
if (displayMode === void 0) { displayMode = "popup"; }
_console_warnings__WEBPACK_IMPORTED_MODULE_2__["ConsoleWarnings"].warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead.");
return {
componentName: componentName,
data: data,
onApply: onApply,
onCancel: onCancel,
onHide: onHide,
onShow: onShow,
cssClass: cssClass,
title: title,
displayMode: displayMode
};
}
/***/ }),
/***/ "./src/progress-buttons.ts":
/*!*********************************!*\
!*** ./src/progress-buttons.ts ***!
\*********************************/
/*! exports provided: ProgressButtons, ProgressButtonsResponsivityManager */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return ProgressButtons; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return ProgressButtonsResponsivityManager; });
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./page */ "./src/page.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var ProgressButtons = /** @class */ (function (_super) {
__extends(ProgressButtons, _super);
function ProgressButtons(survey) {
var _this = _super.call(this) || this;
_this.survey = survey;
_this.onResize = _this.addEvent();
return _this;
}
ProgressButtons.prototype.isListElementClickable = function (index) {
if (!this.survey.onServerValidateQuestions ||
this.survey.onServerValidateQuestions.isEmpty ||
this.survey.checkErrorsMode === "onComplete") {
return true;
}
return index <= this.survey.currentPageNo + 1;
};
ProgressButtons.prototype.getRootCss = function (container) {
if (container === void 0) { container = "center"; }
var result = this.survey.css.progressButtonsContainerCenter;
if (this.survey.css.progressButtonsRoot) {
result += " " + this.survey.css.progressButtonsRoot + " " + this.survey.css.progressButtonsRoot + "--" + (["footer", "contentBottom"].indexOf(container) !== -1 ? "bottom" : "top");
result += " " + this.survey.css.progressButtonsRoot + "--" + (this.showItemTitles ? "with-titles" : "no-titles");
}
if (this.showItemNumbers && this.survey.css.progressButtonsNumbered) {
result += " " + this.survey.css.progressButtonsNumbered;
}
if (this.isFitToSurveyWidth) {
result += " " + this.survey.css.progressButtonsFitSurveyWidth;
}
return result;
};
ProgressButtons.prototype.getListElementCss = function (index) {
if (index >= this.survey.visiblePages.length)
return;
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
.append(this.survey.css.progressButtonsListElementPassed, this.survey.visiblePages[index].passed)
.append(this.survey.css.progressButtonsListElementCurrent, this.survey.currentPageNo === index)
.append(this.survey.css.progressButtonsListElementNonClickable, !this.isListElementClickable(index))
.toString();
};
ProgressButtons.prototype.getScrollButtonCss = function (hasScroller, isLeftScroll) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
.append(this.survey.css.progressButtonsImageButtonLeft, isLeftScroll)
.append(this.survey.css.progressButtonsImageButtonRight, !isLeftScroll)
.append(this.survey.css.progressButtonsImageButtonHidden, !hasScroller)
.toString();
};
ProgressButtons.prototype.clickListElement = function (element) {
if (!(element instanceof _page__WEBPACK_IMPORTED_MODULE_2__["PageModel"])) {
element = this.survey.visiblePages[element];
}
this.survey.tryNavigateToPage(element);
};
ProgressButtons.prototype.isListContainerHasScroller = function (element) {
var listContainerElement = element.querySelector("." + this.survey.css.progressButtonsListContainer);
if (!!listContainerElement) {
return listContainerElement.scrollWidth > listContainerElement.offsetWidth;
}
return false;
};
ProgressButtons.prototype.isCanShowItemTitles = function (element) {
var listContainerElement = element.querySelector("ul");
if (!listContainerElement || listContainerElement.children.length < 2)
return true;
if (listContainerElement.clientWidth > listContainerElement.parentElement.clientWidth) {
return false;
}
var expectedElementWidth = listContainerElement.children[0].clientWidth;
for (var i = 0; i < listContainerElement.children.length; i++) {
if (Math.abs(listContainerElement.children[i].clientWidth - expectedElementWidth) > 5) {
return false;
}
}
return true;
};
ProgressButtons.prototype.clearConnectorsWidth = function (element) {
var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
for (var i = 0; i < listContainerElements.length; i++) {
listContainerElements[i].style.width = "";
}
};
ProgressButtons.prototype.adjustConnectors = function (element) {
var listContainerElement = element.querySelector("ul");
if (!listContainerElement)
return;
var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
var circleWidth = this.showItemNumbers ? 17 : 5;
var connectorWidth = listContainerElement.clientWidth / (listContainerElement.children.length - 1) - circleWidth;
for (var i = 0; i < listContainerElements.length; i++) {
listContainerElements[i].style.width = connectorWidth + "px";
}
};
Object.defineProperty(ProgressButtons.prototype, "isFitToSurveyWidth", {
get: function () {
if (_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__["surveyCss"].currentType !== "defaultV2") {
return false;
}
return this.survey.progressBarInheritWidthFrom === "survey" && this.survey.widthMode == "static";
},
enumerable: false,
configurable: true
});
Object.defineProperty(ProgressButtons.prototype, "progressWidth", {
get: function () {
if (this.isFitToSurveyWidth) {
return this.survey.width;
}
return "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(ProgressButtons.prototype, "showItemNumbers", {
get: function () {
if (_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__["surveyCss"].currentType !== "defaultV2") {
return false;
}
return this.survey.progressBarShowPageNumbers;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ProgressButtons.prototype, "showItemTitles", {
get: function () {
if (_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__["surveyCss"].currentType !== "defaultV2") {
return true;
}
return this.survey.progressBarShowPageTitles;
},
enumerable: false,
configurable: true
});
ProgressButtons.prototype.getItemNumber = function (page) {
var result = "";
if (this.showItemNumbers) {
result += this.survey.visiblePages.indexOf(page) + 1;
}
return result;
};
Object.defineProperty(ProgressButtons.prototype, "headerText", {
get: function () {
return this.survey.currentPage ? this.survey.currentPage.renderedNavigationTitle : "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(ProgressButtons.prototype, "footerText", {
get: function () {
return this.survey.progressText;
},
enumerable: false,
configurable: true
});
ProgressButtons.prototype.processResponsiveness = function (width) {
this.onResize.fire(this, { width: width });
};
return ProgressButtons;
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
var ProgressButtonsResponsivityManager = /** @class */ (function () {
function ProgressButtonsResponsivityManager(model, element, viewModel) {
var _this = this;
this.model = model;
this.element = element;
this.viewModel = viewModel;
this.criticalProperties = ["progressBarType", "progressBarShowPageTitles"];
this.canShowItemTitles = true;
this.processResponsiveness = function (model, options) {
_this.viewModel.onUpdateScroller(model.isListContainerHasScroller(_this.element));
if (!model.showItemTitles) {
_this.model.adjustConnectors(_this.element);
return;
}
if (model.survey.isMobile) {
_this.prevWidth = options.width;
_this.canShowItemTitles = false;
_this.model.adjustConnectors(_this.element);
_this.viewModel.onResize(_this.canShowItemTitles);
return;
}
_this.model.clearConnectorsWidth(_this.element);
if (_this.timer !== undefined) {
clearTimeout(_this.timer);
}
_this.timer = setTimeout(function () {
if (_this.prevWidth === undefined || _this.prevWidth < options.width && !_this.canShowItemTitles || _this.prevWidth > options.width && _this.canShowItemTitles) {
_this.prevWidth = options.width;
_this.canShowItemTitles = model.isCanShowItemTitles(_this.element);
_this.viewModel.onResize(_this.canShowItemTitles);
_this.timer = undefined;
}
}, 10);
};
this.model.survey.registerFunctionOnPropertiesValueChanged(this.criticalProperties, function () { return _this.forceUpdate(); }, "ProgressButtonsResponsivityManager" + this.viewModel.container);
this.model.onResize.add(this.processResponsiveness);
this.forceUpdate();
}
ProgressButtonsResponsivityManager.prototype.forceUpdate = function () {
this.viewModel.onUpdateSettings();
this.processResponsiveness(this.model, {});
};
ProgressButtonsResponsivityManager.prototype.dispose = function () {
clearTimeout(this.timer);
this.model.onResize.remove(this.processResponsiveness);
this.model.survey.unRegisterFunctionOnPropertiesValueChanged(this.criticalProperties, "ProgressButtonsResponsivityManager" + this.viewModel.container);
this.element = undefined;
this.model = undefined;
};
return ProgressButtonsResponsivityManager;
}());
/***/ }),
/***/ "./src/question.ts":
/*!*************************!*\
!*** ./src/question.ts ***!
\*************************/
/*! exports provided: Question */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return Question; });
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./survey-element */ "./src/survey-element.ts");
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./error */ "./src/error.ts");
/* harmony import */ var _validator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./validator */ "./src/validator.ts");
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./localizablestring */ "./src/localizablestring.ts");
/* harmony import */ var _conditions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./conditions */ "./src/conditions.ts");
/* harmony import */ var _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./questionCustomWidgets */ "./src/questionCustomWidgets.ts");
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
/* harmony import */ var _rendererFactory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./rendererFactory */ "./src/rendererFactory.ts");
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./conditionProcessValue */ "./src/conditionProcessValue.ts");
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var TriggerExpressionInfo = /** @class */ (function () {
function TriggerExpressionInfo(name, canRun, doComplete) {
this.name = name;
this.canRun = canRun;
this.doComplete = doComplete;
this.runSecondCheck = function (keys) { return false; };
}
return TriggerExpressionInfo;
}());
/**
* A base class for all questions.
*/
var Question = /** @class */ (function (_super) {
__extends(Question, _super);
function Question(name) {
var _this = _super.call(this, name) || this;
_this.customWidgetData = { isNeedRender: true };
_this.hasCssErrorCallback = function () { return false; };
_this.isReadyValue = true;
_this.dependedQuestions = [];
/**
* An event that is raised when the question's ready state has changed (expressions are evaluated, choices are loaded from a web resource specified by the `choicesByUrl` property, etc.).
*
* Parameters:
*
* - `sender`: `SurveyModel`\
* A survey instance that contains the question whose ready state has changed.
* - `options.isReady`: `boolean`\
* Indicates whether the question is ready.
* - `options.oldIsReady`: `boolean`\
* Indicates the previous ready state.
*/
_this.onReadyChanged = _this.addEvent();
_this.triggersInfo = [];
_this.isRunningValidatorsValue = false;
_this.isValueChangedInSurvey = false;
_this.allowNotifyValueChanged = true;
_this.id = Question.getQuestionId();
_this.onCreating();
_this.createNewArray("validators", function (validator) {
validator.errorOwner = _this;
});
_this.addExpressionProperty("visibleIf", function (obj, res) { _this.visible = res === true; }, function (obj) { return !_this.areInvisibleElementsShowing; });
_this.addExpressionProperty("enableIf", function (obj, res) { _this.readOnly = res === false; });
_this.addExpressionProperty("requiredIf", function (obj, res) { _this.isRequired = res === true; });
_this.createLocalizableString("commentText", _this, true, "otherItemText");
_this.createLocalizableString("requiredErrorText", _this);
_this.addTriggerInfo("resetValueIf", function () { return !_this.isEmpty(); }, function () {
_this.clearValue();
_this.updateValueWithDefaults();
});
var setValueIfInfo = _this.addTriggerInfo("setValueIf", function () { return true; }, function () { return _this.runSetValueExpression(); });
setValueIfInfo.runSecondCheck = function (keys) { return _this.checkExpressionIf(keys); };
_this.registerPropertyChangedHandlers(["width"], function () {
_this.updateQuestionCss();
if (!!_this.parent) {
_this.parent.elementWidthChanged(_this);
}
});
_this.registerPropertyChangedHandlers(["isRequired"], function () {
if (!_this.isRequired && _this.errors.length > 0) {
_this.validate();
}
_this.locTitle.strChanged();
_this.clearCssClasses();
});
_this.registerPropertyChangedHandlers(["indent", "rightIndent"], function () {
_this.onIndentChanged();
});
_this.registerPropertyChangedHandlers(["showCommentArea", "showOtherItem"], function () {
_this.initCommentFromSurvey();
});
_this.registerFunctionOnPropertiesValueChanged(["no", "readOnly", "hasVisibleErrors", "containsErrors"], function () {
_this.updateQuestionCss();
});
_this.registerPropertyChangedHandlers(["isMobile"], function () { _this.onMobileChanged(); });
return _this;
}
Question.getQuestionId = function () {
return "sq_" + Question.questionCounter++;
};
Question.prototype.isReadOnlyRenderDiv = function () {
return this.isReadOnly && _settings__WEBPACK_IMPORTED_MODULE_8__["settings"].readOnly.commentRenderMode === "div";
};
Question.prototype.allowMobileInDesignMode = function () {
return false;
};
Question.prototype.updateIsMobileFromSurvey = function () {
this.setIsMobile(this.survey._isMobile);
};
Question.prototype.setIsMobile = function (val) {
this.isMobile = val && (this.allowMobileInDesignMode() || !this.isDesignMode);
};
Question.prototype.themeChanged = function (theme) { };
Question.prototype.getDefaultTitle = function () { return this.name; };
Question.prototype.createLocTitleProperty = function () {
var _this = this;
var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
locTitleValue.storeDefaultText = true;
locTitleValue.onGetTextCallback = function (text) {
if (!text) {
text = _this.getDefaultTitle();
}
if (!_this.survey)
return text;
return _this.survey.getUpdatedQuestionTitle(_this, text);
};
this.locProcessedTitle = new _localizablestring__WEBPACK_IMPORTED_MODULE_5__["LocalizableString"](this, true);
this.locProcessedTitle.sharedData = locTitleValue;
return locTitleValue;
};
Question.prototype.getSurvey = function (live) {
if (live === void 0) { live = false; }
if (live) {
return !!this.parent ? this.parent.getSurvey(live) : null;
}
if (!!this.onGetSurvey)
return this.onGetSurvey();
return _super.prototype.getSurvey.call(this);
};
Question.prototype.getValueName = function () {
if (!!this.valueName)
return this.valueName.toString();
return this.name;
};
Object.defineProperty(Question.prototype, "valueName", {
/**
* Specifies an object property that should store the question value.
*
* Refer to the [Merge Question Values](https://surveyjs.io/form-library/documentation/design-survey-merge-question-values) help topic for more information.
*/
get: function () {
return this.getPropertyValue("valueName", "");
},
set: function (val) {
var oldValueName = this.getValueName();
this.setPropertyValue("valueName", val);
this.onValueNameChanged(oldValueName);
},
enumerable: false,
configurable: true
});
Question.prototype.onValueNameChanged = function (oldValue) {
if (!this.survey)
return;
this.survey.questionRenamed(this, this.name, !!oldValue ? oldValue : this.name);
this.initDataFromSurvey();
};
Question.prototype.onNameChanged = function (oldValue) {
this.locTitle.strChanged();
if (!this.survey)
return;
this.survey.questionRenamed(this, oldValue, this.valueName ? this.valueName : oldValue);
};
Object.defineProperty(Question.prototype, "isReady", {
get: function () {
return this.isReadyValue;
},
enumerable: false,
configurable: true
});
Question.prototype.onAsyncRunningChanged = function () {
this.updateIsReady();
};
Question.prototype.updateIsReady = function () {
var res = this.getIsQuestionReady();
if (res) {
var questions = this.getIsReadyDependsOn();
for (var i = 0; i < questions.length; i++) {
if (!questions[i].getIsQuestionReady()) {
res = false;
break;
}
}
}
this.setIsReady(res);
};
Question.prototype.getIsQuestionReady = function () {
return !this.isAsyncExpressionRunning && this.getAreNestedQuestionsReady();
};
Question.prototype.getAreNestedQuestionsReady = function () {
var questions = this.getIsReadyNestedQuestions();
if (!Array.isArray(questions))
return true;
for (var i = 0; i < questions.length; i++) {
if (!questions[i].isReady)
return false;
}
return true;
};
Question.prototype.getIsReadyNestedQuestions = function () {
return this.getNestedQuestions();
};
Question.prototype.setIsReady = function (val) {
var oldIsReady = this.isReadyValue;
this.isReadyValue = val;
if (oldIsReady != val) {
this.getIsReadyDependends().forEach(function (q) { return q.updateIsReady(); });
this.onReadyChanged.fire(this, {
question: this,
isReady: val,
oldIsReady: oldIsReady,
});
}
};
Question.prototype.getIsReadyDependsOn = function () {
return this.getIsReadyDependendCore(true);
};
Question.prototype.getIsReadyDependends = function () {
return this.getIsReadyDependendCore(false);
};
Question.prototype.getIsReadyDependendCore = function (isDependOn) {
var _this = this;
if (!this.survey)
return [];
var questions = this.survey.questionsByValueName(this.getValueName());
var res = new Array();
questions.forEach(function (q) { if (q !== _this)
res.push(q); });
if (!isDependOn) {
if (this.parentQuestion) {
res.push(this.parentQuestion);
}
if (this.dependedQuestions.length > 0) {
this.dependedQuestions.forEach(function (q) { return res.push(q); });
}
}
return res;
};
Question.prototype.choicesLoaded = function () { };
Object.defineProperty(Question.prototype, "page", {
/**
* Returns a page to which the question belongs and allows you to move this question to a different page.
*/
get: function () {
if (!!this.parentQuestion)
return this.parentQuestion.page;
return this.getPage(this.parent);
},
set: function (val) {
this.setPage(this.parent, val);
},
enumerable: false,
configurable: true
});
Question.prototype.getPanel = function () {
return null;
};
Question.prototype.delete = function (doDispose) {
if (doDispose === void 0) { doDispose = true; }
this.removeFromParent();
if (doDispose) {
this.dispose();
}
else {
this.resetDependedQuestions();
}
};
Question.prototype.removeFromParent = function () {
if (!!this.parent) {
this.removeSelfFromList(this.parent.elements);
}
};
Question.prototype.addDependedQuestion = function (question) {
if (!question || this.dependedQuestions.indexOf(question) > -1)
return;
this.dependedQuestions.push(question);
};
Question.prototype.removeDependedQuestion = function (question) {
if (!question)
return;
var index = this.dependedQuestions.indexOf(question);
if (index > -1) {
this.dependedQuestions.splice(index, 1);
}
};
Question.prototype.updateDependedQuestions = function () {
for (var i = 0; i < this.dependedQuestions.length; i++) {
this.dependedQuestions[i].updateDependedQuestion();
}
};
Question.prototype.updateDependedQuestion = function () { };
Question.prototype.resetDependedQuestion = function () { };
Object.defineProperty(Question.prototype, "isFlowLayout", {
get: function () {
return this.getLayoutType() === "flow";
},
enumerable: false,
configurable: true
});
Question.prototype.getLayoutType = function () {
if (!!this.parent)
return this.parent.getChildrenLayoutType();
return "row";
};
Question.prototype.isLayoutTypeSupported = function (layoutType) {
return layoutType !== "flow";
};
Object.defineProperty(Question.prototype, "visible", {
/**
* Gets or sets question visibility.
*
* If you want to display or hide a question based on a condition, specify the [`visibleIf`](https://surveyjs.io/form-library/documentation/question#visibleIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see isVisible
* @see visibleIf
*/
get: function () {
return this.getPropertyValue("visible", true);
},
set: function (val) {
if (val == this.visible)
return;
this.setPropertyValue("visible", val);
this.onVisibleChanged();
this.notifySurveyVisibilityChanged();
},
enumerable: false,
configurable: true
});
Question.prototype.onVisibleChanged = function () {
this.updateIsVisibleProp();
if (!this.isVisible && this.errors && this.errors.length > 0) {
this.errors = [];
}
};
Question.prototype.notifyStateChanged = function (prevState) {
_super.prototype.notifyStateChanged.call(this, prevState);
if (this.isCollapsed) {
this.onHidingContent();
}
};
Question.prototype.updateIsVisibleProp = function () {
var prev = this.getPropertyValue("isVisible");
var val = this.isVisible;
if (prev !== val) {
this.setPropertyValue("isVisible", val);
if (!val) {
this.onHidingContent();
}
}
};
Object.defineProperty(Question.prototype, "useDisplayValuesInDynamicTexts", {
/**
* Specifies whether to use display names for question values in placeholders.
*
* Default value: `true`
*
* This property applies to questions whose values are defined as objects with the `value` and `text` properties (for example, [choice items](https://surveyjs.io/form-library/documentation/questionradiogroupmodel#choices) in Radiogroup, Checkbox, and Dropdown questions).
*
* You can use question values as placeholders in the following places:
*
* - Survey element titles and descriptions
* - The [`html`](https://surveyjs.io/form-library/documentation/questionhtmlmodel#html) property of the [HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel) question
*
* To use a question value as a placeholder, specify the question `name` in curly brackets: `{questionName}`. Refer to the following help topic for more information: [Dynamic Texts - Question Values](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#question-values).
*/
get: function () {
return this.getPropertyValue("useDisplayValuesInDynamicTexts");
},
set: function (val) {
this.setPropertyValue("useDisplayValuesInDynamicTexts", val);
},
enumerable: false,
configurable: true
});
Question.prototype.getUseDisplayValuesInDynamicTexts = function () { return this.useDisplayValuesInDynamicTexts; };
Object.defineProperty(Question.prototype, "visibleIf", {
/**
* A Boolean expression. If it evaluates to `false`, this question becomes hidden.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visible
* @see isVisible
*/
get: function () {
return this.getPropertyValue("visibleIf", "");
},
set: function (val) {
this.setPropertyValue("visibleIf", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isVisible", {
/**
* Returns `true` if the question is visible or the survey is currently in design mode.
*
* If you want to display or hide a question based on a condition, specify the [`visibleIf`](https://surveyjs.io/form-library/documentation/question#visibleIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see visibleIf
* @see visible
* @see isParentVisible
*/
get: function () {
if (this.survey && this.survey.areEmptyElementsHidden && this.isEmpty())
return false;
if (this.areInvisibleElementsShowing)
return true;
return this.isVisibleCore();
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isVisibleInSurvey", {
get: function () {
return this.isVisible && this.isParentVisible;
},
enumerable: false,
configurable: true
});
Question.prototype.isVisibleCore = function () {
return this.visible;
};
Object.defineProperty(Question.prototype, "visibleIndex", {
/**
* Returns the visible index of the question in the survey. It can be from 0 to all visible questions count - 1
* The visibleIndex is -1 if the title is 'hidden' or hideNumber is true
* @see titleLocation
* @see hideNumber
*/
get: function () {
return this.getPropertyValue("visibleIndex", -1);
},
enumerable: false,
configurable: true
});
Question.prototype.onHidingContent = function () { };
Object.defineProperty(Question.prototype, "hideNumber", {
/**
* Hides the question number from the title and excludes the question from numbering.
*
* If you want to disable question numbering in the entire survey, set `SurveyModel`'s `showQuestionNumbers` property to `false`.
* @see SurveyModel.showQuestionNumbers
*/
get: function () {
return this.getPropertyValue("hideNumber");
},
set: function (val) {
this.setPropertyValue("hideNumber", val);
this.notifySurveyVisibilityChanged();
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isAllowTitleLeft", {
/**
* Returns `true` if the question can display its title to the left of the input field.
* @see titleLocation
* @see getTitleLocation
* @see hasTitle
*/
get: function () {
return true;
},
enumerable: false,
configurable: true
});
/**
* Returns the question type.
* Possible values:
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
* - [*"tagbox"*](https://surveyjs.io/form-library/documentation/questiontagboxmodel)
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
*/
Question.prototype.getType = function () {
return "question";
};
Object.defineProperty(Question.prototype, "isQuestion", {
get: function () {
return true;
},
enumerable: false,
configurable: true
});
Question.prototype.moveTo = function (container, insertBefore) {
if (insertBefore === void 0) { insertBefore = null; }
return this.moveToBase(this.parent, container, insertBefore);
};
Question.prototype.getProgressInfo = function () {
if (!this.hasInput)
return _super.prototype.getProgressInfo.call(this);
return {
questionCount: 1,
answeredQuestionCount: !this.isEmpty() ? 1 : 0,
requiredQuestionCount: this.isRequired ? 1 : 0,
requiredAnsweredQuestionCount: !this.isEmpty() && this.isRequired ? 1 : 0,
};
};
Question.prototype.ensureSetValueExpressionRunner = function () {
var _this = this;
if (!this.setValueExpressionRunner) {
this.setValueExpressionRunner = new _conditions__WEBPACK_IMPORTED_MODULE_6__["ExpressionRunner"](this.setValueExpression);
this.setValueExpressionRunner.onRunComplete = function (res) {
if (!_this.isTwoValueEquals(_this.value, res)) {
_this.value = res;
}
};
}
else {
this.setValueExpressionRunner.expression = this.setValueExpression;
}
};
Question.prototype.runSetValueExpression = function () {
if (!this.setValueExpression) {
this.clearValue();
}
else {
this.ensureSetValueExpressionRunner();
this.setValueExpressionRunner.run(this.getDataFilteredValues(), this.getDataFilteredProperties());
}
};
Question.prototype.checkExpressionIf = function (keys) {
this.ensureSetValueExpressionRunner();
if (!this.setValueExpressionRunner)
return false;
return new _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__["ProcessValue"]().isAnyKeyChanged(keys, this.setValueExpressionRunner.getVariables());
};
Question.prototype.addTriggerInfo = function (name, canRun, doComplete) {
var info = new TriggerExpressionInfo(name, canRun, doComplete);
this.triggersInfo.push(info);
return info;
};
Question.prototype.runTriggerInfo = function (info, name, value) {
var expression = this[info.name];
var keys = {};
keys[name] = value;
if (!expression || info.isRunning || !info.canRun()) {
if (info.runSecondCheck(keys)) {
info.doComplete();
}
return;
}
if (!info.runner) {
info.runner = new _conditions__WEBPACK_IMPORTED_MODULE_6__["ExpressionRunner"](expression);
info.runner.onRunComplete = function (res) {
if (res === true) {
info.doComplete();
}
info.isRunning = false;
};
}
else {
info.runner.expression = expression;
}
if (!new _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__["ProcessValue"]().isAnyKeyChanged(keys, info.runner.getVariables()) && !info.runSecondCheck(keys))
return;
info.isRunning = true;
info.runner.run(this.getDataFilteredValues(), this.getDataFilteredProperties());
};
Question.prototype.runTriggers = function (name, value) {
var _this = this;
if (this.isReadOnly || this.isSettingQuestionValue ||
(this.parentQuestion && this.parentQuestion.getValueName() === name))
return;
this.triggersInfo.forEach(function (info) {
_this.runTriggerInfo(info, name, value);
});
};
Question.prototype.runConditions = function () {
if (this.data && !this.isLoadingFromJson) {
if (!this.isDesignMode) {
this.runCondition(this.getDataFilteredValues(), this.getDataFilteredProperties());
}
this.locStrsChanged();
}
};
Question.prototype.setSurveyImpl = function (value, isLight) {
_super.prototype.setSurveyImpl.call(this, value);
if (!this.survey)
return;
this.survey.questionCreated(this);
if (isLight !== true) {
this.runConditions();
}
this.calcRenderedCommentPlaceholder();
if (!this.visible) {
this.updateIsVisibleProp();
}
this.updateIsMobileFromSurvey();
};
Object.defineProperty(Question.prototype, "parent", {
/**
* Returns a survey element (panel or page) that contains the question and allows you to move this question to a different survey element.
*/
get: function () {
return this.getPropertyValue("parent", null);
},
set: function (val) {
if (this.parent === val)
return;
this.removeFromParent();
this.setPropertyValue("parent", val);
this.updateQuestionCss();
this.onParentChanged();
},
enumerable: false,
configurable: true
});
Question.prototype.onParentChanged = function () { };
Object.defineProperty(Question.prototype, "hasTitle", {
/**
* Returns `false` if the `titleLocation` property is set to `"hidden"` or if the question cannot have a title (for example, an [HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel) question).
*
* If the `title` property is `undefined` or set to an empty string, the `hasTitle` property returns `true`, because the question uses its `name` as a title in this case.
* @see title
* @see titleLocation
*/
get: function () {
return this.getTitleLocation() !== "hidden";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "titleLocation", {
/**
* Sets question title location relative to the input field. Overrides the `questionTitleLocation` property specified for the question's container (survey, page, or panel).
*
* Possible values:
*
* - `"default"` (default) - Inherits the setting from the `questionTitleLocation` property specified for the question's container.
* - `"top"` - Displays the title above the input field.
* - `"bottom"` - Displays the title below the input field.
* - `"left"` - Displays the title to the left of the input field.
* - `"hidden"` - Hides the question title.
*
* > Certain question types (Matrix, Multiple Text) do not support the `"left"` value. For them, the `"top"` value is used.
* @see SurveyModel.questionTitleLocation
* @see getTitleLocation
* @see isAllowTitleLeft
*/
get: function () {
return this.getPropertyValue("titleLocation");
},
set: function (value) {
var isVisibilityChanged = this.titleLocation == "hidden" || value == "hidden";
this.setPropertyValue("titleLocation", value.toLowerCase());
this.updateQuestionCss();
if (isVisibilityChanged) {
this.notifySurveyVisibilityChanged();
}
},
enumerable: false,
configurable: true
});
Question.prototype.getTitleOwner = function () { return this; };
Question.prototype.getIsTitleRenderedAsString = function () { return this.titleLocation === "hidden"; };
Question.prototype.notifySurveyVisibilityChanged = function () {
if (!this.survey || this.isLoadingFromJson)
return;
this.survey.questionVisibilityChanged(this, this.isVisible);
var isClearOnHidden = this.isClearValueOnHidden;
if (!this.visible) {
this.clearValueOnHidding(isClearOnHidden);
}
if (isClearOnHidden && this.isVisibleInSurvey) {
this.updateValueWithDefaults();
}
};
Question.prototype.clearValueOnHidding = function (isClearOnHidden) {
if (isClearOnHidden) {
this.clearValueIfInvisible();
}
};
/**
* Returns title location calculated based on the question's `titleLocation` property and the `questionTitleLocation` property of the question's containers (survey, page, or panel).
* @see titleLocation
* @see SurveyModel.questionTitleLocation
*/
Question.prototype.getTitleLocation = function () {
if (this.isFlowLayout)
return "hidden";
var location = this.getTitleLocationCore();
if (location === "left" && !this.isAllowTitleLeft)
location = "top";
return location;
};
Question.prototype.getTitleLocationCore = function () {
if (this.titleLocation !== "default")
return this.titleLocation;
if (!!this.parent)
return this.parent.getQuestionTitleLocation();
if (!!this.survey)
return this.survey.questionTitleLocation;
return "top";
};
Object.defineProperty(Question.prototype, "hasTitleOnLeft", {
get: function () {
return this.hasTitle && this.getTitleLocation() === "left";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasTitleOnTop", {
get: function () {
return this.hasTitle && this.getTitleLocation() === "top";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasTitleOnBottom", {
get: function () {
return this.hasTitle && this.getTitleLocation() === "bottom";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasTitleOnLeftTop", {
get: function () {
if (!this.hasTitle)
return false;
var location = this.getTitleLocation();
return location === "left" || location === "top";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "errorLocation", {
/**
* Specifies the error message position. Overrides the `questionErrorLocation` property specified for the question's container ([survey](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionErrorLocation), [page](https://surveyjs.io/form-library/documentation/api-reference/page-model#questionErrorLocation), or [panel](https://surveyjs.io/form-library/documentation/api-reference/panel-model#questionErrorLocation)).
*
* Possible values:
*
* - `"default"` (default) - Inherits the setting from the `questionErrorLocation` property specified for the question's container.
* - `"top"` - Displays error messages above questions.
* - `"bottom"` - Displays error messages below questions.
*/
get: function () {
return this.getPropertyValue("errorLocation");
},
set: function (val) {
this.setPropertyValue("errorLocation", val);
},
enumerable: false,
configurable: true
});
Question.prototype.getErrorLocation = function () {
if (this.errorLocation !== "default")
return this.errorLocation;
if (this.parentQuestion)
return this.parentQuestion.getChildErrorLocation(this);
if (this.parent)
return this.parent.getQuestionErrorLocation();
return this.survey ? this.survey.questionErrorLocation : "top";
};
Question.prototype.getChildErrorLocation = function (child) {
return this.getErrorLocation();
};
Object.defineProperty(Question.prototype, "hasInput", {
/**
* Returns `false` if the question has no input fields ([HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel), and similar question types).
* @see hasSingleInput
*/
get: function () {
return true;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasSingleInput", {
/**
* Returns `false` if the question has no input fields ([HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel)) or has multiple input fields ([Matrix](https://surveyjs.io/form-library/documentation/questionmatrixmodel), [Multiple Text](https://surveyjs.io/form-library/documentation/questionmultipletextmodel)).
* @see hasInput
*/
get: function () {
return this.hasInput;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "inputId", {
get: function () {
return this.id + "i";
},
enumerable: false,
configurable: true
});
Question.prototype.getDefaultTitleValue = function () { return this.name; };
Question.prototype.getDefaultTitleTagName = function () {
return _settings__WEBPACK_IMPORTED_MODULE_8__["settings"].titleTags.question;
};
Object.defineProperty(Question.prototype, "descriptionLocation", {
/**
* Specifies where to display a question description.
*
* Possible values:
*
* - `"default"` (default) - Inherits the setting from the Survey's [`questionDescriptionLocation`](https://surveyjs.io/form-library/documentation/surveymodel#questionDescriptionLocation) property.
* - `"underTitle"` - Displays the description under the question title.
* - `"underInput"` - Displays the description under the interactive area.
* @see description
* @see hasDescription
*/
get: function () {
return this.getPropertyValue("descriptionLocation");
},
set: function (val) {
this.setPropertyValue("descriptionLocation", val);
this.updateQuestionCss();
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasDescriptionUnderTitle", {
get: function () {
return this.getDescriptionLocation() == "underTitle" && this.hasDescription;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasDescriptionUnderInput", {
get: function () {
return this.getDescriptionLocation() == "underInput" && this.hasDescription;
},
enumerable: false,
configurable: true
});
Question.prototype.getDescriptionLocation = function () {
if (this.descriptionLocation !== "default")
return this.descriptionLocation;
return !!this.survey
? this.survey.questionDescriptionLocation
: "underTitle";
};
Question.prototype.needClickTitleFunction = function () {
return _super.prototype.needClickTitleFunction.call(this) || this.hasInput;
};
Question.prototype.processTitleClick = function () {
var _this = this;
_super.prototype.processTitleClick.call(this);
if (this.isCollapsed)
return;
setTimeout(function () {
_this.focus();
}, 1);
return true;
};
Object.defineProperty(Question.prototype, "requiredErrorText", {
/**
* Specifies a custom error message for a required form field.
* @see isRequired
*/
get: function () {
return this.getLocalizableStringText("requiredErrorText");
},
set: function (val) {
this.setLocalizableStringText("requiredErrorText", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "locRequiredErrorText", {
get: function () {
return this.getLocalizableString("requiredErrorText");
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "commentText", {
/**
* Specifies a caption displayed above the comment area. Applies when the `showCommentArea` property is `true`.
* @see showCommentArea
* @see comment
*/
get: function () {
return this.getLocalizableStringText("commentText");
},
set: function (val) {
this.setLocalizableStringText("commentText", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "locCommentText", {
get: function () {
return this.getLocalizableString("commentText");
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "commentPlaceHolder", {
get: function () {
return this.commentPlaceholder;
},
set: function (newValue) {
this.commentPlaceholder = newValue;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "renderedCommentPlaceholder", {
get: function () {
return this.getPropertyValue("renderedCommentPlaceholder");
},
enumerable: false,
configurable: true
});
Question.prototype.calcRenderedCommentPlaceholder = function () {
var res = !this.isReadOnly ? this.commentPlaceHolder : undefined;
this.setPropertyValue("renderedCommentPlaceholder", res);
};
Question.prototype.getAllErrors = function () {
return this.errors.slice();
};
Question.prototype.getErrorByType = function (errorType) {
for (var i = 0; i < this.errors.length; i++) {
if (this.errors[i].getErrorType() === errorType)
return this.errors[i];
}
return null;
};
Object.defineProperty(Question.prototype, "customWidget", {
get: function () {
if (!this.isCustomWidgetRequested && !this.customWidgetValue) {
this.isCustomWidgetRequested = true;
this.updateCustomWidget();
}
return this.customWidgetValue;
},
enumerable: false,
configurable: true
});
Question.prototype.updateCustomWidget = function () {
this.customWidgetValue = _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_7__["CustomWidgetCollection"].Instance.getCustomWidget(this);
};
Question.prototype.localeChanged = function () {
_super.prototype.localeChanged.call(this);
this.calcRenderedCommentPlaceholder();
if (!!this.localeChangedCallback) {
this.localeChangedCallback();
}
};
Object.defineProperty(Question.prototype, "isCompositeQuestion", {
get: function () {
return false;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isContainer", {
get: function () { return false; },
enumerable: false,
configurable: true
});
Question.prototype.updateCommentElements = function () {
if (!this.autoGrowComment || !Array.isArray(this.commentElements))
return;
for (var i = 0; i < this.commentElements.length; i++) {
var el = this.commentElements[i];
if (el)
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_11__["increaseHeightByContent"])(el);
}
};
Question.prototype.onCommentInput = function (event) {
if (this.isInputTextUpdate) {
if (event.target) {
this.comment = event.target.value;
}
}
else {
this.updateCommentElements();
}
};
Question.prototype.onCommentChange = function (event) {
this.comment = event.target.value;
if (this.comment !== event.target.value) {
event.target.value = this.comment;
}
};
Question.prototype.afterRenderQuestionElement = function (el) {
if (!this.survey || !this.hasSingleInput)
return;
this.survey.afterRenderQuestionInput(this, el);
};
Question.prototype.afterRender = function (el) {
var _this = this;
this.afterRenderCore(el);
if (!this.survey)
return;
this.survey.afterRenderQuestion(this, el);
if (!!this.afterRenderQuestionCallback) {
this.afterRenderQuestionCallback(this, el);
}
if (this.supportComment() || this.supportOther()) {
this.commentElements = [];
this.getCommentElementsId().forEach(function (id) {
var root = _settings__WEBPACK_IMPORTED_MODULE_8__["settings"].environment.root;
var el = root.getElementById(id);
if (el)
_this.commentElements.push(el);
});
this.updateCommentElements();
}
this.checkForResponsiveness(el);
};
Question.prototype.afterRenderCore = function (el) {
};
Question.prototype.getCommentElementsId = function () {
return [this.commentId];
};
Question.prototype.beforeDestroyQuestionElement = function (el) {
this.commentElements = undefined;
};
Object.defineProperty(Question.prototype, "processedTitle", {
get: function () {
var res = this.locProcessedTitle.textOrHtml;
return res ? res : this.name;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "fullTitle", {
get: function () {
return this.locTitle.renderedHtml;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "titlePattern", {
get: function () {
return !!this.survey ? this.survey.questionTitlePattern : "numTitleRequire";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isRequireTextOnStart", {
get: function () {
return this.isRequired && this.titlePattern == "requireNumTitle";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isRequireTextBeforeTitle", {
get: function () {
return this.isRequired && this.titlePattern == "numRequireTitle" && this.requiredText !== "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isRequireTextAfterTitle", {
get: function () {
return this.isRequired && this.titlePattern == "numTitleRequire" && this.requiredText !== "";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "startWithNewLine", {
/**
* Disable this property if you want to render the current question on the same line or row with the previous question or panel.
*/
get: function () {
return this.getPropertyValue("startWithNewLine");
},
set: function (val) {
if (this.startWithNewLine == val)
return;
this.setPropertyValue("startWithNewLine", val);
},
enumerable: false,
configurable: true
});
Question.prototype.calcCssClasses = function (css) {
var classes = { error: {} };
this.copyCssClasses(classes, css.question);
this.copyCssClasses(classes.error, css.error);
this.updateCssClasses(classes, css);
if (this.survey) {
this.survey.updateQuestionCssClasses(this, classes);
}
if (this.onUpdateCssClassesCallback) {
this.onUpdateCssClassesCallback(classes);
}
return classes;
};
Object.defineProperty(Question.prototype, "cssRoot", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssRoot", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssRoot = function (val) {
this.setPropertyValue("cssRoot", val);
};
Question.prototype.getCssRoot = function (cssClasses) {
var hasError = this.hasCssError();
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(_super.prototype.getCssRoot.call(this, cssClasses))
.append(this.isFlowLayout && !this.isDesignMode
? cssClasses.flowRoot
: cssClasses.mainRoot)
.append(cssClasses.titleLeftRoot, !this.isFlowLayout && this.hasTitleOnLeft)
.append(cssClasses.titleTopRoot, !this.isFlowLayout && this.hasTitleOnTop)
.append(cssClasses.titleBottomRoot, !this.isFlowLayout && this.hasTitleOnBottom)
.append(cssClasses.descriptionUnderInputRoot, !this.isFlowLayout && this.hasDescriptionUnderInput)
.append(cssClasses.hasError, hasError)
.append(cssClasses.hasErrorTop, hasError && this.getErrorLocation() == "top")
.append(cssClasses.hasErrorBottom, hasError && this.getErrorLocation() == "bottom")
.append(cssClasses.small, !this.width)
.append(cssClasses.answered, this.isAnswered)
.toString();
};
Object.defineProperty(Question.prototype, "cssHeader", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssHeader", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssHeader = function (val) {
this.setPropertyValue("cssHeader", val);
};
Question.prototype.getCssHeader = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(cssClasses.header)
.append(cssClasses.headerTop, this.hasTitleOnTop)
.append(cssClasses.headerLeft, this.hasTitleOnLeft)
.append(cssClasses.headerBottom, this.hasTitleOnBottom)
.toString();
};
Question.prototype.supportContainerQueries = function () {
return false;
};
Object.defineProperty(Question.prototype, "cssContent", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssContent", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssContent = function (val) {
this.setPropertyValue("cssContent", val);
};
Question.prototype.getCssContent = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(cssClasses.content)
.append(cssClasses.contentSupportContainerQueries, this.supportContainerQueries())
.append(cssClasses.contentLeft, this.hasTitleOnLeft)
.toString();
};
Object.defineProperty(Question.prototype, "cssTitle", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssTitle", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssTitle = function (val) {
this.setPropertyValue("cssTitle", val);
};
Question.prototype.getCssTitle = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(_super.prototype.getCssTitle.call(this, cssClasses))
.append(cssClasses.titleOnAnswer, !this.containsErrors && this.isAnswered)
.append(cssClasses.titleEmpty, !this.title.trim())
.toString();
};
Object.defineProperty(Question.prototype, "cssDescription", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssDescription", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssDescription = function (val) {
this.setPropertyValue("cssDescription", val);
};
Question.prototype.getCssDescription = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(cssClasses.description, this.hasDescriptionUnderTitle)
.append(cssClasses.descriptionUnderInput, this.hasDescriptionUnderInput)
.toString();
};
Question.prototype.showErrorOnCore = function (location) {
return !this.showErrorsAboveQuestion && !this.showErrorsBelowQuestion && this.getErrorLocation() === location;
};
Object.defineProperty(Question.prototype, "showErrorOnTop", {
get: function () {
return this.showErrorOnCore("top");
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showErrorOnBottom", {
get: function () {
return this.showErrorOnCore("bottom");
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showErrorsOutsideQuestion", {
get: function () {
return this.isDefaultV2Theme;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showErrorsAboveQuestion", {
get: function () {
return this.showErrorsOutsideQuestion && this.getErrorLocation() === "top";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showErrorsBelowQuestion", {
get: function () {
return this.showErrorsOutsideQuestion && this.getErrorLocation() === "bottom";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "cssError", {
get: function () {
this.ensureElementCss();
return this.getPropertyValue("cssError", "");
},
enumerable: false,
configurable: true
});
Question.prototype.setCssError = function (val) {
this.setPropertyValue("cssError", val);
};
Question.prototype.getCssError = function (cssClasses) {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(cssClasses.error.root)
.append(cssClasses.errorsContainer, this.showErrorsBelowQuestion || this.showErrorsAboveQuestion)
.append(cssClasses.errorsContainerTop, this.showErrorsAboveQuestion)
.append(cssClasses.errorsContainerBottom, this.showErrorsBelowQuestion)
.append(cssClasses.error.locationTop, this.showErrorOnTop)
.append(cssClasses.error.locationBottom, this.showErrorOnBottom)
.toString();
};
Question.prototype.hasCssError = function () {
return this.errors.length > 0 || this.hasCssErrorCallback();
};
Question.prototype.getRootCss = function () {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(this.cssRoot)
.append(this.cssClasses.disabled, this.isReadOnly)
.append(this.cssClasses.invisible, !this.isDesignMode && this.areInvisibleElementsShowing && !this.visible)
.toString();
};
Question.prototype.getQuestionRootCss = function () {
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
.append(this.cssClasses.root)
.append(this.cssClasses.rootMobile, this.isMobile)
.toString();
};
Question.prototype.updateElementCss = function (reNew) {
_super.prototype.updateElementCss.call(this, reNew);
if (reNew) {
this.updateQuestionCss(true);
}
this.onIndentChanged();
};
Question.prototype.updateQuestionCss = function (reNew) {
if (this.isLoadingFromJson ||
!this.survey ||
(reNew !== true && !this.cssClassesValue))
return;
this.updateElementCssCore(this.cssClasses);
};
Question.prototype.ensureElementCss = function () {
if (!this.cssClassesValue) {
this.updateQuestionCss(true);
}
};
Question.prototype.updateElementCssCore = function (cssClasses) {
this.setCssRoot(this.getCssRoot(cssClasses));
this.setCssHeader(this.getCssHeader(cssClasses));
this.setCssContent(this.getCssContent(cssClasses));
this.setCssTitle(this.getCssTitle(cssClasses));
this.setCssDescription(this.getCssDescription(cssClasses));
this.setCssError(this.getCssError(cssClasses));
};
Question.prototype.updateCssClasses = function (res, css) {
if (!css.question)
return;
var objCss = css[this.getCssType()];
var titleBuilder = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]().append(res.title)
.append(css.question.titleRequired, this.isRequired);
res.title = titleBuilder.toString();
var rootBuilder = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]().append(res.root)
.append(objCss, this.isRequired && !!css.question.required);
if (objCss === undefined || objCss === null) {
res.root = rootBuilder.toString();
}
else if (typeof objCss === "string" || objCss instanceof String) {
res.root = rootBuilder.append(objCss.toString()).toString();
}
else {
res.root = rootBuilder.toString();
for (var key in objCss) {
res[key] = objCss[key];
}
}
};
Question.prototype.getCssType = function () {
return this.getType();
};
Object.defineProperty(Question.prototype, "renderCssRoot", {
get: function () {
return this.cssClasses.root || undefined;
},
enumerable: false,
configurable: true
});
Question.prototype.onIndentChanged = function () {
this.paddingLeft = this.getIndentSize(this.indent);
this.paddingRight = this.getIndentSize(this.rightIndent);
};
Question.prototype.getIndentSize = function (indent) {
if (indent < 1 || !this.getSurvey() || !this.cssClasses || !this.cssClasses.indent)
return "";
return indent * this.cssClasses.indent + "px";
};
/**
* Moves focus to the input field of this question.
* @param onError Pass `true` if you want to focus an input field with the first validation error. Default value: `false` (focuses the first input field). Applies to question types with multiple input fields.
*/
Question.prototype.focus = function (onError, scrollIfVisible) {
if (onError === void 0) { onError = false; }
if (this.isDesignMode || !this.isVisible || !this.survey)
return;
var page = this.page;
var shouldChangePage = !!page && this.survey.activePage !== page;
if (shouldChangePage) {
this.survey.focusQuestionByInstance(this, onError);
}
else {
this.focuscore(onError, scrollIfVisible);
}
};
Question.prototype.focuscore = function (onError, scrollIfVisible) {
if (onError === void 0) { onError = false; }
if (!!this.survey) {
this.expandAllParents(this);
this.survey.scrollElementToTop(this, this, null, this.id, scrollIfVisible);
}
var id = !onError
? this.getFirstInputElementId()
: this.getFirstErrorInputElementId();
if (_survey_element__WEBPACK_IMPORTED_MODULE_2__["SurveyElement"].FocusElement(id)) {
this.fireCallback(this.focusCallback);
}
};
Question.prototype.expandAllParents = function (element) {
if (!element)
return;
if (element.isCollapsed) {
element.expand();
}
this.expandAllParents(element.parent);
this.expandAllParents(element.parentQuestion);
};
Question.prototype.focusIn = function () {
if (!this.survey || this.isDisposed || this.isContainer)
return;
this.survey.whenQuestionFocusIn(this);
};
Question.prototype.fireCallback = function (callback) {
if (callback)
callback();
};
Question.prototype.getOthersMaxLength = function () {
if (!this.survey)
return null;
return this.survey.maxOthersLength > 0 ? this.survey.maxOthersLength : null;
};
Question.prototype.onCreating = function () { };
Question.prototype.getFirstQuestionToFocus = function (withError) {
return this.hasInput && (!withError || this.currentErrorCount > 0) ? this : null;
};
Question.prototype.getFirstInputElementId = function () {
return this.inputId;
};
Question.prototype.getFirstErrorInputElementId = function () {
return this.getFirstInputElementId();
};
Question.prototype.getProcessedTextValue = function (textValue) {
var name = textValue.name.toLocaleLowerCase();
textValue.isExists =
Object.keys(Question.TextPreprocessorValuesMap).indexOf(name) !== -1 ||
this[textValue.name] !== undefined;
textValue.value = this[Question.TextPreprocessorValuesMap[name] || textValue.name];
};
Question.prototype.supportComment = function () {
var prop = this.getPropertyByName("showCommentArea");
return !prop || prop.visible;
};
Question.prototype.supportOther = function () {
return false;
};
Object.defineProperty(Question.prototype, "isRequired", {
/**
* Makes the question required. If a respondent skips a required question, the survey displays a validation error.
* @see requiredIf
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
*/
get: function () {
return this.getPropertyValue("isRequired");
},
set: function (val) {
this.setPropertyValue("isRequired", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "requiredIf", {
/**
* A Boolean expression. If it evaluates to `true`, this question becomes required.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see isRequired
*/
get: function () {
return this.getPropertyValue("requiredIf", "");
},
set: function (val) {
this.setPropertyValue("requiredIf", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showCommentArea", {
/**
* Specifies whether to display a comment area. Incompatible with the `showOtherItem` property.
* @see comment
* @see commentText
* @see showOtherItem
*/
get: function () {
return this.getPropertyValue("showCommentArea", false);
},
set: function (val) {
if (!this.supportComment())
return;
this.setPropertyValue("showCommentArea", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasComment", {
get: function () {
return this.showCommentArea;
},
set: function (val) {
this.showCommentArea = val;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "id", {
/**
* A value to assign to the `id` attribute of the rendered HTML element. A default `id` is generated automatically.
*/
get: function () {
return this.getPropertyValue("id");
},
set: function (val) {
this.setPropertyValue("id", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "ariaTitleId", {
get: function () {
return this.id + "_ariaTitle";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "ariaDescriptionId", {
get: function () {
return this.id + "_ariaDescription";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "commentId", {
get: function () {
return this.id + "_comment";
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "showOtherItem", {
/**
* Specifies whether to display the "Other" choice item. Incompatible with the `showCommentArea` property.
*
* @see otherText
* @see otherItem
* @see otherErrorText
* @see showCommentArea
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
*/
get: function () {
return this.getPropertyValue("showOtherItem", false);
},
set: function (val) {
if (!this.supportOther() || this.showOtherItem == val)
return;
this.setPropertyValue("showOtherItem", val);
this.hasOtherChanged();
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "hasOther", {
get: function () {
return this.showOtherItem;
},
set: function (val) {
this.showOtherItem = val;
},
enumerable: false,
configurable: true
});
Question.prototype.hasOtherChanged = function () { };
Object.defineProperty(Question.prototype, "requireUpdateCommentValue", {
get: function () {
return this.hasComment || this.hasOther;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isReadOnly", {
get: function () {
var isParentReadOnly = !!this.parent && this.parent.isReadOnly;
var isPareQuestionReadOnly = !!this.parentQuestion && this.parentQuestion.isReadOnly;
var isSurveyReadOnly = !!this.survey && this.survey.isDisplayMode;
return this.readOnly || isParentReadOnly || isSurveyReadOnly || isPareQuestionReadOnly;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isInputReadOnly", {
get: function () {
if (this.forceIsInputReadOnly !== undefined) {
return this.forceIsInputReadOnly;
}
return this.isReadOnly || this.isDesignModeV2;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "renderedInputReadOnly", {
get: function () {
return this.isInputReadOnly ? "" : undefined;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "renderedInputDisabled", {
get: function () {
return this.isInputReadOnly ? "" : undefined;
},
enumerable: false,
configurable: true
});
Question.prototype.onReadOnlyChanged = function () {
this.setPropertyValue("isInputReadOnly", this.isInputReadOnly);
_super.prototype.onReadOnlyChanged.call(this);
if (this.isReadOnly) {
this.clearErrors();
}
this.updateQuestionCss();
this.calcRenderedCommentPlaceholder();
};
Object.defineProperty(Question.prototype, "enableIf", {
/**
* A Boolean expression. If it evaluates to `false`, this question becomes read-only.
*
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
*
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
* @see readOnly
* @see isReadOnly
*/
get: function () {
return this.getPropertyValue("enableIf", "");
},
set: function (val) {
this.setPropertyValue("enableIf", val);
},
enumerable: false,
configurable: true
});
Question.prototype.surveyChoiceItemVisibilityChange = function () { };
Question.prototype.runCondition = function (values, properties) {
if (this.isDesignMode)
return;
if (!properties)
properties = {};
properties["question"] = this;
this.runConditionCore(values, properties);
if (!this.isValueChangedDirectly && (!this.isClearValueOnHidden || this.isVisibleInSurvey)) {
this.defaultValueRunner = this.getDefaultRunner(this.defaultValueRunner, this.defaultValueExpression);
this.runDefaultValueExpression(this.defaultValueRunner, values, properties);
}
};
Object.defineProperty(Question.prototype, "no", {
/**
* A question number or letter (depends on the `questionStartIndex` property of the question container (panel, page, or survey)).
*
* When the question number, title, or the entire question is invisible, this property returns an empty string.
* @see SurveyModel.questionStartIndex
* @see hideNumber
* @see titleLocation
* @see visibleIf
*/
get: function () {
return this.getPropertyValue("no");
},
enumerable: false,
configurable: true
});
Question.prototype.calcNo = function () {
if (!this.hasTitle || this.hideNumber)
return "";
var no = _helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].getNumberByIndex(this.visibleIndex, this.getStartIndex());
if (!!this.survey) {
no = this.survey.getUpdatedQuestionNo(this, no);
}
return no;
};
Question.prototype.getStartIndex = function () {
if (!!this.parent)
return this.parent.getQuestionStartIndex();
if (!!this.survey)
return this.survey.questionStartIndex;
return "";
};
Question.prototype.onSurveyLoad = function () {
this.isCustomWidgetRequested = false;
this.fireCallback(this.surveyLoadCallback);
this.updateValueWithDefaults();
if (this.isEmpty()) {
this.initDataFromSurvey();
}
this.calcRenderedCommentPlaceholder();
this.onIndentChanged();
};
Question.prototype.onSetData = function () {
_super.prototype.onSetData.call(this);
if (!this.survey)
return;
this.initDataFromSurvey();
this.onSurveyValueChanged(this.value);
this.updateValueWithDefaults();
this.onIndentChanged();
this.updateQuestionCss();
this.updateIsAnswered();
};
Question.prototype.initDataFromSurvey = function () {
if (!!this.data) {
var val = this.data.getValue(this.getValueName());
if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isValueEmpty(val) || !this.isLoadingFromJson) {
this.updateValueFromSurvey(val);
}
this.initCommentFromSurvey();
}
};
Question.prototype.initCommentFromSurvey = function () {
if (!!this.data && this.requireUpdateCommentValue) {
this.updateCommentFromSurvey(this.data.getComment(this.getValueName()));
}
else {
this.updateCommentFromSurvey("");
}
};
Question.prototype.runExpression = function (expression) {
if (!this.survey || !expression)
return undefined;
return this.survey.runExpression(expression);
};
Object.defineProperty(Question.prototype, "autoGrowComment", {
get: function () {
return this.survey && this.survey.autoGrowComment;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "allowResizeComment", {
get: function () {
return this.survey && this.survey.allowResizeComment;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "questionValue", {
get: function () {
return this.getPropertyValueWithoutDefault("value");
},
set: function (val) {
this.setPropertyValue("value", val);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "questionComment", {
get: function () {
return this.getPropertyValueWithoutDefault("comment");
},
set: function (val) {
this.setPropertyValue("comment", val);
this.fireCallback(this.commentChangedCallback);
},
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "isValueArray", {
get: function () { return false; },
enumerable: false,
configurable: true
});
Object.defineProperty(Question.prototype, "value", {
/**
* Gets or sets the question value.
*
* The following table illustrates how the value type depends on the question type:
*
* | Question type | Value type(s) |
* | ------------- | ------------- |
* | Checkboxes | `Array` |
* | Dropdown | `string` \| `number` |
* | Dynamic Matrix | `Array