survey-core 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.core.d.ts +19 -4
- package/survey.core.js +133 -13
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
package/defaultV2.css
CHANGED
package/defaultV2.min.css
CHANGED
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey JavaScript library. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey JavaScript library. Platform independent (core) 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
|
*/
|
|
@@ -1081,7 +1081,7 @@ export declare class PopupUtils {
|
|
|
1081
1081
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
|
1082
1082
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
|
1083
1083
|
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any, marginLeft?: number, marginRight?: number): INumberPosition;
|
|
1084
|
-
static updatePopupWidthBeforeShow(popupModel: any, e: any): void;
|
|
1084
|
+
static updatePopupWidthBeforeShow(popupModel: any, target: any, e: any): void;
|
|
1085
1085
|
}
|
|
1086
1086
|
export declare class ProcessValue {
|
|
1087
1087
|
constructor();
|
|
@@ -6471,6 +6471,11 @@ export declare class QuestionFileModel extends Question {
|
|
|
6471
6471
|
* Clear value programmatically.
|
|
6472
6472
|
*/
|
|
6473
6473
|
clear(doneCallback?: any): void;
|
|
6474
|
+
get multipleRendered(): string;
|
|
6475
|
+
get showRemoveButton(): any;
|
|
6476
|
+
get showRemoveButtonBottom(): any;
|
|
6477
|
+
defaultImage(data: any): boolean;
|
|
6478
|
+
get imageWidthRendered(): string;
|
|
6474
6479
|
/*
|
|
6475
6480
|
* Remove file item programmatically.
|
|
6476
6481
|
*/
|
|
@@ -7203,6 +7208,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
7203
7208
|
protected updateVisibleChoices(): void;
|
|
7204
7209
|
protected canUseFilteredChoices(): boolean;
|
|
7205
7210
|
setCanShowOptionItemCallback(func: (item: ItemValue) => boolean): void;
|
|
7211
|
+
get newItem(): ItemValue;
|
|
7206
7212
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
|
7207
7213
|
protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
|
|
7208
7214
|
/*
|
|
@@ -7515,8 +7521,6 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
|
7515
7521
|
*/
|
|
7516
7522
|
export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
7517
7523
|
constructor(name: string);
|
|
7518
|
-
onOpened: EventBase<QuestionDropdownModel>;
|
|
7519
|
-
onOpenedCallBack(): void;
|
|
7520
7524
|
/*
|
|
7521
7525
|
* This flag controls whether to show options caption item ('Choose...').
|
|
7522
7526
|
*/
|
|
@@ -7564,6 +7568,9 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
|
7564
7568
|
protected onVisibleChoicesChanged(): void;
|
|
7565
7569
|
_popupModel: any;
|
|
7566
7570
|
get popupModel(): any;
|
|
7571
|
+
onOpened: EventBase<QuestionDropdownModel>;
|
|
7572
|
+
onOpenedCallBack(): void;
|
|
7573
|
+
onClick(event: any): void;
|
|
7567
7574
|
}
|
|
7568
7575
|
/*
|
|
7569
7576
|
* A Model for html question. Unlike other questions it doesn't have value and title.
|
|
@@ -8795,6 +8802,7 @@ export declare var defaultStandardCss: {
|
|
|
8795
8802
|
rootRadio: string,
|
|
8796
8803
|
item: string,
|
|
8797
8804
|
control: string,
|
|
8805
|
+
controlCheckbox: string,
|
|
8798
8806
|
itemChecked: string,
|
|
8799
8807
|
itemIndeterminate: string,
|
|
8800
8808
|
itemDisabled: string,
|
|
@@ -9157,6 +9165,7 @@ export declare var defaultBootstrapCss: {
|
|
|
9157
9165
|
rootRadio: string,
|
|
9158
9166
|
item: string,
|
|
9159
9167
|
control: string,
|
|
9168
|
+
controlCheckbox: string,
|
|
9160
9169
|
itemChecked: string,
|
|
9161
9170
|
itemIndeterminate: string,
|
|
9162
9171
|
itemDisabled: string,
|
|
@@ -9477,6 +9486,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
|
9477
9486
|
rootRadio: string,
|
|
9478
9487
|
item: string,
|
|
9479
9488
|
control: string,
|
|
9489
|
+
controlCheckbox: string,
|
|
9480
9490
|
itemChecked: string,
|
|
9481
9491
|
itemIndeterminate: string,
|
|
9482
9492
|
itemDisabled: string,
|
|
@@ -9912,6 +9922,7 @@ export declare var defaultV2Css: {
|
|
|
9912
9922
|
radioFieldset: string,
|
|
9913
9923
|
itemOnError: string,
|
|
9914
9924
|
control: string,
|
|
9925
|
+
controlCheckbox: string,
|
|
9915
9926
|
itemChecked: string,
|
|
9916
9927
|
itemIndeterminate: string,
|
|
9917
9928
|
itemDisabled: string,
|
|
@@ -10392,6 +10403,7 @@ export declare var modernCss: {
|
|
|
10392
10403
|
small: string,
|
|
10393
10404
|
item: string,
|
|
10394
10405
|
control: string,
|
|
10406
|
+
controlCheckbox: string,
|
|
10395
10407
|
itemChecked: string,
|
|
10396
10408
|
itemIndeterminate: string,
|
|
10397
10409
|
itemDisabled: string,
|
|
@@ -10404,6 +10416,9 @@ export declare var modernCss: {
|
|
|
10404
10416
|
checkedPath: string,
|
|
10405
10417
|
uncheckedPath: string,
|
|
10406
10418
|
indeterminatePath: string,
|
|
10419
|
+
svgIconCheckedId: string,
|
|
10420
|
+
svgIconUncheckedId: string,
|
|
10421
|
+
svgIconIndId: string,
|
|
10407
10422
|
},
|
|
10408
10423
|
text: {
|
|
10409
10424
|
root: string,
|