survey-core 1.11.12 → 1.11.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 +209 -210
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +209 -210
- 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 -4
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +2 -3
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +2 -3
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +2 -3
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +2 -3
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +2 -3
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +2 -3
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +2 -3
- 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 +2 -2
- package/i18n/estonian.js +2 -3
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +2 -3
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +2 -3
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +2 -3
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +2 -3
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +2 -3
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +2 -3
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +2 -3
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +2 -3
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +2 -3
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +51 -102
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +2 -3
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +2 -3
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +2 -3
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +2 -3
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +2 -3
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +2 -3
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +2 -3
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +2 -3
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +2 -3
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +3 -5
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +2 -3
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +2 -3
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/philippines.js +2 -3
- package/i18n/philippines.js.map +1 -1
- package/i18n/philippines.min.js +2 -2
- package/i18n/polish.js +2 -3
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +2 -3
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +2 -3
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +2 -3
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +2 -3
- 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 -3
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +2 -3
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +2 -3
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +2 -3
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +2 -3
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +2 -3
- package/i18n/tajik.js.map +1 -1
- package/i18n/tajik.min.js +2 -2
- package/i18n/telugu.js +2 -3
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +2 -3
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +2 -3
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +2 -3
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +2 -3
- 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 -3
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- 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/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 +454 -219
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +51 -102
- 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/typings/packages/survey-core/src/actions/action.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/conditions.d.ts +4 -0
- package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
- package/ts3.4/typings/packages/survey-core/src/jsonobject.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/localization/english.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/martixBase.d.ts +11 -0
- package/ts3.4/typings/packages/survey-core/src/question.d.ts +6 -3
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
- package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +2 -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 +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
- package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +61 -51
- package/ts3.4/typings/packages/survey-core/src/question_tagbox.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +9 -0
- package/ts3.4/typings/packages/survey-core/src/settings.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +22 -12
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +11 -36
- package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
- package/ts3.4/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
- package/typings/packages/survey-core/src/actions/action.d.ts +1 -1
- package/typings/packages/survey-core/src/conditions.d.ts +4 -0
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
- package/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
- package/typings/packages/survey-core/src/jsonobject.d.ts +1 -0
- package/typings/packages/survey-core/src/list.d.ts +1 -0
- package/typings/packages/survey-core/src/localization/english.d.ts +1 -0
- package/typings/packages/survey-core/src/martixBase.d.ts +12 -0
- package/typings/packages/survey-core/src/question.d.ts +7 -3
- package/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
- package/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
- package/typings/packages/survey-core/src/question_file.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
- package/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
- package/typings/packages/survey-core/src/question_paneldynamic.d.ts +60 -50
- package/typings/packages/survey-core/src/question_tagbox.d.ts +3 -0
- package/typings/packages/survey-core/src/question_text.d.ts +9 -0
- package/typings/packages/survey-core/src/settings.d.ts +1 -1
- package/typings/packages/survey-core/src/survey-events-api.d.ts +22 -12
- package/typings/packages/survey-core/src/survey.d.ts +11 -36
- package/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
- package/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
|
@@ -257,7 +257,7 @@ export declare class Action extends BaseAction implements IAction, ILocalizableO
|
|
|
257
257
|
locStrsChanged(): void;
|
|
258
258
|
doAction(args: any): boolean;
|
|
259
259
|
private isMouseDown;
|
|
260
|
-
doMouseDown(): void;
|
|
260
|
+
doMouseDown(args: any): void;
|
|
261
261
|
doFocus(args: any): void;
|
|
262
262
|
private locStrChangedInPopupModel;
|
|
263
263
|
private locTitleChanged;
|
|
@@ -53,7 +53,11 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
|
|
|
53
53
|
readonly isAsync: boolean;
|
|
54
54
|
canRun(): boolean;
|
|
55
55
|
run(values: HashTable<any>, properties?: HashTable<any>): any;
|
|
56
|
+
private runAsyncItem;
|
|
57
|
+
private runAsyncItemCore;
|
|
56
58
|
private doAsyncFunctionReady;
|
|
59
|
+
private isAsyncFuncReady;
|
|
60
|
+
private isAsyncChildrenReady;
|
|
57
61
|
private runValues;
|
|
58
62
|
}
|
|
59
63
|
export declare class ExpressionRunnerBase {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { HashTable } from "../helpers";
|
|
2
2
|
import { ProcessValue } from "../conditionProcessValue";
|
|
3
|
+
export interface AsyncFunctionItem {
|
|
4
|
+
operand?: FunctionOperand;
|
|
5
|
+
parent?: AsyncFunctionItem;
|
|
6
|
+
children?: Array<AsyncFunctionItem>;
|
|
7
|
+
}
|
|
3
8
|
export declare abstract class Operand {
|
|
4
9
|
toString(func?: (op: Operand) => string): string;
|
|
5
10
|
abstract getType(): string;
|
|
@@ -7,7 +12,7 @@ export declare abstract class Operand {
|
|
|
7
12
|
abstract setVariables(variables: Array<string>): any;
|
|
8
13
|
hasFunction(): boolean;
|
|
9
14
|
hasAsyncFunction(): boolean;
|
|
10
|
-
addToAsyncList(list: Array<
|
|
15
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
11
16
|
isEqual(op: Operand): boolean;
|
|
12
17
|
protected abstract isContentEqual(op: Operand): boolean;
|
|
13
18
|
protected areOperatorsEquals(op1: Operand, op2: Operand): boolean;
|
|
@@ -35,7 +40,7 @@ export declare class BinaryOperand extends Operand {
|
|
|
35
40
|
setVariables(variables: Array<string>): void;
|
|
36
41
|
hasFunction(): boolean;
|
|
37
42
|
hasAsyncFunction(): boolean;
|
|
38
|
-
addToAsyncList(list: Array<
|
|
43
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
39
44
|
}
|
|
40
45
|
export declare class UnaryOperand extends Operand {
|
|
41
46
|
private expressionValue;
|
|
@@ -49,7 +54,7 @@ export declare class UnaryOperand extends Operand {
|
|
|
49
54
|
protected isContentEqual(op: Operand): boolean;
|
|
50
55
|
hasFunction(): boolean;
|
|
51
56
|
hasAsyncFunction(): boolean;
|
|
52
|
-
addToAsyncList(list: Array<
|
|
57
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
53
58
|
evaluate(processValue?: ProcessValue): boolean;
|
|
54
59
|
setVariables(variables: Array<string>): void;
|
|
55
60
|
}
|
|
@@ -62,7 +67,7 @@ export declare class ArrayOperand extends Operand {
|
|
|
62
67
|
setVariables(variables: Array<string>): void;
|
|
63
68
|
hasFunction(): boolean;
|
|
64
69
|
hasAsyncFunction(): boolean;
|
|
65
|
-
addToAsyncList(list: Array<
|
|
70
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
66
71
|
protected isContentEqual(op: Operand): boolean;
|
|
67
72
|
}
|
|
68
73
|
export declare class Const extends Operand {
|
|
@@ -109,7 +114,8 @@ export declare class FunctionOperand extends Operand {
|
|
|
109
114
|
readonly isReady: boolean;
|
|
110
115
|
hasFunction(): boolean;
|
|
111
116
|
hasAsyncFunction(): boolean;
|
|
112
|
-
|
|
117
|
+
private isAsyncFunction;
|
|
118
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
113
119
|
protected isContentEqual(op: Operand): boolean;
|
|
114
120
|
}
|
|
115
121
|
export declare class OperandMaker {
|
|
@@ -246,6 +246,7 @@ export declare class JsonMetadata {
|
|
|
246
246
|
private addDynamicPropertyIntoObj;
|
|
247
247
|
getDynamicPropertiesByObj(obj: any, dynamicType?: string): Array<JsonObjectProperty>;
|
|
248
248
|
getDynamicPropertiesByTypes(objType: string, dynamicType: string, invalidNames?: Array<string>): Array<JsonObjectProperty>;
|
|
249
|
+
private canAddDybamicProp;
|
|
249
250
|
hasOriginalProperty(obj: Base, propName: string): boolean;
|
|
250
251
|
getOriginalProperty(obj: Base, propName: string): JsonObjectProperty;
|
|
251
252
|
getProperty(className: string, propertyName: string): JsonObjectProperty;
|
|
@@ -56,6 +56,7 @@ export declare class ListModel<T extends BaseAction = Action> extends ActionCont
|
|
|
56
56
|
showSearchClearButton: boolean;
|
|
57
57
|
renderElements: boolean;
|
|
58
58
|
textWrapEnabled: boolean;
|
|
59
|
+
itemComponent: string;
|
|
59
60
|
static INDENT: number;
|
|
60
61
|
static MINELEMENTCOUNT: number;
|
|
61
62
|
scrollHandler: (e?: any) => void;
|
|
@@ -108,6 +108,17 @@ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
|
|
|
108
108
|
* A width for the column that displays row titles (first column). Accepts CSS values.
|
|
109
109
|
*/
|
|
110
110
|
rowTitleWidth: string;
|
|
111
|
+
/*
|
|
112
|
+
* Specifies how to arrange matrix questions.
|
|
113
|
+
*
|
|
114
|
+
* Possible values:
|
|
115
|
+
*
|
|
116
|
+
* - `"table"` - Displays matrix questions in a table.
|
|
117
|
+
* - `"list"` - Displays matrix questions one under another as a list.
|
|
118
|
+
* - `"auto"` (default) - Uses the `"table"` mode if the survey has sufficient width to fit the table or the `"list"` mode otherwise.
|
|
119
|
+
*/
|
|
120
|
+
displayMode: "auto" | "table" | "list";
|
|
111
121
|
getCellAriaLabel(rowTitle: string, columnTitle: string): string;
|
|
112
122
|
readonly isNewA11yStructure: boolean;
|
|
123
|
+
protected getIsMobile(): boolean;
|
|
113
124
|
}
|
|
@@ -80,8 +80,10 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
80
80
|
protected allowMobileInDesignMode(): boolean;
|
|
81
81
|
updateIsMobileFromSurvey(): void;
|
|
82
82
|
setIsMobile(val: boolean): void;
|
|
83
|
-
|
|
83
|
+
protected getIsMobile(): boolean;
|
|
84
84
|
isMobile: boolean;
|
|
85
|
+
themeChanged(theme: ITheme): void;
|
|
86
|
+
private _isMobile;
|
|
85
87
|
forceIsInputReadOnly: boolean;
|
|
86
88
|
ariaExpanded: "true" | "false";
|
|
87
89
|
constructor(name: string);
|
|
@@ -730,7 +732,8 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
730
732
|
protected getIsAnswered(): boolean;
|
|
731
733
|
/*
|
|
732
734
|
* Question validators.
|
|
733
|
-
*
|
|
735
|
+
*
|
|
736
|
+
* [Data Validation](https://surveyjs.io/form-library/documentation/data-validation (linkStyle))
|
|
734
737
|
*/
|
|
735
738
|
validators: Array<SurveyValidator>;
|
|
736
739
|
getValidators(): Array<SurveyValidator>;
|
|
@@ -854,7 +857,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
854
857
|
protected checkForResponsiveness(el: HTMLElement): void;
|
|
855
858
|
private resizeObserver;
|
|
856
859
|
protected getObservedElementSelector(): string;
|
|
857
|
-
|
|
860
|
+
protected onMobileChanged(): void;
|
|
858
861
|
private onMobileChangedCallback;
|
|
859
862
|
triggerResponsiveness(hard?: boolean): void;
|
|
860
863
|
private triggerResponsivenessCallback;
|
|
@@ -202,9 +202,6 @@ export declare class QuestionSelectBase extends Question {
|
|
|
202
202
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
203
203
|
protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
204
204
|
protected isValueDisabled(val: any): boolean;
|
|
205
|
-
/**
|
|
206
|
-
* If the clearIncorrectValuesCallback is set, it is used to clear incorrect values instead of default behaviour.
|
|
207
|
-
*/
|
|
208
205
|
clearIncorrectValuesCallback: () => void;
|
|
209
206
|
/*
|
|
210
207
|
* Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
|
|
@@ -10,6 +10,7 @@ import { SurveyError } from "./survey-error";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
12
12
|
private selectAllItemValue;
|
|
13
|
+
protected selectAllItemText: LocalizableString;
|
|
13
14
|
private invisibleOldValues;
|
|
14
15
|
protected defaultSelectedItemValues: Array<ItemValue>;
|
|
15
16
|
constructor(name: string);
|
|
@@ -49,6 +50,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
49
50
|
*/
|
|
50
51
|
isAllSelected: boolean;
|
|
51
52
|
toggleSelectAll(): void;
|
|
53
|
+
protected allElementsSelected(): boolean;
|
|
52
54
|
/**
|
|
53
55
|
* Selects all choice items, except "Other" and "None".
|
|
54
56
|
*
|
|
@@ -93,6 +93,7 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
93
93
|
readonly hasFileUI: boolean;
|
|
94
94
|
private videoStream;
|
|
95
95
|
startVideo(): void;
|
|
96
|
+
private readonly videoHtmlElement: any;
|
|
96
97
|
private startVideoInCamera;
|
|
97
98
|
stopVideo(): void;
|
|
98
99
|
snapPicture(): void;
|
|
@@ -513,5 +513,6 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
513
513
|
getRowHeaderWrapperComponentName(cell: MatrixDropdownCell): string;
|
|
514
514
|
getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
|
|
515
515
|
readonly showHorizontalScroll: boolean;
|
|
516
|
+
protected onMobileChanged(): void;
|
|
516
517
|
getRootCss(): string;
|
|
517
518
|
}
|
|
@@ -45,6 +45,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
|
45
45
|
readonly isFirstChoice: boolean;
|
|
46
46
|
className: string;
|
|
47
47
|
readonly cellQuestionWrapperClassName: string;
|
|
48
|
+
readonly isVisible: boolean;
|
|
48
49
|
readonly showResponsiveTitle: boolean;
|
|
49
50
|
readonly responsiveTitleCss: string;
|
|
50
51
|
readonly responsiveLocTitle: LocalizableString;
|
|
@@ -146,6 +146,15 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
|
|
|
146
146
|
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
147
147
|
*/
|
|
148
148
|
maskSettings: InputMaskBase;
|
|
149
|
+
/*
|
|
150
|
+
* Specifies text alignment within the input field.
|
|
151
|
+
*
|
|
152
|
+
* Possible values:
|
|
153
|
+
*
|
|
154
|
+
* - `"left"` - Aligns input text to the left side.
|
|
155
|
+
* - `"right"` - Aligns input text to the right side.
|
|
156
|
+
* - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel#maskType) is specified. Otherwise, applies left alignment.
|
|
157
|
+
*/
|
|
149
158
|
inputTextAlignment: "left" | "right" | "auto";
|
|
150
159
|
/*
|
|
151
160
|
* An item value.
|
|
@@ -113,7 +113,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
113
113
|
templateTitle: string;
|
|
114
114
|
readonly locTemplateTitle: LocalizableString;
|
|
115
115
|
/*
|
|
116
|
-
* A template for tab titles. Applies when [`
|
|
116
|
+
* A template for tab titles. Applies when [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"tab"`.
|
|
117
117
|
*
|
|
118
118
|
* The template can contain the following placeholders:
|
|
119
119
|
*
|
|
@@ -125,7 +125,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
125
125
|
* [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
|
|
126
126
|
* @see templateTitle
|
|
127
127
|
* @see tabTitlePlaceholder
|
|
128
|
-
* @see
|
|
128
|
+
* @see displayMode
|
|
129
129
|
*/
|
|
130
130
|
templateTabTitle: string;
|
|
131
131
|
readonly locTemplateTabTitle: LocalizableString;
|
|
@@ -179,21 +179,21 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
179
179
|
/*
|
|
180
180
|
* A zero-based index of the currently displayed panel.
|
|
181
181
|
*
|
|
182
|
-
* When `
|
|
182
|
+
* When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
|
|
183
183
|
* @see currentPanel
|
|
184
184
|
* @see panels
|
|
185
185
|
* @see panelCount
|
|
186
|
-
* @see
|
|
186
|
+
* @see displayMode
|
|
187
187
|
*/
|
|
188
188
|
currentIndex: number;
|
|
189
189
|
/*
|
|
190
190
|
* A `PanelModel` object that is the currently displayed panel.
|
|
191
191
|
*
|
|
192
|
-
* When `
|
|
192
|
+
* When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
|
|
193
193
|
* @see currentIndex
|
|
194
194
|
* @see panels
|
|
195
195
|
* @see panelCount
|
|
196
|
-
* @see
|
|
196
|
+
* @see displayMode
|
|
197
197
|
*/
|
|
198
198
|
currentPanel: PanelModel;
|
|
199
199
|
private _renderedPanels;
|
|
@@ -232,15 +232,15 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
232
232
|
keyDuplicationError: string;
|
|
233
233
|
readonly locKeyDuplicationError: LocalizableString;
|
|
234
234
|
/*
|
|
235
|
-
* A caption for the Previous button. Applies only if `
|
|
236
|
-
* @see
|
|
235
|
+
* A caption for the Previous button. Applies only if `displayMode` is different from `"list"`.
|
|
236
|
+
* @see displayMode
|
|
237
237
|
* @see isPrevButtonVisible
|
|
238
238
|
*/
|
|
239
239
|
panelPrevText: string;
|
|
240
240
|
readonly locPanelPrevText: LocalizableString;
|
|
241
241
|
/*
|
|
242
|
-
* A caption for the Next button. Applies only if `
|
|
243
|
-
* @see
|
|
242
|
+
* A caption for the Next button. Applies only if `displayMode` is different from `"list"`.
|
|
243
|
+
* @see displayMode
|
|
244
244
|
* @see isNextButtonVisible
|
|
245
245
|
*/
|
|
246
246
|
panelNextText: string;
|
|
@@ -256,13 +256,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
256
256
|
*/
|
|
257
257
|
panelRemoveText: string;
|
|
258
258
|
readonly locPanelRemoveText: LocalizableString;
|
|
259
|
-
/*
|
|
260
|
-
* Returns true when the renderMode equals to "progressTop" or "progressTopBottom"
|
|
261
|
-
*/
|
|
262
259
|
readonly isProgressTopShowing: boolean;
|
|
263
|
-
/*
|
|
264
|
-
* Returns true when the renderMode equals to "progressBottom" or "progressTopBottom"
|
|
265
|
-
*/
|
|
266
260
|
readonly isProgressBottomShowing: boolean;
|
|
267
261
|
/*
|
|
268
262
|
* Indicates whether the Previous button is visible.
|
|
@@ -280,9 +274,6 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
280
274
|
*/
|
|
281
275
|
readonly isNextButtonVisible: boolean;
|
|
282
276
|
readonly isNextButtonShowing: boolean;
|
|
283
|
-
/*
|
|
284
|
-
* Returns true when showRangeInProgress equals to true, renderMode doesn't equal to "list" and visiblePanelCount is >= 2.
|
|
285
|
-
*/
|
|
286
277
|
readonly isRangeShowing: boolean;
|
|
287
278
|
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
288
279
|
private isAddingNewPanels;
|
|
@@ -306,7 +297,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
306
297
|
*/
|
|
307
298
|
readonly visiblePanelCount: number;
|
|
308
299
|
/*
|
|
309
|
-
* Specifies whether users can expand and collapse panels. Applies if `
|
|
300
|
+
* Specifies whether users can expand and collapse panels. Applies if `displayMode` is `"list"` and the `templateTitle` property is specified.
|
|
310
301
|
*
|
|
311
302
|
* Possible values:
|
|
312
303
|
*
|
|
@@ -314,7 +305,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
314
305
|
* - `"expanded"` - All panels are displayed in full and can be collapsed in the UI.
|
|
315
306
|
* - `"collapsed"` - All panels display only their titles and descriptions and can be expanded in the UI.
|
|
316
307
|
* - `"firstExpanded"` - Only the first panel is displayed in full; other panels are collapsed and can be expanded in the UI.
|
|
317
|
-
* @see
|
|
308
|
+
* @see displayMode
|
|
318
309
|
* @see templateTitle
|
|
319
310
|
*/
|
|
320
311
|
panelsState: string;
|
|
@@ -407,23 +398,45 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
407
398
|
*/
|
|
408
399
|
panelRemoveButtonLocation: string;
|
|
409
400
|
/*
|
|
410
|
-
*
|
|
411
|
-
* @
|
|
412
|
-
* @see renderMode
|
|
401
|
+
* Obsolete. Use the [`showProgressBar`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) property instead.
|
|
402
|
+
* @deprecated
|
|
413
403
|
*/
|
|
414
404
|
showRangeInProgress: boolean;
|
|
415
405
|
/*
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
* Possible values:
|
|
419
|
-
*
|
|
420
|
-
* - `"list"` (default) - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
|
|
421
|
-
* - `"progressTop"` - Renders each panel as a card and displays a progress bar at the top. [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/)
|
|
422
|
-
* - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
|
|
423
|
-
* - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
|
|
424
|
-
* - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
|
|
406
|
+
* Obsolete. Use the [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) property instead.
|
|
407
|
+
* @deprecated
|
|
425
408
|
*/
|
|
426
409
|
renderMode: string;
|
|
410
|
+
private updatePanelView;
|
|
411
|
+
/**
|
|
412
|
+
* Specifies how to display panels.
|
|
413
|
+
*
|
|
414
|
+
* Possible values:
|
|
415
|
+
*
|
|
416
|
+
* - `"list"` (default) - Displays panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/)
|
|
417
|
+
* - `"carousel"` - Displays panels in a carousel. Users can switch between panels using navigation buttons.
|
|
418
|
+
* - `"tab"` - Displays each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
|
|
419
|
+
* @see showProgressBar
|
|
420
|
+
* @see progressBarLocation
|
|
421
|
+
*/
|
|
422
|
+
displayMode: "list" | "carousel" | "tab";
|
|
423
|
+
/**
|
|
424
|
+
* Specifies whether to display the progress bar. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
|
|
425
|
+
*
|
|
426
|
+
* Default value: `true`
|
|
427
|
+
* @see progressBarLocation
|
|
428
|
+
*/
|
|
429
|
+
showProgressBar: true | false;
|
|
430
|
+
/**
|
|
431
|
+
* Specifies the alignment of the [progress bar](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) relative to the currently displayed panel. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
|
|
432
|
+
*
|
|
433
|
+
* Possible values:
|
|
434
|
+
*
|
|
435
|
+
* - `"top"` (default) - Displays the progress bar at the top of the current panel.
|
|
436
|
+
* - `"bottom"` - Displays the progress bar at the bottom of the current panel.
|
|
437
|
+
* - `"topBottom"` - Displays the progress bar at the top and bottom of the current panel.
|
|
438
|
+
*/
|
|
439
|
+
progressBarLocation: "top" | "bottom" | "topBottom";
|
|
427
440
|
tabAlign: "center" | "left" | "right";
|
|
428
441
|
readonly isRenderModeList: boolean;
|
|
429
442
|
readonly isRenderModeTab: boolean;
|
|
@@ -481,19 +494,18 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
481
494
|
getProgressInfo(): IProgressInfo;
|
|
482
495
|
private isRowEmpty;
|
|
483
496
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
*
|
|
497
|
+
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
|
498
|
+
*
|
|
499
|
+
* Unlike the [`addPanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#addPanel) method, `addPanelUI()` performs additional actions: checks whether a new panel [can be added](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canAddPanel), expands and focuses the new panel, and runs animated effects.
|
|
487
500
|
* @see panelCount
|
|
488
501
|
* @see panels
|
|
489
|
-
* @see canAddPanel
|
|
490
502
|
*/
|
|
491
503
|
addPanelUI(): PanelModel;
|
|
492
504
|
private focusNewPanelCallback;
|
|
493
505
|
private focusNewPanel;
|
|
494
506
|
/**
|
|
495
507
|
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
|
496
|
-
* @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`
|
|
508
|
+
* @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `displayMode` value.
|
|
497
509
|
* @see panelCount
|
|
498
510
|
* @see panels
|
|
499
511
|
* @see allowAddPanel
|
|
@@ -504,32 +516,29 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
504
516
|
private canLeaveCurrentPanel;
|
|
505
517
|
private copyValue;
|
|
506
518
|
/**
|
|
507
|
-
*
|
|
508
|
-
* @param value a panel or panel index
|
|
509
|
-
* @see removePanel
|
|
510
|
-
* @see confirmDelete
|
|
511
|
-
* @see confirmDeleteText
|
|
512
|
-
* @see canRemovePanel
|
|
519
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
|
513
520
|
*
|
|
521
|
+
* Unlike the [`removePanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#removePanel) method, `removePanelUI()` performs additional actions: checks whether the panel [can be removed](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canRemovePanel) and displays a confirmation dialog (if the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#confirmDelete) property is enabled).
|
|
522
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
|
523
|
+
* @see addPanelUI
|
|
514
524
|
*/
|
|
515
525
|
removePanelUI(value: any): void;
|
|
516
526
|
isRequireConfirmOnDelete(val: any): boolean;
|
|
517
527
|
/**
|
|
518
|
-
* Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `
|
|
519
|
-
* @see
|
|
528
|
+
* Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `displayMode` is `"list"` or the current panel contains validation errors.
|
|
529
|
+
* @see displayMode
|
|
520
530
|
*/
|
|
521
531
|
goToNextPanel(): boolean;
|
|
522
532
|
/**
|
|
523
533
|
* Switches Dynamic Panel to the previous panel.
|
|
524
534
|
*/
|
|
525
535
|
goToPrevPanel(): void;
|
|
536
|
+
private removedPanelIndex;
|
|
526
537
|
/**
|
|
527
|
-
*
|
|
528
|
-
* @param value
|
|
529
|
-
* @see
|
|
530
|
-
* @see template
|
|
538
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
|
539
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
|
540
|
+
* @see addPanel
|
|
531
541
|
*/
|
|
532
|
-
private removedPanelIndex;
|
|
533
542
|
removePanel(value: any): void;
|
|
534
543
|
private getVisualPanelIndex;
|
|
535
544
|
private getPanelVisibleIndexById;
|
|
@@ -632,4 +641,5 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
632
641
|
readonly showNavigation: boolean;
|
|
633
642
|
showSeparator(index: number): boolean;
|
|
634
643
|
protected calcCssClasses(css: any): any;
|
|
644
|
+
protected onMobileChanged(): void;
|
|
635
645
|
}
|
|
@@ -12,6 +12,7 @@ import { ItemValue } from "./itemvalue";
|
|
|
12
12
|
export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
13
13
|
dropdownListModel: DropdownMultiSelectListModel;
|
|
14
14
|
private itemDisplayNameMap;
|
|
15
|
+
private deselectAllItemText;
|
|
15
16
|
constructor(name: string);
|
|
16
17
|
locStrsChanged(): void;
|
|
17
18
|
private updateReadOnlyText;
|
|
@@ -84,6 +85,8 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
|
84
85
|
protected supportEmptyValidation(): boolean;
|
|
85
86
|
protected onBlurCore(event: any): void;
|
|
86
87
|
protected onFocusCore(event: any): void;
|
|
88
|
+
protected allElementsSelected(): boolean;
|
|
89
|
+
updateSelectAllItemText(isAllSelected: boolean): void;
|
|
87
90
|
dispose(): void;
|
|
88
91
|
clearValue(keepComment?: boolean): void;
|
|
89
92
|
readonly showClearButton: boolean;
|
|
@@ -34,6 +34,15 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
34
34
|
* @see maskSettings
|
|
35
35
|
*/
|
|
36
36
|
maskType: string;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies text alignment within the input field.
|
|
39
|
+
*
|
|
40
|
+
* Possible values:
|
|
41
|
+
*
|
|
42
|
+
* - `"left"` - Aligns input text to the left side.
|
|
43
|
+
* - `"right"` - Aligns input text to the right side.
|
|
44
|
+
* - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) is specified. Otherwise, applies left alignment.
|
|
45
|
+
*/
|
|
37
46
|
inputTextAlignment: "left" | "right" | "auto";
|
|
38
47
|
readonly maskTypeIsEmpty: boolean;
|
|
39
48
|
/*
|
|
@@ -419,7 +419,7 @@ export declare var settings: {
|
|
|
419
419
|
* Nested properties:
|
|
420
420
|
*
|
|
421
421
|
* - `lifetime`: `number`\
|
|
422
|
-
* Specifies a time period during which a notification is displayed; measured in milliseconds.
|
|
422
|
+
* Specifies a time period during which a notification is displayed; measured in milliseconds. Default value: 2000.
|
|
423
423
|
*/
|
|
424
424
|
notifications: {
|
|
425
425
|
lifetime: number;
|
|
@@ -472,23 +472,23 @@ export interface GetResultEvent {
|
|
|
472
472
|
/**
|
|
473
473
|
* An object with the following structure:
|
|
474
474
|
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
475
|
+
* ```js
|
|
476
|
+
* {
|
|
477
|
+
* AnswersCount: Number, // A total number of posted answers to the question
|
|
478
|
+
* QuestionResult: Object // All unique answers to the question and their number
|
|
479
|
+
* }
|
|
480
|
+
* ```
|
|
481
481
|
*/
|
|
482
482
|
data: any;
|
|
483
483
|
/**
|
|
484
484
|
* An array of objects with the following structure:
|
|
485
485
|
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
486
|
+
* ```js
|
|
487
|
+
* {
|
|
488
|
+
* name: String, // A unique answer to the question
|
|
489
|
+
* value: Number // The number of user responses with this answer
|
|
490
|
+
* }
|
|
491
|
+
* ```
|
|
492
492
|
*/
|
|
493
493
|
dataList: Array<any>;
|
|
494
494
|
}
|
|
@@ -1074,3 +1074,13 @@ export interface ElementWrapperComponentNameEvent extends ElementWrapperComponen
|
|
|
1074
1074
|
export interface ElementWrapperComponentDataEvent extends ElementWrapperComponentEventMixin {
|
|
1075
1075
|
data: any;
|
|
1076
1076
|
}
|
|
1077
|
+
export interface ResizeEvent {
|
|
1078
|
+
/**
|
|
1079
|
+
* The current survey width in pixels.
|
|
1080
|
+
*/
|
|
1081
|
+
width: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* The current survey height in pixels.
|
|
1084
|
+
*/
|
|
1085
|
+
height: number;
|
|
1086
|
+
}
|