survey-react 1.10.4 → 1.10.5
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 +4 -1
- 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 +20 -12
- package/survey.react.js +164 -96
- 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
@@ -1433,6 +1433,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
1433
1433
|
rootFitToContainer: string;
|
1434
1434
|
rootWrapper: string;
|
1435
1435
|
rootWrapperFixed: string;
|
1436
|
+
rootWrapperHasImage: string;
|
1436
1437
|
rootBackgroundImage: string;
|
1437
1438
|
container: string;
|
1438
1439
|
header: string;
|
@@ -3726,7 +3727,7 @@ declare module "question_file" {
|
|
3726
3727
|
*/
|
3727
3728
|
get waitForUpload(): boolean;
|
3728
3729
|
set waitForUpload(val: boolean);
|
3729
|
-
clearValue(): void;
|
3730
|
+
clearValue(keepComment?: boolean): void;
|
3730
3731
|
clearOnDeletingContainer(): void;
|
3731
3732
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
3732
3733
|
protected uploadFiles(files: File[]): void;
|
@@ -4336,7 +4337,7 @@ declare module "question_baseselect" {
|
|
4336
4337
|
protected setQuestionComment(newValue: string): void;
|
4337
4338
|
private onUpdateCommentOnAutoOtherMode;
|
4338
4339
|
private setOtherValueInternally;
|
4339
|
-
clearValue(): void;
|
4340
|
+
clearValue(keepComment?: boolean): void;
|
4340
4341
|
updateCommentFromSurvey(newValue: any): any;
|
4341
4342
|
get renderedValue(): any;
|
4342
4343
|
set renderedValue(val: any);
|
@@ -5632,7 +5633,6 @@ declare module "question_matrixdynamic" {
|
|
5632
5633
|
import { DragDropMatrixRows } from "dragdrop/matrix-rows";
|
5633
5634
|
import { IShortcutText, ISurveyImpl, IProgressInfo } from "base-interfaces";
|
5634
5635
|
import { QuestionMatrixDropdownRenderedTable } from "question_matrixdropdownrendered";
|
5635
|
-
import { MatrixDropdownColumn } from "question_matrixdropdowncolumn";
|
5636
5636
|
export class MatrixDynamicRowModel extends MatrixDropdownRowModelBase implements IShortcutText {
|
5637
5637
|
index: number;
|
5638
5638
|
private dragOrClickHelper;
|
@@ -5882,7 +5882,7 @@ declare module "question_matrixdynamic" {
|
|
5882
5882
|
get hasRowText(): boolean;
|
5883
5883
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
5884
5884
|
private hasErrorInMinRows;
|
5885
|
-
protected
|
5885
|
+
protected getUniqueColumnsNames(): Array<string>;
|
5886
5886
|
protected generateRows(): Array<MatrixDynamicRowModel>;
|
5887
5887
|
protected createMatrixRow(value: any): MatrixDynamicRowModel;
|
5888
5888
|
private lastDeletedRow;
|
@@ -6919,7 +6919,7 @@ declare module "question_signaturepad" {
|
|
6919
6919
|
onBlur: (event: any) => void;
|
6920
6920
|
protected uploadResultItemToValue(r: any): any;
|
6921
6921
|
protected setValueFromResult(arg: any): void;
|
6922
|
-
clearValue(): void;
|
6922
|
+
clearValue(keepComment?: boolean): void;
|
6923
6923
|
endLoadingFromJson(): void;
|
6924
6924
|
}
|
6925
6925
|
}
|
@@ -11548,7 +11548,7 @@ declare module "survey" {
|
|
11548
11548
|
* @see addNewPage
|
11549
11549
|
*/
|
11550
11550
|
createNewPage(name: string): PageModel;
|
11551
|
-
protected questionOnValueChanging(valueName: string, newValue: any): any;
|
11551
|
+
protected questionOnValueChanging(valueName: string, newValue: any, questionValueName?: string): any;
|
11552
11552
|
protected updateQuestionValue(valueName: string, newValue: any): void;
|
11553
11553
|
private checkQuestionErrorOnValueChanged;
|
11554
11554
|
private checkQuestionErrorOnValueChangedCore;
|
@@ -13104,7 +13104,8 @@ declare module "question" {
|
|
13104
13104
|
* @see value
|
13105
13105
|
* @see comment
|
13106
13106
|
*/
|
13107
|
-
clearValue(): void;
|
13107
|
+
clearValue(keepComment?: boolean): void;
|
13108
|
+
clearValueOnly(): void;
|
13108
13109
|
unbindValue(): void;
|
13109
13110
|
createValueCopy(): any;
|
13110
13111
|
initDataUI(): void;
|
@@ -13409,6 +13410,8 @@ declare module "question" {
|
|
13409
13410
|
private initResponsiveness;
|
13410
13411
|
protected getCompactRenderAs(): string;
|
13411
13412
|
protected getDesktopRenderAs(): string;
|
13413
|
+
protected onBeforeSetCompactRenderer(): void;
|
13414
|
+
protected onBeforeSetDesktopRenderer(): void;
|
13412
13415
|
protected processResponsiveness(requiredWidth: number, availableWidth: number): any;
|
13413
13416
|
destroyResizeObserver(): void;
|
13414
13417
|
dispose(): void;
|
@@ -13745,7 +13748,7 @@ declare module "question_matrixdropdownbase" {
|
|
13745
13748
|
getFilteredValues(): any;
|
13746
13749
|
getFilteredProperties(): any;
|
13747
13750
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
13748
|
-
clearValue(): void;
|
13751
|
+
clearValue(keepComment?: boolean): void;
|
13749
13752
|
onAnyValueChanged(name: string, questionName: string): void;
|
13750
13753
|
getDataValueCore(valuesHash: any, key: string): any;
|
13751
13754
|
getValue(name: string): any;
|
@@ -14116,10 +14119,14 @@ declare module "question_matrixdropdownbase" {
|
|
14116
14119
|
getAllErrors(): Array<SurveyError>;
|
14117
14120
|
private hasErrorInRows;
|
14118
14121
|
private isValueDuplicated;
|
14122
|
+
protected getUniqueColumnsNames(): Array<string>;
|
14119
14123
|
private isValueInColumnDuplicated;
|
14120
|
-
|
14121
|
-
private
|
14124
|
+
private getDuplicatedRows;
|
14125
|
+
private showDuplicatedErrorsInRows;
|
14126
|
+
private removeDuplicatedErrorsInRows;
|
14127
|
+
private getDuplicationError;
|
14122
14128
|
private addDuplicationError;
|
14129
|
+
private removeDuplicationError;
|
14123
14130
|
getFirstQuestionToFocus(withError: boolean): Question;
|
14124
14131
|
protected getFirstInputElementId(): string;
|
14125
14132
|
protected getFirstErrorInputElementId(): string;
|
@@ -16283,7 +16290,7 @@ declare module "question_dropdown" {
|
|
16283
16290
|
protected onVisibleChoicesChanged(): void;
|
16284
16291
|
protected getFirstInputElementId(): string;
|
16285
16292
|
getInputId(): string;
|
16286
|
-
clearValue(): void;
|
16293
|
+
clearValue(keepComment?: boolean): void;
|
16287
16294
|
onClick(e: any): void;
|
16288
16295
|
onKeyUp(event: any): void;
|
16289
16296
|
dispose(): void;
|
@@ -16844,7 +16851,7 @@ declare module "question_tagbox" {
|
|
16844
16851
|
protected getFirstInputElementId(): string;
|
16845
16852
|
getInputId(): string;
|
16846
16853
|
dispose(): void;
|
16847
|
-
clearValue(): void;
|
16854
|
+
clearValue(keepComment?: boolean): void;
|
16848
16855
|
get showClearButton(): boolean;
|
16849
16856
|
get isNewA11yStructure(): boolean;
|
16850
16857
|
}
|
@@ -17612,6 +17619,7 @@ declare module "question_rating" {
|
|
17612
17619
|
get readOnlyText(): any;
|
17613
17620
|
needResponsiveWidth(): boolean;
|
17614
17621
|
protected supportResponsiveness(): boolean;
|
17622
|
+
protected onBeforeSetCompactRenderer(): void;
|
17615
17623
|
protected getCompactRenderAs(): string;
|
17616
17624
|
protected getDesktopRenderAs(): string;
|
17617
17625
|
get ariaExpanded(): string;
|