survey-react 1.9.45 → 1.9.48
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 +173 -135
- package/defaultV2.min.css +2 -2
- package/modern.css +20 -11
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +10 -3
- package/survey.min.css +2 -2
- package/survey.react.d.ts +280 -154
- package/survey.react.js +1573 -783
- 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.48
|
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
|
*/
|
@@ -92,6 +92,10 @@ export interface IExpresionExecutor {
|
|
92
92
|
*/
|
93
93
|
onComplete: (res: any) => void;
|
94
94
|
}
|
95
|
+
export interface IAttachKey2clickOptions {
|
96
|
+
processEsc?: boolean;
|
97
|
+
disableTabStop?: boolean;
|
98
|
+
}
|
95
99
|
export interface IListModel {
|
96
100
|
items: any;
|
97
101
|
onSelectionChanged: (item: Action, ...params: any) => void;
|
@@ -232,10 +236,6 @@ export interface IAction {
|
|
232
236
|
}
|
233
237
|
export interface IActionDropdownPopupOptions extends IListModel, IPopupOptionsBase {
|
234
238
|
}
|
235
|
-
export interface IAttachKey2clickOptions {
|
236
|
-
processEsc?: boolean;
|
237
|
-
disableTabStop?: boolean;
|
238
|
-
}
|
239
239
|
export interface IDimensions {
|
240
240
|
scroll: number;
|
241
241
|
offset: number;
|
@@ -399,8 +399,9 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
399
399
|
isValidateOnValueChanging: boolean;
|
400
400
|
isValidateOnValueChanged: boolean;
|
401
401
|
matrixCellValidate(question: IQuestion, options: any): SurveyError;
|
402
|
-
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel):
|
403
|
-
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel):
|
402
|
+
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
|
403
|
+
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
404
|
+
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
404
405
|
dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
|
405
406
|
dragAndDropAllow(options: any): boolean;
|
406
407
|
scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string): any;
|
@@ -609,7 +610,7 @@ export interface ICustomQuestionTypeConfiguration {
|
|
609
610
|
*/
|
610
611
|
onCreated(question: Question): void;
|
611
612
|
/*
|
612
|
-
* A function that is called when JSON
|
613
|
+
* A function that is called when JSON schemas are loaded.
|
613
614
|
*
|
614
615
|
* Parameters:
|
615
616
|
*
|
@@ -672,7 +673,7 @@ export interface ICustomQuestionTypeConfiguration {
|
|
672
673
|
*/
|
673
674
|
getDisplayValue?: any;
|
674
675
|
/*
|
675
|
-
* JSON
|
676
|
+
* JSON schemas of nested questions. Specify this property to create a [composite question type](https://surveyjs.io/Documentation/Survey-Creator?id=create-composite-question-types).
|
676
677
|
*/
|
677
678
|
elementsJSON?: any;
|
678
679
|
/*
|
@@ -680,7 +681,7 @@ export interface ICustomQuestionTypeConfiguration {
|
|
680
681
|
*/
|
681
682
|
createElements?: any;
|
682
683
|
/*
|
683
|
-
* A JSON
|
684
|
+
* A JSON schema for a built-in question type on which the custom question type is based.
|
684
685
|
*
|
685
686
|
* Refer to the [Create Specialized Question Types](https://surveyjs.io/Documentation/Survey-Creator?id=create-specialized-question-types) help topic for more information.
|
686
687
|
*/
|
@@ -792,28 +793,7 @@ export declare class Base {
|
|
792
793
|
protected addEvent<T>(): EventBase<T>;
|
793
794
|
protected onBaseCreating(): void;
|
794
795
|
/*
|
795
|
-
* Returns the
|
796
|
-
* Possible values:
|
797
|
-
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
798
|
-
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
799
|
-
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
800
|
-
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
801
|
-
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
802
|
-
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
803
|
-
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
804
|
-
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
805
|
-
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
806
|
-
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
807
|
-
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
808
|
-
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
809
|
-
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
810
|
-
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
811
|
-
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
812
|
-
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
813
|
-
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
814
|
-
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
815
|
-
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
816
|
-
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
796
|
+
* Returns the class type as it is used in the JSON schema.
|
817
797
|
*/
|
818
798
|
getType(): string;
|
819
799
|
/*
|
@@ -1038,6 +1018,7 @@ export declare class CustomPropertiesCollection {
|
|
1038
1018
|
static parentClasses: any;
|
1039
1019
|
static addProperty(className: string, property: any): void;
|
1040
1020
|
static removeProperty(className: string, propertyName: string): void;
|
1021
|
+
static removeAllProperties(className: string): void;
|
1041
1022
|
static addClass(className: string, parentClassName: string): void;
|
1042
1023
|
static getProperties(className: string): Array<any>;
|
1043
1024
|
static createProperties(obj: any): void;
|
@@ -1184,6 +1165,7 @@ export declare class JsonMetadata {
|
|
1184
1165
|
childrenClasses: any;
|
1185
1166
|
classProperties: any;
|
1186
1167
|
classHashProperties: any;
|
1168
|
+
onSerializingProperty: (obj: Base, prop: JsonObjectProperty, value: any, json: any) => boolean;
|
1187
1169
|
getObjPropertyValue(obj: any, name: string): any;
|
1188
1170
|
setObjPropertyValue(obj: any, name: string, val: any): void;
|
1189
1171
|
addClass(name: string, properties: any, creator?: (json?: any) => any, parentName?: string): JsonMetadataClass;
|
@@ -1219,8 +1201,10 @@ export declare class JsonMetadataClass {
|
|
1219
1201
|
static requiredSymbol: string;
|
1220
1202
|
static typeSymbol: string;
|
1221
1203
|
properties: any;
|
1204
|
+
isCustomValue: boolean;
|
1222
1205
|
find(name: string): JsonObjectProperty;
|
1223
|
-
|
1206
|
+
get isCustom(): boolean;
|
1207
|
+
createProperty(propInfo: any, isCustom?: boolean): JsonObjectProperty;
|
1224
1208
|
}
|
1225
1209
|
export declare class JsonObject {
|
1226
1210
|
static typePropertyName: string;
|
@@ -1355,6 +1339,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
1355
1339
|
question: Question;
|
1356
1340
|
isRemoveRow: boolean;
|
1357
1341
|
choiceIndex: number;
|
1342
|
+
isOtherChoice: boolean;
|
1358
1343
|
matrix: QuestionMatrixDropdownModelBase;
|
1359
1344
|
requiredText: string;
|
1360
1345
|
isEmpty: boolean;
|
@@ -1373,8 +1358,10 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
1373
1358
|
get item(): ItemValue;
|
1374
1359
|
set item(val: ItemValue);
|
1375
1360
|
get isChoice(): boolean;
|
1361
|
+
get isItemChoice(): boolean;
|
1376
1362
|
get choiceValue(): any;
|
1377
1363
|
get isCheckbox(): boolean;
|
1364
|
+
get isRadio(): boolean;
|
1378
1365
|
get isFirstChoice(): boolean;
|
1379
1366
|
get className(): string;
|
1380
1367
|
get headers(): string;
|
@@ -1651,10 +1638,12 @@ export declare class dxSurveyService {
|
|
1651
1638
|
getResult(resultId: string, name: string, onGetResult: (success: boolean, data: any, dataList: any, response: any) => void): void;
|
1652
1639
|
isCompleted(resultId: string, clientId: string, onIsCompleted: (success: boolean, result: string, response: any) => void): void;
|
1653
1640
|
}
|
1654
|
-
export declare class Action extends Base implements IAction {
|
1641
|
+
export declare class Action extends Base implements IAction, ILocalizableOwner {
|
1655
1642
|
constructor(innerItem: IAction);
|
1656
1643
|
innerItem: IAction;
|
1644
|
+
locTitleValue: any;
|
1657
1645
|
updateCallback: any;
|
1646
|
+
owner: any;
|
1658
1647
|
location: string;
|
1659
1648
|
id: string;
|
1660
1649
|
iconName: string;
|
@@ -1680,10 +1669,10 @@ export declare class Action extends Base implements IAction {
|
|
1680
1669
|
disableShrink: boolean;
|
1681
1670
|
disableHide: boolean;
|
1682
1671
|
needSpace: boolean;
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1672
|
+
title: string;
|
1673
|
+
get locTitle(): any;
|
1674
|
+
set locTitle(val: any);
|
1675
|
+
locTitleChanged: any;
|
1687
1676
|
cssClassesValue: any;
|
1688
1677
|
get cssClasses(): any;
|
1689
1678
|
get disabled(): boolean;
|
@@ -1693,6 +1682,11 @@ export declare class Action extends Base implements IAction {
|
|
1693
1682
|
getActionRootCss(): string;
|
1694
1683
|
getActionBarItemTitleCss(): string;
|
1695
1684
|
getActionBarItemCss(): string;
|
1685
|
+
getLocale(): string;
|
1686
|
+
getMarkdownHtml(text: string, name: string): string;
|
1687
|
+
getProcessedText(text: string): string;
|
1688
|
+
getRenderer(name: string): string;
|
1689
|
+
getRendererContext(locStr: any): any;
|
1696
1690
|
minDimension: number;
|
1697
1691
|
maxDimension: number;
|
1698
1692
|
}
|
@@ -1719,6 +1713,7 @@ export declare class ActionContainer<T extends Action = Action> extends Base imp
|
|
1719
1713
|
get renderedActions(): any;
|
1720
1714
|
get visibleActions(): any;
|
1721
1715
|
getRootCss(): string;
|
1716
|
+
protected getDefaultCssClasses(): any;
|
1722
1717
|
get cssClasses(): any;
|
1723
1718
|
addAction(val: IAction, sortByVisibleIndex?: boolean): Action;
|
1724
1719
|
setItems(items: any, sortByVisibleIndex?: boolean): void;
|
@@ -1868,7 +1863,7 @@ export declare class ChoicesRestful extends Base {
|
|
1868
1863
|
* url: "https://surveyjs.io/api/CountriesExample?region={region}"
|
1869
1864
|
* ```
|
1870
1865
|
*
|
1871
|
-
* [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull)
|
1866
|
+
* [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
|
1872
1867
|
*/
|
1873
1868
|
get url(): string;
|
1874
1869
|
set url(val: string);
|
@@ -1891,7 +1886,7 @@ export declare class ChoicesRestful extends Base {
|
|
1891
1886
|
/*
|
1892
1887
|
* Specifies which property in the obtained data object contains choice values.
|
1893
1888
|
*
|
1894
|
-
* [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull)
|
1889
|
+
* [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
|
1895
1890
|
*/
|
1896
1891
|
get valueName(): string;
|
1897
1892
|
set valueName(val: string);
|
@@ -1994,6 +1989,7 @@ export declare class DragDropCore<T> extends Base {
|
|
1994
1989
|
export declare class DropdownListModel extends Base {
|
1995
1990
|
constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any) => void);
|
1996
1991
|
_popupModel: any;
|
1992
|
+
focusFirstInputSelector: string;
|
1997
1993
|
protected listModel: ListModel;
|
1998
1994
|
protected popupCssClasses: string;
|
1999
1995
|
protected getAvailableItems(): Array<Action>;
|
@@ -2087,8 +2083,6 @@ export declare class ItemValue extends Base implements ILocalizableOwner, IShort
|
|
2087
2083
|
getProcessedText(text: string): string;
|
2088
2084
|
static get Separator(): string;
|
2089
2085
|
static set Separator(val: string);
|
2090
|
-
static createArray(locOwner: ILocalizableOwner): Array<ItemValue>;
|
2091
|
-
static setupArray(items: any, locOwner: ILocalizableOwner): void;
|
2092
2086
|
/*
|
2093
2087
|
* Resets the input array and fills it with values from the values array
|
2094
2088
|
*/
|
@@ -2260,6 +2254,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
|
|
2260
2254
|
renderElement(): JSX.Element;
|
2261
2255
|
renderItems(): any;
|
2262
2256
|
searchElementContent(): JSX.Element;
|
2257
|
+
emptyContent(): JSX.Element;
|
2263
2258
|
}
|
2264
2259
|
export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
|
2265
2260
|
constructor(props: any);
|
@@ -2743,6 +2738,7 @@ export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
2743
2738
|
export declare class PopupModel<T = any> extends Base {
|
2744
2739
|
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);
|
2745
2740
|
width: number;
|
2741
|
+
focusFirstInputSelector: string;
|
2746
2742
|
contentComponentName: string;
|
2747
2743
|
contentComponentData: T;
|
2748
2744
|
verticalPosition: any;
|
@@ -2758,9 +2754,75 @@ export declare class PopupModel<T = any> extends Base {
|
|
2758
2754
|
displayMode: "popup" | "overlay";
|
2759
2755
|
positionMode: any;
|
2760
2756
|
onVisibilityChanged: EventBase<PopupModel<any>>;
|
2757
|
+
onTargetModified: EventBase<Base>;
|
2761
2758
|
get isVisible(): boolean;
|
2762
2759
|
set isVisible(val: boolean);
|
2763
2760
|
toggleVisibility(): void;
|
2761
|
+
targetModified(): void;
|
2762
|
+
}
|
2763
|
+
/*
|
2764
|
+
* A Model for a survey running in the Popup Window.
|
2765
|
+
*/
|
2766
|
+
export declare class PopupSurveyModel extends Base {
|
2767
|
+
constructor(jsonObj: any, initialModel?: SurveyModel);
|
2768
|
+
static surveyElementName: string;
|
2769
|
+
surveyValue: SurveyModel;
|
2770
|
+
windowElement: any;
|
2771
|
+
templateValue: string;
|
2772
|
+
expandedChangedCallback: any;
|
2773
|
+
showingChangedCallback: any;
|
2774
|
+
protected onCreating(): void;
|
2775
|
+
getType(): string;
|
2776
|
+
/*
|
2777
|
+
* A survey object.
|
2778
|
+
*/
|
2779
|
+
get survey(): SurveyModel;
|
2780
|
+
/*
|
2781
|
+
* Set this value to negative value, for example -1, to avoid closing the popup window on completing the survey. Leave it equals to 0 (default value) to close the popup window immediately, or set it to 3, 5, 10, ... to close the popup window in 3, 5, 10 seconds.
|
2782
|
+
*/
|
2783
|
+
closeOnCompleteTimeout: number;
|
2784
|
+
/*
|
2785
|
+
* Returns true if the popup window is currently showing. Set it to true to show the popup window and false to hide it.
|
2786
|
+
*/
|
2787
|
+
get isShowing(): boolean;
|
2788
|
+
set isShowing(val: boolean);
|
2789
|
+
/*
|
2790
|
+
* Show the popup window
|
2791
|
+
*/
|
2792
|
+
show(): void;
|
2793
|
+
/*
|
2794
|
+
* Hide the popup window
|
2795
|
+
*/
|
2796
|
+
hide(): void;
|
2797
|
+
/*
|
2798
|
+
* Returns true if the popup window is expanded. Set it to true to expand the popup window or false to collapse it.
|
2799
|
+
*/
|
2800
|
+
get isExpanded(): boolean;
|
2801
|
+
set isExpanded(val: boolean);
|
2802
|
+
protected onExpandedChanged(): void;
|
2803
|
+
/*
|
2804
|
+
* The popup window and survey title.
|
2805
|
+
*/
|
2806
|
+
get title(): string;
|
2807
|
+
set title(val: string);
|
2808
|
+
get locTitle(): LocalizableString;
|
2809
|
+
/*
|
2810
|
+
* Expand the popup window to show the survey.
|
2811
|
+
*/
|
2812
|
+
expand(): void;
|
2813
|
+
/*
|
2814
|
+
* Collapse the popup window and show survey title only.
|
2815
|
+
*/
|
2816
|
+
collapse(): void;
|
2817
|
+
changeExpandCollapse(): void;
|
2818
|
+
get css(): any;
|
2819
|
+
get cssButton(): string;
|
2820
|
+
get cssRoot(): string;
|
2821
|
+
get cssBody(): string;
|
2822
|
+
get cssHeaderRoot(): string;
|
2823
|
+
get cssHeaderTitle(): string;
|
2824
|
+
protected createSurvey(jsonObj: any): SurveyModel;
|
2825
|
+
protected onSurveyComplete(): void;
|
2764
2826
|
}
|
2765
2827
|
export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
2766
2828
|
constructor(cssClasses: any, isDetailRow?: boolean);
|
@@ -2772,7 +2834,6 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
2772
2834
|
static counter: number;
|
2773
2835
|
idValue: number;
|
2774
2836
|
cells: any;
|
2775
|
-
onCreating(): void;
|
2776
2837
|
get id(): number;
|
2777
2838
|
get attributes(): { "data-sv-drop-target-matrix-row"?: undefined; } | { "data-sv-drop-target-matrix-row": string; };
|
2778
2839
|
get className(): string;
|
@@ -2803,6 +2864,7 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
2803
2864
|
onRemovedRow(row: MatrixDropdownRowModelBase): void;
|
2804
2865
|
onDetailPanelChangeVisibility(row: MatrixDropdownRowModelBase, isShowing: boolean): void;
|
2805
2866
|
protected buildRowsActions(): void;
|
2867
|
+
protected createRenderedRow(cssClasses: any, isDetailRow?: boolean): QuestionMatrixDropdownRenderedRow;
|
2806
2868
|
protected buildHeader(): void;
|
2807
2869
|
protected buildFooter(): void;
|
2808
2870
|
protected buildRows(): void;
|
@@ -2876,6 +2938,7 @@ export declare class QuestionTextProcessor implements ITextProcessor {
|
|
2876
2938
|
protected getQuestionByName(name: string): Question;
|
2877
2939
|
protected getParentTextProcessor(): ITextProcessor;
|
2878
2940
|
protected onCustomProcessText(textValue: TextPreProcessorValue): boolean;
|
2941
|
+
protected getQuestionDisplayText(question: Question): string;
|
2879
2942
|
processText(text: string, returnDisplayValue: boolean): string;
|
2880
2943
|
processTextEx(text: string, returnDisplayValue: boolean): any;
|
2881
2944
|
}
|
@@ -3011,6 +3074,8 @@ export declare class SurveyElementCore extends Base implements ILocalizableOwner
|
|
3011
3074
|
get ariaTitleId(): string;
|
3012
3075
|
get titleTabIndex(): number;
|
3013
3076
|
get titleAriaExpanded(): boolean;
|
3077
|
+
get ariaLabel(): string;
|
3078
|
+
get titleAriaLabel(): string;
|
3014
3079
|
getLocale(): string;
|
3015
3080
|
getMarkdownHtml(text: string, name: string): string;
|
3016
3081
|
getRenderer(name: string): string;
|
@@ -3148,70 +3213,6 @@ export declare class SurveyValidator extends Base {
|
|
3148
3213
|
toString(): string;
|
3149
3214
|
}
|
3150
3215
|
/*
|
3151
|
-
* A Model for a survey running in the Window.
|
3152
|
-
*/
|
3153
|
-
export declare class SurveyWindowModel extends Base {
|
3154
|
-
constructor(jsonObj: any, initialModel?: SurveyModel);
|
3155
|
-
static surveyElementName: string;
|
3156
|
-
surveyValue: SurveyModel;
|
3157
|
-
windowElement: any;
|
3158
|
-
templateValue: string;
|
3159
|
-
expandedChangedCallback: any;
|
3160
|
-
showingChangedCallback: any;
|
3161
|
-
protected onCreating(): void;
|
3162
|
-
getType(): string;
|
3163
|
-
/*
|
3164
|
-
* A survey object.
|
3165
|
-
*/
|
3166
|
-
get survey(): SurveyModel;
|
3167
|
-
/*
|
3168
|
-
* Set this value to negative value, for example -1, to avoid closing the window on completing the survey. Leave it equals to 0 (default value) to close the window immediately, or set it to 3, 5, 10, ... to close the window in 3, 5, 10 seconds.
|
3169
|
-
*/
|
3170
|
-
closeOnCompleteTimeout: number;
|
3171
|
-
/*
|
3172
|
-
* Returns true if the window is currently showing. Set it to true to show the window and false to hide it.
|
3173
|
-
*/
|
3174
|
-
get isShowing(): boolean;
|
3175
|
-
set isShowing(val: boolean);
|
3176
|
-
/*
|
3177
|
-
* Show the window
|
3178
|
-
*/
|
3179
|
-
show(): void;
|
3180
|
-
/*
|
3181
|
-
* Hide the window
|
3182
|
-
*/
|
3183
|
-
hide(): void;
|
3184
|
-
/*
|
3185
|
-
* Returns true if the window is expanded. Set it to true to expand the window or false to collapse it.
|
3186
|
-
*/
|
3187
|
-
get isExpanded(): boolean;
|
3188
|
-
set isExpanded(val: boolean);
|
3189
|
-
protected onExpandedChanged(): void;
|
3190
|
-
/*
|
3191
|
-
* The window and survey title.
|
3192
|
-
*/
|
3193
|
-
get title(): string;
|
3194
|
-
set title(val: string);
|
3195
|
-
get locTitle(): LocalizableString;
|
3196
|
-
/*
|
3197
|
-
* Expand the window to show the survey.
|
3198
|
-
*/
|
3199
|
-
expand(): void;
|
3200
|
-
/*
|
3201
|
-
* Collapse the window and show survey title only.
|
3202
|
-
*/
|
3203
|
-
collapse(): void;
|
3204
|
-
changeExpandCollapse(): void;
|
3205
|
-
get css(): any;
|
3206
|
-
get cssButton(): string;
|
3207
|
-
get cssRoot(): string;
|
3208
|
-
get cssBody(): string;
|
3209
|
-
get cssHeaderRoot(): string;
|
3210
|
-
get cssHeaderTitle(): string;
|
3211
|
-
protected createSurvey(jsonObj: any): SurveyModel;
|
3212
|
-
protected onSurveyComplete(): void;
|
3213
|
-
}
|
3214
|
-
/*
|
3215
3216
|
* A base class for all triggers.
|
3216
3217
|
* A trigger calls a method when the expression change the result: from false to true or from true to false.
|
3217
3218
|
* Please note, it runs only one changing the expression result.
|
@@ -3285,7 +3286,8 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
|
|
3285
3286
|
minVisibleItemsCount: number;
|
3286
3287
|
isResponsivenessDisabled: boolean;
|
3287
3288
|
static ContainerID: number;
|
3288
|
-
get
|
3289
|
+
get hiddenItemsListModel(): ListModel;
|
3290
|
+
protected hiddenItemSelected(item: T): void;
|
3289
3291
|
protected onSet(): void;
|
3290
3292
|
protected onPush(item: T): void;
|
3291
3293
|
protected getRenderedActions(): Array<T>;
|
@@ -3489,6 +3491,7 @@ export declare class ListModel extends ActionContainer {
|
|
3489
3491
|
allowSelection: boolean;
|
3490
3492
|
searchEnabled: boolean;
|
3491
3493
|
needFilter: boolean;
|
3494
|
+
isEmpty: boolean;
|
3492
3495
|
isExpanded: boolean;
|
3493
3496
|
selectedItem: IAction;
|
3494
3497
|
filteredText: string;
|
@@ -3496,6 +3499,7 @@ export declare class ListModel extends ActionContainer {
|
|
3496
3499
|
static MINELEMENTCOUNT: number;
|
3497
3500
|
isItemVisible(item: Action): boolean;
|
3498
3501
|
protected onSet(): void;
|
3502
|
+
protected getDefaultCssClasses(): any;
|
3499
3503
|
protected updateItemActiveState(): void;
|
3500
3504
|
onItemClick: (itemValue: Action) => void;
|
3501
3505
|
isItemDisabled: (itemValue: Action) => boolean;
|
@@ -3503,6 +3507,7 @@ export declare class ListModel extends ActionContainer {
|
|
3503
3507
|
getItemClass: (itemValue: Action) => string;
|
3504
3508
|
getItemIndent: (itemValue: any) => string;
|
3505
3509
|
get filteredTextPlaceholder(): string;
|
3510
|
+
get emptyMessage(): string;
|
3506
3511
|
goToItems(event: any): void;
|
3507
3512
|
onKeyDown(event: any): void;
|
3508
3513
|
onPointerDown(event: any, item: any): void;
|
@@ -3557,6 +3562,17 @@ export declare class NumericValidator extends SurveyValidator {
|
|
3557
3562
|
get maxValue(): number;
|
3558
3563
|
set maxValue(val: number);
|
3559
3564
|
}
|
3565
|
+
export declare class PopupSurvey extends Survey {
|
3566
|
+
constructor(props: any);
|
3567
|
+
protected popup: any;
|
3568
|
+
protected getStateElements(): Array<Base>;
|
3569
|
+
handleOnExpanded(event: any): void;
|
3570
|
+
protected canRender(): boolean;
|
3571
|
+
protected renderElement(): JSX.Element;
|
3572
|
+
protected renderWindowHeader(): JSX.Element;
|
3573
|
+
protected renderBody(): JSX.Element;
|
3574
|
+
protected createSurvey(newProps: any): void;
|
3575
|
+
}
|
3560
3576
|
export declare class QuestionCompositeTextProcessor extends QuestionTextProcessor {
|
3561
3577
|
constructor(composite: QuestionCompositeModel, variableName: string);
|
3562
3578
|
protected get survey(): ISurvey;
|
@@ -3569,10 +3585,12 @@ export declare class QuestionMatrixDynamicRenderedTable extends QuestionMatrixDr
|
|
3569
3585
|
}
|
3570
3586
|
export declare class QuestionPanelDynamicItemTextProcessor extends QuestionTextProcessor {
|
3571
3587
|
constructor(data: IQuestionPanelDynamicData, panelItem: QuestionPanelDynamicItem, variableName: string);
|
3588
|
+
sharedQuestions: any;
|
3572
3589
|
protected get survey(): ISurvey;
|
3573
3590
|
protected get panel(): PanelModel;
|
3574
3591
|
protected getValues(): any;
|
3575
3592
|
protected getQuestionByName(name: string): Question;
|
3593
|
+
protected getQuestionDisplayText(question: Question): string;
|
3576
3594
|
protected onCustomProcessText(textValue: TextPreProcessorValue): boolean;
|
3577
3595
|
}
|
3578
3596
|
/*
|
@@ -3772,7 +3790,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3772
3790
|
isSingleInRow: boolean;
|
3773
3791
|
protected get hasFrameV2(): boolean;
|
3774
3792
|
/*
|
3775
|
-
*
|
3793
|
+
* A survey element width in CSS values.
|
3776
3794
|
*/
|
3777
3795
|
get width(): string;
|
3778
3796
|
set width(val: string);
|
@@ -4396,6 +4414,18 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4396
4414
|
*/
|
4397
4415
|
onDynamicPanelRemoved: EventBase<SurveyModel>;
|
4398
4416
|
/*
|
4417
|
+
* An event that is raised before a panel is removed from a Dynamic Panel question. Use this event to cancel the removal.
|
4418
|
+
*
|
4419
|
+
* Parameters:
|
4420
|
+
*
|
4421
|
+
* - `sender` - A Survey instance that raised the event.
|
4422
|
+
* - `options.question` - A [Panel Dynamic](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel) question instance.
|
4423
|
+
* - `options.panelIndex` - The index of the removed panel.
|
4424
|
+
* - `options.panel` - The [instance of the removed panel](https://surveyjs.io/Documentation/Library?id=panelmodel).
|
4425
|
+
* - `options.allow` - A Boolean property that you should set to `false` if you want to cancel the panel removal.
|
4426
|
+
*/
|
4427
|
+
onDynamicPanelRemoving: EventBase<SurveyModel>;
|
4428
|
+
/*
|
4399
4429
|
* The event is fired every second if the method `startTimer` has been called.
|
4400
4430
|
*/
|
4401
4431
|
onTimer: EventBase<SurveyModel>;
|
@@ -5366,6 +5396,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5366
5396
|
matrixCellValidate(question: IQuestion, options: any): SurveyError;
|
5367
5397
|
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
|
5368
5398
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
5399
|
+
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
5369
5400
|
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
5370
5401
|
dragAndDropAllow(options: any): boolean;
|
5371
5402
|
elementContentVisibilityChanged(element: ISurveyElement): void;
|
@@ -5618,6 +5649,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5618
5649
|
set widthMode(val: string);
|
5619
5650
|
calculatedWidthMode: string;
|
5620
5651
|
calculateWidthMode(): string;
|
5652
|
+
/*
|
5653
|
+
* A survey width in CSS values.
|
5654
|
+
*
|
5655
|
+
* Default value: `undefined` (the survey inherits the width from its container)
|
5656
|
+
*/
|
5657
|
+
get width(): string;
|
5658
|
+
set width(val: string);
|
5621
5659
|
get timerInfoText(): string;
|
5622
5660
|
get timerModel(): SurveyTimerModel;
|
5623
5661
|
/*
|
@@ -6027,16 +6065,11 @@ export declare class SurveyTrigger extends Trigger {
|
|
6027
6065
|
protected isRealExecution(): boolean;
|
6028
6066
|
protected onSuccessExecuted(): void;
|
6029
6067
|
}
|
6030
|
-
|
6031
|
-
|
6032
|
-
|
6033
|
-
|
6034
|
-
|
6035
|
-
protected canRender(): boolean;
|
6036
|
-
protected renderElement(): JSX.Element;
|
6037
|
-
protected renderWindowHeader(): JSX.Element;
|
6038
|
-
protected renderBody(): JSX.Element;
|
6039
|
-
protected createSurvey(newProps: any): void;
|
6068
|
+
/*
|
6069
|
+
* Obsolete. Please use PopupSurvey
|
6070
|
+
*/
|
6071
|
+
export declare class SurveyWindowModel extends PopupSurveyModel {
|
6072
|
+
constructor(jsonObj: any, initialModel?: SurveyModel);
|
6040
6073
|
}
|
6041
6074
|
/*
|
6042
6075
|
* Validate text values.
|
@@ -6127,28 +6160,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
6127
6160
|
removeElementCallback: (element: IElement) => void;
|
6128
6161
|
onGetQuestionTitleLocation: any;
|
6129
6162
|
/*
|
6130
|
-
* Returns the
|
6131
|
-
* Possible values:
|
6132
|
-
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
6133
|
-
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
6134
|
-
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
6135
|
-
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
6136
|
-
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
6137
|
-
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
6138
|
-
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
6139
|
-
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
6140
|
-
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
6141
|
-
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
6142
|
-
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
6143
|
-
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
6144
|
-
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
6145
|
-
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
6146
|
-
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
6147
|
-
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
6148
|
-
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
6149
|
-
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
6150
|
-
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
6151
|
-
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
6163
|
+
* Returns the class type as it is used in the JSON schema.
|
6152
6164
|
*/
|
6153
6165
|
getType(): string;
|
6154
6166
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
@@ -6456,7 +6468,6 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6456
6468
|
* A11Y properties
|
6457
6469
|
*/
|
6458
6470
|
get ariaRequired(): "true" | "false";
|
6459
|
-
get ariaLabel(): string;
|
6460
6471
|
get ariaInvalid(): "true" | "false";
|
6461
6472
|
get ariaDescribedBy(): string;
|
6462
6473
|
/*
|
@@ -6510,7 +6521,28 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6510
6521
|
*/
|
6511
6522
|
get isAllowTitleLeft(): boolean;
|
6512
6523
|
/*
|
6513
|
-
* Returns the type
|
6524
|
+
* Returns the question type.
|
6525
|
+
* Possible values:
|
6526
|
+
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
6527
|
+
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
6528
|
+
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
6529
|
+
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
6530
|
+
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
6531
|
+
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
6532
|
+
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
6533
|
+
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
6534
|
+
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
6535
|
+
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
6536
|
+
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
6537
|
+
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
6538
|
+
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
6539
|
+
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
6540
|
+
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
6541
|
+
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
6542
|
+
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
6543
|
+
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
6544
|
+
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
6545
|
+
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
6514
6546
|
*/
|
6515
6547
|
getType(): string;
|
6516
6548
|
get isQuestion(): boolean;
|
@@ -7139,6 +7171,12 @@ export declare class SurveyTriggerVisible extends SurveyTrigger {
|
|
7139
7171
|
protected onItemFailure(item: any): void;
|
7140
7172
|
}
|
7141
7173
|
/*
|
7174
|
+
* Obsolete. Please use PopupSurvey
|
7175
|
+
*/
|
7176
|
+
export declare class SurveyWindow extends PopupSurvey {
|
7177
|
+
constructor(props: any);
|
7178
|
+
}
|
7179
|
+
/*
|
7142
7180
|
* The page object. It has elements collection, that contains questions and panels.
|
7143
7181
|
*/
|
7144
7182
|
export declare class PageModel extends PanelModelBase implements IPage {
|
@@ -8281,7 +8319,10 @@ export declare class QuestionSelectBase extends Question {
|
|
8281
8319
|
protected getHasOther(val: any): boolean;
|
8282
8320
|
get validatedValue(): any;
|
8283
8321
|
protected createRestful(): ChoicesRestful;
|
8322
|
+
get autoOtherMode(): boolean;
|
8323
|
+
set autoOtherMode(val: boolean);
|
8284
8324
|
protected getQuestionComment(): string;
|
8325
|
+
protected selectOtherValueFromComment(val: boolean): void;
|
8285
8326
|
isSettingComment: boolean;
|
8286
8327
|
protected setQuestionComment(newValue: string): void;
|
8287
8328
|
clearValue(): void;
|
@@ -8775,8 +8816,14 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
8775
8816
|
* Specifies whether to display a search bar in the drop-down menu.
|
8776
8817
|
*/
|
8777
8818
|
searchEnabled: boolean;
|
8819
|
+
/*
|
8820
|
+
* The clean files button caption.
|
8821
|
+
*/
|
8822
|
+
get cleanButtonCaption(): string;
|
8823
|
+
set cleanButtonCaption(val: string);
|
8824
|
+
get locCleanButtonCaption(): LocalizableString;
|
8778
8825
|
getControlClass(): string;
|
8779
|
-
get readOnlyText():
|
8826
|
+
get readOnlyText(): string;
|
8780
8827
|
get popupModel(): any;
|
8781
8828
|
onOpened: EventBase<QuestionDropdownModel>;
|
8782
8829
|
onOpenedCallBack(): void;
|
@@ -8873,7 +8920,28 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8873
8920
|
onRemoveColumn: (column: MatrixDropdownColumn) => void;
|
8874
8921
|
protected createColumnValues(): any;
|
8875
8922
|
/*
|
8876
|
-
* Returns the type
|
8923
|
+
* Returns the question type.
|
8924
|
+
* Possible values:
|
8925
|
+
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
8926
|
+
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
8927
|
+
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
8928
|
+
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
8929
|
+
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
8930
|
+
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
8931
|
+
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
8932
|
+
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
8933
|
+
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
8934
|
+
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
8935
|
+
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
8936
|
+
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
8937
|
+
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
8938
|
+
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
8939
|
+
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
8940
|
+
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
8941
|
+
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
8942
|
+
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
8943
|
+
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
8944
|
+
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
8877
8945
|
*/
|
8878
8946
|
getType(): string;
|
8879
8947
|
dispose(): void;
|
@@ -8945,7 +9013,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8945
9013
|
get columnColCount(): number;
|
8946
9014
|
set columnColCount(val: number);
|
8947
9015
|
/*
|
8948
|
-
*
|
9016
|
+
* Minimum column width in CSS values.
|
8949
9017
|
*/
|
8950
9018
|
get columnMinWidth(): string;
|
8951
9019
|
set columnMinWidth(val: string);
|
@@ -9288,6 +9356,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
9288
9356
|
*/
|
9289
9357
|
get valuePropertyName(): string;
|
9290
9358
|
set valuePropertyName(val: string);
|
9359
|
+
getQuestionFromArray(name: string, index: number): IQuestion;
|
9291
9360
|
/*
|
9292
9361
|
* Returns the select all item. By using this property, you may change programmatically it's value and text.
|
9293
9362
|
*/
|
@@ -9362,6 +9431,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
9362
9431
|
protected convertValueToObject(val: any): any;
|
9363
9432
|
protected renderedValueFromDataCore(val: any): any;
|
9364
9433
|
protected rendredValueToDataCore(val: any): any;
|
9434
|
+
protected selectOtherValueFromComment(val: boolean): void;
|
9365
9435
|
get checkBoxSvgPath(): string;
|
9366
9436
|
}
|
9367
9437
|
/*
|
@@ -9468,6 +9538,7 @@ export declare class QuestionMatrixDropdownModel extends QuestionMatrixDropdownM
|
|
9468
9538
|
protected getConditionObjectRowName(index: number): string;
|
9469
9539
|
protected getConditionObjectRowText(index: number): string;
|
9470
9540
|
protected getConditionObjectsRowIndeces(): Array<any>;
|
9541
|
+
protected setNewValue(newValue: any): void;
|
9471
9542
|
clearIncorrectValues(): void;
|
9472
9543
|
protected clearValueIfInvisibleCore(): void;
|
9473
9544
|
protected generateRows(): Array<MatrixDropdownRowModel>;
|
@@ -9646,6 +9717,7 @@ export declare class QuestionRadiogroupModel extends QuestionCheckboxBase {
|
|
9646
9717
|
constructor(name: string);
|
9647
9718
|
getType(): string;
|
9648
9719
|
get ariaRole(): string;
|
9720
|
+
get titleAriaLabel(): string;
|
9649
9721
|
protected getFirstInputElementId(): string;
|
9650
9722
|
/*
|
9651
9723
|
* Return the selected item in the radio group. Returns null if the value is empty
|
@@ -9725,6 +9797,12 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
9725
9797
|
searchEnabled: boolean;
|
9726
9798
|
hideSelectedItems: boolean;
|
9727
9799
|
/*
|
9800
|
+
* The clean files button caption.
|
9801
|
+
*/
|
9802
|
+
get cleanButtonCaption(): string;
|
9803
|
+
set cleanButtonCaption(val: string);
|
9804
|
+
get locCleanButtonCaption(): LocalizableString;
|
9805
|
+
/*
|
9728
9806
|
* A text displayed in the input field when it doesn't have a value.
|
9729
9807
|
*/
|
9730
9808
|
get placeholder(): string;
|
@@ -9739,17 +9817,18 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
9739
9817
|
}
|
9740
9818
|
export declare function property(options?: any): (target: any, key: string) => void;
|
9741
9819
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
9742
|
-
export declare function createDialogOptions(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): IDialogOptions;
|
9743
|
-
export declare function createPopupModalViewModel(options: IDialogOptions): PopupBaseViewModel;
|
9744
|
-
export declare function createDropdownActionModel(actionOptions: IAction, dropdownOptions: IActionDropdownPopupOptions, locOwner?: any): Action;
|
9745
|
-
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: any): Action;
|
9746
9820
|
export declare function unwrap<T>(value: any): T;
|
9747
9821
|
export declare function getSize(value: any): any;
|
9748
9822
|
export declare function doKey2ClickBlur(evt: any): void;
|
9749
9823
|
export declare function doKey2ClickUp(evt: any, options?: IAttachKey2clickOptions): void;
|
9750
9824
|
export declare function doKey2ClickDown(evt: any, options?: IAttachKey2clickOptions): void;
|
9751
9825
|
export declare function sanitizeEditableContent(element: any): void;
|
9826
|
+
export declare function createDialogOptions(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): IDialogOptions;
|
9827
|
+
export declare function createPopupModalViewModel(options: IDialogOptions): PopupBaseViewModel;
|
9828
|
+
export declare function createDropdownActionModel(actionOptions: IAction, dropdownOptions: IActionDropdownPopupOptions, locOwner?: any): Action;
|
9829
|
+
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: any): Action;
|
9752
9830
|
export declare function getCurrecyCodes(): Array<any>;
|
9831
|
+
export declare function checkLibraryVersion(ver: string, libraryName: string): void;
|
9753
9832
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
9754
9833
|
export declare function showDialog(dialogOptions: any): void;
|
9755
9834
|
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
|
@@ -9772,8 +9851,8 @@ export declare var settings: {
|
|
9772
9851
|
*/
|
9773
9852
|
useLocalTimeZone: boolean,
|
9774
9853
|
/*
|
9775
|
-
* The prefix that uses to store the question comment, as
|
9776
|
-
* The default
|
9854
|
+
* The prefix that uses to store the question comment, as "questionName + commentPrefix".
|
9855
|
+
* The default value is "-Comment"
|
9777
9856
|
*/
|
9778
9857
|
commentPrefix: string,
|
9779
9858
|
/*
|
@@ -9889,7 +9968,7 @@ export declare var settings: {
|
|
9889
9968
|
*/
|
9890
9969
|
minWidth: string,
|
9891
9970
|
/*
|
9892
|
-
* Set this property to change the default value of the
|
9971
|
+
* Set this property to change the default value of the maxWidth constraint
|
9893
9972
|
*/
|
9894
9973
|
maxWidth: string,
|
9895
9974
|
/*
|
@@ -9979,6 +10058,7 @@ export declare var Serializer: JsonMetadata;
|
|
9979
10058
|
export declare var surveyBuiltInVarible: string;
|
9980
10059
|
export declare var registerFunction: (name: string, func: any) => any;
|
9981
10060
|
export declare var parse: any;
|
10061
|
+
export declare var keyFocusedClassName: any;
|
9982
10062
|
export declare var defaultActionBarCss: {
|
9983
10063
|
root: string,
|
9984
10064
|
defaultSizeMode: string,
|
@@ -9990,8 +10070,21 @@ export declare var defaultActionBarCss: {
|
|
9990
10070
|
itemTitle: string,
|
9991
10071
|
itemTitleWithIcon: string,
|
9992
10072
|
};
|
10073
|
+
export declare var defaultListCss: {
|
10074
|
+
root: string,
|
10075
|
+
item: string,
|
10076
|
+
itemSelected: string,
|
10077
|
+
itemWithIcon: string,
|
10078
|
+
itemDisabled: string,
|
10079
|
+
itemIcon: string,
|
10080
|
+
itemsContainer: string,
|
10081
|
+
filter: string,
|
10082
|
+
filterIcon: string,
|
10083
|
+
filterInput: string,
|
10084
|
+
emptyContainer: string,
|
10085
|
+
emptyText: string,
|
10086
|
+
};
|
9993
10087
|
export declare var FOCUS_INPUT_SELECTOR: any;
|
9994
|
-
export declare var keyFocusedClassName: any;
|
9995
10088
|
export declare var surveyCss: {
|
9996
10089
|
currentType: string,
|
9997
10090
|
getCss: any,
|
@@ -10524,8 +10617,21 @@ export declare var defaultBootstrapCss: {
|
|
10524
10617
|
comment: string,
|
10525
10618
|
dropdown: {
|
10526
10619
|
root: string,
|
10620
|
+
selectWrapper: string,
|
10527
10621
|
control: string,
|
10528
10622
|
other: string,
|
10623
|
+
cleanButton: string,
|
10624
|
+
cleanButtonSvg: string,
|
10625
|
+
cleanButtonIconId: string,
|
10626
|
+
},
|
10627
|
+
tagbox: {
|
10628
|
+
root: string,
|
10629
|
+
selectWrapper: string,
|
10630
|
+
control: string,
|
10631
|
+
other: string,
|
10632
|
+
cleanButton: string,
|
10633
|
+
cleanButtonSvg: string,
|
10634
|
+
cleanButtonIconId: string,
|
10529
10635
|
},
|
10530
10636
|
html: {
|
10531
10637
|
root: string,
|
@@ -10845,8 +10951,21 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10845
10951
|
comment: string,
|
10846
10952
|
dropdown: {
|
10847
10953
|
root: string,
|
10954
|
+
selectWrapper: string,
|
10848
10955
|
control: string,
|
10849
10956
|
other: string,
|
10957
|
+
cleanButton: string,
|
10958
|
+
cleanButtonSvg: string,
|
10959
|
+
cleanButtonIconId: string,
|
10960
|
+
},
|
10961
|
+
tagbox: {
|
10962
|
+
root: string,
|
10963
|
+
selectWrapper: string,
|
10964
|
+
control: string,
|
10965
|
+
other: string,
|
10966
|
+
cleanButton: string,
|
10967
|
+
cleanButtonSvg: string,
|
10968
|
+
cleanButtonIconId: string,
|
10850
10969
|
},
|
10851
10970
|
html: {
|
10852
10971
|
root: string,
|
@@ -11519,9 +11638,16 @@ export declare var defaultV2Css: {
|
|
11519
11638
|
itemDisabled: string,
|
11520
11639
|
itemControl: string,
|
11521
11640
|
},
|
11641
|
+
list: {
|
11642
|
+
root: string,
|
11643
|
+
item: string,
|
11644
|
+
itemSelected: string,
|
11645
|
+
},
|
11522
11646
|
actionBar: {
|
11523
11647
|
root: string,
|
11524
11648
|
item: string,
|
11649
|
+
defaultSizeMode: string,
|
11650
|
+
smallSizeMode: string,
|
11525
11651
|
itemPressed: string,
|
11526
11652
|
itemAsIcon: string,
|
11527
11653
|
itemIcon: string,
|