survey-core 1.11.14 → 1.12.1
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 +157 -134
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +157 -134
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +27 -41
- package/modern.css.map +1 -1
- package/modern.fontless.css +27 -41
- 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/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 +413 -208
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/packages/survey-core/src/choicesRestful.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +28 -17
- package/ts3.4/typings/packages/survey-core/src/header.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/itemvalue.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/mask/mask_base.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/mask/mask_datetime.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +9 -1
- package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_matrix.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/question_matrixdynamic.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/utils/animation.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/utils/responsivity-manager.d.ts +1 -2
- package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +14 -0
- package/typings/packages/survey-core/src/choicesRestful.d.ts +1 -0
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +28 -17
- package/typings/packages/survey-core/src/header.d.ts +2 -2
- package/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/typings/packages/survey-core/src/itemvalue.d.ts +3 -0
- package/typings/packages/survey-core/src/mask/mask_base.d.ts +1 -0
- package/typings/packages/survey-core/src/mask/mask_datetime.d.ts +1 -0
- package/typings/packages/survey-core/src/panel.d.ts +3 -0
- package/typings/packages/survey-core/src/question.d.ts +1 -1
- package/typings/packages/survey-core/src/question_baseselect.d.ts +10 -1
- package/typings/packages/survey-core/src/question_checkbox.d.ts +1 -1
- package/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/typings/packages/survey-core/src/question_file.d.ts +1 -1
- package/typings/packages/survey-core/src/question_matrix.d.ts +1 -1
- package/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/typings/packages/survey-core/src/question_matrixdynamic.d.ts +1 -1
- package/typings/packages/survey-core/src/question_paneldynamic.d.ts +3 -0
- package/typings/packages/survey-core/src/question_text.d.ts +1 -1
- package/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/typings/packages/survey-core/src/utils/animation.d.ts +1 -0
- package/typings/packages/survey-core/src/utils/responsivity-manager.d.ts +1 -2
- package/typings/packages/survey-core/src/utils/utils.d.ts +14 -0
package/themes/solid-light.js
CHANGED
|
@@ -47,10 +47,10 @@ export declare var defaultV2Css: {
|
|
|
47
47
|
edit: string;
|
|
48
48
|
};
|
|
49
49
|
panel: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
contentEnter: string;
|
|
51
|
+
contentLeave: string;
|
|
52
|
+
enter: string;
|
|
53
|
+
leave: string;
|
|
54
54
|
asPage: string;
|
|
55
55
|
number: string;
|
|
56
56
|
title: string;
|
|
@@ -111,8 +111,8 @@ export declare var defaultV2Css: {
|
|
|
111
111
|
footerButtonsContainer: string;
|
|
112
112
|
panelsContainer: string;
|
|
113
113
|
panelWrapperInRow: string;
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
panelWrapperEnter: string;
|
|
115
|
+
panelWrapperLeave: string;
|
|
116
116
|
panelWrapperList: string;
|
|
117
117
|
progressBtnIcon: string;
|
|
118
118
|
noEntriesPlaceholder: string;
|
|
@@ -168,16 +168,17 @@ export declare var defaultV2Css: {
|
|
|
168
168
|
row: string;
|
|
169
169
|
rowMultiple: string;
|
|
170
170
|
rowCompact: string;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
rowEnter: string;
|
|
172
|
+
rowDelayedEnter: string;
|
|
173
|
+
rowLeave: string;
|
|
174
|
+
rowReplace: string;
|
|
174
175
|
pageRow: string;
|
|
175
176
|
question: {
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
contentEnter: string;
|
|
178
|
+
contentLeave: string;
|
|
179
|
+
enter: string;
|
|
180
|
+
leave: string;
|
|
178
181
|
mobile: string;
|
|
179
|
-
fadeIn: string;
|
|
180
|
-
fadeOut: string;
|
|
181
182
|
mainRoot: string;
|
|
182
183
|
flowRoot: string;
|
|
183
184
|
withFrame: string;
|
|
@@ -263,6 +264,8 @@ export declare var defaultV2Css: {
|
|
|
263
264
|
rootRow: string;
|
|
264
265
|
rootMultiColumn: string;
|
|
265
266
|
item: string;
|
|
267
|
+
itemEnter: string;
|
|
268
|
+
itemLeave: string;
|
|
266
269
|
itemOnError: string;
|
|
267
270
|
itemSelectAll: string;
|
|
268
271
|
itemNone: string;
|
|
@@ -293,6 +296,8 @@ export declare var defaultV2Css: {
|
|
|
293
296
|
itemInline: string;
|
|
294
297
|
label: string;
|
|
295
298
|
labelChecked: string;
|
|
299
|
+
itemEnter: string;
|
|
300
|
+
itemLeave: string;
|
|
296
301
|
itemDisabled: string;
|
|
297
302
|
itemReadOnly: string;
|
|
298
303
|
itemPreview: string;
|
|
@@ -398,6 +403,8 @@ export declare var defaultV2Css: {
|
|
|
398
403
|
other: string;
|
|
399
404
|
onError: string;
|
|
400
405
|
label: string;
|
|
406
|
+
itemEnter: string;
|
|
407
|
+
itemLeave: string;
|
|
401
408
|
item: string;
|
|
402
409
|
itemDisabled: string;
|
|
403
410
|
itemChecked: string;
|
|
@@ -501,8 +508,9 @@ export declare var defaultV2Css: {
|
|
|
501
508
|
errorsCellBottom: string;
|
|
502
509
|
itemCell: string;
|
|
503
510
|
row: string;
|
|
504
|
-
|
|
505
|
-
|
|
511
|
+
rowDelayedEnter: string;
|
|
512
|
+
rowEnter: string;
|
|
513
|
+
rowLeave: string;
|
|
506
514
|
expandedRow: string;
|
|
507
515
|
rowHasPanel: string;
|
|
508
516
|
rowHasEndActions: string;
|
|
@@ -542,8 +550,9 @@ export declare var defaultV2Css: {
|
|
|
542
550
|
cell: string;
|
|
543
551
|
cellResponsiveTitle: string;
|
|
544
552
|
row: string;
|
|
545
|
-
|
|
546
|
-
|
|
553
|
+
rowDelayedEnter: string;
|
|
554
|
+
rowEnter: string;
|
|
555
|
+
rowLeave: string;
|
|
547
556
|
rowHasPanel: string;
|
|
548
557
|
rowHasEndActions: string;
|
|
549
558
|
expandedRow: string;
|
|
@@ -826,6 +835,8 @@ export declare var defaultV2Css: {
|
|
|
826
835
|
itemHover: string;
|
|
827
836
|
itemControl: string;
|
|
828
837
|
itemDecorator: string;
|
|
838
|
+
itemEnter: string;
|
|
839
|
+
itemLeave: string;
|
|
829
840
|
cleanButton: string;
|
|
830
841
|
cleanButtonSvg: string;
|
|
831
842
|
cleanButtonIconId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Base } from "./base";
|
|
1
|
+
import { Base, ArrayChanges } from "./base";
|
|
2
2
|
import { HorizontalAlignment, VerticalAlignment } from "./base-interfaces";
|
|
3
3
|
import { SurveyModel } from "./survey";
|
|
4
4
|
import { ITheme } from "./themes";
|
|
@@ -76,7 +76,7 @@ export declare class Cover extends Base {
|
|
|
76
76
|
backgroundImage: string;
|
|
77
77
|
backgroundSize: string;
|
|
78
78
|
};
|
|
79
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
79
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
|
80
80
|
calculateActualHeight(logoHeight: number, titleHeight: number, descriptionHeight: number): number;
|
|
81
81
|
processResponsiveness(width: number): void;
|
|
82
82
|
readonly hasBackground: boolean;
|
|
@@ -38,4 +38,5 @@ export declare class Helpers {
|
|
|
38
38
|
static convertDateTimeToString(date: Date): string;
|
|
39
39
|
static convertValToQuestionVal(val: any, inputType?: string): any;
|
|
40
40
|
static compareVerions(ver1: string, ver2: string): number;
|
|
41
|
+
static isUrlYoutubeVideo(url: string): boolean;
|
|
41
42
|
}
|
|
@@ -70,6 +70,9 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
70
70
|
private componentValue;
|
|
71
71
|
getComponent(): string;
|
|
72
72
|
setComponent(val: string): void;
|
|
73
|
+
private _htmlElement;
|
|
74
|
+
setRootElement(val: HTMLElement): void;
|
|
75
|
+
getRootElement(): HTMLElement;
|
|
73
76
|
protected getEnabled(): boolean;
|
|
74
77
|
protected setEnabled(val: boolean): void;
|
|
75
78
|
protected getVisible(): boolean;
|
|
@@ -61,6 +61,7 @@ export declare class InputMaskDateTime extends InputMaskPattern {
|
|
|
61
61
|
readonly hasTimePart: boolean;
|
|
62
62
|
private readonly is12Hours: any;
|
|
63
63
|
getType(): string;
|
|
64
|
+
getTypeForExpressions(): string;
|
|
64
65
|
protected updateLiterals(): void;
|
|
65
66
|
private leaveOnlyNumbers;
|
|
66
67
|
private getMaskedStrFromISO;
|
|
@@ -333,6 +333,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
333
333
|
getDragDropInfo(): any;
|
|
334
334
|
private updateRowsOnElementRemoved;
|
|
335
335
|
updateRowsRemoveElementFromRow(element: IElement, row: QuestionRowModel): void;
|
|
336
|
+
disableLazyRenderingBeforeElement(el?: IElement): void;
|
|
336
337
|
findRowByElement(el: IElement): QuestionRowModel;
|
|
337
338
|
elementWidthChanged(el: IElement): void;
|
|
338
339
|
readonly processedTitle: string;
|
|
@@ -564,6 +565,8 @@ export declare class PanelModel extends PanelModelBase implements IElement {
|
|
|
564
565
|
protected getHasFrameV2(): boolean;
|
|
565
566
|
protected getIsNested(): boolean;
|
|
566
567
|
readonly showPanelAsPage: boolean;
|
|
568
|
+
private forcusFirstQuestionOnExpand;
|
|
569
|
+
expand(focusFirstQuestion?: boolean): void;
|
|
567
570
|
protected onElementExpanded(elementIsRendered: boolean): void;
|
|
568
571
|
protected getCssRoot(cssClasses: {
|
|
569
572
|
[index: string]: string;
|
|
@@ -770,7 +770,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
770
770
|
private collectErrors;
|
|
771
771
|
protected canRunValidators(isOnValueChanged: boolean): boolean;
|
|
772
772
|
private fireSurveyValidation;
|
|
773
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
773
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
774
774
|
hasRequiredError(): boolean;
|
|
775
775
|
private validatorRunner;
|
|
776
776
|
private isRunningValidatorsValue;
|
|
@@ -11,6 +11,7 @@ import { HashTable } from "./helpers";
|
|
|
11
11
|
export declare class QuestionSelectBase extends Question {
|
|
12
12
|
visibleChoicesChangedCallback: () => void;
|
|
13
13
|
loadedChoicesFromServerCallback: () => void;
|
|
14
|
+
renderedChoicesChangedCallback: () => void;
|
|
14
15
|
private filteredChoicesValue;
|
|
15
16
|
private conditionChoicesVisibleIfRunner;
|
|
16
17
|
private conditionChoicesEnableIfRunner;
|
|
@@ -202,6 +203,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
202
203
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
203
204
|
protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
204
205
|
protected isValueDisabled(val: any): boolean;
|
|
206
|
+
endLoadingFromJson(): void;
|
|
205
207
|
clearIncorrectValuesCallback: () => void;
|
|
206
208
|
/*
|
|
207
209
|
* 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.
|
|
@@ -390,7 +392,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
390
392
|
supportRefuse(): boolean;
|
|
391
393
|
supportDontKnow(): boolean;
|
|
392
394
|
protected isSupportProperty(propName: string): boolean;
|
|
393
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
395
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
394
396
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
395
397
|
protected setSurveyCore(value: ISurvey): void;
|
|
396
398
|
getStoreOthersAsComment(): boolean;
|
|
@@ -447,6 +449,12 @@ export declare class QuestionSelectBase extends Question {
|
|
|
447
449
|
protected getItemClassCore(item: any, options: any): string;
|
|
448
450
|
getLabelClass(item: ItemValue): string;
|
|
449
451
|
getControlLabelClass(item: ItemValue): string;
|
|
452
|
+
_renderedChoices: Array<ItemValue>;
|
|
453
|
+
onGetRenderedChoicesCallback?: (visibleChoices: Array<ItemValue>) => Array<ItemValue>;
|
|
454
|
+
private updateRenderedChoices;
|
|
455
|
+
private getRenderedChoicesAnimationOptions;
|
|
456
|
+
private renderedChoicesAnimation;
|
|
457
|
+
renderedChoices: Array<ItemValue>;
|
|
450
458
|
private headItemsCount;
|
|
451
459
|
private footItemsCount;
|
|
452
460
|
readonly headItems: ItemValue[];
|
|
@@ -93,7 +93,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
93
93
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
|
94
94
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
95
95
|
protected getAnswerCorrectIgnoreOrder(): boolean;
|
|
96
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
96
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
97
97
|
protected onVisibleChoicesChanged(): void;
|
|
98
98
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
|
99
99
|
protected onAfterRunItemsEnableCondition(): void;
|
|
@@ -323,7 +323,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
323
323
|
protected onUpdateQuestionCssClasses(element: Question, css: any): void;
|
|
324
324
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
|
325
325
|
protected setNewValue(newValue: any): void;
|
|
326
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
326
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
327
327
|
getSurveyData(): ISurveyData;
|
|
328
328
|
getTextProcessor(): ITextProcessor;
|
|
329
329
|
getValue(name: string): any;
|
|
@@ -41,7 +41,7 @@ export declare class QuestionFileModelBase extends Question {
|
|
|
41
41
|
waitForUpload: boolean;
|
|
42
42
|
clearValue(keepComment?: boolean): void;
|
|
43
43
|
clearOnDeletingContainer(): void;
|
|
44
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
44
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
45
45
|
protected uploadFiles(files: File[]): void;
|
|
46
46
|
protected loadPreview(newValue: any): void;
|
|
47
47
|
protected onChangeQuestionValue(newValue: any): void;
|
|
@@ -138,7 +138,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
|
138
138
|
getCellDisplayLocText(row: any, column: any): LocalizableString;
|
|
139
139
|
supportGoNextPageAutomatic(): boolean;
|
|
140
140
|
private errorsInRow;
|
|
141
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
141
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
142
142
|
private hasValuesInAllRows;
|
|
143
143
|
private checkErrorsAllRows;
|
|
144
144
|
private addErrorIntoRow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Question } from "./question";
|
|
2
|
-
import { Base } from "./base";
|
|
2
|
+
import { Base, ArrayChanges } from "./base";
|
|
3
3
|
import { ISurvey, IWrapperObject } from "./base-interfaces";
|
|
4
4
|
import { ItemValue } from "./itemvalue";
|
|
5
5
|
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
@@ -300,7 +300,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
300
300
|
private setParentQuestionToTemplate;
|
|
301
301
|
private previousChoicesId;
|
|
302
302
|
protected setQuestionProperties(question: Question, onUpdateJson?: (json: any) => any): void;
|
|
303
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
303
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
|
304
304
|
private doItemValuePropertyChanged;
|
|
305
305
|
private doShowInMultipleColumnsChanged;
|
|
306
306
|
private doColumnVisibilityChanged;
|
|
@@ -231,7 +231,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
231
231
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
|
232
232
|
supportGoNextPageAutomatic(): boolean;
|
|
233
233
|
readonly hasRowText: boolean;
|
|
234
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
234
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
235
235
|
private hasErrorInMinRows;
|
|
236
236
|
protected getUniqueColumnsNames(): Array<string>;
|
|
237
237
|
protected generateRows(): Array<MatrixDynamicRowModel>;
|
|
@@ -71,6 +71,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
71
71
|
readonly hasSingleInput: boolean;
|
|
72
72
|
readonly isContainer: boolean;
|
|
73
73
|
getFirstQuestionToFocus(withError: boolean): Question;
|
|
74
|
+
protected getFirstInputElementId(): string;
|
|
74
75
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
75
76
|
private assignOnPropertyChangedToTemplate;
|
|
76
77
|
private addOnPropertyChangedCallback;
|
|
@@ -341,6 +342,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
341
342
|
* @see allowRemovePanel
|
|
342
343
|
*/
|
|
343
344
|
allowAddPanel: boolean;
|
|
345
|
+
readonly addButtonId: string;
|
|
344
346
|
/*
|
|
345
347
|
* Specifies the position of newly added panels.
|
|
346
348
|
*
|
|
@@ -558,6 +560,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
558
560
|
private hasPanelBuildFirstTime;
|
|
559
561
|
private isBuildingPanelsFirstTime;
|
|
560
562
|
private buildPanelsFirstTime;
|
|
563
|
+
private readonly showAddPanelButton: any;
|
|
561
564
|
private readonly wasNotRenderedInSurvey: any;
|
|
562
565
|
private readonly canBuildPanels: any;
|
|
563
566
|
onFirstRendering(): void;
|
|
@@ -140,7 +140,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
140
140
|
protected valueForSurveyCore(val: any): any;
|
|
141
141
|
protected valueFromDataCore(val: any): any;
|
|
142
142
|
private dateValidationMessage;
|
|
143
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
143
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
144
144
|
protected canSetValueToSurvey(): boolean;
|
|
145
145
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
146
146
|
private getMinMaxErrorText;
|
|
@@ -791,6 +791,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
791
791
|
readonly isLazyRendering: boolean;
|
|
792
792
|
lazyRenderingFirstBatchSizeValue: number;
|
|
793
793
|
lazyRenderingFirstBatchSize: number;
|
|
794
|
+
disableLazyRenderingBeforeElement(el: IElement): void;
|
|
794
795
|
private updateLazyRenderingRowsOnRemovingElements;
|
|
795
796
|
/*
|
|
796
797
|
* A list of triggers in the survey.
|
|
@@ -65,6 +65,7 @@ export declare abstract class AnimationProperty<T, S extends IAnimationConsumer<
|
|
|
65
65
|
sync(newValue: T): void;
|
|
66
66
|
private cancelCallback;
|
|
67
67
|
cancel(): void;
|
|
68
|
+
cancelAnimations(): void;
|
|
68
69
|
}
|
|
69
70
|
export declare class AnimationBoolean extends AnimationProperty<boolean> {
|
|
70
71
|
protected animation: AnimationPropertyUtils;
|
|
@@ -9,7 +9,7 @@ export declare class ResponsivityManager {
|
|
|
9
9
|
private model;
|
|
10
10
|
private itemsSelector;
|
|
11
11
|
private dotsItemSize;
|
|
12
|
-
private delayedUpdateFunction
|
|
12
|
+
private delayedUpdateFunction;
|
|
13
13
|
private resizeObserver;
|
|
14
14
|
private isInitialized;
|
|
15
15
|
protected minDimensionConst: number;
|
|
@@ -24,7 +24,6 @@ export declare class ResponsivityManager {
|
|
|
24
24
|
protected getAvailableSpace(): number;
|
|
25
25
|
protected calcItemSize(item: HTMLDivElement): number;
|
|
26
26
|
private calcMinDimension;
|
|
27
|
-
private getRenderedVisibleActionsCount;
|
|
28
27
|
private calcItemsSizes;
|
|
29
28
|
protected calcActionDimensions(currentAction: Action, item: HTMLDivElement): void;
|
|
30
29
|
private readonly isContainerVisible: any;
|
|
@@ -54,5 +54,19 @@ export declare function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>,
|
|
|
54
54
|
}>;
|
|
55
55
|
mergedItems: Array<T>;
|
|
56
56
|
};
|
|
57
|
+
interface IVerticalDimensions {
|
|
58
|
+
paddingTop: string;
|
|
59
|
+
paddingBottom: string;
|
|
60
|
+
marginTop: string;
|
|
61
|
+
marginBottom: string;
|
|
62
|
+
heightTo: string;
|
|
63
|
+
borderTopWidth: string;
|
|
64
|
+
borderBottomWidth: string;
|
|
65
|
+
heightFrom: string;
|
|
66
|
+
}
|
|
67
|
+
export declare function getVerticalDimensions(el: HTMLElement): IVerticalDimensions;
|
|
68
|
+
export declare function setPropertiesOnElementForAnimation(el: HTMLElement, styles: any, prefix?: string): void;
|
|
69
|
+
export declare function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
|
70
|
+
export declare function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
|
57
71
|
export declare function roundTo2Decimals(number: number): number;
|
|
58
72
|
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
|
@@ -47,10 +47,10 @@ export declare var defaultV2Css: {
|
|
|
47
47
|
edit: string;
|
|
48
48
|
};
|
|
49
49
|
panel: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
contentEnter: string;
|
|
51
|
+
contentLeave: string;
|
|
52
|
+
enter: string;
|
|
53
|
+
leave: string;
|
|
54
54
|
asPage: string;
|
|
55
55
|
number: string;
|
|
56
56
|
title: string;
|
|
@@ -111,8 +111,8 @@ export declare var defaultV2Css: {
|
|
|
111
111
|
footerButtonsContainer: string;
|
|
112
112
|
panelsContainer: string;
|
|
113
113
|
panelWrapperInRow: string;
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
panelWrapperEnter: string;
|
|
115
|
+
panelWrapperLeave: string;
|
|
116
116
|
panelWrapperList: string;
|
|
117
117
|
progressBtnIcon: string;
|
|
118
118
|
noEntriesPlaceholder: string;
|
|
@@ -168,16 +168,17 @@ export declare var defaultV2Css: {
|
|
|
168
168
|
row: string;
|
|
169
169
|
rowMultiple: string;
|
|
170
170
|
rowCompact: string;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
rowEnter: string;
|
|
172
|
+
rowDelayedEnter: string;
|
|
173
|
+
rowLeave: string;
|
|
174
|
+
rowReplace: string;
|
|
174
175
|
pageRow: string;
|
|
175
176
|
question: {
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
contentEnter: string;
|
|
178
|
+
contentLeave: string;
|
|
179
|
+
enter: string;
|
|
180
|
+
leave: string;
|
|
178
181
|
mobile: string;
|
|
179
|
-
fadeIn: string;
|
|
180
|
-
fadeOut: string;
|
|
181
182
|
mainRoot: string;
|
|
182
183
|
flowRoot: string;
|
|
183
184
|
withFrame: string;
|
|
@@ -263,6 +264,8 @@ export declare var defaultV2Css: {
|
|
|
263
264
|
rootRow: string;
|
|
264
265
|
rootMultiColumn: string;
|
|
265
266
|
item: string;
|
|
267
|
+
itemEnter: string;
|
|
268
|
+
itemLeave: string;
|
|
266
269
|
itemOnError: string;
|
|
267
270
|
itemSelectAll: string;
|
|
268
271
|
itemNone: string;
|
|
@@ -293,6 +296,8 @@ export declare var defaultV2Css: {
|
|
|
293
296
|
itemInline: string;
|
|
294
297
|
label: string;
|
|
295
298
|
labelChecked: string;
|
|
299
|
+
itemEnter: string;
|
|
300
|
+
itemLeave: string;
|
|
296
301
|
itemDisabled: string;
|
|
297
302
|
itemReadOnly: string;
|
|
298
303
|
itemPreview: string;
|
|
@@ -398,6 +403,8 @@ export declare var defaultV2Css: {
|
|
|
398
403
|
other: string;
|
|
399
404
|
onError: string;
|
|
400
405
|
label: string;
|
|
406
|
+
itemEnter: string;
|
|
407
|
+
itemLeave: string;
|
|
401
408
|
item: string;
|
|
402
409
|
itemDisabled: string;
|
|
403
410
|
itemChecked: string;
|
|
@@ -501,8 +508,9 @@ export declare var defaultV2Css: {
|
|
|
501
508
|
errorsCellBottom: string;
|
|
502
509
|
itemCell: string;
|
|
503
510
|
row: string;
|
|
504
|
-
|
|
505
|
-
|
|
511
|
+
rowDelayedEnter: string;
|
|
512
|
+
rowEnter: string;
|
|
513
|
+
rowLeave: string;
|
|
506
514
|
expandedRow: string;
|
|
507
515
|
rowHasPanel: string;
|
|
508
516
|
rowHasEndActions: string;
|
|
@@ -542,8 +550,9 @@ export declare var defaultV2Css: {
|
|
|
542
550
|
cell: string;
|
|
543
551
|
cellResponsiveTitle: string;
|
|
544
552
|
row: string;
|
|
545
|
-
|
|
546
|
-
|
|
553
|
+
rowDelayedEnter: string;
|
|
554
|
+
rowEnter: string;
|
|
555
|
+
rowLeave: string;
|
|
547
556
|
rowHasPanel: string;
|
|
548
557
|
rowHasEndActions: string;
|
|
549
558
|
expandedRow: string;
|
|
@@ -826,6 +835,8 @@ export declare var defaultV2Css: {
|
|
|
826
835
|
itemHover: string;
|
|
827
836
|
itemControl: string;
|
|
828
837
|
itemDecorator: string;
|
|
838
|
+
itemEnter: string;
|
|
839
|
+
itemLeave: string;
|
|
829
840
|
cleanButton: string;
|
|
830
841
|
cleanButtonSvg: string;
|
|
831
842
|
cleanButtonIconId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Base } from "./base";
|
|
1
|
+
import { Base, ArrayChanges } from "./base";
|
|
2
2
|
import { HorizontalAlignment, VerticalAlignment } from "./base-interfaces";
|
|
3
3
|
import { SurveyModel } from "./survey";
|
|
4
4
|
import { ITheme } from "./themes";
|
|
@@ -77,7 +77,7 @@ export declare class Cover extends Base {
|
|
|
77
77
|
backgroundImage: string;
|
|
78
78
|
backgroundSize: string;
|
|
79
79
|
};
|
|
80
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
80
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
|
81
81
|
calculateActualHeight(logoHeight: number, titleHeight: number, descriptionHeight: number): number;
|
|
82
82
|
processResponsiveness(width: number): void;
|
|
83
83
|
get hasBackground(): boolean;
|
|
@@ -38,4 +38,5 @@ export declare class Helpers {
|
|
|
38
38
|
static convertDateTimeToString(date: Date): string;
|
|
39
39
|
static convertValToQuestionVal(val: any, inputType?: string): any;
|
|
40
40
|
static compareVerions(ver1: string, ver2: string): number;
|
|
41
|
+
static isUrlYoutubeVideo(url: string): boolean;
|
|
41
42
|
}
|
|
@@ -77,6 +77,9 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
77
77
|
private componentValue;
|
|
78
78
|
getComponent(): string;
|
|
79
79
|
setComponent(val: string): void;
|
|
80
|
+
private _htmlElement;
|
|
81
|
+
setRootElement(val: HTMLElement): void;
|
|
82
|
+
getRootElement(): HTMLElement;
|
|
80
83
|
protected getEnabled(): boolean;
|
|
81
84
|
protected setEnabled(val: boolean): void;
|
|
82
85
|
protected getVisible(): boolean;
|