survey-react 1.12.22 → 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 +51 -5
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- 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 +135 -9
- package/survey.react.js +267 -130
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
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
@@ -1723,6 +1723,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1723
1723
|
progressBtnIcon: string;
|
1724
1724
|
noEntriesPlaceholder: string;
|
1725
1725
|
compact: string;
|
1726
|
+
tabsContainer: string;
|
1727
|
+
tabsContainerWithHeader: string;
|
1726
1728
|
tabsRoot: string;
|
1727
1729
|
tabsLeft: string;
|
1728
1730
|
tabsRight: string;
|
@@ -2719,9 +2721,11 @@ declare module "packages/survey-core/src/textPreProcessor" {
|
|
2719
2721
|
private get hasAllValuesOnLastRunValue();
|
2720
2722
|
private set hasAllValuesOnLastRunValue(value);
|
2721
2723
|
onProcess: (textValue: TextPreProcessorValue) => void;
|
2722
|
-
process(text: string, returnDisplayValue?: boolean, doEncoding?: boolean): string;
|
2724
|
+
process(text: string, returnDisplayValue?: boolean, doEncoding?: boolean, replaceUndefinedValues?: boolean): string;
|
2723
2725
|
processValue(name: string, returnDisplayValue: boolean): TextPreProcessorValue;
|
2724
2726
|
get hasAllValuesOnLastRun(): boolean;
|
2727
|
+
processText(text: string, returnDisplayValue: boolean): string;
|
2728
|
+
processTextEx(params: ITextProcessorProp): ITextProcessorResult;
|
2725
2729
|
private getItems;
|
2726
2730
|
private isValidItemName;
|
2727
2731
|
private getName;
|
@@ -2741,7 +2745,7 @@ declare module "packages/survey-core/src/textPreProcessor" {
|
|
2741
2745
|
private getProcessedTextValue;
|
2742
2746
|
processText(text: string, returnDisplayValue: boolean): string;
|
2743
2747
|
processTextEx(params: ITextProcessorProp): ITextProcessorResult;
|
2744
|
-
private
|
2748
|
+
private addTextPreProcessor;
|
2745
2749
|
}
|
2746
2750
|
}
|
2747
2751
|
declare module "packages/survey-core/src/error" {
|
@@ -4577,6 +4581,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4577
4581
|
protected getCommentElementsId(): Array<string>;
|
4578
4582
|
protected getItemValueType(): string;
|
4579
4583
|
createItemValue(value: any, text?: string): ItemValue;
|
4584
|
+
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
4580
4585
|
get isUsingCarryForward(): boolean;
|
4581
4586
|
get carryForwardQuestionType(): string;
|
4582
4587
|
private setCarryForwardQuestionType;
|
@@ -6600,7 +6605,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6600
6605
|
import { PanelModel } from "packages/survey-core/src/panel";
|
6601
6606
|
import { SurveyError } from "packages/survey-core/src/survey-error";
|
6602
6607
|
import { ActionContainer } from "packages/survey-core/src/actions/container";
|
6603
|
-
import { IAction } from "packages/survey-core/src/actions/action";
|
6608
|
+
import { Action, IAction } from "packages/survey-core/src/actions/action";
|
6604
6609
|
import { AdaptiveActionContainer } from "packages/survey-core/src/actions/adaptive-container";
|
6605
6610
|
import { ITheme } from "packages/survey-core/src/themes";
|
6606
6611
|
import { AnimationProperty, IAnimationGroupConsumer } from "packages/survey-core/src/utils/animation";
|
@@ -6613,6 +6618,13 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6613
6618
|
getSurvey(): ISurvey;
|
6614
6619
|
getRootData(): ISurveyData;
|
6615
6620
|
}
|
6621
|
+
interface IPanelDynamicTabbedMenuItem extends IAction {
|
6622
|
+
panelId: string;
|
6623
|
+
}
|
6624
|
+
class PanelDynamicTabbedMenuItem extends Action {
|
6625
|
+
panelId: string;
|
6626
|
+
constructor(innerItem: IPanelDynamicTabbedMenuItem);
|
6627
|
+
}
|
6616
6628
|
export class QuestionPanelDynamicItem implements ISurveyData, ISurveyImpl {
|
6617
6629
|
static ItemVariableName: string;
|
6618
6630
|
static ParentItemVariableName: string;
|
@@ -7068,7 +7080,6 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
7068
7080
|
set tabAlign(val: "center" | "left" | "right");
|
7069
7081
|
get isRenderModeList(): boolean;
|
7070
7082
|
get isRenderModeTab(): boolean;
|
7071
|
-
get hasTitleOnLeftTop(): boolean;
|
7072
7083
|
setVisibleIndex(value: number): number;
|
7073
7084
|
private setPanelVisibleIndex;
|
7074
7085
|
/**
|
@@ -7242,6 +7253,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
7242
7253
|
get progress(): string;
|
7243
7254
|
getRootCss(): string;
|
7244
7255
|
get cssHeader(): string;
|
7256
|
+
getTabsContainerCss(): string;
|
7245
7257
|
getPanelWrapperCss(panel: PanelModel): string;
|
7246
7258
|
getPanelRemoveButtonCss(): string;
|
7247
7259
|
getAddButtonCss(): string;
|
@@ -7255,9 +7267,9 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
7255
7267
|
get locNoEntriesText(): LocalizableString;
|
7256
7268
|
getShowNoEntriesPlaceholder(): boolean;
|
7257
7269
|
needResponsiveWidth(): boolean;
|
7258
|
-
private
|
7259
|
-
get
|
7260
|
-
|
7270
|
+
private tabbedMenuValue;
|
7271
|
+
get hasTabbedMenu(): boolean;
|
7272
|
+
get tabbedMenu(): AdaptiveActionContainer<PanelDynamicTabbedMenuItem> | null;
|
7261
7273
|
private footerToolbarValue;
|
7262
7274
|
get footerToolbar(): ActionContainer;
|
7263
7275
|
legacyNavigation: boolean;
|
@@ -7265,7 +7277,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
7265
7277
|
private updateFooterActions;
|
7266
7278
|
private initFooterToolbar;
|
7267
7279
|
private createTabByPanel;
|
7268
|
-
private
|
7280
|
+
private getTabbedMenuCss;
|
7269
7281
|
private updateTabToolbarItemsPressedState;
|
7270
7282
|
private updateTabToolbar;
|
7271
7283
|
private addTabFromToolbar;
|
@@ -15111,6 +15123,7 @@ declare module "packages/survey-core/src/base-interfaces" {
|
|
15111
15123
|
returnDisplayValue?: boolean;
|
15112
15124
|
doEncoding?: boolean;
|
15113
15125
|
runAtDesign?: boolean;
|
15126
|
+
replaceUndefinedValues?: boolean;
|
15114
15127
|
}
|
15115
15128
|
export interface ITextProcessorResult {
|
15116
15129
|
text: string;
|
@@ -15855,7 +15868,7 @@ declare module "packages/survey-core/src/localizablestring" {
|
|
15855
15868
|
set localizationName(val: string);
|
15856
15869
|
private _allowLineBreaks;
|
15857
15870
|
get allowLineBreaks(): boolean;
|
15858
|
-
onGetTextCallback: (str: string) => string;
|
15871
|
+
onGetTextCallback: (str: string, nonProcessedText?: string) => string;
|
15859
15872
|
storeDefaultText: boolean;
|
15860
15873
|
serializeCallBackText: boolean;
|
15861
15874
|
onGetLocalizationTextCallback: (str: string) => string;
|
@@ -27537,6 +27550,118 @@ declare module "packages/survey-core/src/localization/philippines" {
|
|
27537
27550
|
cancel: string;
|
27538
27551
|
};
|
27539
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
|
+
}
|
27540
27665
|
declare module "packages/survey-core/entries/chunks/localization" {
|
27541
27666
|
import "packages/survey-core/src/localization/arabic";
|
27542
27667
|
import "packages/survey-core/src/localization/basque";
|
@@ -27589,6 +27714,7 @@ declare module "packages/survey-core/entries/chunks/localization" {
|
|
27589
27714
|
import "packages/survey-core/src/localization/welsh";
|
27590
27715
|
import "packages/survey-core/src/localization/telugu";
|
27591
27716
|
import "packages/survey-core/src/localization/philippines";
|
27717
|
+
import "packages/survey-core/src/localization/slovenian";
|
27592
27718
|
}
|
27593
27719
|
declare module "src/entries/chunks/localization" {
|
27594
27720
|
import "packages/survey-core/entries/chunks/localization";
|