survey-core 1.10.3 → 1.10.4
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 +3 -1
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +3 -1
- 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/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/modern.css +1 -1
- package/modern.fontless.css +1 -1
- package/modern.fontless.min.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +130 -73
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- 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/typings/entries/chunks/model.d.ts +1 -1
- package/ts3.4/typings/mask/mask_numeric.d.ts +1 -0
- package/ts3.4/typings/question_file.d.ts +0 -1
- package/ts3.4/typings/question_matrixdynamic.d.ts +1 -0
- package/ts3.4/typings/question_rating.d.ts +2 -0
- package/ts3.4/typings/settings.d.ts +8 -0
- package/typings/entries/chunks/model.d.ts +1 -1
- package/typings/mask/mask_numeric.d.ts +1 -0
- package/typings/question_file.d.ts +0 -1
- package/typings/question_matrixdynamic.d.ts +1 -0
- package/typings/question_rating.d.ts +2 -0
- package/typings/settings.d.ts +8 -0
package/themes/solid-light.js
CHANGED
|
@@ -9,7 +9,7 @@ export { Helpers, HashTable } from "../../helpers";
|
|
|
9
9
|
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../validator";
|
|
10
10
|
export { ItemValue } from "../../itemvalue";
|
|
11
11
|
export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../base";
|
|
12
|
-
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions } from "../../base-interfaces";
|
|
12
|
+
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../base-interfaces";
|
|
13
13
|
export { SurveyError } from "../../survey-error";
|
|
14
14
|
export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../survey-element";
|
|
15
15
|
export { CalculatedValue } from "../../calculatedValue";
|
|
@@ -73,6 +73,7 @@ export declare class InputMaskNumeric extends InputMaskBase {
|
|
|
73
73
|
*/
|
|
74
74
|
max: number;
|
|
75
75
|
private calccaretPosition;
|
|
76
|
+
private numericalCompositionIsEmpty;
|
|
76
77
|
displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
|
|
77
78
|
convertNumber(parsedNumber: INumericalComposition): number;
|
|
78
79
|
validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
|
|
@@ -228,7 +228,6 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
228
228
|
private onChange;
|
|
229
229
|
protected onChangeQuestionValue(newValue: any): void;
|
|
230
230
|
protected calcCssClasses(css: any): any;
|
|
231
|
-
updateElementCss(reNew?: boolean): void;
|
|
232
231
|
onSurveyLoad(): void;
|
|
233
232
|
protected needResponsiveness(): boolean;
|
|
234
233
|
protected supportResponsiveness(): boolean;
|
|
@@ -241,6 +241,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
241
241
|
private lastDeletedRow;
|
|
242
242
|
private getInsertedDeletedIndex;
|
|
243
243
|
private isEditingObjectValueChanged;
|
|
244
|
+
updateValueFromSurvey(newValue: any, clearData?: boolean): void;
|
|
244
245
|
protected onBeforeValueChanged(val: any): void;
|
|
245
246
|
protected createNewValue(): any;
|
|
246
247
|
protected deleteRowValue(newValue: any, row: MatrixDropdownRowModelBase): any;
|
|
@@ -172,6 +172,8 @@ export declare class QuestionRatingModel extends Question {
|
|
|
172
172
|
* @see rateType
|
|
173
173
|
*/
|
|
174
174
|
displayMode: "dropdown" | "buttons" | "auto";
|
|
175
|
+
private updateRenderAsBasedOnDisplayMode;
|
|
176
|
+
onSurveyLoad(): void;
|
|
175
177
|
/**
|
|
176
178
|
* Specifies the alignment of [`minRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#minRateDescription) and [`maxRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#maxRateDescription) texts.
|
|
177
179
|
*
|
|
@@ -325,6 +325,7 @@ export declare var settings: {
|
|
|
325
325
|
* A separator used in a shorthand notation that specifies a value and display text for an [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) object: `"value|text"`.
|
|
326
326
|
*
|
|
327
327
|
* Default value: `"|"`
|
|
328
|
+
* @see [settings.choicesSeparator](https://surveyjs.io/form-library/documentation/api-reference/settings#choicesSeparator)
|
|
328
329
|
*/
|
|
329
330
|
itemValueSeparator: string;
|
|
330
331
|
/**
|
|
@@ -475,6 +476,13 @@ export declare var settings: {
|
|
|
475
476
|
dontKnowItem: number[];
|
|
476
477
|
otherItem: number[];
|
|
477
478
|
};
|
|
479
|
+
/**
|
|
480
|
+
* One or several characters used to separate choice options in a list.
|
|
481
|
+
*
|
|
482
|
+
* Default value: `", "`
|
|
483
|
+
* @see [settings.itemValueSeparator](https://surveyjs.io/form-library/documentation/api-reference/settings#itemValueSeparator)
|
|
484
|
+
*/
|
|
485
|
+
choicesSeparator: string;
|
|
478
486
|
/**
|
|
479
487
|
* A list of supported validators by question type.
|
|
480
488
|
*/
|
|
@@ -9,7 +9,7 @@ export { Helpers, HashTable } from "../../helpers";
|
|
|
9
9
|
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../validator";
|
|
10
10
|
export { ItemValue } from "../../itemvalue";
|
|
11
11
|
export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../base";
|
|
12
|
-
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions } from "../../base-interfaces";
|
|
12
|
+
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../base-interfaces";
|
|
13
13
|
export { SurveyError } from "../../survey-error";
|
|
14
14
|
export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../survey-element";
|
|
15
15
|
export { CalculatedValue } from "../../calculatedValue";
|
|
@@ -73,6 +73,7 @@ export declare class InputMaskNumeric extends InputMaskBase {
|
|
|
73
73
|
*/
|
|
74
74
|
max: number;
|
|
75
75
|
private calccaretPosition;
|
|
76
|
+
private numericalCompositionIsEmpty;
|
|
76
77
|
displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
|
|
77
78
|
convertNumber(parsedNumber: INumericalComposition): number;
|
|
78
79
|
validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
|
|
@@ -241,7 +241,6 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
241
241
|
private onChange;
|
|
242
242
|
protected onChangeQuestionValue(newValue: any): void;
|
|
243
243
|
protected calcCssClasses(css: any): any;
|
|
244
|
-
updateElementCss(reNew?: boolean): void;
|
|
245
244
|
onSurveyLoad(): void;
|
|
246
245
|
protected needResponsiveness(): boolean;
|
|
247
246
|
protected supportResponsiveness(): boolean;
|
|
@@ -260,6 +260,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
260
260
|
private lastDeletedRow;
|
|
261
261
|
private getInsertedDeletedIndex;
|
|
262
262
|
private isEditingObjectValueChanged;
|
|
263
|
+
updateValueFromSurvey(newValue: any, clearData?: boolean): void;
|
|
263
264
|
protected onBeforeValueChanged(val: any): void;
|
|
264
265
|
protected createNewValue(): any;
|
|
265
266
|
protected deleteRowValue(newValue: any, row: MatrixDropdownRowModelBase): any;
|
|
@@ -178,6 +178,8 @@ export declare class QuestionRatingModel extends Question {
|
|
|
178
178
|
* @see rateType
|
|
179
179
|
*/
|
|
180
180
|
displayMode: "dropdown" | "buttons" | "auto";
|
|
181
|
+
private updateRenderAsBasedOnDisplayMode;
|
|
182
|
+
onSurveyLoad(): void;
|
|
181
183
|
/**
|
|
182
184
|
* Specifies the alignment of [`minRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#minRateDescription) and [`maxRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#maxRateDescription) texts.
|
|
183
185
|
*
|
package/typings/settings.d.ts
CHANGED
|
@@ -325,6 +325,7 @@ export declare var settings: {
|
|
|
325
325
|
* A separator used in a shorthand notation that specifies a value and display text for an [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) object: `"value|text"`.
|
|
326
326
|
*
|
|
327
327
|
* Default value: `"|"`
|
|
328
|
+
* @see [settings.choicesSeparator](https://surveyjs.io/form-library/documentation/api-reference/settings#choicesSeparator)
|
|
328
329
|
*/
|
|
329
330
|
itemValueSeparator: string;
|
|
330
331
|
/**
|
|
@@ -475,6 +476,13 @@ export declare var settings: {
|
|
|
475
476
|
dontKnowItem: number[];
|
|
476
477
|
otherItem: number[];
|
|
477
478
|
};
|
|
479
|
+
/**
|
|
480
|
+
* One or several characters used to separate choice options in a list.
|
|
481
|
+
*
|
|
482
|
+
* Default value: `", "`
|
|
483
|
+
* @see [settings.itemValueSeparator](https://surveyjs.io/form-library/documentation/api-reference/settings#itemValueSeparator)
|
|
484
|
+
*/
|
|
485
|
+
choicesSeparator: string;
|
|
478
486
|
/**
|
|
479
487
|
* A list of supported validators by question type.
|
|
480
488
|
*/
|