survey-core 1.12.14 → 1.12.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaultV2.css +23 -2
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +23 -2
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js +1 -1
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js +1 -1
- package/modern.css +4 -2
- package/modern.css.map +1 -1
- package/modern.fontless.css +4 -2
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +36 -21
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/packages/survey-core/entries/chunks/core-wo-model.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/actions/action.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/list.d.ts +3 -1
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +7 -1
- package/typings/packages/survey-core/entries/chunks/core-wo-model.d.ts +1 -1
- package/typings/packages/survey-core/src/actions/action.d.ts +2 -2
- package/typings/packages/survey-core/src/list.d.ts +3 -1
- package/typings/packages/survey-core/src/survey.d.ts +2 -0
- package/typings/packages/survey-core/src/surveyStrings.d.ts +7 -1
package/package.json
CHANGED
package/survey.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.15
|
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -105,7 +105,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
105
105
|
/*!*******************************************!*\
|
|
106
106
|
!*** ./src/entries/core.ts + 127 modules ***!
|
|
107
107
|
\*******************************************/
|
|
108
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionFilePage, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, getLocaleString, setupLocale, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, renamedIcons, getIconNameFromProxy, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, TextAreaModel, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, StylesManager, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgThemeSets, addIconsToThemeSet, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
|
|
108
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionFilePage, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, getLocaleString, setupLocale, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, renamedIcons, getIconNameFromProxy, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, TextAreaModel, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, StylesManager, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgThemeSets, addIconsToThemeSet, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
|
|
109
109
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
110
110
|
|
|
111
111
|
"use strict";
|
|
@@ -333,6 +333,7 @@ __webpack_require__.d(__webpack_exports__, "VerticalResponsivityManager", functi
|
|
|
333
333
|
__webpack_require__.d(__webpack_exports__, "unwrap", function() { return /* reexport */ unwrap; });
|
|
334
334
|
__webpack_require__.d(__webpack_exports__, "getOriginalEvent", function() { return /* reexport */ getOriginalEvent; });
|
|
335
335
|
__webpack_require__.d(__webpack_exports__, "getElement", function() { return /* reexport */ getElement; });
|
|
336
|
+
__webpack_require__.d(__webpack_exports__, "activateLazyRenderingChecks", function() { return /* reexport */ activateLazyRenderingChecks; });
|
|
336
337
|
__webpack_require__.d(__webpack_exports__, "createDropdownActionModel", function() { return /* reexport */ createDropdownActionModel; });
|
|
337
338
|
__webpack_require__.d(__webpack_exports__, "createDropdownActionModelAdvanced", function() { return /* reexport */ createDropdownActionModelAdvanced; });
|
|
338
339
|
__webpack_require__.d(__webpack_exports__, "createPopupModelWithListModel", function() { return /* reexport */ createPopupModelWithListModel; });
|
|
@@ -1142,12 +1143,13 @@ var surveyLocalization = {
|
|
|
1142
1143
|
//TODO remove on next week
|
|
1143
1144
|
get showNamesInEnglish() { return this.useEnglishNames; },
|
|
1144
1145
|
set showNamesInEnglish(val) { this.useEnglishNames = val; },
|
|
1145
|
-
setupLocale: function (
|
|
1146
|
-
|
|
1147
|
-
this.
|
|
1148
|
-
this.
|
|
1149
|
-
|
|
1150
|
-
|
|
1146
|
+
setupLocale: function (localeConfig) {
|
|
1147
|
+
var loc = localeConfig.localeCode;
|
|
1148
|
+
this.locales[loc] = localeConfig.strings;
|
|
1149
|
+
this.localeNames[loc] = localeConfig.nativeName;
|
|
1150
|
+
this.localeNamesInEnglish[loc] = localeConfig.englishName;
|
|
1151
|
+
if (localeConfig.rtl !== undefined) {
|
|
1152
|
+
this.localeDirections[loc] = localeConfig.rtl;
|
|
1151
1153
|
}
|
|
1152
1154
|
},
|
|
1153
1155
|
get currentLocale() {
|
|
@@ -1246,7 +1248,7 @@ function getLocaleString(strName, locale) {
|
|
|
1246
1248
|
return surveyLocalization.getString(strName, locale);
|
|
1247
1249
|
}
|
|
1248
1250
|
function setupLocale(localeConfig) {
|
|
1249
|
-
surveyLocalization.setupLocale(localeConfig
|
|
1251
|
+
surveyLocalization.setupLocale(localeConfig);
|
|
1250
1252
|
}
|
|
1251
1253
|
var surveyStrings = englishStrings;
|
|
1252
1254
|
surveyLocalization.locales["en"] = englishStrings;
|
|
@@ -10068,9 +10070,15 @@ var list_ListModel = /** @class */ (function (_super) {
|
|
|
10068
10070
|
.append(itemValue.css)
|
|
10069
10071
|
.toString();
|
|
10070
10072
|
};
|
|
10071
|
-
|
|
10073
|
+
// public getItemIndent = (itemValue: any) => {
|
|
10074
|
+
// const level: number = itemValue.level || 0;
|
|
10075
|
+
// return (level + 1) * ListModel.INDENT + "px";
|
|
10076
|
+
// };
|
|
10077
|
+
_this.getItemStyle = function (itemValue) {
|
|
10072
10078
|
var level = itemValue.level || 0;
|
|
10073
|
-
return
|
|
10079
|
+
return {
|
|
10080
|
+
"--sjs-list-item-level": level + 1
|
|
10081
|
+
};
|
|
10074
10082
|
};
|
|
10075
10083
|
if (Object.keys(items).indexOf("items") !== -1) {
|
|
10076
10084
|
var options_1 = items;
|
|
@@ -10986,13 +10994,14 @@ var action_BaseAction = /** @class */ (function (_super) {
|
|
|
10986
10994
|
|
|
10987
10995
|
var action_Action = /** @class */ (function (_super) {
|
|
10988
10996
|
action_extends(Action, _super);
|
|
10989
|
-
function Action(
|
|
10997
|
+
function Action(innerItemData) {
|
|
10990
10998
|
var _this = _super.call(this) || this;
|
|
10991
|
-
_this.innerItem = innerItem;
|
|
10992
10999
|
_this.locTitleChanged = function () {
|
|
10993
11000
|
var val = _this.locTitle.renderedHtml;
|
|
10994
11001
|
_this.setPropertyValue("_title", !!val ? val : undefined);
|
|
10995
11002
|
};
|
|
11003
|
+
var innerItem = (innerItemData instanceof Action) ? innerItemData.innerItem : innerItemData;
|
|
11004
|
+
_this.innerItem = innerItem;
|
|
10996
11005
|
_this.locTitle = !!innerItem ? innerItem["locTitle"] : null;
|
|
10997
11006
|
//Object.assign(this, item) to support IE11
|
|
10998
11007
|
if (!!innerItem) {
|
|
@@ -29711,10 +29720,9 @@ var question_matrixdropdownbase_QuestionMatrixDropdownModelBase = /** @class */
|
|
|
29711
29720
|
if (isDeletingValue) {
|
|
29712
29721
|
delete rowValue[columnName];
|
|
29713
29722
|
}
|
|
29714
|
-
|
|
29715
|
-
|
|
29716
|
-
|
|
29717
|
-
}
|
|
29723
|
+
row.questions.forEach(function (q) {
|
|
29724
|
+
delete rowValue[q.getValueName()];
|
|
29725
|
+
});
|
|
29718
29726
|
if (newRowValue) {
|
|
29719
29727
|
newRowValue = JSON.parse(JSON.stringify(newRowValue));
|
|
29720
29728
|
for (var key in newRowValue) {
|
|
@@ -43852,7 +43860,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
43852
43860
|
width: width,
|
|
43853
43861
|
};
|
|
43854
43862
|
this.onResize.fire(this, options);
|
|
43855
|
-
this.setResponsiveStartWidth(width);
|
|
43863
|
+
// this.setResponsiveStartWidth(width);
|
|
43856
43864
|
return isMobileChanged;
|
|
43857
43865
|
};
|
|
43858
43866
|
SurveyModel.prototype.triggerResponsiveness = function (hard) {
|
|
@@ -46171,6 +46179,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
46171
46179
|
if (this.isScaled && this.responsiveStartWidth > 1) {
|
|
46172
46180
|
var initialWidth = this.responsiveStartWidth;
|
|
46173
46181
|
try {
|
|
46182
|
+
width = width || this.staticStartWidth;
|
|
46174
46183
|
initialWidth = !isNaN(width) ? width : parseFloat(width.toString().replace("px", ""));
|
|
46175
46184
|
}
|
|
46176
46185
|
catch (e) { }
|
|
@@ -46183,6 +46192,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
46183
46192
|
enumerable: false,
|
|
46184
46193
|
configurable: true
|
|
46185
46194
|
});
|
|
46195
|
+
SurveyModel.prototype.setStaticStartWidth = function (width) {
|
|
46196
|
+
this.staticStartWidth = width;
|
|
46197
|
+
};
|
|
46186
46198
|
SurveyModel.prototype.setResponsiveStartWidth = function (width) {
|
|
46187
46199
|
this.responsiveStartWidth = width;
|
|
46188
46200
|
};
|
|
@@ -47021,6 +47033,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
47021
47033
|
survey_decorate([
|
|
47022
47034
|
jsonobject_property({ defaultValue: 100 })
|
|
47023
47035
|
], SurveyModel.prototype, "widthScale", void 0);
|
|
47036
|
+
survey_decorate([
|
|
47037
|
+
jsonobject_property()
|
|
47038
|
+
], SurveyModel.prototype, "staticStartWidth", void 0);
|
|
47024
47039
|
survey_decorate([
|
|
47025
47040
|
jsonobject_property()
|
|
47026
47041
|
], SurveyModel.prototype, "responsiveStartWidth", void 0);
|
|
@@ -59596,7 +59611,7 @@ var question_file_QuestionFileModel = /** @class */ (function (_super) {
|
|
|
59596
59611
|
if (this.previewValue.length > 0 && !this.calculatedGapBetweenItems && !this.calculatedItemWidth) {
|
|
59597
59612
|
setTimeout(function () {
|
|
59598
59613
|
_this.processResponsiveness(0, _this._width);
|
|
59599
|
-
});
|
|
59614
|
+
}, 1);
|
|
59600
59615
|
}
|
|
59601
59616
|
this.prevPreviewLength = this.previewValue.length;
|
|
59602
59617
|
};
|
|
@@ -70431,8 +70446,8 @@ Serializer.addClass("currencymask", [
|
|
|
70431
70446
|
|
|
70432
70447
|
var Version;
|
|
70433
70448
|
var ReleaseDate;
|
|
70434
|
-
Version = "" + "1.12.
|
|
70435
|
-
ReleaseDate = "" + "2024-12-
|
|
70449
|
+
Version = "" + "1.12.15";
|
|
70450
|
+
ReleaseDate = "" + "2024-12-16";
|
|
70436
70451
|
function checkLibraryVersion(ver, libraryName) {
|
|
70437
70452
|
if (Version != ver) {
|
|
70438
70453
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|