survey-react 1.12.12 → 1.12.14
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 +49 -12
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +20 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +16 -1
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +65 -43
- package/survey.react.js +437 -276
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -61,6 +61,7 @@ declare module "packages/survey-core/src/helpers" {
|
|
61
61
|
static getNumberByIndex(index: number, startIndexStr: string, parentIndex?: number): string;
|
62
62
|
static isCharNotLetterAndDigit(ch: string): boolean;
|
63
63
|
static isCharDigit(ch: string): boolean;
|
64
|
+
static isDigitsOnly(str: string): boolean;
|
64
65
|
private static getNumberFromStr;
|
65
66
|
private static countDecimals;
|
66
67
|
static correctAfterPlusMinis(a: number, b: number, res: number): number;
|
@@ -950,6 +951,7 @@ declare module "packages/survey-core/src/utils/utils" {
|
|
950
951
|
function findParentByClassNames(element: HTMLElement, classNames: Array<string>): Element;
|
951
952
|
export function sanitizeEditableContent(element: any, cleanLineBreaks?: boolean): void;
|
952
953
|
function mergeValues(src: any, dest: any): void;
|
954
|
+
function updateListCssValues(res: any, css: any): void;
|
953
955
|
export class Logger {
|
954
956
|
private _result;
|
955
957
|
log(action: string): void;
|
@@ -982,7 +984,7 @@ declare module "packages/survey-core/src/utils/utils" {
|
|
982
984
|
export function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
983
985
|
export function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
984
986
|
export function roundTo2Decimals(number: number): number;
|
985
|
-
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles, isBase64URL, renamedIcons };
|
987
|
+
export { mergeValues, updateListCssValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles, isBase64URL, renamedIcons };
|
986
988
|
}
|
987
989
|
declare module "packages/survey-core/src/actions/container" {
|
988
990
|
import { Base } from "packages/survey-core/src/base";
|
@@ -1066,6 +1068,7 @@ declare module "packages/survey-core/src/list" {
|
|
1066
1068
|
loadingIndicator: string;
|
1067
1069
|
itemSelected: string;
|
1068
1070
|
itemGroup: string;
|
1071
|
+
itemGroupSelected: string;
|
1069
1072
|
itemWithIcon: string;
|
1070
1073
|
itemDisabled: string;
|
1071
1074
|
itemFocused: string;
|
@@ -1091,6 +1094,7 @@ declare module "packages/survey-core/src/list" {
|
|
1091
1094
|
selectedItem?: IAction;
|
1092
1095
|
elementId?: string;
|
1093
1096
|
locOwner?: ILocalizableOwner;
|
1097
|
+
cssClasses?: any;
|
1094
1098
|
onFilterStringChangedCallback?: (text: string) => void;
|
1095
1099
|
onTextSearchCallback?: (item: IAction, textToSearch: string) => boolean;
|
1096
1100
|
}
|
@@ -1125,11 +1129,13 @@ declare module "packages/survey-core/src/list" {
|
|
1125
1129
|
get visibleItems(): Array<T>;
|
1126
1130
|
private get shouldProcessFilter();
|
1127
1131
|
private onFilterStringChanged;
|
1132
|
+
private updateIsEmpty;
|
1128
1133
|
private scrollToItem;
|
1129
1134
|
constructor(items: Array<IAction> | IListModel, onSelectionChanged?: (item: T, ...params: any[]) => void, allowSelection?: boolean, selectedItem?: IAction, elementId?: string);
|
1130
1135
|
setOnFilterStringChangedCallback(callback: (text: string) => void): void;
|
1131
1136
|
setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
|
1132
1137
|
setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
|
1138
|
+
private updateActionsIds;
|
1133
1139
|
setSearchEnabled(newValue: boolean): void;
|
1134
1140
|
protected onSet(): void;
|
1135
1141
|
protected getDefaultCssClasses(): {
|
@@ -1139,6 +1145,7 @@ declare module "packages/survey-core/src/list" {
|
|
1139
1145
|
loadingIndicator: string;
|
1140
1146
|
itemSelected: string;
|
1141
1147
|
itemGroup: string;
|
1148
|
+
itemGroupSelected: string;
|
1142
1149
|
itemWithIcon: string;
|
1143
1150
|
itemDisabled: string;
|
1144
1151
|
itemFocused: string;
|
@@ -1346,7 +1353,6 @@ declare module "packages/survey-core/src/actions/action" {
|
|
1346
1353
|
elementId?: string;
|
1347
1354
|
items?: Array<IAction>;
|
1348
1355
|
markerIconName?: string;
|
1349
|
-
markerIconSize?: number;
|
1350
1356
|
showPopup?: () => void;
|
1351
1357
|
hidePopup?: () => void;
|
1352
1358
|
}
|
@@ -1386,7 +1392,6 @@ declare module "packages/survey-core/src/actions/action" {
|
|
1386
1392
|
iconName: string;
|
1387
1393
|
iconSize: number | string;
|
1388
1394
|
markerIconName: string;
|
1389
|
-
markerIconSize: number;
|
1390
1395
|
css?: string;
|
1391
1396
|
minDimension: number;
|
1392
1397
|
maxDimension: number;
|
@@ -3114,7 +3119,7 @@ declare module "packages/survey-core/src/question_custom" {
|
|
3114
3119
|
protected createWrapper(): void;
|
3115
3120
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
3116
3121
|
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
3117
|
-
|
3122
|
+
protected onFirstRenderingCore(): void;
|
3118
3123
|
onHidingContent(): void;
|
3119
3124
|
getProgressInfo(): IProgressInfo;
|
3120
3125
|
protected abstract getElement(): SurveyElement;
|
@@ -3397,8 +3402,8 @@ declare module "packages/survey-core/src/panel" {
|
|
3397
3402
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
3398
3403
|
endLoadingFromJson(): void;
|
3399
3404
|
showTitle: boolean;
|
3400
|
-
hasTextInTitle: boolean;
|
3401
|
-
|
3405
|
+
get hasTextInTitle(): boolean;
|
3406
|
+
private resetHasTextInTitle;
|
3402
3407
|
get hasTitle(): boolean;
|
3403
3408
|
delete(doDispose?: boolean): void;
|
3404
3409
|
private deletePanel;
|
@@ -3643,7 +3648,7 @@ declare module "packages/survey-core/src/panel" {
|
|
3643
3648
|
createRowAndSetLazy(index: number): QuestionRowModel;
|
3644
3649
|
createRow(): QuestionRowModel;
|
3645
3650
|
onSurveyLoad(): void;
|
3646
|
-
|
3651
|
+
protected onFirstRenderingCore(): void;
|
3647
3652
|
updateRows(): void;
|
3648
3653
|
get rows(): Array<QuestionRowModel>;
|
3649
3654
|
ensureRowsVisibility(): void;
|
@@ -3807,8 +3812,6 @@ declare module "packages/survey-core/src/panel" {
|
|
3807
3812
|
getType(): string;
|
3808
3813
|
get contentId(): string;
|
3809
3814
|
getSurvey(live?: boolean): ISurvey;
|
3810
|
-
onSurveyLoad(): void;
|
3811
|
-
protected onSetData(): void;
|
3812
3815
|
get isPanel(): boolean;
|
3813
3816
|
/**
|
3814
3817
|
* Returns a page to which the panel belongs and allows you to move this panel to a different page.
|
@@ -3894,7 +3897,9 @@ declare module "packages/survey-core/src/panel" {
|
|
3894
3897
|
set allowAdaptiveActions(val: boolean);
|
3895
3898
|
get innerPaddingLeft(): string;
|
3896
3899
|
set innerPaddingLeft(val: string);
|
3897
|
-
|
3900
|
+
protected calcPaddingLeft(): string;
|
3901
|
+
protected calcPaddingRight(): string;
|
3902
|
+
protected resetIndents(): void;
|
3898
3903
|
private getIndentSize;
|
3899
3904
|
clearOnDeletingContainer(): void;
|
3900
3905
|
get footerActions(): Array<IAction>;
|
@@ -4202,6 +4207,7 @@ declare module "packages/survey-core/src/question_file" {
|
|
4202
4207
|
private cameraValue;
|
4203
4208
|
protected get camera(): Camera;
|
4204
4209
|
canPreviewImage(fileItem: any): boolean;
|
4210
|
+
private prevLoadedPreviewValue;
|
4205
4211
|
protected loadPreview(newValue: any): void;
|
4206
4212
|
private allFilesOk;
|
4207
4213
|
private isFileImage;
|
@@ -4467,7 +4473,7 @@ declare module "packages/survey-core/src/utils/text-area" {
|
|
4467
4473
|
export class TextAreaModel {
|
4468
4474
|
private options;
|
4469
4475
|
private element;
|
4470
|
-
|
4476
|
+
updateElement(): void;
|
4471
4477
|
private onPropertyChangedCallback;
|
4472
4478
|
constructor(options: ITextArea);
|
4473
4479
|
setElement(element: HTMLTextAreaElement | null): void;
|
@@ -4512,8 +4518,8 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4512
4518
|
export class QuestionSelectBase extends Question {
|
4513
4519
|
visibleChoicesChangedCallback: () => void;
|
4514
4520
|
loadedChoicesFromServerCallback: () => void;
|
4515
|
-
otherTextAreaModel: TextAreaModel;
|
4516
4521
|
renderedChoicesChangedCallback: () => void;
|
4522
|
+
private otherTextAreaModelValue;
|
4517
4523
|
private filteredChoicesValue;
|
4518
4524
|
private conditionChoicesVisibleIfRunner;
|
4519
4525
|
private conditionChoicesEnableIfRunner;
|
@@ -4531,10 +4537,11 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4531
4537
|
private waitingGetChoiceDisplayValueResponse;
|
4532
4538
|
private get waitingChoicesByURL();
|
4533
4539
|
protected selectedItemValues: any;
|
4534
|
-
private getOtherTextAreaOptions;
|
4535
4540
|
constructor(name: string);
|
4536
4541
|
getType(): string;
|
4537
4542
|
dispose(): void;
|
4543
|
+
get otherTextAreaModel(): TextAreaModel;
|
4544
|
+
private getOtherTextAreaOptions;
|
4538
4545
|
protected resetDependedQuestion(): void;
|
4539
4546
|
get otherId(): string;
|
4540
4547
|
protected getCommentElementsId(): Array<string>;
|
@@ -5024,8 +5031,6 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
5024
5031
|
*/
|
5025
5032
|
get itemComponent(): string;
|
5026
5033
|
set itemComponent(value: string);
|
5027
|
-
protected updateCssClasses(res: any, css: any): void;
|
5028
|
-
protected calcCssClasses(css: any): any;
|
5029
5034
|
}
|
5030
5035
|
/**
|
5031
5036
|
* A base class for multiple-selection question types that can display choice items in multiple columns ([Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Image Picker](https://surveyjs.io/form-library/documentation/questionimagepickermodel)).
|
@@ -6694,7 +6699,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6694
6699
|
/**
|
6695
6700
|
* A placeholder for tab titles that applies when the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) expression doesn't produce a meaningful value.
|
6696
6701
|
*
|
6697
|
-
* Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
6702
|
+
* Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/01bd8abd0c574719956d4d579d48c8010cd389d4/packages/survey-core/src/localization))
|
6698
6703
|
*/
|
6699
6704
|
get tabTitlePlaceholder(): string;
|
6700
6705
|
set tabTitlePlaceholder(newValue: string);
|
@@ -6797,7 +6802,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6797
6802
|
/**
|
6798
6803
|
* An error message displayed when users enter a duplicate value into a question that accepts only unique values (`isUnique` is set to `true` or `keyName` is specified).
|
6799
6804
|
*
|
6800
|
-
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
6805
|
+
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/01bd8abd0c574719956d4d579d48c8010cd389d4/packages/survey-core/src/localization). Refer to the following help topic for more information: [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization).
|
6801
6806
|
* @see keyName
|
6802
6807
|
*/
|
6803
6808
|
get keyDuplicationError(): string;
|
@@ -7157,10 +7162,10 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
7157
7162
|
private get showAddPanelButton();
|
7158
7163
|
private get wasNotRenderedInSurvey();
|
7159
7164
|
private get canBuildPanels();
|
7160
|
-
|
7165
|
+
protected onFirstRenderingCore(): void;
|
7161
7166
|
localeChanged(): void;
|
7162
7167
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
7163
|
-
runTriggers(name: string, value: any): void;
|
7168
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
7164
7169
|
private reRunCondition;
|
7165
7170
|
protected runPanelsCondition(panels: PanelModel[], values: HashTable<any>, properties: HashTable<any>): void;
|
7166
7171
|
onAnyValueChanged(name: string, questionName: string): void;
|
@@ -8559,7 +8564,6 @@ declare module "packages/survey-core/src/page" {
|
|
8559
8564
|
get passed(): boolean;
|
8560
8565
|
set passed(val: boolean);
|
8561
8566
|
protected removeFromParent(): void;
|
8562
|
-
onFirstRendering(): void;
|
8563
8567
|
/**
|
8564
8568
|
* The visible index of the page. It has values from 0 to visible page count - 1.
|
8565
8569
|
* @see SurveyModel.visiblePages
|
@@ -8833,7 +8837,6 @@ declare module "packages/survey-core/src/question_textbase" {
|
|
8833
8837
|
import { CssClassBuilder } from "packages/survey-core/src/utils/cssClassBuilder";
|
8834
8838
|
import { LocalizableString } from "packages/survey-core/src/localizablestring";
|
8835
8839
|
import { Base } from "packages/survey-core/src/base";
|
8836
|
-
import { ISurveyImpl } from "packages/survey-core/src/base-interfaces";
|
8837
8840
|
export class CharacterCounter extends Base {
|
8838
8841
|
remainingCharacterCounter: string;
|
8839
8842
|
updateRemainingCharacterCounter(newValue: string, maxLength: number): void;
|
@@ -8878,13 +8881,10 @@ declare module "packages/survey-core/src/question_textbase" {
|
|
8878
8881
|
set textUpdateMode(val: string);
|
8879
8882
|
protected getIsInputTextUpdate(): boolean;
|
8880
8883
|
get renderedPlaceholder(): string;
|
8881
|
-
protected setRenderedPlaceholder(val: string): void;
|
8882
8884
|
protected onReadOnlyChanged(): void;
|
8883
|
-
onSurveyLoad(): void;
|
8884
8885
|
localeChanged(): void;
|
8885
|
-
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
8886
8886
|
protected supportEmptyValidation(): boolean;
|
8887
|
-
protected
|
8887
|
+
protected resetRenderedPlaceholder(): void;
|
8888
8888
|
protected hasPlaceholder(): boolean;
|
8889
8889
|
protected setNewValue(newValue: any): void;
|
8890
8890
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
@@ -12206,6 +12206,7 @@ declare module "packages/survey-core/src/survey" {
|
|
12206
12206
|
*/
|
12207
12207
|
runExpressions(): void;
|
12208
12208
|
private runConditions;
|
12209
|
+
private questionTriggersKeys;
|
12209
12210
|
private runConditionOnValueChanged;
|
12210
12211
|
private runConditionsCore;
|
12211
12212
|
private runQuestionsTriggers;
|
@@ -12488,6 +12489,10 @@ declare module "packages/survey-core/src/survey" {
|
|
12488
12489
|
get width(): string;
|
12489
12490
|
set width(val: string);
|
12490
12491
|
get renderedWidth(): string;
|
12492
|
+
widthScale: number;
|
12493
|
+
responsiveStartWidth: number;
|
12494
|
+
setResponsiveStartWidth(width: number): void;
|
12495
|
+
get isScaled(): boolean;
|
12491
12496
|
get timerInfo(): {
|
12492
12497
|
spent: number;
|
12493
12498
|
limit?: number;
|
@@ -12880,6 +12885,7 @@ declare module "packages/survey-core/src/survey-element" {
|
|
12880
12885
|
getTitleActions(): Array<any>;
|
12881
12886
|
protected getDefaultTitleActions(): Array<IAction>;
|
12882
12887
|
private updateTitleActions;
|
12888
|
+
locStrsChanged(): void;
|
12883
12889
|
get hasTitleActions(): boolean;
|
12884
12890
|
get hasTitleEvents(): boolean;
|
12885
12891
|
get titleTabIndex(): number;
|
@@ -12922,9 +12928,10 @@ declare module "packages/survey-core/src/survey-element" {
|
|
12922
12928
|
set readOnly(val: boolean);
|
12923
12929
|
protected onReadOnlyChanged(): void;
|
12924
12930
|
private get css();
|
12931
|
+
private isCssValueCalculating;
|
12925
12932
|
get cssClassesValue(): any;
|
12926
|
-
set cssClassesValue(val: any);
|
12927
12933
|
private ensureCssClassesValue;
|
12934
|
+
private createCssClassesValue;
|
12928
12935
|
/**
|
12929
12936
|
* Returns an object in which keys are UI elements and values are CSS classes applied to them.
|
12930
12937
|
*
|
@@ -12979,6 +12986,7 @@ declare module "packages/survey-core/src/survey-element" {
|
|
12979
12986
|
private wasRenderedValue;
|
12980
12987
|
get wasRendered(): boolean;
|
12981
12988
|
onFirstRendering(): void;
|
12989
|
+
protected onFirstRenderingCore(): void;
|
12982
12990
|
endLoadingFromJson(): void;
|
12983
12991
|
setVisibleIndex(index: number): number;
|
12984
12992
|
delete(doDispose: boolean): void;
|
@@ -13073,9 +13081,11 @@ declare module "packages/survey-core/src/survey-element" {
|
|
13073
13081
|
set rightIndent(val: number);
|
13074
13082
|
getRootStyle(): object;
|
13075
13083
|
get paddingLeft(): string;
|
13076
|
-
|
13084
|
+
protected calcPaddingLeft(): string;
|
13077
13085
|
get paddingRight(): string;
|
13078
13086
|
set paddingRight(val: string);
|
13087
|
+
protected calcPaddingRight(): string;
|
13088
|
+
protected resetIndents(): void;
|
13079
13089
|
allowRootStyle: boolean;
|
13080
13090
|
rootStyle: any;
|
13081
13091
|
updateRootStyle(): void;
|
@@ -13250,8 +13260,7 @@ declare module "packages/survey-core/src/question" {
|
|
13250
13260
|
private isReadyValue;
|
13251
13261
|
private commentElements;
|
13252
13262
|
private dependedQuestions;
|
13253
|
-
|
13254
|
-
private getCommentTextAreaOptions;
|
13263
|
+
private commentTextAreaModelValue;
|
13255
13264
|
/**
|
13256
13265
|
* An event that is raised when the question's ready state has changed (expressions are evaluated, choices are loaded from a web resource specified by the `choicesByUrl` property, etc.).
|
13257
13266
|
*
|
@@ -13279,6 +13288,8 @@ declare module "packages/survey-core/src/question" {
|
|
13279
13288
|
constructor(name: string);
|
13280
13289
|
protected getDefaultTitle(): string;
|
13281
13290
|
protected createLocTitleProperty(): LocalizableString;
|
13291
|
+
get commentTextAreaModel(): TextAreaModel;
|
13292
|
+
private getCommentTextAreaOptions;
|
13282
13293
|
getSurvey(live?: boolean): ISurvey;
|
13283
13294
|
getValueName(): string;
|
13284
13295
|
/**
|
@@ -13428,7 +13439,7 @@ declare module "packages/survey-core/src/question" {
|
|
13428
13439
|
private triggersInfo;
|
13429
13440
|
private addTriggerInfo;
|
13430
13441
|
private runTriggerInfo;
|
13431
|
-
runTriggers(name: string, value: any): void;
|
13442
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
13432
13443
|
private runConditions;
|
13433
13444
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
13434
13445
|
/**
|
@@ -13550,7 +13561,7 @@ declare module "packages/survey-core/src/question" {
|
|
13550
13561
|
get commentPlaceHolder(): string;
|
13551
13562
|
set commentPlaceHolder(newValue: string);
|
13552
13563
|
get renderedCommentPlaceholder(): string;
|
13553
|
-
private
|
13564
|
+
private resetRenderedCommentPlaceholder;
|
13554
13565
|
getAllErrors(): Array<SurveyError>;
|
13555
13566
|
getErrorByType(errorType: string): SurveyError;
|
13556
13567
|
get customWidget(): QuestionCustomWidget;
|
@@ -13615,7 +13626,8 @@ declare module "packages/survey-core/src/question" {
|
|
13615
13626
|
protected updateCssClasses(res: any, css: any): void;
|
13616
13627
|
protected getCssType(): string;
|
13617
13628
|
get renderCssRoot(): string;
|
13618
|
-
|
13629
|
+
protected calcPaddingLeft(): string;
|
13630
|
+
protected calcPaddingRight(): string;
|
13619
13631
|
private getIndentSize;
|
13620
13632
|
/**
|
13621
13633
|
* Moves focus to the input field of this question.
|
@@ -14733,7 +14745,7 @@ declare module "packages/survey-core/src/question_matrixdropdownbase" {
|
|
14733
14745
|
localeChanged(): void;
|
14734
14746
|
private runFuncForCellQuestions;
|
14735
14747
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
14736
|
-
runTriggers(name: string, value: any): void;
|
14748
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
14737
14749
|
updateElementVisibility(): void;
|
14738
14750
|
protected shouldRunColumnExpression(): boolean;
|
14739
14751
|
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
@@ -14787,7 +14799,7 @@ declare module "packages/survey-core/src/question_matrixdropdownbase" {
|
|
14787
14799
|
/**
|
14788
14800
|
* An error message displayed when users enter a duplicate value into a column that accepts only unique values (`isUnique` is set to `true` or `keyName` is specified).
|
14789
14801
|
*
|
14790
|
-
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
14802
|
+
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/01bd8abd0c574719956d4d579d48c8010cd389d4/packages/survey-core/src/localization). Refer to the following help topic for more information: [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization).
|
14791
14803
|
* @see isUniqueCaseSensitive
|
14792
14804
|
*/
|
14793
14805
|
get keyDuplicationError(): string;
|
@@ -15995,7 +16007,7 @@ declare module "packages/survey-core/src/base" {
|
|
15995
16007
|
* @param name A property name.
|
15996
16008
|
* @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
|
15997
16009
|
*/
|
15998
|
-
getPropertyValue(name: string, defaultValue?: any): any;
|
16010
|
+
getPropertyValue(name: string, defaultValue?: any, calcFunc?: () => any): any;
|
15999
16011
|
getDefaultPropertyValue(name: string): any;
|
16000
16012
|
hasDefaultPropertyValue(name: string): boolean;
|
16001
16013
|
resetPropertyValue(name: string): void;
|
@@ -16991,12 +17003,12 @@ declare module "packages/survey-core/src/dropdownListModel" {
|
|
16991
17003
|
protected getFocusFirstInputSelector(): string;
|
16992
17004
|
private itemsSettings;
|
16993
17005
|
protected listModel: ListModel<ItemValue>;
|
16994
|
-
protected popupCssClasses: string;
|
16995
17006
|
protected listModelFilterStringChanged: (newValue: string) => void;
|
16996
17007
|
private resetItemsSettings;
|
16997
17008
|
private setItems;
|
16998
17009
|
private loadQuestionChoices;
|
16999
17010
|
private updateQuestionChoices;
|
17011
|
+
private resetTimer;
|
17000
17012
|
private updatePopupFocusFirstInputSelector;
|
17001
17013
|
private getDropdownMenuOptions;
|
17002
17014
|
protected createPopup(): void;
|
@@ -17008,6 +17020,7 @@ declare module "packages/survey-core/src/dropdownListModel" {
|
|
17008
17020
|
protected setOnTextSearchCallbackForListModel(listModel: ListModel<ItemValue>): void;
|
17009
17021
|
protected createListModel(): ListModel<ItemValue>;
|
17010
17022
|
protected updateAfterListModelCreated(model: ListModel<ItemValue>): void;
|
17023
|
+
protected getPopupCssClasses(): string;
|
17011
17024
|
updateCssClasses(popupCssClass: string, listCssClasses: any): void;
|
17012
17025
|
protected resetFilterString(): void;
|
17013
17026
|
clear(): void;
|
@@ -17192,12 +17205,15 @@ declare module "packages/survey-core/src/question_dropdown" {
|
|
17192
17205
|
*/
|
17193
17206
|
choicesLazyLoadPageSize: number;
|
17194
17207
|
getControlClass(): string;
|
17208
|
+
protected updateCssClasses(res: any, css: any): void;
|
17209
|
+
protected calcCssClasses(css: any): any;
|
17195
17210
|
suggestedItem: ItemValue;
|
17196
17211
|
get selectedItemLocText(): LocalizableString;
|
17197
17212
|
get inputFieldComponentName(): string;
|
17198
17213
|
get showSelectedItemLocText(): boolean;
|
17199
17214
|
get showInputFieldComponent(): boolean;
|
17200
17215
|
private get selectedItemText();
|
17216
|
+
private get useDropdownList();
|
17201
17217
|
get dropdownListModel(): DropdownListModel;
|
17202
17218
|
set dropdownListModel(val: DropdownListModel);
|
17203
17219
|
get popupModel(): PopupModel;
|
@@ -17683,7 +17699,6 @@ declare module "packages/survey-core/src/dropdownMultiSelectListModel" {
|
|
17683
17699
|
import { MultiSelectListModel } from "packages/survey-core/src/multiSelectListModel";
|
17684
17700
|
import { Question } from "packages/survey-core/src/question";
|
17685
17701
|
export class DropdownMultiSelectListModel extends DropdownListModel {
|
17686
|
-
protected popupCssClasses: string;
|
17687
17702
|
filterStringPlaceholder: string;
|
17688
17703
|
closeOnSelect: boolean;
|
17689
17704
|
locStrsChanged(): void;
|
@@ -17691,6 +17706,7 @@ declare module "packages/survey-core/src/dropdownMultiSelectListModel" {
|
|
17691
17706
|
private syncFilterStringPlaceholder;
|
17692
17707
|
private getSelectedActions;
|
17693
17708
|
protected getFocusFirstInputSelector(): string;
|
17709
|
+
protected getPopupCssClasses(): string;
|
17694
17710
|
protected createListModel(): MultiSelectListModel<ItemValue>;
|
17695
17711
|
protected resetFilterString(): void;
|
17696
17712
|
previousValue: any;
|
@@ -17728,16 +17744,15 @@ declare module "packages/survey-core/src/question_tagbox" {
|
|
17728
17744
|
* [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle))
|
17729
17745
|
*/
|
17730
17746
|
export class QuestionTagboxModel extends QuestionCheckboxModel {
|
17731
|
-
|
17747
|
+
private dropdownListModelValue;
|
17732
17748
|
private itemDisplayNameMap;
|
17733
17749
|
private deselectAllItemText;
|
17734
17750
|
constructor(name: string);
|
17735
17751
|
locStrsChanged(): void;
|
17736
17752
|
private updateReadOnlyText;
|
17737
17753
|
protected getDefaultItemComponent(): string;
|
17738
|
-
|
17739
|
-
|
17740
|
-
private createDropdownListModel;
|
17754
|
+
get dropdownListModel(): DropdownMultiSelectListModel;
|
17755
|
+
set dropdownListModel(val: DropdownMultiSelectListModel);
|
17741
17756
|
/**
|
17742
17757
|
* Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
|
17743
17758
|
*
|
@@ -17793,6 +17808,8 @@ declare module "packages/survey-core/src/question_tagbox" {
|
|
17793
17808
|
get ariaRole(): string;
|
17794
17809
|
get popupModel(): PopupModel;
|
17795
17810
|
getControlClass(): string;
|
17811
|
+
protected updateCssClasses(res: any, css: any): void;
|
17812
|
+
protected calcCssClasses(css: any): any;
|
17796
17813
|
onOpened: EventBase<QuestionTagboxModel>;
|
17797
17814
|
onOpenedCallBack(): void;
|
17798
17815
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
@@ -18199,9 +18216,10 @@ declare module "packages/survey-core/src/question_comment" {
|
|
18199
18216
|
*/
|
18200
18217
|
export class QuestionCommentModel extends QuestionTextBase {
|
18201
18218
|
private element;
|
18202
|
-
|
18203
|
-
private getTextAreaOptions;
|
18219
|
+
private textAreaModelValue;
|
18204
18220
|
constructor(name: string);
|
18221
|
+
get textAreaModel(): TextAreaModel;
|
18222
|
+
private getTextAreaOptions;
|
18205
18223
|
/**
|
18206
18224
|
* Specifies the visible height of the comment area, measured in lines.
|
18207
18225
|
*
|
@@ -18244,6 +18262,7 @@ declare module "packages/survey-core/src/question_comment" {
|
|
18244
18262
|
onKeyDown(event: any): void;
|
18245
18263
|
protected setNewValue(newValue: string): any;
|
18246
18264
|
protected getValueSeparator(): string;
|
18265
|
+
protected notifyStateChanged(prevState: string): void;
|
18247
18266
|
get className(): string;
|
18248
18267
|
}
|
18249
18268
|
}
|
@@ -27377,10 +27396,13 @@ declare module "packages/survey-react-ui/src/components/text-area" {
|
|
27377
27396
|
viewModel: TextAreaModel;
|
27378
27397
|
}
|
27379
27398
|
export class TextAreaComponent extends SurveyElementBase<ITextAreaProps, any> {
|
27399
|
+
private textareaRef;
|
27380
27400
|
private initialValue;
|
27381
27401
|
constructor(props: ITextAreaProps);
|
27382
27402
|
get viewModel(): TextAreaModel;
|
27383
27403
|
protected canRender(): boolean;
|
27404
|
+
componentDidMount(): void;
|
27405
|
+
componentWillUnmount(): void;
|
27384
27406
|
protected renderElement(): JSX.Element;
|
27385
27407
|
}
|
27386
27408
|
}
|