survey-react 1.9.25 → 1.9.28
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 +95 -57
- 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 +84 -28
- package/survey.react.js +753 -497
- 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.28
|
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
|
*/
|
@@ -479,6 +479,11 @@ export interface IFindElement {
|
|
479
479
|
element: Base;
|
480
480
|
str: LocalizableString;
|
481
481
|
}
|
482
|
+
export interface IExpressionRunnerInfo {
|
483
|
+
onExecute: any;
|
484
|
+
canRun?: any;
|
485
|
+
runner?: ExpressionRunner;
|
486
|
+
}
|
482
487
|
export interface IValidatorOwner {
|
483
488
|
getValidators(): Array<SurveyValidator>;
|
484
489
|
validatedValue: any;
|
@@ -589,6 +594,7 @@ export declare class Base {
|
|
589
594
|
localizableStrings: any;
|
590
595
|
arraysInfo: any;
|
591
596
|
eventList: any;
|
597
|
+
expressionInfo: any;
|
592
598
|
bindingsValue: Bindings;
|
593
599
|
isDisposedValue: boolean;
|
594
600
|
onPropChangeFunctions: any;
|
@@ -648,6 +654,10 @@ export declare class Base {
|
|
648
654
|
getType(): string;
|
649
655
|
getSurvey(isLive?: boolean): ISurvey;
|
650
656
|
/*
|
657
|
+
* Returns true if the question in design mode right now.
|
658
|
+
*/
|
659
|
+
get isDesignMode(): boolean;
|
660
|
+
/*
|
651
661
|
* Returns true if the object is inluded into survey, otherwise returns false.
|
652
662
|
*/
|
653
663
|
get inSurvey(): boolean;
|
@@ -709,6 +719,11 @@ export declare class Base {
|
|
709
719
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
710
720
|
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
711
721
|
protected get isInternal(): boolean;
|
722
|
+
addExpressionProperty(name: string, onExecute: any, canRun?: any): void;
|
723
|
+
getDataFilteredValues(): any;
|
724
|
+
getDataFilteredProperties(): any;
|
725
|
+
protected runConditionCore(values: any, properties: any): void;
|
726
|
+
protected canRunConditions(): boolean;
|
712
727
|
/*
|
713
728
|
* Register a function that will be called on a property value changed.
|
714
729
|
*/
|
@@ -865,15 +880,6 @@ export declare class CustomWidgetCollection {
|
|
865
880
|
getCustomWidgetByName(name: string): QuestionCustomWidget;
|
866
881
|
getCustomWidget(question: IQuestion): QuestionCustomWidget;
|
867
882
|
}
|
868
|
-
export declare class DefaultTitle extends React.Component<any, any> {
|
869
|
-
constructor(props: any);
|
870
|
-
constructor(props: any, context: any);
|
871
|
-
isNeedFocus: boolean;
|
872
|
-
protected get cssClasses(): any;
|
873
|
-
protected get element(): any;
|
874
|
-
render(): any;
|
875
|
-
componentDidMount(): void;
|
876
|
-
}
|
877
883
|
export declare class DefaultTitleModel {
|
878
884
|
static getIconCss(cssClasses: any, isCollapsed: boolean): string;
|
879
885
|
}
|
@@ -1104,6 +1110,7 @@ export declare class PopupUtils {
|
|
1104
1110
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
1105
1111
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
1106
1112
|
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any, width?: number, margins?: number): INumberPosition;
|
1113
|
+
static updatePopupWidthBeforeShow(popupModel: any, e: any): void;
|
1107
1114
|
}
|
1108
1115
|
export declare class ProcessValue {
|
1109
1116
|
constructor();
|
@@ -1120,7 +1127,6 @@ export declare class QuestionCustomWidget {
|
|
1120
1127
|
name: string;
|
1121
1128
|
widgetJson: any;
|
1122
1129
|
htmlTemplate: string;
|
1123
|
-
isFirstRender: boolean;
|
1124
1130
|
afterRender(question: IQuestion, el: any): void;
|
1125
1131
|
willUnmount(question: IQuestion, el: any): void;
|
1126
1132
|
getDisplayValue(question: IQuestion, value?: any): string;
|
@@ -1281,6 +1287,12 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1281
1287
|
protected renderLocString(locStr: any, style?: any): any;
|
1282
1288
|
protected canUsePropInState(key: string): boolean;
|
1283
1289
|
}
|
1290
|
+
export declare class SurveyElementHeader extends React.Component<any, any> {
|
1291
|
+
constructor(props: any);
|
1292
|
+
constructor(props: any, context: any);
|
1293
|
+
render(): any;
|
1294
|
+
protected renderDescription(): any;
|
1295
|
+
}
|
1284
1296
|
export declare class SurveyError {
|
1285
1297
|
constructor(text?: string, errorOwner?: ISurveyErrorOwner);
|
1286
1298
|
text: string;
|
@@ -1921,6 +1933,7 @@ export declare class JsonObjectProperty implements IObject {
|
|
1921
1933
|
onGetValue: any;
|
1922
1934
|
onSetValue: any;
|
1923
1935
|
visibleIf: any;
|
1936
|
+
onExecuteExpression: any;
|
1924
1937
|
onPropertyEditorUpdate: any;
|
1925
1938
|
get id(): number;
|
1926
1939
|
get classInfo(): JsonMetadataClass;
|
@@ -2409,6 +2422,7 @@ export declare class PopupBaseViewModel extends Base {
|
|
2409
2422
|
top: string;
|
2410
2423
|
left: string;
|
2411
2424
|
height: string;
|
2425
|
+
width: string;
|
2412
2426
|
isVisible: boolean;
|
2413
2427
|
popupDirection: string;
|
2414
2428
|
pointerTarget: IPosition;
|
@@ -2457,6 +2471,7 @@ export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
2457
2471
|
}
|
2458
2472
|
export declare class PopupModel<T = any> extends Base {
|
2459
2473
|
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);
|
2474
|
+
width: number;
|
2460
2475
|
contentComponentName: string;
|
2461
2476
|
contentComponentData: T;
|
2462
2477
|
verticalPosition: any;
|
@@ -2470,6 +2485,7 @@ export declare class PopupModel<T = any> extends Base {
|
|
2470
2485
|
cssClass: string;
|
2471
2486
|
title: string;
|
2472
2487
|
displayMode: "popup" | "overlay";
|
2488
|
+
widthMode: "contentWidth" | "fixedWidth";
|
2473
2489
|
get isVisible(): boolean;
|
2474
2490
|
set isVisible(val: boolean);
|
2475
2491
|
toggleVisibility(): void;
|
@@ -2789,7 +2805,7 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
2789
2805
|
protected wrapElement(element: any): any;
|
2790
2806
|
protected wrapQuestionContent(element: any): any;
|
2791
2807
|
protected renderQuestion(): any;
|
2792
|
-
protected renderDescription(
|
2808
|
+
protected renderDescription(): any;
|
2793
2809
|
protected renderComment(cssClasses: any): any;
|
2794
2810
|
protected renderHeader(question: any): any;
|
2795
2811
|
protected renderErrors(cssClasses: any, location: string): any;
|
@@ -3082,8 +3098,9 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
3082
3098
|
protected ghostSurveyElement: IElement;
|
3083
3099
|
protected get draggedElementType(): string;
|
3084
3100
|
protected isDraggedElementSelected: boolean;
|
3085
|
-
startDragToolboxItem(event: any, draggedElementJson: JsonObject): void;
|
3101
|
+
startDragToolboxItem(event: any, draggedElementJson: JsonObject, toolboxItemTitle: string): void;
|
3086
3102
|
startDragSurveyElement(event: any, draggedElement: any, isElementSelected?: boolean): void;
|
3103
|
+
protected getShortcutText(draggedElement: IShortcutText): string;
|
3087
3104
|
protected createDraggedElementShortcut(text: string, draggedElementNode?: any, event?: any): any;
|
3088
3105
|
protected createDraggedElementIcon(): any;
|
3089
3106
|
protected getDraggedElementClass(): string;
|
@@ -3176,6 +3193,7 @@ export declare class ListModel extends ActionContainer {
|
|
3176
3193
|
constructor(items: any, onItemSelect: any, allowSelection: boolean, selectedItem?: IAction, onFilteredTextChange?: any);
|
3177
3194
|
onItemSelect: any;
|
3178
3195
|
allowSelection: boolean;
|
3196
|
+
denySearch: boolean;
|
3179
3197
|
needFilter: boolean;
|
3180
3198
|
isExpanded: boolean;
|
3181
3199
|
selectedItem: IAction;
|
@@ -3340,15 +3358,18 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3340
3358
|
get shortcutText(): string;
|
3341
3359
|
titleToolbarValue: any;
|
3342
3360
|
getTitleToolbar(): AdaptiveActionContainer;
|
3361
|
+
protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
|
3343
3362
|
get titleActions(): any;
|
3344
3363
|
isTitleActionRequested: boolean;
|
3345
3364
|
getTitleActions(): Array<any>;
|
3346
3365
|
get hasTitleActions(): boolean;
|
3347
3366
|
get hasTitleEvents(): boolean;
|
3348
|
-
getTitleComponentName(): string;
|
3349
3367
|
get titleTabIndex(): number;
|
3350
3368
|
get titleAriaExpanded(): boolean;
|
3351
3369
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
3370
|
+
protected canRunConditions(): boolean;
|
3371
|
+
getDataFilteredValues(): any;
|
3372
|
+
getDataFilteredProperties(): any;
|
3352
3373
|
protected get surveyImpl(): ISurveyImpl;
|
3353
3374
|
__setData(data: ISurveyData): void;
|
3354
3375
|
get data(): ISurveyData;
|
@@ -3358,10 +3379,6 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3358
3379
|
get survey(): ISurvey;
|
3359
3380
|
getSurvey(live?: boolean): ISurvey;
|
3360
3381
|
protected setSurveyCore(value: ISurvey): void;
|
3361
|
-
/*
|
3362
|
-
* Returns true if the question in design mode right now.
|
3363
|
-
*/
|
3364
|
-
get isDesignMode(): boolean;
|
3365
3382
|
isContentElement: boolean;
|
3366
3383
|
isEditableTemplateElement: boolean;
|
3367
3384
|
isInteractiveDesignElement: boolean;
|
@@ -3490,6 +3507,9 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3490
3507
|
set paddingRight(val: string);
|
3491
3508
|
allowRootStyle: boolean;
|
3492
3509
|
get rootStyle(): any;
|
3510
|
+
get clickTitleFunction(): any;
|
3511
|
+
protected needClickTitleFunction(): boolean;
|
3512
|
+
protected processTitleClick(): void;
|
3493
3513
|
}
|
3494
3514
|
export declare class SurveyElementErrors extends ReactSurveyElement {
|
3495
3515
|
constructor(props: any);
|
@@ -5325,6 +5345,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5325
5345
|
isMovingQuestion: boolean;
|
5326
5346
|
startMovingQuestion(): void;
|
5327
5347
|
stopMovingQuestion(): void;
|
5348
|
+
needRenderIcons: boolean;
|
5328
5349
|
/*
|
5329
5350
|
* Focus question by its name. If needed change the current page on the page where question is located.
|
5330
5351
|
* Function returns false if there is no question with this name or question is invisible, otherwise it returns true.
|
@@ -5399,6 +5420,7 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
5399
5420
|
handleOnClick(event: any): void;
|
5400
5421
|
handleOnSwitchClick(event: any): void;
|
5401
5422
|
handleOnLabelClick(event: any, value: boolean): void;
|
5423
|
+
handleOnKeyDown(event: any): void;
|
5402
5424
|
protected updateDomElement(): void;
|
5403
5425
|
protected renderElement(): any;
|
5404
5426
|
}
|
@@ -5635,6 +5657,7 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
|
|
5635
5657
|
constructor(props: any);
|
5636
5658
|
protected get question(): any;
|
5637
5659
|
protected renderElement(): any;
|
5660
|
+
renderCleanButton(): any;
|
5638
5661
|
}
|
5639
5662
|
export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
|
5640
5663
|
constructor(props: any);
|
@@ -6018,6 +6041,9 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
6018
6041
|
dragDropFindRow(findElement: ISurveyElement): QuestionRowModel;
|
6019
6042
|
dragDropMoveElement(src: IElement, target: IElement, targetIndex: number): void;
|
6020
6043
|
needResponsiveWidth(): boolean;
|
6044
|
+
get hasDescriptionUnderTitle(): boolean;
|
6045
|
+
get cssHeader(): string;
|
6046
|
+
get cssDescription(): string;
|
6021
6047
|
get no(): string;
|
6022
6048
|
dispose(): void;
|
6023
6049
|
}
|
@@ -6028,20 +6054,18 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6028
6054
|
constructor(name: string);
|
6029
6055
|
static TextPreprocessorValuesMap: any;
|
6030
6056
|
static questionCounter: number;
|
6031
|
-
conditionRunner: ConditionRunner;
|
6032
6057
|
isCustomWidgetRequested: boolean;
|
6033
6058
|
customWidgetValue: QuestionCustomWidget;
|
6034
6059
|
customWidgetData: any;
|
6035
6060
|
focusCallback: any;
|
6036
6061
|
surveyLoadCallback: any;
|
6037
6062
|
displayValueCallback: any;
|
6038
|
-
conditionEnabelRunner: ConditionRunner;
|
6039
|
-
conditionRequiredRunner: ConditionRunner;
|
6040
6063
|
defaultValueRunner: ExpressionRunner;
|
6041
6064
|
isChangingViaDefaultValue: boolean;
|
6042
6065
|
isValueChangedDirectly: boolean;
|
6043
6066
|
valueChangedCallback: any;
|
6044
6067
|
commentChangedCallback: any;
|
6068
|
+
localeChangedCallback: any;
|
6045
6069
|
validateValueCallback: any;
|
6046
6070
|
questionTitleTemplateCallback: any;
|
6047
6071
|
afterRenderQuestionCallback: any;
|
@@ -6144,8 +6168,6 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6144
6168
|
moveTo(container: IPanel, insertBefore?: any): boolean;
|
6145
6169
|
getProgressInfo(): IProgressInfo;
|
6146
6170
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
6147
|
-
getDataFilteredValues(): any;
|
6148
|
-
getDataFilteredProperties(): any;
|
6149
6171
|
/*
|
6150
6172
|
* A parent element. It can be panel or page.
|
6151
6173
|
*/
|
@@ -6200,7 +6222,8 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6200
6222
|
set descriptionLocation(val: string);
|
6201
6223
|
get hasDescriptionUnderTitle(): boolean;
|
6202
6224
|
get hasDescriptionUnderInput(): boolean;
|
6203
|
-
|
6225
|
+
protected needClickTitleFunction(): boolean;
|
6226
|
+
protected processTitleClick(): boolean;
|
6204
6227
|
/*
|
6205
6228
|
* The custom text that will be shown on required error. Use this property, if you do not want to show the default text.
|
6206
6229
|
* Please note, this property is hidden for question without input, for example html question.
|
@@ -6231,6 +6254,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6231
6254
|
*/
|
6232
6255
|
get customWidget(): QuestionCustomWidget;
|
6233
6256
|
updateCustomWidget(): void;
|
6257
|
+
localeChanged(): void;
|
6234
6258
|
get isCompositeQuestion(): boolean;
|
6235
6259
|
updateCommentElement(): void;
|
6236
6260
|
onCommentInput(event: any): void;
|
@@ -6268,6 +6292,9 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6268
6292
|
get cssTitle(): string;
|
6269
6293
|
protected setCssTitle(val: string): void;
|
6270
6294
|
protected getCssTitle(cssClasses: any): string;
|
6295
|
+
get cssDescription(): string;
|
6296
|
+
protected setCssDescription(val: string): void;
|
6297
|
+
protected getCssDescription(cssClasses: any): string;
|
6271
6298
|
get cssError(): string;
|
6272
6299
|
protected setCssError(val: string): void;
|
6273
6300
|
protected getCssError(cssClasses: any): string;
|
@@ -6555,9 +6582,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6555
6582
|
protected checkForResponsiveness(el: any): void;
|
6556
6583
|
resizeObserver: any;
|
6557
6584
|
protected getObservedElementSelector(): string;
|
6585
|
+
onMobileChangedCallback: any;
|
6558
6586
|
protected getCompactRenderAs(): string;
|
6559
6587
|
protected getDesktopRenderAs(): string;
|
6560
|
-
protected processResponsiveness(requiredWidth: number, availableWidth: number):
|
6588
|
+
protected processResponsiveness(requiredWidth: number, availableWidth: number): any;
|
6561
6589
|
dispose(): void;
|
6562
6590
|
}
|
6563
6591
|
export declare class SurveyFlowPanel extends SurveyPanel {
|
@@ -6976,6 +7004,7 @@ export declare class QuestionBooleanModel extends Question {
|
|
6976
7004
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
6977
7005
|
onLabelClick(event: any, value: boolean): boolean;
|
6978
7006
|
onSwitchClickModel(event: any): boolean;
|
7007
|
+
onKeyDownCore(event: any): boolean;
|
6979
7008
|
getRadioItemClass(css: any, value: any): string;
|
6980
7009
|
protected supportResponsiveness(): boolean;
|
6981
7010
|
protected getCompactRenderAs(): string;
|
@@ -7653,6 +7682,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7653
7682
|
protected onReadOnlyChanged(): void;
|
7654
7683
|
onSurveyLoad(): void;
|
7655
7684
|
onFirstRendering(): void;
|
7685
|
+
localeChanged(): void;
|
7656
7686
|
runCondition(values: any, properties: any): void;
|
7657
7687
|
protected runPanelsCondition(values: any, properties: any): void;
|
7658
7688
|
onAnyValueChanged(name: string): void;
|
@@ -8070,6 +8100,7 @@ export declare class QuestionSignaturePadModel extends Question {
|
|
8070
8100
|
*/
|
8071
8101
|
get allowClear(): boolean;
|
8072
8102
|
set allowClear(val: boolean);
|
8103
|
+
get canShowClearButton(): boolean;
|
8073
8104
|
/*
|
8074
8105
|
* Use it to set pen color for the signature pad.
|
8075
8106
|
*/
|
@@ -8271,6 +8302,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
8271
8302
|
runCondition(values: any, properties: any): void;
|
8272
8303
|
protected convertDataName(name: string): string;
|
8273
8304
|
protected convertDataValue(name: string, newValue: any): any;
|
8305
|
+
protected canSetValueToSurvey(): boolean;
|
8274
8306
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
8275
8307
|
onSurveyValueChanged(newValue: any): void;
|
8276
8308
|
protected getValueCore(): any;
|
@@ -8321,8 +8353,13 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
8321
8353
|
*/
|
8322
8354
|
get autoComplete(): string;
|
8323
8355
|
set autoComplete(val: string);
|
8356
|
+
denySearch: boolean;
|
8357
|
+
dropdownWidthMode: "contentWidth" | "editorWidth";
|
8324
8358
|
getControlClass(): string;
|
8325
8359
|
get readOnlyText(): any;
|
8360
|
+
protected onVisibleChoicesChanged(): void;
|
8361
|
+
_popupModel: any;
|
8362
|
+
get popupModel(): any;
|
8326
8363
|
}
|
8327
8364
|
/*
|
8328
8365
|
* A Model for html question. Unlike other questions it doesn't have value and title.
|
@@ -8507,6 +8544,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8507
8544
|
getConditionJson(operator?: string, path?: string): any;
|
8508
8545
|
clearIncorrectValues(): void;
|
8509
8546
|
clearErrors(): void;
|
8547
|
+
localeChanged(): void;
|
8510
8548
|
runCondition(values: any, properties: any): void;
|
8511
8549
|
protected shouldRunColumnExpression(): boolean;
|
8512
8550
|
protected runCellsCondition(values: any, properties: any): void;
|
@@ -8647,6 +8685,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8647
8685
|
getColumns(): Array<any>;
|
8648
8686
|
addColumn(value: any, text?: string): ItemValue;
|
8649
8687
|
getItemClass(row: any, column: any): string;
|
8688
|
+
get itemSvgIcon(): string;
|
8650
8689
|
protected getQuizQuestionCount(): number;
|
8651
8690
|
protected getCorrectAnswerCount(): number;
|
8652
8691
|
protected getVisibleRows(): Array<MatrixRowModel>;
|
@@ -8784,6 +8823,10 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
8784
8823
|
isReadOnlyRenderDiv(): boolean;
|
8785
8824
|
get inputStyle(): any;
|
8786
8825
|
}
|
8826
|
+
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
8827
|
+
constructor(props: any);
|
8828
|
+
protected renderSelect(cssClasses: any): any;
|
8829
|
+
}
|
8787
8830
|
/*
|
8788
8831
|
* A Model for a button group question.
|
8789
8832
|
*/
|
@@ -8948,7 +8991,7 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
8948
8991
|
onContentLoaded: any;
|
8949
8992
|
responsiveColCount: number;
|
8950
8993
|
protected getCurrentColCount(): number;
|
8951
|
-
protected processResponsiveness(_: number, availableWidth: number):
|
8994
|
+
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
8952
8995
|
gapBetweenItems: number;
|
8953
8996
|
afterRender(el: any): void;
|
8954
8997
|
}
|
@@ -9208,9 +9251,9 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
9208
9251
|
}
|
9209
9252
|
export declare function property(options?: any): any;
|
9210
9253
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): any;
|
9211
|
-
export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
9212
9254
|
export declare function unwrap<T>(value: any): T;
|
9213
9255
|
export declare function getSize(value: any): any;
|
9256
|
+
export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
9214
9257
|
export declare function getCurrecyCodes(): Array<any>;
|
9215
9258
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
9216
9259
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|
@@ -9286,6 +9329,11 @@ export declare var settings: {
|
|
9286
9329
|
*/
|
9287
9330
|
matrixMaxRowCountInCondition: number,
|
9288
9331
|
/*
|
9332
|
+
* Set this property to false, to render matrix dynamic remove action as button.
|
9333
|
+
* It is rendered as icon in new themes ("defaultV2") by default.
|
9334
|
+
*/
|
9335
|
+
matrixRenderRemoveAsIcon: boolean,
|
9336
|
+
/*
|
9289
9337
|
* Maximum panel count in dynamic panel
|
9290
9338
|
*/
|
9291
9339
|
panelMaximumPanelCount: number,
|
@@ -9434,6 +9482,7 @@ export declare var defaultActionBarCss: {
|
|
9434
9482
|
itemTitle: string,
|
9435
9483
|
itemTitleWithIcon: string,
|
9436
9484
|
};
|
9485
|
+
export declare var keyFocusedClassName: any;
|
9437
9486
|
export declare var FOCUS_INPUT_SELECTOR: any;
|
9438
9487
|
export declare var surveyCss: {
|
9439
9488
|
currentType: string,
|
@@ -9605,6 +9654,7 @@ export declare var defaultStandardCss: {
|
|
9605
9654
|
cellText: string,
|
9606
9655
|
cellTextSelected: string,
|
9607
9656
|
cellLabel: string,
|
9657
|
+
cellResponsiveTitle: string,
|
9608
9658
|
},
|
9609
9659
|
matrixdropdown: {
|
9610
9660
|
root: string,
|
@@ -9769,7 +9819,6 @@ export declare var surveyTimerFunctions: {
|
|
9769
9819
|
setTimeout: any,
|
9770
9820
|
clearTimeout: any,
|
9771
9821
|
};
|
9772
|
-
export declare var keyFocusedClassName: any;
|
9773
9822
|
export declare var matrixDropdownColumnTypes: {
|
9774
9823
|
dropdown: {
|
9775
9824
|
onCellQuestionUpdate: any,
|
@@ -9962,6 +10011,7 @@ export declare var defaultBootstrapCss: {
|
|
9962
10011
|
cellText: string,
|
9963
10012
|
cellTextSelected: string,
|
9964
10013
|
cellLabel: string,
|
10014
|
+
cellResponsiveTitle: string,
|
9965
10015
|
},
|
9966
10016
|
matrixdropdown: {
|
9967
10017
|
root: string,
|
@@ -10284,6 +10334,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10284
10334
|
itemChecked: string,
|
10285
10335
|
itemDecorator: string,
|
10286
10336
|
materialDecorator: string,
|
10337
|
+
cellResponsiveTitle: string,
|
10287
10338
|
},
|
10288
10339
|
matrixdropdown: {
|
10289
10340
|
root: string,
|
@@ -10458,6 +10509,7 @@ export declare var defaultV2Css: {
|
|
10458
10509
|
logoImage: string,
|
10459
10510
|
headerText: string,
|
10460
10511
|
navigationButton: string,
|
10512
|
+
bodyNavigationButton: string,
|
10461
10513
|
completedPage: string,
|
10462
10514
|
timerRoot: string,
|
10463
10515
|
navigation: {
|
@@ -10487,6 +10539,7 @@ export declare var defaultV2Css: {
|
|
10487
10539
|
collapsed: string,
|
10488
10540
|
nested: string,
|
10489
10541
|
invisible: string,
|
10542
|
+
navigationButton: string,
|
10490
10543
|
},
|
10491
10544
|
paneldynamic: {
|
10492
10545
|
mainRoot: string,
|
@@ -10736,6 +10789,7 @@ export declare var defaultV2Css: {
|
|
10736
10789
|
cellText: string,
|
10737
10790
|
cellTextSelected: string,
|
10738
10791
|
cellTextDisabled: string,
|
10792
|
+
cellResponsiveTitle: string,
|
10739
10793
|
},
|
10740
10794
|
matrixdropdown: {
|
10741
10795
|
mainRoot: string,
|
@@ -11185,6 +11239,8 @@ export declare var modernCss: {
|
|
11185
11239
|
cellText: string,
|
11186
11240
|
cellTextSelected: string,
|
11187
11241
|
cellTextDisabled: string,
|
11242
|
+
cellResponsiveTitle: string,
|
11243
|
+
itemSvgIconId: string,
|
11188
11244
|
},
|
11189
11245
|
matrixdropdown: {
|
11190
11246
|
root: string,
|