survey-core 1.12.10 → 1.12.12
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 +5 -5
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +5 -5
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +2 -2
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +2 -2
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +2 -2
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +2 -2
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +2 -2
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +2 -2
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +2 -2
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +2 -2
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +2 -2
- package/i18n/english.js +3 -3
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +2 -2
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +2 -2
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +2 -2
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +2 -2
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +2 -2
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +2 -2
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +2 -2
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +2 -2
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +2 -2
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +2 -2
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +51 -53
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +2 -2
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +2 -2
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +2 -2
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +2 -2
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +2 -2
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +2 -2
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +2 -2
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +2 -2
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +2 -2
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +3 -3
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +2 -2
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +2 -2
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/philippines.js +2 -2
- package/i18n/philippines.js.map +1 -1
- package/i18n/philippines.min.js +2 -2
- package/i18n/polish.js +2 -2
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +2 -2
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +2 -2
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +2 -2
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +2 -2
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +2 -2
- package/i18n/serbian.js +2 -3
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +2 -2
- package/i18n/simplified-chinese.js +2 -2
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +2 -2
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +2 -2
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +2 -2
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +2 -2
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +2 -2
- package/i18n/tajik.js.map +1 -1
- package/i18n/tajik.min.js +2 -2
- package/i18n/telugu.js +2 -2
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +2 -2
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +2 -2
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +2 -2
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +2 -2
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +2 -2
- package/i18n/urdu.js +2 -3
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +2 -3
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +2 -2
- package/i18n/welsh.js +2 -2
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- package/icons/iconsV1.d.ts +4 -0
- package/icons/iconsV1.js +927 -0
- package/icons/iconsV1.js.map +1 -0
- package/icons/iconsV1.min.js +6 -0
- package/icons/iconsV2.d.ts +4 -0
- package/icons/iconsV2.js +927 -0
- package/icons/iconsV2.js.map +1 -0
- package/icons/iconsV2.min.js +6 -0
- package/modern.css +9 -1
- package/modern.css.map +1 -1
- package/modern.fontless.css +9 -1
- 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 +414 -1920
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +51 -53
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- package/survey.min.css +1 -1
- 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/icons/iconsV1.d.ts +4 -0
- package/ts3.4/icons/iconsV2.d.ts +4 -0
- package/ts3.4/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/actions/container.d.ts +4 -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 +1 -0
- package/ts3.4/typings/packages/survey-core/src/localizablestring.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/page.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +3 -1
- package/ts3.4/typings/packages/survey-core/src/popup-dropdown-view-model.d.ts +2 -4
- package/ts3.4/typings/packages/survey-core/src/popup-utils.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/popup-view-model.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/popup.d.ts +4 -0
- package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_tagbox.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/settings.d.ts +6 -16
- package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +3 -3
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +3 -4
- package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
- package/ts3.4/typings/packages/survey-core/src/svgbundle.d.ts +9 -6
- package/ts3.4/typings/packages/survey-core/src/utils/popup.d.ts +4 -1
- package/ts3.4/typings/packages/survey-core/src/utils/text-area.d.ts +1 -0
- package/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
- package/typings/packages/survey-core/src/actions/container.d.ts +4 -1
- package/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/typings/packages/survey-core/src/list.d.ts +1 -0
- package/typings/packages/survey-core/src/localizablestring.d.ts +1 -0
- package/typings/packages/survey-core/src/page.d.ts +2 -2
- package/typings/packages/survey-core/src/panel.d.ts +3 -1
- package/typings/packages/survey-core/src/popup-dropdown-view-model.d.ts +2 -4
- package/typings/packages/survey-core/src/popup-utils.d.ts +1 -1
- package/typings/packages/survey-core/src/popup-view-model.d.ts +1 -1
- package/typings/packages/survey-core/src/popup.d.ts +4 -0
- package/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
- package/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
- package/typings/packages/survey-core/src/question_tagbox.d.ts +1 -1
- package/typings/packages/survey-core/src/question_text.d.ts +1 -0
- package/typings/packages/survey-core/src/settings.d.ts +6 -16
- package/typings/packages/survey-core/src/survey-events-api.d.ts +3 -3
- package/typings/packages/survey-core/src/survey.d.ts +3 -4
- package/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
- package/typings/packages/survey-core/src/svgbundle.d.ts +9 -6
- package/typings/packages/survey-core/src/utils/popup.d.ts +4 -1
- package/typings/packages/survey-core/src/utils/text-area.d.ts +1 -0
|
@@ -65,6 +65,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
65
65
|
selectAll(): void;
|
|
66
66
|
clickItemHandler(item: ItemValue, checked?: boolean): void;
|
|
67
67
|
protected isItemSelectedCore(item: ItemValue): boolean;
|
|
68
|
+
protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
68
69
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
69
70
|
private getRealValue;
|
|
70
71
|
get isValueArray(): boolean;
|
|
@@ -118,6 +119,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
118
119
|
protected setNewValue(newValue: any): void;
|
|
119
120
|
protected getIsMultipleValue(): boolean;
|
|
120
121
|
protected getCommentFromValue(newValue: any): string;
|
|
122
|
+
getStoreOthersAsComment(): boolean;
|
|
121
123
|
protected setOtherValueIntoValue(newValue: any): any;
|
|
122
124
|
private getFirstUnknownIndex;
|
|
123
125
|
protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
|
|
@@ -30,7 +30,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
30
30
|
private indexValue;
|
|
31
31
|
private _hasVisibleCell;
|
|
32
32
|
private _visiblechoices;
|
|
33
|
-
constructor(name: string, title?: string);
|
|
33
|
+
constructor(name: string, title?: string, colOwner?: IMatrixColumnOwner);
|
|
34
34
|
getOriginalObj(): Base;
|
|
35
35
|
getClassNameProperty(): string;
|
|
36
36
|
getSurvey(live?: boolean): ISurvey;
|
|
@@ -330,7 +330,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
330
330
|
defaultCellTypeChanged(): void;
|
|
331
331
|
protected calcCellQuestionType(row: MatrixDropdownRowModelBase): string;
|
|
332
332
|
private getDefaultCellQuestionType;
|
|
333
|
-
protected updateTemplateQuestion(newCellType?: string): void;
|
|
333
|
+
protected updateTemplateQuestion(newCellType?: string, name?: string, title?: string): void;
|
|
334
334
|
protected createNewQuestion(cellType: string): Question;
|
|
335
335
|
private setParentQuestionToTemplate;
|
|
336
336
|
private previousChoicesId;
|
|
@@ -11,7 +11,7 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
|
11
11
|
private getPenColorFromTheme;
|
|
12
12
|
private updateColors;
|
|
13
13
|
protected getCssRoot(cssClasses: any): string;
|
|
14
|
-
protected getFormat(): "" | "image/
|
|
14
|
+
protected getFormat(): "" | "image/svg+xml" | "image/jpeg";
|
|
15
15
|
protected updateValue(): void;
|
|
16
16
|
constructor(name: string);
|
|
17
17
|
getType(): string;
|
|
@@ -77,7 +77,7 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
|
77
77
|
getControlClass(): string;
|
|
78
78
|
onOpened: EventBase<QuestionTagboxModel>;
|
|
79
79
|
onOpenedCallBack(): void;
|
|
80
|
-
protected hasUnknownValue(val: any, includeOther
|
|
80
|
+
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
81
81
|
protected needConvertRenderedOtherToDataValue(): boolean;
|
|
82
82
|
protected onVisibleChoicesChanged(): void;
|
|
83
83
|
protected getItemIfChoicesNotContainThisValue(value: any, text?: string): any;
|
|
@@ -148,6 +148,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
148
148
|
protected onChangeQuestionValue(newValue: any): void;
|
|
149
149
|
private updateInputValue;
|
|
150
150
|
private hasToConvertToUTC;
|
|
151
|
+
private createDate;
|
|
151
152
|
protected valueForSurveyCore(val: any): any;
|
|
152
153
|
protected valueFromDataCore(val: any): any;
|
|
153
154
|
private dateValidationMessage;
|
|
@@ -130,33 +130,23 @@ export declare var settings: {
|
|
|
130
130
|
* Nested properties:
|
|
131
131
|
*
|
|
132
132
|
* - `itemValueSerializeAsObject`: `boolean`\
|
|
133
|
-
* Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances as objects even when they include only the `value` property. Default value: `false`.
|
|
133
|
+
* Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances (choice options, matrix rows, columns in a [Single-Select Matrix](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-question-model)) as objects even when they include only the `value` property. Default value: `false`.
|
|
134
134
|
*
|
|
135
135
|
* - `itemValueSerializeDisplayText`: `boolean`\
|
|
136
|
-
* Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`.
|
|
136
|
+
* Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`.
|
|
137
137
|
*
|
|
138
138
|
* - `localizableStringSerializeAsObject`: `boolean`\
|
|
139
139
|
* Enable this property if you want to serialize [`LocalizableString`](https://surveyjs.io/form-library/documentation/api-reference/localizablestring) instances as objects even when they include only a translation string for the default locale. For example, `"Custom String"` will be serialized as `{ default: "Custom String" }`. Default value: `false`.
|
|
140
140
|
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* // `itemValueSerializeAsObject` example
|
|
145
|
-
* settings.serialization.itemValueSerializeAsObject = true;
|
|
146
|
-
* const item = new ItemValue(5);
|
|
147
|
-
* const itemString = item.toJSON(); // Produces { value: 5 } instead of 5
|
|
148
|
-
*
|
|
149
|
-
* // `itemValueSerializeDisplayText` example
|
|
150
|
-
* settings.serialization.itemValueSerializeDisplayText = true;
|
|
151
|
-
* const item = new ItemValue("item1");
|
|
152
|
-
* const itemString = item.toJSON(); // Produces { value: "item1", text: "item1" } instead of "item1"
|
|
153
|
-
* ```
|
|
141
|
+
* - `matrixDropdownColumnSerializeTitle`: `boolean`\
|
|
142
|
+
* Enable this property if you want to serialize the `title` property of [`MatrixDropdownColumn`](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) objects even when it is empty or equal to the `name` property. Default value: `false`.
|
|
154
143
|
* @see [settings.parseNumber](https://surveyjs.io/form-library/documentation/api-reference/settings#parseNumber)
|
|
155
144
|
*/
|
|
156
145
|
serialization: {
|
|
157
146
|
itemValueSerializeAsObject: boolean;
|
|
158
147
|
itemValueSerializeDisplayText: boolean;
|
|
159
148
|
localizableStringSerializeAsObject: boolean;
|
|
149
|
+
matrixDropdownColumnSerializeTitle: boolean;
|
|
160
150
|
};
|
|
161
151
|
itemValueAlwaysSerializeAsObject: boolean;
|
|
162
152
|
itemValueAlwaysSerializeText: boolean;
|
|
@@ -619,6 +609,7 @@ export declare var settings: {
|
|
|
619
609
|
* ```
|
|
620
610
|
*/
|
|
621
611
|
storeUtcDates: boolean;
|
|
612
|
+
onDateCreated: (newDate: Date, reason: string, val?: number | string | Date) => Date;
|
|
622
613
|
/**
|
|
623
614
|
* A function that allows you to define custom parsing rules for numbers represented as string values.
|
|
624
615
|
*
|
|
@@ -643,5 +634,4 @@ export declare var settings: {
|
|
|
643
634
|
* @see [settings.serialization](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization)
|
|
644
635
|
*/
|
|
645
636
|
parseNumber: (stringValue: any, numericValue: number) => number;
|
|
646
|
-
useLegacyIcons: boolean;
|
|
647
637
|
};
|
|
@@ -530,16 +530,16 @@ export interface OpenFileChooserEvent {
|
|
|
530
530
|
*/
|
|
531
531
|
input: HTMLInputElement;
|
|
532
532
|
/**
|
|
533
|
-
* A
|
|
533
|
+
* A question for which this event is raised.
|
|
534
534
|
*/
|
|
535
535
|
element: Base;
|
|
536
536
|
/**
|
|
537
537
|
* The type of the element passed as the `options.element` parameter.\
|
|
538
|
-
* Possible values:
|
|
538
|
+
* Possible values: any value returned from the [`getType()`](https://surveyjs.io/form-library/documentation/api-reference/question#getType) method.
|
|
539
539
|
*/
|
|
540
540
|
elementType: String;
|
|
541
541
|
/**
|
|
542
|
-
* The name of the survey element property
|
|
542
|
+
* The name of the survey element property for which files are being selected.
|
|
543
543
|
*/
|
|
544
544
|
propertyName: String;
|
|
545
545
|
/**
|
|
@@ -373,9 +373,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
373
373
|
*/
|
|
374
374
|
onGetResult: EventBase<SurveyModel, GetResultEvent>;
|
|
375
375
|
/**
|
|
376
|
-
* An event that is raised when
|
|
377
|
-
* @see
|
|
378
|
-
* @see uploadFiles
|
|
376
|
+
* An event that is raised when a respondent opens a dialog window to select files.
|
|
377
|
+
* @see chooseFiles
|
|
379
378
|
*/
|
|
380
379
|
onOpenFileChooser: EventBase<SurveyModel, OpenFileChooserEvent>;
|
|
381
380
|
/**
|
|
@@ -2221,6 +2220,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2221
2220
|
private isSmoothScrollEnabled;
|
|
2222
2221
|
private resizeObserver;
|
|
2223
2222
|
afterRenderSurvey(htmlElement: any): void;
|
|
2223
|
+
beforeDestroySurveyElement(): void;
|
|
2224
2224
|
/**
|
|
2225
2225
|
* An event that is raised when the survey's width or height is changed.
|
|
2226
2226
|
*/
|
|
@@ -2966,5 +2966,4 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2966
2966
|
addScrollEventListener(): void;
|
|
2967
2967
|
removeScrollEventListener(): void;
|
|
2968
2968
|
questionErrorComponent: string;
|
|
2969
|
-
protected registerIcons(): void;
|
|
2970
2969
|
}
|
|
@@ -25,6 +25,14 @@ export declare var surveyLocalization: {
|
|
|
25
25
|
getLocales: (removeDefaultLoc?: boolean) => Array<string>;
|
|
26
26
|
onGetExternalString: (name: string, locale: string) => string;
|
|
27
27
|
};
|
|
28
|
+
export declare function getLocaleString(strName: string, locale?: string): string;
|
|
29
|
+
export declare function setupLocale(localeConfig: {
|
|
30
|
+
localeCode: string;
|
|
31
|
+
strings: any;
|
|
32
|
+
nativeName: string;
|
|
33
|
+
englishName: string;
|
|
34
|
+
rtl?: boolean;
|
|
35
|
+
}): void;
|
|
28
36
|
export declare var surveyStrings: {
|
|
29
37
|
pagePrevText: string;
|
|
30
38
|
pageNextText: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { EventBase } from "./base";
|
|
2
|
+
interface SvgIconData {
|
|
2
3
|
[key: string]: string;
|
|
3
4
|
}
|
|
4
5
|
export declare class SvgIconRegistry {
|
|
@@ -9,12 +10,14 @@ export declare class SvgIconRegistry {
|
|
|
9
10
|
registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void;
|
|
10
11
|
registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
|
|
11
12
|
registerIconsFromFolder(r: any): void;
|
|
13
|
+
registerIcons(icons: SvgIconData): void;
|
|
12
14
|
iconsRenderedHtml(): string;
|
|
15
|
+
updateMarkup(): void;
|
|
16
|
+
onIconsChanged: EventBase<SvgIconRegistry, {}>;
|
|
13
17
|
}
|
|
14
|
-
export declare
|
|
15
|
-
export declare
|
|
16
|
-
|
|
17
|
-
V1?: string;
|
|
18
|
-
V2?: string;
|
|
18
|
+
export declare const SvgRegistry: SvgIconRegistry;
|
|
19
|
+
export declare const SvgThemeSets: {
|
|
20
|
+
[index: string]: SvgIconData;
|
|
19
21
|
};
|
|
22
|
+
export declare function addIconsToThemeSet(name: string, iconsData: SvgIconData): void;
|
|
20
23
|
export {};
|
|
@@ -27,7 +27,10 @@ export declare class Rect implements ISize, INumberPosition {
|
|
|
27
27
|
export declare class PopupUtils {
|
|
28
28
|
static bottomIndent: number;
|
|
29
29
|
static calculatePosition(targetRect: Rect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, positionMode?: PositionMode): INumberPosition;
|
|
30
|
-
static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition, canShrink?: boolean
|
|
30
|
+
static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition, canShrink?: boolean, margins?: {
|
|
31
|
+
top: number;
|
|
32
|
+
bottom: number;
|
|
33
|
+
}): {
|
|
31
34
|
height: number;
|
|
32
35
|
top: number;
|
|
33
36
|
};
|
|
@@ -31,6 +31,7 @@ export declare class TextAreaModel {
|
|
|
31
31
|
private onPropertyChangedCallback;
|
|
32
32
|
constructor(options: ITextArea);
|
|
33
33
|
setElement(element: HTMLTextAreaElement | null): void;
|
|
34
|
+
resetElement(): void;
|
|
34
35
|
getTextValue(): string;
|
|
35
36
|
onTextAreaChange(event: any): void;
|
|
36
37
|
onTextAreaInput(event: any): void;
|