survey-react 1.9.72 → 1.9.75
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/README.md +10 -208
- package/defaultV2.css +132 -63
- package/defaultV2.min.css +2 -2
- package/modern.css +66 -18
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +24 -22
- package/survey.min.css +2 -2
- package/survey.react.d.ts +122 -21
- package/survey.react.js +481 -215
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -82,6 +82,10 @@ declare module "settings" {
|
|
82
82
|
* Maximum rowCount that returns in addConditionObjectsByContext function
|
83
83
|
*/
|
84
84
|
matrixMaxRowCountInCondition: number;
|
85
|
+
/**
|
86
|
+
* Maximum panelCount that returns in addConditionObjectsByContext function
|
87
|
+
*/
|
88
|
+
panelDynamicMaxPanelCountInCondition: number;
|
85
89
|
/**
|
86
90
|
* Set this property to false, to render matrix dynamic remove action as button.
|
87
91
|
* It is rendered as icon in new themes ("defaultV2") by default.
|
@@ -215,7 +219,7 @@ declare module "settings" {
|
|
215
219
|
*/
|
216
220
|
customIcons: {};
|
217
221
|
/**
|
218
|
-
* Specifies which part of a choice item
|
222
|
+
* Specifies which part of a choice item responds to a drag gesture in Ranking questions.
|
219
223
|
*
|
220
224
|
* Possible values:
|
221
225
|
*
|
@@ -256,6 +260,7 @@ declare module "helpers" {
|
|
256
260
|
static getNumber(value: any): number;
|
257
261
|
private static prepareStringToNumber;
|
258
262
|
static getMaxLength(maxLength: number, surveyLength: number): any;
|
263
|
+
static getRemainingCharacterCounterText(newValue: string | undefined, maxLength: number | null): string;
|
259
264
|
static getNumberByIndex(index: number, startIndexStr: string): string;
|
260
265
|
static isCharNotLetterAndDigit(ch: string): boolean;
|
261
266
|
static isCharDigit(ch: string): boolean;
|
@@ -644,6 +649,7 @@ declare module "jsonobject" {
|
|
644
649
|
classNamePart: string;
|
645
650
|
baseClassName: string;
|
646
651
|
defaultValueValue: any;
|
652
|
+
defaultValueFunc: () => any;
|
647
653
|
serializationProperty: string;
|
648
654
|
displayName: string;
|
649
655
|
category: string;
|
@@ -1113,7 +1119,7 @@ declare module "conditions" {
|
|
1113
1119
|
/**
|
1114
1120
|
* The expression as string, property with get
|
1115
1121
|
*/
|
1116
|
-
|
1122
|
+
expression: string;
|
1117
1123
|
/**
|
1118
1124
|
* Returns true if the expression is valid and can be executed
|
1119
1125
|
*/
|
@@ -2423,6 +2429,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
2423
2429
|
titleRequired: string;
|
2424
2430
|
indent: number;
|
2425
2431
|
footer: string;
|
2432
|
+
commentArea: string;
|
2426
2433
|
formGroup: string;
|
2427
2434
|
hasError: string;
|
2428
2435
|
collapsed: string;
|
@@ -2537,6 +2544,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
2537
2544
|
root: string;
|
2538
2545
|
small: string;
|
2539
2546
|
controlDisabled: string;
|
2547
|
+
content: string;
|
2548
|
+
remainingCharacterCounter: string;
|
2540
2549
|
onError: string;
|
2541
2550
|
};
|
2542
2551
|
multipletext: {
|
@@ -2709,6 +2718,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
2709
2718
|
root: string;
|
2710
2719
|
small: string;
|
2711
2720
|
controlDisabled: string;
|
2721
|
+
content: string;
|
2722
|
+
remainingCharacterCounter: string;
|
2712
2723
|
onError: string;
|
2713
2724
|
};
|
2714
2725
|
expression: string;
|
@@ -2788,6 +2799,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
2788
2799
|
item: string;
|
2789
2800
|
itemContent: string;
|
2790
2801
|
itemIndex: string;
|
2802
|
+
itemIndexEmptyMode: string;
|
2791
2803
|
controlLabel: string;
|
2792
2804
|
itemGhostNode: string;
|
2793
2805
|
itemIconContainer: string;
|
@@ -3100,7 +3112,6 @@ declare module "stylesmanager" {
|
|
3100
3112
|
};
|
3101
3113
|
export class StylesManager {
|
3102
3114
|
private static SurveyJSStylesSheetId;
|
3103
|
-
private sheet;
|
3104
3115
|
static Logger: Logger;
|
3105
3116
|
static Styles: {
|
3106
3117
|
[key: string]: string;
|
@@ -3132,7 +3143,7 @@ declare module "stylesmanager" {
|
|
3132
3143
|
static applyTheme(themeName?: string, themeSelector?: string): void;
|
3133
3144
|
static Enabled: boolean;
|
3134
3145
|
constructor();
|
3135
|
-
|
3146
|
+
static insertStylesRulesIntoDocument(): any;
|
3136
3147
|
}
|
3137
3148
|
}
|
3138
3149
|
declare module "surveytimer" {
|
@@ -3793,6 +3804,7 @@ declare module "question_baseselect" {
|
|
3793
3804
|
*/
|
3794
3805
|
get colCount(): number;
|
3795
3806
|
set colCount(value: number);
|
3807
|
+
clickItemHandler(item: ItemValue, checked: boolean): void;
|
3796
3808
|
protected onParentChanged(): void;
|
3797
3809
|
protected onParentQuestionChanged(): void;
|
3798
3810
|
protected getSearchableItemValueKeys(keys: Array<string>): void;
|
@@ -4934,6 +4946,19 @@ declare module "survey" {
|
|
4934
4946
|
* @see QuestionHtmlModel.html
|
4935
4947
|
*/
|
4936
4948
|
onProcessHtml: EventBase<SurveyModel>;
|
4949
|
+
/**
|
4950
|
+
* Use this event to change a question's display text.
|
4951
|
+
*
|
4952
|
+
* Parameters:
|
4953
|
+
*
|
4954
|
+
* - `sender`: `SurveyModel`\
|
4955
|
+
* A survey instance that raised the event.
|
4956
|
+
* - `options.question`: [`Question`](https://surveyjs.io/form-library/documentation/api-reference/question)\
|
4957
|
+
* A Question instance for which the event is raised.
|
4958
|
+
* - `options.displayValue`: `String`\
|
4959
|
+
* A question's display text. You can assign a custom value to this parameter.
|
4960
|
+
*/
|
4961
|
+
onGetQuestionDisplayValue: EventBase<SurveyModel>;
|
4937
4962
|
/**
|
4938
4963
|
* Use this event to change the question title in code. If you want to remove question numbering then set showQuestionNumbers to "off".
|
4939
4964
|
* - `sender`: `SurveyModel` - A survey instance that raised the event.
|
@@ -5905,6 +5930,7 @@ declare module "survey" {
|
|
5905
5930
|
getLocString(str: string): string;
|
5906
5931
|
getErrorCustomText(text: string, error: SurveyError): string;
|
5907
5932
|
getSurveyErrorCustomText(obj: Base, text: string, error: SurveyError): string;
|
5933
|
+
getQuestionDisplayValue(question: IElement, displayValue: any): any;
|
5908
5934
|
/**
|
5909
5935
|
* Returns the text displayed when a survey has no visible pages and questions.
|
5910
5936
|
*/
|
@@ -6106,7 +6132,7 @@ declare module "survey" {
|
|
6106
6132
|
*
|
6107
6133
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
|
6108
6134
|
*/
|
6109
|
-
get showQuestionNumbers(): string;
|
6135
|
+
get showQuestionNumbers(): string | boolean;
|
6110
6136
|
set showQuestionNumbers(value: string | boolean);
|
6111
6137
|
/**
|
6112
6138
|
* Gets or sets the survey progress bar position.
|
@@ -7883,7 +7909,7 @@ declare module "panel" {
|
|
7883
7909
|
protected getCssError(cssClasses: any): string;
|
7884
7910
|
protected onVisibleChanged(): void;
|
7885
7911
|
needResponsiveWidth(): boolean;
|
7886
|
-
focusIn
|
7912
|
+
focusIn(): void;
|
7887
7913
|
getContainerCss(): string;
|
7888
7914
|
}
|
7889
7915
|
}
|
@@ -8035,6 +8061,7 @@ declare module "question" {
|
|
8035
8061
|
afterRenderQuestionCallback: (question: Question, element: any) => any;
|
8036
8062
|
valueFromDataCallback: (val: any) => any;
|
8037
8063
|
valueToDataCallback: (val: any) => any;
|
8064
|
+
onUpdateCssClassesCallback: (css: any) => void;
|
8038
8065
|
onGetSurvey: () => ISurvey;
|
8039
8066
|
private locProcessedTitle;
|
8040
8067
|
protected isReadyValue: boolean;
|
@@ -8353,7 +8380,7 @@ declare module "question" {
|
|
8353
8380
|
*/
|
8354
8381
|
focus(onError?: boolean): void;
|
8355
8382
|
private expandAllParents;
|
8356
|
-
focusIn
|
8383
|
+
focusIn(): void;
|
8357
8384
|
protected fireCallback(callback: () => void): void;
|
8358
8385
|
getOthersMaxLength(): any;
|
8359
8386
|
protected onCreating(): void;
|
@@ -8590,6 +8617,7 @@ declare module "question" {
|
|
8590
8617
|
*/
|
8591
8618
|
get comment(): string;
|
8592
8619
|
set comment(newValue: string);
|
8620
|
+
getCommentAreaCss(isOther?: boolean): string;
|
8593
8621
|
protected getQuestionComment(): string;
|
8594
8622
|
protected setQuestionComment(newValue: string): void;
|
8595
8623
|
/**
|
@@ -10145,6 +10173,7 @@ declare module "base-interfaces" {
|
|
10145
10173
|
requiredText: string;
|
10146
10174
|
beforeSettingQuestionErrors(question: IQuestion, errors: Array<SurveyError>): void;
|
10147
10175
|
beforeSettingPanelErrors(question: IPanel, errors: Array<SurveyError>): void;
|
10176
|
+
getQuestionDisplayValue(question: IElement, displayValue: any): any;
|
10148
10177
|
getSurveyErrorCustomText(obj: Base, text: string, error: SurveyError): string;
|
10149
10178
|
getElementTitleTagName(element: Base, tagName: string): string;
|
10150
10179
|
questionTitlePattern: string;
|
@@ -10246,8 +10275,8 @@ declare module "base-interfaces" {
|
|
10246
10275
|
toggleState(): void;
|
10247
10276
|
stateChangedCallback(): void;
|
10248
10277
|
getTitleToolbar(): AdaptiveActionContainer;
|
10249
|
-
|
10250
|
-
|
10278
|
+
isCollapsed: boolean;
|
10279
|
+
isExpanded: boolean;
|
10251
10280
|
expand(): void;
|
10252
10281
|
collapse(): void;
|
10253
10282
|
}
|
@@ -10522,7 +10551,7 @@ declare module "base" {
|
|
10522
10551
|
* The name of the property to which an array of `ItemValue` objects is assigned (for example, `"choices"` or `"rows"`).
|
10523
10552
|
* - `options.name`: `"text"` | `"value"`\
|
10524
10553
|
* The name of the changed property.
|
10525
|
-
* - `options.newValue
|
10554
|
+
* - `options.newValue`: `any`\
|
10526
10555
|
* A new value for the property.
|
10527
10556
|
*/
|
10528
10557
|
onItemValuePropertyChanged: Event<(sender: Base, options: any) => any, Base, any>;
|
@@ -11231,6 +11260,11 @@ declare module "question_matrix" {
|
|
11231
11260
|
declare module "question_textbase" {
|
11232
11261
|
import { Question } from "question";
|
11233
11262
|
import { LocalizableString } from "localizablestring";
|
11263
|
+
import { Base } from "base";
|
11264
|
+
export class CharacterCounter extends Base {
|
11265
|
+
remainingCharacterCounter: string;
|
11266
|
+
updateRemainingCharacterCounter(newValue: string, maxLength: number): void;
|
11267
|
+
}
|
11234
11268
|
/**
|
11235
11269
|
* A base class for the [Text](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types.
|
11236
11270
|
*/
|
@@ -11245,6 +11279,8 @@ declare module "question_textbase" {
|
|
11245
11279
|
get maxLength(): number;
|
11246
11280
|
set maxLength(val: number);
|
11247
11281
|
getMaxLength(): any;
|
11282
|
+
characterCounter: CharacterCounter;
|
11283
|
+
updateRemainingCharacterCounter(newValue: string): void;
|
11248
11284
|
/**
|
11249
11285
|
* A placeholder for the input field.
|
11250
11286
|
*/
|
@@ -11275,6 +11311,7 @@ declare module "question_textbase" {
|
|
11275
11311
|
localeChanged(): void;
|
11276
11312
|
protected calcRenderedPlaceholder(): void;
|
11277
11313
|
protected hasPlaceHolder(): boolean;
|
11314
|
+
protected setNewValue(newValue: any): void;
|
11278
11315
|
getControlClass(): string;
|
11279
11316
|
get ariaRole(): string;
|
11280
11317
|
}
|
@@ -11426,6 +11463,11 @@ declare module "question_multipletext" {
|
|
11426
11463
|
getItemDefaultValue(name: string): any;
|
11427
11464
|
getIsRequiredText(): string;
|
11428
11465
|
}
|
11466
|
+
/**
|
11467
|
+
* A class that describes an item in a [Multiple Text](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
|
11468
|
+
*
|
11469
|
+
* [View Demo](/form-library/examples/multiple-text-box-question/)
|
11470
|
+
*/
|
11429
11471
|
export class MultipleTextItemModel extends Base implements IValidatorOwner, ISurveyData, ISurveyImpl {
|
11430
11472
|
private editorValue;
|
11431
11473
|
private data;
|
@@ -11850,6 +11892,7 @@ declare module "dropdownMultiSelectListModel" {
|
|
11850
11892
|
import { MultiSelectListModel } from "multiSelectListModel";
|
11851
11893
|
import { Question } from "question";
|
11852
11894
|
export class DropdownMultiSelectListModel extends DropdownListModel {
|
11895
|
+
protected popupCssClasses: string;
|
11853
11896
|
filterStringPlaceholder: string;
|
11854
11897
|
closeOnSelect: boolean;
|
11855
11898
|
private updateListState;
|
@@ -12109,7 +12152,6 @@ declare module "question_ranking" {
|
|
12109
12152
|
import { DragDropRankingChoices } from "dragdrop/ranking-choices";
|
12110
12153
|
import { ItemValue } from "itemvalue";
|
12111
12154
|
import { QuestionCheckboxModel } from "question_checkbox";
|
12112
|
-
import { QuestionSelectBase } from "question_baseselect";
|
12113
12155
|
/**
|
12114
12156
|
* A class that describes the Ranking question type.
|
12115
12157
|
*
|
@@ -12125,6 +12167,7 @@ declare module "question_ranking" {
|
|
12125
12167
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
12126
12168
|
protected isItemCurrentDropTarget(item: ItemValue): boolean;
|
12127
12169
|
get ghostPositionCssClass(): string;
|
12170
|
+
getItemIndexClasses(): string;
|
12128
12171
|
getNumberByIndex(index: number): string;
|
12129
12172
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
12130
12173
|
isAnswerCorrect(): boolean;
|
@@ -12152,10 +12195,6 @@ declare module "question_ranking" {
|
|
12152
12195
|
private handleArrowDown;
|
12153
12196
|
private focusItem;
|
12154
12197
|
setValue: () => void;
|
12155
|
-
protected getChoicesFromQuestion(question: QuestionSelectBase): Array<ItemValue>;
|
12156
|
-
private setValueFromUI;
|
12157
|
-
private syncNumbers;
|
12158
|
-
private setGhostText;
|
12159
12198
|
getIconHoverCss(): string;
|
12160
12199
|
getIconFocusCss(): string;
|
12161
12200
|
/**
|
@@ -12445,6 +12484,7 @@ declare module "question_radiogroup" {
|
|
12445
12484
|
get clearButtonCaption(): string;
|
12446
12485
|
supportGoNextPageAutomatic(): boolean;
|
12447
12486
|
get showClearButtonInContent(): boolean;
|
12487
|
+
clickItemHandler(item: ItemValue): void;
|
12448
12488
|
protected getDefaultTitleActions(): Array<Action>;
|
12449
12489
|
}
|
12450
12490
|
}
|
@@ -12593,7 +12633,7 @@ declare module "question_rating" {
|
|
12593
12633
|
get locPlaceholder(): LocalizableString;
|
12594
12634
|
get allowClear(): boolean;
|
12595
12635
|
get searchEnabled(): boolean;
|
12596
|
-
get renderedValue():
|
12636
|
+
get renderedValue(): any;
|
12597
12637
|
set renderedValue(val: any);
|
12598
12638
|
isItemSelected(item: ItemValue): boolean;
|
12599
12639
|
get visibleChoices(): ItemValue[];
|
@@ -12612,6 +12652,7 @@ declare module "question_rating" {
|
|
12612
12652
|
declare module "question_boolean" {
|
12613
12653
|
import { Question } from "question";
|
12614
12654
|
import { LocalizableString } from "localizablestring";
|
12655
|
+
import { ActionContainer } from "actions/container";
|
12615
12656
|
/**
|
12616
12657
|
* A class that describes the Boolean question type.
|
12617
12658
|
*
|
@@ -12703,6 +12744,7 @@ declare module "question_boolean" {
|
|
12703
12744
|
getRadioItemClass(css: any, value: any): string;
|
12704
12745
|
protected supportResponsiveness(): boolean;
|
12705
12746
|
protected getCompactRenderAs(): string;
|
12747
|
+
protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
|
12706
12748
|
}
|
12707
12749
|
}
|
12708
12750
|
declare module "question_image" {
|
@@ -13045,6 +13087,19 @@ declare module "question_custom" {
|
|
13045
13087
|
* An HTML element that represents a nested question.
|
13046
13088
|
*/
|
13047
13089
|
onAfterRenderContentElement?(question: Question, element: Question, htmlElement: any): void;
|
13090
|
+
/**
|
13091
|
+
* A function that is called each time a question nested within a [composite question](https://surveyjs.io/Documentation/Survey-Creator?id=create-composite-question-types) requires an update of its CSS classes.
|
13092
|
+
*
|
13093
|
+
* Parameters:
|
13094
|
+
*
|
13095
|
+
* - `question`: [Question](https://surveyjs.io/Documentation/Library?id=Question)\
|
13096
|
+
* A composite question.
|
13097
|
+
* - `element`: [Question](https://surveyjs.io/Documentation/Library?id=Question)\
|
13098
|
+
* A nested question.
|
13099
|
+
* - `cssClasses`: `any`\
|
13100
|
+
* An object with CSS classes applied to a nested question, for example, `{ root: "class1", button: "class2" }`. You can modify this object to apply custom CSS classes.
|
13101
|
+
*/
|
13102
|
+
onUpdateQuestionCssClasses?(question: Question, element: Question, cssClasses: any): void;
|
13048
13103
|
/**
|
13049
13104
|
* A function that is called when a custom question type property is changed. Use it to handle property changes.
|
13050
13105
|
*
|
@@ -13129,6 +13184,7 @@ declare module "question_custom" {
|
|
13129
13184
|
onLoaded(question: Question): void;
|
13130
13185
|
onAfterRender(question: Question, htmlElement: any): void;
|
13131
13186
|
onAfterRenderContentElement(question: Question, element: Question, htmlElement: any): void;
|
13187
|
+
onUpdateQuestionCssClasses(question: Question, element: Question, css: any): void;
|
13132
13188
|
onPropertyChanged(question: Question, propertyName: string, newValue: any): void;
|
13133
13189
|
onValueChanged(question: Question, name: string, newValue: any): void;
|
13134
13190
|
onItemValuePropertyChanged(question: Question, item: ItemValue, propertyName: string, name: string, newValue: any): void;
|
@@ -13165,6 +13221,7 @@ declare module "question_custom" {
|
|
13165
13221
|
onSurveyLoad(): void;
|
13166
13222
|
afterRenderQuestionElement(el: HTMLElement): void;
|
13167
13223
|
afterRender(el: any): void;
|
13224
|
+
protected onUpdateQuestionCssClasses(element: Question, css: any): void;
|
13168
13225
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
13169
13226
|
protected setNewValue(newValue: any): void;
|
13170
13227
|
getSurveyData(): ISurveyData;
|
@@ -13505,7 +13562,7 @@ declare module "entries/chunks/model" {
|
|
13505
13562
|
export { QuestionRadiogroupModel } from "question_radiogroup";
|
13506
13563
|
export { QuestionRatingModel, RenderedRatingItem } from "question_rating";
|
13507
13564
|
export { QuestionExpressionModel } from "question_expression";
|
13508
|
-
export { QuestionTextBase } from "question_textbase";
|
13565
|
+
export { QuestionTextBase, CharacterCounter } from "question_textbase";
|
13509
13566
|
export { QuestionTextModel } from "question_text";
|
13510
13567
|
export { QuestionBooleanModel } from "question_boolean";
|
13511
13568
|
export { QuestionImagePickerModel, ImageItemValue } from "question_imagepicker";
|
@@ -13684,6 +13741,7 @@ declare module "defaultCss/cssstandard" {
|
|
13684
13741
|
item: string;
|
13685
13742
|
itemContent: string;
|
13686
13743
|
itemIndex: string;
|
13744
|
+
itemIndexEmptyMode: string;
|
13687
13745
|
controlLabel: string;
|
13688
13746
|
itemGhostNode: string;
|
13689
13747
|
itemIconContainer: string;
|
@@ -13693,7 +13751,9 @@ declare module "defaultCss/cssstandard" {
|
|
13693
13751
|
itemGhostMod: string;
|
13694
13752
|
itemDragMod: string;
|
13695
13753
|
};
|
13696
|
-
comment:
|
13754
|
+
comment: {
|
13755
|
+
remainingCharacterCounter: string;
|
13756
|
+
};
|
13697
13757
|
dropdown: {
|
13698
13758
|
root: string;
|
13699
13759
|
popup: string;
|
@@ -13840,7 +13900,10 @@ declare module "defaultCss/cssstandard" {
|
|
13840
13900
|
itemText: string;
|
13841
13901
|
maxText: string;
|
13842
13902
|
};
|
13843
|
-
text:
|
13903
|
+
text: {
|
13904
|
+
root: string;
|
13905
|
+
remainingCharacterCounter: string;
|
13906
|
+
};
|
13844
13907
|
expression: string;
|
13845
13908
|
file: {
|
13846
13909
|
root: string;
|
@@ -14063,6 +14126,7 @@ declare module "defaultCss/cssmodern" {
|
|
14063
14126
|
item: string;
|
14064
14127
|
itemContent: string;
|
14065
14128
|
itemIndex: string;
|
14129
|
+
itemIndexEmptyMode: string;
|
14066
14130
|
controlLabel: string;
|
14067
14131
|
itemGhostNode: string;
|
14068
14132
|
itemIconContainer: string;
|
@@ -14131,6 +14195,7 @@ declare module "defaultCss/cssmodern" {
|
|
14131
14195
|
text: {
|
14132
14196
|
root: string;
|
14133
14197
|
small: string;
|
14198
|
+
remainingCharacterCounter: string;
|
14134
14199
|
onError: string;
|
14135
14200
|
};
|
14136
14201
|
multipletext: {
|
@@ -14269,6 +14334,7 @@ declare module "defaultCss/cssmodern" {
|
|
14269
14334
|
comment: {
|
14270
14335
|
root: string;
|
14271
14336
|
small: string;
|
14337
|
+
remainingCharacterCounter: string;
|
14272
14338
|
};
|
14273
14339
|
expression: string;
|
14274
14340
|
file: {
|
@@ -14501,6 +14567,7 @@ declare module "plugins/themes/bootstrap/cssbootstrap" {
|
|
14501
14567
|
item: string;
|
14502
14568
|
itemContent: string;
|
14503
14569
|
itemIndex: string;
|
14570
|
+
itemIndexEmptyMode: string;
|
14504
14571
|
controlLabel: string;
|
14505
14572
|
itemGhostNode: string;
|
14506
14573
|
itemIconContainer: string;
|
@@ -14845,6 +14912,7 @@ declare module "plugins/themes/bootstrapmaterial/cssbootstrapmaterial" {
|
|
14845
14912
|
item: string;
|
14846
14913
|
itemContent: string;
|
14847
14914
|
itemIndex: string;
|
14915
|
+
itemIndexEmptyMode: string;
|
14848
14916
|
controlLabel: string;
|
14849
14917
|
itemGhostNode: string;
|
14850
14918
|
itemIconContainer: string;
|
@@ -15305,6 +15373,7 @@ declare module "entries/plugins" {
|
|
15305
15373
|
item: string;
|
15306
15374
|
itemContent: string;
|
15307
15375
|
itemIndex: string;
|
15376
|
+
itemIndexEmptyMode: string;
|
15308
15377
|
controlLabel: string;
|
15309
15378
|
itemGhostNode: string;
|
15310
15379
|
itemIconContainer: string;
|
@@ -15647,6 +15716,7 @@ declare module "entries/plugins" {
|
|
15647
15716
|
item: string;
|
15648
15717
|
itemContent: string;
|
15649
15718
|
itemIndex: string;
|
15719
|
+
itemIndexEmptyMode: string;
|
15650
15720
|
controlLabel: string;
|
15651
15721
|
itemGhostNode: string;
|
15652
15722
|
itemIconContainer: string;
|
@@ -19471,6 +19541,18 @@ declare module "react/reactquestion_factory" {
|
|
19471
19541
|
createQuestion(questionType: string, params: any): JSX.Element | null;
|
19472
19542
|
}
|
19473
19543
|
}
|
19544
|
+
declare module "react/components/character-counter" {
|
19545
|
+
import { Base, CharacterCounter } from "entries/core";
|
19546
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
19547
|
+
export interface ICharacterCounterComponentProps {
|
19548
|
+
counter: CharacterCounter;
|
19549
|
+
remainingCharacterCounter: string;
|
19550
|
+
}
|
19551
|
+
export class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {
|
19552
|
+
protected getStateElement(): Base;
|
19553
|
+
renderElement(): JSX.Element | null;
|
19554
|
+
}
|
19555
|
+
}
|
19474
19556
|
declare module "react/reactquestion_comment" {
|
19475
19557
|
import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "react/reactquestion_element";
|
19476
19558
|
import { QuestionCommentModel } from "entries/core";
|
@@ -20509,15 +20591,33 @@ declare module "react/reactSurveyProgressButtons" {
|
|
20509
20591
|
componentWillUnmount(): void;
|
20510
20592
|
}
|
20511
20593
|
}
|
20594
|
+
declare module "react/components/rating/rating-item" {
|
20595
|
+
import { QuestionRatingModel, RenderedRatingItem } from "entries/core";
|
20596
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
20597
|
+
interface IRatingItemProps {
|
20598
|
+
question: QuestionRatingModel;
|
20599
|
+
data: RenderedRatingItem;
|
20600
|
+
index: any;
|
20601
|
+
handleOnClick: any;
|
20602
|
+
isDisplayMode: boolean;
|
20603
|
+
}
|
20604
|
+
export class RatingItem extends SurveyElementBase<IRatingItemProps, any> {
|
20605
|
+
get question(): QuestionRatingModel;
|
20606
|
+
get item(): RenderedRatingItem;
|
20607
|
+
get index(): any;
|
20608
|
+
getStateElement(): RenderedRatingItem;
|
20609
|
+
render(): JSX.Element | null;
|
20610
|
+
componentDidMount(): void;
|
20611
|
+
}
|
20612
|
+
}
|
20512
20613
|
declare module "react/reactquestion_rating" {
|
20513
20614
|
import { SurveyQuestionElementBase } from "react/reactquestion_element";
|
20514
|
-
import { QuestionRatingModel
|
20615
|
+
import { QuestionRatingModel } from "entries/core";
|
20515
20616
|
export class SurveyQuestionRating extends SurveyQuestionElementBase {
|
20516
20617
|
constructor(props: any);
|
20517
20618
|
protected get question(): QuestionRatingModel;
|
20518
20619
|
handleOnClick(event: any): void;
|
20519
20620
|
protected renderElement(): JSX.Element;
|
20520
|
-
protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any): JSX.Element;
|
20521
20621
|
}
|
20522
20622
|
}
|
20523
20623
|
declare module "react/rating-dropdown" {
|
@@ -20810,6 +20910,7 @@ declare module "entries/react-ui-model" {
|
|
20810
20910
|
export { MatrixRow } from "react/components/matrix/row";
|
20811
20911
|
export { Skeleton } from "react/components/skeleton";
|
20812
20912
|
export { NotifierComponent } from "react/components/notifier";
|
20913
|
+
export { CharacterCounterComponent } from "react/components/character-counter";
|
20813
20914
|
export { SurveyLocStringViewer } from "react/string-viewer";
|
20814
20915
|
export { SurveyLocStringEditor } from "react/string-editor";
|
20815
20916
|
}
|