survey-creator-core 1.9.88 → 1.9.89
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 +186 -62
- package/survey-creator-core.fontless.css +185 -61
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +14 -10
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +1666 -296
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +15 -11
- package/survey-creator-core.min.js +3 -3
- package/typings/components/header/logo-image.d.ts +1 -0
- package/typings/components/image-item-value.d.ts +1 -0
- package/typings/components/matrix-cell.d.ts +1 -1
- package/typings/components/question-image.d.ts +1 -0
- package/typings/components/simulator.d.ts +1 -0
- package/typings/components/tabs/theme-plugin.d.ts +25 -0
- package/typings/components/tabs/theme.d.ts +85 -0
- package/typings/creator-base.d.ts +7 -0
- package/typings/creator-options.d.ts +1 -0
- package/typings/creator-settings.d.ts +4 -1
- package/typings/editorLocalization.d.ts +63 -0
- package/typings/entries/index.d.ts +2 -0
- package/typings/localization/english.d.ts +63 -0
- package/typings/property-grid/index.d.ts +7 -0
- package/typings/property-grid/matrices.d.ts +1 -0
- package/typings/utils/utils.d.ts +4 -1
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.89
|
|
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
|
|
6
6
|
*/
|
|
7
|
+
.svc-context-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: calc(1 * var(--base-unit, 8px));
|
|
10
|
+
width: max-content; }
|
|
11
|
+
|
|
12
|
+
.svc-context-button {
|
|
13
|
+
display: block;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
background-color: var(--background, #fff);
|
|
16
|
+
border-radius: 50%;
|
|
17
|
+
width: calc(6 * var(--base-unit, 8px));
|
|
18
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
padding: calc(1.5 * var(--base-unit, 8px));
|
|
21
|
+
outline: none; }
|
|
22
|
+
.svc-context-button use {
|
|
23
|
+
fill: var(--foreground-light, #909090); }
|
|
24
|
+
|
|
25
|
+
.svc-context-button:hover use, .svc-context-button:focus use {
|
|
26
|
+
fill: var(--primary, #19b394); }
|
|
27
|
+
|
|
28
|
+
.svc-context-button--danger:hover use, .svc-context-button--danger:focus use {
|
|
29
|
+
fill: var(--red, #e60a3e); }
|
|
30
|
+
|
|
7
31
|
.svc-embed-tab__content {
|
|
8
32
|
padding: calc(2 * var(--base-unit, 8px));
|
|
9
33
|
font-family: var(--font-family); }
|
|
@@ -92,7 +116,8 @@ svc-tab-json-editor-textarea {
|
|
|
92
116
|
transform-origin: 0 0;
|
|
93
117
|
top: 50%;
|
|
94
118
|
left: 50%;
|
|
95
|
-
transform: scale(1.26) translate(-50%, -50%);
|
|
119
|
+
transform: scale(1.26) translate(-50%, -50%);
|
|
120
|
+
overflow: overlay; }
|
|
96
121
|
|
|
97
122
|
.svd-simulator-wrapper {
|
|
98
123
|
margin: 0 auto;
|
|
@@ -167,10 +192,7 @@ svc-tab-json-editor-textarea {
|
|
|
167
192
|
.svd-simulator-content {
|
|
168
193
|
display: flex;
|
|
169
194
|
justify-content: center;
|
|
170
|
-
width: 100%;
|
|
171
|
-
height: 100%;
|
|
172
|
-
overflow: auto;
|
|
173
|
-
overflow-y: overlay; }
|
|
195
|
+
width: 100%; }
|
|
174
196
|
|
|
175
197
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
176
198
|
::i-block-chrome,
|
|
@@ -183,7 +205,7 @@ svc-tab-test {
|
|
|
183
205
|
background: var(--background-dim, #f3f3f3); }
|
|
184
206
|
|
|
185
207
|
.svc-test-tab__content .svc-plugin-tab__content {
|
|
186
|
-
overflow-y:
|
|
208
|
+
overflow-y: overlay; }
|
|
187
209
|
.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
|
|
188
210
|
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
|
|
189
211
|
margin: 0;
|
|
@@ -236,9 +258,6 @@ svc-tab-test {
|
|
|
236
258
|
color: var(--foreground, #161616);
|
|
237
259
|
display: inline-block; }
|
|
238
260
|
|
|
239
|
-
.svc-test-tab__content.svc-creator-tab__content--with-toolbar .sd-body__navigation {
|
|
240
|
-
padding-bottom: calc(8 * var(--base-unit, 8px)); }
|
|
241
|
-
|
|
242
261
|
.svc-test-tab__content .sd-body--empty {
|
|
243
262
|
font-family: var(--font-family);
|
|
244
263
|
font-style: normal;
|
|
@@ -826,8 +845,6 @@ svc-tab-designer {
|
|
|
826
845
|
box-sizing: border-box;
|
|
827
846
|
margin-left: auto;
|
|
828
847
|
margin-right: auto; }
|
|
829
|
-
.svc-tab-designer .sd-container-modern .sd-container-modern__title {
|
|
830
|
-
gap: 0; }
|
|
831
848
|
.svc-tab-designer .sd-container-modern.sd-container-modern--static {
|
|
832
849
|
max-width: calc(84 * var(--base-unit, 8px)); }
|
|
833
850
|
.svc-tab-designer .sd-container-modern.sd-container-modern--responsive {
|
|
@@ -1092,7 +1109,7 @@ survey-creator,
|
|
|
1092
1109
|
|
|
1093
1110
|
.svc-string-editor {
|
|
1094
1111
|
position: static; }
|
|
1095
|
-
.svc-string-editor [contenteditable] {
|
|
1112
|
+
.svc-string-editor [contenteditable="true"] {
|
|
1096
1113
|
user-select: text;
|
|
1097
1114
|
-webkit-user-select: text; }
|
|
1098
1115
|
.svc-string-editor .sv-string-editor {
|
|
@@ -1272,6 +1289,78 @@ survey-creator,
|
|
|
1272
1289
|
opacity: 0.25;
|
|
1273
1290
|
color: var(--foreground, #161616); }
|
|
1274
1291
|
|
|
1292
|
+
svc-tab-test {
|
|
1293
|
+
width: 100%;
|
|
1294
|
+
height: 100%;
|
|
1295
|
+
background: var(--background-dim, #f3f3f3); }
|
|
1296
|
+
|
|
1297
|
+
.svc-test-tab__content .svc-plugin-tab__content {
|
|
1298
|
+
overflow-y: overlay; }
|
|
1299
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
|
|
1300
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
|
|
1301
|
+
margin: 0;
|
|
1302
|
+
border: 0;
|
|
1303
|
+
background-color: var(--background-dim, #f3f3f3); }
|
|
1304
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body {
|
|
1305
|
+
border: 0; }
|
|
1306
|
+
.svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again {
|
|
1307
|
+
width: calc(33 * var(--base-unit, 8px));
|
|
1308
|
+
margin-left: auto;
|
|
1309
|
+
margin-right: auto;
|
|
1310
|
+
margin-bottom: 72px;
|
|
1311
|
+
margin-top: 8px; }
|
|
1312
|
+
|
|
1313
|
+
.svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
|
|
1314
|
+
height: calc(100% - calc(6 * var(--base-unit, 8px))); }
|
|
1315
|
+
|
|
1316
|
+
.svc-test-tab__content-actions {
|
|
1317
|
+
position: relative; }
|
|
1318
|
+
.svc-test-tab__content-actions .sv-action-bar {
|
|
1319
|
+
padding: 0;
|
|
1320
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
1321
|
+
background: var(--background, #fff);
|
|
1322
|
+
border-top: 1px solid var(--border, #d6d6d6);
|
|
1323
|
+
width: 100%;
|
|
1324
|
+
position: absolute; }
|
|
1325
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages {
|
|
1326
|
+
left: 0;
|
|
1327
|
+
right: 0;
|
|
1328
|
+
justify-content: center;
|
|
1329
|
+
gap: calc(1 * var(--base-unit, 8px)); }
|
|
1330
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action__content {
|
|
1331
|
+
padding: 0; }
|
|
1332
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action-bar-item {
|
|
1333
|
+
margin: 0; }
|
|
1334
|
+
.svc-test-tab__content-actions .sv-action-bar-item {
|
|
1335
|
+
font-family: var(--font-family);
|
|
1336
|
+
font-style: normal;
|
|
1337
|
+
font-weight: 600;
|
|
1338
|
+
font-size: calc(1.5 * var(--base-unit, 8px));
|
|
1339
|
+
line-height: calc(2 * var(--base-unit, 8px));
|
|
1340
|
+
width: 100%;
|
|
1341
|
+
height: calc(4 * var(--base-unit, 8px)); }
|
|
1342
|
+
.svc-test-tab__content-actions .svc-page-selector {
|
|
1343
|
+
max-width: 50%; }
|
|
1344
|
+
.svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
|
|
1345
|
+
overflow: hidden;
|
|
1346
|
+
white-space: nowrap;
|
|
1347
|
+
text-overflow: ellipsis;
|
|
1348
|
+
color: var(--foreground, #161616);
|
|
1349
|
+
display: inline-block; }
|
|
1350
|
+
|
|
1351
|
+
.svc-test-tab__content .sd-body--empty {
|
|
1352
|
+
font-family: var(--font-family);
|
|
1353
|
+
font-style: normal;
|
|
1354
|
+
font-weight: 400;
|
|
1355
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
|
1356
|
+
color: var(--foreground, #161616);
|
|
1357
|
+
width: 100%;
|
|
1358
|
+
position: absolute;
|
|
1359
|
+
top: 50%;
|
|
1360
|
+
transform: translateY(-50%);
|
|
1361
|
+
text-align: center;
|
|
1362
|
+
overflow: hidden; }
|
|
1363
|
+
|
|
1275
1364
|
svc-page-navigator,
|
|
1276
1365
|
.svc-page-navigator {
|
|
1277
1366
|
display: flex;
|
|
@@ -1926,24 +2015,7 @@ svc-question .sv-action-bar,
|
|
|
1926
2015
|
display: none; }
|
|
1927
2016
|
|
|
1928
2017
|
.svc-question__content--selected .svc-image-question-controls {
|
|
1929
|
-
display:
|
|
1930
|
-
|
|
1931
|
-
.svc-image-question-controls__button {
|
|
1932
|
-
display: inline-block;
|
|
1933
|
-
background-color: var(--background, #fff);
|
|
1934
|
-
border-radius: 50%;
|
|
1935
|
-
width: calc(6 * var(--base-unit, 8px));
|
|
1936
|
-
height: calc(6 * var(--base-unit, 8px));
|
|
1937
|
-
cursor: pointer; }
|
|
1938
|
-
.svc-image-question-controls__button:not(:last-child) {
|
|
1939
|
-
margin-right: calc(0.5 * var(--base-unit, 8px)); }
|
|
1940
|
-
.svc-image-question-controls__button .sv-svg-icon {
|
|
1941
|
-
margin-top: calc(50% - 1.5 * var(--base-unit, 8px));
|
|
1942
|
-
margin-left: calc(50% - 1.5 * var(--base-unit, 8px)); }
|
|
1943
|
-
.svc-image-question-controls__button use {
|
|
1944
|
-
fill: var(--foreground-light, #909090); }
|
|
1945
|
-
.svc-image-question-controls__button:hover use {
|
|
1946
|
-
fill: var(--primary, #19b394); }
|
|
2018
|
+
display: flex; }
|
|
1947
2019
|
|
|
1948
2020
|
.svc-question__content--image:not(.svc-question__content--empty) {
|
|
1949
2021
|
padding: calc(4 * var(--base-unit, 8px)) 0 calc(8 * var(--base-unit, 8px)) 0; }
|
|
@@ -1968,6 +2040,11 @@ svc-question .sv-action-bar,
|
|
|
1968
2040
|
margin-inline-start: calc(9 * var(--base-unit, 8px));
|
|
1969
2041
|
width: calc(100% - 9 * var(--base-unit, 8px)); }
|
|
1970
2042
|
|
|
2043
|
+
.svc-question__content .sd-question--table .sd-rating {
|
|
2044
|
+
margin-inline-start: 0;
|
|
2045
|
+
width: fit-content;
|
|
2046
|
+
margin: auto; }
|
|
2047
|
+
|
|
1971
2048
|
.svc-question__content .svc-rating-question-controls {
|
|
1972
2049
|
display: flex;
|
|
1973
2050
|
width: calc(8 * var(--base-unit, 8px));
|
|
@@ -2167,34 +2244,9 @@ svc-question .sv-action-bar,
|
|
|
2167
2244
|
top: calc(50% - 3 * var(--base-unit, 8px));
|
|
2168
2245
|
left: calc(50% - 3 * var(--base-unit, 8px)); }
|
|
2169
2246
|
|
|
2170
|
-
.svc-image-item-value-controls {
|
|
2171
|
-
display: flex; }
|
|
2172
|
-
|
|
2173
|
-
.svc-image-item-value-controls__button {
|
|
2174
|
-
display: block;
|
|
2175
|
-
background-color: var(--background, #fff);
|
|
2176
|
-
border-radius: 50%;
|
|
2177
|
-
width: calc(6 * var(--base-unit, 8px));
|
|
2178
|
-
height: calc(6 * var(--base-unit, 8px));
|
|
2179
|
-
cursor: pointer;
|
|
2180
|
-
outline: none; }
|
|
2181
|
-
.svc-image-item-value-controls__button:not(:last-child) {
|
|
2182
|
-
margin-right: calc(1 * var(--base-unit, 8px)); }
|
|
2183
|
-
.svc-image-item-value-controls__button .sv-svg-icon {
|
|
2184
|
-
margin-top: calc(50% - 1.5 * var(--base-unit, 8px));
|
|
2185
|
-
margin-left: calc(50% - 1.5 * var(--base-unit, 8px)); }
|
|
2186
|
-
.svc-image-item-value-controls__button use {
|
|
2187
|
-
fill: var(--foreground-light, #909090); }
|
|
2188
|
-
|
|
2189
2247
|
.svc-image-item-value--new .svc-image-item-value-controls__button {
|
|
2190
2248
|
background-color: transparent; }
|
|
2191
2249
|
|
|
2192
|
-
.svc-image-item-value-controls__choose-file:hover use, .svc-image-item-value-controls__choose-file:focus use {
|
|
2193
|
-
fill: var(--primary, #19b394); }
|
|
2194
|
-
|
|
2195
|
-
.svc-image-item-value-controls__remove:hover use, .svc-image-item-value-controls__remove:focus use {
|
|
2196
|
-
fill: var(--red, #e60a3e); }
|
|
2197
|
-
|
|
2198
2250
|
.svc-image-item-value-controls__add use {
|
|
2199
2251
|
fill: var(--primary, #19b394); }
|
|
2200
2252
|
|
|
@@ -2211,15 +2263,15 @@ svc-question .sv-action-bar,
|
|
|
2211
2263
|
.svc-image-item-value__item .sd-imagepicker__item.sd-imagepicker__item {
|
|
2212
2264
|
width: 100%; }
|
|
2213
2265
|
|
|
2214
|
-
.svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator {
|
|
2215
|
-
display: block; }
|
|
2216
|
-
|
|
2217
2266
|
.svc-image-item-value-controls__drag-area-indicator {
|
|
2267
|
+
display: none;
|
|
2218
2268
|
cursor: move;
|
|
2219
2269
|
position: absolute;
|
|
2220
2270
|
top: calc(1 * var(--base-unit, 8px));
|
|
2221
|
-
left: calc(1 * var(--base-unit, 8px));
|
|
2222
|
-
|
|
2271
|
+
left: calc(1 * var(--base-unit, 8px)); }
|
|
2272
|
+
|
|
2273
|
+
.svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator {
|
|
2274
|
+
display: block; }
|
|
2223
2275
|
|
|
2224
2276
|
.svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__ghost {
|
|
2225
2277
|
display: block; }
|
|
@@ -2367,6 +2419,10 @@ svc-question .sv-action-bar,
|
|
|
2367
2419
|
.svd-test-results .svd-test-results__table table tr .svd-test-results__node-value {
|
|
2368
2420
|
color: var(--foreground-light, #909090); }
|
|
2369
2421
|
|
|
2422
|
+
.svc-designer-header .sd-container-modern__title {
|
|
2423
|
+
gap: 0;
|
|
2424
|
+
column-gap: calc(6 * var(--base-unit, 8px)); }
|
|
2425
|
+
|
|
2370
2426
|
.svc-logo-image {
|
|
2371
2427
|
position: relative;
|
|
2372
2428
|
justify-content: flex-end;
|
|
@@ -2405,6 +2461,29 @@ svc-question .sv-action-bar,
|
|
|
2405
2461
|
.svc-logo-image-placeholder use {
|
|
2406
2462
|
fill: var(--foreground-light, #909090); }
|
|
2407
2463
|
|
|
2464
|
+
.svc-logo-image-container {
|
|
2465
|
+
position: relative; }
|
|
2466
|
+
.svc-logo-image-container .sd-logo {
|
|
2467
|
+
margin: 0; }
|
|
2468
|
+
|
|
2469
|
+
.svc-logo-image-controls {
|
|
2470
|
+
opacity: 0;
|
|
2471
|
+
width: max-content;
|
|
2472
|
+
position: absolute;
|
|
2473
|
+
top: 50%;
|
|
2474
|
+
left: 50%;
|
|
2475
|
+
transform: translate(-50%, -50%); }
|
|
2476
|
+
|
|
2477
|
+
.svc-logo-image-container {
|
|
2478
|
+
cursor: default; }
|
|
2479
|
+
|
|
2480
|
+
.svc-logo-image-container:not(.svc-logo-image-container--editable) .svc-logo-image-controls {
|
|
2481
|
+
display: none; }
|
|
2482
|
+
|
|
2483
|
+
.svc-logo-image-container--editable:focus-within .svc-logo-image-controls,
|
|
2484
|
+
.svc-logo-image-container--editable:hover .svc-logo-image-controls {
|
|
2485
|
+
opacity: 1; }
|
|
2486
|
+
|
|
2408
2487
|
.svc-question-link__set-button {
|
|
2409
2488
|
font-weight: 600;
|
|
2410
2489
|
cursor: pointer; }
|
|
@@ -3492,6 +3571,51 @@ button.spg-action-button--large {
|
|
|
3492
3571
|
.spg-link {
|
|
3493
3572
|
display: flex; }
|
|
3494
3573
|
|
|
3574
|
+
.spg-theme-builder-root .sv-button-group {
|
|
3575
|
+
overflow: hidden; }
|
|
3576
|
+
|
|
3577
|
+
.spg-theme-builder-root .spg-question__header--location--left {
|
|
3578
|
+
width: max-content;
|
|
3579
|
+
flex: 0 0; }
|
|
3580
|
+
.spg-theme-builder-root .spg-question__header--location--left .spg-question__title {
|
|
3581
|
+
white-space: nowrap;
|
|
3582
|
+
overflow: hidden;
|
|
3583
|
+
text-overflow: ellipsis; }
|
|
3584
|
+
|
|
3585
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content {
|
|
3586
|
+
padding: 0;
|
|
3587
|
+
padding-bottom: calc(5 * var(--base-unit, 8px));
|
|
3588
|
+
box-shadow: none; }
|
|
3589
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__title {
|
|
3590
|
+
background-color: transparent;
|
|
3591
|
+
box-shadow: none;
|
|
3592
|
+
padding: calc(1 * var(--base-unit, 8px)) 0; }
|
|
3593
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content::after {
|
|
3594
|
+
content: " ";
|
|
3595
|
+
display: block;
|
|
3596
|
+
position: relative;
|
|
3597
|
+
left: calc(-4 * var(--base-unit, 8px));
|
|
3598
|
+
top: calc(5 * var(--base-unit, 8px));
|
|
3599
|
+
width: calc(8 * var(--base-unit, 8px) + 100%);
|
|
3600
|
+
height: 1px;
|
|
3601
|
+
background-color: var(--border, #d6d6d6); }
|
|
3602
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content > .spg-row:first-of-type {
|
|
3603
|
+
margin-top: 0; }
|
|
3604
|
+
|
|
3605
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content {
|
|
3606
|
+
padding-bottom: 0; }
|
|
3607
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content::after {
|
|
3608
|
+
content: none; }
|
|
3609
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row {
|
|
3610
|
+
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
3611
|
+
.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row:first-of-type {
|
|
3612
|
+
margin-top: 0; }
|
|
3613
|
+
|
|
3614
|
+
.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content {
|
|
3615
|
+
padding-bottom: 0; }
|
|
3616
|
+
.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content::after {
|
|
3617
|
+
content: none; }
|
|
3618
|
+
|
|
3495
3619
|
.spg-root-modern {
|
|
3496
3620
|
width: 100%;
|
|
3497
3621
|
border-right: 1px solid var(--border, #d6d6d6);
|