survey-creator-core 1.9.100 → 1.9.102
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/package.json +2 -2
- package/survey-creator-core.css +62 -5
- package/survey-creator-core.fontless.css +61 -4
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -8
- package/survey-creator-core.i18n.js +25210 -8821
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +524 -343
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -9
- package/survey-creator-core.min.js +3 -3
- package/typings/components/tabs/json-editor-ace.d.ts +1 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +8 -2
- package/typings/components/tabs/json-editor-textarea.d.ts +2 -0
- package/typings/creator-base.d.ts +83 -61
- package/typings/creator-options.d.ts +1 -1
- package/typings/creator-settings.d.ts +4 -2
- package/typings/editorLocalization.d.ts +24 -9
- package/typings/localization/english.d.ts +24 -9
- package/typings/property-grid/matrices.d.ts +3 -3
- package/typings/survey-elements-dnd.d.ts +12 -0
- package/typings/survey-helper.d.ts +2 -1
- package/typings/textWorker.d.ts +16 -3
package/fonts.fontless.css
CHANGED
package/fonts.fontless.min.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.102",
|
|
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.
|
|
37
|
+
"survey-core": "1.9.102"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {}
|
|
40
40
|
}
|
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.102
|
|
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.
|
|
228
|
+
* SurveyJS Creator v1.9.102
|
|
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 *,
|
|
@@ -2186,6 +2232,10 @@ svc-page {
|
|
|
2186
2232
|
min-height: 50px;
|
|
2187
2233
|
}
|
|
2188
2234
|
|
|
2235
|
+
.svc-row > .sd-row.sd-page__row {
|
|
2236
|
+
margin-top: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2189
2239
|
.svc-row .sd-row--multiple {
|
|
2190
2240
|
overflow: auto;
|
|
2191
2241
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
@@ -2427,6 +2477,7 @@ svc-question {
|
|
|
2427
2477
|
background-color: var(--sjs-general-backcolor, var(--background, #fff));
|
|
2428
2478
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
|
2429
2479
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2480
|
+
padding-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2430
2481
|
cursor: grabbing;
|
|
2431
2482
|
position: absolute;
|
|
2432
2483
|
z-index: 1000;
|
|
@@ -3887,11 +3938,11 @@ svc-toolbox {
|
|
|
3887
3938
|
bottom: 0;
|
|
3888
3939
|
right: 0;
|
|
3889
3940
|
left: 0;
|
|
3890
|
-
z-index:
|
|
3941
|
+
z-index: 900;
|
|
3891
3942
|
}
|
|
3892
3943
|
.svc-flyout-side-bar .svc-side-bar__wrapper {
|
|
3893
3944
|
border-left: none;
|
|
3894
|
-
z-index:
|
|
3945
|
+
z-index: 1000;
|
|
3895
3946
|
position: absolute;
|
|
3896
3947
|
right: 0;
|
|
3897
3948
|
display: inline-block;
|
|
@@ -4657,6 +4708,12 @@ button.spg-action-button--large {
|
|
|
4657
4708
|
overflow: hidden;
|
|
4658
4709
|
max-width: 100px;
|
|
4659
4710
|
}
|
|
4711
|
+
.spg-table__cell--header span {
|
|
4712
|
+
display: none;
|
|
4713
|
+
}
|
|
4714
|
+
.spg-table__cell--header .sv-string-viewer {
|
|
4715
|
+
display: inline;
|
|
4716
|
+
}
|
|
4660
4717
|
|
|
4661
4718
|
.spg-table__question-wrapper {
|
|
4662
4719
|
padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.102
|
|
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 *,
|
|
@@ -1960,6 +2006,10 @@ svc-page {
|
|
|
1960
2006
|
min-height: 50px;
|
|
1961
2007
|
}
|
|
1962
2008
|
|
|
2009
|
+
.svc-row > .sd-row.sd-page__row {
|
|
2010
|
+
margin-top: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2011
|
+
}
|
|
2012
|
+
|
|
1963
2013
|
.svc-row .sd-row--multiple {
|
|
1964
2014
|
overflow: auto;
|
|
1965
2015
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
@@ -2201,6 +2251,7 @@ svc-question {
|
|
|
2201
2251
|
background-color: var(--sjs-general-backcolor, var(--background, #fff));
|
|
2202
2252
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
|
2203
2253
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2254
|
+
padding-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2204
2255
|
cursor: grabbing;
|
|
2205
2256
|
position: absolute;
|
|
2206
2257
|
z-index: 1000;
|
|
@@ -3661,11 +3712,11 @@ svc-toolbox {
|
|
|
3661
3712
|
bottom: 0;
|
|
3662
3713
|
right: 0;
|
|
3663
3714
|
left: 0;
|
|
3664
|
-
z-index:
|
|
3715
|
+
z-index: 900;
|
|
3665
3716
|
}
|
|
3666
3717
|
.svc-flyout-side-bar .svc-side-bar__wrapper {
|
|
3667
3718
|
border-left: none;
|
|
3668
|
-
z-index:
|
|
3719
|
+
z-index: 1000;
|
|
3669
3720
|
position: absolute;
|
|
3670
3721
|
right: 0;
|
|
3671
3722
|
display: inline-block;
|
|
@@ -4431,6 +4482,12 @@ button.spg-action-button--large {
|
|
|
4431
4482
|
overflow: hidden;
|
|
4432
4483
|
max-width: 100px;
|
|
4433
4484
|
}
|
|
4485
|
+
.spg-table__cell--header span {
|
|
4486
|
+
display: none;
|
|
4487
|
+
}
|
|
4488
|
+
.spg-table__cell--header .sv-string-viewer {
|
|
4489
|
+
display: inline;
|
|
4490
|
+
}
|
|
4434
4491
|
|
|
4435
4492
|
.spg-table__question-wrapper {
|
|
4436
4493
|
padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
|