survey-creator-core 1.9.99 → 1.9.101

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.99
2
+ * SurveyJS Creator v1.9.101
3
3
  * (c) 2015-2023 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 v1.9.99
2
+ * SurveyJS Creator v1.9.101
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.99",
3
+ "version": "1.9.101",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "survey-core": "1.9.99"
37
+ "survey-core": "1.9.101"
38
38
  },
39
39
  "devDependencies": {}
40
40
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.99
2
+ * SurveyJS Creator v1.9.101
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -225,7 +225,7 @@
225
225
  }
226
226
 
227
227
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
228
- * SurveyJS Creator v1.9.99
228
+ * SurveyJS Creator v1.9.101
229
229
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
230
230
  * Github: https://github.com/surveyjs/survey-creator
231
231
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -293,6 +293,8 @@ svc-tab-json-editor-ace {
293
293
  .svc-json-editor-tab__content {
294
294
  position: relative;
295
295
  height: 100%;
296
+ display: flex;
297
+ flex-direction: column;
296
298
  }
297
299
 
298
300
  .svc-json-editor-tab__ace-editor {
@@ -312,6 +314,8 @@ svc-tab-json-editor-textarea {
312
314
  .svc-json-editor-tab__content-area {
313
315
  width: 100%;
314
316
  height: 100%;
317
+ border: none;
318
+ outline: none;
315
319
  }
316
320
 
317
321
  .svc-json-editor-tab__errros_button {
@@ -349,6 +353,49 @@ svc-tab-json-editor-textarea {
349
353
  .svc-json-editor-tab__content-errors:empty {
350
354
  display: none;
351
355
  }
356
+
357
+ .svc-json-errors {
358
+ display: flex;
359
+ max-height: calc(var(--sjs-base-unit, var(--base-unit, 8px)) * 25 + 5px);
360
+ overflow-y: auto;
361
+ flex-direction: column;
362
+ padding: 0;
363
+ margin: 0;
364
+ border-top: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
365
+ }
366
+
367
+ .svc-json-errors__item {
368
+ pointer-events: none;
369
+ display: block;
370
+ }
371
+
372
+ .svc-json-error {
373
+ font-family: var(--font-family);
374
+ font-size: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
375
+ line-height: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
376
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
377
+ background: var(--sjs-special-red-light, var(--red-light, rgba(230, 10, 62, 0.1)));
378
+ display: flex;
379
+ align-items: center;
380
+ gap: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
381
+ }
382
+
383
+ .svc-json-errors__item:not(:first-of-type) .svc-json-error {
384
+ border-top: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
385
+ }
386
+
387
+ .svc-json-error .sv-string-viewer {
388
+ pointer-events: all;
389
+ cursor: pointer;
390
+ }
391
+
392
+ .svc-json-error .sv-string-viewer:hover {
393
+ text-decoration: underline;
394
+ }
395
+
396
+ .svc-json-error__icon {
397
+ fill: var(--sjs-special-red, var(--red, #e60a3e));
398
+ }
352
399
  .svd-simulator {
353
400
  position: relative;
354
401
  -webkit-user-select: none;
@@ -1509,7 +1556,6 @@ survey-creator,
1509
1556
  width: 100%;
1510
1557
  height: 100%;
1511
1558
  position: relative;
1512
- z-index: 0;
1513
1559
  -webkit-font-smoothing: antialiased;
1514
1560
  }
1515
1561
  survey-creator *,
@@ -2427,6 +2473,7 @@ svc-question {
2427
2473
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
2428
2474
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
2429
2475
  padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2476
+ padding-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
2430
2477
  cursor: grabbing;
2431
2478
  position: absolute;
2432
2479
  z-index: 1000;
@@ -3887,11 +3934,11 @@ svc-toolbox {
3887
3934
  bottom: 0;
3888
3935
  right: 0;
3889
3936
  left: 0;
3890
- z-index: 9000;
3937
+ z-index: 900;
3891
3938
  }
3892
3939
  .svc-flyout-side-bar .svc-side-bar__wrapper {
3893
3940
  border-left: none;
3894
- z-index: 10000;
3941
+ z-index: 1000;
3895
3942
  position: absolute;
3896
3943
  right: 0;
3897
3944
  display: inline-block;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.99
2
+ * SurveyJS Creator v1.9.101
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -67,6 +67,8 @@ svc-tab-json-editor-ace {
67
67
  .svc-json-editor-tab__content {
68
68
  position: relative;
69
69
  height: 100%;
70
+ display: flex;
71
+ flex-direction: column;
70
72
  }
71
73
 
72
74
  .svc-json-editor-tab__ace-editor {
@@ -86,6 +88,8 @@ svc-tab-json-editor-textarea {
86
88
  .svc-json-editor-tab__content-area {
87
89
  width: 100%;
88
90
  height: 100%;
91
+ border: none;
92
+ outline: none;
89
93
  }
90
94
 
91
95
  .svc-json-editor-tab__errros_button {
@@ -123,6 +127,49 @@ svc-tab-json-editor-textarea {
123
127
  .svc-json-editor-tab__content-errors:empty {
124
128
  display: none;
125
129
  }
130
+
131
+ .svc-json-errors {
132
+ display: flex;
133
+ max-height: calc(var(--sjs-base-unit, var(--base-unit, 8px)) * 25 + 5px);
134
+ overflow-y: auto;
135
+ flex-direction: column;
136
+ padding: 0;
137
+ margin: 0;
138
+ border-top: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
139
+ }
140
+
141
+ .svc-json-errors__item {
142
+ pointer-events: none;
143
+ display: block;
144
+ }
145
+
146
+ .svc-json-error {
147
+ font-family: var(--font-family);
148
+ font-size: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
149
+ line-height: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
150
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
151
+ background: var(--sjs-special-red-light, var(--red-light, rgba(230, 10, 62, 0.1)));
152
+ display: flex;
153
+ align-items: center;
154
+ gap: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
155
+ }
156
+
157
+ .svc-json-errors__item:not(:first-of-type) .svc-json-error {
158
+ border-top: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
159
+ }
160
+
161
+ .svc-json-error .sv-string-viewer {
162
+ pointer-events: all;
163
+ cursor: pointer;
164
+ }
165
+
166
+ .svc-json-error .sv-string-viewer:hover {
167
+ text-decoration: underline;
168
+ }
169
+
170
+ .svc-json-error__icon {
171
+ fill: var(--sjs-special-red, var(--red, #e60a3e));
172
+ }
126
173
  .svd-simulator {
127
174
  position: relative;
128
175
  -webkit-user-select: none;
@@ -1283,7 +1330,6 @@ survey-creator,
1283
1330
  width: 100%;
1284
1331
  height: 100%;
1285
1332
  position: relative;
1286
- z-index: 0;
1287
1333
  -webkit-font-smoothing: antialiased;
1288
1334
  }
1289
1335
  survey-creator *,
@@ -2201,6 +2247,7 @@ svc-question {
2201
2247
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
2202
2248
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
2203
2249
  padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2250
+ padding-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
2204
2251
  cursor: grabbing;
2205
2252
  position: absolute;
2206
2253
  z-index: 1000;
@@ -3661,11 +3708,11 @@ svc-toolbox {
3661
3708
  bottom: 0;
3662
3709
  right: 0;
3663
3710
  left: 0;
3664
- z-index: 9000;
3711
+ z-index: 900;
3665
3712
  }
3666
3713
  .svc-flyout-side-bar .svc-side-bar__wrapper {
3667
3714
  border-left: none;
3668
- z-index: 10000;
3715
+ z-index: 1000;
3669
3716
  position: absolute;
3670
3717
  right: 0;
3671
3718
  display: inline-block;