survey-core 2.0.0-rc.3 → 2.0.0-rc.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/fesm/i18n/arabic.js +1 -1
- package/fesm/i18n/basque.js +1 -1
- package/fesm/i18n/bulgarian.js +1 -1
- package/fesm/i18n/burmese.js +1 -1
- package/fesm/i18n/catalan.js +1 -1
- package/fesm/i18n/croatian.js +1 -1
- package/fesm/i18n/czech.js +1 -1
- package/fesm/i18n/danish.js +1 -1
- package/fesm/i18n/dutch.js +1 -1
- package/fesm/i18n/english.js +1 -1
- package/fesm/i18n/estonian.js +1 -1
- package/fesm/i18n/finnish.js +1 -1
- package/fesm/i18n/french.js +1 -1
- package/fesm/i18n/georgian.js +1 -1
- package/fesm/i18n/german.js +1 -1
- package/fesm/i18n/greek.js +1 -1
- package/fesm/i18n/hebrew.js +1 -1
- package/fesm/i18n/hindi.js +1 -1
- package/fesm/i18n/hungarian.js +1 -1
- package/fesm/i18n/icelandic.js +1 -1
- package/fesm/i18n/index.js +1 -1
- package/fesm/i18n/indonesian.js +1 -1
- package/fesm/i18n/italian.js +1 -1
- package/fesm/i18n/japanese.js +1 -1
- package/fesm/i18n/kazakh.js +1 -1
- package/fesm/i18n/korean.js +1 -1
- package/fesm/i18n/latvian.js +1 -1
- package/fesm/i18n/lithuanian.js +1 -1
- package/fesm/i18n/macedonian.js +1 -1
- package/fesm/i18n/malay.js +1 -1
- package/fesm/i18n/nl-BE.js +1 -1
- package/fesm/i18n/norwegian.js +1 -1
- package/fesm/i18n/persian.js +1 -1
- package/fesm/i18n/philippines.js +1 -1
- package/fesm/i18n/polish.js +1 -1
- package/fesm/i18n/portuguese-br.js +1 -1
- package/fesm/i18n/portuguese.js +1 -1
- package/fesm/i18n/romanian.js +1 -1
- package/fesm/i18n/russian.js +1 -1
- package/fesm/i18n/serbian.js +1 -1
- package/fesm/i18n/simplified-chinese.js +1 -1
- package/fesm/i18n/slovak.js +1 -1
- package/fesm/i18n/spanish.js +1 -1
- package/fesm/i18n/swahili.js +1 -1
- package/fesm/i18n/swedish.js +1 -1
- package/fesm/i18n/tajik.js +1 -1
- package/fesm/i18n/telugu.js +1 -1
- package/fesm/i18n/thai.js +1 -1
- package/fesm/i18n/traditional-chinese.js +1 -1
- package/fesm/i18n/turkish.js +1 -1
- package/fesm/i18n/ukrainian.js +1 -1
- package/fesm/i18n/urdu.js +1 -1
- package/fesm/i18n/vietnamese.js +1 -1
- package/fesm/i18n/welsh.js +1 -1
- package/fesm/icons/iconsV1.js +1 -1
- package/fesm/icons/iconsV2.js +1 -1
- package/fesm/survey-core.js +255 -191
- package/fesm/survey-core.js.map +1 -1
- package/fesm/survey.i18n.js +1 -1
- package/fesm/themes/borderless-dark-panelless.js +1 -1
- package/fesm/themes/borderless-dark.js +1 -1
- package/fesm/themes/borderless-light-panelless.js +1 -1
- package/fesm/themes/borderless-light.js +1 -1
- package/fesm/themes/contrast-dark-panelless.js +1 -1
- package/fesm/themes/contrast-dark.js +1 -1
- package/fesm/themes/contrast-light-panelless.js +1 -1
- package/fesm/themes/contrast-light.js +1 -1
- package/fesm/themes/default-dark-panelless.js +1 -1
- package/fesm/themes/default-dark.js +1 -1
- package/fesm/themes/default-light-panelless.js +1 -1
- package/fesm/themes/default-light.js +1 -1
- package/fesm/themes/doubleborder-dark-panelless.js +1 -1
- package/fesm/themes/doubleborder-dark.js +1 -1
- package/fesm/themes/doubleborder-light-panelles.js +1 -1
- package/fesm/themes/doubleborder-light.js +1 -1
- package/fesm/themes/flat-dark-panelless.js +1 -1
- package/fesm/themes/flat-dark.js +1 -1
- package/fesm/themes/flat-light-panelless.js +1 -1
- package/fesm/themes/flat-light.js +1 -1
- package/fesm/themes/index.js +1 -1
- package/fesm/themes/layered-dark-panelless.js +1 -1
- package/fesm/themes/layered-dark.js +1 -1
- package/fesm/themes/layered-light-panelless.js +1 -1
- package/fesm/themes/layered-light.js +1 -1
- package/fesm/themes/plain-dark-panelless.js +1 -1
- package/fesm/themes/plain-dark.js +1 -1
- package/fesm/themes/plain-light-panelless.js +1 -1
- package/fesm/themes/plain-light.js +1 -1
- package/fesm/themes/sharp-dark-panelless.js +1 -1
- package/fesm/themes/sharp-dark.js +1 -1
- package/fesm/themes/sharp-light-panelless.js +1 -1
- package/fesm/themes/sharp-light.js +1 -1
- package/fesm/themes/solid-dark-panelless.js +1 -1
- package/fesm/themes/solid-dark.js +1 -1
- package/fesm/themes/solid-light-panelless.js +1 -1
- package/fesm/themes/solid-light.js +1 -1
- package/fesm/themes/three-dimensional-dark-panelless.js +1 -1
- package/fesm/themes/three-dimensional-dark.js +1 -1
- package/fesm/themes/three-dimensional-light-panelless.js +1 -1
- package/fesm/themes/three-dimensional-light.js +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/burmese.js +1 -1
- package/i18n/burmese.min.js.LICENSE.txt +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js.LICENSE.txt +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js.LICENSE.txt +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js.LICENSE.txt +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js.LICENSE.txt +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js.LICENSE.txt +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js.LICENSE.txt +1 -1
- package/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js.LICENSE.txt +1 -1
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/survey-core.css +1 -1
- package/survey-core.fontless.css +1 -1
- package/survey-core.fontless.min.css +1 -1
- package/survey-core.min.css +1 -1
- package/survey.core.js +374 -201
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +1 -1
- package/survey.core.min.js.LICENSE.txt +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js.LICENSE.txt +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js.LICENSE.txt +1 -1
- package/themes/borderless-light-panelless.js +1 -1
- package/themes/borderless-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js.LICENSE.txt +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js.LICENSE.txt +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js.LICENSE.txt +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js.LICENSE.txt +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js.LICENSE.txt +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js.LICENSE.txt +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js.LICENSE.txt +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js.LICENSE.txt +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js.LICENSE.txt +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js.LICENSE.txt +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js.LICENSE.txt +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js.LICENSE.txt +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js.LICENSE.txt +1 -1
- package/typings/src/base-interfaces.d.ts +1 -0
- package/typings/src/base.d.ts +5 -1
- package/typings/src/itemvalue.d.ts +7 -2
- package/typings/src/jsonobject.d.ts +3 -1
- package/typings/src/localizablestring.d.ts +1 -0
- package/typings/src/progress-buttons.d.ts +2 -0
- package/typings/src/question.d.ts +13 -6
- package/typings/src/question_baseselect.d.ts +7 -3
- package/typings/src/question_dropdown.d.ts +3 -2
- package/typings/src/question_rating.d.ts +2 -2
- package/typings/src/survey-element.d.ts +4 -2
- package/typings/src/survey.d.ts +15 -16
- package/typings/src/svgbundle.d.ts +1 -0
package/themes/solid-light.js
CHANGED
package/typings/src/base.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare class Bindings {
|
|
|
10
10
|
private values;
|
|
11
11
|
constructor(obj: Base);
|
|
12
12
|
getType(): string;
|
|
13
|
+
get isSurveyObj(): boolean;
|
|
13
14
|
getNames(): Array<string>;
|
|
14
15
|
getProperties(): Array<JsonObjectProperty>;
|
|
15
16
|
setBinding(propertyName: string, valueName: string): void;
|
|
@@ -83,7 +84,6 @@ export declare class Base {
|
|
|
83
84
|
private arraysInfo;
|
|
84
85
|
private eventList;
|
|
85
86
|
private expressionInfo;
|
|
86
|
-
private bindingsValue;
|
|
87
87
|
private isDisposedValue;
|
|
88
88
|
private classMetaData;
|
|
89
89
|
private onPropChangeFunctions;
|
|
@@ -132,6 +132,7 @@ export declare class Base {
|
|
|
132
132
|
constructor();
|
|
133
133
|
dispose(): void;
|
|
134
134
|
get isDisposed(): boolean;
|
|
135
|
+
get isSurveyObj(): boolean;
|
|
135
136
|
protected addEvent<T, Options = any>(): EventBase<T, Options>;
|
|
136
137
|
protected onBaseCreating(): void;
|
|
137
138
|
/**
|
|
@@ -157,7 +158,9 @@ export declare class Base {
|
|
|
157
158
|
* This property may return `false`, for example, when you [create a survey model dynamically](https://surveyjs.io/form-library/documentation/design-survey-create-a-simple-survey#create-or-change-a-survey-model-dynamically).
|
|
158
159
|
*/
|
|
159
160
|
get inSurvey(): boolean;
|
|
161
|
+
private bindingsValue;
|
|
160
162
|
get bindings(): Bindings;
|
|
163
|
+
protected isBindingEmpty(): boolean;
|
|
161
164
|
checkBindings(valueName: string, value: any): void;
|
|
162
165
|
protected updateBindings(propertyName: string, value: any): void;
|
|
163
166
|
protected updateBindingValue(valueName: string, value: any): void;
|
|
@@ -275,6 +278,7 @@ export declare class Base {
|
|
|
275
278
|
getLocalizationString(strName: string): string;
|
|
276
279
|
getLocalizationFormatString(strName: string, ...args: any[]): string;
|
|
277
280
|
protected createLocalizableString(name: string, owner: ILocalizableOwner, useMarkDown?: boolean, defaultStr?: boolean | string): LocalizableString;
|
|
281
|
+
protected removeLocalizableString(name: string): void;
|
|
278
282
|
getLocalizableString(name: string): LocalizableString;
|
|
279
283
|
getLocalizableStringText(name: string, defaultStr?: string): string;
|
|
280
284
|
setLocalizableStringText(name: string, value: string): void;
|
|
@@ -28,7 +28,6 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
28
28
|
static runEnabledConditionsForItems(items: Array<ItemValue>, runner: ConditionRunner, values: any, properties: any, onItemCallBack?: (item: ItemValue, val: boolean) => boolean): boolean;
|
|
29
29
|
private static runConditionsForItemsCore;
|
|
30
30
|
ownerPropertyName: string;
|
|
31
|
-
private _visible;
|
|
32
31
|
private locTextValue;
|
|
33
32
|
private visibleConditionRunner;
|
|
34
33
|
private enableConditionRunner;
|
|
@@ -39,6 +38,8 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
39
38
|
getLocale(): string;
|
|
40
39
|
isGhost: boolean;
|
|
41
40
|
protected get isInternal(): boolean;
|
|
41
|
+
private createLocText;
|
|
42
|
+
private getValueText;
|
|
42
43
|
get locText(): LocalizableString;
|
|
43
44
|
setLocText(locText: LocalizableString): void;
|
|
44
45
|
private _locOwner;
|
|
@@ -52,6 +53,7 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
52
53
|
set pureText(val: string);
|
|
53
54
|
get text(): string;
|
|
54
55
|
set text(newText: string);
|
|
56
|
+
get textOrHtml(): string;
|
|
55
57
|
get calculatedText(): string;
|
|
56
58
|
get shortcutText(): string;
|
|
57
59
|
private canSerializeValue;
|
|
@@ -85,9 +87,12 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
85
87
|
protected setEnabled(val: boolean): void;
|
|
86
88
|
protected getVisible(): boolean;
|
|
87
89
|
protected setVisible(val: boolean): void;
|
|
90
|
+
private get _visible();
|
|
91
|
+
private set _visible(value);
|
|
88
92
|
protected getLocTitle(): LocalizableString;
|
|
89
93
|
protected getTitle(): string;
|
|
90
94
|
protected setLocTitle(val: LocalizableString): void;
|
|
91
95
|
protected setTitle(val: string): void;
|
|
92
|
-
icon: string;
|
|
96
|
+
get icon(): string;
|
|
97
|
+
set icon(val: string);
|
|
93
98
|
}
|
|
@@ -38,6 +38,7 @@ export interface IJsonPropertyInfo {
|
|
|
38
38
|
dataList?: Array<string>;
|
|
39
39
|
isLocalizable?: boolean;
|
|
40
40
|
isSerializable?: boolean;
|
|
41
|
+
isSerializableFunc?: (obj: any) => boolean;
|
|
41
42
|
isLightSerializable?: boolean;
|
|
42
43
|
readOnly?: boolean;
|
|
43
44
|
availableInMatrixColumn?: boolean;
|
|
@@ -96,6 +97,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
|
|
|
96
97
|
private choicesfunc;
|
|
97
98
|
private dependedProperties;
|
|
98
99
|
isSerializable: boolean;
|
|
100
|
+
isSerializableFunc: (obj: any) => boolean;
|
|
99
101
|
isLightSerializable: boolean;
|
|
100
102
|
isCustom: boolean;
|
|
101
103
|
isDynamicChoices: boolean;
|
|
@@ -150,7 +152,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
|
|
|
150
152
|
set isUnique(val: boolean);
|
|
151
153
|
get uniquePropertyName(): string;
|
|
152
154
|
set uniquePropertyName(val: string);
|
|
153
|
-
|
|
155
|
+
isPropertySerializable(obj: any): boolean;
|
|
154
156
|
getDefaultValue(obj: Base): any;
|
|
155
157
|
get defaultValue(): any;
|
|
156
158
|
set defaultValue(newValue: any);
|
|
@@ -54,6 +54,7 @@ export declare class LocalizableString implements ILocalizableString {
|
|
|
54
54
|
set text(value: string);
|
|
55
55
|
get calculatedText(): string;
|
|
56
56
|
private calcText;
|
|
57
|
+
private isTextRequested;
|
|
57
58
|
get pureText(): string;
|
|
58
59
|
private getRootDialect;
|
|
59
60
|
private getLocalizationName;
|
|
@@ -20,6 +20,8 @@ export declare class ProgressButtons extends Base {
|
|
|
20
20
|
getItemNumber(page: PageModel): string;
|
|
21
21
|
get headerText(): string;
|
|
22
22
|
get footerText(): string;
|
|
23
|
+
get progressText(): string;
|
|
24
|
+
resetProgressText(): void;
|
|
23
25
|
onResize: EventBase<ProgressButtons, any>;
|
|
24
26
|
processResponsiveness(width: number): void;
|
|
25
27
|
}
|
|
@@ -86,9 +86,12 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
86
86
|
get isMobile(): boolean;
|
|
87
87
|
set isMobile(val: boolean);
|
|
88
88
|
themeChanged(theme: ITheme): void;
|
|
89
|
-
private _isMobile;
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
private get _isMobile();
|
|
90
|
+
private set _isMobile(value);
|
|
91
|
+
get forceIsInputReadOnly(): boolean;
|
|
92
|
+
set forceIsInputReadOnly(val: boolean);
|
|
93
|
+
get ariaExpanded(): "true" | "false";
|
|
94
|
+
set ariaExpanded(val: "true" | "false");
|
|
92
95
|
constructor(name: string);
|
|
93
96
|
protected getDefaultTitle(): string;
|
|
94
97
|
protected createLocTitleProperty(): LocalizableString;
|
|
@@ -367,7 +370,9 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
367
370
|
* @see comment
|
|
368
371
|
* @see commentText
|
|
369
372
|
*/
|
|
370
|
-
commentPlaceholder: string;
|
|
373
|
+
get commentPlaceholder(): string;
|
|
374
|
+
set commentPlaceholder(val: string);
|
|
375
|
+
get locCommentPlaceholder(): LocalizableString;
|
|
371
376
|
get commentPlaceHolder(): string;
|
|
372
377
|
set commentPlaceHolder(newValue: string);
|
|
373
378
|
get renderedCommentPlaceholder(): string;
|
|
@@ -900,8 +905,10 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
900
905
|
protected updateBindingProp(propName: string, value: any): void;
|
|
901
906
|
getComponentName(): string;
|
|
902
907
|
isDefaultRendering(): boolean;
|
|
903
|
-
renderAs: string;
|
|
904
|
-
|
|
908
|
+
get renderAs(): string;
|
|
909
|
+
set renderAs(val: string);
|
|
910
|
+
get inMatrixMode(): boolean;
|
|
911
|
+
set inMatrixMode(val: boolean);
|
|
905
912
|
getErrorCustomText(text: string, error: SurveyError): string;
|
|
906
913
|
getValidatorTitle(): string;
|
|
907
914
|
get validatedValue(): any;
|
|
@@ -30,7 +30,8 @@ export declare class QuestionSelectBase extends Question {
|
|
|
30
30
|
private canShowOptionItemCallback;
|
|
31
31
|
private waitingGetChoiceDisplayValueResponse;
|
|
32
32
|
private get waitingChoicesByURL();
|
|
33
|
-
protected selectedItemValues: any;
|
|
33
|
+
protected get selectedItemValues(): any;
|
|
34
|
+
protected set selectedItemValues(val: any);
|
|
34
35
|
constructor(name: string);
|
|
35
36
|
getType(): string;
|
|
36
37
|
dispose(): void;
|
|
@@ -339,13 +340,16 @@ export declare class QuestionSelectBase extends Question {
|
|
|
339
340
|
* @see showOtherItem
|
|
340
341
|
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
|
341
342
|
*/
|
|
342
|
-
separateSpecialChoices: boolean;
|
|
343
|
+
get separateSpecialChoices(): boolean;
|
|
344
|
+
set separateSpecialChoices(val: boolean);
|
|
343
345
|
/**
|
|
344
346
|
* A placeholder for the comment area. Applies when the `showOtherItem` or `showCommentArea` property is `true`.
|
|
345
347
|
* @see showOtherItem
|
|
346
348
|
* @see showCommentArea
|
|
347
349
|
*/
|
|
348
|
-
otherPlaceholder: string;
|
|
350
|
+
get otherPlaceholder(): string;
|
|
351
|
+
set otherPlaceholder(val: string);
|
|
352
|
+
get locOtherPlaceholder(): LocalizableString;
|
|
349
353
|
get otherPlaceHolder(): string;
|
|
350
354
|
set otherPlaceHolder(newValue: string);
|
|
351
355
|
/**
|
|
@@ -12,7 +12,6 @@ import { DropdownListModel } from "./dropdownListModel";
|
|
|
12
12
|
export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
13
13
|
dropdownListModelValue: DropdownListModel;
|
|
14
14
|
lastSelectedItemValue: ItemValue;
|
|
15
|
-
updateReadOnlyText(): void;
|
|
16
15
|
constructor(name: string);
|
|
17
16
|
locStrsChanged(): void;
|
|
18
17
|
get showOptionsCaption(): boolean;
|
|
@@ -110,7 +109,9 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
|
110
109
|
*/
|
|
111
110
|
textWrapEnabled: boolean;
|
|
112
111
|
inputHasValue: boolean;
|
|
113
|
-
readOnlyText: string;
|
|
112
|
+
get readOnlyText(): string;
|
|
113
|
+
protected calculateReadOnlyText(): string;
|
|
114
|
+
protected resetReadOnlyText(): void;
|
|
114
115
|
/**
|
|
115
116
|
* Enables lazy loading. If you set this property to `true`, you should implement the Survey's [`onChoicesLazyLoad`](https://surveyjs.io/form-library/documentation/surveymodel#onChoicesLazyLoad) event handler.
|
|
116
117
|
* @see choicesLazyLoadPageSize
|
|
@@ -158,8 +158,8 @@ export declare class QuestionRatingModel extends Question {
|
|
|
158
158
|
get maxRateDescription(): string;
|
|
159
159
|
set maxRateDescription(val: string);
|
|
160
160
|
get locMaxRateDescription(): LocalizableString;
|
|
161
|
-
hasMinRateDescription: boolean;
|
|
162
|
-
hasMaxRateDescription: boolean;
|
|
161
|
+
get hasMinRateDescription(): boolean;
|
|
162
|
+
get hasMaxRateDescription(): boolean;
|
|
163
163
|
get hasMinLabel(): boolean;
|
|
164
164
|
get hasMaxLabel(): boolean;
|
|
165
165
|
/**
|
|
@@ -57,13 +57,15 @@ export declare abstract class SurveyElementCore extends Base implements ILocaliz
|
|
|
57
57
|
* Returns `true` if the survey element has a description.
|
|
58
58
|
* @see description
|
|
59
59
|
*/
|
|
60
|
-
hasDescription: boolean;
|
|
60
|
+
get hasDescription(): boolean;
|
|
61
|
+
set hasDescription(val: boolean);
|
|
62
|
+
protected calcDescriptionVisibility(): boolean;
|
|
63
|
+
protected resetDescriptionVisibility(): void;
|
|
61
64
|
/**
|
|
62
65
|
* Explanatory text displayed under the title.
|
|
63
66
|
* @see hasDescription
|
|
64
67
|
*/
|
|
65
68
|
description: string;
|
|
66
|
-
updateDescriptionVisibility(newDescription: any): void;
|
|
67
69
|
get locDescription(): LocalizableString;
|
|
68
70
|
get titleTagName(): string;
|
|
69
71
|
protected getDefaultTitleTagName(): string;
|
package/typings/src/survey.d.ts
CHANGED
|
@@ -773,6 +773,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
773
773
|
onElementWrapperComponentName: EventBase<SurveyModel, any>;
|
|
774
774
|
onElementWrapperComponentData: EventBase<SurveyModel, any>;
|
|
775
775
|
constructor(jsonObj?: any, renderedElement?: any);
|
|
776
|
+
private tocModelValue;
|
|
777
|
+
private get tocModel();
|
|
776
778
|
get sjsVersion(): string;
|
|
777
779
|
set sjsVersion(val: string);
|
|
778
780
|
processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
|
|
@@ -1371,11 +1373,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1371
1373
|
get logoPosition(): string;
|
|
1372
1374
|
set logoPosition(value: string);
|
|
1373
1375
|
get hasLogo(): boolean;
|
|
1374
|
-
private
|
|
1376
|
+
private resetHasLogo;
|
|
1375
1377
|
get isLogoBefore(): boolean;
|
|
1376
1378
|
get isLogoAfter(): boolean;
|
|
1377
1379
|
get logoClassNames(): string;
|
|
1378
|
-
|
|
1380
|
+
get titleIsEmpty(): boolean;
|
|
1379
1381
|
get renderedHasTitle(): boolean;
|
|
1380
1382
|
get renderedHasDescription(): boolean;
|
|
1381
1383
|
get hasTitle(): boolean;
|
|
@@ -1416,8 +1418,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1416
1418
|
* @see backgroundOpacity
|
|
1417
1419
|
*/
|
|
1418
1420
|
backgroundImage: string;
|
|
1419
|
-
renderBackgroundImage: string;
|
|
1420
|
-
private updateRenderBackgroundImage;
|
|
1421
|
+
get renderBackgroundImage(): string;
|
|
1421
1422
|
backgroundImageFit: ImageFit;
|
|
1422
1423
|
backgroundImageAttachment: ImageAttachment;
|
|
1423
1424
|
/**
|
|
@@ -1425,8 +1426,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1425
1426
|
*/
|
|
1426
1427
|
get backgroundOpacity(): number;
|
|
1427
1428
|
set backgroundOpacity(val: number);
|
|
1428
|
-
backgroundImageStyle: any;
|
|
1429
|
-
|
|
1429
|
+
get backgroundImageStyle(): any;
|
|
1430
|
+
private calcBackgroundImageStyle;
|
|
1430
1431
|
wrapperFormCss: string;
|
|
1431
1432
|
updateWrapperFormCss(): void;
|
|
1432
1433
|
/**
|
|
@@ -1993,13 +1994,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1993
1994
|
private notifyQuestionsOnHidingContent;
|
|
1994
1995
|
private createPageChangeEventOptions;
|
|
1995
1996
|
getProgress(): number;
|
|
1996
|
-
/**
|
|
1997
|
-
* Returns a percentage value that indicates user progress in the survey.
|
|
1998
|
-
* @see showProgressBar
|
|
1999
|
-
* @see progressBarType
|
|
2000
|
-
* @see progressText
|
|
2001
|
-
*/
|
|
2002
|
-
get progressValue(): number;
|
|
2003
1997
|
get isNavigationButtonsShowing(): string;
|
|
2004
1998
|
get isNavigationButtonsShowingOnTop(): boolean;
|
|
2005
1999
|
get isNavigationButtonsShowingOnBottom(): boolean;
|
|
@@ -2348,7 +2342,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2348
2342
|
* @see progressBarType
|
|
2349
2343
|
*/
|
|
2350
2344
|
get progressText(): string;
|
|
2351
|
-
|
|
2345
|
+
/**
|
|
2346
|
+
* Returns a percentage value that indicates user progress in the survey.
|
|
2347
|
+
* @see showProgressBar
|
|
2348
|
+
* @see progressBarType
|
|
2349
|
+
* @see progressText
|
|
2350
|
+
*/
|
|
2351
|
+
get progressValue(): number;
|
|
2352
2352
|
updateProgressText(onValueChanged?: boolean): void;
|
|
2353
2353
|
getProgressText(): string;
|
|
2354
2354
|
private getProgressTextCore;
|
|
@@ -2664,7 +2664,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2664
2664
|
endLoadingFromJson(): void;
|
|
2665
2665
|
private updateNavigationCss;
|
|
2666
2666
|
private updateNavigationItemCssCallback;
|
|
2667
|
-
private updateNavigationBarCss;
|
|
2668
2667
|
protected createNavigationBar(): ActionContainer;
|
|
2669
2668
|
protected createNavigationActions(): Array<IAction>;
|
|
2670
2669
|
protected onBeforeRunConstructor(): void;
|
|
@@ -3079,7 +3078,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
3079
3078
|
addLayoutElement(layoutElement: ISurveyLayoutElement): ISurveyLayoutElement;
|
|
3080
3079
|
findLayoutElement(layoutElementId: string): ISurveyLayoutElement;
|
|
3081
3080
|
removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
|
|
3082
|
-
getContainerContent(container: LayoutElementContainer):
|
|
3081
|
+
getContainerContent(container: LayoutElementContainer): Array<ISurveyLayoutElement>;
|
|
3083
3082
|
processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
|
|
3084
3083
|
processOpenDropdownMenu(question: Question, options: IDropdownMenuOptions): void;
|
|
3085
3084
|
getCssTitleExpandableSvg(): string;
|
|
@@ -11,6 +11,7 @@ export declare class SvgIconRegistry {
|
|
|
11
11
|
registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
|
|
12
12
|
registerIconsFromFolder(r: any): void;
|
|
13
13
|
registerIcons(icons: SvgIconData): void;
|
|
14
|
+
registerIcon(id: string, svg: string, iconSetVersion?: string): void;
|
|
14
15
|
iconsRenderedHtml(): string;
|
|
15
16
|
updateMarkup(): void;
|
|
16
17
|
onIconsChanged: EventBase<SvgIconRegistry, {}>;
|