survey-react 1.9.21 → 1.9.24
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 +48 -15
- package/defaultV2.min.css +2 -2
- package/modern.css +21 -22
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +20 -2
- package/survey.min.css +2 -2
- package/survey.react.d.ts +139 -78
- package/survey.react.js +1372 -481
- 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.24
|
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
|
*/
|
@@ -91,124 +91,99 @@ export interface IExpresionExecutor {
|
|
91
91
|
* This call back runs on executing expression if there is at least one async function
|
92
92
|
*/
|
93
93
|
onComplete: any;
|
94
|
-
/*
|
95
|
-
* The expression as string, property with get/set
|
96
|
-
*/
|
97
|
-
expression: string;
|
98
|
-
/*
|
99
|
-
* Returns true if the expression is valid and can be executed
|
100
|
-
*/
|
101
|
-
canRun(): boolean;
|
102
|
-
/*
|
103
|
-
* Run the expression. Returns the result of execution.
|
104
|
-
* The result can be undefined if there is an asyn function. In this case result will be returned onComplete callback.
|
105
|
-
*/
|
106
|
-
run(values: any, properties: any): any;
|
107
|
-
/*
|
108
|
-
* Returns the list of variables that used in the expression. They defined as: {variableName} in default parser.
|
109
|
-
*/
|
110
|
-
getVariables(): Array<any>;
|
111
|
-
/*
|
112
|
-
* Returns true if there is a function in the expression
|
113
|
-
*/
|
114
|
-
hasFunction(): boolean;
|
115
|
-
/*
|
116
|
-
* Returns true if there is an async function in the expression
|
117
|
-
*/
|
118
|
-
isAsync: boolean;
|
119
94
|
}
|
120
95
|
/*
|
121
|
-
*
|
96
|
+
* An action item.
|
97
|
+
* Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
|
122
98
|
*/
|
123
99
|
export interface IAction {
|
124
100
|
/*
|
125
|
-
*
|
101
|
+
* A unique action item identifier.
|
126
102
|
*/
|
127
103
|
id: string;
|
128
104
|
/*
|
129
|
-
*
|
105
|
+
* Specifies the action item's visibility.
|
130
106
|
*/
|
131
107
|
visible?: boolean;
|
132
108
|
/*
|
133
|
-
*
|
109
|
+
* The action item's title.
|
134
110
|
*/
|
135
111
|
title?: string;
|
136
112
|
/*
|
137
|
-
*
|
113
|
+
* The action item's tooltip.
|
138
114
|
*/
|
139
115
|
tooltip?: string;
|
140
116
|
/*
|
141
|
-
*
|
117
|
+
* Specifies whether users can interact with the action item.
|
142
118
|
*/
|
143
119
|
enabled?: boolean;
|
144
120
|
/*
|
145
|
-
*
|
121
|
+
* Specifies the visibility of the action item's title.
|
146
122
|
*/
|
147
123
|
showTitle?: boolean;
|
148
124
|
/*
|
149
|
-
* A
|
125
|
+
* A function that is executed when users click the action item.
|
150
126
|
*/
|
151
127
|
action?: any;
|
152
128
|
/*
|
153
|
-
*
|
129
|
+
* One or several CSS classes that you want to apply to the outer `<div>` element.
|
130
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `css` property applies classes to the `<div>`.
|
131
|
+
* To apply several classes, separate them with a space character: "myclass1 myclass2".
|
154
132
|
*/
|
155
133
|
css?: string;
|
156
134
|
/*
|
157
|
-
*
|
135
|
+
* One or several CSS classes that you want to apply to the inner `<input>` element.
|
136
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `innerCss` property applies classes to the `<input>`.
|
137
|
+
* To apply several classes, separate them with a space character: "myclass1 myclass2".
|
158
138
|
*/
|
159
139
|
innerCss?: string;
|
160
140
|
/*
|
161
|
-
*
|
141
|
+
* The action item's data object. Use it to pass required data to a custom template or component.
|
162
142
|
*/
|
163
143
|
data?: any;
|
164
144
|
popupModel?: any;
|
165
145
|
needSeparator?: boolean;
|
166
146
|
/*
|
167
|
-
*
|
147
|
+
* Specifies whether the action item is active.
|
148
|
+
* Use it as a flag to specify different action item appearances in different states.
|
168
149
|
*/
|
169
150
|
active?: boolean;
|
170
151
|
pressed?: boolean;
|
171
152
|
/*
|
172
|
-
*
|
153
|
+
* Specifies the name of a template used to render the action item.
|
173
154
|
*/
|
174
155
|
template?: string;
|
175
156
|
/*
|
176
|
-
*
|
157
|
+
* Specifies the name of a component used to render the action item.
|
177
158
|
*/
|
178
159
|
component?: string;
|
179
160
|
/*
|
180
|
-
*
|
161
|
+
* The action item's icon name.
|
181
162
|
*/
|
182
163
|
iconName?: string;
|
183
164
|
/*
|
184
|
-
*
|
165
|
+
* The action item's icon size in pixels.
|
185
166
|
*/
|
186
167
|
iconSize?: number;
|
187
168
|
/*
|
188
|
-
*
|
189
|
-
*/
|
190
|
-
items?: any;
|
191
|
-
/*
|
192
|
-
* Gets or sets an action's location in a matrix question's row.
|
169
|
+
* The action item's location in a matrix question's row.
|
193
170
|
*
|
194
|
-
* The following
|
171
|
+
* The following values are available:
|
195
172
|
*
|
196
|
-
* - `start` -
|
197
|
-
* - `end` -
|
173
|
+
* - `"start"` - The action item is located at the beginning of the row.
|
174
|
+
* - `"end"` - The action is located at the end of the row.
|
198
175
|
*/
|
199
176
|
location?: string;
|
200
177
|
/*
|
201
|
-
* Set
|
178
|
+
* Set this property to `true` if you want to disable keyboard navigation for the action item (sets the `tabIndex` attribute to -1).
|
202
179
|
*/
|
203
180
|
disableTabStop?: boolean;
|
204
181
|
/*
|
205
|
-
* Set
|
182
|
+
* Set this property to `true` if you want the item's `title` to be always visible.
|
183
|
+
* If you set it to `false`, the `title` hides when the screen space is limited, and the item displays only the icon.
|
206
184
|
*/
|
207
185
|
disableShrink?: boolean;
|
208
|
-
|
209
|
-
* Action button display mode
|
210
|
-
*/
|
211
|
-
mode?: "popup" | "large" | "small";
|
186
|
+
mode?: any;
|
212
187
|
visibleIndex?: number;
|
213
188
|
needSpace?: boolean;
|
214
189
|
}
|
@@ -647,7 +622,28 @@ export declare class Base {
|
|
647
622
|
protected addEvent<T>(): EventBase<T>;
|
648
623
|
protected onBaseCreating(): void;
|
649
624
|
/*
|
650
|
-
* Returns the type
|
625
|
+
* Returns the question type.
|
626
|
+
* Possible values:
|
627
|
+
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
628
|
+
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
629
|
+
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
630
|
+
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
631
|
+
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
632
|
+
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
633
|
+
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
634
|
+
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
635
|
+
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
636
|
+
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
637
|
+
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
638
|
+
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
639
|
+
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
640
|
+
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
641
|
+
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
642
|
+
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
643
|
+
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
644
|
+
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
645
|
+
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
646
|
+
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
651
647
|
*/
|
652
648
|
getType(): string;
|
653
649
|
getSurvey(isLive?: boolean): ISurvey;
|
@@ -1274,7 +1270,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1274
1270
|
render(): any;
|
1275
1271
|
protected wrapElement(element: any): any;
|
1276
1272
|
protected get isRendering(): boolean;
|
1277
|
-
protected
|
1273
|
+
protected getRenderedElements(): Array<Base>;
|
1278
1274
|
protected canRender(): boolean;
|
1279
1275
|
protected renderElement(): any;
|
1280
1276
|
protected get changedStatePropName(): string;
|
@@ -1471,7 +1467,7 @@ export declare class Action extends Base implements IAction {
|
|
1471
1467
|
component: string;
|
1472
1468
|
items: any;
|
1473
1469
|
visibleIndex: number;
|
1474
|
-
mode:
|
1470
|
+
mode: any;
|
1475
1471
|
disableTabStop: boolean;
|
1476
1472
|
disableShrink: boolean;
|
1477
1473
|
needSpace: boolean;
|
@@ -1503,6 +1499,7 @@ export declare class ActionContainer<T extends Action = Action> extends Base {
|
|
1503
1499
|
get visibleActions(): any;
|
1504
1500
|
getRootCss(): string;
|
1505
1501
|
get cssClasses(): any;
|
1502
|
+
addAction(val: IAction, sortByVisibleIndex?: boolean): Action;
|
1506
1503
|
setItems(items: any, sortByVisibleIndex?: boolean): void;
|
1507
1504
|
initResponsivityManager(container: any): void;
|
1508
1505
|
resetResponsivityManager(): void;
|
@@ -1745,6 +1742,7 @@ export declare class ExceedSizeError extends SurveyError {
|
|
1745
1742
|
getDefaultText(): string;
|
1746
1743
|
}
|
1747
1744
|
export declare class ExpressionExecutor implements IExpresionExecutor {
|
1745
|
+
constructor(expression: string);
|
1748
1746
|
static createExpressionExecutor: any;
|
1749
1747
|
onComplete: any;
|
1750
1748
|
expressionValue: string;
|
@@ -1755,7 +1753,6 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
|
|
1755
1753
|
hasFunctionValue: boolean;
|
1756
1754
|
asyncFuncList: any;
|
1757
1755
|
get expression(): string;
|
1758
|
-
set expression(val: string);
|
1759
1756
|
getVariables(): Array<any>;
|
1760
1757
|
hasFunction(): boolean;
|
1761
1758
|
get isAsync(): boolean;
|
@@ -2730,18 +2727,6 @@ export declare class SurveyElementCore extends Base implements ILocalizableOwner
|
|
2730
2727
|
getRendererContext(locStr: LocalizableString): any;
|
2731
2728
|
getProcessedText(text: string): string;
|
2732
2729
|
}
|
2733
|
-
export declare class SurveyNavigation extends SurveyNavigationBase {
|
2734
|
-
constructor(props: any);
|
2735
|
-
handlePrevClick(event: any): void;
|
2736
|
-
handleNextClick(event: any): void;
|
2737
|
-
handleNextMouseDown(event: any): any;
|
2738
|
-
handleMouseDown(event: any): any;
|
2739
|
-
handleCompleteClick(event: any): void;
|
2740
|
-
handlePreviewClick(event: any): void;
|
2741
|
-
handleStartClick(event: any): void;
|
2742
|
-
render(): any;
|
2743
|
-
protected renderButton(click: any, mouseDown: any, text: string, btnClassName: string): any;
|
2744
|
-
}
|
2745
2730
|
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
2746
2731
|
constructor(props: any);
|
2747
2732
|
protected rootRef: any;
|
@@ -2814,7 +2799,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
2814
2799
|
componentWillUnmount(): void;
|
2815
2800
|
protected updateDomElement(): void;
|
2816
2801
|
protected get questionBase(): any;
|
2817
|
-
protected
|
2802
|
+
protected getRenderedElements(): Array<Base>;
|
2818
2803
|
protected get creator(): ISurveyCreator;
|
2819
2804
|
protected canRender(): boolean;
|
2820
2805
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
@@ -3006,13 +2991,16 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
|
|
3006
2991
|
protected dotsItemPopupModel: any;
|
3007
2992
|
responsivityManager: ResponsivityManager;
|
3008
2993
|
minVisibleItemsCount: number;
|
2994
|
+
isResponsivenessDisabled: boolean;
|
3009
2995
|
protected invisibleItemsListModel: ListModel;
|
3010
2996
|
protected onSet(): void;
|
3011
2997
|
protected onPush(item: T): void;
|
3012
2998
|
protected getRenderedActions(): Array<T>;
|
2999
|
+
protected raiseUpdate(isResetInitialized: boolean): void;
|
3013
3000
|
fit(dimension: number, dotsItemSize: number): void;
|
3014
3001
|
initResponsivityManager(container: any): void;
|
3015
3002
|
resetResponsivityManager(): void;
|
3003
|
+
setActionsMode(mode: any): void;
|
3016
3004
|
dispose(): void;
|
3017
3005
|
}
|
3018
3006
|
export declare class AnswerCountValidator extends SurveyValidator {
|
@@ -3534,6 +3522,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
3534
3522
|
localeValue: string;
|
3535
3523
|
textPreProcessor: TextPreProcessor;
|
3536
3524
|
timerModelValue: SurveyTimerModel;
|
3525
|
+
navigationBarValue: any;
|
3537
3526
|
/*
|
3538
3527
|
* 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`
|
3539
3528
|
* <br/> `sender` - the survey object that fires the event.
|
@@ -4195,7 +4184,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4195
4184
|
get cssNavigationStart(): string;
|
4196
4185
|
get cssNavigationNext(): string;
|
4197
4186
|
get bodyCss(): string;
|
4198
|
-
|
4187
|
+
completedCss: string;
|
4188
|
+
containerCss: string;
|
4199
4189
|
get completedStateCss(): string;
|
4200
4190
|
getCompletedStateCss(): string;
|
4201
4191
|
lazyRenderingValue: boolean;
|
@@ -4506,6 +4496,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4506
4496
|
get loadingHtml(): string;
|
4507
4497
|
set loadingHtml(val: string);
|
4508
4498
|
get locLoadingHtml(): LocalizableString;
|
4499
|
+
get navigationBar(): any;
|
4500
|
+
/*
|
4501
|
+
* Adds a custom navigation item similar to the Previous Page, Next Page, and Complete buttons.
|
4502
|
+
* Accepts an object described in the [IAction](https://surveyjs.io/Documentation/Library?id=IAction) help section.
|
4503
|
+
*/
|
4504
|
+
addNavigationItem(val: IAction): Action;
|
4509
4505
|
/*
|
4510
4506
|
* Gets or sets the 'Start' button caption.
|
4511
4507
|
* The 'Start' button is shown on the started page. Set the `firstPageIsStarted` property to `true`, to display the started page.
|
@@ -4997,6 +4993,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4997
4993
|
isCalculatingProgressText: boolean;
|
4998
4994
|
updateProgressText(onValueChanged?: boolean): void;
|
4999
4995
|
getProgressText(): string;
|
4996
|
+
rootCss: string;
|
5000
4997
|
getRootCss(): string;
|
5001
4998
|
resizeObserver: any;
|
5002
4999
|
afterRenderSurvey(htmlElement: any): void;
|
@@ -5151,6 +5148,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5151
5148
|
setJsonObject(jsonObj: any): void;
|
5152
5149
|
isEndLoadingFromJson: string;
|
5153
5150
|
endLoadingFromJson(): void;
|
5151
|
+
updateNavigationItemTitlesCallback: any;
|
5152
|
+
updateNavigationItemCssCallback: any;
|
5153
|
+
protected createNavigationBar(): ActionContainer;
|
5154
|
+
protected createNavigationActions(): Array<IAction>;
|
5154
5155
|
protected onBeforeCreating(): void;
|
5155
5156
|
protected onCreating(): void;
|
5156
5157
|
getBuiltInVariableValue(name: string): number;
|
@@ -5313,6 +5314,9 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5313
5314
|
setTriggerValue(name: string, value: any, isVariable: boolean): void;
|
5314
5315
|
copyTriggerValue(name: string, fromName: string): void;
|
5315
5316
|
isFocusingQuestion: boolean;
|
5317
|
+
isMovingQuestion: boolean;
|
5318
|
+
startMovingQuestion(): void;
|
5319
|
+
stopMovingQuestion(): void;
|
5316
5320
|
/*
|
5317
5321
|
* Focus question by its name. If needed change the current page on the page where question is located.
|
5318
5322
|
* Function returns false if there is no question with this name or question is invisible, otherwise it returns true.
|
@@ -5335,6 +5339,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5335
5339
|
dispose(): void;
|
5336
5340
|
disposeCallback: any;
|
5337
5341
|
}
|
5342
|
+
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
5343
|
+
constructor(props: any);
|
5344
|
+
protected get item(): Action;
|
5345
|
+
protected canRender(): boolean;
|
5346
|
+
protected renderElement(): any;
|
5347
|
+
}
|
5338
5348
|
export declare class SurveyPage extends SurveyPanelBase {
|
5339
5349
|
constructor(props: any);
|
5340
5350
|
protected getPanelBase(): PanelModelBase;
|
@@ -5464,12 +5474,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
5464
5474
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
5465
5475
|
constructor(props: any);
|
5466
5476
|
protected get question(): any;
|
5467
|
-
handleOnChange(event: any): void;
|
5468
5477
|
protected renderElement(): any;
|
5469
5478
|
protected getItems(cssClasses: any): Array<any>;
|
5470
5479
|
protected get textStyle(): any;
|
5471
5480
|
protected renderItem(key: string, item: any, cssClasses: any): any;
|
5472
5481
|
}
|
5482
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
5483
|
+
constructor(props: any);
|
5484
|
+
protected getStateElement(): any;
|
5485
|
+
componentDidMount(): void;
|
5486
|
+
componentWillUnmount(): void;
|
5487
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
5488
|
+
protected get cssClasses(): any;
|
5489
|
+
protected get item(): any;
|
5490
|
+
protected get question(): any;
|
5491
|
+
handleOnChange(event: any): void;
|
5492
|
+
protected renderElement(): any;
|
5493
|
+
}
|
5473
5494
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
5474
5495
|
constructor(props: any);
|
5475
5496
|
protected get question(): any;
|
@@ -5722,7 +5743,28 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
5722
5743
|
removeElementCallback: any;
|
5723
5744
|
onGetQuestionTitleLocation: any;
|
5724
5745
|
/*
|
5725
|
-
* Returns the type
|
5746
|
+
* Returns the question type.
|
5747
|
+
* Possible values:
|
5748
|
+
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
5749
|
+
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
5750
|
+
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
5751
|
+
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
5752
|
+
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
5753
|
+
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
5754
|
+
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
5755
|
+
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
5756
|
+
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
5757
|
+
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
5758
|
+
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
5759
|
+
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
5760
|
+
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
5761
|
+
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
5762
|
+
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
5763
|
+
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
5764
|
+
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
5765
|
+
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
5766
|
+
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
5767
|
+
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
5726
5768
|
*/
|
5727
5769
|
getType(): string;
|
5728
5770
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
@@ -6392,9 +6434,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6392
6434
|
getQuestionFromArray(name: string, index: number): IQuestion;
|
6393
6435
|
getDefaultValue(): any;
|
6394
6436
|
protected isDefaultValueEmpty(): boolean;
|
6437
|
+
protected getDefaultRunner(runner: ExpressionRunner, expression: string): ExpressionRunner;
|
6395
6438
|
protected setDefaultValue(): void;
|
6396
6439
|
protected isValueExpression(val: any): boolean;
|
6397
|
-
protected setValueAndRunExpression(
|
6440
|
+
protected setValueAndRunExpression(runner: ExpressionRunner, defaultValue: any, setFunc: any, values?: any, properties?: any): void;
|
6398
6441
|
/*
|
6399
6442
|
* The question comment value.
|
6400
6443
|
*/
|
@@ -7917,6 +7960,8 @@ export declare class QuestionSelectBase extends Question {
|
|
7917
7960
|
protected get activeChoices(): any;
|
7918
7961
|
protected getChoicesFromQuestion(question: QuestionSelectBase): Array<ItemValue>;
|
7919
7962
|
protected get hasActiveChoices(): boolean;
|
7963
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7964
|
+
protected isFootChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7920
7965
|
protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7921
7966
|
protected getChoices(): Array<ItemValue>;
|
7922
7967
|
supportComment(): boolean;
|
@@ -8636,6 +8681,8 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8636
8681
|
export declare class QuestionTextModel extends QuestionTextBase {
|
8637
8682
|
constructor(name: string);
|
8638
8683
|
locDataListValue: LocalizableStrings;
|
8684
|
+
minValueRunner: ExpressionRunner;
|
8685
|
+
maxValueRunner: ExpressionRunner;
|
8639
8686
|
protected isTextValue(): boolean;
|
8640
8687
|
getType(): string;
|
8641
8688
|
onSurveyLoad(): void;
|
@@ -8798,7 +8845,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
8798
8845
|
protected canUseFilteredChoices(): boolean;
|
8799
8846
|
protected supportSelectAll(): boolean;
|
8800
8847
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
8801
|
-
protected
|
8848
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
8802
8849
|
/*
|
8803
8850
|
* For internal use in SurveyJS Creator V2.
|
8804
8851
|
*/
|
@@ -8957,6 +9004,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
8957
9004
|
*/
|
8958
9005
|
get allowRowsDragAndDrop(): boolean;
|
8959
9006
|
set allowRowsDragAndDrop(val: boolean);
|
9007
|
+
get iconDragElement(): string;
|
8960
9008
|
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
8961
9009
|
/*
|
8962
9010
|
* The minimum row count. A user could not delete a row if the rowCount equals to minRowCount
|
@@ -9310,6 +9358,7 @@ export declare var settings: {
|
|
9310
9358
|
maxDate: string,
|
9311
9359
|
showModal: any,
|
9312
9360
|
supportCreatorV2: boolean,
|
9361
|
+
showDefaultItemsInCreatorV2: boolean,
|
9313
9362
|
/*
|
9314
9363
|
* Specifies a list of custom icons.
|
9315
9364
|
* Use this property to replace SurveyJS default icons (displayed in UI elements of SurveyJS Library or Creator) with your custom icons.
|
@@ -9680,6 +9729,9 @@ export declare var defaultStandardCss: {
|
|
9680
9729
|
buttonCollapsed: string,
|
9681
9730
|
},
|
9682
9731
|
},
|
9732
|
+
variables: {
|
9733
|
+
themeMark: string,
|
9734
|
+
},
|
9683
9735
|
};
|
9684
9736
|
export declare var surveyTimerFunctions: {
|
9685
9737
|
setTimeout: any,
|
@@ -10628,6 +10680,9 @@ export declare var defaultV2Css: {
|
|
10628
10680
|
itemText: string,
|
10629
10681
|
clearButton: string,
|
10630
10682
|
other: string,
|
10683
|
+
itemNoImage: string,
|
10684
|
+
itemNoImageSvgIcon: string,
|
10685
|
+
itemNoImageSvgIconId: string,
|
10631
10686
|
},
|
10632
10687
|
matrix: {
|
10633
10688
|
mainRoot: string,
|
@@ -10688,6 +10743,8 @@ export declare var defaultV2Css: {
|
|
10688
10743
|
buttonRemove: string,
|
10689
10744
|
iconAdd: string,
|
10690
10745
|
iconRemove: string,
|
10746
|
+
dragElementDecorator: string,
|
10747
|
+
iconDragElement: string,
|
10691
10748
|
footer: string,
|
10692
10749
|
emptyRowsSection: string,
|
10693
10750
|
iconDrag: string,
|
@@ -10812,6 +10869,7 @@ export declare var defaultV2Css: {
|
|
10812
10869
|
},
|
10813
10870
|
variables: {
|
10814
10871
|
mobileWidth: string,
|
10872
|
+
themeMark: string,
|
10815
10873
|
},
|
10816
10874
|
};
|
10817
10875
|
export declare var modernCss: {
|
@@ -11182,6 +11240,9 @@ export declare var modernCss: {
|
|
11182
11240
|
buttonCollapsed: string,
|
11183
11241
|
},
|
11184
11242
|
},
|
11243
|
+
variables: {
|
11244
|
+
themeMark: string,
|
11245
|
+
},
|
11185
11246
|
};
|
11186
11247
|
export declare var SvgRegistry: SvgIconRegistry;
|
11187
11248
|
export declare var SvgBundleViewModel: any;
|