survey-react 1.9.22 → 1.9.25
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 +123 -78
- package/defaultV2.min.css +2 -2
- package/modern.css +65 -54
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +20 -2
- package/survey.min.css +2 -2
- package/survey.react.d.ts +145 -83
- package/survey.react.js +1641 -553
- 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.25
|
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
|
*/
|
@@ -91,124 +91,99 @@ export interface IExpresionExecutor {
|
|
91
91
|
* This call back runs on executing expression if there is at least one async function
|
92
92
|
*/
|
93
93
|
onComplete: any;
|
94
|
-
/*
|
95
|
-
* The expression as string, property with get/set
|
96
|
-
*/
|
97
|
-
expression: string;
|
98
|
-
/*
|
99
|
-
* Returns true if the expression is valid and can be executed
|
100
|
-
*/
|
101
|
-
canRun(): boolean;
|
102
|
-
/*
|
103
|
-
* Run the expression. Returns the result of execution.
|
104
|
-
* The result can be undefined if there is an asyn function. In this case result will be returned onComplete callback.
|
105
|
-
*/
|
106
|
-
run(values: any, properties: any): any;
|
107
|
-
/*
|
108
|
-
* Returns the list of variables that used in the expression. They defined as: {variableName} in default parser.
|
109
|
-
*/
|
110
|
-
getVariables(): Array<any>;
|
111
|
-
/*
|
112
|
-
* Returns true if there is a function in the expression
|
113
|
-
*/
|
114
|
-
hasFunction(): boolean;
|
115
|
-
/*
|
116
|
-
* Returns true if there is an async function in the expression
|
117
|
-
*/
|
118
|
-
isAsync: boolean;
|
119
94
|
}
|
120
95
|
/*
|
121
|
-
*
|
96
|
+
* An action item.
|
97
|
+
* Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
|
122
98
|
*/
|
123
99
|
export interface IAction {
|
124
100
|
/*
|
125
|
-
*
|
101
|
+
* A unique action item identifier.
|
126
102
|
*/
|
127
103
|
id: string;
|
128
104
|
/*
|
129
|
-
*
|
105
|
+
* Specifies the action item's visibility.
|
130
106
|
*/
|
131
107
|
visible?: boolean;
|
132
108
|
/*
|
133
|
-
*
|
109
|
+
* The action item's title.
|
134
110
|
*/
|
135
111
|
title?: string;
|
136
112
|
/*
|
137
|
-
*
|
113
|
+
* The action item's tooltip.
|
138
114
|
*/
|
139
115
|
tooltip?: string;
|
140
116
|
/*
|
141
|
-
*
|
117
|
+
* Specifies whether users can interact with the action item.
|
142
118
|
*/
|
143
119
|
enabled?: boolean;
|
144
120
|
/*
|
145
|
-
*
|
121
|
+
* Specifies the visibility of the action item's title.
|
146
122
|
*/
|
147
123
|
showTitle?: boolean;
|
148
124
|
/*
|
149
|
-
* A
|
125
|
+
* A function that is executed when users click the action item.
|
150
126
|
*/
|
151
127
|
action?: any;
|
152
128
|
/*
|
153
|
-
*
|
129
|
+
* One or several CSS classes that you want to apply to the outer `<div>` element.
|
130
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `css` property applies classes to the `<div>`.
|
131
|
+
* To apply several classes, separate them with a space character: "myclass1 myclass2".
|
154
132
|
*/
|
155
133
|
css?: string;
|
156
134
|
/*
|
157
|
-
*
|
135
|
+
* One or several CSS classes that you want to apply to the inner `<input>` element.
|
136
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `innerCss` property applies classes to the `<input>`.
|
137
|
+
* To apply several classes, separate them with a space character: "myclass1 myclass2".
|
158
138
|
*/
|
159
139
|
innerCss?: string;
|
160
140
|
/*
|
161
|
-
*
|
141
|
+
* The action item's data object. Use it to pass required data to a custom template or component.
|
162
142
|
*/
|
163
143
|
data?: any;
|
164
144
|
popupModel?: any;
|
165
145
|
needSeparator?: boolean;
|
166
146
|
/*
|
167
|
-
*
|
147
|
+
* Specifies whether the action item is active.
|
148
|
+
* Use it as a flag to specify different action item appearances in different states.
|
168
149
|
*/
|
169
150
|
active?: boolean;
|
170
151
|
pressed?: boolean;
|
171
152
|
/*
|
172
|
-
*
|
153
|
+
* Specifies the name of a template used to render the action item.
|
173
154
|
*/
|
174
155
|
template?: string;
|
175
156
|
/*
|
176
|
-
*
|
157
|
+
* Specifies the name of a component used to render the action item.
|
177
158
|
*/
|
178
159
|
component?: string;
|
179
160
|
/*
|
180
|
-
*
|
161
|
+
* The action item's icon name.
|
181
162
|
*/
|
182
163
|
iconName?: string;
|
183
164
|
/*
|
184
|
-
*
|
165
|
+
* The action item's icon size in pixels.
|
185
166
|
*/
|
186
167
|
iconSize?: number;
|
187
168
|
/*
|
188
|
-
*
|
189
|
-
*/
|
190
|
-
items?: any;
|
191
|
-
/*
|
192
|
-
* Gets or sets an action's location in a matrix question's row.
|
169
|
+
* The action item's location in a matrix question's row.
|
193
170
|
*
|
194
|
-
* The following
|
171
|
+
* The following values are available:
|
195
172
|
*
|
196
|
-
* - `start` -
|
197
|
-
* - `end` -
|
173
|
+
* - `"start"` - The action item is located at the beginning of the row.
|
174
|
+
* - `"end"` - The action is located at the end of the row.
|
198
175
|
*/
|
199
176
|
location?: string;
|
200
177
|
/*
|
201
|
-
* Set
|
178
|
+
* Set this property to `true` if you want to disable keyboard navigation for the action item (sets the `tabIndex` attribute to -1).
|
202
179
|
*/
|
203
180
|
disableTabStop?: boolean;
|
204
181
|
/*
|
205
|
-
* Set
|
182
|
+
* Set this property to `true` if you want the item's `title` to be always visible.
|
183
|
+
* If you set it to `false`, the `title` hides when the screen space is limited, and the item displays only the icon.
|
206
184
|
*/
|
207
185
|
disableShrink?: boolean;
|
208
|
-
|
209
|
-
* Action button display mode
|
210
|
-
*/
|
211
|
-
mode?: "popup" | "large" | "small";
|
186
|
+
mode?: any;
|
212
187
|
visibleIndex?: number;
|
213
188
|
needSpace?: boolean;
|
214
189
|
}
|
@@ -1122,6 +1097,7 @@ export declare class OperandMaker {
|
|
1122
1097
|
static signs: any;
|
1123
1098
|
}
|
1124
1099
|
export declare class PopupUtils {
|
1100
|
+
static bottomIndent: number;
|
1125
1101
|
static calculatePosition(targetRect: any, height: number, width: number, verticalPosition: any, horizontalPosition: any, showPointer: boolean): INumberPosition;
|
1126
1102
|
static updateVerticalDimensions(top: number, height: number, windowHeight: number): any;
|
1127
1103
|
static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: any): any;
|
@@ -1295,7 +1271,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1295
1271
|
render(): any;
|
1296
1272
|
protected wrapElement(element: any): any;
|
1297
1273
|
protected get isRendering(): boolean;
|
1298
|
-
protected
|
1274
|
+
protected getRenderedElements(): Array<Base>;
|
1299
1275
|
protected canRender(): boolean;
|
1300
1276
|
protected renderElement(): any;
|
1301
1277
|
protected get changedStatePropName(): string;
|
@@ -1492,7 +1468,7 @@ export declare class Action extends Base implements IAction {
|
|
1492
1468
|
component: string;
|
1493
1469
|
items: any;
|
1494
1470
|
visibleIndex: number;
|
1495
|
-
mode:
|
1471
|
+
mode: any;
|
1496
1472
|
disableTabStop: boolean;
|
1497
1473
|
disableShrink: boolean;
|
1498
1474
|
needSpace: boolean;
|
@@ -1524,9 +1500,11 @@ export declare class ActionContainer<T extends Action = Action> extends Base {
|
|
1524
1500
|
get visibleActions(): any;
|
1525
1501
|
getRootCss(): string;
|
1526
1502
|
get cssClasses(): any;
|
1503
|
+
addAction(val: IAction, sortByVisibleIndex?: boolean): Action;
|
1527
1504
|
setItems(items: any, sortByVisibleIndex?: boolean): void;
|
1528
1505
|
initResponsivityManager(container: any): void;
|
1529
1506
|
resetResponsivityManager(): void;
|
1507
|
+
getActionById(id: string): T;
|
1530
1508
|
}
|
1531
1509
|
export declare class AnswerRequiredError extends SurveyError {
|
1532
1510
|
constructor(text?: string, errorOwner?: ISurveyErrorOwner);
|
@@ -1766,6 +1744,7 @@ export declare class ExceedSizeError extends SurveyError {
|
|
1766
1744
|
getDefaultText(): string;
|
1767
1745
|
}
|
1768
1746
|
export declare class ExpressionExecutor implements IExpresionExecutor {
|
1747
|
+
constructor(expression: string);
|
1769
1748
|
static createExpressionExecutor: any;
|
1770
1749
|
onComplete: any;
|
1771
1750
|
expressionValue: string;
|
@@ -1776,7 +1755,6 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
|
|
1776
1755
|
hasFunctionValue: boolean;
|
1777
1756
|
asyncFuncList: any;
|
1778
1757
|
get expression(): string;
|
1779
|
-
set expression(val: string);
|
1780
1758
|
getVariables(): Array<any>;
|
1781
1759
|
hasFunction(): boolean;
|
1782
1760
|
get isAsync(): boolean;
|
@@ -2040,6 +2018,7 @@ export declare class LocalizableString implements ILocalizableString {
|
|
2040
2018
|
localizationName: string;
|
2041
2019
|
onGetTextCallback: any;
|
2042
2020
|
onGetDefaultTextCallback: any;
|
2021
|
+
onGetLocalizationTextCallback: any;
|
2043
2022
|
onStrChanged: any;
|
2044
2023
|
onSearchChanged: any;
|
2045
2024
|
sharedData: LocalizableString;
|
@@ -2188,7 +2167,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
2188
2167
|
updateCellQuestion(cellQuestion: Question, data: any, onUpdateJson?: any): void;
|
2189
2168
|
defaultCellTypeChanged(): void;
|
2190
2169
|
protected calcCellQuestionType(row: MatrixDropdownRowModelBase): string;
|
2191
|
-
protected updateTemplateQuestion(): void;
|
2170
|
+
protected updateTemplateQuestion(newCellType?: string): void;
|
2192
2171
|
protected createNewQuestion(cellType: string): Question;
|
2193
2172
|
previousChoicesId: string;
|
2194
2173
|
protected setQuestionProperties(question: Question, onUpdateJson?: any): void;
|
@@ -2751,18 +2730,6 @@ export declare class SurveyElementCore extends Base implements ILocalizableOwner
|
|
2751
2730
|
getRendererContext(locStr: LocalizableString): any;
|
2752
2731
|
getProcessedText(text: string): string;
|
2753
2732
|
}
|
2754
|
-
export declare class SurveyNavigation extends SurveyNavigationBase {
|
2755
|
-
constructor(props: any);
|
2756
|
-
handlePrevClick(event: any): void;
|
2757
|
-
handleNextClick(event: any): void;
|
2758
|
-
handleNextMouseDown(event: any): any;
|
2759
|
-
handleMouseDown(event: any): any;
|
2760
|
-
handleCompleteClick(event: any): void;
|
2761
|
-
handlePreviewClick(event: any): void;
|
2762
|
-
handleStartClick(event: any): void;
|
2763
|
-
render(): any;
|
2764
|
-
protected renderButton(click: any, mouseDown: any, text: string, btnClassName: string): any;
|
2765
|
-
}
|
2766
2733
|
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
2767
2734
|
constructor(props: any);
|
2768
2735
|
protected rootRef: any;
|
@@ -2835,7 +2802,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
2835
2802
|
componentWillUnmount(): void;
|
2836
2803
|
protected updateDomElement(): void;
|
2837
2804
|
protected get questionBase(): any;
|
2838
|
-
protected
|
2805
|
+
protected getRenderedElements(): Array<Base>;
|
2839
2806
|
protected get creator(): ISurveyCreator;
|
2840
2807
|
protected canRender(): boolean;
|
2841
2808
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
@@ -3027,13 +2994,16 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
|
|
3027
2994
|
protected dotsItemPopupModel: any;
|
3028
2995
|
responsivityManager: ResponsivityManager;
|
3029
2996
|
minVisibleItemsCount: number;
|
2997
|
+
isResponsivenessDisabled: boolean;
|
3030
2998
|
protected invisibleItemsListModel: ListModel;
|
3031
2999
|
protected onSet(): void;
|
3032
3000
|
protected onPush(item: T): void;
|
3033
3001
|
protected getRenderedActions(): Array<T>;
|
3002
|
+
protected raiseUpdate(isResetInitialized: boolean): void;
|
3034
3003
|
fit(dimension: number, dotsItemSize: number): void;
|
3035
3004
|
initResponsivityManager(container: any): void;
|
3036
3005
|
resetResponsivityManager(): void;
|
3006
|
+
setActionsMode(mode: any): void;
|
3037
3007
|
dispose(): void;
|
3038
3008
|
}
|
3039
3009
|
export declare class AnswerCountValidator extends SurveyValidator {
|
@@ -3184,6 +3154,7 @@ export declare class ImageItemValue extends ItemValue implements ILocalizableOwn
|
|
3184
3154
|
*/
|
3185
3155
|
get imageLink(): string;
|
3186
3156
|
set imageLink(val: string);
|
3157
|
+
aspectRatio: number;
|
3187
3158
|
get locImageLink(): LocalizableString;
|
3188
3159
|
getLocale(): string;
|
3189
3160
|
getMarkdownHtml(text: string, name: string): string;
|
@@ -3555,6 +3526,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
3555
3526
|
localeValue: string;
|
3556
3527
|
textPreProcessor: TextPreProcessor;
|
3557
3528
|
timerModelValue: SurveyTimerModel;
|
3529
|
+
navigationBarValue: any;
|
3558
3530
|
/*
|
3559
3531
|
* The event is fired before the survey is completed and the `onComplete` event is fired. You can prevent the survey from completing by setting `options.allowComplete` to `false`
|
3560
3532
|
* <br/> `sender` - the survey object that fires the event.
|
@@ -4216,7 +4188,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4216
4188
|
get cssNavigationStart(): string;
|
4217
4189
|
get cssNavigationNext(): string;
|
4218
4190
|
get bodyCss(): string;
|
4219
|
-
|
4191
|
+
completedCss: string;
|
4192
|
+
containerCss: string;
|
4220
4193
|
get completedStateCss(): string;
|
4221
4194
|
getCompletedStateCss(): string;
|
4222
4195
|
lazyRenderingValue: boolean;
|
@@ -4528,6 +4501,16 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4528
4501
|
set loadingHtml(val: string);
|
4529
4502
|
get locLoadingHtml(): LocalizableString;
|
4530
4503
|
/*
|
4504
|
+
* Default value for loadingHtml property
|
4505
|
+
*/
|
4506
|
+
get defaultLoadingHtml(): string;
|
4507
|
+
get navigationBar(): any;
|
4508
|
+
/*
|
4509
|
+
* Adds a custom navigation item similar to the Previous Page, Next Page, and Complete buttons.
|
4510
|
+
* Accepts an object described in the [IAction](https://surveyjs.io/Documentation/Library?id=IAction) help section.
|
4511
|
+
*/
|
4512
|
+
addNavigationItem(val: IAction): Action;
|
4513
|
+
/*
|
4531
4514
|
* Gets or sets the 'Start' button caption.
|
4532
4515
|
* The 'Start' button is shown on the started page. Set the `firstPageIsStarted` property to `true`, to display the started page.
|
4533
4516
|
*/
|
@@ -5018,6 +5001,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5018
5001
|
isCalculatingProgressText: boolean;
|
5019
5002
|
updateProgressText(onValueChanged?: boolean): void;
|
5020
5003
|
getProgressText(): string;
|
5004
|
+
rootCss: string;
|
5021
5005
|
getRootCss(): string;
|
5022
5006
|
resizeObserver: any;
|
5023
5007
|
afterRenderSurvey(htmlElement: any): void;
|
@@ -5172,6 +5156,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5172
5156
|
setJsonObject(jsonObj: any): void;
|
5173
5157
|
isEndLoadingFromJson: string;
|
5174
5158
|
endLoadingFromJson(): void;
|
5159
|
+
updateNavigationItemTitlesCallback: any;
|
5160
|
+
updateNavigationItemCssCallback: any;
|
5161
|
+
protected createNavigationBar(): ActionContainer;
|
5162
|
+
protected createNavigationActions(): Array<IAction>;
|
5175
5163
|
protected onBeforeCreating(): void;
|
5176
5164
|
protected onCreating(): void;
|
5177
5165
|
getBuiltInVariableValue(name: string): number;
|
@@ -5359,6 +5347,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5359
5347
|
dispose(): void;
|
5360
5348
|
disposeCallback: any;
|
5361
5349
|
}
|
5350
|
+
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
5351
|
+
constructor(props: any);
|
5352
|
+
protected get item(): Action;
|
5353
|
+
protected canRender(): boolean;
|
5354
|
+
protected renderElement(): any;
|
5355
|
+
}
|
5362
5356
|
export declare class SurveyPage extends SurveyPanelBase {
|
5363
5357
|
constructor(props: any);
|
5364
5358
|
protected getPanelBase(): PanelModelBase;
|
@@ -5488,12 +5482,24 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
5488
5482
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
5489
5483
|
constructor(props: any);
|
5490
5484
|
protected get question(): any;
|
5491
|
-
handleOnChange(event: any): void;
|
5492
5485
|
protected renderElement(): any;
|
5486
|
+
protected getColumns(cssClasses: any): any;
|
5493
5487
|
protected getItems(cssClasses: any): Array<any>;
|
5494
5488
|
protected get textStyle(): any;
|
5495
5489
|
protected renderItem(key: string, item: any, cssClasses: any): any;
|
5496
5490
|
}
|
5491
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
5492
|
+
constructor(props: any);
|
5493
|
+
protected getStateElement(): any;
|
5494
|
+
componentDidMount(): void;
|
5495
|
+
componentWillUnmount(): void;
|
5496
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
5497
|
+
protected get cssClasses(): any;
|
5498
|
+
protected get item(): any;
|
5499
|
+
protected get question(): any;
|
5500
|
+
handleOnChange(event: any): void;
|
5501
|
+
protected renderElement(): any;
|
5502
|
+
}
|
5497
5503
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
5498
5504
|
constructor(props: any);
|
5499
5505
|
protected get question(): any;
|
@@ -6437,9 +6443,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6437
6443
|
getQuestionFromArray(name: string, index: number): IQuestion;
|
6438
6444
|
getDefaultValue(): any;
|
6439
6445
|
protected isDefaultValueEmpty(): boolean;
|
6446
|
+
protected getDefaultRunner(runner: ExpressionRunner, expression: string): ExpressionRunner;
|
6440
6447
|
protected setDefaultValue(): void;
|
6441
6448
|
protected isValueExpression(val: any): boolean;
|
6442
|
-
protected setValueAndRunExpression(
|
6449
|
+
protected setValueAndRunExpression(runner: ExpressionRunner, defaultValue: any, setFunc: any, values?: any, properties?: any): void;
|
6443
6450
|
/*
|
6444
6451
|
* The question comment value.
|
6445
6452
|
*/
|
@@ -6544,7 +6551,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6544
6551
|
transformToDesktopView(): void;
|
6545
6552
|
needResponsiveWidth(): boolean;
|
6546
6553
|
protected supportResponsiveness(): boolean;
|
6554
|
+
protected needResponsiveness(): boolean;
|
6555
|
+
protected checkForResponsiveness(el: any): void;
|
6547
6556
|
resizeObserver: any;
|
6557
|
+
protected getObservedElementSelector(): string;
|
6548
6558
|
protected getCompactRenderAs(): string;
|
6549
6559
|
protected getDesktopRenderAs(): string;
|
6550
6560
|
protected processResponsiveness(requiredWidth: number, availableWidth: number): void;
|
@@ -7962,6 +7972,8 @@ export declare class QuestionSelectBase extends Question {
|
|
7962
7972
|
protected get activeChoices(): any;
|
7963
7973
|
protected getChoicesFromQuestion(question: QuestionSelectBase): Array<ItemValue>;
|
7964
7974
|
protected get hasActiveChoices(): boolean;
|
7975
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7976
|
+
protected isFootChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7965
7977
|
protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7966
7978
|
protected getChoices(): Array<ItemValue>;
|
7967
7979
|
supportComment(): boolean;
|
@@ -7999,6 +8011,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7999
8011
|
getColumnClass(): string;
|
8000
8012
|
getItemIndex(item: any): number;
|
8001
8013
|
getItemClass(item: any): string;
|
8014
|
+
protected getCurrentColCount(): number;
|
8002
8015
|
protected getItemClassCore(item: any, options: any): string;
|
8003
8016
|
getLabelClass(item: ItemValue): string;
|
8004
8017
|
getControlLabelClass(item: ItemValue): string;
|
@@ -8019,7 +8032,7 @@ export declare class QuestionSelectBase extends Question {
|
|
8019
8032
|
getItemId(item: ItemValue): string;
|
8020
8033
|
get questionName(): string;
|
8021
8034
|
getItemEnabled(item: ItemValue): any;
|
8022
|
-
rootElement: any;
|
8035
|
+
protected rootElement: any;
|
8023
8036
|
afterRender(el: any): void;
|
8024
8037
|
prevIsOtherSelected: boolean;
|
8025
8038
|
protected onValueChanged(): void;
|
@@ -8681,6 +8694,8 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8681
8694
|
export declare class QuestionTextModel extends QuestionTextBase {
|
8682
8695
|
constructor(name: string);
|
8683
8696
|
locDataListValue: LocalizableStrings;
|
8697
|
+
minValueRunner: ExpressionRunner;
|
8698
|
+
maxValueRunner: ExpressionRunner;
|
8684
8699
|
protected isTextValue(): boolean;
|
8685
8700
|
getType(): string;
|
8686
8701
|
onSurveyLoad(): void;
|
@@ -8843,7 +8858,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
8843
8858
|
protected canUseFilteredChoices(): boolean;
|
8844
8859
|
protected supportSelectAll(): boolean;
|
8845
8860
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
8846
|
-
protected
|
8861
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
8847
8862
|
/*
|
8848
8863
|
* For internal use in SurveyJS Creator V2.
|
8849
8864
|
*/
|
@@ -8896,14 +8911,16 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
8896
8911
|
/*
|
8897
8912
|
* The image height.
|
8898
8913
|
*/
|
8899
|
-
get imageHeight():
|
8900
|
-
set imageHeight(val:
|
8914
|
+
get imageHeight(): number;
|
8915
|
+
set imageHeight(val: number);
|
8916
|
+
responsiveImageHeight: number;
|
8901
8917
|
get renderedImageHeight(): string;
|
8902
8918
|
/*
|
8903
8919
|
* The image width.
|
8904
8920
|
*/
|
8905
|
-
get imageWidth():
|
8906
|
-
set imageWidth(val:
|
8921
|
+
get imageWidth(): number;
|
8922
|
+
set imageWidth(val: number);
|
8923
|
+
responsiveImageWidth: number;
|
8907
8924
|
get renderedImageWidth(): string;
|
8908
8925
|
/*
|
8909
8926
|
* The image fit mode.
|
@@ -8916,8 +8933,24 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
8916
8933
|
get contentMode(): string;
|
8917
8934
|
set contentMode(val: string);
|
8918
8935
|
protected convertDefaultValue(val: any): any;
|
8919
|
-
get hasColumns(): boolean;
|
8920
8936
|
get inputType(): "checkbox" | "radio";
|
8937
|
+
protected isFootChoice(_item: ItemValue, _question: QuestionSelectBase): boolean;
|
8938
|
+
getSelectBaseRootCss(): string;
|
8939
|
+
isResponsiveValue: boolean;
|
8940
|
+
maxImageWidth: number;
|
8941
|
+
minImageWidth: number;
|
8942
|
+
maxImageHeight: number;
|
8943
|
+
minImageHeight: number;
|
8944
|
+
protected getObservedElementSelector(): string;
|
8945
|
+
protected supportResponsiveness(): boolean;
|
8946
|
+
protected needResponsiveness(): boolean;
|
8947
|
+
_width: number;
|
8948
|
+
onContentLoaded: any;
|
8949
|
+
responsiveColCount: number;
|
8950
|
+
protected getCurrentColCount(): number;
|
8951
|
+
protected processResponsiveness(_: number, availableWidth: number): void;
|
8952
|
+
gapBetweenItems: number;
|
8953
|
+
afterRender(el: any): void;
|
8921
8954
|
}
|
8922
8955
|
/*
|
8923
8956
|
* A Model for a matrix dropdown question. You may use a dropdown, checkbox, radiogroup, text and comment questions as a cell editors.
|
@@ -9002,6 +9035,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
9002
9035
|
*/
|
9003
9036
|
get allowRowsDragAndDrop(): boolean;
|
9004
9037
|
set allowRowsDragAndDrop(val: boolean);
|
9038
|
+
get iconDragElement(): string;
|
9005
9039
|
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
9006
9040
|
/*
|
9007
9041
|
* The minimum row count. A user could not delete a row if the rowCount equals to minRowCount
|
@@ -9677,6 +9711,7 @@ export declare var defaultStandardCss: {
|
|
9677
9711
|
itemInline: string,
|
9678
9712
|
itemText: string,
|
9679
9713
|
clearButton: string,
|
9714
|
+
column: string,
|
9680
9715
|
},
|
9681
9716
|
rating: {
|
9682
9717
|
root: string,
|
@@ -9726,6 +9761,9 @@ export declare var defaultStandardCss: {
|
|
9726
9761
|
buttonCollapsed: string,
|
9727
9762
|
},
|
9728
9763
|
},
|
9764
|
+
variables: {
|
9765
|
+
themeMark: string,
|
9766
|
+
},
|
9729
9767
|
};
|
9730
9768
|
export declare var surveyTimerFunctions: {
|
9731
9769
|
setTimeout: any,
|
@@ -10660,6 +10698,7 @@ export declare var defaultV2Css: {
|
|
10660
10698
|
imagepicker: {
|
10661
10699
|
mainRoot: string,
|
10662
10700
|
root: string,
|
10701
|
+
rootColumn: string,
|
10663
10702
|
item: string,
|
10664
10703
|
itemOnError: string,
|
10665
10704
|
itemInline: string,
|
@@ -10674,6 +10713,10 @@ export declare var defaultV2Css: {
|
|
10674
10713
|
itemText: string,
|
10675
10714
|
clearButton: string,
|
10676
10715
|
other: string,
|
10716
|
+
itemNoImage: string,
|
10717
|
+
itemNoImageSvgIcon: string,
|
10718
|
+
itemNoImageSvgIconId: string,
|
10719
|
+
column: string,
|
10677
10720
|
},
|
10678
10721
|
matrix: {
|
10679
10722
|
mainRoot: string,
|
@@ -10734,6 +10777,8 @@ export declare var defaultV2Css: {
|
|
10734
10777
|
buttonRemove: string,
|
10735
10778
|
iconAdd: string,
|
10736
10779
|
iconRemove: string,
|
10780
|
+
dragElementDecorator: string,
|
10781
|
+
iconDragElement: string,
|
10737
10782
|
footer: string,
|
10738
10783
|
emptyRowsSection: string,
|
10739
10784
|
iconDrag: string,
|
@@ -10848,6 +10893,17 @@ export declare var defaultV2Css: {
|
|
10848
10893
|
itemDragMod: string,
|
10849
10894
|
itemOnError: string,
|
10850
10895
|
},
|
10896
|
+
buttongroup: {
|
10897
|
+
root: string,
|
10898
|
+
item: string,
|
10899
|
+
itemIcon: string,
|
10900
|
+
itemDecorator: string,
|
10901
|
+
itemCaption: string,
|
10902
|
+
itemHover: string,
|
10903
|
+
itemSelected: string,
|
10904
|
+
itemDisabled: string,
|
10905
|
+
itemControl: string,
|
10906
|
+
},
|
10851
10907
|
actionBar: {
|
10852
10908
|
root: string,
|
10853
10909
|
item: string,
|
@@ -10858,6 +10914,8 @@ export declare var defaultV2Css: {
|
|
10858
10914
|
},
|
10859
10915
|
variables: {
|
10860
10916
|
mobileWidth: string,
|
10917
|
+
imagepickerGapBetweenItems: string,
|
10918
|
+
themeMark: string,
|
10861
10919
|
},
|
10862
10920
|
};
|
10863
10921
|
export declare var modernCss: {
|
@@ -11098,6 +11156,7 @@ export declare var modernCss: {
|
|
11098
11156
|
},
|
11099
11157
|
imagepicker: {
|
11100
11158
|
root: string,
|
11159
|
+
column: string,
|
11101
11160
|
item: string,
|
11102
11161
|
itemInline: string,
|
11103
11162
|
itemChecked: string,
|
@@ -11228,6 +11287,9 @@ export declare var modernCss: {
|
|
11228
11287
|
buttonCollapsed: string,
|
11229
11288
|
},
|
11230
11289
|
},
|
11290
|
+
variables: {
|
11291
|
+
themeMark: string,
|
11292
|
+
},
|
11231
11293
|
};
|
11232
11294
|
export declare var SvgRegistry: SvgIconRegistry;
|
11233
11295
|
export declare var SvgBundleViewModel: any;
|