survey-creator-core 2.0.4 → 2.0.5

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.
Files changed (139) hide show
  1. package/fesm/i18n/arabic.mjs +1 -1
  2. package/fesm/i18n/bulgarian.mjs +1 -1
  3. package/fesm/i18n/burmese.mjs +1 -1
  4. package/fesm/i18n/croatian.mjs +1 -1
  5. package/fesm/i18n/czech.mjs +1 -1
  6. package/fesm/i18n/danish.mjs +1 -1
  7. package/fesm/i18n/dutch.mjs +1 -1
  8. package/fesm/i18n/english.mjs +1 -1
  9. package/fesm/i18n/finnish.mjs +1 -1
  10. package/fesm/i18n/french.mjs +1 -1
  11. package/fesm/i18n/german.mjs +1 -1
  12. package/fesm/i18n/hebrew.mjs +1 -1
  13. package/fesm/i18n/hungarian.mjs +1 -1
  14. package/fesm/i18n/index.mjs +1 -1
  15. package/fesm/i18n/indonesian.mjs +1 -1
  16. package/fesm/i18n/italian.mjs +1 -1
  17. package/fesm/i18n/japanese.mjs +1 -1
  18. package/fesm/i18n/korean.mjs +1 -1
  19. package/fesm/i18n/malay.mjs +1 -1
  20. package/fesm/i18n/mongolian.mjs +1 -1
  21. package/fesm/i18n/norwegian.mjs +1 -1
  22. package/fesm/i18n/persian.mjs +1 -1
  23. package/fesm/i18n/polish.mjs +1 -1
  24. package/fesm/i18n/portuguese.mjs +1 -1
  25. package/fesm/i18n/romanian.mjs +1 -1
  26. package/fesm/i18n/russian.mjs +1 -1
  27. package/fesm/i18n/simplified-chinese.mjs +1 -1
  28. package/fesm/i18n/slovak.mjs +1 -1
  29. package/fesm/i18n/slovenian.mjs +1 -1
  30. package/fesm/i18n/spanish.mjs +1 -1
  31. package/fesm/i18n/swedish.mjs +1 -1
  32. package/fesm/i18n/tajik.mjs +1 -1
  33. package/fesm/i18n/thai.mjs +1 -1
  34. package/fesm/i18n/traditional-chinese.mjs +1 -1
  35. package/fesm/i18n/turkish.mjs +1 -1
  36. package/fesm/survey-creator-core.i18n.mjs +1 -1
  37. package/fesm/survey-creator-core.mjs +225 -85
  38. package/fesm/survey-creator-core.mjs.map +1 -1
  39. package/fesm/themes/index.mjs +1 -1
  40. package/fonts.fontless.css +1 -1
  41. package/fonts.fontless.min.css +1 -1
  42. package/i18n/arabic.js +1 -1
  43. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  44. package/i18n/bulgarian.js +1 -1
  45. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  46. package/i18n/burmese.js +1 -1
  47. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  48. package/i18n/croatian.js +1 -1
  49. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  50. package/i18n/czech.js +1 -1
  51. package/i18n/czech.min.js.LICENSE.txt +1 -1
  52. package/i18n/danish.js +1 -1
  53. package/i18n/danish.min.js.LICENSE.txt +1 -1
  54. package/i18n/dutch.js +1 -1
  55. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  56. package/i18n/english.js +1 -1
  57. package/i18n/english.min.js.LICENSE.txt +1 -1
  58. package/i18n/finnish.js +1 -1
  59. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  60. package/i18n/french.js +1 -1
  61. package/i18n/french.min.js.LICENSE.txt +1 -1
  62. package/i18n/german.js +1 -1
  63. package/i18n/german.min.js.LICENSE.txt +1 -1
  64. package/i18n/hebrew.js +1 -1
  65. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  66. package/i18n/hungarian.js +1 -1
  67. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  68. package/i18n/index.js +1 -1
  69. package/i18n/index.min.js.LICENSE.txt +1 -1
  70. package/i18n/indonesian.js +1 -1
  71. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  72. package/i18n/italian.js +1 -1
  73. package/i18n/italian.min.js.LICENSE.txt +1 -1
  74. package/i18n/japanese.js +1 -1
  75. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  76. package/i18n/korean.js +1 -1
  77. package/i18n/korean.min.js.LICENSE.txt +1 -1
  78. package/i18n/malay.js +1 -1
  79. package/i18n/malay.min.js.LICENSE.txt +1 -1
  80. package/i18n/mongolian.js +1 -1
  81. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  82. package/i18n/norwegian.js +1 -1
  83. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  84. package/i18n/persian.js +1 -1
  85. package/i18n/persian.min.js.LICENSE.txt +1 -1
  86. package/i18n/polish.js +1 -1
  87. package/i18n/polish.min.js.LICENSE.txt +1 -1
  88. package/i18n/portuguese.js +1 -1
  89. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  90. package/i18n/romanian.js +1 -1
  91. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  92. package/i18n/russian.js +1 -1
  93. package/i18n/russian.min.js.LICENSE.txt +1 -1
  94. package/i18n/simplified-chinese.js +1 -1
  95. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  96. package/i18n/slovak.js +1 -1
  97. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  98. package/i18n/slovenian.js +1 -1
  99. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  100. package/i18n/spanish.js +1 -1
  101. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  102. package/i18n/swedish.js +1 -1
  103. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  104. package/i18n/tajik.js +1 -1
  105. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  106. package/i18n/thai.js +1 -1
  107. package/i18n/thai.min.js.LICENSE.txt +1 -1
  108. package/i18n/traditional-chinese.js +1 -1
  109. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  110. package/i18n/turkish.js +1 -1
  111. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  112. package/package.json +2 -2
  113. package/survey-creator-core.css +24 -4
  114. package/survey-creator-core.fontless.css +23 -3
  115. package/survey-creator-core.fontless.css.map +1 -1
  116. package/survey-creator-core.fontless.min.css +3 -3
  117. package/survey-creator-core.i18n.js +1 -1
  118. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  119. package/survey-creator-core.js +280 -94
  120. package/survey-creator-core.js.map +1 -1
  121. package/survey-creator-core.min.css +4 -4
  122. package/survey-creator-core.min.js +1 -1
  123. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  124. package/themes/default-contrast.js +1 -1
  125. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  126. package/themes/default-dark.js +1 -1
  127. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  128. package/themes/index.js +1 -1
  129. package/themes/index.min.js.LICENSE.txt +1 -1
  130. package/themes/sc2020.js +1 -1
  131. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  132. package/typings/components/tabs/logic-theme.d.ts +5 -0
  133. package/typings/components/tabs/translation-theme.d.ts +5 -0
  134. package/typings/creator-base.d.ts +1 -1
  135. package/typings/creator-theme/styles-manager.d.ts +0 -13
  136. package/typings/property-grid/condition.d.ts +1 -0
  137. package/typings/property-grid/icons.d.ts +1 -0
  138. package/typings/property-grid-theme/property-grid.d.ts +19 -10
  139. package/typings/utils/global_variables_utils.d.ts +31 -0
@@ -6,7 +6,7 @@ License: MIT
6
6
  */
7
7
 
8
8
  /*!
9
- * SurveyJS Creator v2.0.4
9
+ * SurveyJS Creator v2.0.5
10
10
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
11
11
  * Github: https://github.com/surveyjs/survey-creator
12
12
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/sc2020.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.4
2
+ * SurveyJS Creator v2.0.5
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -21,6 +21,8 @@ export declare var logicCss: {
21
21
  edit: string;
22
22
  };
23
23
  panel: {
24
+ withFrame: string;
25
+ nested: string;
24
26
  enter: string;
25
27
  leave: string;
26
28
  title: string;
@@ -59,6 +61,7 @@ export declare var logicCss: {
59
61
  panelWrapperInRow: string;
60
62
  panelWrapperEnter: string;
61
63
  panelWrapperLeave: string;
64
+ footerButtonsContainer: string;
62
65
  };
63
66
  progress: string;
64
67
  progressBar: string;
@@ -77,6 +80,8 @@ export declare var logicCss: {
77
80
  rowDelayedEnter: string;
78
81
  rowMultiple: string;
79
82
  question: {
83
+ withFrame: string;
84
+ nested: string;
80
85
  mainRoot: string;
81
86
  flowRoot: string;
82
87
  asCell: string;
@@ -22,6 +22,8 @@ export declare var translationCss: {
22
22
  edit: string;
23
23
  };
24
24
  panel: {
25
+ nested: string;
26
+ withFrame: string;
25
27
  title: string;
26
28
  titleExpandable: string;
27
29
  titleOnExpand: string;
@@ -35,6 +37,7 @@ export declare var translationCss: {
35
37
  requiredMark: string;
36
38
  };
37
39
  paneldynamic: {
40
+ nested: string;
38
41
  root: string;
39
42
  navigation: string;
40
43
  title: string;
@@ -66,6 +69,8 @@ export declare var translationCss: {
66
69
  pageDescription: string;
67
70
  row: string;
68
71
  question: {
72
+ nested: string;
73
+ withFrame: string;
69
74
  mainRoot: string;
70
75
  flowRoot: string;
71
76
  asCell: string;
@@ -573,7 +573,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
573
573
  */
574
574
  onPageGetFooterActions: EventBase<SurveyCreatorModel, PageGetFooterActionsEvent>;
575
575
  /**
576
- * Оbsolete. Use the [`onPageGetFooterActions`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onPageGetFooterActions) event instead.
576
+ *@deprecated Use the [`onPageGetFooterActions`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onPageGetFooterActions) event instead.
577
577
  */
578
578
  onGetPageActions: EventBase<SurveyCreatorModel, PageGetFooterActionsEvent>;
579
579
  /**
@@ -1,16 +1,3 @@
1
- export declare class DomDocumentHelper {
2
- static isAvailable(): boolean;
3
- static getBody(): HTMLElement;
4
- static getDocumentElement(): HTMLElement;
5
- static getDocument(): Document;
6
- static getCookie(): string;
7
- static setCookie(newCookie: string): void;
8
- static activeElementBlur(): Document;
9
- static createElement(tagName: string): HTMLElement;
10
- static getComputedStyle(elt: Element): CSSStyleDeclaration;
11
- static addEventListener(type: string, listener: (e?: any) => void): void;
12
- static removeEventListener(type: string, listener: (e?: any) => void): void;
13
- }
14
1
  export declare class CreatorStylesManager {
15
2
  private static SurveyJSCreatorStylesSheetId;
16
3
  static Enabled: boolean;
@@ -5,6 +5,7 @@ export declare class PropertyGridEditorExpression extends PropertyGridEditor {
5
5
  fit(prop: JsonObjectProperty): boolean;
6
6
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
7
7
  clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
8
+ onCreated(obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions): void;
8
9
  }
9
10
  export declare class PropertyGridEditorCondition extends PropertyGridEditorExpression {
10
11
  fit(prop: JsonObjectProperty): boolean;
@@ -27,5 +27,6 @@ export declare const pgTabIcons: {
27
27
  rateValues: string;
28
28
  choices: string;
29
29
  choicesByUrl: string;
30
+ numbering: string;
30
31
  undefined: string;
31
32
  };
@@ -21,6 +21,8 @@ export declare var propertyGridCss: {
21
21
  edit: string;
22
22
  };
23
23
  panel: {
24
+ withFrame: string;
25
+ nested: string;
24
26
  expandableAnimating: string;
25
27
  title: string;
26
28
  titleBar: string;
@@ -39,6 +41,7 @@ export declare var propertyGridCss: {
39
41
  requiredMark: string;
40
42
  };
41
43
  paneldynamic: {
44
+ nested: string;
42
45
  mainRoot: string;
43
46
  root: string;
44
47
  navigation: string;
@@ -59,6 +62,8 @@ export declare var propertyGridCss: {
59
62
  progressText: string;
60
63
  panelFooter: string;
61
64
  separator: string;
65
+ footer: string;
66
+ footerButtonsContainer: string;
62
67
  };
63
68
  progress: string;
64
69
  progressBar: string;
@@ -77,6 +82,8 @@ export declare var propertyGridCss: {
77
82
  rowDelayedEnter: string;
78
83
  rowMultiple: string;
79
84
  question: {
85
+ withFrame: string;
86
+ nested: string;
80
87
  mainRoot: string;
81
88
  flowRoot: string;
82
89
  asCell: string;
@@ -102,8 +109,9 @@ export declare var propertyGridCss: {
102
109
  footer: string;
103
110
  formGroup: string;
104
111
  hasError: string;
105
- disabled: string;
112
+ readOnly: string;
106
113
  confirmDialog: string;
114
+ errorsContainerBottom: string;
107
115
  };
108
116
  image: {
109
117
  root: string;
@@ -121,7 +129,7 @@ export declare var propertyGridCss: {
121
129
  item: string;
122
130
  itemSelectAll: string;
123
131
  itemNone: string;
124
- itemDisabled: string;
132
+ itemReadOnly: string;
125
133
  itemChecked: string;
126
134
  itemHover: string;
127
135
  itemInline: string;
@@ -141,7 +149,7 @@ export declare var propertyGridCss: {
141
149
  itemInline: string;
142
150
  label: string;
143
151
  labelChecked: string;
144
- itemDisabled: string;
152
+ itemReadOnly: string;
145
153
  itemChecked: string;
146
154
  itemHover: string;
147
155
  itemControl: string;
@@ -158,7 +166,7 @@ export declare var propertyGridCss: {
158
166
  checkboxItem: string;
159
167
  checkboxItemChecked: string;
160
168
  checkboxitemIndeterminate: string;
161
- checkboxItemDisabled: string;
169
+ checkboxItemReadOnly: string;
162
170
  svgIconId: string;
163
171
  checkboxLabel: string;
164
172
  controlCheckbox: string;
@@ -196,6 +204,7 @@ export declare var propertyGridCss: {
196
204
  chevronButtonSvg: string;
197
205
  chevronButtonIconId: string;
198
206
  cleanButton: string;
207
+ controlReadOnly: string;
199
208
  };
200
209
  buttongroup: {
201
210
  root: string;
@@ -207,14 +216,14 @@ export declare var propertyGridCss: {
207
216
  itemSelected: string;
208
217
  itemDisabled: string;
209
218
  itemControl: string;
210
- disabled: string;
219
+ readOnly: string;
211
220
  };
212
221
  imagepicker: {
213
222
  root: string;
214
223
  item: string;
215
224
  itemInline: string;
216
225
  itemChecked: string;
217
- itemDisabled: string;
226
+ itemReadOnly: string;
218
227
  itemHover: string;
219
228
  label: string;
220
229
  itemControl: string;
@@ -232,13 +241,13 @@ export declare var propertyGridCss: {
232
241
  label: string;
233
242
  itemValue: string;
234
243
  itemChecked: string;
235
- itemDisabled: string;
244
+ itemReadOnly: string;
236
245
  itemHover: string;
237
246
  materialDecorator: string;
238
247
  itemDecorator: string;
239
248
  cellText: string;
240
249
  cellTextSelected: string;
241
- cellTextDisabled: string;
250
+ cellTextReadOnly: string;
242
251
  };
243
252
  matrixdropdown: {
244
253
  tableWrapper: string;
@@ -291,7 +300,7 @@ export declare var propertyGridCss: {
291
300
  minText: string;
292
301
  itemText: string;
293
302
  maxText: string;
294
- disabled: string;
303
+ readOnly: string;
295
304
  };
296
305
  comment: {
297
306
  root: string;
@@ -312,7 +321,7 @@ export declare var propertyGridCss: {
312
321
  fileInput: string;
313
322
  noFileChosen: string;
314
323
  chooseFile: string;
315
- disabled: string;
324
+ readOnly: string;
316
325
  removeButton: string;
317
326
  removeButtonBottom: string;
318
327
  removeFile: string;
@@ -0,0 +1,31 @@
1
+ export declare class DomWindowHelper {
2
+ static isAvailable(): boolean;
3
+ static isFileReaderAvailable(): boolean;
4
+ static getLocation(): Location;
5
+ static getVisualViewport(): VisualViewport | null;
6
+ static getInnerWidth(): number;
7
+ static getInnerHeight(): number;
8
+ static getDevicePixelRatio(): number;
9
+ static getWindow(): Window;
10
+ static hasOwn(propertyName: string): boolean;
11
+ static getSelection(): Selection | null;
12
+ static requestAnimationFrame(callback: FrameRequestCallback): number;
13
+ static addEventListener(type: string, listener: (e?: any) => void): void;
14
+ static removeEventListener(type: string, listener: (e?: any) => void): void;
15
+ static matchMedia(mediaQueryString: string): {
16
+ matches: boolean;
17
+ } | null;
18
+ }
19
+ export declare class DomDocumentHelper {
20
+ static isAvailable(): boolean;
21
+ static getBody(): HTMLElement;
22
+ static getDocumentElement(): HTMLElement;
23
+ static getDocument(): Document;
24
+ static getCookie(): string;
25
+ static setCookie(newCookie: string): void;
26
+ static activeElementBlur(): Document;
27
+ static createElement(tagName: string): HTMLElement;
28
+ static getComputedStyle(elt: Element): CSSStyleDeclaration;
29
+ static addEventListener(type: string, listener: (e?: any) => void): void;
30
+ static removeEventListener(type: string, listener: (e?: any) => void): void;
31
+ }