survey-react 1.9.33 → 1.9.34
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 +19 -4
- package/survey.react.js +145 -31
- 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
@@ -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.34
|
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
|
*/
|
@@ -1120,7 +1120,7 @@ export declare class PopupUtils {
|
|
1120
1120
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
1121
1121
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
1122
1122
|
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any, marginLeft?: number, marginRight?: number): INumberPosition;
|
1123
|
-
static updatePopupWidthBeforeShow(popupModel: any, e: any): void;
|
1123
|
+
static updatePopupWidthBeforeShow(popupModel: any, target: JSX.Element, e: any): void;
|
1124
1124
|
}
|
1125
1125
|
export declare class ProcessValue {
|
1126
1126
|
constructor();
|
@@ -7301,6 +7301,11 @@ export declare class QuestionFileModel extends Question {
|
|
7301
7301
|
* Clear value programmatically.
|
7302
7302
|
*/
|
7303
7303
|
clear(doneCallback?: any): void;
|
7304
|
+
get multipleRendered(): string;
|
7305
|
+
get showRemoveButton(): any;
|
7306
|
+
get showRemoveButtonBottom(): any;
|
7307
|
+
defaultImage(data: any): boolean;
|
7308
|
+
get imageWidthRendered(): string;
|
7304
7309
|
/*
|
7305
7310
|
* Remove file item programmatically.
|
7306
7311
|
*/
|
@@ -8033,6 +8038,7 @@ export declare class QuestionSelectBase extends Question {
|
|
8033
8038
|
protected updateVisibleChoices(): void;
|
8034
8039
|
protected canUseFilteredChoices(): boolean;
|
8035
8040
|
setCanShowOptionItemCallback(func: (item: ItemValue) => boolean): void;
|
8041
|
+
get newItem(): ItemValue;
|
8036
8042
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
8037
8043
|
protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
|
8038
8044
|
/*
|
@@ -8363,8 +8369,6 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
8363
8369
|
*/
|
8364
8370
|
export declare class QuestionDropdownModel extends QuestionSelectBase {
|
8365
8371
|
constructor(name: string);
|
8366
|
-
onOpened: EventBase<QuestionDropdownModel>;
|
8367
|
-
onOpenedCallBack(): void;
|
8368
8372
|
/*
|
8369
8373
|
* This flag controls whether to show options caption item ('Choose...').
|
8370
8374
|
*/
|
@@ -8412,6 +8416,9 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
8412
8416
|
protected onVisibleChoicesChanged(): void;
|
8413
8417
|
_popupModel: any;
|
8414
8418
|
get popupModel(): any;
|
8419
|
+
onOpened: EventBase<QuestionDropdownModel>;
|
8420
|
+
onOpenedCallBack(): void;
|
8421
|
+
onClick(event: any): void;
|
8415
8422
|
}
|
8416
8423
|
/*
|
8417
8424
|
* A Model for html question. Unlike other questions it doesn't have value and title.
|
@@ -9650,6 +9657,7 @@ export declare var defaultStandardCss: {
|
|
9650
9657
|
rootRadio: string,
|
9651
9658
|
item: string,
|
9652
9659
|
control: string,
|
9660
|
+
controlCheckbox: string,
|
9653
9661
|
itemChecked: string,
|
9654
9662
|
itemIndeterminate: string,
|
9655
9663
|
itemDisabled: string,
|
@@ -10012,6 +10020,7 @@ export declare var defaultBootstrapCss: {
|
|
10012
10020
|
rootRadio: string,
|
10013
10021
|
item: string,
|
10014
10022
|
control: string,
|
10023
|
+
controlCheckbox: string,
|
10015
10024
|
itemChecked: string,
|
10016
10025
|
itemIndeterminate: string,
|
10017
10026
|
itemDisabled: string,
|
@@ -10332,6 +10341,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10332
10341
|
rootRadio: string,
|
10333
10342
|
item: string,
|
10334
10343
|
control: string,
|
10344
|
+
controlCheckbox: string,
|
10335
10345
|
itemChecked: string,
|
10336
10346
|
itemIndeterminate: string,
|
10337
10347
|
itemDisabled: string,
|
@@ -10767,6 +10777,7 @@ export declare var defaultV2Css: {
|
|
10767
10777
|
radioFieldset: string,
|
10768
10778
|
itemOnError: string,
|
10769
10779
|
control: string,
|
10780
|
+
controlCheckbox: string,
|
10770
10781
|
itemChecked: string,
|
10771
10782
|
itemIndeterminate: string,
|
10772
10783
|
itemDisabled: string,
|
@@ -11247,6 +11258,7 @@ export declare var modernCss: {
|
|
11247
11258
|
small: string,
|
11248
11259
|
item: string,
|
11249
11260
|
control: string,
|
11261
|
+
controlCheckbox: string,
|
11250
11262
|
itemChecked: string,
|
11251
11263
|
itemIndeterminate: string,
|
11252
11264
|
itemDisabled: string,
|
@@ -11259,6 +11271,9 @@ export declare var modernCss: {
|
|
11259
11271
|
checkedPath: string,
|
11260
11272
|
uncheckedPath: string,
|
11261
11273
|
indeterminatePath: string,
|
11274
|
+
svgIconCheckedId: string,
|
11275
|
+
svgIconUncheckedId: string,
|
11276
|
+
svgIconIndId: string,
|
11262
11277
|
},
|
11263
11278
|
text: {
|
11264
11279
|
root: string,
|