survey-react 1.12.45 → 1.12.47
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 +1 -1
- package/defaultV2.min.css +1 -1
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +2 -0
- package/survey.react.js +43 -11
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
package/defaultV2.min.css
CHANGED
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
|
@@ -3229,6 +3229,7 @@ declare module "packages/survey-core/src/question_custom" {
|
|
|
3229
3229
|
protected createWrapper(): void;
|
|
3230
3230
|
private getDynamicProperty;
|
|
3231
3231
|
protected getElement(): SurveyElement;
|
|
3232
|
+
supportGoNextPageAutomatic(): boolean;
|
|
3232
3233
|
onAnyValueChanged(name: string, questionName: string): void;
|
|
3233
3234
|
protected getQuestionByName(name: string): IQuestion;
|
|
3234
3235
|
protected getDefaultTitle(): string;
|
|
@@ -19617,6 +19618,7 @@ declare module "packages/survey-core/entries/chunks/model" {
|
|
|
19617
19618
|
export function setLicenseKey(key: string): void;
|
|
19618
19619
|
export function slk(key: string): void;
|
|
19619
19620
|
export function hasLicense(index: number): boolean;
|
|
19621
|
+
export function glc(index: number): any;
|
|
19620
19622
|
export { settings, ISurveyEnvironment } from "packages/survey-core/src/settings";
|
|
19621
19623
|
export { Helpers, HashTable } from "packages/survey-core/src/helpers";
|
|
19622
19624
|
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "packages/survey-core/src/validator";
|
package/survey.react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.47
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -1705,7 +1705,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1705
1705
|
/*!********************************************!*\
|
|
1706
1706
|
!*** ./src/entries/react.ts + 289 modules ***!
|
|
1707
1707
|
\********************************************/
|
|
1708
|
-
/*! 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, getLocaleStrings, 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, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, PopupModal */
|
|
1708
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, glc, 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, getLocaleStrings, 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, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, PopupModal */
|
|
1709
1709
|
/*! ModuleConcatenation bailout: Cannot concat with external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} (<- Module is not an ECMAScript module) */
|
|
1710
1710
|
/*! ModuleConcatenation bailout: Cannot concat with external {"root":"ReactDOM","commonjs2":"react-dom","commonjs":"react-dom","amd":"react-dom"} (<- Module is not an ECMAScript module) */
|
|
1711
1711
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -1721,6 +1721,7 @@ __webpack_require__.d(__webpack_exports__, "checkLibraryVersion", function() { r
|
|
|
1721
1721
|
__webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return /* reexport */ setLicenseKey; });
|
|
1722
1722
|
__webpack_require__.d(__webpack_exports__, "slk", function() { return /* reexport */ slk; });
|
|
1723
1723
|
__webpack_require__.d(__webpack_exports__, "hasLicense", function() { return /* reexport */ hasLicense; });
|
|
1724
|
+
__webpack_require__.d(__webpack_exports__, "glc", function() { return /* reexport */ glc; });
|
|
1724
1725
|
__webpack_require__.d(__webpack_exports__, "settings", function() { return /* reexport */ settings; });
|
|
1725
1726
|
__webpack_require__.d(__webpack_exports__, "Helpers", function() { return /* reexport */ helpers_Helpers; });
|
|
1726
1727
|
__webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return /* reexport */ AnswerCountValidator; });
|
|
@@ -2901,10 +2902,12 @@ var surveyLocalization = {
|
|
|
2901
2902
|
getCorrectLocaleName: function (loc) {
|
|
2902
2903
|
if (loc === "cz")
|
|
2903
2904
|
loc = "cs";
|
|
2904
|
-
if (loc === "
|
|
2905
|
-
loc = "
|
|
2905
|
+
if (loc === "gr")
|
|
2906
|
+
loc = "el";
|
|
2906
2907
|
if (loc === "rs")
|
|
2907
2908
|
loc = "sr";
|
|
2909
|
+
if (loc === "ua")
|
|
2910
|
+
loc = "uk";
|
|
2908
2911
|
return loc;
|
|
2909
2912
|
},
|
|
2910
2913
|
getLocaleStrings: function (loc) {
|
|
@@ -5618,7 +5621,25 @@ functionsfactory_FunctionFactory.Instance.register("age", functionsfactory_age);
|
|
|
5618
5621
|
function dateDiff(params) {
|
|
5619
5622
|
if (!Array.isArray(params) || params.length < 2 || !params[0] || !params[1])
|
|
5620
5623
|
return null;
|
|
5621
|
-
|
|
5624
|
+
var type = (params.length > 2 ? params[2] : "") || "days";
|
|
5625
|
+
var isHours = type === "hours" || type === "minutes";
|
|
5626
|
+
var dType = isHours ? "days" : type;
|
|
5627
|
+
var days = dateDiffMonths(params[0], params[1], dType);
|
|
5628
|
+
if (isHours) {
|
|
5629
|
+
var date1 = createDate("function-dateDiffMonths", params[0]);
|
|
5630
|
+
var date2 = createDate("function-dateDiffMonths", params[1]);
|
|
5631
|
+
if (date2.getHours() > date1.getHours() || (type !== "hours" && date2.getHours() === date1.getHours() && date2.getMinutes() > date1.getMinutes())) {
|
|
5632
|
+
days -= 1;
|
|
5633
|
+
}
|
|
5634
|
+
var hours = days * 24 + date2.getHours() - date1.getHours();
|
|
5635
|
+
if (type === "hours")
|
|
5636
|
+
return hours;
|
|
5637
|
+
if (date2.getMinutes() < date1.getMinutes()) {
|
|
5638
|
+
hours -= 1;
|
|
5639
|
+
}
|
|
5640
|
+
return hours * 60 + date2.getMinutes() - date1.getMinutes();
|
|
5641
|
+
}
|
|
5642
|
+
return days;
|
|
5622
5643
|
}
|
|
5623
5644
|
functionsfactory_FunctionFactory.Instance.register("dateDiff", dateDiff);
|
|
5624
5645
|
function dateAdd(params) {
|
|
@@ -24692,7 +24713,7 @@ var textPreProcessor_TextPreProcessor = /** @class */ (function () {
|
|
|
24692
24713
|
var item = new TextPreProcessorItem();
|
|
24693
24714
|
item.start = start;
|
|
24694
24715
|
item.end = i;
|
|
24695
|
-
if (this.isValidItemName(text.substring(start + 1, i
|
|
24716
|
+
if (this.isValidItemName(text.substring(start + 1, i))) {
|
|
24696
24717
|
items.push(item);
|
|
24697
24718
|
}
|
|
24698
24719
|
}
|
|
@@ -25372,6 +25393,9 @@ var question_custom_QuestionCustomModel = /** @class */ (function (_super) {
|
|
|
25372
25393
|
QuestionCustomModel.prototype.getElement = function () {
|
|
25373
25394
|
return this.contentQuestion;
|
|
25374
25395
|
};
|
|
25396
|
+
QuestionCustomModel.prototype.supportGoNextPageAutomatic = function () {
|
|
25397
|
+
return !!this.contentQuestion && this.contentQuestion.supportGoNextPageAutomatic();
|
|
25398
|
+
};
|
|
25375
25399
|
QuestionCustomModel.prototype.onAnyValueChanged = function (name, questionName) {
|
|
25376
25400
|
_super.prototype.onAnyValueChanged.call(this, name, questionName);
|
|
25377
25401
|
if (!!this.contentQuestion) {
|
|
@@ -62964,9 +62988,12 @@ var question_file_QuestionFileModel = /** @class */ (function (_super) {
|
|
|
62964
62988
|
};
|
|
62965
62989
|
QuestionFileModel.prototype.canDragDrop = function () { return !this.isInputReadOnly && this.currentMode !== "camera" && !this.isPlayingVideo; };
|
|
62966
62990
|
QuestionFileModel.prototype.afterRenderQuestionElement = function (el) {
|
|
62991
|
+
_super.prototype.afterRenderQuestionElement.call(this, el);
|
|
62967
62992
|
this.rootElement = el;
|
|
62968
62993
|
};
|
|
62969
62994
|
QuestionFileModel.prototype.beforeDestroyQuestionElement = function (el) {
|
|
62995
|
+
_super.prototype.beforeDestroyQuestionElement.call(this, el);
|
|
62996
|
+
this.stopVideo();
|
|
62970
62997
|
this.rootElement = undefined;
|
|
62971
62998
|
};
|
|
62972
62999
|
QuestionFileModel.prototype.clearFilesCore = function () {
|
|
@@ -73290,9 +73317,9 @@ Serializer.addClass("currencymask", [
|
|
|
73290
73317
|
|
|
73291
73318
|
var Version;
|
|
73292
73319
|
var ReleaseDate;
|
|
73293
|
-
Version = "" + "1.12.
|
|
73320
|
+
Version = "" + "1.12.47";
|
|
73294
73321
|
settings.version = Version;
|
|
73295
|
-
ReleaseDate = "" + "2025-07-
|
|
73322
|
+
ReleaseDate = "" + "2025-07-29";
|
|
73296
73323
|
function checkLibraryVersion(ver, libraryName) {
|
|
73297
73324
|
if (Version != ver) {
|
|
73298
73325
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
|
@@ -73308,7 +73335,11 @@ function slk(key) {
|
|
|
73308
73335
|
_slk(key, lic, ReleaseDate);
|
|
73309
73336
|
}
|
|
73310
73337
|
function hasLicense(index) {
|
|
73311
|
-
return
|
|
73338
|
+
return glc(index) === true;
|
|
73339
|
+
}
|
|
73340
|
+
function glc(index) {
|
|
73341
|
+
var res = lic[index.toString()];
|
|
73342
|
+
return !res ? false : res;
|
|
73312
73343
|
}
|
|
73313
73344
|
var lic = {};
|
|
73314
73345
|
function _slk(k, lh, rd) {
|
|
@@ -73342,7 +73373,8 @@ function _slk(k, lh, rd) {
|
|
|
73342
73373
|
v.split(",").forEach(function (s) {
|
|
73343
73374
|
var i = s.indexOf("=");
|
|
73344
73375
|
if (i > 0) {
|
|
73345
|
-
|
|
73376
|
+
var sd = new Date(s.substring(i + 1));
|
|
73377
|
+
lh[s.substring(0, i)] = new Date(rd) <= sd ? true : sd;
|
|
73346
73378
|
}
|
|
73347
73379
|
});
|
|
73348
73380
|
}
|
|
@@ -78281,7 +78313,7 @@ var greekSurveyStrings = {
|
|
|
78281
78313
|
ok: "OK",
|
|
78282
78314
|
cancel: "Ακυρώνω"
|
|
78283
78315
|
};
|
|
78284
|
-
setupLocale({ localeCode: "
|
|
78316
|
+
setupLocale({ localeCode: "el", strings: greekSurveyStrings, nativeName: "ελληνικά", englishName: "Greek" });
|
|
78285
78317
|
// The following strings have been translated by a machine translation service
|
|
78286
78318
|
// Remove those strings that you have corrected manually
|
|
78287
78319
|
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Πίνακας {panelIndex}"
|