survey-react 1.9.26 → 1.9.29
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 +108 -69
- package/defaultV2.min.css +2 -2
- package/modern.css +16 -6
- 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 +81 -25
- package/survey.react.js +779 -444
- 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.29
|
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
|
*/
|
@@ -109,6 +109,7 @@ export interface IAction {
|
|
109
109
|
* The action item's title.
|
110
110
|
*/
|
111
111
|
title?: string;
|
112
|
+
locTitle?: any;
|
112
113
|
/*
|
113
114
|
* The action item's tooltip.
|
114
115
|
*/
|
@@ -357,6 +358,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
357
358
|
matrixCellValueChanged(question: IQuestion, options: any): any;
|
358
359
|
matrixCellValueChanging(question: IQuestion, options: any): any;
|
359
360
|
isValidateOnValueChanging: boolean;
|
361
|
+
isValidateOnValueChanged: boolean;
|
360
362
|
matrixCellValidate(question: IQuestion, options: any): SurveyError;
|
361
363
|
dynamicPanelAdded(question: IQuestion): any;
|
362
364
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): any;
|
@@ -880,15 +882,6 @@ export declare class CustomWidgetCollection {
|
|
880
882
|
getCustomWidgetByName(name: string): QuestionCustomWidget;
|
881
883
|
getCustomWidget(question: IQuestion): QuestionCustomWidget;
|
882
884
|
}
|
883
|
-
export declare class DefaultTitle extends React.Component<any, any> {
|
884
|
-
constructor(props: any);
|
885
|
-
constructor(props: any, context: any);
|
886
|
-
isNeedFocus: boolean;
|
887
|
-
protected get cssClasses(): any;
|
888
|
-
protected get element(): any;
|
889
|
-
render(): any;
|
890
|
-
componentDidMount(): void;
|
891
|
-
}
|
892
885
|
export declare class DefaultTitleModel {
|
893
886
|
static getIconCss(cssClasses: any, isCollapsed: boolean): string;
|
894
887
|
}
|
@@ -1118,7 +1111,8 @@ export declare class PopupUtils {
|
|
1118
1111
|
static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: any): any;
|
1119
1112
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
1120
1113
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
1121
|
-
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any,
|
1114
|
+
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any, marginLeft?: number, marginRight?: number): INumberPosition;
|
1115
|
+
static updatePopupWidthBeforeShow(popupModel: any, e: any): void;
|
1122
1116
|
}
|
1123
1117
|
export declare class ProcessValue {
|
1124
1118
|
constructor();
|
@@ -1135,7 +1129,6 @@ export declare class QuestionCustomWidget {
|
|
1135
1129
|
name: string;
|
1136
1130
|
widgetJson: any;
|
1137
1131
|
htmlTemplate: string;
|
1138
|
-
isFirstRender: boolean;
|
1139
1132
|
afterRender(question: IQuestion, el: any): void;
|
1140
1133
|
willUnmount(question: IQuestion, el: any): void;
|
1141
1134
|
getDisplayValue(question: IQuestion, value?: any): string;
|
@@ -1296,6 +1289,12 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1296
1289
|
protected renderLocString(locStr: any, style?: any): any;
|
1297
1290
|
protected canUsePropInState(key: string): boolean;
|
1298
1291
|
}
|
1292
|
+
export declare class SurveyElementHeader extends React.Component<any, any> {
|
1293
|
+
constructor(props: any);
|
1294
|
+
constructor(props: any, context: any);
|
1295
|
+
render(): any;
|
1296
|
+
protected renderDescription(): any;
|
1297
|
+
}
|
1299
1298
|
export declare class SurveyError {
|
1300
1299
|
constructor(text?: string, errorOwner?: ISurveyErrorOwner);
|
1301
1300
|
text: string;
|
@@ -1467,7 +1466,6 @@ export declare class Action extends Base implements IAction {
|
|
1467
1466
|
iconName: string;
|
1468
1467
|
iconSize: number;
|
1469
1468
|
visible: boolean;
|
1470
|
-
title: string;
|
1471
1469
|
tooltip: string;
|
1472
1470
|
enabled: boolean;
|
1473
1471
|
showTitle: boolean;
|
@@ -1487,6 +1485,10 @@ export declare class Action extends Base implements IAction {
|
|
1487
1485
|
disableTabStop: boolean;
|
1488
1486
|
disableShrink: boolean;
|
1489
1487
|
needSpace: boolean;
|
1488
|
+
locTitle: any;
|
1489
|
+
titleValue: string;
|
1490
|
+
get title(): string;
|
1491
|
+
set title(val: string);
|
1490
1492
|
cssClassesValue: any;
|
1491
1493
|
get cssClasses(): any;
|
1492
1494
|
get disabled(): boolean;
|
@@ -2425,6 +2427,7 @@ export declare class PopupBaseViewModel extends Base {
|
|
2425
2427
|
top: string;
|
2426
2428
|
left: string;
|
2427
2429
|
height: string;
|
2430
|
+
width: string;
|
2428
2431
|
isVisible: boolean;
|
2429
2432
|
popupDirection: string;
|
2430
2433
|
pointerTarget: IPosition;
|
@@ -2449,10 +2452,8 @@ export declare class PopupBaseViewModel extends Base {
|
|
2449
2452
|
get cancelButtonText(): any;
|
2450
2453
|
get applyButtonText(): any;
|
2451
2454
|
dispose(): void;
|
2452
|
-
createPopupContainer(): void;
|
2453
|
-
mountPopupContainer(): void;
|
2454
2455
|
initializePopupContainer(): void;
|
2455
|
-
|
2456
|
+
unmountPopupContainer(): void;
|
2456
2457
|
}
|
2457
2458
|
export declare class PopupContainer extends SurveyElementBase<any, any> {
|
2458
2459
|
constructor(props: any);
|
@@ -2473,6 +2474,7 @@ export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
2473
2474
|
}
|
2474
2475
|
export declare class PopupModel<T = any> extends Base {
|
2475
2476
|
constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: any, horizontalPosition?: any, showPointer?: boolean, isModal?: boolean, onCancel?: any, onApply?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string);
|
2477
|
+
width: number;
|
2476
2478
|
contentComponentName: string;
|
2477
2479
|
contentComponentData: T;
|
2478
2480
|
verticalPosition: any;
|
@@ -2486,6 +2488,7 @@ export declare class PopupModel<T = any> extends Base {
|
|
2486
2488
|
cssClass: string;
|
2487
2489
|
title: string;
|
2488
2490
|
displayMode: "popup" | "overlay";
|
2491
|
+
widthMode: "contentWidth" | "fixedWidth";
|
2489
2492
|
get isVisible(): boolean;
|
2490
2493
|
set isVisible(val: boolean);
|
2491
2494
|
toggleVisibility(): void;
|
@@ -2805,7 +2808,7 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
2805
2808
|
protected wrapElement(element: any): any;
|
2806
2809
|
protected wrapQuestionContent(element: any): any;
|
2807
2810
|
protected renderQuestion(): any;
|
2808
|
-
protected renderDescription(
|
2811
|
+
protected renderDescription(): any;
|
2809
2812
|
protected renderComment(cssClasses: any): any;
|
2810
2813
|
protected renderHeader(question: any): any;
|
2811
2814
|
protected renderErrors(cssClasses: any, location: string): any;
|
@@ -3098,8 +3101,9 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
3098
3101
|
protected ghostSurveyElement: IElement;
|
3099
3102
|
protected get draggedElementType(): string;
|
3100
3103
|
protected isDraggedElementSelected: boolean;
|
3101
|
-
startDragToolboxItem(event: any, draggedElementJson: JsonObject): void;
|
3104
|
+
startDragToolboxItem(event: any, draggedElementJson: JsonObject, toolboxItemTitle: string): void;
|
3102
3105
|
startDragSurveyElement(event: any, draggedElement: any, isElementSelected?: boolean): void;
|
3106
|
+
protected getShortcutText(draggedElement: IShortcutText): string;
|
3103
3107
|
protected createDraggedElementShortcut(text: string, draggedElementNode?: any, event?: any): any;
|
3104
3108
|
protected createDraggedElementIcon(): any;
|
3105
3109
|
protected getDraggedElementClass(): string;
|
@@ -3192,6 +3196,7 @@ export declare class ListModel extends ActionContainer {
|
|
3192
3196
|
constructor(items: any, onItemSelect: any, allowSelection: boolean, selectedItem?: IAction, onFilteredTextChange?: any);
|
3193
3197
|
onItemSelect: any;
|
3194
3198
|
allowSelection: boolean;
|
3199
|
+
denySearch: boolean;
|
3195
3200
|
needFilter: boolean;
|
3196
3201
|
isExpanded: boolean;
|
3197
3202
|
selectedItem: IAction;
|
@@ -3356,12 +3361,12 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3356
3361
|
get shortcutText(): string;
|
3357
3362
|
titleToolbarValue: any;
|
3358
3363
|
getTitleToolbar(): AdaptiveActionContainer;
|
3364
|
+
protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
|
3359
3365
|
get titleActions(): any;
|
3360
3366
|
isTitleActionRequested: boolean;
|
3361
3367
|
getTitleActions(): Array<any>;
|
3362
3368
|
get hasTitleActions(): boolean;
|
3363
3369
|
get hasTitleEvents(): boolean;
|
3364
|
-
getTitleComponentName(): string;
|
3365
3370
|
get titleTabIndex(): number;
|
3366
3371
|
get titleAriaExpanded(): boolean;
|
3367
3372
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
@@ -3505,6 +3510,9 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3505
3510
|
set paddingRight(val: string);
|
3506
3511
|
allowRootStyle: boolean;
|
3507
3512
|
get rootStyle(): any;
|
3513
|
+
get clickTitleFunction(): any;
|
3514
|
+
protected needClickTitleFunction(): boolean;
|
3515
|
+
protected processTitleClick(): void;
|
3508
3516
|
}
|
3509
3517
|
export declare class SurveyElementErrors extends ReactSurveyElement {
|
3510
3518
|
constructor(props: any);
|
@@ -5047,6 +5055,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5047
5055
|
matrixCellValueChanged(question: IQuestion, options: any): void;
|
5048
5056
|
matrixCellValueChanging(question: IQuestion, options: any): void;
|
5049
5057
|
get isValidateOnValueChanging(): boolean;
|
5058
|
+
get isValidateOnValueChanged(): boolean;
|
5050
5059
|
matrixCellValidate(question: IQuestion, options: any): SurveyError;
|
5051
5060
|
dynamicPanelAdded(question: IQuestion): void;
|
5052
5061
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
@@ -5171,7 +5180,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5171
5180
|
setJsonObject(jsonObj: any): void;
|
5172
5181
|
isEndLoadingFromJson: string;
|
5173
5182
|
endLoadingFromJson(): void;
|
5174
|
-
updateNavigationItemTitlesCallback: any;
|
5175
5183
|
updateNavigationItemCssCallback: any;
|
5176
5184
|
protected createNavigationBar(): ActionContainer;
|
5177
5185
|
protected createNavigationActions(): Array<IAction>;
|
@@ -5340,6 +5348,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5340
5348
|
isMovingQuestion: boolean;
|
5341
5349
|
startMovingQuestion(): void;
|
5342
5350
|
stopMovingQuestion(): void;
|
5351
|
+
needRenderIcons: boolean;
|
5343
5352
|
/*
|
5344
5353
|
* Focus question by its name. If needed change the current page on the page where question is located.
|
5345
5354
|
* Function returns false if there is no question with this name or question is invisible, otherwise it returns true.
|
@@ -5362,6 +5371,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5362
5371
|
dispose(): void;
|
5363
5372
|
disposeCallback: any;
|
5364
5373
|
}
|
5374
|
+
export declare class SurveyMultipleTextItem extends ReactSurveyElement {
|
5375
|
+
constructor(props: any);
|
5376
|
+
protected getStateElements(): any;
|
5377
|
+
protected renderElement(): any;
|
5378
|
+
protected renderItemTooltipError(item: any, cssClasses: any): any;
|
5379
|
+
}
|
5365
5380
|
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
5366
5381
|
constructor(props: any);
|
5367
5382
|
protected get item(): Action;
|
@@ -5414,6 +5429,7 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
5414
5429
|
handleOnClick(event: any): void;
|
5415
5430
|
handleOnSwitchClick(event: any): void;
|
5416
5431
|
handleOnLabelClick(event: any, value: boolean): void;
|
5432
|
+
handleOnKeyDown(event: any): void;
|
5417
5433
|
protected updateDomElement(): void;
|
5418
5434
|
protected renderElement(): any;
|
5419
5435
|
}
|
@@ -5569,7 +5585,6 @@ export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBas
|
|
5569
5585
|
constructor(props: any);
|
5570
5586
|
protected get question(): any;
|
5571
5587
|
protected renderElement(): any;
|
5572
|
-
protected renderItemTooltipError(item: any, cssClasses: any): any;
|
5573
5588
|
protected renderRow(rowIndex: number, items: any, cssClasses: any): any;
|
5574
5589
|
}
|
5575
5590
|
export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
|
@@ -5650,6 +5665,7 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
|
|
5650
5665
|
constructor(props: any);
|
5651
5666
|
protected get question(): any;
|
5652
5667
|
protected renderElement(): any;
|
5668
|
+
renderCleanButton(): any;
|
5653
5669
|
}
|
5654
5670
|
export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
|
5655
5671
|
constructor(props: any);
|
@@ -6033,6 +6049,9 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
6033
6049
|
dragDropFindRow(findElement: ISurveyElement): QuestionRowModel;
|
6034
6050
|
dragDropMoveElement(src: IElement, target: IElement, targetIndex: number): void;
|
6035
6051
|
needResponsiveWidth(): boolean;
|
6052
|
+
get hasDescriptionUnderTitle(): boolean;
|
6053
|
+
get cssHeader(): string;
|
6054
|
+
get cssDescription(): string;
|
6036
6055
|
get no(): string;
|
6037
6056
|
dispose(): void;
|
6038
6057
|
}
|
@@ -6054,6 +6073,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6054
6073
|
isValueChangedDirectly: boolean;
|
6055
6074
|
valueChangedCallback: any;
|
6056
6075
|
commentChangedCallback: any;
|
6076
|
+
localeChangedCallback: any;
|
6057
6077
|
validateValueCallback: any;
|
6058
6078
|
questionTitleTemplateCallback: any;
|
6059
6079
|
afterRenderQuestionCallback: any;
|
@@ -6210,7 +6230,8 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6210
6230
|
set descriptionLocation(val: string);
|
6211
6231
|
get hasDescriptionUnderTitle(): boolean;
|
6212
6232
|
get hasDescriptionUnderInput(): boolean;
|
6213
|
-
|
6233
|
+
protected needClickTitleFunction(): boolean;
|
6234
|
+
protected processTitleClick(): boolean;
|
6214
6235
|
/*
|
6215
6236
|
* The custom text that will be shown on required error. Use this property, if you do not want to show the default text.
|
6216
6237
|
* Please note, this property is hidden for question without input, for example html question.
|
@@ -6241,6 +6262,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6241
6262
|
*/
|
6242
6263
|
get customWidget(): QuestionCustomWidget;
|
6243
6264
|
updateCustomWidget(): void;
|
6265
|
+
localeChanged(): void;
|
6244
6266
|
get isCompositeQuestion(): boolean;
|
6245
6267
|
updateCommentElement(): void;
|
6246
6268
|
onCommentInput(event: any): void;
|
@@ -6278,6 +6300,9 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6278
6300
|
get cssTitle(): string;
|
6279
6301
|
protected setCssTitle(val: string): void;
|
6280
6302
|
protected getCssTitle(cssClasses: any): string;
|
6303
|
+
get cssDescription(): string;
|
6304
|
+
protected setCssDescription(val: string): void;
|
6305
|
+
protected getCssDescription(cssClasses: any): string;
|
6281
6306
|
get cssError(): string;
|
6282
6307
|
protected setCssError(val: string): void;
|
6283
6308
|
protected getCssError(cssClasses: any): string;
|
@@ -6987,6 +7012,7 @@ export declare class QuestionBooleanModel extends Question {
|
|
6987
7012
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
6988
7013
|
onLabelClick(event: any, value: boolean): boolean;
|
6989
7014
|
onSwitchClickModel(event: any): boolean;
|
7015
|
+
onKeyDownCore(event: any): boolean;
|
6990
7016
|
getRadioItemClass(css: any, value: any): string;
|
6991
7017
|
protected supportResponsiveness(): boolean;
|
6992
7018
|
protected getCompactRenderAs(): string;
|
@@ -7608,6 +7634,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7608
7634
|
setVisibleIndex(value: number): number;
|
7609
7635
|
/*
|
7610
7636
|
* Returns true when an end user may add a new panel. The question is not read only and panelCount less than maxPanelCount
|
7637
|
+
* and renderMode is "list" or the current panel doesn't have any errors
|
7611
7638
|
*/
|
7612
7639
|
get canAddPanel(): boolean;
|
7613
7640
|
/*
|
@@ -7632,6 +7659,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7632
7659
|
getProgressInfo(): IProgressInfo;
|
7633
7660
|
/*
|
7634
7661
|
* Add a new dynamic panel based on the template Panel. It checks if canAddPanel returns true and then calls addPanel method.
|
7662
|
+
* If a renderMode is different from "list" and the current panel has erros, then
|
7635
7663
|
*/
|
7636
7664
|
addPanelUI(): PanelModel;
|
7637
7665
|
/*
|
@@ -7644,8 +7672,9 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7644
7672
|
removePanelUI(value: any): void;
|
7645
7673
|
/*
|
7646
7674
|
* Goes to the next panel in the PanelDynamic
|
7675
|
+
* Returns true, if it can move to the next panel. It can return false if the renderMode is "list" or the current panel has errors.
|
7647
7676
|
*/
|
7648
|
-
goToNextPanel():
|
7677
|
+
goToNextPanel(): boolean;
|
7649
7678
|
/*
|
7650
7679
|
* Goes to the previous panel in the PanelDynamic
|
7651
7680
|
*/
|
@@ -7664,6 +7693,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7664
7693
|
protected onReadOnlyChanged(): void;
|
7665
7694
|
onSurveyLoad(): void;
|
7666
7695
|
onFirstRendering(): void;
|
7696
|
+
localeChanged(): void;
|
7667
7697
|
runCondition(values: any, properties: any): void;
|
7668
7698
|
protected runPanelsCondition(values: any, properties: any): void;
|
7669
7699
|
onAnyValueChanged(name: string): void;
|
@@ -8081,6 +8111,7 @@ export declare class QuestionSignaturePadModel extends Question {
|
|
8081
8111
|
*/
|
8082
8112
|
get allowClear(): boolean;
|
8083
8113
|
set allowClear(val: boolean);
|
8114
|
+
get canShowClearButton(): boolean;
|
8084
8115
|
/*
|
8085
8116
|
* Use it to set pen color for the signature pad.
|
8086
8117
|
*/
|
@@ -8282,6 +8313,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
8282
8313
|
runCondition(values: any, properties: any): void;
|
8283
8314
|
protected convertDataName(name: string): string;
|
8284
8315
|
protected convertDataValue(name: string, newValue: any): any;
|
8316
|
+
protected canSetValueToSurvey(): boolean;
|
8285
8317
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
8286
8318
|
onSurveyValueChanged(newValue: any): void;
|
8287
8319
|
protected getValueCore(): any;
|
@@ -8332,8 +8364,13 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
8332
8364
|
*/
|
8333
8365
|
get autoComplete(): string;
|
8334
8366
|
set autoComplete(val: string);
|
8367
|
+
denySearch: boolean;
|
8368
|
+
dropdownWidthMode: "contentWidth" | "editorWidth";
|
8335
8369
|
getControlClass(): string;
|
8336
8370
|
get readOnlyText(): any;
|
8371
|
+
protected onVisibleChoicesChanged(): void;
|
8372
|
+
_popupModel: any;
|
8373
|
+
get popupModel(): any;
|
8337
8374
|
}
|
8338
8375
|
/*
|
8339
8376
|
* A Model for html question. Unlike other questions it doesn't have value and title.
|
@@ -8518,6 +8555,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8518
8555
|
getConditionJson(operator?: string, path?: string): any;
|
8519
8556
|
clearIncorrectValues(): void;
|
8520
8557
|
clearErrors(): void;
|
8558
|
+
localeChanged(): void;
|
8521
8559
|
runCondition(values: any, properties: any): void;
|
8522
8560
|
protected shouldRunColumnExpression(): boolean;
|
8523
8561
|
protected runCellsCondition(values: any, properties: any): void;
|
@@ -8658,6 +8696,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8658
8696
|
getColumns(): Array<any>;
|
8659
8697
|
addColumn(value: any, text?: string): ItemValue;
|
8660
8698
|
getItemClass(row: any, column: any): string;
|
8699
|
+
get itemSvgIcon(): string;
|
8661
8700
|
protected getQuizQuestionCount(): number;
|
8662
8701
|
protected getCorrectAnswerCount(): number;
|
8663
8702
|
protected getVisibleRows(): Array<MatrixRowModel>;
|
@@ -8795,6 +8834,10 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
8795
8834
|
isReadOnlyRenderDiv(): boolean;
|
8796
8835
|
get inputStyle(): any;
|
8797
8836
|
}
|
8837
|
+
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
8838
|
+
constructor(props: any);
|
8839
|
+
protected renderSelect(cssClasses: any): any;
|
8840
|
+
}
|
8798
8841
|
/*
|
8799
8842
|
* A Model for a button group question.
|
8800
8843
|
*/
|
@@ -9219,9 +9262,9 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
9219
9262
|
}
|
9220
9263
|
export declare function property(options?: any): any;
|
9221
9264
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): any;
|
9222
|
-
export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
9223
9265
|
export declare function unwrap<T>(value: any): T;
|
9224
9266
|
export declare function getSize(value: any): any;
|
9267
|
+
export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
9225
9268
|
export declare function getCurrecyCodes(): Array<any>;
|
9226
9269
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
9227
9270
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|
@@ -9297,6 +9340,11 @@ export declare var settings: {
|
|
9297
9340
|
*/
|
9298
9341
|
matrixMaxRowCountInCondition: number,
|
9299
9342
|
/*
|
9343
|
+
* Set this property to false, to render matrix dynamic remove action as button.
|
9344
|
+
* It is rendered as icon in new themes ("defaultV2") by default.
|
9345
|
+
*/
|
9346
|
+
matrixRenderRemoveAsIcon: boolean,
|
9347
|
+
/*
|
9300
9348
|
* Maximum panel count in dynamic panel
|
9301
9349
|
*/
|
9302
9350
|
panelMaximumPanelCount: number,
|
@@ -9445,6 +9493,7 @@ export declare var defaultActionBarCss: {
|
|
9445
9493
|
itemTitle: string,
|
9446
9494
|
itemTitleWithIcon: string,
|
9447
9495
|
};
|
9496
|
+
export declare var keyFocusedClassName: any;
|
9448
9497
|
export declare var FOCUS_INPUT_SELECTOR: any;
|
9449
9498
|
export declare var surveyCss: {
|
9450
9499
|
currentType: string,
|
@@ -9616,6 +9665,7 @@ export declare var defaultStandardCss: {
|
|
9616
9665
|
cellText: string,
|
9617
9666
|
cellTextSelected: string,
|
9618
9667
|
cellLabel: string,
|
9668
|
+
cellResponsiveTitle: string,
|
9619
9669
|
},
|
9620
9670
|
matrixdropdown: {
|
9621
9671
|
root: string,
|
@@ -9780,7 +9830,6 @@ export declare var surveyTimerFunctions: {
|
|
9780
9830
|
setTimeout: any,
|
9781
9831
|
clearTimeout: any,
|
9782
9832
|
};
|
9783
|
-
export declare var keyFocusedClassName: any;
|
9784
9833
|
export declare var matrixDropdownColumnTypes: {
|
9785
9834
|
dropdown: {
|
9786
9835
|
onCellQuestionUpdate: any,
|
@@ -9973,6 +10022,7 @@ export declare var defaultBootstrapCss: {
|
|
9973
10022
|
cellText: string,
|
9974
10023
|
cellTextSelected: string,
|
9975
10024
|
cellLabel: string,
|
10025
|
+
cellResponsiveTitle: string,
|
9976
10026
|
},
|
9977
10027
|
matrixdropdown: {
|
9978
10028
|
root: string,
|
@@ -10295,6 +10345,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10295
10345
|
itemChecked: string,
|
10296
10346
|
itemDecorator: string,
|
10297
10347
|
materialDecorator: string,
|
10348
|
+
cellResponsiveTitle: string,
|
10298
10349
|
},
|
10299
10350
|
matrixdropdown: {
|
10300
10351
|
root: string,
|
@@ -10469,6 +10520,7 @@ export declare var defaultV2Css: {
|
|
10469
10520
|
logoImage: string,
|
10470
10521
|
headerText: string,
|
10471
10522
|
navigationButton: string,
|
10523
|
+
bodyNavigationButton: string,
|
10472
10524
|
completedPage: string,
|
10473
10525
|
timerRoot: string,
|
10474
10526
|
navigation: {
|
@@ -10498,6 +10550,7 @@ export declare var defaultV2Css: {
|
|
10498
10550
|
collapsed: string,
|
10499
10551
|
nested: string,
|
10500
10552
|
invisible: string,
|
10553
|
+
navigationButton: string,
|
10501
10554
|
},
|
10502
10555
|
paneldynamic: {
|
10503
10556
|
mainRoot: string,
|
@@ -10747,6 +10800,7 @@ export declare var defaultV2Css: {
|
|
10747
10800
|
cellText: string,
|
10748
10801
|
cellTextSelected: string,
|
10749
10802
|
cellTextDisabled: string,
|
10803
|
+
cellResponsiveTitle: string,
|
10750
10804
|
},
|
10751
10805
|
matrixdropdown: {
|
10752
10806
|
mainRoot: string,
|
@@ -11196,6 +11250,8 @@ export declare var modernCss: {
|
|
11196
11250
|
cellText: string,
|
11197
11251
|
cellTextSelected: string,
|
11198
11252
|
cellTextDisabled: string,
|
11253
|
+
cellResponsiveTitle: string,
|
11254
|
+
itemSvgIconId: string,
|
11199
11255
|
},
|
11200
11256
|
matrixdropdown: {
|
11201
11257
|
root: string,
|