survey-core 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.fontless.css +49 -12
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js +1 -1
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js +1 -1
- package/modern.css +20 -3
- package/modern.css.map +1 -1
- package/modern.fontless.css +20 -3
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +422 -273
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +16 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +2 -2
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/packages/survey-core/src/actions/action.d.ts +0 -2
- package/ts3.4/typings/packages/survey-core/src/base.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/dropdownListModel.d.ts +2 -1
- package/ts3.4/typings/packages/survey-core/src/dropdownMultiSelectListModel.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/list.d.ts +5 -0
- package/ts3.4/typings/packages/survey-core/src/page.d.ts +0 -1
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +6 -6
- package/ts3.4/typings/packages/survey-core/src/question.d.ts +7 -5
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +3 -4
- package/ts3.4/typings/packages/survey-core/src/question_comment.d.ts +4 -2
- package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_dropdown.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +4 -4
- package/ts3.4/typings/packages/survey-core/src/question_tagbox.d.ts +4 -4
- package/ts3.4/typings/packages/survey-core/src/question_textbase.d.ts +1 -5
- package/ts3.4/typings/packages/survey-core/src/survey-element.d.ts +9 -2
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +5 -0
- package/ts3.4/typings/packages/survey-core/src/utils/text-area.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +2 -1
- package/typings/packages/survey-core/src/actions/action.d.ts +0 -2
- package/typings/packages/survey-core/src/base.d.ts +1 -1
- package/typings/packages/survey-core/src/dropdownListModel.d.ts +2 -1
- package/typings/packages/survey-core/src/dropdownMultiSelectListModel.d.ts +1 -1
- package/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/typings/packages/survey-core/src/list.d.ts +5 -0
- package/typings/packages/survey-core/src/page.d.ts +0 -1
- package/typings/packages/survey-core/src/panel.d.ts +6 -6
- package/typings/packages/survey-core/src/question.d.ts +7 -5
- package/typings/packages/survey-core/src/question_baseselect.d.ts +3 -4
- package/typings/packages/survey-core/src/question_comment.d.ts +4 -2
- package/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/typings/packages/survey-core/src/question_dropdown.d.ts +3 -0
- package/typings/packages/survey-core/src/question_file.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +2 -2
- package/typings/packages/survey-core/src/question_paneldynamic.d.ts +4 -4
- package/typings/packages/survey-core/src/question_tagbox.d.ts +5 -4
- package/typings/packages/survey-core/src/question_textbase.d.ts +1 -5
- package/typings/packages/survey-core/src/survey-element.d.ts +7 -2
- package/typings/packages/survey-core/src/survey.d.ts +5 -0
- package/typings/packages/survey-core/src/utils/text-area.d.ts +1 -1
- package/typings/packages/survey-core/src/utils/utils.d.ts +2 -1
|
@@ -64,8 +64,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
64
64
|
private isReadyValue;
|
|
65
65
|
private commentElements;
|
|
66
66
|
private dependedQuestions;
|
|
67
|
-
|
|
68
|
-
private getCommentTextAreaOptions;
|
|
67
|
+
private commentTextAreaModelValue;
|
|
69
68
|
/**
|
|
70
69
|
* 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.).
|
|
71
70
|
*
|
|
@@ -93,6 +92,8 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
93
92
|
constructor(name: string);
|
|
94
93
|
protected getDefaultTitle(): string;
|
|
95
94
|
protected createLocTitleProperty(): LocalizableString;
|
|
95
|
+
get commentTextAreaModel(): TextAreaModel;
|
|
96
|
+
private getCommentTextAreaOptions;
|
|
96
97
|
getSurvey(live?: boolean): ISurvey;
|
|
97
98
|
getValueName(): string;
|
|
98
99
|
/**
|
|
@@ -242,7 +243,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
242
243
|
private triggersInfo;
|
|
243
244
|
private addTriggerInfo;
|
|
244
245
|
private runTriggerInfo;
|
|
245
|
-
runTriggers(name: string, value: any): void;
|
|
246
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
|
246
247
|
private runConditions;
|
|
247
248
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
248
249
|
/**
|
|
@@ -364,7 +365,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
364
365
|
get commentPlaceHolder(): string;
|
|
365
366
|
set commentPlaceHolder(newValue: string);
|
|
366
367
|
get renderedCommentPlaceholder(): string;
|
|
367
|
-
private
|
|
368
|
+
private resetRenderedCommentPlaceholder;
|
|
368
369
|
getAllErrors(): Array<SurveyError>;
|
|
369
370
|
getErrorByType(errorType: string): SurveyError;
|
|
370
371
|
get customWidget(): QuestionCustomWidget;
|
|
@@ -429,7 +430,8 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
429
430
|
protected updateCssClasses(res: any, css: any): void;
|
|
430
431
|
protected getCssType(): string;
|
|
431
432
|
get renderCssRoot(): string;
|
|
432
|
-
|
|
433
|
+
protected calcPaddingLeft(): string;
|
|
434
|
+
protected calcPaddingRight(): string;
|
|
433
435
|
private getIndentSize;
|
|
434
436
|
/**
|
|
435
437
|
* Moves focus to the input field of this question.
|
|
@@ -12,8 +12,8 @@ import { TextAreaModel } from "./utils/text-area";
|
|
|
12
12
|
export declare class QuestionSelectBase extends Question {
|
|
13
13
|
visibleChoicesChangedCallback: () => void;
|
|
14
14
|
loadedChoicesFromServerCallback: () => void;
|
|
15
|
-
otherTextAreaModel: TextAreaModel;
|
|
16
15
|
renderedChoicesChangedCallback: () => void;
|
|
16
|
+
private otherTextAreaModelValue;
|
|
17
17
|
private filteredChoicesValue;
|
|
18
18
|
private conditionChoicesVisibleIfRunner;
|
|
19
19
|
private conditionChoicesEnableIfRunner;
|
|
@@ -31,10 +31,11 @@ export declare class QuestionSelectBase extends Question {
|
|
|
31
31
|
private waitingGetChoiceDisplayValueResponse;
|
|
32
32
|
private get waitingChoicesByURL();
|
|
33
33
|
protected selectedItemValues: any;
|
|
34
|
-
private getOtherTextAreaOptions;
|
|
35
34
|
constructor(name: string);
|
|
36
35
|
getType(): string;
|
|
37
36
|
dispose(): void;
|
|
37
|
+
get otherTextAreaModel(): TextAreaModel;
|
|
38
|
+
private getOtherTextAreaOptions;
|
|
38
39
|
protected resetDependedQuestion(): void;
|
|
39
40
|
get otherId(): string;
|
|
40
41
|
protected getCommentElementsId(): Array<string>;
|
|
@@ -524,8 +525,6 @@ export declare class QuestionSelectBase extends Question {
|
|
|
524
525
|
*/
|
|
525
526
|
get itemComponent(): string;
|
|
526
527
|
set itemComponent(value: string);
|
|
527
|
-
protected updateCssClasses(res: any, css: any): void;
|
|
528
|
-
protected calcCssClasses(css: any): any;
|
|
529
528
|
}
|
|
530
529
|
/**
|
|
531
530
|
* 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)).
|
|
@@ -7,9 +7,10 @@ import { TextAreaModel } from "./utils/text-area";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class QuestionCommentModel extends QuestionTextBase {
|
|
9
9
|
private element;
|
|
10
|
-
|
|
11
|
-
private getTextAreaOptions;
|
|
10
|
+
private textAreaModelValue;
|
|
12
11
|
constructor(name: string);
|
|
12
|
+
get textAreaModel(): TextAreaModel;
|
|
13
|
+
private getTextAreaOptions;
|
|
13
14
|
/**
|
|
14
15
|
* Specifies the visible height of the comment area, measured in lines.
|
|
15
16
|
*
|
|
@@ -52,5 +53,6 @@ export declare class QuestionCommentModel extends QuestionTextBase {
|
|
|
52
53
|
onKeyDown(event: any): void;
|
|
53
54
|
protected setNewValue(newValue: string): any;
|
|
54
55
|
protected getValueSeparator(): string;
|
|
56
|
+
protected notifyStateChanged(prevState: string): void;
|
|
55
57
|
get className(): string;
|
|
56
58
|
}
|
|
@@ -310,7 +310,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
310
310
|
protected createWrapper(): void;
|
|
311
311
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
312
312
|
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
|
313
|
-
|
|
313
|
+
protected onFirstRenderingCore(): void;
|
|
314
314
|
onHidingContent(): void;
|
|
315
315
|
getProgressInfo(): IProgressInfo;
|
|
316
316
|
protected abstract getElement(): SurveyElement;
|
|
@@ -124,12 +124,15 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
|
124
124
|
*/
|
|
125
125
|
choicesLazyLoadPageSize: number;
|
|
126
126
|
getControlClass(): string;
|
|
127
|
+
protected updateCssClasses(res: any, css: any): void;
|
|
128
|
+
protected calcCssClasses(css: any): any;
|
|
127
129
|
suggestedItem: ItemValue;
|
|
128
130
|
get selectedItemLocText(): LocalizableString;
|
|
129
131
|
get inputFieldComponentName(): string;
|
|
130
132
|
get showSelectedItemLocText(): boolean;
|
|
131
133
|
get showInputFieldComponent(): boolean;
|
|
132
134
|
private get selectedItemText();
|
|
135
|
+
private get useDropdownList();
|
|
133
136
|
get dropdownListModel(): DropdownListModel;
|
|
134
137
|
set dropdownListModel(val: DropdownListModel);
|
|
135
138
|
get popupModel(): PopupModel;
|
|
@@ -245,6 +245,7 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
245
245
|
private cameraValue;
|
|
246
246
|
protected get camera(): Camera;
|
|
247
247
|
canPreviewImage(fileItem: any): boolean;
|
|
248
|
+
private prevLoadedPreviewValue;
|
|
248
249
|
protected loadPreview(newValue: any): void;
|
|
249
250
|
private allFilesOk;
|
|
250
251
|
private isFileImage;
|
|
@@ -380,7 +380,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
380
380
|
localeChanged(): void;
|
|
381
381
|
private runFuncForCellQuestions;
|
|
382
382
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
383
|
-
runTriggers(name: string, value: any): void;
|
|
383
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
|
384
384
|
updateElementVisibility(): void;
|
|
385
385
|
protected shouldRunColumnExpression(): boolean;
|
|
386
386
|
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
@@ -434,7 +434,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
434
434
|
/**
|
|
435
435
|
* 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).
|
|
436
436
|
*
|
|
437
|
-
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
|
437
|
+
* 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).
|
|
438
438
|
* @see isUniqueCaseSensitive
|
|
439
439
|
*/
|
|
440
440
|
get keyDuplicationError(): string;
|
|
@@ -135,7 +135,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
135
135
|
/**
|
|
136
136
|
* 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.
|
|
137
137
|
*
|
|
138
|
-
* Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
|
138
|
+
* Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/01bd8abd0c574719956d4d579d48c8010cd389d4/packages/survey-core/src/localization))
|
|
139
139
|
*/
|
|
140
140
|
get tabTitlePlaceholder(): string;
|
|
141
141
|
set tabTitlePlaceholder(newValue: string);
|
|
@@ -238,7 +238,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
238
238
|
/**
|
|
239
239
|
* 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).
|
|
240
240
|
*
|
|
241
|
-
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/
|
|
241
|
+
* 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).
|
|
242
242
|
* @see keyName
|
|
243
243
|
*/
|
|
244
244
|
get keyDuplicationError(): string;
|
|
@@ -598,10 +598,10 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
598
598
|
private get showAddPanelButton();
|
|
599
599
|
private get wasNotRenderedInSurvey();
|
|
600
600
|
private get canBuildPanels();
|
|
601
|
-
|
|
601
|
+
protected onFirstRenderingCore(): void;
|
|
602
602
|
localeChanged(): void;
|
|
603
603
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
604
|
-
runTriggers(name: string, value: any): void;
|
|
604
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
|
605
605
|
private reRunCondition;
|
|
606
606
|
protected runPanelsCondition(panels: PanelModel[], values: HashTable<any>, properties: HashTable<any>): void;
|
|
607
607
|
onAnyValueChanged(name: string, questionName: string): void;
|
|
@@ -10,16 +10,15 @@ import { ItemValue } from "./itemvalue";
|
|
|
10
10
|
* [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle))
|
|
11
11
|
*/
|
|
12
12
|
export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
13
|
-
|
|
13
|
+
private dropdownListModelValue;
|
|
14
14
|
private itemDisplayNameMap;
|
|
15
15
|
private deselectAllItemText;
|
|
16
16
|
constructor(name: string);
|
|
17
17
|
locStrsChanged(): void;
|
|
18
18
|
private updateReadOnlyText;
|
|
19
19
|
protected getDefaultItemComponent(): string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
private createDropdownListModel;
|
|
20
|
+
get dropdownListModel(): DropdownMultiSelectListModel;
|
|
21
|
+
set dropdownListModel(val: DropdownMultiSelectListModel);
|
|
23
22
|
/**
|
|
24
23
|
* Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
|
|
25
24
|
*
|
|
@@ -75,6 +74,8 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
|
75
74
|
get ariaRole(): string;
|
|
76
75
|
get popupModel(): PopupModel;
|
|
77
76
|
getControlClass(): string;
|
|
77
|
+
protected updateCssClasses(res: any, css: any): void;
|
|
78
|
+
protected calcCssClasses(css: any): any;
|
|
78
79
|
onOpened: EventBase<QuestionTagboxModel>;
|
|
79
80
|
onOpenedCallBack(): void;
|
|
80
81
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
@@ -2,7 +2,6 @@ import { Question } from "./question";
|
|
|
2
2
|
import { CssClassBuilder } from "./utils/cssClassBuilder";
|
|
3
3
|
import { LocalizableString } from "./localizablestring";
|
|
4
4
|
import { Base } from "./base";
|
|
5
|
-
import { ISurveyImpl } from "./base-interfaces";
|
|
6
5
|
export declare class CharacterCounter extends Base {
|
|
7
6
|
remainingCharacterCounter: string;
|
|
8
7
|
updateRemainingCharacterCounter(newValue: string, maxLength: number): void;
|
|
@@ -47,13 +46,10 @@ export declare class QuestionTextBase extends Question {
|
|
|
47
46
|
set textUpdateMode(val: string);
|
|
48
47
|
protected getIsInputTextUpdate(): boolean;
|
|
49
48
|
get renderedPlaceholder(): string;
|
|
50
|
-
protected setRenderedPlaceholder(val: string): void;
|
|
51
49
|
protected onReadOnlyChanged(): void;
|
|
52
|
-
onSurveyLoad(): void;
|
|
53
50
|
localeChanged(): void;
|
|
54
|
-
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
55
51
|
protected supportEmptyValidation(): boolean;
|
|
56
|
-
protected
|
|
52
|
+
protected resetRenderedPlaceholder(): void;
|
|
57
53
|
protected hasPlaceholder(): boolean;
|
|
58
54
|
protected setNewValue(newValue: any): void;
|
|
59
55
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
|
@@ -207,6 +207,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
207
207
|
getTitleActions(): Array<any>;
|
|
208
208
|
protected getDefaultTitleActions(): Array<IAction>;
|
|
209
209
|
private updateTitleActions;
|
|
210
|
+
locStrsChanged(): void;
|
|
210
211
|
get hasTitleActions(): boolean;
|
|
211
212
|
get hasTitleEvents(): boolean;
|
|
212
213
|
get titleTabIndex(): number;
|
|
@@ -249,9 +250,10 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
249
250
|
set readOnly(val: boolean);
|
|
250
251
|
protected onReadOnlyChanged(): void;
|
|
251
252
|
private get css();
|
|
253
|
+
private isCssValueCalculating;
|
|
252
254
|
get cssClassesValue(): any;
|
|
253
|
-
set cssClassesValue(val: any);
|
|
254
255
|
private ensureCssClassesValue;
|
|
256
|
+
private createCssClassesValue;
|
|
255
257
|
/**
|
|
256
258
|
* Returns an object in which keys are UI elements and values are CSS classes applied to them.
|
|
257
259
|
*
|
|
@@ -306,6 +308,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
306
308
|
private wasRenderedValue;
|
|
307
309
|
get wasRendered(): boolean;
|
|
308
310
|
onFirstRendering(): void;
|
|
311
|
+
protected onFirstRenderingCore(): void;
|
|
309
312
|
endLoadingFromJson(): void;
|
|
310
313
|
setVisibleIndex(index: number): number;
|
|
311
314
|
delete(doDispose: boolean): void;
|
|
@@ -400,9 +403,11 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
400
403
|
set rightIndent(val: number);
|
|
401
404
|
getRootStyle(): object;
|
|
402
405
|
get paddingLeft(): string;
|
|
403
|
-
|
|
406
|
+
protected calcPaddingLeft(): string;
|
|
404
407
|
get paddingRight(): string;
|
|
405
408
|
set paddingRight(val: string);
|
|
409
|
+
protected calcPaddingRight(): string;
|
|
410
|
+
protected resetIndents(): void;
|
|
406
411
|
allowRootStyle: boolean;
|
|
407
412
|
rootStyle: any;
|
|
408
413
|
updateRootStyle(): void;
|
|
@@ -2504,6 +2504,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2504
2504
|
*/
|
|
2505
2505
|
runExpressions(): void;
|
|
2506
2506
|
private runConditions;
|
|
2507
|
+
private questionTriggersKeys;
|
|
2507
2508
|
private runConditionOnValueChanged;
|
|
2508
2509
|
private runConditionsCore;
|
|
2509
2510
|
private runQuestionsTriggers;
|
|
@@ -2786,6 +2787,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2786
2787
|
get width(): string;
|
|
2787
2788
|
set width(val: string);
|
|
2788
2789
|
get renderedWidth(): string;
|
|
2790
|
+
widthScale: number;
|
|
2791
|
+
responsiveStartWidth: number;
|
|
2792
|
+
setResponsiveStartWidth(width: number): void;
|
|
2793
|
+
get isScaled(): boolean;
|
|
2789
2794
|
get timerInfo(): {
|
|
2790
2795
|
spent: number;
|
|
2791
2796
|
limit?: number;
|
|
@@ -27,7 +27,7 @@ export interface ITextArea {
|
|
|
27
27
|
export declare class TextAreaModel {
|
|
28
28
|
private options;
|
|
29
29
|
private element;
|
|
30
|
-
|
|
30
|
+
updateElement(): void;
|
|
31
31
|
private onPropertyChangedCallback;
|
|
32
32
|
constructor(options: ITextArea);
|
|
33
33
|
setElement(element: HTMLTextAreaElement | null): void;
|
|
@@ -41,6 +41,7 @@ declare function getFirstVisibleChild(el: HTMLElement): Element;
|
|
|
41
41
|
declare function findParentByClassNames(element: HTMLElement, classNames: Array<string>): Element;
|
|
42
42
|
export declare function sanitizeEditableContent(element: any, cleanLineBreaks?: boolean): void;
|
|
43
43
|
declare function mergeValues(src: any, dest: any): void;
|
|
44
|
+
declare function updateListCssValues(res: any, css: any): void;
|
|
44
45
|
export declare class Logger {
|
|
45
46
|
private _result;
|
|
46
47
|
log(action: string): void;
|
|
@@ -73,4 +74,4 @@ export declare function setPropertiesOnElementForAnimation(el: HTMLElement, styl
|
|
|
73
74
|
export declare function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
|
74
75
|
export declare function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
|
75
76
|
export declare function roundTo2Decimals(number: number): number;
|
|
76
|
-
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 };
|
|
77
|
+
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 };
|