survey-react 1.11.14 → 1.12.1
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 +157 -134
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +27 -41
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +92 -33
- package/survey.react.js +493 -228
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
@@ -72,6 +72,7 @@ declare module "packages/survey-core/src/helpers" {
|
|
72
72
|
static convertDateTimeToString(date: Date): string;
|
73
73
|
static convertValToQuestionVal(val: any, inputType?: string): any;
|
74
74
|
static compareVerions(ver1: string, ver2: string): number;
|
75
|
+
static isUrlYoutubeVideo(url: string): boolean;
|
75
76
|
}
|
76
77
|
}
|
77
78
|
declare module "packages/survey-core/src/localization/english" {
|
@@ -775,6 +776,7 @@ declare module "packages/survey-core/src/utils/animation" {
|
|
775
776
|
sync(newValue: T): void;
|
776
777
|
private cancelCallback;
|
777
778
|
cancel(): void;
|
779
|
+
cancelAnimations(): void;
|
778
780
|
}
|
779
781
|
export class AnimationBoolean extends AnimationProperty<boolean> {
|
780
782
|
protected animation: AnimationPropertyUtils;
|
@@ -931,6 +933,20 @@ declare module "packages/survey-core/src/utils/utils" {
|
|
931
933
|
}>;
|
932
934
|
mergedItems: Array<T>;
|
933
935
|
};
|
936
|
+
interface IVerticalDimensions {
|
937
|
+
paddingTop: string;
|
938
|
+
paddingBottom: string;
|
939
|
+
marginTop: string;
|
940
|
+
marginBottom: string;
|
941
|
+
heightTo: string;
|
942
|
+
borderTopWidth: string;
|
943
|
+
borderBottomWidth: string;
|
944
|
+
heightFrom: string;
|
945
|
+
}
|
946
|
+
export function getVerticalDimensions(el: HTMLElement): IVerticalDimensions;
|
947
|
+
export function setPropertiesOnElementForAnimation(el: HTMLElement, styles: any, prefix?: string): void;
|
948
|
+
export function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
949
|
+
export function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
934
950
|
export function roundTo2Decimals(number: number): number;
|
935
951
|
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
936
952
|
}
|
@@ -1449,7 +1465,7 @@ declare module "packages/survey-core/src/utils/responsivity-manager" {
|
|
1449
1465
|
private model;
|
1450
1466
|
private itemsSelector;
|
1451
1467
|
private dotsItemSize;
|
1452
|
-
private delayedUpdateFunction
|
1468
|
+
private delayedUpdateFunction;
|
1453
1469
|
private resizeObserver;
|
1454
1470
|
private isInitialized;
|
1455
1471
|
protected minDimensionConst: number;
|
@@ -1464,7 +1480,6 @@ declare module "packages/survey-core/src/utils/responsivity-manager" {
|
|
1464
1480
|
protected getAvailableSpace(): number;
|
1465
1481
|
protected calcItemSize(item: HTMLDivElement): number;
|
1466
1482
|
private calcMinDimension;
|
1467
|
-
private getRenderedVisibleActionsCount;
|
1468
1483
|
private calcItemsSizes;
|
1469
1484
|
protected calcActionDimensions(currentAction: Action, item: HTMLDivElement): void;
|
1470
1485
|
private get isContainerVisible();
|
@@ -1576,10 +1591,10 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1576
1591
|
edit: string;
|
1577
1592
|
};
|
1578
1593
|
panel: {
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1594
|
+
contentEnter: string;
|
1595
|
+
contentLeave: string;
|
1596
|
+
enter: string;
|
1597
|
+
leave: string;
|
1583
1598
|
asPage: string;
|
1584
1599
|
number: string;
|
1585
1600
|
title: string;
|
@@ -1640,8 +1655,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1640
1655
|
footerButtonsContainer: string;
|
1641
1656
|
panelsContainer: string;
|
1642
1657
|
panelWrapperInRow: string;
|
1643
|
-
|
1644
|
-
|
1658
|
+
panelWrapperEnter: string;
|
1659
|
+
panelWrapperLeave: string;
|
1645
1660
|
panelWrapperList: string;
|
1646
1661
|
progressBtnIcon: string;
|
1647
1662
|
noEntriesPlaceholder: string;
|
@@ -1697,16 +1712,17 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1697
1712
|
row: string;
|
1698
1713
|
rowMultiple: string;
|
1699
1714
|
rowCompact: string;
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1715
|
+
rowEnter: string;
|
1716
|
+
rowDelayedEnter: string;
|
1717
|
+
rowLeave: string;
|
1718
|
+
rowReplace: string;
|
1703
1719
|
pageRow: string;
|
1704
1720
|
question: {
|
1705
|
-
|
1706
|
-
|
1721
|
+
contentEnter: string;
|
1722
|
+
contentLeave: string;
|
1723
|
+
enter: string;
|
1724
|
+
leave: string;
|
1707
1725
|
mobile: string;
|
1708
|
-
fadeIn: string;
|
1709
|
-
fadeOut: string;
|
1710
1726
|
mainRoot: string;
|
1711
1727
|
flowRoot: string;
|
1712
1728
|
withFrame: string;
|
@@ -1792,6 +1808,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1792
1808
|
rootRow: string;
|
1793
1809
|
rootMultiColumn: string;
|
1794
1810
|
item: string;
|
1811
|
+
itemEnter: string;
|
1812
|
+
itemLeave: string;
|
1795
1813
|
itemOnError: string;
|
1796
1814
|
itemSelectAll: string;
|
1797
1815
|
itemNone: string;
|
@@ -1822,6 +1840,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1822
1840
|
itemInline: string;
|
1823
1841
|
label: string;
|
1824
1842
|
labelChecked: string;
|
1843
|
+
itemEnter: string;
|
1844
|
+
itemLeave: string;
|
1825
1845
|
itemDisabled: string;
|
1826
1846
|
itemReadOnly: string;
|
1827
1847
|
itemPreview: string;
|
@@ -1927,6 +1947,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1927
1947
|
other: string;
|
1928
1948
|
onError: string;
|
1929
1949
|
label: string;
|
1950
|
+
itemEnter: string;
|
1951
|
+
itemLeave: string;
|
1930
1952
|
item: string;
|
1931
1953
|
itemDisabled: string;
|
1932
1954
|
itemChecked: string;
|
@@ -2030,8 +2052,9 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
2030
2052
|
errorsCellBottom: string;
|
2031
2053
|
itemCell: string;
|
2032
2054
|
row: string;
|
2033
|
-
|
2034
|
-
|
2055
|
+
rowDelayedEnter: string;
|
2056
|
+
rowEnter: string;
|
2057
|
+
rowLeave: string;
|
2035
2058
|
expandedRow: string;
|
2036
2059
|
rowHasPanel: string;
|
2037
2060
|
rowHasEndActions: string;
|
@@ -2071,8 +2094,9 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
2071
2094
|
cell: string;
|
2072
2095
|
cellResponsiveTitle: string;
|
2073
2096
|
row: string;
|
2074
|
-
|
2075
|
-
|
2097
|
+
rowDelayedEnter: string;
|
2098
|
+
rowEnter: string;
|
2099
|
+
rowLeave: string;
|
2076
2100
|
rowHasPanel: string;
|
2077
2101
|
rowHasEndActions: string;
|
2078
2102
|
expandedRow: string;
|
@@ -2355,6 +2379,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
2355
2379
|
itemHover: string;
|
2356
2380
|
itemControl: string;
|
2357
2381
|
itemDecorator: string;
|
2382
|
+
itemEnter: string;
|
2383
|
+
itemLeave: string;
|
2358
2384
|
cleanButton: string;
|
2359
2385
|
cleanButtonSvg: string;
|
2360
2386
|
cleanButtonIconId: string;
|
@@ -3057,7 +3083,7 @@ declare module "packages/survey-core/src/question_custom" {
|
|
3057
3083
|
protected onUpdateQuestionCssClasses(element: Question, css: any): void;
|
3058
3084
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
3059
3085
|
protected setNewValue(newValue: any): void;
|
3060
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
3086
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
3061
3087
|
getSurveyData(): ISurveyData;
|
3062
3088
|
getTextProcessor(): ITextProcessor;
|
3063
3089
|
getValue(name: string): any;
|
@@ -3590,6 +3616,7 @@ declare module "packages/survey-core/src/panel" {
|
|
3590
3616
|
getDragDropInfo(): any;
|
3591
3617
|
private updateRowsOnElementRemoved;
|
3592
3618
|
updateRowsRemoveElementFromRow(element: IElement, row: QuestionRowModel): void;
|
3619
|
+
disableLazyRenderingBeforeElement(el?: IElement): void;
|
3593
3620
|
findRowByElement(el: IElement): QuestionRowModel;
|
3594
3621
|
elementWidthChanged(el: IElement): void;
|
3595
3622
|
get processedTitle(): string;
|
@@ -3832,6 +3859,8 @@ declare module "packages/survey-core/src/panel" {
|
|
3832
3859
|
protected getHasFrameV2(): boolean;
|
3833
3860
|
protected getIsNested(): boolean;
|
3834
3861
|
get showPanelAsPage(): boolean;
|
3862
|
+
private forcusFirstQuestionOnExpand;
|
3863
|
+
expand(focusFirstQuestion?: boolean): void;
|
3835
3864
|
protected onElementExpanded(elementIsRendered: boolean): void;
|
3836
3865
|
protected getCssRoot(cssClasses: {
|
3837
3866
|
[index: string]: string;
|
@@ -3914,7 +3943,7 @@ declare module "packages/survey-core/src/question_file" {
|
|
3914
3943
|
set waitForUpload(val: boolean);
|
3915
3944
|
clearValue(keepComment?: boolean): void;
|
3916
3945
|
clearOnDeletingContainer(): void;
|
3917
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
3946
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
3918
3947
|
protected uploadFiles(files: File[]): void;
|
3919
3948
|
protected loadPreview(newValue: any): void;
|
3920
3949
|
protected onChangeQuestionValue(newValue: any): void;
|
@@ -4223,6 +4252,7 @@ declare module "packages/survey-core/src/choicesRestful" {
|
|
4223
4252
|
getCustomPropertiesNames(): Array<string>;
|
4224
4253
|
private getCustomPropertyName;
|
4225
4254
|
private getCustomProperties;
|
4255
|
+
private getAllPropertiesNames;
|
4226
4256
|
setData(json: any): void;
|
4227
4257
|
getData(): any;
|
4228
4258
|
/**
|
@@ -4344,6 +4374,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4344
4374
|
export class QuestionSelectBase extends Question {
|
4345
4375
|
visibleChoicesChangedCallback: () => void;
|
4346
4376
|
loadedChoicesFromServerCallback: () => void;
|
4377
|
+
renderedChoicesChangedCallback: () => void;
|
4347
4378
|
private filteredChoicesValue;
|
4348
4379
|
private conditionChoicesVisibleIfRunner;
|
4349
4380
|
private conditionChoicesEnableIfRunner;
|
@@ -4548,6 +4579,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4548
4579
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
4549
4580
|
protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
4550
4581
|
protected isValueDisabled(val: any): boolean;
|
4582
|
+
endLoadingFromJson(): void;
|
4551
4583
|
clearIncorrectValuesCallback: () => void;
|
4552
4584
|
/**
|
4553
4585
|
* Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
|
@@ -4750,7 +4782,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4750
4782
|
supportRefuse(): boolean;
|
4751
4783
|
supportDontKnow(): boolean;
|
4752
4784
|
protected isSupportProperty(propName: string): boolean;
|
4753
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
4785
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
4754
4786
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
4755
4787
|
protected setSurveyCore(value: ISurvey): void;
|
4756
4788
|
getStoreOthersAsComment(): boolean;
|
@@ -4807,6 +4839,13 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4807
4839
|
protected getItemClassCore(item: any, options: any): string;
|
4808
4840
|
getLabelClass(item: ItemValue): string;
|
4809
4841
|
getControlLabelClass(item: ItemValue): string;
|
4842
|
+
_renderedChoices: Array<ItemValue>;
|
4843
|
+
onGetRenderedChoicesCallback?: (visibleChoices: Array<ItemValue>) => Array<ItemValue>;
|
4844
|
+
private updateRenderedChoices;
|
4845
|
+
private getRenderedChoicesAnimationOptions;
|
4846
|
+
private renderedChoicesAnimation;
|
4847
|
+
get renderedChoices(): Array<ItemValue>;
|
4848
|
+
set renderedChoices(val: Array<ItemValue>);
|
4810
4849
|
private headItemsCount;
|
4811
4850
|
private footItemsCount;
|
4812
4851
|
get headItems(): ItemValue[];
|
@@ -5145,7 +5184,7 @@ declare module "packages/survey-core/src/question_expression" {
|
|
5145
5184
|
}
|
5146
5185
|
declare module "packages/survey-core/src/question_matrixdropdowncolumn" {
|
5147
5186
|
import { Question } from "packages/survey-core/src/question";
|
5148
|
-
import { Base } from "packages/survey-core/src/base";
|
5187
|
+
import { Base, ArrayChanges } from "packages/survey-core/src/base";
|
5149
5188
|
import { ISurvey, IWrapperObject } from "packages/survey-core/src/base-interfaces";
|
5150
5189
|
import { ItemValue } from "packages/survey-core/src/itemvalue";
|
5151
5190
|
import { ILocalizableOwner, LocalizableString } from "packages/survey-core/src/localizablestring";
|
@@ -5480,7 +5519,7 @@ declare module "packages/survey-core/src/question_matrixdropdowncolumn" {
|
|
5480
5519
|
private setParentQuestionToTemplate;
|
5481
5520
|
private previousChoicesId;
|
5482
5521
|
protected setQuestionProperties(question: Question, onUpdateJson?: (json: any) => any): void;
|
5483
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
5522
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
5484
5523
|
private doItemValuePropertyChanged;
|
5485
5524
|
private doShowInMultipleColumnsChanged;
|
5486
5525
|
private doColumnVisibilityChanged;
|
@@ -6081,7 +6120,7 @@ declare module "packages/survey-core/src/question_matrixdynamic" {
|
|
6081
6120
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
6082
6121
|
supportGoNextPageAutomatic(): boolean;
|
6083
6122
|
get hasRowText(): boolean;
|
6084
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
6123
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
6085
6124
|
private hasErrorInMinRows;
|
6086
6125
|
protected getUniqueColumnsNames(): Array<string>;
|
6087
6126
|
protected generateRows(): Array<MatrixDynamicRowModel>;
|
@@ -6392,6 +6431,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6392
6431
|
get hasSingleInput(): boolean;
|
6393
6432
|
get isContainer(): boolean;
|
6394
6433
|
getFirstQuestionToFocus(withError: boolean): Question;
|
6434
|
+
protected getFirstInputElementId(): string;
|
6395
6435
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
6396
6436
|
private assignOnPropertyChangedToTemplate;
|
6397
6437
|
private addOnPropertyChangedCallback;
|
@@ -6683,6 +6723,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6683
6723
|
*/
|
6684
6724
|
get allowAddPanel(): boolean;
|
6685
6725
|
set allowAddPanel(val: boolean);
|
6726
|
+
get addButtonId(): string;
|
6686
6727
|
/**
|
6687
6728
|
* Specifies the position of newly added panels.
|
6688
6729
|
*
|
@@ -6911,6 +6952,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6911
6952
|
private hasPanelBuildFirstTime;
|
6912
6953
|
private isBuildingPanelsFirstTime;
|
6913
6954
|
private buildPanelsFirstTime;
|
6955
|
+
private get showAddPanelButton();
|
6914
6956
|
private get wasNotRenderedInSurvey();
|
6915
6957
|
private get canBuildPanels();
|
6916
6958
|
onFirstRendering(): void;
|
@@ -8665,6 +8707,7 @@ declare module "packages/survey-core/src/mask/mask_base" {
|
|
8665
8707
|
getUnmaskedValue(src: string): any;
|
8666
8708
|
getMaskedValue(src: any): string;
|
8667
8709
|
getTextAlignment(): "left" | "right" | "auto";
|
8710
|
+
getTypeForExpressions(): string;
|
8668
8711
|
}
|
8669
8712
|
}
|
8670
8713
|
declare module "packages/survey-core/src/mask/input_element_adapter" {
|
@@ -8839,7 +8882,7 @@ declare module "packages/survey-core/src/question_text" {
|
|
8839
8882
|
protected valueForSurveyCore(val: any): any;
|
8840
8883
|
protected valueFromDataCore(val: any): any;
|
8841
8884
|
private dateValidationMessage;
|
8842
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
8885
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
8843
8886
|
protected canSetValueToSurvey(): boolean;
|
8844
8887
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
8845
8888
|
private getMinMaxErrorText;
|
@@ -9243,7 +9286,7 @@ declare module "packages/survey-core/src/question_multipletext" {
|
|
9243
9286
|
}
|
9244
9287
|
}
|
9245
9288
|
declare module "packages/survey-core/src/header" {
|
9246
|
-
import { Base } from "packages/survey-core/src/base";
|
9289
|
+
import { Base, ArrayChanges } from "packages/survey-core/src/base";
|
9247
9290
|
import { HorizontalAlignment, VerticalAlignment } from "packages/survey-core/src/base-interfaces";
|
9248
9291
|
import { SurveyModel } from "packages/survey-core/src/survey";
|
9249
9292
|
import { ITheme } from "packages/survey-core/src/themes";
|
@@ -9322,7 +9365,7 @@ declare module "packages/survey-core/src/header" {
|
|
9322
9365
|
backgroundImage: string;
|
9323
9366
|
backgroundSize: string;
|
9324
9367
|
};
|
9325
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
9368
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
9326
9369
|
calculateActualHeight(logoHeight: number, titleHeight: number, descriptionHeight: number): number;
|
9327
9370
|
processResponsiveness(width: number): void;
|
9328
9371
|
get hasBackground(): boolean;
|
@@ -10215,6 +10258,7 @@ declare module "packages/survey-core/src/survey" {
|
|
10215
10258
|
lazyRenderingFirstBatchSizeValue: number;
|
10216
10259
|
get lazyRenderingFirstBatchSize(): number;
|
10217
10260
|
set lazyRenderingFirstBatchSize(val: number);
|
10261
|
+
disableLazyRenderingBeforeElement(el: IElement): void;
|
10218
10262
|
private updateLazyRenderingRowsOnRemovingElements;
|
10219
10263
|
/**
|
10220
10264
|
* A list of triggers in the survey.
|
@@ -13601,7 +13645,7 @@ declare module "packages/survey-core/src/question" {
|
|
13601
13645
|
private collectErrors;
|
13602
13646
|
protected canRunValidators(isOnValueChanged: boolean): boolean;
|
13603
13647
|
private fireSurveyValidation;
|
13604
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
13648
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
13605
13649
|
hasRequiredError(): boolean;
|
13606
13650
|
private validatorRunner;
|
13607
13651
|
private isRunningValidatorsValue;
|
@@ -13799,6 +13843,9 @@ declare module "packages/survey-core/src/itemvalue" {
|
|
13799
13843
|
private componentValue;
|
13800
13844
|
getComponent(): string;
|
13801
13845
|
setComponent(val: string): void;
|
13846
|
+
private _htmlElement;
|
13847
|
+
setRootElement(val: HTMLElement): void;
|
13848
|
+
getRootElement(): HTMLElement;
|
13802
13849
|
protected getEnabled(): boolean;
|
13803
13850
|
protected setEnabled(val: boolean): void;
|
13804
13851
|
protected getVisible(): boolean;
|
@@ -16913,7 +16960,7 @@ declare module "packages/survey-core/src/question_matrix" {
|
|
16913
16960
|
getCellDisplayLocText(row: any, column: any): LocalizableString;
|
16914
16961
|
supportGoNextPageAutomatic(): boolean;
|
16915
16962
|
private errorsInRow;
|
16916
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
16963
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
16917
16964
|
private hasValuesInAllRows;
|
16918
16965
|
private checkErrorsAllRows;
|
16919
16966
|
private addErrorIntoRow;
|
@@ -17129,7 +17176,7 @@ declare module "packages/survey-core/src/question_checkbox" {
|
|
17129
17176
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
17130
17177
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
17131
17178
|
protected getAnswerCorrectIgnoreOrder(): boolean;
|
17132
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
17179
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
17133
17180
|
protected onVisibleChoicesChanged(): void;
|
17134
17181
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
17135
17182
|
protected onAfterRunItemsEnableCondition(): void;
|
@@ -18779,6 +18826,7 @@ declare module "packages/survey-core/src/mask/mask_datetime" {
|
|
18779
18826
|
get hasTimePart(): boolean;
|
18780
18827
|
private get is12Hours();
|
18781
18828
|
getType(): string;
|
18829
|
+
getTypeForExpressions(): string;
|
18782
18830
|
protected updateLiterals(): void;
|
18783
18831
|
private leaveOnlyNumbers;
|
18784
18832
|
private getMaskedStrFromISO;
|
@@ -27053,6 +27101,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
|
|
27053
27101
|
private _allowComponentUpdate;
|
27054
27102
|
protected allowComponentUpdate(): void;
|
27055
27103
|
protected denyComponentUpdate(): void;
|
27104
|
+
private prevStateElements;
|
27056
27105
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
27057
27106
|
render(): JSX.Element | null;
|
27058
27107
|
protected wrapElement(element: JSX.Element): JSX.Element;
|
@@ -27064,6 +27113,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
|
|
27064
27113
|
protected get changedStatePropName(): string | undefined;
|
27065
27114
|
private makeBaseElementsReact;
|
27066
27115
|
private unMakeBaseElementsReact;
|
27116
|
+
protected disableStateElementsRerenderEvent(els: Array<Base>): void;
|
27067
27117
|
protected getStateElements(): Array<Base>;
|
27068
27118
|
protected getStateElement(): Base | null;
|
27069
27119
|
protected get isDisplayMode(): boolean;
|
@@ -27375,9 +27425,10 @@ declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
|
|
27375
27425
|
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
27376
27426
|
protected get textStyle(): any;
|
27377
27427
|
protected renderOther(): JSX.Element;
|
27378
|
-
protected renderItem(
|
27428
|
+
protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
|
27379
27429
|
}
|
27380
27430
|
export class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
27431
|
+
private rootRef;
|
27381
27432
|
constructor(props: any);
|
27382
27433
|
protected getStateElement(): Base;
|
27383
27434
|
protected get question(): QuestionCheckboxModel;
|
@@ -27386,12 +27437,15 @@ declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
|
|
27386
27437
|
protected get isFirst(): any;
|
27387
27438
|
protected get index(): number;
|
27388
27439
|
private get hideCaption();
|
27440
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
27389
27441
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
27390
27442
|
handleOnChange: (event: any) => void;
|
27391
27443
|
protected canRender(): boolean;
|
27392
27444
|
protected renderElement(): JSX.Element;
|
27393
27445
|
protected get inputStyle(): any;
|
27394
27446
|
protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
|
27447
|
+
componentDidMount(): void;
|
27448
|
+
componentWillUnmount(): void;
|
27395
27449
|
}
|
27396
27450
|
}
|
27397
27451
|
declare module "packages/survey-react-ui/src/reactquestion_ranking" {
|
@@ -27703,6 +27757,7 @@ declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
|
|
27703
27757
|
private getStateValue;
|
27704
27758
|
}
|
27705
27759
|
export class SurveyQuestionRadioItem extends ReactSurveyElement {
|
27760
|
+
private rootRef;
|
27706
27761
|
constructor(props: any);
|
27707
27762
|
protected getStateElement(): Base;
|
27708
27763
|
protected get question(): QuestionRadiogroupModel;
|
@@ -27715,7 +27770,10 @@ declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
|
|
27715
27770
|
handleOnChange(event: any): void;
|
27716
27771
|
handleOnMouseDown(event: any): void;
|
27717
27772
|
protected canRender(): boolean;
|
27773
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
27718
27774
|
protected renderElement(): JSX.Element;
|
27775
|
+
componentDidMount(): void;
|
27776
|
+
componentWillUnmount(): void;
|
27719
27777
|
}
|
27720
27778
|
}
|
27721
27779
|
declare module "packages/survey-react-ui/src/reactquestion_text" {
|
@@ -27798,7 +27856,8 @@ declare module "packages/survey-react-ui/src/components/matrix-actions/drag-drop
|
|
27798
27856
|
import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
|
27799
27857
|
export class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
27800
27858
|
private get question();
|
27801
|
-
protected renderElement(): JSX.Element;
|
27859
|
+
protected renderElement(): JSX.Element | null;
|
27860
|
+
protected renderIcon(): JSX.Element;
|
27802
27861
|
}
|
27803
27862
|
}
|
27804
27863
|
declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
|