survey-react 1.9.60 → 1.9.61
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 +1 -1
- package/defaultV2.min.css +1 -1
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +63 -39
- package/survey.react.js +396 -307
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
package/defaultV2.min.css
CHANGED
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
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.61
|
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
|
*/
|
@@ -1410,7 +1410,7 @@ export declare class ReactElementFactory {
|
|
1410
1410
|
registerElement(elementType: string, elementCreator: (props: any) => JSX.Element): void;
|
1411
1411
|
getAllTypes(): Array<any>;
|
1412
1412
|
isElementRegistered(elementType: string): boolean;
|
1413
|
-
createElement(elementType: string, params: any):
|
1413
|
+
createElement(elementType: string, params: any): any;
|
1414
1414
|
}
|
1415
1415
|
export declare class ReactQuestionFactory {
|
1416
1416
|
static Instance: ReactQuestionFactory;
|
@@ -1496,7 +1496,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1496
1496
|
protected renderElement(): JSX.Element;
|
1497
1497
|
protected get changedStatePropName(): string;
|
1498
1498
|
protected getStateElements(): Array<Base>;
|
1499
|
-
protected getStateElement():
|
1499
|
+
protected getStateElement(): any;
|
1500
1500
|
protected get isDisplayMode(): boolean;
|
1501
1501
|
protected renderLocString(locStr: any, style?: any, key?: string): JSX.Element;
|
1502
1502
|
protected canUsePropInState(key: string): boolean;
|
@@ -1637,7 +1637,7 @@ export declare class TitleContent extends React.Component<any, any> {
|
|
1637
1637
|
}
|
1638
1638
|
export declare class TitleElement extends React.Component<any, any> {
|
1639
1639
|
constructor(props: any);
|
1640
|
-
render():
|
1640
|
+
render(): any;
|
1641
1641
|
}
|
1642
1642
|
export declare class TooltipManager {
|
1643
1643
|
constructor(tooltipElement: any);
|
@@ -1908,7 +1908,7 @@ export declare class ChoicesRestful extends Base {
|
|
1908
1908
|
* url: "https://surveyjs.io/api/CountriesExample?region={region}"
|
1909
1909
|
* ```
|
1910
1910
|
*
|
1911
|
-
* [View
|
1911
|
+
* [View Demo](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
|
1912
1912
|
*/
|
1913
1913
|
get url(): string;
|
1914
1914
|
set url(val: string);
|
@@ -1931,7 +1931,7 @@ export declare class ChoicesRestful extends Base {
|
|
1931
1931
|
/*
|
1932
1932
|
* Specifies which property in the obtained data object contains choice values.
|
1933
1933
|
*
|
1934
|
-
* [View
|
1934
|
+
* [View Demo](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
|
1935
1935
|
*/
|
1936
1936
|
get valueName(): string;
|
1937
1937
|
set valueName(val: string);
|
@@ -3172,7 +3172,7 @@ export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
3172
3172
|
protected get css(): any;
|
3173
3173
|
get panelBase(): any;
|
3174
3174
|
protected getPanelBase(): PanelModelBase;
|
3175
|
-
protected getSurvey():
|
3175
|
+
protected getSurvey(): any;
|
3176
3176
|
protected getCss(): any;
|
3177
3177
|
componentDidMount(): void;
|
3178
3178
|
componentWillUnmount(): void;
|
@@ -3208,7 +3208,7 @@ export declare class SurveyProgressButtons extends SurveyNavigationBase {
|
|
3208
3208
|
export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
3209
3209
|
constructor(props: any);
|
3210
3210
|
isNeedFocus: boolean;
|
3211
|
-
static renderQuestionBody(creator: ISurveyCreator, question: any):
|
3211
|
+
static renderQuestionBody(creator: ISurveyCreator, question: any): any;
|
3212
3212
|
rootRef: any;
|
3213
3213
|
protected getStateElement(): Base;
|
3214
3214
|
protected get question(): any;
|
@@ -3240,6 +3240,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
3240
3240
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
3241
3241
|
protected get isDisplayMode(): boolean;
|
3242
3242
|
protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
|
3243
|
+
setControl(element: any): void;
|
3243
3244
|
}
|
3244
3245
|
export declare class SurveyRow extends SurveyElementBase<any, any> {
|
3245
3246
|
constructor(props: any);
|
@@ -4095,7 +4096,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4095
4096
|
* - `options.showDataSavingClear` - call this method to hide the text about the saving progress.
|
4096
4097
|
* - `options.isCompleteOnTrigger` - returns true if the survey is completed on "complete" trigger.
|
4097
4098
|
*
|
4098
|
-
* >
|
4099
|
+
* > Do not disable the [`showCompletedPage`](https://surveyjs.io/form-library/documentation/surveymodel#showCompletedPage) property if you call one of the `options.showDataSaving...` methods described above. This is required because the UI that indicates data saving progress is integrated into the Complete page. If you hide the Complete page, the UI also becomes invisible.
|
4099
4100
|
*/
|
4100
4101
|
onComplete: EventBase<SurveyModel>;
|
4101
4102
|
/*
|
@@ -4381,6 +4382,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4381
4382
|
* - `options.name` - the question name.
|
4382
4383
|
* - `options.files` - the Javascript File objects array to upload.
|
4383
4384
|
* - `options.callback` - a callback function to get the file upload status and the updloaded file content.
|
4385
|
+
*
|
4386
|
+
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-file/ (linkStyle))
|
4384
4387
|
*/
|
4385
4388
|
onUploadFiles: EventBase<SurveyModel>;
|
4386
4389
|
/*
|
@@ -4391,6 +4394,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4391
4394
|
* - `options.content` - the file content.
|
4392
4395
|
* - `options.fileValue` - single file question value.
|
4393
4396
|
* - `options.callback` - a callback function to get the file downloading status and the downloaded file content.
|
4397
|
+
*
|
4398
|
+
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-file/ (linkStyle))
|
4394
4399
|
*/
|
4395
4400
|
onDownloadFile: EventBase<SurveyModel>;
|
4396
4401
|
/*
|
@@ -4401,6 +4406,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4401
4406
|
* - `options.value` - the question value.
|
4402
4407
|
* - `options.fileName` - a removed file's name, set it to `null` to clear all files.
|
4403
4408
|
* - `options.callback` - a callback function to get the operation status.
|
4409
|
+
*
|
4410
|
+
* [View Demo](https://surveyjs.io/form-library/examples/file-delayed-upload/ (linkStyle))
|
4404
4411
|
*/
|
4405
4412
|
onClearFiles: EventBase<SurveyModel>;
|
4406
4413
|
/*
|
@@ -4969,7 +4976,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4969
4976
|
* - `autogonext` - navigate to the next page automatically but do not submit survey data.
|
4970
4977
|
* - `false` - do not navigate to the next page and do not submit survey data automatically.
|
4971
4978
|
*
|
4972
|
-
* >
|
4979
|
+
* > If any of the following questions is answered last, the survey won't be switched to the next page: Checkbox, Boolean (rendered as Checkbox), Comment, Signature Pad, Image Picker (with Multi Select), File, Single-Choice Matrix (not all rows are answered), Dynamic Matrix, Panel Dynamic.
|
4973
4980
|
*/
|
4974
4981
|
get goNextPageAutomatic(): boolean | "autogonext";
|
4975
4982
|
set goNextPageAutomatic(val: boolean | "autogonext");
|
@@ -5248,7 +5255,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5248
5255
|
/*
|
5249
5256
|
* Gets or sets question title location relative to the input field: `"top"`, `"bottom"`, or `"left"`.
|
5250
5257
|
*
|
5251
|
-
* >
|
5258
|
+
* > Certain question types (Matrix, Multiple Text) do not support the `"left"` value. For them, the `"top"` value is used.
|
5252
5259
|
*
|
5253
5260
|
* You can override this setting if you specify the `questionTitleLocation` property for an [individual page](https://surveyjs.io/form-library/documentation/pagemodel#questionTitleLocation) or [panel](https://surveyjs.io/form-library/documentation/panelmodel#questionTitleLocation) or set the `titleLocation` property for a [specific question](https://surveyjs.io/form-library/documentation/question#titleLocation).
|
5254
5261
|
*/
|
@@ -6008,7 +6015,7 @@ export declare class SurveyMultipleTextItem extends ReactSurveyElement {
|
|
6008
6015
|
}
|
6009
6016
|
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
6010
6017
|
constructor(props: any);
|
6011
|
-
protected get item():
|
6018
|
+
protected get item(): any;
|
6012
6019
|
protected canRender(): boolean;
|
6013
6020
|
protected renderElement(): JSX.Element;
|
6014
6021
|
}
|
@@ -6071,7 +6078,7 @@ export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase
|
|
6071
6078
|
}
|
6072
6079
|
export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
6073
6080
|
constructor(props: any);
|
6074
|
-
protected get question():
|
6081
|
+
protected get question(): any;
|
6075
6082
|
protected renderElement(): JSX.Element;
|
6076
6083
|
protected getHeader(): any;
|
6077
6084
|
protected getFooter(): any;
|
@@ -6081,12 +6088,12 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
6081
6088
|
protected getItems(cssClasses: any, choices: any): Array<any>;
|
6082
6089
|
protected get textStyle(): any;
|
6083
6090
|
protected renderOther(): JSX.Element;
|
6084
|
-
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index
|
6091
|
+
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
|
6085
6092
|
}
|
6086
6093
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
6087
6094
|
constructor(props: any);
|
6088
6095
|
protected getStateElement(): Base;
|
6089
|
-
protected get question():
|
6096
|
+
protected get question(): any;
|
6090
6097
|
protected get item(): any;
|
6091
6098
|
protected get textStyle(): any;
|
6092
6099
|
protected get isFirst(): any;
|
@@ -6210,7 +6217,7 @@ export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurvey
|
|
6210
6217
|
}
|
6211
6218
|
export declare class SurveyQuestionMatrixHeaderRequired extends ReactSurveyElement {
|
6212
6219
|
constructor(props: any);
|
6213
|
-
get column():
|
6220
|
+
get column(): any;
|
6214
6221
|
get question(): any;
|
6215
6222
|
protected getStateElement(): Base;
|
6216
6223
|
protected renderElement(): JSX.Element;
|
@@ -6286,7 +6293,7 @@ export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
|
6286
6293
|
protected get question(): any;
|
6287
6294
|
protected renderElement(): JSX.Element;
|
6288
6295
|
protected getItems(): Array<any>;
|
6289
|
-
protected renderItem(item:
|
6296
|
+
protected renderItem(item: any, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: any) => void, cssClasses: any, itemClass: string, question: any): JSX.Element;
|
6290
6297
|
}
|
6291
6298
|
export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
|
6292
6299
|
constructor(props: any);
|
@@ -6318,7 +6325,7 @@ export declare class SurveyQuestionTagboxItem extends ReactSurveyElement {
|
|
6318
6325
|
constructor(props: any);
|
6319
6326
|
protected getStateElement(): Base;
|
6320
6327
|
protected get question(): any;
|
6321
|
-
protected get item():
|
6328
|
+
protected get item(): any;
|
6322
6329
|
protected canRender(): boolean;
|
6323
6330
|
protected renderElement(): JSX.Element;
|
6324
6331
|
}
|
@@ -6551,7 +6558,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
6551
6558
|
*
|
6552
6559
|
* Call this method after you assign new question values in code to ensure that they are acceptable.
|
6553
6560
|
*
|
6554
|
-
* >
|
6561
|
+
* > This method does not remove values for invisible questions and values that fail validation. Call the `hasErrors()` method to validate newly assigned values.
|
6555
6562
|
*/
|
6556
6563
|
clearIncorrectValues(): void;
|
6557
6564
|
/*
|
@@ -6619,7 +6626,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
6619
6626
|
* - `"left"` - Displays the title to the left of the input field.
|
6620
6627
|
* - `"hidden"` - Hides the question title.
|
6621
6628
|
*
|
6622
|
-
* >
|
6629
|
+
* > Certain question types (Matrix, Multiple Text) do not support the `"left"` value. For them, the `"top"` value is used.
|
6623
6630
|
*/
|
6624
6631
|
get questionTitleLocation(): string;
|
6625
6632
|
set questionTitleLocation(val: string);
|
@@ -6897,7 +6904,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
6897
6904
|
* - `"left"` - Displays the title to the left of the input field.
|
6898
6905
|
* - `"hidden"` - Hides the question title.
|
6899
6906
|
*
|
6900
|
-
* >
|
6907
|
+
* > Certain question types (Matrix, Multiple Text) do not support the `"left"` value. For them, the `"top"` value is used.
|
6901
6908
|
*/
|
6902
6909
|
get titleLocation(): string;
|
6903
6910
|
set titleLocation(val: string);
|
@@ -7268,7 +7275,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
7268
7275
|
*
|
7269
7276
|
* Call this method after you assign new question values in code to ensure that they are acceptable.
|
7270
7277
|
*
|
7271
|
-
* >
|
7278
|
+
* > This method does not remove values that do not pass validation. Call the `hasErrors()` method to validate newly assigned values.
|
7272
7279
|
*/
|
7273
7280
|
clearIncorrectValues(): void;
|
7274
7281
|
clearOnDeletingContainer(): void;
|
@@ -7390,7 +7397,7 @@ export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionP
|
|
7390
7397
|
}
|
7391
7398
|
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
7392
7399
|
constructor(props: any);
|
7393
|
-
protected getSurvey():
|
7400
|
+
protected getSurvey(): any;
|
7394
7401
|
protected getCss(): any;
|
7395
7402
|
render(): JSX.Element;
|
7396
7403
|
protected renderButton(): JSX.Element;
|
@@ -7416,7 +7423,6 @@ export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuesti
|
|
7416
7423
|
}
|
7417
7424
|
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
7418
7425
|
constructor(props: any);
|
7419
|
-
_isWaitingForEnter: boolean;
|
7420
7426
|
protected renderInput(): JSX.Element;
|
7421
7427
|
protected renderElement(): JSX.Element;
|
7422
7428
|
}
|
@@ -7502,7 +7508,9 @@ export declare class SurveyWindow extends PopupSurvey {
|
|
7502
7508
|
constructor(props: any);
|
7503
7509
|
}
|
7504
7510
|
/*
|
7505
|
-
* The
|
7511
|
+
* The `PageModel` object describes a survey page and contains properties and methods that allow you to control the page and access its elements (panels and questions).
|
7512
|
+
*
|
7513
|
+
* [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
|
7506
7514
|
*/
|
7507
7515
|
export declare class PageModel extends PanelModelBase implements IPage {
|
7508
7516
|
constructor(name?: string);
|
@@ -7513,7 +7521,9 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
7513
7521
|
protected canShowPageNumber(): boolean;
|
7514
7522
|
protected canShowTitle(): boolean;
|
7515
7523
|
/*
|
7516
|
-
*
|
7524
|
+
* A caption displayed on a navigation button in the progress bar. Applies only when [`showProgressBar`](https://surveyjs.io/form-library/documentation/surveymodel#showProgressBar) is `true` and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is `"buttons"`.
|
7525
|
+
*
|
7526
|
+
* If this property is undefined, the navigation button displays the page's [`name`](https://surveyjs.io/form-library/documentation/pagemodel#name).
|
7517
7527
|
*/
|
7518
7528
|
get navigationTitle(): string;
|
7519
7529
|
set navigationTitle(val: string);
|
@@ -7533,7 +7543,9 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
7533
7543
|
set visibleIndex(val: number);
|
7534
7544
|
protected canRenderFirstRows(): boolean;
|
7535
7545
|
/*
|
7536
|
-
* Returns true
|
7546
|
+
* Returns `true` if this page is a start page.
|
7547
|
+
*
|
7548
|
+
* Refer to the following help topic for more information on how to configure a start page: [Start Page](https://surveyjs.io/form-library/documentation/design-survey-create-a-multi-page-survey#start-page).
|
7537
7549
|
*/
|
7538
7550
|
get isStarted(): boolean;
|
7539
7551
|
protected calcCssClasses(css: any): any;
|
@@ -7546,25 +7558,29 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
7546
7558
|
get navigationButtonsVisibility(): string;
|
7547
7559
|
set navigationButtonsVisibility(val: string);
|
7548
7560
|
/*
|
7549
|
-
*
|
7561
|
+
* Returns `true` if the respondent has already seen this page during the current session.
|
7550
7562
|
*/
|
7551
7563
|
get wasShown(): boolean;
|
7552
7564
|
get hasShown(): boolean;
|
7553
7565
|
setWasShown(val: boolean): void;
|
7554
7566
|
/*
|
7555
|
-
*
|
7567
|
+
* Scrolls this page to the top.
|
7556
7568
|
*/
|
7557
7569
|
scrollToTop(): void;
|
7558
7570
|
/*
|
7559
|
-
*
|
7571
|
+
* A time period that a respondent spent on this page; measured in seconds. Applies only to [quiz surveys](https://surveyjs.io/form-library/documentation/design-survey-create-a-quiz).
|
7560
7572
|
*/
|
7561
7573
|
timeSpent: number;
|
7562
7574
|
/*
|
7563
|
-
* Returns
|
7575
|
+
* Returns a list of all panels on this page.
|
7564
7576
|
*/
|
7565
7577
|
getPanels(visibleOnly?: boolean, includingDesignTime?: boolean): Array<IPanel>;
|
7566
7578
|
/*
|
7567
|
-
*
|
7579
|
+
* A time period that a respondent has to complete this page; measured in seconds. Applies only to [quiz surveys](https://surveyjs.io/form-library/documentation/design-survey-create-a-quiz).
|
7580
|
+
*
|
7581
|
+
* A negative value or 0 sets an unlimited time period.
|
7582
|
+
*
|
7583
|
+
* Alternatively, you can use the `SurveyModel`'s [`maxTimeToFinishPage`](https://surveyjs.io/form-library/documentation/surveymodel#maxTimeToFinishPage) property to specify identical time periods for all survey pages.
|
7568
7584
|
*/
|
7569
7585
|
get maxTimeToFinish(): number;
|
7570
7586
|
set maxTimeToFinish(val: number);
|
@@ -7920,7 +7936,7 @@ export declare class QuestionFileModel extends Question {
|
|
7920
7936
|
/*
|
7921
7937
|
* Disable this property only to implement a custom preview.
|
7922
7938
|
*
|
7923
|
-
* [View
|
7939
|
+
* [View Demo](https://surveyjs.io/form-library/examples/file-custom-preview/ (linkStyle))
|
7924
7940
|
*/
|
7925
7941
|
get showPreview(): boolean;
|
7926
7942
|
set showPreview(val: boolean);
|
@@ -8808,7 +8824,7 @@ export declare class QuestionSelectBase extends Question {
|
|
8808
8824
|
/*
|
8809
8825
|
* Configures access to a RESTful service that returns choice items. Refer to the [ChoicesRestful](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information.
|
8810
8826
|
*
|
8811
|
-
* [View
|
8827
|
+
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-dropdownrestfull/ (linkStyle))
|
8812
8828
|
*/
|
8813
8829
|
get choicesByUrl(): ChoicesRestful;
|
8814
8830
|
set choicesByUrl(val: ChoicesRestful);
|
@@ -8993,6 +9009,7 @@ export declare class QuestionSelectBase extends Question {
|
|
8993
9009
|
getItemEnabled(item: ItemValue): any;
|
8994
9010
|
protected rootElement: any;
|
8995
9011
|
afterRender(el: any): void;
|
9012
|
+
beforeDestroyQuestionElement(el: any): void;
|
8996
9013
|
prevIsOtherSelected: boolean;
|
8997
9014
|
protected onValueChanged(): void;
|
8998
9015
|
protected getDefaultItemComponent(): string;
|
@@ -9096,7 +9113,7 @@ export declare class QuestionTextBase extends Question {
|
|
9096
9113
|
* - `"onTyping"` - Updates the value on every key press.
|
9097
9114
|
* - `"default"` (default) - Inherits the value from the `SurveyModel`'s [`textUpdateMode`](https://surveyjs.io/form-library/documentation/surveymodel#textUpdateMode) property.
|
9098
9115
|
*
|
9099
|
-
* >
|
9116
|
+
* > Do not use the `"onTyping"` mode if your survey contains many expressions. Expressions are reevaluated each time a question value is changed. In `"onTyping"` mode, the question value changes frequently. This may cause performance degradation.
|
9100
9117
|
*/
|
9101
9118
|
get textUpdateMode(): string;
|
9102
9119
|
set textUpdateMode(val: string);
|
@@ -9118,7 +9135,7 @@ export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Q
|
|
9118
9135
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
9119
9136
|
constructor(props: any);
|
9120
9137
|
protected get itemCss(): string;
|
9121
|
-
protected getQuestion():
|
9138
|
+
protected getQuestion(): any;
|
9122
9139
|
protected doAfterRender(): void;
|
9123
9140
|
protected getShowErrors(): boolean;
|
9124
9141
|
protected getCellStyle(): any;
|
@@ -9218,6 +9235,7 @@ export declare class QuestionCommentModel extends QuestionTextBase {
|
|
9218
9235
|
getType(): string;
|
9219
9236
|
afterRenderQuestionElement(el: any): void;
|
9220
9237
|
updateElement(): void;
|
9238
|
+
beforeDestroyQuestionElement(el: any): void;
|
9221
9239
|
onInput(event: any): void;
|
9222
9240
|
onKeyDown(event: any): void;
|
9223
9241
|
onValueChanged(): void;
|
@@ -9937,6 +9955,12 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
9937
9955
|
protected hasPlaceHolder(): boolean;
|
9938
9956
|
isReadOnlyRenderDiv(): boolean;
|
9939
9957
|
get inputStyle(): any;
|
9958
|
+
_isWaitingForEnter: boolean;
|
9959
|
+
onCompositionUpdate: (event: any) => void;
|
9960
|
+
onKeyUp: (event: any) => void;
|
9961
|
+
onKeyDown: (event: any) => void;
|
9962
|
+
onChange: (event: any) => void;
|
9963
|
+
onBlur: (event: any) => void;
|
9940
9964
|
}
|
9941
9965
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
9942
9966
|
constructor(props: any);
|
@@ -10009,7 +10033,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
10009
10033
|
*
|
10010
10034
|
* Default value: 0 (unlimited)
|
10011
10035
|
*
|
10012
|
-
* >
|
10036
|
+
* > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `maxSelectedChoices` value.
|
10013
10037
|
*/
|
10014
10038
|
get maxSelectedChoices(): number;
|
10015
10039
|
set maxSelectedChoices(val: number);
|
@@ -10527,11 +10551,11 @@ export declare function createDropdownActionModel(actionOptions: IAction, dropdo
|
|
10527
10551
|
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: any): Action;
|
10528
10552
|
export declare function getCurrecyCodes(): Array<any>;
|
10529
10553
|
export declare function createPopupModalViewModel(options: IDialogOptions): PopupBaseViewModel;
|
10530
|
-
export declare function createPopupViewModel(model: any, targetElement
|
10554
|
+
export declare function createPopupViewModel(model: any, targetElement?: any): PopupBaseViewModel;
|
10531
10555
|
export declare function checkLibraryVersion(ver: string, libraryName: string): void;
|
10532
10556
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
10533
10557
|
export declare function showDialog(dialogOptions: any): PopupBaseViewModel;
|
10534
|
-
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?:
|
10558
|
+
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: any): JSX.Element;
|
10535
10559
|
/*
|
10536
10560
|
* Global survey settings
|
10537
10561
|
*/
|