survey-core 1.9.114 → 1.9.116
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 +231 -108
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +231 -108
- 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 +3 -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/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 +20 -11
- package/modern.css.map +1 -1
- package/modern.fontless.css +20 -11
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +442 -162
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +11 -2
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +2 -2
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/actions/action.d.ts +9 -7
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +15 -0
- package/ts3.4/typings/dragdrop/dom-adapter.d.ts +3 -0
- package/ts3.4/typings/expressions/expressions.d.ts +3 -0
- package/ts3.4/typings/jsonobject.d.ts +6 -1
- package/ts3.4/typings/localization/english.d.ts +2 -0
- package/ts3.4/typings/question.d.ts +5 -1
- package/ts3.4/typings/question_comment.d.ts +2 -0
- package/ts3.4/typings/question_custom.d.ts +2 -0
- package/ts3.4/typings/question_file.d.ts +2 -1
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +2 -0
- package/ts3.4/typings/question_multipletext.d.ts +5 -1
- package/ts3.4/typings/question_paneldynamic.d.ts +2 -2
- package/ts3.4/typings/question_ranking.d.ts +2 -0
- package/ts3.4/typings/question_rating.d.ts +8 -8
- package/ts3.4/typings/question_signaturepad.d.ts +30 -0
- package/ts3.4/typings/question_text.d.ts +2 -0
- package/ts3.4/typings/question_textbase.d.ts +2 -0
- package/ts3.4/typings/questionnonvalue.d.ts +2 -0
- package/ts3.4/typings/survey-events-api.d.ts +3 -3
- package/ts3.4/typings/survey.d.ts +12 -12
- package/ts3.4/typings/surveyStrings.d.ts +2 -0
- package/ts3.4/typings/utils/camera.d.ts +9 -2
- package/typings/actions/action.d.ts +9 -7
- package/typings/defaultCss/defaultV2Css.d.ts +15 -0
- package/typings/dragdrop/dom-adapter.d.ts +3 -0
- package/typings/expressions/expressions.d.ts +3 -0
- package/typings/jsonobject.d.ts +6 -1
- package/typings/localization/english.d.ts +2 -0
- package/typings/question.d.ts +5 -1
- package/typings/question_comment.d.ts +2 -0
- package/typings/question_custom.d.ts +2 -0
- package/typings/question_file.d.ts +2 -1
- package/typings/question_matrixdropdownrendered.d.ts +2 -0
- package/typings/question_multipletext.d.ts +6 -1
- package/typings/question_paneldynamic.d.ts +2 -2
- package/typings/question_ranking.d.ts +2 -0
- package/typings/question_rating.d.ts +8 -8
- package/typings/question_signaturepad.d.ts +30 -0
- package/typings/question_text.d.ts +2 -0
- package/typings/question_textbase.d.ts +2 -0
- package/typings/questionnonvalue.d.ts +2 -0
- package/typings/survey-events-api.d.ts +3 -3
- package/typings/survey.d.ts +12 -12
- package/typings/surveyStrings.d.ts +2 -0
- package/typings/utils/camera.d.ts +9 -2
package/themes/flat-dark.js
CHANGED
package/themes/flat-dark.min.js
CHANGED
package/themes/flat-light.js
CHANGED
package/themes/flat-light.min.js
CHANGED
package/themes/index.js
CHANGED
package/themes/index.min.js
CHANGED
package/themes/layered-dark.js
CHANGED
package/themes/layered-light.js
CHANGED
package/themes/plain-dark.js
CHANGED
package/themes/plain-dark.min.js
CHANGED
package/themes/plain-light.js
CHANGED
package/themes/sharp-dark.js
CHANGED
package/themes/sharp-dark.min.js
CHANGED
package/themes/sharp-light.js
CHANGED
package/themes/solid-dark.js
CHANGED
package/themes/solid-dark.min.js
CHANGED
package/themes/solid-light.js
CHANGED
|
@@ -8,13 +8,13 @@ export declare type actionModeType = "large" | "small" | "popup" | "removed";
|
|
|
8
8
|
*
|
|
9
9
|
* Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
|
|
10
10
|
*
|
|
11
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
11
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
12
12
|
*/
|
|
13
13
|
export interface IAction {
|
|
14
14
|
/**
|
|
15
15
|
* A unique action item identifier.
|
|
16
16
|
*
|
|
17
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
17
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
18
18
|
*/
|
|
19
19
|
id?: string;
|
|
20
20
|
/**
|
|
@@ -26,7 +26,7 @@ export interface IAction {
|
|
|
26
26
|
/**
|
|
27
27
|
* The action item's title.
|
|
28
28
|
*
|
|
29
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
29
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
30
30
|
* @see showTitle
|
|
31
31
|
* @see disableShrink
|
|
32
32
|
*/
|
|
@@ -44,6 +44,7 @@ export interface IAction {
|
|
|
44
44
|
* @see visible
|
|
45
45
|
*/
|
|
46
46
|
enabled?: boolean;
|
|
47
|
+
enabledIf?: () => boolean;
|
|
47
48
|
/**
|
|
48
49
|
* Specifies the visibility of the action item's title.
|
|
49
50
|
* @see title
|
|
@@ -53,7 +54,7 @@ export interface IAction {
|
|
|
53
54
|
/**
|
|
54
55
|
* A function that is executed when users click the action item.
|
|
55
56
|
*
|
|
56
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
57
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
57
58
|
*/
|
|
58
59
|
action?: (context?: any) => void;
|
|
59
60
|
/**
|
|
@@ -63,7 +64,7 @@ export interface IAction {
|
|
|
63
64
|
*
|
|
64
65
|
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
|
|
65
66
|
*
|
|
66
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
67
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
67
68
|
* @see innerCss
|
|
68
69
|
*/
|
|
69
70
|
css?: string;
|
|
@@ -74,7 +75,7 @@ export interface IAction {
|
|
|
74
75
|
*
|
|
75
76
|
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
|
|
76
77
|
*
|
|
77
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
78
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
78
79
|
* @see css
|
|
79
80
|
*/
|
|
80
81
|
innerCss?: string;
|
|
@@ -137,7 +138,7 @@ export interface IAction {
|
|
|
137
138
|
/**
|
|
138
139
|
* A number that specifies the action's position relative to other actions.
|
|
139
140
|
*
|
|
140
|
-
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
141
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
141
142
|
*/
|
|
142
143
|
visibleIndex?: number;
|
|
143
144
|
needSpace?: boolean;
|
|
@@ -237,6 +238,7 @@ export declare class Action extends BaseAction implements IAction, ILocalizableO
|
|
|
237
238
|
getRendererContext(locStr: LocalizableString): any;
|
|
238
239
|
setVisible(val: boolean): void;
|
|
239
240
|
getVisible(): boolean;
|
|
241
|
+
enabledIf?: () => boolean;
|
|
240
242
|
setEnabled(val: boolean): void;
|
|
241
243
|
getEnabled(): boolean;
|
|
242
244
|
setComponent(val: string): void;
|
|
@@ -303,6 +303,7 @@ export declare var defaultV2Css: {
|
|
|
303
303
|
root: string;
|
|
304
304
|
small: string;
|
|
305
305
|
controlDisabled: string;
|
|
306
|
+
constrolWithCharacterCounter: string;
|
|
306
307
|
content: string;
|
|
307
308
|
remainingCharacterCounter: string;
|
|
308
309
|
onError: string;
|
|
@@ -314,6 +315,7 @@ export declare var defaultV2Css: {
|
|
|
314
315
|
itemLabelOnError: string;
|
|
315
316
|
itemLabelAllowFocus: string;
|
|
316
317
|
itemLabelAnswered: string;
|
|
318
|
+
itemWithCharacterCounter: string;
|
|
317
319
|
item: string;
|
|
318
320
|
itemTitle: string;
|
|
319
321
|
content: string;
|
|
@@ -411,6 +413,7 @@ export declare var defaultV2Css: {
|
|
|
411
413
|
rootScroll: string;
|
|
412
414
|
root: string;
|
|
413
415
|
noHeader: string;
|
|
416
|
+
hasFooter: string;
|
|
414
417
|
rootVerticalAlignTop: string;
|
|
415
418
|
rootVerticalAlignMiddle: string;
|
|
416
419
|
tableWrapper: string;
|
|
@@ -421,6 +424,9 @@ export declare var defaultV2Css: {
|
|
|
421
424
|
errorsCellBottom: string;
|
|
422
425
|
itemCell: string;
|
|
423
426
|
row: string;
|
|
427
|
+
expandedRow: string;
|
|
428
|
+
rowHasPanel: string;
|
|
429
|
+
rowHasEndActions: string;
|
|
424
430
|
headerCell: string;
|
|
425
431
|
rowTextCell: string;
|
|
426
432
|
columnTitleCell: string;
|
|
@@ -432,6 +438,8 @@ export declare var defaultV2Css: {
|
|
|
432
438
|
detailIconId: string;
|
|
433
439
|
detailIconExpandedId: string;
|
|
434
440
|
detailPanelCell: string;
|
|
441
|
+
detailRowCell: string;
|
|
442
|
+
actionsCellPrefix: string;
|
|
435
443
|
actionsCell: string;
|
|
436
444
|
actionsCellDrag: string;
|
|
437
445
|
emptyCell: string;
|
|
@@ -445,10 +453,14 @@ export declare var defaultV2Css: {
|
|
|
445
453
|
empty: string;
|
|
446
454
|
root: string;
|
|
447
455
|
noHeader: string;
|
|
456
|
+
hasFooter: string;
|
|
448
457
|
tableWrapper: string;
|
|
449
458
|
content: string;
|
|
450
459
|
cell: string;
|
|
451
460
|
row: string;
|
|
461
|
+
rowHasPanel: string;
|
|
462
|
+
rowHasEndActions: string;
|
|
463
|
+
expandedRow: string;
|
|
452
464
|
itemCell: string;
|
|
453
465
|
headerCell: string;
|
|
454
466
|
rowTextCell: string;
|
|
@@ -463,6 +475,8 @@ export declare var defaultV2Css: {
|
|
|
463
475
|
detailIconId: string;
|
|
464
476
|
detailIconExpandedId: string;
|
|
465
477
|
detailPanelCell: string;
|
|
478
|
+
detailRowCell: string;
|
|
479
|
+
actionsCellPrefix: string;
|
|
466
480
|
actionsCell: string;
|
|
467
481
|
actionsCellDrag: string;
|
|
468
482
|
buttonAdd: string;
|
|
@@ -572,6 +586,7 @@ export declare var defaultV2Css: {
|
|
|
572
586
|
removeFileButton: string;
|
|
573
587
|
dragAreaPlaceholder: string;
|
|
574
588
|
imageWrapper: string;
|
|
589
|
+
imageWrapperDefaultImage: string;
|
|
575
590
|
single: string;
|
|
576
591
|
singleImage: string;
|
|
577
592
|
mobile: string;
|