survey-react 1.9.97 → 1.9.98
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 +9 -4
- 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 +31 -3
- package/survey.react.js +175 -111
- 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
@@ -2886,7 +2886,7 @@ declare module "trigger" {
|
|
2886
2886
|
canBeCompleted(trigger: Trigger, isCompleted: boolean): void;
|
2887
2887
|
triggerExecuted(trigger: Trigger): void;
|
2888
2888
|
setTriggerValue(name: string, value: any, isVariable: boolean): any;
|
2889
|
-
copyTriggerValue(name: string, fromName: string):
|
2889
|
+
copyTriggerValue(name: string, fromName: string, copyDisplayValue: boolean): void;
|
2890
2890
|
focusQuestion(name: string): boolean;
|
2891
2891
|
}
|
2892
2892
|
/**
|
@@ -2976,6 +2976,8 @@ declare module "trigger" {
|
|
2976
2976
|
set setToName(val: string);
|
2977
2977
|
get fromName(): string;
|
2978
2978
|
set fromName(val: string);
|
2979
|
+
get copyDisplayValue(): boolean;
|
2980
|
+
set copyDisplayValue(val: boolean);
|
2979
2981
|
getType(): string;
|
2980
2982
|
protected onSuccess(values: HashTable<any>, properties: HashTable<any>): void;
|
2981
2983
|
}
|
@@ -4355,6 +4357,7 @@ declare module "question_baseselect" {
|
|
4355
4357
|
protected getDisplayValueEmpty(): string;
|
4356
4358
|
protected getChoicesDisplayValue(items: ItemValue[], val: any): any;
|
4357
4359
|
protected getDisplayArrayValue(keysAsText: boolean, value: any, onGetValueCallback?: (index: number) => any): string;
|
4360
|
+
private getItemDisplayValue;
|
4358
4361
|
private getFilteredChoices;
|
4359
4362
|
protected get activeChoices(): Array<ItemValue>;
|
4360
4363
|
private getQuestionWithChoices;
|
@@ -4729,6 +4732,7 @@ declare module "dragdrop/dom-adapter" {
|
|
4729
4732
|
export interface IDragDropDOMAdapter {
|
4730
4733
|
startDrag(event: PointerEvent, draggedElement: any, parentElement: any, draggedElementNode: HTMLElement, preventSaveTargetNode: boolean): void;
|
4731
4734
|
draggedElementShortcut: HTMLElement;
|
4735
|
+
rootContainer: HTMLElement;
|
4732
4736
|
}
|
4733
4737
|
export class DragDropDOMAdapter implements IDragDropDOMAdapter {
|
4734
4738
|
private dd;
|
@@ -4742,6 +4746,7 @@ declare module "dragdrop/dom-adapter" {
|
|
4742
4746
|
private savedTargetNode;
|
4743
4747
|
private scrollIntervalId;
|
4744
4748
|
constructor(dd: IDragDropEngine, longTap?: boolean);
|
4749
|
+
private get rootElement();
|
4745
4750
|
private stopLongTapIfMoveEnough;
|
4746
4751
|
private get isMicroMovement();
|
4747
4752
|
private stopLongTap;
|
@@ -4758,6 +4763,7 @@ declare module "dragdrop/dom-adapter" {
|
|
4758
4763
|
private drop;
|
4759
4764
|
private doStartDrag;
|
4760
4765
|
draggedElementShortcut: any;
|
4766
|
+
rootContainer: HTMLElement;
|
4761
4767
|
startDrag(event: PointerEvent, draggedElement: any, parentElement?: any, draggedElementNode?: HTMLElement, preventSaveTargetNode?: boolean): void;
|
4762
4768
|
}
|
4763
4769
|
}
|
@@ -7692,6 +7698,7 @@ declare module "survey" {
|
|
7692
7698
|
static platform: string;
|
7693
7699
|
get platformName(): string;
|
7694
7700
|
notifier: Notifier;
|
7701
|
+
rootElement: HTMLElement;
|
7695
7702
|
/**
|
7696
7703
|
* A suffix added to the name of the property that stores comments.
|
7697
7704
|
*
|
@@ -9619,6 +9626,7 @@ declare module "survey" {
|
|
9619
9626
|
canBeCompleted(trigger: Trigger, isCompleted: boolean): void;
|
9620
9627
|
private completedByTriggers;
|
9621
9628
|
private get canBeCompletedByTrigger();
|
9629
|
+
private get completedTrigger();
|
9622
9630
|
/**
|
9623
9631
|
* Returns the HTML content for the complete page.
|
9624
9632
|
* @see completedHtml
|
@@ -10168,7 +10176,7 @@ declare module "survey" {
|
|
10168
10176
|
getTextProcessor(): ITextProcessor;
|
10169
10177
|
getObjects(pages: string[], questions: string[]): any[];
|
10170
10178
|
setTriggerValue(name: string, value: any, isVariable: boolean): void;
|
10171
|
-
copyTriggerValue(name: string, fromName: string): void;
|
10179
|
+
copyTriggerValue(name: string, fromName: string, copyDisplayValue: boolean): void;
|
10172
10180
|
triggerExecuted(trigger: Trigger): void;
|
10173
10181
|
private isFocusingQuestion;
|
10174
10182
|
private afterRenderPageTasks;
|
@@ -12101,8 +12109,9 @@ declare module "base-interfaces" {
|
|
12101
12109
|
state: string;
|
12102
12110
|
isLazyRendering: boolean;
|
12103
12111
|
cancelPreviewByPage(panel: IPanel): any;
|
12104
|
-
|
12112
|
+
locEditText: LocalizableString;
|
12105
12113
|
cssNavigationEdit: string;
|
12114
|
+
rootElement?: HTMLElement;
|
12106
12115
|
requiredText: string;
|
12107
12116
|
beforeSettingQuestionErrors(question: IQuestion, errors: Array<SurveyError>): void;
|
12108
12117
|
beforeSettingPanelErrors(question: IPanel, errors: Array<SurveyError>): void;
|
@@ -20865,18 +20874,23 @@ declare module "localization/turkish" {
|
|
20865
20874
|
noneItemText: string;
|
20866
20875
|
selectAllItemText: string;
|
20867
20876
|
progressText: string;
|
20877
|
+
indexText: string;
|
20868
20878
|
panelDynamicProgressText: string;
|
20879
|
+
panelDynamicTabTextFormat: string;
|
20869
20880
|
questionsProgressText: string;
|
20870
20881
|
emptySurvey: string;
|
20871
20882
|
completingSurvey: string;
|
20872
20883
|
completingSurveyBefore: string;
|
20873
20884
|
loadingSurvey: string;
|
20874
20885
|
placeholder: string;
|
20886
|
+
ratingOptionsCaption: string;
|
20875
20887
|
value: string;
|
20876
20888
|
requiredError: string;
|
20877
20889
|
requiredErrorInPanel: string;
|
20878
20890
|
requiredInAllRowsError: string;
|
20879
20891
|
numericError: string;
|
20892
|
+
minError: string;
|
20893
|
+
maxError: string;
|
20880
20894
|
textMinLength: string;
|
20881
20895
|
textMaxLength: string;
|
20882
20896
|
textMinMaxLength: string;
|
@@ -20896,16 +20910,19 @@ declare module "localization/turkish" {
|
|
20896
20910
|
loadingFile: string;
|
20897
20911
|
chooseFile: string;
|
20898
20912
|
noFileChosen: string;
|
20913
|
+
fileDragAreaPlaceholder: string;
|
20899
20914
|
confirmDelete: string;
|
20900
20915
|
keyDuplicationError: string;
|
20901
20916
|
addColumn: string;
|
20902
20917
|
addRow: string;
|
20903
20918
|
removeRow: string;
|
20919
|
+
emptyRowsText: string;
|
20904
20920
|
addPanel: string;
|
20905
20921
|
removePanel: string;
|
20906
20922
|
choices_Item: string;
|
20907
20923
|
matrix_column: string;
|
20908
20924
|
matrix_row: string;
|
20925
|
+
multipletext_itemname: string;
|
20909
20926
|
savingData: string;
|
20910
20927
|
savingDataError: string;
|
20911
20928
|
savingDataSuccess: string;
|
@@ -20919,6 +20936,7 @@ declare module "localization/turkish" {
|
|
20919
20936
|
timerLimitPage: string;
|
20920
20937
|
timerLimitSurvey: string;
|
20921
20938
|
clearCaption: string;
|
20939
|
+
signaturePlaceHolder: string;
|
20922
20940
|
chooseFileCaption: string;
|
20923
20941
|
removeFileCaption: string;
|
20924
20942
|
booleanCheckedLabel: string;
|
@@ -20926,6 +20944,16 @@ declare module "localization/turkish" {
|
|
20926
20944
|
confirmRemoveFile: string;
|
20927
20945
|
confirmRemoveAllFiles: string;
|
20928
20946
|
questionTitlePatternText: string;
|
20947
|
+
modalCancelButtonText: string;
|
20948
|
+
modalApplyButtonText: string;
|
20949
|
+
filterStringPlaceholder: string;
|
20950
|
+
emptyMessage: string;
|
20951
|
+
noEntriesText: string;
|
20952
|
+
noEntriesReadonlyText: string;
|
20953
|
+
more: string;
|
20954
|
+
tagboxDoneButtonCaption: string;
|
20955
|
+
selectToRankEmptyRankedAreaText: string;
|
20956
|
+
selectToRankEmptyUnrankedAreaText: string;
|
20929
20957
|
};
|
20930
20958
|
}
|
20931
20959
|
declare module "localization/ukrainian" {
|