survey-creator-core 1.9.67 → 1.9.69
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/package.json +2 -2
- package/survey-creator-core.css +8 -7
- package/survey-creator-core.d.ts +11 -105
- package/survey-creator-core.fontless.css +7 -6
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +13405 -6074
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +160 -121
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -39,7 +39,6 @@ declare module "localization/english" {
|
|
|
39
39
|
expression: string;
|
|
40
40
|
signaturepad: string;
|
|
41
41
|
buttongroup: string;
|
|
42
|
-
flowpanel: string;
|
|
43
42
|
};
|
|
44
43
|
ed: {
|
|
45
44
|
defaultLocale: string;
|
|
@@ -290,7 +289,6 @@ declare module "localization/english" {
|
|
|
290
289
|
pageDescriptionPlaceholder: string;
|
|
291
290
|
showOtherItem: string;
|
|
292
291
|
otherText: string;
|
|
293
|
-
otherPlaceHolder: string;
|
|
294
292
|
showNoneItem: string;
|
|
295
293
|
noneText: string;
|
|
296
294
|
showSelectAllItem: string;
|
|
@@ -328,7 +326,6 @@ declare module "localization/english" {
|
|
|
328
326
|
maxRateDescription: string;
|
|
329
327
|
inputType: string;
|
|
330
328
|
optionsCaption: string;
|
|
331
|
-
showOptionsCaption: string;
|
|
332
329
|
defaultValue: string;
|
|
333
330
|
cellsDefaultRow: string;
|
|
334
331
|
surveyEditorTitle: string;
|
|
@@ -602,12 +599,14 @@ declare module "localization/english" {
|
|
|
602
599
|
valuePropertyName: string;
|
|
603
600
|
searchEnabled: string;
|
|
604
601
|
hideSelectedItems: string;
|
|
602
|
+
closeOnSelect: string;
|
|
605
603
|
signatureWidth: string;
|
|
606
604
|
signatureHeight: string;
|
|
607
605
|
verticalAlign: string;
|
|
608
606
|
alternateRows: string;
|
|
609
607
|
columnsVisibleIf: string;
|
|
610
608
|
rowsVisibleIf: string;
|
|
609
|
+
otherPlaceholder: string;
|
|
611
610
|
};
|
|
612
611
|
pv: {
|
|
613
612
|
true: string;
|
|
@@ -815,56 +814,8 @@ declare module "localization/english" {
|
|
|
815
814
|
name: string;
|
|
816
815
|
title: string;
|
|
817
816
|
};
|
|
818
|
-
navigationButtonsVisibility: string;
|
|
819
|
-
visibleIf: string;
|
|
820
|
-
description: string;
|
|
821
|
-
requiredIf: string;
|
|
822
|
-
validators: string;
|
|
823
|
-
titleLocation: string;
|
|
824
|
-
choices: string;
|
|
825
|
-
label: string;
|
|
826
|
-
currency: string;
|
|
827
|
-
columns: string;
|
|
828
|
-
itemSize: string;
|
|
829
|
-
templateTitle: string;
|
|
830
|
-
triggers: string;
|
|
831
|
-
defaultRowValue: string;
|
|
832
817
|
multiSelect: string;
|
|
833
818
|
showLabel: string;
|
|
834
|
-
logoFit: string;
|
|
835
|
-
pages: string;
|
|
836
|
-
calculatedValues: string;
|
|
837
|
-
questionDescriptionLocation: string;
|
|
838
|
-
progressBarType: string;
|
|
839
|
-
questionTitlePattern: string;
|
|
840
|
-
widthMode: string;
|
|
841
|
-
navigationTitle: string;
|
|
842
|
-
navigationDescription: string;
|
|
843
|
-
useDisplayValuesInDynamicTexts: string;
|
|
844
|
-
descriptionLocation: string;
|
|
845
|
-
defaultValueExpression: string;
|
|
846
|
-
bindings: string;
|
|
847
|
-
allowAddRows: string;
|
|
848
|
-
allowRemoveRows: string;
|
|
849
|
-
detailPanelShowOnAdding: string;
|
|
850
|
-
allowRowsDragAndDrop: string;
|
|
851
|
-
otherPlaceHolder: string;
|
|
852
|
-
contentMode: string;
|
|
853
|
-
imageFit: string;
|
|
854
|
-
min: string;
|
|
855
|
-
max: string;
|
|
856
|
-
minValueExpression: string;
|
|
857
|
-
maxValueExpression: string;
|
|
858
|
-
step: string;
|
|
859
|
-
dataList: string;
|
|
860
|
-
autoGrow: string;
|
|
861
|
-
multiLine: string;
|
|
862
|
-
height: string;
|
|
863
|
-
penColor: string;
|
|
864
|
-
backgroundColor: string;
|
|
865
|
-
showCaption: string;
|
|
866
|
-
iconName: string;
|
|
867
|
-
iconSize: string;
|
|
868
819
|
value: string;
|
|
869
820
|
};
|
|
870
821
|
};
|
|
@@ -1170,7 +1121,6 @@ declare module "editorLocalization" {
|
|
|
1170
1121
|
expression: string;
|
|
1171
1122
|
signaturepad: string;
|
|
1172
1123
|
buttongroup: string;
|
|
1173
|
-
flowpanel: string;
|
|
1174
1124
|
};
|
|
1175
1125
|
ed: {
|
|
1176
1126
|
defaultLocale: string;
|
|
@@ -1421,7 +1371,6 @@ declare module "editorLocalization" {
|
|
|
1421
1371
|
pageDescriptionPlaceholder: string;
|
|
1422
1372
|
showOtherItem: string;
|
|
1423
1373
|
otherText: string;
|
|
1424
|
-
otherPlaceHolder: string;
|
|
1425
1374
|
showNoneItem: string;
|
|
1426
1375
|
noneText: string;
|
|
1427
1376
|
showSelectAllItem: string;
|
|
@@ -1459,7 +1408,6 @@ declare module "editorLocalization" {
|
|
|
1459
1408
|
maxRateDescription: string;
|
|
1460
1409
|
inputType: string;
|
|
1461
1410
|
optionsCaption: string;
|
|
1462
|
-
showOptionsCaption: string;
|
|
1463
1411
|
defaultValue: string;
|
|
1464
1412
|
cellsDefaultRow: string;
|
|
1465
1413
|
surveyEditorTitle: string;
|
|
@@ -1733,12 +1681,14 @@ declare module "editorLocalization" {
|
|
|
1733
1681
|
valuePropertyName: string;
|
|
1734
1682
|
searchEnabled: string;
|
|
1735
1683
|
hideSelectedItems: string;
|
|
1684
|
+
closeOnSelect: string;
|
|
1736
1685
|
signatureWidth: string;
|
|
1737
1686
|
signatureHeight: string;
|
|
1738
1687
|
verticalAlign: string;
|
|
1739
1688
|
alternateRows: string;
|
|
1740
1689
|
columnsVisibleIf: string;
|
|
1741
1690
|
rowsVisibleIf: string;
|
|
1691
|
+
otherPlaceholder: string;
|
|
1742
1692
|
};
|
|
1743
1693
|
pv: {
|
|
1744
1694
|
true: string;
|
|
@@ -1946,56 +1896,8 @@ declare module "editorLocalization" {
|
|
|
1946
1896
|
name: string;
|
|
1947
1897
|
title: string;
|
|
1948
1898
|
};
|
|
1949
|
-
navigationButtonsVisibility: string;
|
|
1950
|
-
visibleIf: string;
|
|
1951
|
-
description: string;
|
|
1952
|
-
requiredIf: string;
|
|
1953
|
-
validators: string;
|
|
1954
|
-
titleLocation: string;
|
|
1955
|
-
choices: string;
|
|
1956
|
-
label: string;
|
|
1957
|
-
currency: string;
|
|
1958
|
-
columns: string;
|
|
1959
|
-
itemSize: string;
|
|
1960
|
-
templateTitle: string;
|
|
1961
|
-
triggers: string;
|
|
1962
|
-
defaultRowValue: string;
|
|
1963
1899
|
multiSelect: string;
|
|
1964
1900
|
showLabel: string;
|
|
1965
|
-
logoFit: string;
|
|
1966
|
-
pages: string;
|
|
1967
|
-
calculatedValues: string;
|
|
1968
|
-
questionDescriptionLocation: string;
|
|
1969
|
-
progressBarType: string;
|
|
1970
|
-
questionTitlePattern: string;
|
|
1971
|
-
widthMode: string;
|
|
1972
|
-
navigationTitle: string;
|
|
1973
|
-
navigationDescription: string;
|
|
1974
|
-
useDisplayValuesInDynamicTexts: string;
|
|
1975
|
-
descriptionLocation: string;
|
|
1976
|
-
defaultValueExpression: string;
|
|
1977
|
-
bindings: string;
|
|
1978
|
-
allowAddRows: string;
|
|
1979
|
-
allowRemoveRows: string;
|
|
1980
|
-
detailPanelShowOnAdding: string;
|
|
1981
|
-
allowRowsDragAndDrop: string;
|
|
1982
|
-
otherPlaceHolder: string;
|
|
1983
|
-
contentMode: string;
|
|
1984
|
-
imageFit: string;
|
|
1985
|
-
min: string;
|
|
1986
|
-
max: string;
|
|
1987
|
-
minValueExpression: string;
|
|
1988
|
-
maxValueExpression: string;
|
|
1989
|
-
step: string;
|
|
1990
|
-
dataList: string;
|
|
1991
|
-
autoGrow: string;
|
|
1992
|
-
multiLine: string;
|
|
1993
|
-
height: string;
|
|
1994
|
-
penColor: string;
|
|
1995
|
-
backgroundColor: string;
|
|
1996
|
-
showCaption: string;
|
|
1997
|
-
iconName: string;
|
|
1998
|
-
iconSize: string;
|
|
1999
1901
|
value: string;
|
|
2000
1902
|
};
|
|
2001
1903
|
};
|
|
@@ -2564,13 +2466,17 @@ declare module "toolbox" {
|
|
|
2564
2466
|
}
|
|
2565
2467
|
}
|
|
2566
2468
|
declare module "questionconverter" {
|
|
2567
|
-
import
|
|
2469
|
+
import { Question } from "survey-core";
|
|
2568
2470
|
export class QuestionConverter {
|
|
2569
2471
|
static convertInfo: {};
|
|
2570
2472
|
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
2571
2473
|
static getConvertToClasses(className: string, availableTypes?: Array<string>, includeCurrent?: boolean): Array<string>;
|
|
2572
|
-
static convertObject(obj:
|
|
2474
|
+
static convertObject(obj: Question, convertToClass: string, defaultJSON?: any): Question;
|
|
2573
2475
|
private static updateJSON;
|
|
2476
|
+
private static updateJSONFromQuestionDefaultSettings;
|
|
2477
|
+
private static updateJSONForMatrices;
|
|
2478
|
+
private static updateJSONForRating;
|
|
2479
|
+
private static updateJSONForPanels;
|
|
2574
2480
|
}
|
|
2575
2481
|
}
|
|
2576
2482
|
declare module "textWorker" {
|
|
@@ -6983,7 +6889,7 @@ declare module "creator-base" {
|
|
|
6983
6889
|
* @see onNotify
|
|
6984
6890
|
*/
|
|
6985
6891
|
notify(msg: string, type?: "info" | "error"): void;
|
|
6986
|
-
protected convertQuestion(obj:
|
|
6892
|
+
protected convertQuestion(obj: Question, className: string): Question;
|
|
6987
6893
|
private getDefaultElementJSON;
|
|
6988
6894
|
private singlePageJSON;
|
|
6989
6895
|
/**
|