survey-react 1.9.18 → 1.9.21
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 +364 -345
- package/defaultV2.min.css +2 -2
- package/modern.css +21 -4
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +3 -3
- package/survey.min.css +2 -2
- package/survey.react.d.ts +173 -25
- package/survey.react.js +1338 -310
- 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.21
|
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
|
*/
|
@@ -84,6 +84,40 @@ export interface IParseOptions {
|
|
84
84
|
tracer?: any;
|
85
85
|
}
|
86
86
|
/*
|
87
|
+
* Base interface for expression execution
|
88
|
+
*/
|
89
|
+
export interface IExpresionExecutor {
|
90
|
+
/*
|
91
|
+
* This call back runs on executing expression if there is at least one async function
|
92
|
+
*/
|
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
|
+
}
|
120
|
+
/*
|
87
121
|
* Defines an individual action. Action items can be displayed in certain survey elements - in Toolbar (or action bar), in titles (of pages, panels, questions), in matrix rows (as 'expand details' or 'remove row' buttons), and etc.
|
88
122
|
*/
|
89
123
|
export interface IAction {
|
@@ -176,6 +210,7 @@ export interface IAction {
|
|
176
210
|
*/
|
177
211
|
mode?: "popup" | "large" | "small";
|
178
212
|
visibleIndex?: number;
|
213
|
+
needSpace?: boolean;
|
179
214
|
}
|
180
215
|
export interface IDimensions {
|
181
216
|
scroll: number;
|
@@ -544,6 +579,12 @@ export interface IListProps {
|
|
544
579
|
export interface ILogoImageProps {
|
545
580
|
data: any;
|
546
581
|
}
|
582
|
+
export declare class ActionDropdownViewModel {
|
583
|
+
constructor(item: Action);
|
584
|
+
popupModel: any;
|
585
|
+
funcKey: string;
|
586
|
+
dispose(): void;
|
587
|
+
}
|
547
588
|
export declare class ArrayChanges {
|
548
589
|
constructor(index: number, deleteCount: number, itemsToAdd: any, deletedItems: any);
|
549
590
|
index: number;
|
@@ -894,13 +935,7 @@ export declare class Event<T, Options> {
|
|
894
935
|
}
|
895
936
|
export declare class ExpressionRunnerBase {
|
896
937
|
constructor(expression: string);
|
897
|
-
|
898
|
-
operand: Operand;
|
899
|
-
processValue: ProcessValue;
|
900
|
-
parser: ConditionsParser;
|
901
|
-
isAsyncValue: boolean;
|
902
|
-
hasFunctionValue: boolean;
|
903
|
-
asyncFuncList: any;
|
938
|
+
expressionExecutor: IExpresionExecutor;
|
904
939
|
get expression(): string;
|
905
940
|
set expression(val: string);
|
906
941
|
getVariables(): Array<any>;
|
@@ -1020,6 +1055,7 @@ export declare class MatrixCells {
|
|
1020
1055
|
cellsOwner: IMatrixCellsOwner;
|
1021
1056
|
values: any;
|
1022
1057
|
get isEmpty(): boolean;
|
1058
|
+
onValuesChanged: any;
|
1023
1059
|
setCellText(row: any, column: any, val: string): void;
|
1024
1060
|
setDefaultCellText(column: any, val: string): void;
|
1025
1061
|
getCellLocText(row: any, column: any): LocalizableString;
|
@@ -1172,6 +1208,7 @@ export declare class ReactQuestionFactory {
|
|
1172
1208
|
export declare class ReactSurveyElementsWrapper {
|
1173
1209
|
static wrapRow(survey: any, element: any, row: any): any;
|
1174
1210
|
static wrapElement(survey: any, element: any, question: any): any;
|
1211
|
+
static wrapQuestionContent(survey: any, element: any, question: any): any;
|
1175
1212
|
static wrapItemValue(survey: any, element: any, question: any, item: any): any;
|
1176
1213
|
static wrapMatrixCell(survey: any, element: any, cell: any, reason?: string): any;
|
1177
1214
|
}
|
@@ -1230,6 +1267,10 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1230
1267
|
componentDidMount(): void;
|
1231
1268
|
componentWillUnmount(): void;
|
1232
1269
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
1270
|
+
_allowComponentUpdate: boolean;
|
1271
|
+
protected allowComponentUpdate(): void;
|
1272
|
+
protected denyComponentUpdate(): void;
|
1273
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
1233
1274
|
render(): any;
|
1234
1275
|
protected wrapElement(element: any): any;
|
1235
1276
|
protected get isRendering(): boolean;
|
@@ -1320,6 +1361,7 @@ export declare class SvgIconRegistry {
|
|
1320
1361
|
registerIconFromSymbol(iconId: string, iconSymbolSvg: string): void;
|
1321
1362
|
registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void;
|
1322
1363
|
registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
|
1364
|
+
registerIconsFromFolder(r: any): void;
|
1323
1365
|
iconsRenderedHtml(): any;
|
1324
1366
|
renderIcons(): void;
|
1325
1367
|
}
|
@@ -1432,6 +1474,7 @@ export declare class Action extends Base implements IAction {
|
|
1432
1474
|
mode: "popup" | "large" | "small";
|
1433
1475
|
disableTabStop: boolean;
|
1434
1476
|
disableShrink: boolean;
|
1477
|
+
needSpace: boolean;
|
1435
1478
|
cssClassesValue: any;
|
1436
1479
|
get cssClasses(): any;
|
1437
1480
|
get disabled(): boolean;
|
@@ -1701,6 +1744,24 @@ export declare class ExceedSizeError extends SurveyError {
|
|
1701
1744
|
getErrorType(): string;
|
1702
1745
|
getDefaultText(): string;
|
1703
1746
|
}
|
1747
|
+
export declare class ExpressionExecutor implements IExpresionExecutor {
|
1748
|
+
static createExpressionExecutor: any;
|
1749
|
+
onComplete: any;
|
1750
|
+
expressionValue: string;
|
1751
|
+
operand: Operand;
|
1752
|
+
processValue: ProcessValue;
|
1753
|
+
parser: ConditionsParser;
|
1754
|
+
isAsyncValue: boolean;
|
1755
|
+
hasFunctionValue: boolean;
|
1756
|
+
asyncFuncList: any;
|
1757
|
+
get expression(): string;
|
1758
|
+
set expression(val: string);
|
1759
|
+
getVariables(): Array<any>;
|
1760
|
+
hasFunction(): boolean;
|
1761
|
+
get isAsync(): boolean;
|
1762
|
+
canRun(): boolean;
|
1763
|
+
run(values: any, properties?: any): any;
|
1764
|
+
}
|
1704
1765
|
/*
|
1705
1766
|
* Base class for HtmlConditionItem and UrlConditionItem classes.
|
1706
1767
|
*/
|
@@ -2337,7 +2398,7 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
2337
2398
|
protected getStateElement(): any;
|
2338
2399
|
componentDidMount(): void;
|
2339
2400
|
componentWillUnmount(): void;
|
2340
|
-
shouldComponentUpdate(nextProps: IPopupProps): boolean;
|
2401
|
+
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
2341
2402
|
render(): any;
|
2342
2403
|
}
|
2343
2404
|
export declare class PopupBaseViewModel extends Base {
|
@@ -2735,8 +2796,10 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
2735
2796
|
componentWillUnmount(): void;
|
2736
2797
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
2737
2798
|
protected canRender(): boolean;
|
2799
|
+
protected renderQuestionContent(): any;
|
2738
2800
|
protected renderElement(): any;
|
2739
2801
|
protected wrapElement(element: any): any;
|
2802
|
+
protected wrapQuestionContent(element: any): any;
|
2740
2803
|
protected renderQuestion(): any;
|
2741
2804
|
protected renderDescription(cssClasses: any, isUnderInput?: boolean): any;
|
2742
2805
|
protected renderComment(cssClasses: any): any;
|
@@ -2754,7 +2817,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
2754
2817
|
protected getRenderedElement(): Base;
|
2755
2818
|
protected get creator(): ISurveyCreator;
|
2756
2819
|
protected canRender(): boolean;
|
2757
|
-
shouldComponentUpdate(): boolean;
|
2820
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
2758
2821
|
protected get isDisplayMode(): boolean;
|
2759
2822
|
protected wrapCell(cell: any, element: any, reason: string): any;
|
2760
2823
|
}
|
@@ -2919,7 +2982,7 @@ export declare class UploadingFileError extends SurveyError {
|
|
2919
2982
|
protected getDefaultText(): string;
|
2920
2983
|
}
|
2921
2984
|
export declare class VerticalResponsivityManager extends ResponsivityManager {
|
2922
|
-
constructor(container: any, model: any, itemsSelector: string, dotsItemSize?: number);
|
2985
|
+
constructor(container: any, model: any, itemsSelector: string, dotsItemSize?: number, minDimension?: number);
|
2923
2986
|
protected getDimensions(): IDimensions;
|
2924
2987
|
protected getAvailableSpace(): number;
|
2925
2988
|
protected calcItemSize(item: any): number;
|
@@ -3220,7 +3283,9 @@ export declare class RegexValidator extends SurveyValidator {
|
|
3220
3283
|
}
|
3221
3284
|
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
3222
3285
|
constructor(props: any);
|
3286
|
+
viewModel: any;
|
3223
3287
|
renderButtonContent(): any;
|
3288
|
+
componentWillUnmount(): void;
|
3224
3289
|
}
|
3225
3290
|
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
3226
3291
|
constructor(props: any);
|
@@ -4392,6 +4457,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4392
4457
|
get isLogoAfter(): boolean;
|
4393
4458
|
get logoClassNames(): string;
|
4394
4459
|
get renderedHasTitle(): boolean;
|
4460
|
+
get renderedHasDescription(): boolean;
|
4395
4461
|
get hasTitle(): boolean;
|
4396
4462
|
get renderedHasLogo(): boolean;
|
4397
4463
|
get renderedHasHeader(): boolean;
|
@@ -4931,12 +4997,15 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4931
4997
|
isCalculatingProgressText: boolean;
|
4932
4998
|
updateProgressText(onValueChanged?: boolean): void;
|
4933
4999
|
getProgressText(): string;
|
5000
|
+
getRootCss(): string;
|
5001
|
+
resizeObserver: any;
|
4934
5002
|
afterRenderSurvey(htmlElement: any): void;
|
4935
5003
|
updateQuestionCssClasses(question: IQuestion, cssClasses: any): void;
|
4936
5004
|
updatePanelCssClasses(panel: IPanel, cssClasses: any): void;
|
4937
5005
|
updatePageCssClasses(page: IPage, cssClasses: any): void;
|
4938
5006
|
updateChoiceItemCss(question: IQuestion, options: any): void;
|
4939
5007
|
isFirstPageRendering: boolean;
|
5008
|
+
isCurrentPageRendering: boolean;
|
4940
5009
|
afterRenderPage(htmlElement: any): void;
|
4941
5010
|
afterRenderHeader(htmlElement: any): void;
|
4942
5011
|
afterRenderQuestion(question: IQuestion, htmlElement: any): void;
|
@@ -5150,17 +5219,25 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5150
5219
|
processTextEx(text: string, returnDisplayValue: boolean, doEncoding: boolean): any;
|
5151
5220
|
getSurveyMarkdownHtml(element: Base, text: string, name: string): string;
|
5152
5221
|
/*
|
5153
|
-
*
|
5222
|
+
* Deprecated. Use the getCorrectAnswerCount method instead.
|
5154
5223
|
*/
|
5155
5224
|
getCorrectedAnswerCount(): number;
|
5156
5225
|
/*
|
5226
|
+
* Returns an amount of corrected quiz answers.
|
5227
|
+
*/
|
5228
|
+
getCorrectAnswerCount(): number;
|
5229
|
+
/*
|
5157
5230
|
* Returns quiz question number. It may be different from `getQuizQuestions.length` because some widgets like matrix may have several questions.
|
5158
5231
|
*/
|
5159
5232
|
getQuizQuestionCount(): number;
|
5160
5233
|
/*
|
5161
|
-
*
|
5234
|
+
* Deprecated. Use the getInCorrectAnswerCount method instead.
|
5162
5235
|
*/
|
5163
5236
|
getInCorrectedAnswerCount(): number;
|
5237
|
+
/*
|
5238
|
+
* Returns an amount of incorrect quiz answers.
|
5239
|
+
*/
|
5240
|
+
getInCorrectAnswerCount(): number;
|
5164
5241
|
getCorrectedAnswers(): number;
|
5165
5242
|
getInCorrectedAnswers(): number;
|
5166
5243
|
/*
|
@@ -5242,6 +5319,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5242
5319
|
*/
|
5243
5320
|
focusQuestion(name: string): boolean;
|
5244
5321
|
getElementWrapperComponentName(element: any, reason?: string): string;
|
5322
|
+
getQuestionContentWrapperComponentName(element: any): string;
|
5245
5323
|
getRowWrapperComponentName(row: QuestionRowModel): string;
|
5246
5324
|
getElementWrapperComponentData(element: any, reason?: string): any;
|
5247
5325
|
getRowWrapperComponentData(row: QuestionRowModel): any;
|
@@ -5317,9 +5395,13 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
5317
5395
|
constructor(props: any);
|
5318
5396
|
protected get question(): QuestionCheckboxModel;
|
5319
5397
|
protected renderElement(): any;
|
5398
|
+
protected getHeader(): any;
|
5399
|
+
protected getFooter(): any;
|
5400
|
+
protected getColumnedBody(cssClasses: any): any;
|
5320
5401
|
protected getColumns(cssClasses: any): any;
|
5321
5402
|
protected getItems(cssClasses: any): Array<any>;
|
5322
5403
|
protected get textStyle(): any;
|
5404
|
+
protected renderOther(): any;
|
5323
5405
|
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): any;
|
5324
5406
|
}
|
5325
5407
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
@@ -5330,14 +5412,13 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
5330
5412
|
protected get textStyle(): any;
|
5331
5413
|
protected get isFirst(): any;
|
5332
5414
|
protected get index(): number;
|
5333
|
-
shouldComponentUpdate(): boolean;
|
5415
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
5334
5416
|
handleOnChange: any;
|
5335
5417
|
selectAllChanged: any;
|
5336
5418
|
protected canRender(): boolean;
|
5337
5419
|
protected renderElement(): any;
|
5338
5420
|
protected get inputStyle(): any;
|
5339
5421
|
protected renderCheckbox(isChecked: boolean, otherItem: any): any;
|
5340
|
-
protected renderOther(): any;
|
5341
5422
|
}
|
5342
5423
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
5343
5424
|
constructor(props: any);
|
@@ -5457,10 +5538,6 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
5457
5538
|
protected get question(): any;
|
5458
5539
|
componentDidMount(): void;
|
5459
5540
|
componentWillUnmount(): void;
|
5460
|
-
handleOnPanelAddClick(event: any): void;
|
5461
|
-
handleOnPanelPrevClick(event: any): void;
|
5462
|
-
handleOnPanelNextClick(event: any): void;
|
5463
|
-
handleOnRangeChange(event: any): void;
|
5464
5541
|
protected renderElement(): any;
|
5465
5542
|
protected renderNavigator(): any;
|
5466
5543
|
protected rendrerPrevButton(): any;
|
@@ -5470,6 +5547,10 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
5470
5547
|
protected renderNavigatorV2(): any;
|
5471
5548
|
protected renderPlaceholder(): any;
|
5472
5549
|
}
|
5550
|
+
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
5551
|
+
constructor(props: any);
|
5552
|
+
protected get question(): any;
|
5553
|
+
}
|
5473
5554
|
export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
5474
5555
|
constructor(props: any);
|
5475
5556
|
protected getStateElement(): Base;
|
@@ -5478,19 +5559,21 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
5478
5559
|
protected get textStyle(): any;
|
5479
5560
|
protected get index(): number;
|
5480
5561
|
protected get isChecked(): boolean;
|
5481
|
-
shouldComponentUpdate(): boolean;
|
5562
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
5482
5563
|
handleOnChange(event: any): void;
|
5483
5564
|
protected canRender(): boolean;
|
5484
5565
|
protected renderElement(): any;
|
5485
|
-
protected renderOther(cssClasses: any): any;
|
5486
5566
|
}
|
5487
5567
|
export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
|
5488
5568
|
constructor(props: any);
|
5489
5569
|
protected get question(): any;
|
5490
5570
|
protected renderElement(): any;
|
5571
|
+
protected getFooter(): any;
|
5572
|
+
protected getColumnedBody(cssClasses: any): any;
|
5491
5573
|
protected getColumns(cssClasses: any): any;
|
5492
5574
|
protected getItems(cssClasses: any): Array<any>;
|
5493
5575
|
protected get textStyle(): any;
|
5576
|
+
protected renderOther(cssClasses: any): any;
|
5494
5577
|
}
|
5495
5578
|
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
5496
5579
|
constructor(props: any);
|
@@ -5613,7 +5696,7 @@ export declare class Variable extends Const {
|
|
5613
5696
|
export declare class DragDropRankingChoices extends DragDropChoices {
|
5614
5697
|
constructor(surveyValue?: ISurvey, creator?: any);
|
5615
5698
|
protected get draggedElementType(): string;
|
5616
|
-
protected createDraggedElementShortcut(text: string, draggedElementNode: any): any;
|
5699
|
+
protected createDraggedElementShortcut(text: string, draggedElementNode: any, event: any): any;
|
5617
5700
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
|
5618
5701
|
isDragOverRootNode: boolean;
|
5619
5702
|
protected findDropTargetNodeByDragOverNode(dragOverNode: any): any;
|
@@ -6418,6 +6501,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6418
6501
|
protected supportResponsiveness(): boolean;
|
6419
6502
|
resizeObserver: any;
|
6420
6503
|
protected getCompactRenderAs(): string;
|
6504
|
+
protected getDesktopRenderAs(): string;
|
6421
6505
|
protected processResponsiveness(requiredWidth: number, availableWidth: number): void;
|
6422
6506
|
dispose(): void;
|
6423
6507
|
}
|
@@ -6491,6 +6575,11 @@ export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDro
|
|
6491
6575
|
protected renderNoRowsContent(cssClasses: any): any;
|
6492
6576
|
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): any;
|
6493
6577
|
}
|
6578
|
+
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
6579
|
+
constructor(props: any);
|
6580
|
+
protected handleClick: any;
|
6581
|
+
protected renderElement(): any;
|
6582
|
+
}
|
6494
6583
|
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
6495
6584
|
constructor(props: any);
|
6496
6585
|
protected getSurvey(): SurveyModel;
|
@@ -6499,6 +6588,20 @@ export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
6499
6588
|
render(): any;
|
6500
6589
|
protected renderButton(): any;
|
6501
6590
|
}
|
6591
|
+
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
6592
|
+
constructor(props: any);
|
6593
|
+
protected handleClick: any;
|
6594
|
+
protected renderElement(): any;
|
6595
|
+
}
|
6596
|
+
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
6597
|
+
constructor(props: any);
|
6598
|
+
protected handleClick: any;
|
6599
|
+
protected renderElement(): any;
|
6600
|
+
}
|
6601
|
+
export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
|
6602
|
+
constructor(props: any);
|
6603
|
+
protected renderElement(): any;
|
6604
|
+
}
|
6502
6605
|
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
6503
6606
|
constructor(props: any);
|
6504
6607
|
_isWaitingForEnter: boolean;
|
@@ -6598,6 +6701,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
6598
6701
|
get navigationDescription(): string;
|
6599
6702
|
set navigationDescription(val: string);
|
6600
6703
|
get locNavigationDescription(): LocalizableString;
|
6704
|
+
navigationLocStrChanged(): void;
|
6601
6705
|
get passed(): boolean;
|
6602
6706
|
set passed(val: boolean);
|
6603
6707
|
delete(): void;
|
@@ -7518,6 +7622,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7518
7622
|
getPlainData(options?: any): any;
|
7519
7623
|
updateElementCss(reNew?: boolean): void;
|
7520
7624
|
get progressText(): string;
|
7625
|
+
get progress(): string;
|
7521
7626
|
getRootCss(): string;
|
7522
7627
|
getPanelWrapperCss(): string;
|
7523
7628
|
getPanelRemoveButtonCss(): string;
|
@@ -7531,6 +7636,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7531
7636
|
set noEntriesText(val: string);
|
7532
7637
|
get locNoEntriesText(): LocalizableString;
|
7533
7638
|
getShowNoEntriesPlaceholder(): boolean;
|
7639
|
+
needResponsiveWidth(): boolean;
|
7640
|
+
footerToolbarValue: any;
|
7641
|
+
get footerToolbar(): any;
|
7642
|
+
legacyNavigation: boolean;
|
7643
|
+
updateFooterActionsCallback: any;
|
7534
7644
|
}
|
7535
7645
|
/*
|
7536
7646
|
* A Model for a rating question.
|
@@ -7594,11 +7704,13 @@ export declare class QuestionRatingModel extends Question {
|
|
7594
7704
|
* are displayed as plain non-clickable texts.
|
7595
7705
|
*/
|
7596
7706
|
displayRateDescriptionsAsExtremeItems: boolean;
|
7707
|
+
useDropdown: "auto" | "always" | "never";
|
7597
7708
|
protected valueToData(val: any): any;
|
7598
7709
|
/*
|
7599
7710
|
* Click value again to clear.
|
7600
7711
|
*/
|
7601
7712
|
setValueFromClick(value: any): void;
|
7713
|
+
get ratingRootCss(): string;
|
7602
7714
|
getItemClass(item: ItemValue): string;
|
7603
7715
|
getControlClass(): string;
|
7604
7716
|
get optionsCaption(): string;
|
@@ -7609,8 +7721,10 @@ export declare class QuestionRatingModel extends Question {
|
|
7609
7721
|
set renderedValue(val: boolean);
|
7610
7722
|
get visibleChoices(): any;
|
7611
7723
|
get readOnlyText(): any;
|
7724
|
+
needResponsiveWidth(): boolean;
|
7612
7725
|
protected supportResponsiveness(): boolean;
|
7613
7726
|
protected getCompactRenderAs(): string;
|
7727
|
+
protected getDesktopRenderAs(): string;
|
7614
7728
|
}
|
7615
7729
|
/*
|
7616
7730
|
* It is a base class for checkbox, dropdown and radiogroup questions.
|
@@ -7760,6 +7874,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7760
7874
|
set otherText(val: string);
|
7761
7875
|
get locOtherText(): LocalizableString;
|
7762
7876
|
/*
|
7877
|
+
* Use this property to show "Select All", "None" and "Other" choices in multi columns .
|
7878
|
+
*/
|
7879
|
+
separateSpecialChoices: boolean;
|
7880
|
+
/*
|
7763
7881
|
* Use this property to set the place holder text for other or comment field .
|
7764
7882
|
*/
|
7765
7883
|
get otherPlaceHolder(): string;
|
@@ -7839,6 +7957,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7839
7957
|
protected getItemClassCore(item: any, options: any): string;
|
7840
7958
|
getLabelClass(item: ItemValue): string;
|
7841
7959
|
getControlLabelClass(item: ItemValue): string;
|
7960
|
+
get headItems(): any;
|
7961
|
+
get footItems(): any;
|
7962
|
+
get hasHeadItems(): boolean;
|
7963
|
+
get hasFootItems(): boolean;
|
7842
7964
|
get columns(): any;
|
7843
7965
|
get hasColumns(): boolean;
|
7844
7966
|
choicesLoaded(): void;
|
@@ -7852,6 +7974,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7852
7974
|
getItemId(item: ItemValue): string;
|
7853
7975
|
get questionName(): string;
|
7854
7976
|
getItemEnabled(item: ItemValue): any;
|
7977
|
+
rootElement: any;
|
7978
|
+
afterRender(el: any): void;
|
7979
|
+
prevIsOtherSelected: boolean;
|
7980
|
+
protected onValueChanged(): void;
|
7855
7981
|
}
|
7856
7982
|
/*
|
7857
7983
|
* A Model for signature pad question.
|
@@ -8203,6 +8329,7 @@ export declare class QuestionImageModel extends QuestionNonValue {
|
|
8203
8329
|
* The rendered mode.
|
8204
8330
|
*/
|
8205
8331
|
get renderedMode(): string;
|
8332
|
+
getImageCss(): string;
|
8206
8333
|
protected calculateRenderedMode(): void;
|
8207
8334
|
}
|
8208
8335
|
/*
|
@@ -8475,6 +8602,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8475
8602
|
get cells(): MatrixCells;
|
8476
8603
|
set cells(val: MatrixCells);
|
8477
8604
|
get hasCellText(): boolean;
|
8605
|
+
protected updateHasCellText(): void;
|
8478
8606
|
setCellText(row: any, column: any, val: string): void;
|
8479
8607
|
getCellText(row: any, column: any): string;
|
8480
8608
|
setDefaultCellText(column: any, val: string): void;
|
@@ -9448,6 +9576,8 @@ export declare var defaultStandardCss: {
|
|
9448
9576
|
buttonRemove: string,
|
9449
9577
|
buttonRemoveRight: string,
|
9450
9578
|
buttonPrev: string,
|
9579
|
+
buttonPrevDisabled: string,
|
9580
|
+
buttonNextDisabled: string,
|
9451
9581
|
buttonNext: string,
|
9452
9582
|
progressContainer: string,
|
9453
9583
|
progress: string,
|
@@ -9555,6 +9685,7 @@ export declare var surveyTimerFunctions: {
|
|
9555
9685
|
setTimeout: any,
|
9556
9686
|
clearTimeout: any,
|
9557
9687
|
};
|
9688
|
+
export declare var keyFocusedClassName: any;
|
9558
9689
|
export declare var matrixDropdownColumnTypes: {
|
9559
9690
|
dropdown: {
|
9560
9691
|
onCellQuestionUpdate: any,
|
@@ -9799,6 +9930,8 @@ export declare var defaultBootstrapCss: {
|
|
9799
9930
|
buttonRemoveRight: string,
|
9800
9931
|
buttonPrev: string,
|
9801
9932
|
buttonNext: string,
|
9933
|
+
buttonPrevDisabled: string,
|
9934
|
+
buttonNextDisabled: string,
|
9802
9935
|
progressContainer: string,
|
9803
9936
|
progress: string,
|
9804
9937
|
progressBar: string,
|
@@ -10122,6 +10255,8 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10122
10255
|
buttonRemoveRight: string,
|
10123
10256
|
buttonPrev: string,
|
10124
10257
|
buttonNext: string,
|
10258
|
+
buttonPrevDisabled: string,
|
10259
|
+
buttonNextDisabled: string,
|
10125
10260
|
progressContainer: string,
|
10126
10261
|
progress: string,
|
10127
10262
|
progressBar: string,
|
@@ -10227,6 +10362,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10227
10362
|
};
|
10228
10363
|
export declare var defaultV2Css: {
|
10229
10364
|
root: string,
|
10365
|
+
rootMobile: string,
|
10230
10366
|
container: string,
|
10231
10367
|
header: string,
|
10232
10368
|
body: string,
|
@@ -10239,6 +10375,7 @@ export declare var defaultV2Css: {
|
|
10239
10375
|
headerText: string,
|
10240
10376
|
navigationButton: string,
|
10241
10377
|
completedPage: string,
|
10378
|
+
timerRoot: string,
|
10242
10379
|
navigation: {
|
10243
10380
|
complete: string,
|
10244
10381
|
prev: string,
|
@@ -10276,9 +10413,9 @@ export declare var defaultV2Css: {
|
|
10276
10413
|
button: string,
|
10277
10414
|
buttonRemove: string,
|
10278
10415
|
buttonAdd: string,
|
10279
|
-
progressTop: string,
|
10280
|
-
progressBottom: string,
|
10281
10416
|
buttonPrev: string,
|
10417
|
+
buttonPrevDisabled: string,
|
10418
|
+
buttonNextDisabled: string,
|
10282
10419
|
buttonNext: string,
|
10283
10420
|
progressContainer: string,
|
10284
10421
|
progress: string,
|
@@ -10357,6 +10494,7 @@ export declare var defaultV2Css: {
|
|
10357
10494
|
mainRoot: string,
|
10358
10495
|
root: string,
|
10359
10496
|
image: string,
|
10497
|
+
adaptive: string,
|
10360
10498
|
withFrame: string,
|
10361
10499
|
},
|
10362
10500
|
html: {
|
@@ -10561,6 +10699,7 @@ export declare var defaultV2Css: {
|
|
10561
10699
|
rating: {
|
10562
10700
|
rootDropdown: string,
|
10563
10701
|
root: string,
|
10702
|
+
rootWrappable: string,
|
10564
10703
|
item: string,
|
10565
10704
|
itemOnError: string,
|
10566
10705
|
itemHover: string,
|
@@ -10596,6 +10735,7 @@ export declare var defaultV2Css: {
|
|
10596
10735
|
noFileChosen: string,
|
10597
10736
|
chooseFile: string,
|
10598
10737
|
chooseFileAsText: string,
|
10738
|
+
chooseFileAsTextDisabled: string,
|
10599
10739
|
chooseFileAsIcon: string,
|
10600
10740
|
chooseFileIconId: string,
|
10601
10741
|
disabled: string,
|
@@ -10668,10 +10808,15 @@ export declare var defaultV2Css: {
|
|
10668
10808
|
itemPressed: string,
|
10669
10809
|
itemAsIcon: string,
|
10670
10810
|
itemIcon: string,
|
10811
|
+
itemTitle: string,
|
10812
|
+
},
|
10813
|
+
variables: {
|
10814
|
+
mobileWidth: string,
|
10671
10815
|
},
|
10672
10816
|
};
|
10673
10817
|
export declare var modernCss: {
|
10674
10818
|
root: string,
|
10819
|
+
timerRoot: string,
|
10675
10820
|
container: string,
|
10676
10821
|
header: string,
|
10677
10822
|
headerClose: string,
|
@@ -10720,6 +10865,8 @@ export declare var modernCss: {
|
|
10720
10865
|
progressBottom: string,
|
10721
10866
|
buttonPrev: string,
|
10722
10867
|
buttonNext: string,
|
10868
|
+
buttonPrevDisabled: string,
|
10869
|
+
buttonNextDisabled: string,
|
10723
10870
|
progressContainer: string,
|
10724
10871
|
progress: string,
|
10725
10872
|
progressBar: string,
|
@@ -11037,4 +11184,5 @@ export declare var modernCss: {
|
|
11037
11184
|
},
|
11038
11185
|
};
|
11039
11186
|
export declare var SvgRegistry: SvgIconRegistry;
|
11040
|
-
export declare var SvgBundleViewModel: any;
|
11187
|
+
export declare var SvgBundleViewModel: any;
|
11188
|
+
export declare var path: any;
|