survey-react 1.12.23 → 1.12.24
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 +114 -0
- package/survey.react.js +144 -25
- 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
@@ -4581,6 +4581,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4581
4581
|
protected getCommentElementsId(): Array<string>;
|
4582
4582
|
protected getItemValueType(): string;
|
4583
4583
|
createItemValue(value: any, text?: string): ItemValue;
|
4584
|
+
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
4584
4585
|
get isUsingCarryForward(): boolean;
|
4585
4586
|
get carryForwardQuestionType(): string;
|
4586
4587
|
private setCarryForwardQuestionType;
|
@@ -27549,6 +27550,118 @@ declare module "packages/survey-core/src/localization/philippines" {
|
|
27549
27550
|
cancel: string;
|
27550
27551
|
};
|
27551
27552
|
}
|
27553
|
+
declare module "packages/survey-core/src/localization/slovenian" {
|
27554
|
+
export var slovenianStrings: {
|
27555
|
+
pagePrevText: string;
|
27556
|
+
pageNextText: string;
|
27557
|
+
completeText: string;
|
27558
|
+
previewText: string;
|
27559
|
+
editText: string;
|
27560
|
+
startSurveyText: string;
|
27561
|
+
otherItemText: string;
|
27562
|
+
noneItemText: string;
|
27563
|
+
refuseItemText: string;
|
27564
|
+
dontKnowItemText: string;
|
27565
|
+
selectAllItemText: string;
|
27566
|
+
deselectAllItemText: string;
|
27567
|
+
progressText: string;
|
27568
|
+
indexText: string;
|
27569
|
+
panelDynamicProgressText: string;
|
27570
|
+
panelDynamicTabTextFormat: string;
|
27571
|
+
questionsProgressText: string;
|
27572
|
+
emptySurvey: string;
|
27573
|
+
completingSurvey: string;
|
27574
|
+
completingSurveyBefore: string;
|
27575
|
+
loadingSurvey: string;
|
27576
|
+
placeholder: string;
|
27577
|
+
ratingOptionsCaption: string;
|
27578
|
+
value: string;
|
27579
|
+
requiredError: string;
|
27580
|
+
requiredErrorInPanel: string;
|
27581
|
+
requiredInAllRowsError: string;
|
27582
|
+
eachRowUniqueError: string;
|
27583
|
+
numericError: string;
|
27584
|
+
minError: string;
|
27585
|
+
maxError: string;
|
27586
|
+
textNoDigitsAllow: string;
|
27587
|
+
textMinLength: string;
|
27588
|
+
textMaxLength: string;
|
27589
|
+
textMinMaxLength: string;
|
27590
|
+
minRowCountError: string;
|
27591
|
+
minSelectError: string;
|
27592
|
+
maxSelectError: string;
|
27593
|
+
numericMinMax: string;
|
27594
|
+
numericMin: string;
|
27595
|
+
numericMax: string;
|
27596
|
+
invalidEmail: string;
|
27597
|
+
invalidExpression: string;
|
27598
|
+
urlRequestError: string;
|
27599
|
+
urlGetChoicesError: string;
|
27600
|
+
exceedMaxSize: string;
|
27601
|
+
noUploadFilesHandler: string;
|
27602
|
+
otherRequiredError: string;
|
27603
|
+
uploadingFile: string;
|
27604
|
+
loadingFile: string;
|
27605
|
+
chooseFile: string;
|
27606
|
+
noFileChosen: string;
|
27607
|
+
filePlaceholder: string;
|
27608
|
+
confirmDelete: string;
|
27609
|
+
keyDuplicationError: string;
|
27610
|
+
addColumn: string;
|
27611
|
+
addRow: string;
|
27612
|
+
removeRow: string;
|
27613
|
+
noRowsText: string;
|
27614
|
+
addPanel: string;
|
27615
|
+
removePanel: string;
|
27616
|
+
showDetails: string;
|
27617
|
+
hideDetails: string;
|
27618
|
+
choices_Item: string;
|
27619
|
+
choices_Choice: string;
|
27620
|
+
matrix_column: string;
|
27621
|
+
matrix_row: string;
|
27622
|
+
multipletext_itemname: string;
|
27623
|
+
savingData: string;
|
27624
|
+
savingDataError: string;
|
27625
|
+
savingDataSuccess: string;
|
27626
|
+
savingExceedSize: string;
|
27627
|
+
saveAgainButton: string;
|
27628
|
+
timerMin: string;
|
27629
|
+
timerSec: string;
|
27630
|
+
timerSpentAll: string;
|
27631
|
+
timerSpentPage: string;
|
27632
|
+
timerSpentSurvey: string;
|
27633
|
+
timerLimitAll: string;
|
27634
|
+
timerLimitPage: string;
|
27635
|
+
timerLimitSurvey: string;
|
27636
|
+
clearCaption: string;
|
27637
|
+
signaturePlaceHolder: string;
|
27638
|
+
signaturePlaceHolderReadOnly: string;
|
27639
|
+
chooseFileCaption: string;
|
27640
|
+
takePhotoCaption: string;
|
27641
|
+
photoPlaceholder: string;
|
27642
|
+
fileOrPhotoPlaceholder: string;
|
27643
|
+
replaceFileCaption: string;
|
27644
|
+
removeFileCaption: string;
|
27645
|
+
booleanCheckedLabel: string;
|
27646
|
+
booleanUncheckedLabel: string;
|
27647
|
+
confirmRemoveFile: string;
|
27648
|
+
confirmRemoveAllFiles: string;
|
27649
|
+
questionTitlePatternText: string;
|
27650
|
+
modalCancelButtonText: string;
|
27651
|
+
modalApplyButtonText: string;
|
27652
|
+
filterStringPlaceholder: string;
|
27653
|
+
emptyMessage: string;
|
27654
|
+
noEntriesText: string;
|
27655
|
+
noEntriesReadonlyText: string;
|
27656
|
+
tabTitlePlaceholder: string;
|
27657
|
+
more: string;
|
27658
|
+
tagboxDoneButtonCaption: string;
|
27659
|
+
selectToRankEmptyRankedAreaText: string;
|
27660
|
+
selectToRankEmptyUnrankedAreaText: string;
|
27661
|
+
ok: string;
|
27662
|
+
cancel: string;
|
27663
|
+
};
|
27664
|
+
}
|
27552
27665
|
declare module "packages/survey-core/entries/chunks/localization" {
|
27553
27666
|
import "packages/survey-core/src/localization/arabic";
|
27554
27667
|
import "packages/survey-core/src/localization/basque";
|
@@ -27601,6 +27714,7 @@ declare module "packages/survey-core/entries/chunks/localization" {
|
|
27601
27714
|
import "packages/survey-core/src/localization/welsh";
|
27602
27715
|
import "packages/survey-core/src/localization/telugu";
|
27603
27716
|
import "packages/survey-core/src/localization/philippines";
|
27717
|
+
import "packages/survey-core/src/localization/slovenian";
|
27604
27718
|
}
|
27605
27719
|
declare module "src/entries/chunks/localization" {
|
27606
27720
|
import "packages/survey-core/entries/chunks/localization";
|
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.24
|
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
|
*/
|
@@ -1703,7 +1703,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
1703
1703
|
|
1704
1704
|
/***/ "./src/entries/react.ts":
|
1705
1705
|
/*!********************************************!*\
|
1706
|
-
!*** ./src/entries/react.ts +
|
1706
|
+
!*** ./src/entries/react.ts + 289 modules ***!
|
1707
1707
|
\********************************************/
|
1708
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 */
|
1709
1709
|
/*! ModuleConcatenation bailout: Cannot concat with external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} (<- Module is not an ECMAScript module) */
|
@@ -12680,9 +12680,6 @@ var action_BaseAction = /** @class */ (function (_super) {
|
|
12680
12680
|
action_decorate([
|
12681
12681
|
jsonobject_property()
|
12682
12682
|
], BaseAction.prototype, "pressed", void 0);
|
12683
|
-
action_decorate([
|
12684
|
-
jsonobject_property()
|
12685
|
-
], BaseAction.prototype, "data", void 0);
|
12686
12683
|
action_decorate([
|
12687
12684
|
jsonobject_property()
|
12688
12685
|
], BaseAction.prototype, "popupModel", void 0);
|
@@ -14142,7 +14139,7 @@ var survey_element_SurveyElement = /** @class */ (function (_super) {
|
|
14142
14139
|
},
|
14143
14140
|
set: function (val) {
|
14144
14141
|
this.setPropertyValue("state", val);
|
14145
|
-
this.renderedIsExpanded = !
|
14142
|
+
this.renderedIsExpanded = !this.isCollapsed;
|
14146
14143
|
},
|
14147
14144
|
enumerable: false,
|
14148
14145
|
configurable: true
|
@@ -14344,6 +14341,9 @@ var survey_element_SurveyElement = /** @class */ (function (_super) {
|
|
14344
14341
|
this.updateDescriptionVisibility(this.description);
|
14345
14342
|
this.clearCssClasses();
|
14346
14343
|
}
|
14344
|
+
this.blockAnimations();
|
14345
|
+
this.renderedIsExpanded = !this.isCollapsed;
|
14346
|
+
this.releaseAnimations();
|
14347
14347
|
};
|
14348
14348
|
SurveyElement.prototype.canRunConditions = function () {
|
14349
14349
|
return _super.prototype.canRunConditions.call(this) && !!this.data;
|
@@ -22514,9 +22514,6 @@ var itemvalue_ItemValue = /** @class */ (function (_super) {
|
|
22514
22514
|
_this.ownerPropertyName = "";
|
22515
22515
|
_this.locTextValue = new localizablestring_LocalizableString(_this, true, "text");
|
22516
22516
|
_this.locTextValue.onStrChanged = function (oldValue, newValue) {
|
22517
|
-
if (newValue == _this.value) {
|
22518
|
-
newValue = undefined;
|
22519
|
-
}
|
22520
22517
|
_this.propertyValueChanged("text", oldValue, newValue);
|
22521
22518
|
};
|
22522
22519
|
_this.locTextValue.onGetTextCallback = function (txt) {
|
@@ -30956,8 +30953,11 @@ var question_matrixdropdownbase_QuestionMatrixDropdownModelBase = /** @class */
|
|
30956
30953
|
var rows = this.generatedVisibleRows;
|
30957
30954
|
if (rowIndex >= rows.length)
|
30958
30955
|
return null;
|
30959
|
-
var
|
30960
|
-
|
30956
|
+
var val = this.value;
|
30957
|
+
var rowVal = this.getRowValueCore(rows[rowIndex], val);
|
30958
|
+
if (this.isValueSurveyElement(val))
|
30959
|
+
return rowVal;
|
30960
|
+
return helpers_Helpers.getUnbindValue(rowVal);
|
30961
30961
|
};
|
30962
30962
|
QuestionMatrixDropdownModelBase.prototype.checkIfValueInRowDuplicated = function (checkedRow, cellQuestion) {
|
30963
30963
|
if (!this.generatedVisibleRows)
|
@@ -38218,7 +38218,8 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
|
|
38218
38218
|
return false;
|
38219
38219
|
};
|
38220
38220
|
PanelModelBase.prototype.getIsPageVisible = function (exceptionQuestion) {
|
38221
|
-
|
38221
|
+
var isContentVisible = this.getIsContentVisible(exceptionQuestion);
|
38222
|
+
return this.visible && isContentVisible;
|
38222
38223
|
};
|
38223
38224
|
PanelModelBase.prototype.setVisibleIndex = function (index) {
|
38224
38225
|
if (!this.isVisible || index < 0) {
|
@@ -49706,6 +49707,14 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
|
|
49706
49707
|
res.text = text;
|
49707
49708
|
return res;
|
49708
49709
|
};
|
49710
|
+
QuestionSelectBase.prototype.hasErrors = function (fireCallback, rec) {
|
49711
|
+
if (fireCallback === void 0) { fireCallback = true; }
|
49712
|
+
if (rec === void 0) { rec = null; }
|
49713
|
+
if (!rec || rec.isOnValueChanged !== true) {
|
49714
|
+
this.clearIncorrectValues();
|
49715
|
+
}
|
49716
|
+
return _super.prototype.hasErrors.call(this, fireCallback, rec);
|
49717
|
+
};
|
49709
49718
|
Object.defineProperty(QuestionSelectBase.prototype, "isUsingCarryForward", {
|
49710
49719
|
get: function () {
|
49711
49720
|
return !!this.carryForwardQuestionType;
|
@@ -60079,7 +60088,7 @@ var question_ranking_QuestionRankingModel = /** @class */ (function (_super) {
|
|
60079
60088
|
}
|
60080
60089
|
};
|
60081
60090
|
_this.startDrag = function (event) {
|
60082
|
-
var choice = itemvalue_ItemValue.getItemByValue(_this.
|
60091
|
+
var choice = itemvalue_ItemValue.getItemByValue(_this.visibleChoices, _this.draggedChoiceValue);
|
60083
60092
|
_this.dragDropRankingChoices.startDrag(event, choice, _this, _this.draggedTargetNode);
|
60084
60093
|
};
|
60085
60094
|
_this.handlePointerUp = function (event, choice, node) {
|
@@ -72733,9 +72742,9 @@ Serializer.addClass("currencymask", [
|
|
72733
72742
|
|
72734
72743
|
var Version;
|
72735
72744
|
var ReleaseDate;
|
72736
|
-
Version = "" + "1.12.
|
72745
|
+
Version = "" + "1.12.24";
|
72737
72746
|
settings.version = Version;
|
72738
|
-
ReleaseDate = "" + "2025-02-
|
72747
|
+
ReleaseDate = "" + "2025-02-19";
|
72739
72748
|
function checkLibraryVersion(ver, libraryName) {
|
72740
72749
|
if (Version != ver) {
|
72741
72750
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -82695,6 +82704,120 @@ setupLocale({ localeCode: "fil", strings: philippinesStrings, nativeName: "filip
|
|
82695
82704
|
// tabTitlePlaceholder: "New Panel" => "Bagong Panel"// deselectAllItemText: "Deselect all" => "Alisin ang pagpili ng lahat"
|
82696
82705
|
// textNoDigitsAllow: "Numbers are not allowed." => "Bawal ang mga numero."
|
82697
82706
|
|
82707
|
+
// CONCATENATED MODULE: ./packages/survey-core/src/localization/slovenian.ts
|
82708
|
+
|
82709
|
+
var slovenianStrings = {
|
82710
|
+
pagePrevText: "Prejšnja",
|
82711
|
+
pageNextText: "Naslednja",
|
82712
|
+
completeText: "Zaključi",
|
82713
|
+
previewText: "Predogled",
|
82714
|
+
editText: "Uredi",
|
82715
|
+
startSurveyText: "Začni",
|
82716
|
+
otherItemText: "Drugo (opišite)",
|
82717
|
+
noneItemText: "Noben",
|
82718
|
+
refuseItemText: "Zavrni odgovor",
|
82719
|
+
dontKnowItemText: "Ne vem",
|
82720
|
+
selectAllItemText: "Izberi vse",
|
82721
|
+
deselectAllItemText: "Odstrani izbiro",
|
82722
|
+
progressText: "Stran {0} od {1}",
|
82723
|
+
indexText: "{0} od {1}",
|
82724
|
+
panelDynamicProgressText: "{0} od {1}",
|
82725
|
+
panelDynamicTabTextFormat: "Plošča {panelIndex}",
|
82726
|
+
questionsProgressText: "Odgovorjeno {0}/{1} vprašanj",
|
82727
|
+
emptySurvey: "Anketa ne vsebuje vidnih elementov.",
|
82728
|
+
completingSurvey: "Hvala, ker ste izpolnili anketo",
|
82729
|
+
completingSurveyBefore: "To anketo ste že izpolnili.",
|
82730
|
+
loadingSurvey: "Nalaganje ankete...",
|
82731
|
+
placeholder: "Izberite...",
|
82732
|
+
ratingOptionsCaption: "Izberite...",
|
82733
|
+
value: "vrednost",
|
82734
|
+
requiredError: "Odgovor je obvezen.",
|
82735
|
+
requiredErrorInPanel: "Obvezen odgovor: odgovorite na vsaj eno vprašanje.",
|
82736
|
+
requiredInAllRowsError: "Obvezen odgovor: odgovorite na vsa vprašanja v vrsticah.",
|
82737
|
+
eachRowUniqueError: "Vsaka vrstica mora imeti edinstveno vrednost.",
|
82738
|
+
numericError: "Vrednost mora biti številčna.",
|
82739
|
+
minError: "Vrednost ne sme biti manjša od {0}",
|
82740
|
+
maxError: "Vrednost ne sme biti večja od {0}",
|
82741
|
+
textNoDigitsAllow: "Številke niso dovoljene.",
|
82742
|
+
textMinLength: "Vnesite vsaj {0} znakov.",
|
82743
|
+
textMaxLength: "Vnesite največ {0} znakov.",
|
82744
|
+
textMinMaxLength: "Vnesite vsaj {0} in največ {1} znakov.",
|
82745
|
+
minRowCountError: "Izpolnite vsaj {0} vrstic.",
|
82746
|
+
minSelectError: "Izberite vsaj {0} možnosti.",
|
82747
|
+
maxSelectError: "Izberite največ {0} možnosti.",
|
82748
|
+
numericMinMax: "'{0}' mora biti vsaj {1} in največ {2}",
|
82749
|
+
numericMin: "'{0}' mora biti vsaj {1}",
|
82750
|
+
numericMax: "'{0}' mora biti največ {1}",
|
82751
|
+
invalidEmail: "Vnesite veljaven e-poštni naslov.",
|
82752
|
+
invalidExpression: "Izraz: {0} mora vrniti 'true'.",
|
82753
|
+
urlRequestError: "Zahteva je vrnila napako '{0}'. {1}",
|
82754
|
+
urlGetChoicesError: "Zahteva je vrnila prazne podatke ali lastnost 'path' ni pravilna.",
|
82755
|
+
exceedMaxSize: "Velikost datoteke ne sme presegati {0}.",
|
82756
|
+
noUploadFilesHandler: "Datotek ni mogoče naložiti. Dodajte obravnavo za dogodek 'onUploadFiles'.",
|
82757
|
+
otherRequiredError: "Obvezen odgovor: vnesite drugo vrednost.",
|
82758
|
+
uploadingFile: "Vaša datoteka se nalaga. Počakajte nekaj sekund in poskusite znova.",
|
82759
|
+
loadingFile: "Nalaganje...",
|
82760
|
+
chooseFile: "Izberite datoteko...",
|
82761
|
+
noFileChosen: "Ni izbrane datoteke",
|
82762
|
+
filePlaceholder: "Povlecite in spustite datoteko tukaj ali kliknite spodnji gumb za izbiro datoteke za nalaganje.",
|
82763
|
+
confirmDelete: "Ste prepričani, da želite izbrisati ta zapis?",
|
82764
|
+
keyDuplicationError: "Ta vrednost mora biti edinstvena.",
|
82765
|
+
addColumn: "Dodaj stolpec",
|
82766
|
+
addRow: "Dodaj vrstico",
|
82767
|
+
removeRow: "Odstrani",
|
82768
|
+
noRowsText: "Ni vrstic.",
|
82769
|
+
addPanel: "Dodaj novo",
|
82770
|
+
removePanel: "Odstrani",
|
82771
|
+
showDetails: "Prikaži podrobnosti",
|
82772
|
+
hideDetails: "Skrij podrobnosti",
|
82773
|
+
choices_Item: "postavka",
|
82774
|
+
choices_Choice: "Možnost izbire",
|
82775
|
+
matrix_column: "Stolpec",
|
82776
|
+
matrix_row: "Vrstica",
|
82777
|
+
multipletext_itemname: "besedilo",
|
82778
|
+
savingData: "Rezultati se shranjujejo na strežnik...",
|
82779
|
+
savingDataError: "Prišlo je do napake in rezultatov ni bilo mogoče shraniti.",
|
82780
|
+
savingDataSuccess: "Rezultati so bili uspešno shranjeni!",
|
82781
|
+
savingExceedSize: "Vaš odgovor presega 64 KB. Zmanjšajte velikost datotek in poskusite znova ali se obrnite na lastnika ankete.",
|
82782
|
+
saveAgainButton: "Poskusite znova",
|
82783
|
+
timerMin: "min",
|
82784
|
+
timerSec: "sek",
|
82785
|
+
timerSpentAll: "Na tej strani ste porabili {0}, skupno {1}.",
|
82786
|
+
timerSpentPage: "Na tej strani ste porabili {0}.",
|
82787
|
+
timerSpentSurvey: "Skupaj ste porabili {0}.",
|
82788
|
+
timerLimitAll: "Na tej strani ste porabili {0} od {1} in skupno {2} od {3}.",
|
82789
|
+
timerLimitPage: "Na tej strani ste porabili {0} od {1}.",
|
82790
|
+
timerLimitSurvey: "Skupaj ste porabili {0} od {1}.",
|
82791
|
+
clearCaption: "Počisti",
|
82792
|
+
signaturePlaceHolder: "Podpišite se tukaj",
|
82793
|
+
signaturePlaceHolderReadOnly: "Ni podpisa",
|
82794
|
+
chooseFileCaption: "Izberi datoteko",
|
82795
|
+
takePhotoCaption: "Slikaj",
|
82796
|
+
photoPlaceholder: "Kliknite spodnji gumb, da posnamete fotografijo s kamero.",
|
82797
|
+
fileOrPhotoPlaceholder: "Povlecite in spustite datoteko za nalaganje ali posnemite fotografijo s kamero.",
|
82798
|
+
replaceFileCaption: "Zamenjaj datoteko",
|
82799
|
+
removeFileCaption: "Odstrani to datoteko",
|
82800
|
+
booleanCheckedLabel: "Da",
|
82801
|
+
booleanUncheckedLabel: "Ne",
|
82802
|
+
confirmRemoveFile: "Ste prepričani, da želite odstraniti to datoteko: {0}?",
|
82803
|
+
confirmRemoveAllFiles: "Ste prepričani, da želite odstraniti vse datoteke?",
|
82804
|
+
questionTitlePatternText: "Naslov vprašanja",
|
82805
|
+
modalCancelButtonText: "Prekliči",
|
82806
|
+
modalApplyButtonText: "Uporabi",
|
82807
|
+
filterStringPlaceholder: "Vnesite za iskanje...",
|
82808
|
+
emptyMessage: "Ni podatkov za prikaz",
|
82809
|
+
noEntriesText: "Ni še vnosov.\nKliknite spodnji gumb za dodajanje novega vnosa.",
|
82810
|
+
noEntriesReadonlyText: "Ni vnosov",
|
82811
|
+
tabTitlePlaceholder: "Nova plošča",
|
82812
|
+
more: "Več",
|
82813
|
+
tagboxDoneButtonCaption: "V redu",
|
82814
|
+
selectToRankEmptyRankedAreaText: "Vse možnosti so izbrane za razvrščanje",
|
82815
|
+
selectToRankEmptyUnrankedAreaText: "Povlecite izbire sem, da jih razvrstite",
|
82816
|
+
ok: "V redu",
|
82817
|
+
cancel: "Prekliči",
|
82818
|
+
};
|
82819
|
+
setupLocale({ localeCode: "sl", strings: slovenianStrings, nativeName: "slovenščina", englishName: "Slovenian" });
|
82820
|
+
|
82698
82821
|
// CONCATENATED MODULE: ./packages/survey-core/entries/chunks/localization.ts
|
82699
82822
|
|
82700
82823
|
|
@@ -82746,6 +82869,7 @@ setupLocale({ localeCode: "fil", strings: philippinesStrings, nativeName: "filip
|
|
82746
82869
|
|
82747
82870
|
|
82748
82871
|
|
82872
|
+
|
82749
82873
|
|
82750
82874
|
|
82751
82875
|
// CONCATENATED MODULE: ./src/entries/chunks/localization.ts
|
@@ -83324,19 +83448,17 @@ var element_SurveyRowElement = /** @class */ (function (_super) {
|
|
83324
83448
|
el.focusIn();
|
83325
83449
|
}
|
83326
83450
|
};
|
83327
|
-
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: css.questionWrapper, style: element.rootStyle, "data-key":
|
83451
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": element.name + this.index, onFocus: focusIn, ref: this.rootRef }, innerElement));
|
83328
83452
|
};
|
83329
83453
|
SurveyRowElement.prototype.createElement = function (element, elementIndex) {
|
83330
|
-
var index = elementIndex ? "-" + elementIndex : 0;
|
83331
83454
|
if (!this.row.isNeedRender) {
|
83332
|
-
return ReactElementFactory.Instance.createElement(element.skeletonComponentName, {
|
83455
|
+
return ReactElementFactory.Instance.createElement(element.skeletonComponentName, { element: element, css: this.css, });
|
83333
83456
|
}
|
83334
83457
|
var elementType = element.getTemplate();
|
83335
83458
|
if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {
|
83336
83459
|
elementType = "question";
|
83337
83460
|
}
|
83338
83461
|
return ReactElementFactory.Instance.createElement(elementType, {
|
83339
|
-
key: element.name + index,
|
83340
83462
|
element: element,
|
83341
83463
|
creator: this.creator,
|
83342
83464
|
survey: this.survey,
|
@@ -83416,9 +83538,7 @@ var row_SurveyRow = /** @class */ (function (_super) {
|
|
83416
83538
|
SurveyRow.prototype.renderElementContent = function () {
|
83417
83539
|
var _this = this;
|
83418
83540
|
var elements = this.row.visibleElements.map(function (element, elementIndex) {
|
83419
|
-
|
83420
|
-
var key = element.name + index;
|
83421
|
-
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](element_SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: key }));
|
83541
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](element_SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: element.id }));
|
83422
83542
|
});
|
83423
83543
|
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { ref: this.rootRef, className: this.row.getRowCss() }, elements));
|
83424
83544
|
};
|
@@ -84730,7 +84850,6 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
|
|
84730
84850
|
var el = this.rootRef.current;
|
84731
84851
|
if (el && el.getAttribute("data-rendered") !== "r") {
|
84732
84852
|
el.setAttribute("data-rendered", "r");
|
84733
|
-
el.setAttribute("data-name", this.question.name);
|
84734
84853
|
if (this.question.afterRender) {
|
84735
84854
|
this.question.afterRender(el);
|
84736
84855
|
}
|
@@ -84781,7 +84900,7 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
|
|
84781
84900
|
var rootStyle = question.getRootStyle();
|
84782
84901
|
var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
|
84783
84902
|
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](external_root_React_commonjs2_react_commonjs_react_amd_react_["Fragment"], null,
|
84784
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
84903
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded, "data-name": question.name },
|
84785
84904
|
errorsAboveQuestion,
|
84786
84905
|
headerTop,
|
84787
84906
|
questionContent,
|
@@ -90820,7 +90939,7 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
|
|
90820
90939
|
}
|
90821
90940
|
var renderedItem = (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: itemClass },
|
90822
90941
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("label", { className: cssClasses.label },
|
90823
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label":
|
90942
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label": item.locText.renderedHtml, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
90824
90943
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.itemDecorator },
|
90825
90944
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.imageContainer },
|
90826
90945
|
!!this.question.cssClasses.checkedItemDecorator ?
|