survey-react 1.9.31 → 1.9.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaultV2.css +35 -5
- package/defaultV2.min.css +2 -2
- package/modern.css +18 -3
- package/modern.min.css +2 -2
- package/package.json +3 -3
- package/survey.css +17 -2
- package/survey.min.css +2 -2
- package/survey.react.d.ts +97 -20
- package/survey.react.js +663 -334
- 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.34
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -207,6 +207,7 @@ export interface ISize {
|
|
207
207
|
export interface ISurveyTriggerOwner {
|
208
208
|
getObjects(pages: any, questions: any): Array<any>;
|
209
209
|
setCompleted(): any;
|
210
|
+
triggerExecuted(trigger: Trigger): void;
|
210
211
|
setTriggerValue(name: string, value: any, isVariable: boolean): any;
|
211
212
|
copyTriggerValue(name: string, fromName: string): any;
|
212
213
|
focusQuestion(name: string): boolean;
|
@@ -654,6 +655,10 @@ export declare class Base {
|
|
654
655
|
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
655
656
|
*/
|
656
657
|
getType(): string;
|
658
|
+
/*
|
659
|
+
* Use this method to find out if the current instance is of the given `typeName` or inherited from it.
|
660
|
+
*/
|
661
|
+
isDescendantOf(typeName: string): boolean;
|
657
662
|
getSurvey(isLive?: boolean): ISurvey;
|
658
663
|
/*
|
659
664
|
* Returns true if the question in design mode right now.
|
@@ -743,6 +748,9 @@ export declare class Base {
|
|
743
748
|
*/
|
744
749
|
unRegisterFunctionOnPropertiesValueChanged(names: any, key?: string): void;
|
745
750
|
createCustomLocalizableObj(name: string): void;
|
751
|
+
getLocale(): string;
|
752
|
+
getLocalizationString(strName: string): string;
|
753
|
+
getLocalizationFormatString(strName: string, args: any): string;
|
746
754
|
protected createLocalizableString(name: string, owner: ILocalizableOwner, useMarkDown?: boolean, defaultStr?: string | boolean): LocalizableString;
|
747
755
|
getLocalizableString(name: string): LocalizableString;
|
748
756
|
getLocalizableStringText(name: string, defaultStr?: string): string;
|
@@ -1112,7 +1120,7 @@ export declare class PopupUtils {
|
|
1112
1120
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
1113
1121
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
1114
1122
|
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;
|
1123
|
+
static updatePopupWidthBeforeShow(popupModel: any, target: JSX.Element, e: any): void;
|
1116
1124
|
}
|
1117
1125
|
export declare class ProcessValue {
|
1118
1126
|
constructor();
|
@@ -1305,6 +1313,8 @@ export declare class SurveyError {
|
|
1305
1313
|
getText(): string;
|
1306
1314
|
getErrorType(): string;
|
1307
1315
|
protected getDefaultText(): string;
|
1316
|
+
protected getLocale(): string;
|
1317
|
+
protected getLocalizationString(locStrName: string): string;
|
1308
1318
|
}
|
1309
1319
|
export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
|
1310
1320
|
constructor(props: ISurveyHeaderProps);
|
@@ -1325,7 +1335,9 @@ export declare class SurveyLocStringViewer extends React.Component<any, any> {
|
|
1325
1335
|
componentDidMount(): void;
|
1326
1336
|
componentWillUnmount(): void;
|
1327
1337
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
1338
|
+
isRendering: boolean;
|
1328
1339
|
render(): JSX.Element;
|
1340
|
+
protected renderString(): JSX.Element;
|
1329
1341
|
}
|
1330
1342
|
export declare class SurveyNavigationBase extends React.Component<any, any> {
|
1331
1343
|
constructor(props: any);
|
@@ -1701,7 +1713,7 @@ export declare class CustomError extends SurveyError {
|
|
1701
1713
|
getErrorType(): string;
|
1702
1714
|
}
|
1703
1715
|
export declare class DragDropCore<T> extends Base {
|
1704
|
-
constructor(surveyValue?: ISurvey, creator?: any);
|
1716
|
+
constructor(surveyValue?: ISurvey, creator?: any, longTap?: boolean);
|
1705
1717
|
isBottom: boolean;
|
1706
1718
|
onGhostPositionChanged: EventBase<Base>;
|
1707
1719
|
protected ghostPositionChanged(): void;
|
@@ -2418,6 +2430,7 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
2418
2430
|
get model(): any;
|
2419
2431
|
protected getStateElement(): any;
|
2420
2432
|
componentDidMount(): void;
|
2433
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
2421
2434
|
componentWillUnmount(): void;
|
2422
2435
|
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
2423
2436
|
render(): JSX.Element;
|
@@ -2452,8 +2465,8 @@ export declare class PopupBaseViewModel extends Base {
|
|
2452
2465
|
clickOutside(): void;
|
2453
2466
|
cancel(): void;
|
2454
2467
|
apply(): void;
|
2455
|
-
get cancelButtonText():
|
2456
|
-
get applyButtonText():
|
2468
|
+
get cancelButtonText(): string;
|
2469
|
+
get applyButtonText(): string;
|
2457
2470
|
dispose(): void;
|
2458
2471
|
initializePopupContainer(): void;
|
2459
2472
|
unmountPopupContainer(): void;
|
@@ -2492,10 +2505,10 @@ export declare class PopupModel<T = any> extends Base {
|
|
2492
2505
|
title: string;
|
2493
2506
|
displayMode: "popup" | "overlay";
|
2494
2507
|
widthMode: "contentWidth" | "fixedWidth";
|
2508
|
+
onVisibilityChanged: EventBase<PopupModel<any>>;
|
2495
2509
|
get isVisible(): boolean;
|
2496
2510
|
set isVisible(val: boolean);
|
2497
2511
|
toggleVisibility(): void;
|
2498
|
-
onVisibilityChanged: (isVisible: boolean) => void;
|
2499
2512
|
}
|
2500
2513
|
export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
2501
2514
|
constructor(cssClasses: any, isDetailRow?: boolean);
|
@@ -2971,6 +2984,7 @@ export declare class Trigger extends Base {
|
|
2971
2984
|
check(value: any): void;
|
2972
2985
|
protected onSuccess(values: any, properties: any): void;
|
2973
2986
|
protected onFailure(): void;
|
2987
|
+
protected onSuccessExecuted(): void;
|
2974
2988
|
endLoadingFromJson(): void;
|
2975
2989
|
buildExpression(): string;
|
2976
2990
|
}
|
@@ -3067,7 +3081,7 @@ export declare class ChoicesRestfull extends ChoicesRestful {
|
|
3067
3081
|
static set onBeforeSendRequest(val: (sender: ChoicesRestful, options: any) => void);
|
3068
3082
|
}
|
3069
3083
|
export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
3070
|
-
constructor(surveyValue?: ISurvey, creator?: any);
|
3084
|
+
constructor(surveyValue?: ISurvey, creator?: any, longTap?: boolean);
|
3071
3085
|
protected get draggedElementType(): string;
|
3072
3086
|
protected createDraggedElementShortcut(text: string, draggedElementNode: any, event: any): any;
|
3073
3087
|
protected findDropTargetNodeByDragOverNode(dragOverNode: any): any;
|
@@ -3079,7 +3093,7 @@ export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
|
3079
3093
|
protected doClear(): void;
|
3080
3094
|
}
|
3081
3095
|
export declare class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynamicModel> {
|
3082
|
-
constructor(surveyValue?: ISurvey, creator?: any);
|
3096
|
+
constructor(surveyValue?: ISurvey, creator?: any, longTap?: boolean);
|
3083
3097
|
protected get draggedElementType(): string;
|
3084
3098
|
protected createDraggedElementShortcut(text: string, draggedElementNode: any, event: any): any;
|
3085
3099
|
fromIndex: number;
|
@@ -3093,7 +3107,7 @@ export declare class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynam
|
|
3093
3107
|
protected doClear(): void;
|
3094
3108
|
}
|
3095
3109
|
export declare class DragDropSurveyElements extends DragDropCore<any> {
|
3096
|
-
constructor(surveyValue?: ISurvey, creator?: any);
|
3110
|
+
constructor(surveyValue?: ISurvey, creator?: any, longTap?: boolean);
|
3097
3111
|
static newGhostPage: PageModel;
|
3098
3112
|
static restrictDragQuestionBetweenPages: boolean;
|
3099
3113
|
static edgeHeight: number;
|
@@ -3132,7 +3146,7 @@ export declare class EmailValidator extends SurveyValidator {
|
|
3132
3146
|
re: any;
|
3133
3147
|
getType(): string;
|
3134
3148
|
validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
|
3135
|
-
protected getDefaultErrorText(name: string):
|
3149
|
+
protected getDefaultErrorText(name: string): string;
|
3136
3150
|
}
|
3137
3151
|
/*
|
3138
3152
|
* Show error if expression returns false
|
@@ -3147,7 +3161,7 @@ export declare class ExpressionValidator extends SurveyValidator {
|
|
3147
3161
|
get isRunning(): boolean;
|
3148
3162
|
validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
|
3149
3163
|
protected generateError(res: boolean, value: any, name: string): ValidatorResult;
|
3150
|
-
protected getDefaultErrorText(name: string):
|
3164
|
+
protected getDefaultErrorText(name: string): string;
|
3151
3165
|
protected ensureConditionRunner(): boolean;
|
3152
3166
|
/*
|
3153
3167
|
* The expression property.
|
@@ -3213,7 +3227,7 @@ export declare class ListModel extends ActionContainer {
|
|
3213
3227
|
isItemSelected: (itemValue: Action) => boolean;
|
3214
3228
|
getItemClass: (itemValue: Action) => string;
|
3215
3229
|
getItemIndent: (itemValue: any) => string;
|
3216
|
-
get filteredTextPlaceholder():
|
3230
|
+
get filteredTextPlaceholder(): string;
|
3217
3231
|
onKeyDown(event: any): void;
|
3218
3232
|
onPointerDown(event: any, item: any): void;
|
3219
3233
|
refresh(): void;
|
@@ -3255,7 +3269,7 @@ export declare class NumericValidator extends SurveyValidator {
|
|
3255
3269
|
constructor(minValue?: number, maxValue?: number);
|
3256
3270
|
getType(): string;
|
3257
3271
|
validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
|
3258
|
-
protected getDefaultErrorText(name: string):
|
3272
|
+
protected getDefaultErrorText(name: string): string;
|
3259
3273
|
/*
|
3260
3274
|
* The minValue property.
|
3261
3275
|
*/
|
@@ -3475,7 +3489,9 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3475
3489
|
protected setPage(parent: IPanel, newPage: IPage): void;
|
3476
3490
|
protected getSearchableLocKeys(keys: any): void;
|
3477
3491
|
protected get isDefaultV2Theme(): boolean;
|
3492
|
+
get showErrorsAboveQuestion(): boolean;
|
3478
3493
|
get isErrorsModeTooltip(): boolean;
|
3494
|
+
protected getIsErrorsModeTooltip(): boolean;
|
3479
3495
|
get hasParent(): boolean;
|
3480
3496
|
protected get hasFrameV2(): boolean;
|
3481
3497
|
/*
|
@@ -3550,11 +3566,16 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
3550
3566
|
valuesHash: any;
|
3551
3567
|
variablesHash: any;
|
3552
3568
|
editingObjValue: Base;
|
3553
|
-
localeValue: string;
|
3554
3569
|
textPreProcessor: TextPreProcessor;
|
3555
3570
|
timerModelValue: SurveyTimerModel;
|
3556
3571
|
navigationBarValue: any;
|
3557
3572
|
/*
|
3573
|
+
* The event is fired after a trigger has been executed
|
3574
|
+
* <br/> `sender` - the survey object that fires the event.
|
3575
|
+
* <br/> `options.trigger` - An instance of a trigger that has been just perform it's action.
|
3576
|
+
*/
|
3577
|
+
onTriggerExecuted: EventBase<SurveyModel>;
|
3578
|
+
/*
|
3558
3579
|
* 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`
|
3559
3580
|
* <br/> `sender` - the survey object that fires the event.
|
3560
3581
|
* <br/> `options.allowComplete` - Specifies whether a user can complete a survey. Set this property to `false` to prevent the survey from completing. The default value is `true`.
|
@@ -4445,7 +4466,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4445
4466
|
getRendererContextForString(element: Base, locStr: LocalizableString): LocalizableString;
|
4446
4467
|
getExpressionDisplayValue(question: IQuestion, value: any, displayValue: string): string;
|
4447
4468
|
getProcessedText(text: string): string;
|
4448
|
-
getLocString(str: string):
|
4469
|
+
getLocString(str: string): string;
|
4449
4470
|
getErrorCustomText(text: string, error: SurveyError): string;
|
4450
4471
|
getSurveyErrorCustomText(obj: Base, text: string, error: SurveyError): string;
|
4451
4472
|
/*
|
@@ -5348,6 +5369,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5348
5369
|
getObjects(pages: any, questions: any): Array<any>;
|
5349
5370
|
setTriggerValue(name: string, value: any, isVariable: boolean): void;
|
5350
5371
|
copyTriggerValue(name: string, fromName: string): void;
|
5372
|
+
triggerExecuted(trigger: Trigger): void;
|
5351
5373
|
isFocusingQuestion: boolean;
|
5352
5374
|
isMovingQuestion: boolean;
|
5353
5375
|
startMovingQuestion(): void;
|
@@ -5695,6 +5717,7 @@ export declare class SurveyTrigger extends Trigger {
|
|
5695
5717
|
setOwner(owner: ISurveyTriggerOwner): void;
|
5696
5718
|
getSurvey(live?: boolean): ISurvey;
|
5697
5719
|
get isOnNextPage(): boolean;
|
5720
|
+
protected onSuccessExecuted(): void;
|
5698
5721
|
}
|
5699
5722
|
export declare class SurveyWindow extends Survey {
|
5700
5723
|
constructor(props: any);
|
@@ -5714,7 +5737,7 @@ export declare class TextValidator extends SurveyValidator {
|
|
5714
5737
|
constructor();
|
5715
5738
|
getType(): string;
|
5716
5739
|
validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
|
5717
|
-
protected getDefaultErrorText(name: string):
|
5740
|
+
protected getDefaultErrorText(name: string): string;
|
5718
5741
|
/*
|
5719
5742
|
* The minLength property.
|
5720
5743
|
*/
|
@@ -5759,7 +5782,7 @@ export declare class Variable extends Const {
|
|
5759
5782
|
protected isContentEqual(op: Operand): boolean;
|
5760
5783
|
}
|
5761
5784
|
export declare class DragDropRankingChoices extends DragDropChoices {
|
5762
|
-
constructor(surveyValue?: ISurvey, creator?: any);
|
5785
|
+
constructor(surveyValue?: ISurvey, creator?: any, longTap?: boolean);
|
5763
5786
|
protected get draggedElementType(): string;
|
5764
5787
|
protected createDraggedElementShortcut(text: string, draggedElementNode: any, event: any): any;
|
5765
5788
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
|
@@ -5975,6 +5998,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
5975
5998
|
protected onAddElement(element: IElement, index: number): void;
|
5976
5999
|
protected onRemoveElement(element: IElement): void;
|
5977
6000
|
protected canRenderFirstRows(): boolean;
|
6001
|
+
protected getDragDropInfo(): any;
|
5978
6002
|
protected updateRowsRemoveElementFromRow(element: IElement, row: QuestionRowModel): void;
|
5979
6003
|
elementWidthChanged(el: IElement): void;
|
5980
6004
|
/*
|
@@ -6307,6 +6331,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6307
6331
|
get cssDescription(): string;
|
6308
6332
|
protected setCssDescription(val: string): void;
|
6309
6333
|
protected getCssDescription(cssClasses: any): string;
|
6334
|
+
protected getIsErrorsModeTooltip(): boolean;
|
6335
|
+
showErrorOnCore(location: string): boolean;
|
6336
|
+
get showErrorOnTop(): boolean;
|
6337
|
+
get showErrorOnBottom(): boolean;
|
6310
6338
|
get cssError(): string;
|
6311
6339
|
protected setCssError(val: string): void;
|
6312
6340
|
protected getCssError(cssClasses: any): string;
|
@@ -6325,6 +6353,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6325
6353
|
protected fireCallback(callback: any): void;
|
6326
6354
|
getOthersMaxLength(): any;
|
6327
6355
|
protected onCreating(): void;
|
6356
|
+
getFirstQuestionToFocus(withError: boolean): Question;
|
6328
6357
|
protected getFirstInputElementId(): string;
|
6329
6358
|
protected getFirstErrorInputElementId(): string;
|
6330
6359
|
protected getProcessedTextValue(textValue: TextPreProcessorValue): void;
|
@@ -6653,6 +6682,7 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
|
|
6653
6682
|
}
|
6654
6683
|
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
6655
6684
|
constructor(props: any);
|
6685
|
+
onClick: (event: any) => void;
|
6656
6686
|
protected setValueCore(newValue: any): void;
|
6657
6687
|
protected getValueCore(): any;
|
6658
6688
|
protected renderSelect(cssClasses: any): JSX.Element;
|
@@ -6849,6 +6879,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
6849
6879
|
protected onNumChanged(value: number): void;
|
6850
6880
|
protected onVisibleChanged(): void;
|
6851
6881
|
dragDropInfo: DragDropInfo;
|
6882
|
+
protected getDragDropInfo(): any;
|
6852
6883
|
dragDropStart(src: IElement, target: IElement, nestedPanelDepth?: number): void;
|
6853
6884
|
dragDropMoveTo(destination: ISurveyElement, isBottom?: boolean, isEdge?: boolean): boolean;
|
6854
6885
|
dragDropFinish(isCancel?: boolean): IElement;
|
@@ -7270,6 +7301,11 @@ export declare class QuestionFileModel extends Question {
|
|
7270
7301
|
* Clear value programmatically.
|
7271
7302
|
*/
|
7272
7303
|
clear(doneCallback?: any): void;
|
7304
|
+
get multipleRendered(): string;
|
7305
|
+
get showRemoveButton(): any;
|
7306
|
+
get showRemoveButtonBottom(): any;
|
7307
|
+
defaultImage(data: any): boolean;
|
7308
|
+
get imageWidthRendered(): string;
|
7273
7309
|
/*
|
7274
7310
|
* Remove file item programmatically.
|
7275
7311
|
*/
|
@@ -7457,6 +7493,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7457
7493
|
panelCountChangedCallback: any;
|
7458
7494
|
currentIndexChangedCallback: any;
|
7459
7495
|
get hasSingleInput(): boolean;
|
7496
|
+
getFirstQuestionToFocus(withError: boolean): Question;
|
7460
7497
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
7461
7498
|
getType(): string;
|
7462
7499
|
get isCompositeQuestion(): boolean;
|
@@ -7775,6 +7812,7 @@ export declare class QuestionRatingModel extends Question {
|
|
7775
7812
|
get renderedRateItems(): any;
|
7776
7813
|
getType(): string;
|
7777
7814
|
protected getFirstInputElementId(): string;
|
7815
|
+
getInputId(index: number): string;
|
7778
7816
|
supportGoNextPageAutomatic(): boolean;
|
7779
7817
|
supportComment(): boolean;
|
7780
7818
|
supportOther(): boolean;
|
@@ -8000,6 +8038,7 @@ export declare class QuestionSelectBase extends Question {
|
|
8000
8038
|
protected updateVisibleChoices(): void;
|
8001
8039
|
protected canUseFilteredChoices(): boolean;
|
8002
8040
|
setCanShowOptionItemCallback(func: (item: ItemValue) => boolean): void;
|
8041
|
+
get newItem(): ItemValue;
|
8003
8042
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
8004
8043
|
protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
|
8005
8044
|
/*
|
@@ -8280,7 +8319,6 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
8280
8319
|
textProcessing: QuestionCompositeTextProcessor;
|
8281
8320
|
protected createWrapper(): void;
|
8282
8321
|
getTemplate(): string;
|
8283
|
-
protected getCssType(): string;
|
8284
8322
|
protected getElement(): SurveyElement;
|
8285
8323
|
get contentPanel(): PanelModel;
|
8286
8324
|
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
@@ -8368,13 +8406,19 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
8368
8406
|
*/
|
8369
8407
|
get autoComplete(): string;
|
8370
8408
|
set autoComplete(val: string);
|
8409
|
+
showClearButton: boolean;
|
8410
|
+
itemComponent: string;
|
8371
8411
|
denySearch: boolean;
|
8372
8412
|
dropdownWidthMode: "contentWidth" | "editorWidth";
|
8373
8413
|
getControlClass(): string;
|
8374
8414
|
get readOnlyText(): any;
|
8415
|
+
onClear(event: any): void;
|
8375
8416
|
protected onVisibleChoicesChanged(): void;
|
8376
8417
|
_popupModel: any;
|
8377
8418
|
get popupModel(): any;
|
8419
|
+
onOpened: EventBase<QuestionDropdownModel>;
|
8420
|
+
onOpenedCallBack(): void;
|
8421
|
+
onClick(event: any): void;
|
8378
8422
|
}
|
8379
8423
|
/*
|
8380
8424
|
* A Model for html question. Unlike other questions it doesn't have value and title.
|
@@ -8630,6 +8674,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8630
8674
|
protected getIsRunningValidators(): boolean;
|
8631
8675
|
getAllErrors(): Array<SurveyError>;
|
8632
8676
|
protected getUniqueColumns(): Array<MatrixDropdownColumn>;
|
8677
|
+
getFirstQuestionToFocus(withError: boolean): Question;
|
8633
8678
|
protected getFirstInputElementId(): string;
|
8634
8679
|
protected getFirstErrorInputElementId(): string;
|
8635
8680
|
protected getFirstCellQuestion(onError: boolean): Question;
|
@@ -8841,6 +8886,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
8841
8886
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
8842
8887
|
constructor(props: any);
|
8843
8888
|
protected renderSelect(cssClasses: any): JSX.Element;
|
8889
|
+
createClearButton(): JSX.Element;
|
8844
8890
|
}
|
8845
8891
|
/*
|
8846
8892
|
* A Model for a button group question.
|
@@ -9222,7 +9268,7 @@ export declare class QuestionRadiogroupModel extends QuestionCheckboxBase {
|
|
9222
9268
|
get showClearButton(): boolean;
|
9223
9269
|
set showClearButton(val: boolean);
|
9224
9270
|
get canShowClearButton(): boolean;
|
9225
|
-
get clearButtonCaption():
|
9271
|
+
get clearButtonCaption(): string;
|
9226
9272
|
supportGoNextPageAutomatic(): boolean;
|
9227
9273
|
}
|
9228
9274
|
/*
|
@@ -9263,6 +9309,11 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
9263
9309
|
setGhostText: (text: string) => void;
|
9264
9310
|
getIconHoverCss(): string;
|
9265
9311
|
getIconFocusCss(): string;
|
9312
|
+
/*
|
9313
|
+
* For mobile devices. Set this property to false, to disable the "long tap" before drag start. Default is true.
|
9314
|
+
*/
|
9315
|
+
get longTap(): boolean;
|
9316
|
+
set longTap(val: boolean);
|
9266
9317
|
}
|
9267
9318
|
export declare function property(options?: any): (target: any, key: string) => void;
|
9268
9319
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
@@ -9286,6 +9337,11 @@ export declare var settings: {
|
|
9286
9337
|
caseSensitive: boolean,
|
9287
9338
|
},
|
9288
9339
|
/*
|
9340
|
+
* Set this value to false, if you want to have UTC fuctions, for example setUTCHours inside our functions, like today.
|
9341
|
+
* By default it uses setHours function, with local date
|
9342
|
+
*/
|
9343
|
+
useLocalTimeZone: boolean,
|
9344
|
+
/*
|
9289
9345
|
* The prefix that uses to store the question comment, as {questionName} + {commentPrefix}.
|
9290
9346
|
* The default
|
9291
9347
|
*/
|
@@ -9601,6 +9657,7 @@ export declare var defaultStandardCss: {
|
|
9601
9657
|
rootRadio: string,
|
9602
9658
|
item: string,
|
9603
9659
|
control: string,
|
9660
|
+
controlCheckbox: string,
|
9604
9661
|
itemChecked: string,
|
9605
9662
|
itemIndeterminate: string,
|
9606
9663
|
itemDisabled: string,
|
@@ -9652,6 +9709,10 @@ export declare var defaultStandardCss: {
|
|
9652
9709
|
control: string,
|
9653
9710
|
selectWrapper: string,
|
9654
9711
|
other: string,
|
9712
|
+
cleanButton: string,
|
9713
|
+
cleanButtonSvg: string,
|
9714
|
+
cleanButtonIconId: string,
|
9715
|
+
controlValue: string,
|
9655
9716
|
},
|
9656
9717
|
html: {
|
9657
9718
|
root: string,
|
@@ -9959,6 +10020,7 @@ export declare var defaultBootstrapCss: {
|
|
9959
10020
|
rootRadio: string,
|
9960
10021
|
item: string,
|
9961
10022
|
control: string,
|
10023
|
+
controlCheckbox: string,
|
9962
10024
|
itemChecked: string,
|
9963
10025
|
itemIndeterminate: string,
|
9964
10026
|
itemDisabled: string,
|
@@ -10279,6 +10341,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10279
10341
|
rootRadio: string,
|
10280
10342
|
item: string,
|
10281
10343
|
control: string,
|
10344
|
+
controlCheckbox: string,
|
10282
10345
|
itemChecked: string,
|
10283
10346
|
itemIndeterminate: string,
|
10284
10347
|
itemDisabled: string,
|
@@ -10637,7 +10700,6 @@ export declare var defaultV2Css: {
|
|
10637
10700
|
footer: string,
|
10638
10701
|
formGroup: string,
|
10639
10702
|
hasError: string,
|
10640
|
-
disabled: string,
|
10641
10703
|
collapsed: string,
|
10642
10704
|
nested: string,
|
10643
10705
|
invisible: string,
|
@@ -10715,6 +10777,7 @@ export declare var defaultV2Css: {
|
|
10715
10777
|
radioFieldset: string,
|
10716
10778
|
itemOnError: string,
|
10717
10779
|
control: string,
|
10780
|
+
controlCheckbox: string,
|
10718
10781
|
itemChecked: string,
|
10719
10782
|
itemIndeterminate: string,
|
10720
10783
|
itemDisabled: string,
|
@@ -10757,7 +10820,11 @@ export declare var defaultV2Css: {
|
|
10757
10820
|
itemHover: string,
|
10758
10821
|
itemControl: string,
|
10759
10822
|
itemDecorator: string,
|
10823
|
+
cleanButton: string,
|
10824
|
+
cleanButtonSvg: string,
|
10825
|
+
cleanButtonIconId: string,
|
10760
10826
|
control: string,
|
10827
|
+
controlValue: string,
|
10761
10828
|
controlDisabled: string,
|
10762
10829
|
controlEmpty: string,
|
10763
10830
|
controlLabel: string,
|
@@ -10813,6 +10880,7 @@ export declare var defaultV2Css: {
|
|
10813
10880
|
cell: string,
|
10814
10881
|
headerCell: string,
|
10815
10882
|
rowTextCell: string,
|
10883
|
+
cellRequiredText: string,
|
10816
10884
|
detailButton: string,
|
10817
10885
|
detailButtonExpanded: string,
|
10818
10886
|
detailIcon: string,
|
@@ -10832,6 +10900,7 @@ export declare var defaultV2Css: {
|
|
10832
10900
|
cell: string,
|
10833
10901
|
headerCell: string,
|
10834
10902
|
rowTextCell: string,
|
10903
|
+
cellRequiredText: string,
|
10835
10904
|
button: string,
|
10836
10905
|
detailRow: string,
|
10837
10906
|
detailButton: string,
|
@@ -11189,6 +11258,7 @@ export declare var modernCss: {
|
|
11189
11258
|
small: string,
|
11190
11259
|
item: string,
|
11191
11260
|
control: string,
|
11261
|
+
controlCheckbox: string,
|
11192
11262
|
itemChecked: string,
|
11193
11263
|
itemIndeterminate: string,
|
11194
11264
|
itemDisabled: string,
|
@@ -11201,6 +11271,9 @@ export declare var modernCss: {
|
|
11201
11271
|
checkedPath: string,
|
11202
11272
|
uncheckedPath: string,
|
11203
11273
|
indeterminatePath: string,
|
11274
|
+
svgIconCheckedId: string,
|
11275
|
+
svgIconUncheckedId: string,
|
11276
|
+
svgIconIndId: string,
|
11204
11277
|
},
|
11205
11278
|
text: {
|
11206
11279
|
root: string,
|
@@ -11222,6 +11295,10 @@ export declare var modernCss: {
|
|
11222
11295
|
selectWrapper: string,
|
11223
11296
|
other: string,
|
11224
11297
|
onError: string,
|
11298
|
+
cleanButton: string,
|
11299
|
+
cleanButtonSvg: string,
|
11300
|
+
cleanButtonIconId: string,
|
11301
|
+
controlValue: string,
|
11225
11302
|
},
|
11226
11303
|
imagepicker: {
|
11227
11304
|
root: string,
|