survey-react 1.11.13 → 1.11.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 +205 -206
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +77 -68
- package/survey.react.js +209 -106
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
@@ -87,6 +87,7 @@ declare module "packages/survey-core/src/localization/english" {
|
|
87
87
|
refuseItemText: string;
|
88
88
|
dontKnowItemText: string;
|
89
89
|
selectAllItemText: string;
|
90
|
+
deselectAllItemText: string;
|
90
91
|
progressText: string;
|
91
92
|
indexText: string;
|
92
93
|
panelDynamicProgressText: string;
|
@@ -223,6 +224,7 @@ declare module "packages/survey-core/src/surveyStrings" {
|
|
223
224
|
refuseItemText: string;
|
224
225
|
dontKnowItemText: string;
|
225
226
|
selectAllItemText: string;
|
227
|
+
deselectAllItemText: string;
|
226
228
|
progressText: string;
|
227
229
|
indexText: string;
|
228
230
|
panelDynamicProgressText: string;
|
@@ -1059,6 +1061,7 @@ declare module "packages/survey-core/src/list" {
|
|
1059
1061
|
showSearchClearButton: boolean;
|
1060
1062
|
renderElements: boolean;
|
1061
1063
|
textWrapEnabled: boolean;
|
1064
|
+
itemComponent: string;
|
1062
1065
|
static INDENT: number;
|
1063
1066
|
static MINELEMENTCOUNT: number;
|
1064
1067
|
scrollHandler: (e?: any) => void;
|
@@ -1405,7 +1408,7 @@ declare module "packages/survey-core/src/actions/action" {
|
|
1405
1408
|
locStrsChanged(): void;
|
1406
1409
|
doAction(args: any): boolean;
|
1407
1410
|
private isMouseDown;
|
1408
|
-
doMouseDown(): void;
|
1411
|
+
doMouseDown(args: any): void;
|
1409
1412
|
doFocus(args: any): void;
|
1410
1413
|
private locStrChangedInPopupModel;
|
1411
1414
|
private locTitleChanged;
|
@@ -1701,6 +1704,7 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
1701
1704
|
question: {
|
1702
1705
|
contentFadeIn: string;
|
1703
1706
|
contentFadeOut: string;
|
1707
|
+
mobile: string;
|
1704
1708
|
fadeIn: string;
|
1705
1709
|
fadeOut: string;
|
1706
1710
|
mainRoot: string;
|
@@ -6843,12 +6847,11 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6843
6847
|
getProgressInfo(): IProgressInfo;
|
6844
6848
|
private isRowEmpty;
|
6845
6849
|
/**
|
6846
|
-
*
|
6847
|
-
*
|
6848
|
-
*
|
6850
|
+
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
6851
|
+
*
|
6852
|
+
* Unlike the [`addPanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#addPanel) method, `addPanelUI()` performs additional actions: checks whether a new panel [can be added](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canAddPanel), expands and focuses the new panel, and runs animated effects.
|
6849
6853
|
* @see panelCount
|
6850
6854
|
* @see panels
|
6851
|
-
* @see canAddPanel
|
6852
6855
|
*/
|
6853
6856
|
addPanelUI(): PanelModel;
|
6854
6857
|
private focusNewPanelCallback;
|
@@ -6866,13 +6869,11 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6866
6869
|
private canLeaveCurrentPanel;
|
6867
6870
|
private copyValue;
|
6868
6871
|
/**
|
6869
|
-
*
|
6870
|
-
* @param value a panel or panel index
|
6871
|
-
* @see removePanel
|
6872
|
-
* @see confirmDelete
|
6873
|
-
* @see confirmDeleteText
|
6874
|
-
* @see canRemovePanel
|
6872
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
6875
6873
|
*
|
6874
|
+
* Unlike the [`removePanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#removePanel) method, `removePanelUI()` performs additional actions: checks whether the panel [can be removed](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canRemovePanel) and displays a confirmation dialog (if the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#confirmDelete) property is enabled).
|
6875
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
6876
|
+
* @see addPanelUI
|
6876
6877
|
*/
|
6877
6878
|
removePanelUI(value: any): void;
|
6878
6879
|
isRequireConfirmOnDelete(val: any): boolean;
|
@@ -6885,13 +6886,12 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6885
6886
|
* Switches Dynamic Panel to the previous panel.
|
6886
6887
|
*/
|
6887
6888
|
goToPrevPanel(): void;
|
6889
|
+
private removedPanelIndex;
|
6888
6890
|
/**
|
6889
|
-
*
|
6890
|
-
* @param value
|
6891
|
-
* @see
|
6892
|
-
* @see template
|
6891
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
6892
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
6893
|
+
* @see addPanel
|
6893
6894
|
*/
|
6894
|
-
private removedPanelIndex;
|
6895
6895
|
removePanel(value: any): void;
|
6896
6896
|
private getVisualPanelIndex;
|
6897
6897
|
private getPanelVisibleIndexById;
|
@@ -6995,6 +6995,7 @@ declare module "packages/survey-core/src/question_paneldynamic" {
|
|
6995
6995
|
get showNavigation(): boolean;
|
6996
6996
|
showSeparator(index: number): boolean;
|
6997
6997
|
protected calcCssClasses(css: any): any;
|
6998
|
+
protected onMobileChanged(): void;
|
6998
6999
|
}
|
6999
7000
|
}
|
7000
7001
|
declare module "packages/survey-core/src/question_signaturepad" {
|
@@ -7621,23 +7622,23 @@ declare module "packages/survey-core/src/survey-events-api" {
|
|
7621
7622
|
/**
|
7622
7623
|
* An object with the following structure:
|
7623
7624
|
*
|
7624
|
-
*
|
7625
|
-
*
|
7626
|
-
*
|
7627
|
-
*
|
7628
|
-
*
|
7629
|
-
*
|
7625
|
+
* ```js
|
7626
|
+
* {
|
7627
|
+
* AnswersCount: Number, // A total number of posted answers to the question
|
7628
|
+
* QuestionResult: Object // All unique answers to the question and their number
|
7629
|
+
* }
|
7630
|
+
* ```
|
7630
7631
|
*/
|
7631
7632
|
data: any;
|
7632
7633
|
/**
|
7633
7634
|
* An array of objects with the following structure:
|
7634
7635
|
*
|
7635
|
-
*
|
7636
|
-
*
|
7637
|
-
*
|
7638
|
-
*
|
7639
|
-
*
|
7640
|
-
*
|
7636
|
+
* ```js
|
7637
|
+
* {
|
7638
|
+
* name: String, // A unique answer to the question
|
7639
|
+
* value: Number // The number of user responses with this answer
|
7640
|
+
* }
|
7641
|
+
* ```
|
7641
7642
|
*/
|
7642
7643
|
dataList: Array<any>;
|
7643
7644
|
}
|
@@ -8223,6 +8224,16 @@ declare module "packages/survey-core/src/survey-events-api" {
|
|
8223
8224
|
export interface ElementWrapperComponentDataEvent extends ElementWrapperComponentEventMixin {
|
8224
8225
|
data: any;
|
8225
8226
|
}
|
8227
|
+
export interface ResizeEvent {
|
8228
|
+
/**
|
8229
|
+
* The current survey width in pixels.
|
8230
|
+
*/
|
8231
|
+
width: number;
|
8232
|
+
/**
|
8233
|
+
* The current survey height in pixels.
|
8234
|
+
*/
|
8235
|
+
height: number;
|
8236
|
+
}
|
8226
8237
|
}
|
8227
8238
|
declare module "packages/survey-core/src/drag-drop-page-helper-v1" {
|
8228
8239
|
import { IElement, ISurveyElement } from "packages/survey-core/src/base-interfaces";
|
@@ -9426,7 +9437,7 @@ declare module "packages/survey-core/src/survey" {
|
|
9426
9437
|
import { ActionContainer } from "packages/survey-core/src/actions/container";
|
9427
9438
|
import { QuestionPanelDynamicModel } from "packages/survey-core/src/question_paneldynamic";
|
9428
9439
|
import { Notifier } from "packages/survey-core/src/notifier";
|
9429
|
-
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent,
|
9440
|
+
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent } from "packages/survey-core/src/survey-events-api";
|
9430
9441
|
import { QuestionMatrixDropdownModelBase } from "packages/survey-core/src/question_matrixdropdownbase";
|
9431
9442
|
import { QuestionMatrixDynamicModel } from "packages/survey-core/src/question_matrixdynamic";
|
9432
9443
|
import { QuestionFileModel } from "packages/survey-core/src/question_file";
|
@@ -9756,7 +9767,7 @@ declare module "packages/survey-core/src/survey" {
|
|
9756
9767
|
* [View Demo](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/ (linkStyle))
|
9757
9768
|
*/
|
9758
9769
|
onTextMarkdown: EventBase<SurveyModel, TextMarkdownEvent>;
|
9759
|
-
onTextRenderAs: EventBase<SurveyModel,
|
9770
|
+
onTextRenderAs: EventBase<SurveyModel, any>;
|
9760
9771
|
/**
|
9761
9772
|
* An event that is raised after a request to save survey results on [SurveyJS Service](https://api.surveyjs.io/) has been completed. Use this event to find out if the results have been saved successfully.
|
9762
9773
|
*/
|
@@ -9864,7 +9875,7 @@ declare module "packages/survey-core/src/survey" {
|
|
9864
9875
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-animation/ (linkStyle))
|
9865
9876
|
*/
|
9866
9877
|
onAfterRenderSurvey: EventBase<SurveyModel, AfterRenderSurveyEvent>;
|
9867
|
-
onAfterRenderHeader: EventBase<SurveyModel,
|
9878
|
+
onAfterRenderHeader: EventBase<SurveyModel, any>;
|
9868
9879
|
/**
|
9869
9880
|
* An event that is raised after a page is rendered to the DOM. Use it to modify page markup.
|
9870
9881
|
*
|
@@ -10041,7 +10052,7 @@ declare module "packages/survey-core/src/survey" {
|
|
10041
10052
|
* @see startTimer
|
10042
10053
|
*/
|
10043
10054
|
onTimer: EventBase<SurveyModel, {}>;
|
10044
|
-
onTimerPanelInfoText: EventBase<SurveyModel,
|
10055
|
+
onTimerPanelInfoText: EventBase<SurveyModel, any>;
|
10045
10056
|
/**
|
10046
10057
|
* An event that is raised after an item value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
|
10047
10058
|
*/
|
@@ -10129,8 +10140,8 @@ declare module "packages/survey-core/src/survey" {
|
|
10129
10140
|
* This event can be raised for [Single-](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model) and [Multi-Select Dropdown](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model) questions, [Rating Scale](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model) questions [rendered as drop-down menus](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#displayMode), and [Multi-Select Matrix](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list) questions that contain columns of the `"dropdown"` or `"tagbox"` [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#cellType). Handle this event to change the drop-down menu type for specific questions or device types.
|
10130
10141
|
*/
|
10131
10142
|
onOpenDropdownMenu: EventBase<SurveyModel, OpenDropdownMenuEvent>;
|
10132
|
-
onElementWrapperComponentName: EventBase<SurveyModel,
|
10133
|
-
onElementWrapperComponentData: EventBase<SurveyModel,
|
10143
|
+
onElementWrapperComponentName: EventBase<SurveyModel, any>;
|
10144
|
+
onElementWrapperComponentData: EventBase<SurveyModel, any>;
|
10134
10145
|
constructor(jsonObj?: any, renderedElement?: any);
|
10135
10146
|
processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
|
10136
10147
|
protected createTryAgainAction(): IAction;
|
@@ -11584,6 +11595,10 @@ declare module "packages/survey-core/src/survey" {
|
|
11584
11595
|
getRootCss(): string;
|
11585
11596
|
private resizeObserver;
|
11586
11597
|
afterRenderSurvey(htmlElement: any): void;
|
11598
|
+
/**
|
11599
|
+
* An event that is raised when the survey's width or height is changed.
|
11600
|
+
*/
|
11601
|
+
onResize: EventBase<SurveyModel, ResizeEvent>;
|
11587
11602
|
private processResponsiveness;
|
11588
11603
|
triggerResponsiveness(hard: boolean): void;
|
11589
11604
|
destroyResizeObserver(): void;
|
@@ -11686,36 +11701,6 @@ declare module "packages/survey-core/src/survey" {
|
|
11686
11701
|
* @see downloadFile
|
11687
11702
|
*/
|
11688
11703
|
uploadFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, files: File[], callback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
|
11689
|
-
/**
|
11690
|
-
* Downloads a file from a server.
|
11691
|
-
*
|
11692
|
-
* The following code shows how to call this method:
|
11693
|
-
*
|
11694
|
-
* ```js
|
11695
|
-
* const question = survey.getQuestionByName("myFileQuestion");
|
11696
|
-
* survey.downloadFile(
|
11697
|
-
* question,
|
11698
|
-
* question.name,
|
11699
|
-
* // Download the first uploaded file
|
11700
|
-
* question.value[0],
|
11701
|
-
* (status, data) => {
|
11702
|
-
* if (status === "success") {
|
11703
|
-
* // Use `data` to retrieve the file
|
11704
|
-
* }
|
11705
|
-
* if (status === "error") {
|
11706
|
-
* // Handle error
|
11707
|
-
* }
|
11708
|
-
* }
|
11709
|
-
* );
|
11710
|
-
* ```
|
11711
|
-
*
|
11712
|
-
* @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model).
|
11713
|
-
* @param questionName The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name).
|
11714
|
-
* @param fileValue An object from File Upload's [`value`](https://surveyjs.io/form-library/documentation/api-reference/file-model#value) array. This object contains metadata about the file you want to download.
|
11715
|
-
* @param callback A callback function that allows you to get the download status (`"success"` or `"error"`) and the file identifier (URL, file name, etc.) that you can use to retrieve the file.
|
11716
|
-
* @see onDownloadFile
|
11717
|
-
* @see uploadFiles
|
11718
|
-
*/
|
11719
11704
|
downloadFile(question: QuestionFileModel, questionName: string, fileValue: any, callback: (status: string, data: any) => any): void;
|
11720
11705
|
clearFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
|
11721
11706
|
updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
|
@@ -12144,6 +12129,7 @@ declare module "packages/survey-core/src/survey" {
|
|
12144
12129
|
* A survey width in CSS values.
|
12145
12130
|
*
|
12146
12131
|
* Default value: `undefined` (the survey inherits the width from its container)
|
12132
|
+
* @see onResize
|
12147
12133
|
*/
|
12148
12134
|
get width(): string;
|
12149
12135
|
set width(val: string);
|
@@ -12889,8 +12875,11 @@ declare module "packages/survey-core/src/question" {
|
|
12889
12875
|
protected allowMobileInDesignMode(): boolean;
|
12890
12876
|
updateIsMobileFromSurvey(): void;
|
12891
12877
|
setIsMobile(val: boolean): void;
|
12878
|
+
protected getIsMobile(): boolean;
|
12879
|
+
get isMobile(): boolean;
|
12880
|
+
set isMobile(val: boolean);
|
12892
12881
|
themeChanged(theme: ITheme): void;
|
12893
|
-
|
12882
|
+
private _isMobile;
|
12894
12883
|
forceIsInputReadOnly: boolean;
|
12895
12884
|
ariaExpanded: "true" | "false";
|
12896
12885
|
constructor(name: string);
|
@@ -13573,7 +13562,8 @@ declare module "packages/survey-core/src/question" {
|
|
13573
13562
|
protected getIsAnswered(): boolean;
|
13574
13563
|
/**
|
13575
13564
|
* Question validators.
|
13576
|
-
*
|
13565
|
+
*
|
13566
|
+
* [Data Validation](https://surveyjs.io/form-library/documentation/data-validation (linkStyle))
|
13577
13567
|
*/
|
13578
13568
|
get validators(): Array<SurveyValidator>;
|
13579
13569
|
set validators(val: Array<SurveyValidator>);
|
@@ -13699,7 +13689,7 @@ declare module "packages/survey-core/src/question" {
|
|
13699
13689
|
protected checkForResponsiveness(el: HTMLElement): void;
|
13700
13690
|
private resizeObserver;
|
13701
13691
|
protected getObservedElementSelector(): string;
|
13702
|
-
|
13692
|
+
protected onMobileChanged(): void;
|
13703
13693
|
private onMobileChangedCallback;
|
13704
13694
|
triggerResponsiveness(hard?: boolean): void;
|
13705
13695
|
private triggerResponsivenessCallback;
|
@@ -13938,8 +13928,20 @@ declare module "packages/survey-core/src/martixBase" {
|
|
13938
13928
|
*/
|
13939
13929
|
get rowTitleWidth(): string;
|
13940
13930
|
set rowTitleWidth(val: string);
|
13931
|
+
/**
|
13932
|
+
* Specifies how to arrange matrix questions.
|
13933
|
+
*
|
13934
|
+
* Possible values:
|
13935
|
+
*
|
13936
|
+
* - `"table"` - Displays matrix questions in a table.
|
13937
|
+
* - `"list"` - Displays matrix questions one under another as a list.
|
13938
|
+
* - `"auto"` (default) - Uses the `"table"` mode if the survey has sufficient width to fit the table or the `"list"` mode otherwise.
|
13939
|
+
*/
|
13940
|
+
set displayMode(val: "auto" | "table" | "list");
|
13941
|
+
get displayMode(): "auto" | "table" | "list";
|
13941
13942
|
getCellAriaLabel(rowTitle: string, columnTitle: string): string;
|
13942
13943
|
get isNewA11yStructure(): boolean;
|
13944
|
+
protected getIsMobile(): boolean;
|
13943
13945
|
}
|
13944
13946
|
}
|
13945
13947
|
declare module "packages/survey-core/src/question_matrixdropdownbase" {
|
@@ -14477,6 +14479,7 @@ declare module "packages/survey-core/src/question_matrixdropdownbase" {
|
|
14477
14479
|
getRowHeaderWrapperComponentName(cell: MatrixDropdownCell): string;
|
14478
14480
|
getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
|
14479
14481
|
get showHorizontalScroll(): boolean;
|
14482
|
+
protected onMobileChanged(): void;
|
14480
14483
|
getRootCss(): string;
|
14481
14484
|
}
|
14482
14485
|
}
|
@@ -15081,6 +15084,7 @@ declare module "packages/survey-core/src/jsonobject" {
|
|
15081
15084
|
private addDynamicPropertyIntoObj;
|
15082
15085
|
getDynamicPropertiesByObj(obj: any, dynamicType?: string): Array<JsonObjectProperty>;
|
15083
15086
|
getDynamicPropertiesByTypes(objType: string, dynamicType: string, invalidNames?: Array<string>): Array<JsonObjectProperty>;
|
15087
|
+
private canAddDybamicProp;
|
15084
15088
|
hasOriginalProperty(obj: Base, propName: string): boolean;
|
15085
15089
|
getOriginalProperty(obj: Base, propName: string): JsonObjectProperty;
|
15086
15090
|
getProperty(className: string, propertyName: string): JsonObjectProperty;
|
@@ -16188,7 +16192,7 @@ declare module "packages/survey-core/src/settings" {
|
|
16188
16192
|
* Nested properties:
|
16189
16193
|
*
|
16190
16194
|
* - `lifetime`: `number`\
|
16191
|
-
* Specifies a time period during which a notification is displayed; measured in milliseconds.
|
16195
|
+
* Specifies a time period during which a notification is displayed; measured in milliseconds. Default value: 2000.
|
16192
16196
|
*/
|
16193
16197
|
notifications: {
|
16194
16198
|
lifetime: number;
|
@@ -17035,6 +17039,7 @@ declare module "packages/survey-core/src/question_checkbox" {
|
|
17035
17039
|
*/
|
17036
17040
|
export class QuestionCheckboxModel extends QuestionCheckboxBase {
|
17037
17041
|
private selectAllItemValue;
|
17042
|
+
protected selectAllItemText: LocalizableString;
|
17038
17043
|
private invisibleOldValues;
|
17039
17044
|
protected defaultSelectedItemValues: Array<ItemValue>;
|
17040
17045
|
constructor(name: string);
|
@@ -17079,6 +17084,7 @@ declare module "packages/survey-core/src/question_checkbox" {
|
|
17079
17084
|
get isAllSelected(): boolean;
|
17080
17085
|
set isAllSelected(val: boolean);
|
17081
17086
|
toggleSelectAll(): void;
|
17087
|
+
protected allElementsSelected(): boolean;
|
17082
17088
|
/**
|
17083
17089
|
* Selects all choice items, except "Other" and "None".
|
17084
17090
|
*
|
@@ -17250,6 +17256,7 @@ declare module "packages/survey-core/src/question_tagbox" {
|
|
17250
17256
|
export class QuestionTagboxModel extends QuestionCheckboxModel {
|
17251
17257
|
dropdownListModel: DropdownMultiSelectListModel;
|
17252
17258
|
private itemDisplayNameMap;
|
17259
|
+
private deselectAllItemText;
|
17253
17260
|
constructor(name: string);
|
17254
17261
|
locStrsChanged(): void;
|
17255
17262
|
private updateReadOnlyText;
|
@@ -17325,6 +17332,8 @@ declare module "packages/survey-core/src/question_tagbox" {
|
|
17325
17332
|
protected supportEmptyValidation(): boolean;
|
17326
17333
|
protected onBlurCore(event: any): void;
|
17327
17334
|
protected onFocusCore(event: any): void;
|
17335
|
+
protected allElementsSelected(): boolean;
|
17336
|
+
updateSelectAllItemText(isAllSelected: boolean): void;
|
17328
17337
|
dispose(): void;
|
17329
17338
|
clearValue(keepComment?: boolean): void;
|
17330
17339
|
get showClearButton(): boolean;
|