survey-core 1.11.13 → 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 +361 -339
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +361 -339
- 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 +2 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/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 +617 -309
- 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/actions/action.d.ts +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 +29 -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/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/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 +7 -4
- 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 +3 -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_matrixdropdownbase.d.ts +1 -0
- 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 +15 -15
- 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 +1 -1
- 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 +12 -36
- package/ts3.4/typings/packages/survey-core/src/surveyStrings.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/actions/action.d.ts +1 -1
- package/typings/packages/survey-core/src/choicesRestful.d.ts +1 -0
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +29 -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/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/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 +8 -4
- package/typings/packages/survey-core/src/question_baseselect.d.ts +10 -1
- package/typings/packages/survey-core/src/question_checkbox.d.ts +3 -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_matrixdropdownbase.d.ts +1 -0
- 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 +15 -15
- package/typings/packages/survey-core/src/question_tagbox.d.ts +3 -0
- package/typings/packages/survey-core/src/question_text.d.ts +1 -1
- 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 +12 -36
- package/typings/packages/survey-core/src/surveyStrings.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
|
@@ -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;
|
|
@@ -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,15 +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
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
contentEnter: string;
|
|
178
|
+
contentLeave: string;
|
|
179
|
+
enter: string;
|
|
180
|
+
leave: string;
|
|
181
|
+
mobile: string;
|
|
180
182
|
mainRoot: string;
|
|
181
183
|
flowRoot: string;
|
|
182
184
|
withFrame: string;
|
|
@@ -262,6 +264,8 @@ export declare var defaultV2Css: {
|
|
|
262
264
|
rootRow: string;
|
|
263
265
|
rootMultiColumn: string;
|
|
264
266
|
item: string;
|
|
267
|
+
itemEnter: string;
|
|
268
|
+
itemLeave: string;
|
|
265
269
|
itemOnError: string;
|
|
266
270
|
itemSelectAll: string;
|
|
267
271
|
itemNone: string;
|
|
@@ -292,6 +296,8 @@ export declare var defaultV2Css: {
|
|
|
292
296
|
itemInline: string;
|
|
293
297
|
label: string;
|
|
294
298
|
labelChecked: string;
|
|
299
|
+
itemEnter: string;
|
|
300
|
+
itemLeave: string;
|
|
295
301
|
itemDisabled: string;
|
|
296
302
|
itemReadOnly: string;
|
|
297
303
|
itemPreview: string;
|
|
@@ -397,6 +403,8 @@ export declare var defaultV2Css: {
|
|
|
397
403
|
other: string;
|
|
398
404
|
onError: string;
|
|
399
405
|
label: string;
|
|
406
|
+
itemEnter: string;
|
|
407
|
+
itemLeave: string;
|
|
400
408
|
item: string;
|
|
401
409
|
itemDisabled: string;
|
|
402
410
|
itemChecked: string;
|
|
@@ -500,8 +508,9 @@ export declare var defaultV2Css: {
|
|
|
500
508
|
errorsCellBottom: string;
|
|
501
509
|
itemCell: string;
|
|
502
510
|
row: string;
|
|
503
|
-
|
|
504
|
-
|
|
511
|
+
rowDelayedEnter: string;
|
|
512
|
+
rowEnter: string;
|
|
513
|
+
rowLeave: string;
|
|
505
514
|
expandedRow: string;
|
|
506
515
|
rowHasPanel: string;
|
|
507
516
|
rowHasEndActions: string;
|
|
@@ -541,8 +550,9 @@ export declare var defaultV2Css: {
|
|
|
541
550
|
cell: string;
|
|
542
551
|
cellResponsiveTitle: string;
|
|
543
552
|
row: string;
|
|
544
|
-
|
|
545
|
-
|
|
553
|
+
rowDelayedEnter: string;
|
|
554
|
+
rowEnter: string;
|
|
555
|
+
rowLeave: string;
|
|
546
556
|
rowHasPanel: string;
|
|
547
557
|
rowHasEndActions: string;
|
|
548
558
|
expandedRow: string;
|
|
@@ -825,6 +835,8 @@ export declare var defaultV2Css: {
|
|
|
825
835
|
itemHover: string;
|
|
826
836
|
itemControl: string;
|
|
827
837
|
itemDecorator: string;
|
|
838
|
+
itemEnter: string;
|
|
839
|
+
itemLeave: string;
|
|
828
840
|
cleanButton: string;
|
|
829
841
|
cleanButtonSvg: string;
|
|
830
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;
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -767,7 +770,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
767
770
|
private collectErrors;
|
|
768
771
|
protected canRunValidators(isOnValueChanged: boolean): boolean;
|
|
769
772
|
private fireSurveyValidation;
|
|
770
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
773
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
771
774
|
hasRequiredError(): boolean;
|
|
772
775
|
private validatorRunner;
|
|
773
776
|
private isRunningValidatorsValue;
|
|
@@ -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;
|
|
@@ -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[];
|
|
@@ -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
|
*
|
|
@@ -91,7 +93,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
91
93
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
|
92
94
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
93
95
|
protected getAnswerCorrectIgnoreOrder(): boolean;
|
|
94
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
96
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
95
97
|
protected onVisibleChoicesChanged(): void;
|
|
96
98
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
|
97
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;
|
|
@@ -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
|
}
|
|
@@ -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
|
*
|
|
@@ -494,12 +496,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
494
496
|
getProgressInfo(): IProgressInfo;
|
|
495
497
|
private isRowEmpty;
|
|
496
498
|
/**
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
499
|
+
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
|
500
|
+
*
|
|
501
|
+
* 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.
|
|
500
502
|
* @see panelCount
|
|
501
503
|
* @see panels
|
|
502
|
-
* @see canAddPanel
|
|
503
504
|
*/
|
|
504
505
|
addPanelUI(): PanelModel;
|
|
505
506
|
private focusNewPanelCallback;
|
|
@@ -517,13 +518,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
517
518
|
private canLeaveCurrentPanel;
|
|
518
519
|
private copyValue;
|
|
519
520
|
/**
|
|
520
|
-
*
|
|
521
|
-
* @param value a panel or panel index
|
|
522
|
-
* @see removePanel
|
|
523
|
-
* @see confirmDelete
|
|
524
|
-
* @see confirmDeleteText
|
|
525
|
-
* @see canRemovePanel
|
|
521
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
|
526
522
|
*
|
|
523
|
+
* 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).
|
|
524
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
|
525
|
+
* @see addPanelUI
|
|
527
526
|
*/
|
|
528
527
|
removePanelUI(value: any): void;
|
|
529
528
|
isRequireConfirmOnDelete(val: any): boolean;
|
|
@@ -536,13 +535,12 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
536
535
|
* Switches Dynamic Panel to the previous panel.
|
|
537
536
|
*/
|
|
538
537
|
goToPrevPanel(): void;
|
|
538
|
+
private removedPanelIndex;
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
541
|
-
* @param value
|
|
542
|
-
* @see
|
|
543
|
-
* @see template
|
|
540
|
+
* Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
|
|
541
|
+
* @param value A `PanelModel` instance or zero-based panel index.
|
|
542
|
+
* @see addPanel
|
|
544
543
|
*/
|
|
545
|
-
private removedPanelIndex;
|
|
546
544
|
removePanel(value: any): void;
|
|
547
545
|
private getVisualPanelIndex;
|
|
548
546
|
private getPanelVisibleIndexById;
|
|
@@ -562,6 +560,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
562
560
|
private hasPanelBuildFirstTime;
|
|
563
561
|
private isBuildingPanelsFirstTime;
|
|
564
562
|
private buildPanelsFirstTime;
|
|
563
|
+
private readonly showAddPanelButton: any;
|
|
565
564
|
private readonly wasNotRenderedInSurvey: any;
|
|
566
565
|
private readonly canBuildPanels: any;
|
|
567
566
|
onFirstRendering(): void;
|
|
@@ -645,4 +644,5 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
645
644
|
readonly showNavigation: boolean;
|
|
646
645
|
showSeparator(index: number): boolean;
|
|
647
646
|
protected calcCssClasses(css: any): any;
|
|
647
|
+
protected onMobileChanged(): void;
|
|
648
648
|
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|