survey-core 1.9.128 → 1.9.130
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 +171 -51
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +171 -51
- 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 +6 -6
- 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 +3 -3
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- 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 +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 +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 +65 -16
- package/modern.css.map +1 -1
- package/modern.fontless.css +65 -16
- 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 +769 -173
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +63 -15
- package/survey.css.map +1 -1
- package/survey.i18n.js +3 -3
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- 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 +4 -0
- package/ts3.4/typings/defaultCss/cssmodern.d.ts +2 -0
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +2 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/ts3.4/typings/dragdrop/dom-adapter.d.ts +2 -1
- package/ts3.4/typings/dropdownListModel.d.ts +2 -0
- package/ts3.4/typings/entries/chunks/model.d.ts +2 -2
- package/ts3.4/typings/header.d.ts +3 -0
- package/ts3.4/typings/jsonobject.d.ts +7 -0
- package/ts3.4/typings/panel.d.ts +7 -1
- package/ts3.4/typings/popup-survey.d.ts +10 -0
- package/ts3.4/typings/question_boolean.d.ts +3 -0
- package/ts3.4/typings/question_custom.d.ts +2 -0
- package/ts3.4/typings/question_file.d.ts +2 -1
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +13 -8
- package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +17 -0
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +1 -0
- package/ts3.4/typings/question_matrixdynamic.d.ts +2 -3
- package/ts3.4/typings/question_paneldynamic.d.ts +1 -1
- package/ts3.4/typings/settings.d.ts +27 -11
- package/ts3.4/typings/survey-events-api.d.ts +19 -0
- package/ts3.4/typings/survey.d.ts +19 -1
- package/ts3.4/typings/utils/utils.d.ts +4 -3
- package/typings/base-interfaces.d.ts +4 -0
- package/typings/defaultCss/cssmodern.d.ts +2 -0
- package/typings/defaultCss/cssstandard.d.ts +2 -0
- package/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/typings/dragdrop/dom-adapter.d.ts +2 -1
- package/typings/dropdownListModel.d.ts +2 -0
- package/typings/entries/chunks/model.d.ts +2 -2
- package/typings/header.d.ts +3 -0
- package/typings/jsonobject.d.ts +7 -0
- package/typings/panel.d.ts +7 -1
- package/typings/popup-survey.d.ts +12 -0
- package/typings/question_boolean.d.ts +3 -0
- package/typings/question_custom.d.ts +2 -0
- package/typings/question_file.d.ts +2 -1
- package/typings/question_matrixdropdownbase.d.ts +14 -8
- package/typings/question_matrixdropdowncolumn.d.ts +18 -0
- package/typings/question_matrixdropdownrendered.d.ts +1 -0
- package/typings/question_matrixdynamic.d.ts +2 -3
- package/typings/question_paneldynamic.d.ts +1 -1
- package/typings/settings.d.ts +27 -11
- package/typings/survey-events-api.d.ts +19 -0
- package/typings/survey.d.ts +19 -1
- package/typings/utils/utils.d.ts +4 -3
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
|
@@ -157,6 +157,10 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
157
157
|
elementContentVisibilityChanged(element: ISurveyElement): void;
|
|
158
158
|
onCorrectQuestionAnswer(question: IQuestion, options: any): void;
|
|
159
159
|
processPopupVisiblityChanged(question: IQuestion, popupModel: PopupModel, visible: boolean): void;
|
|
160
|
+
chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void, context?: {
|
|
161
|
+
element: ISurveyElement;
|
|
162
|
+
item?: any;
|
|
163
|
+
}): void;
|
|
160
164
|
}
|
|
161
165
|
export interface ISurveyImpl {
|
|
162
166
|
getSurveyData(): ISurveyData;
|
|
@@ -426,6 +426,7 @@ export declare var modernCss: {
|
|
|
426
426
|
window: {
|
|
427
427
|
root: string;
|
|
428
428
|
rootCollapsedMod: string;
|
|
429
|
+
rootFullScreenMode: string;
|
|
429
430
|
rootContent: string;
|
|
430
431
|
body: string;
|
|
431
432
|
header: {
|
|
@@ -437,6 +438,7 @@ export declare var modernCss: {
|
|
|
437
438
|
buttonCollapsed: string;
|
|
438
439
|
collapseButton: string;
|
|
439
440
|
closeButton: string;
|
|
441
|
+
fullScreenButton: string;
|
|
440
442
|
};
|
|
441
443
|
};
|
|
442
444
|
variables: {
|
|
@@ -360,6 +360,7 @@ export declare var defaultStandardCss: {
|
|
|
360
360
|
window: {
|
|
361
361
|
root: string;
|
|
362
362
|
rootCollapsedMod: string;
|
|
363
|
+
rootFullScreenMode: string;
|
|
363
364
|
rootContent: string;
|
|
364
365
|
body: string;
|
|
365
366
|
header: {
|
|
@@ -371,6 +372,7 @@ export declare var defaultStandardCss: {
|
|
|
371
372
|
buttonCollapsed: string;
|
|
372
373
|
collapseButton: string;
|
|
373
374
|
closeButton: string;
|
|
375
|
+
fullScreenButton: string;
|
|
374
376
|
};
|
|
375
377
|
};
|
|
376
378
|
variables: {
|
|
@@ -276,6 +276,7 @@ export declare var defaultV2Css: {
|
|
|
276
276
|
itemOnError: string;
|
|
277
277
|
control: string;
|
|
278
278
|
itemChecked: string;
|
|
279
|
+
itemExchanged: string;
|
|
279
280
|
itemIndeterminate: string;
|
|
280
281
|
itemDisabled: string;
|
|
281
282
|
itemHover: string;
|
|
@@ -641,6 +642,7 @@ export declare var defaultV2Css: {
|
|
|
641
642
|
window: {
|
|
642
643
|
root: string;
|
|
643
644
|
rootCollapsedMod: string;
|
|
645
|
+
rootFullScreenMode: string;
|
|
644
646
|
rootContent: string;
|
|
645
647
|
body: string;
|
|
646
648
|
header: {
|
|
@@ -652,6 +654,7 @@ export declare var defaultV2Css: {
|
|
|
652
654
|
buttonCollapsed: string;
|
|
653
655
|
collapseButton: string;
|
|
654
656
|
closeButton: string;
|
|
657
|
+
fullScreenButton: string;
|
|
655
658
|
};
|
|
656
659
|
};
|
|
657
660
|
ranking: {
|
|
@@ -7,6 +7,7 @@ export interface IDragDropDOMAdapter {
|
|
|
7
7
|
export declare class DragDropDOMAdapter implements IDragDropDOMAdapter {
|
|
8
8
|
private dd;
|
|
9
9
|
private longTap;
|
|
10
|
+
private fitToContainer;
|
|
10
11
|
static PreventScrolling: boolean;
|
|
11
12
|
private timeoutID;
|
|
12
13
|
private startX;
|
|
@@ -17,7 +18,7 @@ export declare class DragDropDOMAdapter implements IDragDropDOMAdapter {
|
|
|
17
18
|
private savedTargetNodeParent;
|
|
18
19
|
private savedTargetNodeIndex;
|
|
19
20
|
private scrollIntervalId;
|
|
20
|
-
constructor(dd: IDragDropEngine, longTap?: boolean);
|
|
21
|
+
constructor(dd: IDragDropEngine, longTap?: boolean, fitToContainer?: boolean);
|
|
21
22
|
private readonly rootElement: any;
|
|
22
23
|
private stopLongTapIfMoveEnough;
|
|
23
24
|
private readonly isMicroMovement: any;
|
|
@@ -9,6 +9,7 @@ export declare class DropdownListModel extends Base {
|
|
|
9
9
|
protected onSelectionChanged?: (item: IAction, ...params: any[]) => void;
|
|
10
10
|
readonly minPageSize = 25;
|
|
11
11
|
readonly loadingItemHeight = 40;
|
|
12
|
+
private htmlCleanerElement;
|
|
12
13
|
private _markdownMode;
|
|
13
14
|
private _popupModel;
|
|
14
15
|
private filteredItems;
|
|
@@ -45,6 +46,7 @@ export declare class DropdownListModel extends Base {
|
|
|
45
46
|
showInputFieldComponent: boolean;
|
|
46
47
|
ariaActivedescendant: string;
|
|
47
48
|
private applyInputString;
|
|
49
|
+
private cleanHtml;
|
|
48
50
|
protected fixInputCase(): void;
|
|
49
51
|
protected applyHintString(item: ItemValue): void;
|
|
50
52
|
inputStringRendered: string;
|
|
@@ -25,7 +25,7 @@ export { ProcessValue } from "../../conditionProcessValue";
|
|
|
25
25
|
export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "../../jsonobject";
|
|
26
26
|
export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "../../question_matrixdropdownbase";
|
|
27
27
|
export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "../../question_matrixdropdowncolumn";
|
|
28
|
-
export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable } from "../../question_matrixdropdownrendered";
|
|
28
|
+
export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "../../question_matrixdropdownrendered";
|
|
29
29
|
export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../question_matrixdropdown";
|
|
30
30
|
export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../question_matrixdynamic";
|
|
31
31
|
export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../question_matrix";
|
|
@@ -88,7 +88,7 @@ export { DropdownListModel } from "../../dropdownListModel";
|
|
|
88
88
|
export { DropdownMultiSelectListModel } from "../../dropdownMultiSelectListModel";
|
|
89
89
|
export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../question_buttongroup";
|
|
90
90
|
export { IsMobile, IsTouch, _setIsTouch } from "../../utils/devices";
|
|
91
|
-
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, IAttachKey2clickOptions } from "../../utils/utils";
|
|
91
|
+
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, IAttachKey2clickOptions } from "../../utils/utils";
|
|
92
92
|
export * from "../../utils/cssClassBuilder";
|
|
93
93
|
export { surveyCss, defaultV2Css, defaultV2ThemeName } from "../../defaultCss/defaultV2Css";
|
|
94
94
|
export { DragDropCore } from "../../dragdrop/core";
|
|
@@ -29,6 +29,7 @@ export declare class Cover extends Base {
|
|
|
29
29
|
private updateContentClasses;
|
|
30
30
|
private updateBackgroundImageClasses;
|
|
31
31
|
fromTheme(theme: ITheme): void;
|
|
32
|
+
private init;
|
|
32
33
|
constructor();
|
|
33
34
|
getType(): string;
|
|
34
35
|
cells: CoverCell[];
|
|
@@ -39,6 +40,8 @@ export declare class Cover extends Base {
|
|
|
39
40
|
textGlowEnabled: boolean;
|
|
40
41
|
overlapEnabled: boolean;
|
|
41
42
|
backgroundColor: string;
|
|
43
|
+
titleColor: string;
|
|
44
|
+
descriptionColor: string;
|
|
42
45
|
backgroundImage: string;
|
|
43
46
|
renderBackgroundImage: string;
|
|
44
47
|
backgroundImageFit: "cover" | "fill" | "contain" | "tile";
|