survey-creator-core 1.10.3 → 1.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.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/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/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.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/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.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.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.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/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/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/package.json +2 -2
- package/survey-creator-core.css +17 -3
- package/survey-creator-core.fontless.css +16 -2
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +8 -8
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +3 -3
- package/typings/components/simulator.d.ts +7 -79
- package/typings/creator-base.d.ts +3 -3
- package/typings/creator-events-api.d.ts +2 -1
|
@@ -38,86 +38,14 @@ export declare class SurveySimulatorModel extends Base {
|
|
|
38
38
|
}
|
|
39
39
|
export declare var DEFAULT_MONITOR_DPI: number;
|
|
40
40
|
export declare var simulatorDevices: {
|
|
41
|
-
|
|
41
|
+
[index: string]: {
|
|
42
|
+
cssPixelRatio?: number;
|
|
43
|
+
ppi?: number;
|
|
44
|
+
width?: number;
|
|
45
|
+
height?: number;
|
|
42
46
|
deviceType: string;
|
|
43
47
|
title: string;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
cssPixelRatio: number;
|
|
47
|
-
ppi: number;
|
|
48
|
-
width: number;
|
|
49
|
-
height: number;
|
|
50
|
-
deviceType: string;
|
|
51
|
-
title: string;
|
|
52
|
-
cssClass: string;
|
|
53
|
-
};
|
|
54
|
-
iPhone15: {
|
|
55
|
-
cssPixelRatio: number;
|
|
56
|
-
ppi: number;
|
|
57
|
-
width: number;
|
|
58
|
-
height: number;
|
|
59
|
-
deviceType: string;
|
|
60
|
-
title: string;
|
|
61
|
-
cssClass: string;
|
|
62
|
-
};
|
|
63
|
-
iPhone15Plus: {
|
|
64
|
-
cssPixelRatio: number;
|
|
65
|
-
ppi: number;
|
|
66
|
-
width: number;
|
|
67
|
-
height: number;
|
|
68
|
-
deviceType: string;
|
|
69
|
-
title: string;
|
|
70
|
-
cssClass: string;
|
|
71
|
-
};
|
|
72
|
-
iPadMini: {
|
|
73
|
-
cssPixelRatio: number;
|
|
74
|
-
ppi: number;
|
|
75
|
-
width: number;
|
|
76
|
-
height: number;
|
|
77
|
-
deviceType: string;
|
|
78
|
-
title: string;
|
|
79
|
-
cssClass: string;
|
|
80
|
-
};
|
|
81
|
-
iPad: {
|
|
82
|
-
cssPixelRatio: number;
|
|
83
|
-
ppi: number;
|
|
84
|
-
width: number;
|
|
85
|
-
height: number;
|
|
86
|
-
deviceType: string;
|
|
87
|
-
title: string;
|
|
88
|
-
cssClass: string;
|
|
89
|
-
};
|
|
90
|
-
androidPhone: {
|
|
91
|
-
cssPixelRatio: number;
|
|
92
|
-
ppi: number;
|
|
93
|
-
width: number;
|
|
94
|
-
height: number;
|
|
95
|
-
deviceType: string;
|
|
96
|
-
title: string;
|
|
97
|
-
cssClass: string;
|
|
98
|
-
};
|
|
99
|
-
androidTablet: {
|
|
100
|
-
cssPixelRatio: number;
|
|
101
|
-
ppi: number;
|
|
102
|
-
width: number;
|
|
103
|
-
height: number;
|
|
104
|
-
deviceType: string;
|
|
105
|
-
title: string;
|
|
106
|
-
cssClass: string;
|
|
107
|
-
};
|
|
108
|
-
msSurface: {
|
|
109
|
-
cssPixelRatio: number;
|
|
110
|
-
ppi: number;
|
|
111
|
-
width: number;
|
|
112
|
-
height: number;
|
|
113
|
-
deviceType: string;
|
|
114
|
-
title: string;
|
|
115
|
-
cssClass: string;
|
|
116
|
-
};
|
|
117
|
-
genericPhone: {
|
|
118
|
-
cssPixelRatio: number;
|
|
119
|
-
deviceType: string;
|
|
120
|
-
title: string;
|
|
121
|
-
cssClass: string;
|
|
48
|
+
cssClass?: string;
|
|
49
|
+
visibleIndex?: number;
|
|
122
50
|
};
|
|
123
51
|
};
|
|
@@ -275,7 +275,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
275
275
|
* [View Demo](https://surveyjs.io/survey-creator/examples/hide-category-from-property-grid/ (linkStyle))
|
|
276
276
|
*/
|
|
277
277
|
onShowingProperty: EventBase<SurveyCreatorModel, PropertyAddingEvent>;
|
|
278
|
-
onCanShowProperty: EventBase<SurveyCreatorModel,
|
|
278
|
+
onCanShowProperty: EventBase<SurveyCreatorModel, any>;
|
|
279
279
|
/**
|
|
280
280
|
* This event is obsolete. Use the [`onSurveyInstanceCreated`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onSurveyInstanceCreated) event instead.
|
|
281
281
|
* @deprecated
|
|
@@ -1114,13 +1114,13 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1114
1114
|
get propertyGrid(): SurveyModel;
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Collapses a specified category in Property Grid.
|
|
1117
|
-
* @param name A [category name](https://surveyjs.io/
|
|
1117
|
+
* @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
|
|
1118
1118
|
* @see expandPropertyGridCategory
|
|
1119
1119
|
*/
|
|
1120
1120
|
collapsePropertyGridCategory(name: string): void;
|
|
1121
1121
|
/**
|
|
1122
1122
|
* Expands a specified category in Property Grid.
|
|
1123
|
-
* @param name A [category name](https://surveyjs.io/
|
|
1123
|
+
* @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
|
|
1124
1124
|
* @see collapsePropertyGridCategory
|
|
1125
1125
|
*/
|
|
1126
1126
|
expandPropertyGridCategory(name: string): void;
|
|
@@ -463,6 +463,7 @@ export interface ModifiedEvent {
|
|
|
463
463
|
*/
|
|
464
464
|
type: string;
|
|
465
465
|
question?: Question;
|
|
466
|
+
name?: string;
|
|
466
467
|
oldValue?: any;
|
|
467
468
|
newValue?: any;
|
|
468
469
|
page?: PageModel;
|
|
@@ -642,7 +643,7 @@ export interface UploadFileEvent {
|
|
|
642
643
|
* @param status A string value that indicates a successful or failed file upload: `"success"` or `"error"`.
|
|
643
644
|
* @param fileUrl The URL of a successfully uploaded file.
|
|
644
645
|
*/
|
|
645
|
-
callback: (status: string, fileUrl
|
|
646
|
+
callback: (status: string, fileUrl?: string) => void;
|
|
646
647
|
/**
|
|
647
648
|
* Obsolete. Use the `options.element` parameter instead.
|
|
648
649
|
*/
|