survey-core 1.9.117 → 1.9.119
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 +125 -42
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +125 -42
- 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 +4 -3
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- 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 +5 -2
- package/modern.css.map +1 -1
- package/modern.fontless.css +5 -2
- 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.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 +413 -183
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +4 -4
- package/survey.css +5 -2
- 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/base-interfaces.d.ts +2 -1
- package/ts3.4/typings/conditionProcessValue.d.ts +1 -0
- package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -0
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +9 -3
- package/ts3.4/typings/dragdrop/choices.d.ts +1 -0
- package/ts3.4/typings/jsonobject.d.ts +2 -0
- package/ts3.4/typings/localization/english.d.ts +1 -0
- package/ts3.4/typings/martixBase.d.ts +1 -0
- package/ts3.4/typings/notifier.d.ts +11 -8
- package/ts3.4/typings/page.d.ts +1 -0
- package/ts3.4/typings/panel.d.ts +4 -1
- package/ts3.4/typings/question.d.ts +3 -1
- package/ts3.4/typings/question_baseselect.d.ts +5 -1
- package/ts3.4/typings/question_file.d.ts +1 -0
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +3 -0
- package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +1 -0
- package/ts3.4/typings/question_matrixdynamic.d.ts +3 -0
- package/ts3.4/typings/question_ranking.d.ts +6 -0
- package/ts3.4/typings/question_rating.d.ts +1 -0
- package/ts3.4/typings/question_signaturepad.d.ts +3 -1
- package/ts3.4/typings/question_textbase.d.ts +1 -2
- package/ts3.4/typings/settings.d.ts +21 -0
- package/ts3.4/typings/survey-events-api.d.ts +20 -8
- package/ts3.4/typings/survey.d.ts +47 -11
- package/ts3.4/typings/surveyStrings.d.ts +1 -0
- package/ts3.4/typings/themes.d.ts +2 -2
- package/typings/base-interfaces.d.ts +2 -1
- package/typings/conditionProcessValue.d.ts +1 -0
- package/typings/defaultCss/cssmodern.d.ts +1 -0
- package/typings/defaultCss/cssstandard.d.ts +1 -0
- package/typings/defaultCss/defaultV2Css.d.ts +9 -3
- package/typings/dragdrop/choices.d.ts +1 -0
- package/typings/jsonobject.d.ts +2 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/martixBase.d.ts +1 -0
- package/typings/notifier.d.ts +11 -8
- package/typings/page.d.ts +1 -0
- package/typings/panel.d.ts +4 -1
- package/typings/question.d.ts +3 -1
- package/typings/question_baseselect.d.ts +5 -1
- package/typings/question_file.d.ts +3 -1
- package/typings/question_matrixdropdownbase.d.ts +3 -0
- package/typings/question_matrixdropdowncolumn.d.ts +1 -0
- package/typings/question_matrixdynamic.d.ts +3 -0
- package/typings/question_ranking.d.ts +6 -0
- package/typings/question_rating.d.ts +1 -0
- package/typings/question_signaturepad.d.ts +3 -1
- package/typings/question_textbase.d.ts +1 -2
- package/typings/settings.d.ts +21 -0
- package/typings/survey-events-api.d.ts +20 -8
- package/typings/survey.d.ts +48 -11
- package/typings/surveyStrings.d.ts +1 -0
- package/typings/themes.d.ts +2 -2
package/themes/flat-dark.js
CHANGED
package/themes/flat-dark.min.js
CHANGED
package/themes/flat-light.js
CHANGED
package/themes/flat-light.min.js
CHANGED
package/themes/index.js
CHANGED
package/themes/index.min.js
CHANGED
package/themes/layered-dark.js
CHANGED
package/themes/layered-light.js
CHANGED
package/themes/plain-dark.js
CHANGED
package/themes/plain-dark.min.js
CHANGED
package/themes/plain-light.js
CHANGED
package/themes/sharp-dark.js
CHANGED
package/themes/sharp-dark.min.js
CHANGED
package/themes/sharp-light.js
CHANGED
package/themes/solid-dark.js
CHANGED
package/themes/solid-dark.min.js
CHANGED
package/themes/solid-light.js
CHANGED
|
@@ -98,7 +98,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
98
98
|
maxTextLength: number;
|
|
99
99
|
maxOthersLength: number;
|
|
100
100
|
clearValueOnDisableItems: boolean;
|
|
101
|
-
uploadFiles(question: IQuestion, name: string, files: File[], uploadingCallback: (
|
|
101
|
+
uploadFiles(question: IQuestion, name: string, files: File[], uploadingCallback: (data: any | Array<any>, errors?: any | Array<any>) => any): any;
|
|
102
102
|
downloadFile(question: IQuestion, name: string, content: string, callback: (status: string, data: any) => any): any;
|
|
103
103
|
clearFiles(question: IQuestion, name: string, value: any, fileName: string, clearCallback: (status: string, data: any) => any): any;
|
|
104
104
|
updateChoicesFromServer(question: IQuestion, choices: Array<any>, serverResult: any): Array<any>;
|
|
@@ -292,6 +292,7 @@ export interface ISurveyLayoutElement {
|
|
|
292
292
|
component?: string;
|
|
293
293
|
template?: string;
|
|
294
294
|
data?: any;
|
|
295
|
+
index?: number;
|
|
295
296
|
processResponsiveness?: (width: number) => void;
|
|
296
297
|
}
|
|
297
298
|
export interface IPlainDataOptions {
|
|
@@ -70,6 +70,7 @@ export declare var defaultV2Css: {
|
|
|
70
70
|
invisible: string;
|
|
71
71
|
navigationButton: string;
|
|
72
72
|
compact: string;
|
|
73
|
+
errorsContainer: string;
|
|
73
74
|
};
|
|
74
75
|
paneldynamic: {
|
|
75
76
|
mainRoot: string;
|
|
@@ -136,6 +137,7 @@ export declare var defaultV2Css: {
|
|
|
136
137
|
emptyHeaderRoot: string;
|
|
137
138
|
title: string;
|
|
138
139
|
description: string;
|
|
140
|
+
errorsContainer: string;
|
|
139
141
|
};
|
|
140
142
|
pageTitle: string;
|
|
141
143
|
pageDescription: string;
|
|
@@ -190,6 +192,9 @@ export declare var defaultV2Css: {
|
|
|
190
192
|
invisible: string;
|
|
191
193
|
composite: string;
|
|
192
194
|
disabled: string;
|
|
195
|
+
errorsContainer: string;
|
|
196
|
+
errorsContainerTop: string;
|
|
197
|
+
errorsContainerBottom: string;
|
|
193
198
|
};
|
|
194
199
|
image: {
|
|
195
200
|
mainRoot: string;
|
|
@@ -209,9 +214,6 @@ export declare var defaultV2Css: {
|
|
|
209
214
|
root: string;
|
|
210
215
|
icon: string;
|
|
211
216
|
item: string;
|
|
212
|
-
outsideQuestion: string;
|
|
213
|
-
aboveQuestion: string;
|
|
214
|
-
belowQuestion: string;
|
|
215
217
|
locationTop: string;
|
|
216
218
|
locationBottom: string;
|
|
217
219
|
};
|
|
@@ -429,6 +431,8 @@ export declare var defaultV2Css: {
|
|
|
429
431
|
rowHasEndActions: string;
|
|
430
432
|
headerCell: string;
|
|
431
433
|
rowTextCell: string;
|
|
434
|
+
footerCell: string;
|
|
435
|
+
footerTotalCell: string;
|
|
432
436
|
columnTitleCell: string;
|
|
433
437
|
cellRequiredText: string;
|
|
434
438
|
detailButton: string;
|
|
@@ -464,6 +468,7 @@ export declare var defaultV2Css: {
|
|
|
464
468
|
itemCell: string;
|
|
465
469
|
headerCell: string;
|
|
466
470
|
rowTextCell: string;
|
|
471
|
+
footerCell: string;
|
|
467
472
|
columnTitleCell: string;
|
|
468
473
|
cellRequiredText: string;
|
|
469
474
|
button: string;
|
|
@@ -612,6 +617,7 @@ export declare var defaultV2Css: {
|
|
|
612
617
|
};
|
|
613
618
|
saveData: {
|
|
614
619
|
root: string;
|
|
620
|
+
rootWithButtons: string;
|
|
615
621
|
info: string;
|
|
616
622
|
error: string;
|
|
617
623
|
success: string;
|
|
@@ -2,6 +2,7 @@ import { ItemValue } from "../itemvalue";
|
|
|
2
2
|
import { QuestionSelectBase } from "../question_baseselect";
|
|
3
3
|
import { DragDropCore } from "./core";
|
|
4
4
|
export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
|
5
|
+
private imagepickerControlsNode;
|
|
5
6
|
protected readonly draggedElementType: string;
|
|
6
7
|
protected createDraggedElementShortcut(text: string, draggedElementNode: HTMLElement, event: PointerEvent): HTMLElement;
|
|
7
8
|
private createImagePickerShortcut;
|
|
@@ -70,6 +70,7 @@ export declare class JsonObjectProperty implements IObject {
|
|
|
70
70
|
minValue: any;
|
|
71
71
|
private dataListValue;
|
|
72
72
|
layout: string;
|
|
73
|
+
onSerializeValue: (obj: any) => any;
|
|
73
74
|
onGetValue: (obj: any) => any;
|
|
74
75
|
onSettingValue: (obj: any, value: any) => any;
|
|
75
76
|
onSetValue: (obj: any, value: any, jsonConv: JsonObject) => any;
|
|
@@ -89,6 +90,7 @@ export declare class JsonObjectProperty implements IObject {
|
|
|
89
90
|
defaultValue: any;
|
|
90
91
|
isDefaultValue(value: any): boolean;
|
|
91
92
|
isDefaultValueByObj(obj: Base, value: any): boolean;
|
|
93
|
+
getSerializableValue(obj: any): any;
|
|
92
94
|
getValue(obj: any): any;
|
|
93
95
|
getPropertyValue(obj: any): any;
|
|
94
96
|
readonly hasToUseSetValue: string | ((obj: any, value: any, jsonConv: JsonObject) => any);
|