survey-react 1.9.20 → 1.9.23
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 +208 -183
- package/defaultV2.min.css +2 -2
- package/modern.css +17 -4
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +3 -3
- package/survey.min.css +2 -2
- package/survey.react.d.ts +120 -39
- package/survey.react.js +1405 -217
- 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.23
|
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,31 +91,6 @@ 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
|
* Defines an individual action. Action items can be displayed in certain survey elements - in Toolbar (or action bar), in titles (of pages, panels, questions), in matrix rows (as 'expand details' or 'remove row' buttons), and etc.
|
@@ -208,7 +183,7 @@ export interface IAction {
|
|
208
183
|
/*
|
209
184
|
* Action button display mode
|
210
185
|
*/
|
211
|
-
mode?:
|
186
|
+
mode?: any;
|
212
187
|
visibleIndex?: number;
|
213
188
|
needSpace?: boolean;
|
214
189
|
}
|
@@ -579,6 +554,12 @@ export interface IListProps {
|
|
579
554
|
export interface ILogoImageProps {
|
580
555
|
data: any;
|
581
556
|
}
|
557
|
+
export declare class ActionDropdownViewModel {
|
558
|
+
constructor(item: Action);
|
559
|
+
popupModel: any;
|
560
|
+
funcKey: string;
|
561
|
+
dispose(): void;
|
562
|
+
}
|
582
563
|
export declare class ArrayChanges {
|
583
564
|
constructor(index: number, deleteCount: number, itemsToAdd: any, deletedItems: any);
|
584
565
|
index: number;
|
@@ -641,7 +622,28 @@ export declare class Base {
|
|
641
622
|
protected addEvent<T>(): EventBase<T>;
|
642
623
|
protected onBaseCreating(): void;
|
643
624
|
/*
|
644
|
-
* 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)
|
645
647
|
*/
|
646
648
|
getType(): string;
|
647
649
|
getSurvey(isLive?: boolean): ISurvey;
|
@@ -1049,6 +1051,7 @@ export declare class MatrixCells {
|
|
1049
1051
|
cellsOwner: IMatrixCellsOwner;
|
1050
1052
|
values: any;
|
1051
1053
|
get isEmpty(): boolean;
|
1054
|
+
onValuesChanged: any;
|
1052
1055
|
setCellText(row: any, column: any, val: string): void;
|
1053
1056
|
setDefaultCellText(column: any, val: string): void;
|
1054
1057
|
getCellLocText(row: any, column: any): LocalizableString;
|
@@ -1267,7 +1270,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
1267
1270
|
render(): any;
|
1268
1271
|
protected wrapElement(element: any): any;
|
1269
1272
|
protected get isRendering(): boolean;
|
1270
|
-
protected
|
1273
|
+
protected getRenderedElements(): Array<Base>;
|
1271
1274
|
protected canRender(): boolean;
|
1272
1275
|
protected renderElement(): any;
|
1273
1276
|
protected get changedStatePropName(): string;
|
@@ -1354,6 +1357,7 @@ export declare class SvgIconRegistry {
|
|
1354
1357
|
registerIconFromSymbol(iconId: string, iconSymbolSvg: string): void;
|
1355
1358
|
registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void;
|
1356
1359
|
registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
|
1360
|
+
registerIconsFromFolder(r: any): void;
|
1357
1361
|
iconsRenderedHtml(): any;
|
1358
1362
|
renderIcons(): void;
|
1359
1363
|
}
|
@@ -1463,7 +1467,7 @@ export declare class Action extends Base implements IAction {
|
|
1463
1467
|
component: string;
|
1464
1468
|
items: any;
|
1465
1469
|
visibleIndex: number;
|
1466
|
-
mode:
|
1470
|
+
mode: any;
|
1467
1471
|
disableTabStop: boolean;
|
1468
1472
|
disableShrink: boolean;
|
1469
1473
|
needSpace: boolean;
|
@@ -1737,6 +1741,7 @@ export declare class ExceedSizeError extends SurveyError {
|
|
1737
1741
|
getDefaultText(): string;
|
1738
1742
|
}
|
1739
1743
|
export declare class ExpressionExecutor implements IExpresionExecutor {
|
1744
|
+
constructor(expression: string);
|
1740
1745
|
static createExpressionExecutor: any;
|
1741
1746
|
onComplete: any;
|
1742
1747
|
expressionValue: string;
|
@@ -1747,7 +1752,6 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
|
|
1747
1752
|
hasFunctionValue: boolean;
|
1748
1753
|
asyncFuncList: any;
|
1749
1754
|
get expression(): string;
|
1750
|
-
set expression(val: string);
|
1751
1755
|
getVariables(): Array<any>;
|
1752
1756
|
hasFunction(): boolean;
|
1753
1757
|
get isAsync(): boolean;
|
@@ -2806,7 +2810,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
2806
2810
|
componentWillUnmount(): void;
|
2807
2811
|
protected updateDomElement(): void;
|
2808
2812
|
protected get questionBase(): any;
|
2809
|
-
protected
|
2813
|
+
protected getRenderedElements(): Array<Base>;
|
2810
2814
|
protected get creator(): ISurveyCreator;
|
2811
2815
|
protected canRender(): boolean;
|
2812
2816
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
@@ -2998,13 +3002,16 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
|
|
2998
3002
|
protected dotsItemPopupModel: any;
|
2999
3003
|
responsivityManager: ResponsivityManager;
|
3000
3004
|
minVisibleItemsCount: number;
|
3005
|
+
isResponsivenessDisabled: boolean;
|
3001
3006
|
protected invisibleItemsListModel: ListModel;
|
3002
3007
|
protected onSet(): void;
|
3003
3008
|
protected onPush(item: T): void;
|
3004
3009
|
protected getRenderedActions(): Array<T>;
|
3010
|
+
protected raiseUpdate(isResetInitialized: boolean): void;
|
3005
3011
|
fit(dimension: number, dotsItemSize: number): void;
|
3006
3012
|
initResponsivityManager(container: any): void;
|
3007
3013
|
resetResponsivityManager(): void;
|
3014
|
+
setActionsMode(mode: any): void;
|
3008
3015
|
dispose(): void;
|
3009
3016
|
}
|
3010
3017
|
export declare class AnswerCountValidator extends SurveyValidator {
|
@@ -3275,7 +3282,9 @@ export declare class RegexValidator extends SurveyValidator {
|
|
3275
3282
|
}
|
3276
3283
|
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
3277
3284
|
constructor(props: any);
|
3285
|
+
viewModel: any;
|
3278
3286
|
renderButtonContent(): any;
|
3287
|
+
componentWillUnmount(): void;
|
3279
3288
|
}
|
3280
3289
|
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
3281
3290
|
constructor(props: any);
|
@@ -4987,12 +4996,16 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4987
4996
|
isCalculatingProgressText: boolean;
|
4988
4997
|
updateProgressText(onValueChanged?: boolean): void;
|
4989
4998
|
getProgressText(): string;
|
4999
|
+
rootCss: string;
|
5000
|
+
getRootCss(): string;
|
5001
|
+
resizeObserver: any;
|
4990
5002
|
afterRenderSurvey(htmlElement: any): void;
|
4991
5003
|
updateQuestionCssClasses(question: IQuestion, cssClasses: any): void;
|
4992
5004
|
updatePanelCssClasses(panel: IPanel, cssClasses: any): void;
|
4993
5005
|
updatePageCssClasses(page: IPage, cssClasses: any): void;
|
4994
5006
|
updateChoiceItemCss(question: IQuestion, options: any): void;
|
4995
5007
|
isFirstPageRendering: boolean;
|
5008
|
+
isCurrentPageRendering: boolean;
|
4996
5009
|
afterRenderPage(htmlElement: any): void;
|
4997
5010
|
afterRenderHeader(htmlElement: any): void;
|
4998
5011
|
afterRenderQuestion(question: IQuestion, htmlElement: any): void;
|
@@ -5300,6 +5313,9 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
5300
5313
|
setTriggerValue(name: string, value: any, isVariable: boolean): void;
|
5301
5314
|
copyTriggerValue(name: string, fromName: string): void;
|
5302
5315
|
isFocusingQuestion: boolean;
|
5316
|
+
isMovingQuestion: boolean;
|
5317
|
+
startMovingQuestion(): void;
|
5318
|
+
stopMovingQuestion(): void;
|
5303
5319
|
/*
|
5304
5320
|
* Focus question by its name. If needed change the current page on the page where question is located.
|
5305
5321
|
* Function returns false if there is no question with this name or question is invisible, otherwise it returns true.
|
@@ -5382,9 +5398,13 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
5382
5398
|
constructor(props: any);
|
5383
5399
|
protected get question(): QuestionCheckboxModel;
|
5384
5400
|
protected renderElement(): any;
|
5401
|
+
protected getHeader(): any;
|
5402
|
+
protected getFooter(): any;
|
5403
|
+
protected getColumnedBody(cssClasses: any): any;
|
5385
5404
|
protected getColumns(cssClasses: any): any;
|
5386
5405
|
protected getItems(cssClasses: any): Array<any>;
|
5387
5406
|
protected get textStyle(): any;
|
5407
|
+
protected renderOther(): any;
|
5388
5408
|
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): any;
|
5389
5409
|
}
|
5390
5410
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
@@ -5402,7 +5422,6 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
5402
5422
|
protected renderElement(): any;
|
5403
5423
|
protected get inputStyle(): any;
|
5404
5424
|
protected renderCheckbox(isChecked: boolean, otherItem: any): any;
|
5405
|
-
protected renderOther(): any;
|
5406
5425
|
}
|
5407
5426
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
5408
5427
|
constructor(props: any);
|
@@ -5448,12 +5467,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
5448
5467
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
5449
5468
|
constructor(props: any);
|
5450
5469
|
protected get question(): any;
|
5451
|
-
handleOnChange(event: any): void;
|
5452
5470
|
protected renderElement(): any;
|
5453
5471
|
protected getItems(cssClasses: any): Array<any>;
|
5454
5472
|
protected get textStyle(): any;
|
5455
5473
|
protected renderItem(key: string, item: any, cssClasses: any): any;
|
5456
5474
|
}
|
5475
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
5476
|
+
constructor(props: any);
|
5477
|
+
protected getStateElement(): any;
|
5478
|
+
componentDidMount(): void;
|
5479
|
+
componentWillUnmount(): void;
|
5480
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
5481
|
+
protected get cssClasses(): any;
|
5482
|
+
protected get item(): any;
|
5483
|
+
protected get question(): any;
|
5484
|
+
handleOnChange(event: any): void;
|
5485
|
+
protected renderElement(): any;
|
5486
|
+
}
|
5457
5487
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
5458
5488
|
constructor(props: any);
|
5459
5489
|
protected get question(): any;
|
@@ -5547,15 +5577,17 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
5547
5577
|
handleOnChange(event: any): void;
|
5548
5578
|
protected canRender(): boolean;
|
5549
5579
|
protected renderElement(): any;
|
5550
|
-
protected renderOther(cssClasses: any): any;
|
5551
5580
|
}
|
5552
5581
|
export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
|
5553
5582
|
constructor(props: any);
|
5554
5583
|
protected get question(): any;
|
5555
5584
|
protected renderElement(): any;
|
5585
|
+
protected getFooter(): any;
|
5586
|
+
protected getColumnedBody(cssClasses: any): any;
|
5556
5587
|
protected getColumns(cssClasses: any): any;
|
5557
5588
|
protected getItems(cssClasses: any): Array<any>;
|
5558
5589
|
protected get textStyle(): any;
|
5590
|
+
protected renderOther(cssClasses: any): any;
|
5559
5591
|
}
|
5560
5592
|
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
5561
5593
|
constructor(props: any);
|
@@ -5704,7 +5736,28 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
5704
5736
|
removeElementCallback: any;
|
5705
5737
|
onGetQuestionTitleLocation: any;
|
5706
5738
|
/*
|
5707
|
-
* Returns the type
|
5739
|
+
* Returns the question type.
|
5740
|
+
* Possible values:
|
5741
|
+
* - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
|
5742
|
+
* - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
|
5743
|
+
* - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
|
5744
|
+
* - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
|
5745
|
+
* - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
|
5746
|
+
* - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
|
5747
|
+
* - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
|
5748
|
+
* - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
|
5749
|
+
* - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
|
5750
|
+
* - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
|
5751
|
+
* - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
|
5752
|
+
* - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
|
5753
|
+
* - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
|
5754
|
+
* - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
|
5755
|
+
* - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
|
5756
|
+
* - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
|
5757
|
+
* - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
|
5758
|
+
* - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
|
5759
|
+
* - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
|
5760
|
+
* - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
|
5708
5761
|
*/
|
5709
5762
|
getType(): string;
|
5710
5763
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
@@ -6374,9 +6427,10 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6374
6427
|
getQuestionFromArray(name: string, index: number): IQuestion;
|
6375
6428
|
getDefaultValue(): any;
|
6376
6429
|
protected isDefaultValueEmpty(): boolean;
|
6430
|
+
protected getDefaultRunner(runner: ExpressionRunner, expression: string): ExpressionRunner;
|
6377
6431
|
protected setDefaultValue(): void;
|
6378
6432
|
protected isValueExpression(val: any): boolean;
|
6379
|
-
protected setValueAndRunExpression(
|
6433
|
+
protected setValueAndRunExpression(runner: ExpressionRunner, defaultValue: any, setFunc: any, values?: any, properties?: any): void;
|
6380
6434
|
/*
|
6381
6435
|
* The question comment value.
|
6382
6436
|
*/
|
@@ -6683,6 +6737,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
6683
6737
|
get navigationDescription(): string;
|
6684
6738
|
set navigationDescription(val: string);
|
6685
6739
|
get locNavigationDescription(): LocalizableString;
|
6740
|
+
navigationLocStrChanged(): void;
|
6686
6741
|
get passed(): boolean;
|
6687
6742
|
set passed(val: boolean);
|
6688
6743
|
delete(): void;
|
@@ -7855,6 +7910,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7855
7910
|
set otherText(val: string);
|
7856
7911
|
get locOtherText(): LocalizableString;
|
7857
7912
|
/*
|
7913
|
+
* Use this property to show "Select All", "None" and "Other" choices in multi columns .
|
7914
|
+
*/
|
7915
|
+
separateSpecialChoices: boolean;
|
7916
|
+
/*
|
7858
7917
|
* Use this property to set the place holder text for other or comment field .
|
7859
7918
|
*/
|
7860
7919
|
get otherPlaceHolder(): string;
|
@@ -7894,6 +7953,8 @@ export declare class QuestionSelectBase extends Question {
|
|
7894
7953
|
protected get activeChoices(): any;
|
7895
7954
|
protected getChoicesFromQuestion(question: QuestionSelectBase): Array<ItemValue>;
|
7896
7955
|
protected get hasActiveChoices(): boolean;
|
7956
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7957
|
+
protected isFootChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7897
7958
|
protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
7898
7959
|
protected getChoices(): Array<ItemValue>;
|
7899
7960
|
supportComment(): boolean;
|
@@ -7934,6 +7995,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7934
7995
|
protected getItemClassCore(item: any, options: any): string;
|
7935
7996
|
getLabelClass(item: ItemValue): string;
|
7936
7997
|
getControlLabelClass(item: ItemValue): string;
|
7998
|
+
get headItems(): any;
|
7999
|
+
get footItems(): any;
|
8000
|
+
get hasHeadItems(): boolean;
|
8001
|
+
get hasFootItems(): boolean;
|
7937
8002
|
get columns(): any;
|
7938
8003
|
get hasColumns(): boolean;
|
7939
8004
|
choicesLoaded(): void;
|
@@ -7947,6 +8012,10 @@ export declare class QuestionSelectBase extends Question {
|
|
7947
8012
|
getItemId(item: ItemValue): string;
|
7948
8013
|
get questionName(): string;
|
7949
8014
|
getItemEnabled(item: ItemValue): any;
|
8015
|
+
rootElement: any;
|
8016
|
+
afterRender(el: any): void;
|
8017
|
+
prevIsOtherSelected: boolean;
|
8018
|
+
protected onValueChanged(): void;
|
7950
8019
|
}
|
7951
8020
|
/*
|
7952
8021
|
* A Model for signature pad question.
|
@@ -8571,6 +8640,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8571
8640
|
get cells(): MatrixCells;
|
8572
8641
|
set cells(val: MatrixCells);
|
8573
8642
|
get hasCellText(): boolean;
|
8643
|
+
protected updateHasCellText(): void;
|
8574
8644
|
setCellText(row: any, column: any, val: string): void;
|
8575
8645
|
getCellText(row: any, column: any): string;
|
8576
8646
|
setDefaultCellText(column: any, val: string): void;
|
@@ -8604,6 +8674,8 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8604
8674
|
export declare class QuestionTextModel extends QuestionTextBase {
|
8605
8675
|
constructor(name: string);
|
8606
8676
|
locDataListValue: LocalizableStrings;
|
8677
|
+
minValueRunner: ExpressionRunner;
|
8678
|
+
maxValueRunner: ExpressionRunner;
|
8607
8679
|
protected isTextValue(): boolean;
|
8608
8680
|
getType(): string;
|
8609
8681
|
onSurveyLoad(): void;
|
@@ -8766,7 +8838,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
8766
8838
|
protected canUseFilteredChoices(): boolean;
|
8767
8839
|
protected supportSelectAll(): boolean;
|
8768
8840
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
8769
|
-
protected
|
8841
|
+
protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
|
8770
8842
|
/*
|
8771
8843
|
* For internal use in SurveyJS Creator V2.
|
8772
8844
|
*/
|
@@ -9278,6 +9350,7 @@ export declare var settings: {
|
|
9278
9350
|
maxDate: string,
|
9279
9351
|
showModal: any,
|
9280
9352
|
supportCreatorV2: boolean,
|
9353
|
+
showDefaultItemsInCreatorV2: boolean,
|
9281
9354
|
/*
|
9282
9355
|
* Specifies a list of custom icons.
|
9283
9356
|
* Use this property to replace SurveyJS default icons (displayed in UI elements of SurveyJS Library or Creator) with your custom icons.
|
@@ -10330,6 +10403,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
10330
10403
|
};
|
10331
10404
|
export declare var defaultV2Css: {
|
10332
10405
|
root: string,
|
10406
|
+
rootMobile: string,
|
10333
10407
|
container: string,
|
10334
10408
|
header: string,
|
10335
10409
|
body: string,
|
@@ -10342,6 +10416,7 @@ export declare var defaultV2Css: {
|
|
10342
10416
|
headerText: string,
|
10343
10417
|
navigationButton: string,
|
10344
10418
|
completedPage: string,
|
10419
|
+
timerRoot: string,
|
10345
10420
|
navigation: {
|
10346
10421
|
complete: string,
|
10347
10422
|
prev: string,
|
@@ -10701,6 +10776,7 @@ export declare var defaultV2Css: {
|
|
10701
10776
|
noFileChosen: string,
|
10702
10777
|
chooseFile: string,
|
10703
10778
|
chooseFileAsText: string,
|
10779
|
+
chooseFileAsTextDisabled: string,
|
10704
10780
|
chooseFileAsIcon: string,
|
10705
10781
|
chooseFileIconId: string,
|
10706
10782
|
disabled: string,
|
@@ -10775,9 +10851,13 @@ export declare var defaultV2Css: {
|
|
10775
10851
|
itemIcon: string,
|
10776
10852
|
itemTitle: string,
|
10777
10853
|
},
|
10854
|
+
variables: {
|
10855
|
+
mobileWidth: string,
|
10856
|
+
},
|
10778
10857
|
};
|
10779
10858
|
export declare var modernCss: {
|
10780
10859
|
root: string,
|
10860
|
+
timerRoot: string,
|
10781
10861
|
container: string,
|
10782
10862
|
header: string,
|
10783
10863
|
headerClose: string,
|
@@ -11145,4 +11225,5 @@ export declare var modernCss: {
|
|
11145
11225
|
},
|
11146
11226
|
};
|
11147
11227
|
export declare var SvgRegistry: SvgIconRegistry;
|
11148
|
-
export declare var SvgBundleViewModel: any;
|
11228
|
+
export declare var SvgBundleViewModel: any;
|
11229
|
+
export declare var path: any;
|