survey-react 1.9.35 → 1.9.36
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 +98 -57
- package/defaultV2.min.css +2 -2
- package/modern.css +46 -33
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +8 -2
- package/survey.min.css +2 -2
- package/survey.react.d.ts +24 -2
- package/survey.react.js +217 -87
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Type definition for Survey JavaScript library for React v1.9.
|
2
|
+
* Type definition for Survey JavaScript library for React v1.9.36
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -725,6 +725,7 @@ export declare class Base {
|
|
725
725
|
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
726
726
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
727
727
|
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
728
|
+
onBindingChanged(oldValue: any, newValue: any): void;
|
728
729
|
protected get isInternal(): boolean;
|
729
730
|
addExpressionProperty(name: string, onExecute: (obj: Base, res: any) => void, canRun?: (obj: Base) => boolean): void;
|
730
731
|
getDataFilteredValues(): any;
|
@@ -935,6 +936,8 @@ export declare class ElementFactory {
|
|
935
936
|
getAllTypes(): Array<any>;
|
936
937
|
createElement(elementType: string, name: string): IElement;
|
937
938
|
}
|
939
|
+
export declare class ElementHelper {
|
940
|
+
}
|
938
941
|
export declare class Event<T, Options> {
|
939
942
|
onCallbacksChanged: any;
|
940
943
|
protected callbacks: any;
|
@@ -1522,6 +1525,7 @@ export declare class ActionContainer<T extends Action = Action> extends Base {
|
|
1522
1525
|
protected getRenderedActions(): Array<T>;
|
1523
1526
|
updateCallback: (isResetInitialized: boolean) => void;
|
1524
1527
|
containerCss: string;
|
1528
|
+
sizeMode: "default" | "small";
|
1525
1529
|
protected raiseUpdate(isResetInitialized: boolean): void;
|
1526
1530
|
protected onSet(): void;
|
1527
1531
|
protected onPush(item: T): void;
|
@@ -3230,6 +3234,7 @@ export declare class ListModel extends ActionContainer {
|
|
3230
3234
|
getItemClass: (itemValue: Action) => string;
|
3231
3235
|
getItemIndent: (itemValue: any) => string;
|
3232
3236
|
get filteredTextPlaceholder(): string;
|
3237
|
+
goToItems(event: any): void;
|
3233
3238
|
onKeyDown(event: any): void;
|
3234
3239
|
onPointerDown(event: any, item: any): void;
|
3235
3240
|
refresh(): void;
|
@@ -3491,7 +3496,6 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3491
3496
|
protected setPage(parent: IPanel, newPage: IPage): void;
|
3492
3497
|
protected getSearchableLocKeys(keys: any): void;
|
3493
3498
|
protected get isDefaultV2Theme(): boolean;
|
3494
|
-
get showErrorsAboveQuestion(): boolean;
|
3495
3499
|
get isErrorsModeTooltip(): boolean;
|
3496
3500
|
protected getIsErrorsModeTooltip(): boolean;
|
3497
3501
|
get hasParent(): boolean;
|
@@ -6337,6 +6341,8 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6337
6341
|
showErrorOnCore(location: string): boolean;
|
6338
6342
|
get showErrorOnTop(): boolean;
|
6339
6343
|
get showErrorOnBottom(): boolean;
|
6344
|
+
get showErrorsAboveQuestion(): boolean;
|
6345
|
+
get showErrorsBelowQuestion(): boolean;
|
6340
6346
|
get cssError(): string;
|
6341
6347
|
protected setCssError(val: string): void;
|
6342
6348
|
protected getCssError(cssClasses: any): string;
|
@@ -7391,6 +7397,9 @@ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
|
|
7391
7397
|
clearIncorrectValues(): void;
|
7392
7398
|
protected clearInvisibleValuesInRows(): void;
|
7393
7399
|
needResponsiveWidth(): boolean;
|
7400
|
+
getTableCss(): string;
|
7401
|
+
verticalAlign: "top" | "middle";
|
7402
|
+
alternateRows: boolean;
|
7394
7403
|
}
|
7395
7404
|
/*
|
7396
7405
|
* A Model for a multiple text question.
|
@@ -9557,6 +9566,8 @@ export declare var registerFunction: (name: string, func: any) => any;
|
|
9557
9566
|
export declare var parse: any;
|
9558
9567
|
export declare var defaultActionBarCss: {
|
9559
9568
|
root: string,
|
9569
|
+
defaultSizeMode: string,
|
9570
|
+
smallSizeMode: string,
|
9560
9571
|
item: string,
|
9561
9572
|
itemActive: string,
|
9562
9573
|
itemPressed: string,
|
@@ -10734,7 +10745,9 @@ export declare var defaultV2Css: {
|
|
10734
10745
|
icon: string,
|
10735
10746
|
item: string,
|
10736
10747
|
tooltip: string,
|
10748
|
+
outsideQuestion: string,
|
10737
10749
|
aboveQuestion: string,
|
10750
|
+
belowQuestion: string,
|
10738
10751
|
locationTop: string,
|
10739
10752
|
locationBottom: string,
|
10740
10753
|
},
|
@@ -10870,8 +10883,12 @@ export declare var defaultV2Css: {
|
|
10870
10883
|
mainRoot: string,
|
10871
10884
|
tableWrapper: string,
|
10872
10885
|
root: string,
|
10886
|
+
rootVerticalAlignTop: string,
|
10887
|
+
rootVerticalAlignMiddle: string,
|
10888
|
+
rootAlternateRows: string,
|
10873
10889
|
rowError: string,
|
10874
10890
|
cell: string,
|
10891
|
+
row: string,
|
10875
10892
|
headerCell: string,
|
10876
10893
|
rowTextCell: string,
|
10877
10894
|
label: string,
|
@@ -10891,7 +10908,11 @@ export declare var defaultV2Css: {
|
|
10891
10908
|
mainRoot: string,
|
10892
10909
|
rootScroll: string,
|
10893
10910
|
root: string,
|
10911
|
+
rootVerticalAlignTop: string,
|
10912
|
+
rootVerticalAlignMiddle: string,
|
10913
|
+
rootAlternateRows: string,
|
10894
10914
|
cell: string,
|
10915
|
+
row: string,
|
10895
10916
|
headerCell: string,
|
10896
10917
|
rowTextCell: string,
|
10897
10918
|
cellRequiredText: string,
|
@@ -10912,6 +10933,7 @@ export declare var defaultV2Css: {
|
|
10912
10933
|
empty: string,
|
10913
10934
|
root: string,
|
10914
10935
|
cell: string,
|
10936
|
+
row: string,
|
10915
10937
|
headerCell: string,
|
10916
10938
|
rowTextCell: string,
|
10917
10939
|
cellRequiredText: string,
|