survey-creator-core 1.9.89 → 1.9.90
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 +173 -86
- package/survey-creator-core.fontless.css +172 -85
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +11 -11
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +1345 -283
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +12 -12
- package/survey-creator-core.min.js +2 -2
- package/typings/components/item-value.d.ts +1 -0
- package/typings/components/page.d.ts +5 -2
- package/typings/components/question-rating.d.ts +1 -0
- package/typings/components/question.d.ts +1 -1
- package/typings/components/tabs/theme-custom-questions/boxshadow-settings.d.ts +2 -0
- package/typings/components/tabs/theme-custom-questions/color-settings.d.ts +5 -0
- package/typings/components/tabs/theme.d.ts +11 -4
- package/typings/creator-base.d.ts +19 -1
- package/typings/editorLocalization.d.ts +10 -0
- package/typings/entries/index.d.ts +2 -0
- package/typings/localization/english.d.ts +10 -0
- package/typings/property-grid/matrices.d.ts +1 -0
- package/typings/survey-elements.d.ts +44 -0
- package/typings/utils/utils.d.ts +19 -0
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.90",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"ace-builds": "^1.4.12"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"survey-core": "1.9.
|
|
32
|
+
"survey-core": "1.9.90"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {}
|
|
35
35
|
}
|
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.90
|
|
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.90
|
|
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
|
|
@@ -1100,7 +1100,7 @@ svc-tab-designer {
|
|
|
1100
1100
|
.svc-designer-placeholder-page {
|
|
1101
1101
|
margin-top: calc(2 * var(--base-unit, 8px)); }
|
|
1102
1102
|
|
|
1103
|
-
.svc-designer-placeholder-page .svc-
|
|
1103
|
+
.svc-designer-placeholder-page .svc-page__footer {
|
|
1104
1104
|
width: calc(33 * var(--base-unit, 8px));
|
|
1105
1105
|
margin: auto; }
|
|
1106
1106
|
|
|
@@ -1124,7 +1124,7 @@ svc-tab-designer {
|
|
|
1124
1124
|
border: 0; }
|
|
1125
1125
|
.svc-creator--mobile .svc-page__content .sd-page {
|
|
1126
1126
|
padding: calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)); }
|
|
1127
|
-
.svc-creator--mobile .svc-page__content .svc-
|
|
1127
|
+
.svc-creator--mobile .svc-page__content .svc-page__footer {
|
|
1128
1128
|
margin-left: calc(2 * var(--base-unit, 8px));
|
|
1129
1129
|
margin-right: calc(2 * var(--base-unit, 8px)); }
|
|
1130
1130
|
|
|
@@ -1169,6 +1169,78 @@ svc-tab-designer {
|
|
|
1169
1169
|
.svc-creator--mobile .svc-page__content-actions .sv-action-bar .sv-action .sv-action__content .sv-action-bar-item__title--with-icon {
|
|
1170
1170
|
display: none; }
|
|
1171
1171
|
|
|
1172
|
+
svc-tab-test {
|
|
1173
|
+
width: 100%;
|
|
1174
|
+
height: 100%;
|
|
1175
|
+
background: var(--background-dim, #f3f3f3); }
|
|
1176
|
+
|
|
1177
|
+
.svc-test-tab__content .svc-plugin-tab__content {
|
|
1178
|
+
overflow-y: overlay; }
|
|
1179
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
|
|
1180
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
|
|
1181
|
+
margin: 0;
|
|
1182
|
+
border: 0;
|
|
1183
|
+
background-color: var(--background-dim, #f3f3f3); }
|
|
1184
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body {
|
|
1185
|
+
border: 0; }
|
|
1186
|
+
.svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again {
|
|
1187
|
+
width: calc(33 * var(--base-unit, 8px));
|
|
1188
|
+
margin-left: auto;
|
|
1189
|
+
margin-right: auto;
|
|
1190
|
+
margin-bottom: 72px;
|
|
1191
|
+
margin-top: 8px; }
|
|
1192
|
+
|
|
1193
|
+
.svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
|
|
1194
|
+
height: calc(100% - calc(6 * var(--base-unit, 8px))); }
|
|
1195
|
+
|
|
1196
|
+
.svc-test-tab__content-actions {
|
|
1197
|
+
position: relative; }
|
|
1198
|
+
.svc-test-tab__content-actions .sv-action-bar {
|
|
1199
|
+
padding: 0;
|
|
1200
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
1201
|
+
background: var(--background, #fff);
|
|
1202
|
+
border-top: 1px solid var(--border, #d6d6d6);
|
|
1203
|
+
width: 100%;
|
|
1204
|
+
position: absolute; }
|
|
1205
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages {
|
|
1206
|
+
left: 0;
|
|
1207
|
+
right: 0;
|
|
1208
|
+
justify-content: center;
|
|
1209
|
+
gap: calc(1 * var(--base-unit, 8px)); }
|
|
1210
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action__content {
|
|
1211
|
+
padding: 0; }
|
|
1212
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action-bar-item {
|
|
1213
|
+
margin: 0; }
|
|
1214
|
+
.svc-test-tab__content-actions .sv-action-bar-item {
|
|
1215
|
+
font-family: var(--font-family);
|
|
1216
|
+
font-style: normal;
|
|
1217
|
+
font-weight: 600;
|
|
1218
|
+
font-size: calc(1.5 * var(--base-unit, 8px));
|
|
1219
|
+
line-height: calc(2 * var(--base-unit, 8px));
|
|
1220
|
+
width: 100%;
|
|
1221
|
+
height: calc(4 * var(--base-unit, 8px)); }
|
|
1222
|
+
.svc-test-tab__content-actions .svc-page-selector {
|
|
1223
|
+
max-width: 50%; }
|
|
1224
|
+
.svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
|
|
1225
|
+
overflow: hidden;
|
|
1226
|
+
white-space: nowrap;
|
|
1227
|
+
text-overflow: ellipsis;
|
|
1228
|
+
color: var(--foreground, #161616);
|
|
1229
|
+
display: inline-block; }
|
|
1230
|
+
|
|
1231
|
+
.svc-test-tab__content .sd-body--empty {
|
|
1232
|
+
font-family: var(--font-family);
|
|
1233
|
+
font-style: normal;
|
|
1234
|
+
font-weight: 400;
|
|
1235
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
|
1236
|
+
color: var(--foreground, #161616);
|
|
1237
|
+
width: 100%;
|
|
1238
|
+
position: absolute;
|
|
1239
|
+
top: 50%;
|
|
1240
|
+
transform: translateY(-50%);
|
|
1241
|
+
text-align: center;
|
|
1242
|
+
overflow: hidden; }
|
|
1243
|
+
|
|
1172
1244
|
.svc-notifier.svc-notifier--shown {
|
|
1173
1245
|
visibility: visible;
|
|
1174
1246
|
opacity: 0.75; }
|
|
@@ -1515,78 +1587,6 @@ survey-creator,
|
|
|
1515
1587
|
opacity: 0.25;
|
|
1516
1588
|
color: var(--foreground, #161616); }
|
|
1517
1589
|
|
|
1518
|
-
svc-tab-test {
|
|
1519
|
-
width: 100%;
|
|
1520
|
-
height: 100%;
|
|
1521
|
-
background: var(--background-dim, #f3f3f3); }
|
|
1522
|
-
|
|
1523
|
-
.svc-test-tab__content .svc-plugin-tab__content {
|
|
1524
|
-
overflow-y: overlay; }
|
|
1525
|
-
.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
|
|
1526
|
-
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
|
|
1527
|
-
margin: 0;
|
|
1528
|
-
border: 0;
|
|
1529
|
-
background-color: var(--background-dim, #f3f3f3); }
|
|
1530
|
-
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body {
|
|
1531
|
-
border: 0; }
|
|
1532
|
-
.svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again {
|
|
1533
|
-
width: calc(33 * var(--base-unit, 8px));
|
|
1534
|
-
margin-left: auto;
|
|
1535
|
-
margin-right: auto;
|
|
1536
|
-
margin-bottom: 72px;
|
|
1537
|
-
margin-top: 8px; }
|
|
1538
|
-
|
|
1539
|
-
.svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
|
|
1540
|
-
height: calc(100% - calc(6 * var(--base-unit, 8px))); }
|
|
1541
|
-
|
|
1542
|
-
.svc-test-tab__content-actions {
|
|
1543
|
-
position: relative; }
|
|
1544
|
-
.svc-test-tab__content-actions .sv-action-bar {
|
|
1545
|
-
padding: 0;
|
|
1546
|
-
height: calc(6 * var(--base-unit, 8px));
|
|
1547
|
-
background: var(--background, #fff);
|
|
1548
|
-
border-top: 1px solid var(--border, #d6d6d6);
|
|
1549
|
-
width: 100%;
|
|
1550
|
-
position: absolute; }
|
|
1551
|
-
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages {
|
|
1552
|
-
left: 0;
|
|
1553
|
-
right: 0;
|
|
1554
|
-
justify-content: center;
|
|
1555
|
-
gap: calc(1 * var(--base-unit, 8px)); }
|
|
1556
|
-
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action__content {
|
|
1557
|
-
padding: 0; }
|
|
1558
|
-
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action-bar-item {
|
|
1559
|
-
margin: 0; }
|
|
1560
|
-
.svc-test-tab__content-actions .sv-action-bar-item {
|
|
1561
|
-
font-family: var(--font-family);
|
|
1562
|
-
font-style: normal;
|
|
1563
|
-
font-weight: 600;
|
|
1564
|
-
font-size: calc(1.5 * var(--base-unit, 8px));
|
|
1565
|
-
line-height: calc(2 * var(--base-unit, 8px));
|
|
1566
|
-
width: 100%;
|
|
1567
|
-
height: calc(4 * var(--base-unit, 8px)); }
|
|
1568
|
-
.svc-test-tab__content-actions .svc-page-selector {
|
|
1569
|
-
max-width: 50%; }
|
|
1570
|
-
.svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
|
|
1571
|
-
overflow: hidden;
|
|
1572
|
-
white-space: nowrap;
|
|
1573
|
-
text-overflow: ellipsis;
|
|
1574
|
-
color: var(--foreground, #161616);
|
|
1575
|
-
display: inline-block; }
|
|
1576
|
-
|
|
1577
|
-
.svc-test-tab__content .sd-body--empty {
|
|
1578
|
-
font-family: var(--font-family);
|
|
1579
|
-
font-style: normal;
|
|
1580
|
-
font-weight: 400;
|
|
1581
|
-
font-size: calc(2 * var(--base-unit, 8px));
|
|
1582
|
-
color: var(--foreground, #161616);
|
|
1583
|
-
width: 100%;
|
|
1584
|
-
position: absolute;
|
|
1585
|
-
top: 50%;
|
|
1586
|
-
transform: translateY(-50%);
|
|
1587
|
-
text-align: center;
|
|
1588
|
-
overflow: hidden; }
|
|
1589
|
-
|
|
1590
1590
|
svc-page-navigator,
|
|
1591
1591
|
.svc-page-navigator {
|
|
1592
1592
|
display: flex;
|
|
@@ -1803,11 +1803,19 @@ svc-page {
|
|
|
1803
1803
|
.svc-hovered.svc-page__content--selected .svc-page__content-actions {
|
|
1804
1804
|
display: block; }
|
|
1805
1805
|
|
|
1806
|
-
.svc-
|
|
1806
|
+
.svc-page__footer {
|
|
1807
|
+
overflow: visible;
|
|
1807
1808
|
margin-left: calc(3 * var(--base-unit, 8px));
|
|
1808
|
-
margin-right: calc(3 * var(--base-unit, 8px));
|
|
1809
|
-
|
|
1810
|
-
|
|
1809
|
+
margin-right: calc(3 * var(--base-unit, 8px));
|
|
1810
|
+
gap: calc(2 * var(--base-unit, 8px)); }
|
|
1811
|
+
.svc-page__footer .sv-action {
|
|
1812
|
+
flex: 1 1 0; }
|
|
1813
|
+
.svc-page__footer .svc-btn {
|
|
1814
|
+
flex-grow: 1;
|
|
1815
|
+
border: none; }
|
|
1816
|
+
|
|
1817
|
+
.svc-page__add-new-question .svc-text {
|
|
1818
|
+
margin-left: calc(6 * var(--base-unit, 8px)); }
|
|
1811
1819
|
|
|
1812
1820
|
.svc-page__question-type-selector {
|
|
1813
1821
|
appearance: none;
|
|
@@ -1828,8 +1836,18 @@ svc-page {
|
|
|
1828
1836
|
.svc-page__question-type-selector:focus {
|
|
1829
1837
|
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
1830
1838
|
|
|
1839
|
+
.svc-page--drag-over-empty:after {
|
|
1840
|
+
content: " ";
|
|
1841
|
+
position: absolute;
|
|
1842
|
+
background: var(--secondary, #ff9814);
|
|
1843
|
+
left: calc(3 * var(--base-unit, 8px));
|
|
1844
|
+
bottom: calc(11 * var(--base-unit, 8px));
|
|
1845
|
+
width: calc(100% - 48px);
|
|
1846
|
+
height: 4px; }
|
|
1847
|
+
|
|
1831
1848
|
.svc-row {
|
|
1832
|
-
width: 100%;
|
|
1849
|
+
width: 100%;
|
|
1850
|
+
position: relative; }
|
|
1833
1851
|
|
|
1834
1852
|
.svc-row .sd-row--multiple {
|
|
1835
1853
|
padding: calc(1 * var(--base-unit, 8px));
|
|
@@ -1865,6 +1883,32 @@ svc-page {
|
|
|
1865
1883
|
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1866
1884
|
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1867
1885
|
|
|
1886
|
+
.svc-row--drag-over-top:before {
|
|
1887
|
+
content: " ";
|
|
1888
|
+
position: absolute;
|
|
1889
|
+
left: 0;
|
|
1890
|
+
background: var(--secondary, #ff9814);
|
|
1891
|
+
top: 6px;
|
|
1892
|
+
width: 100%;
|
|
1893
|
+
height: 4px; }
|
|
1894
|
+
|
|
1895
|
+
.svc-row--drag-over-bottom:after {
|
|
1896
|
+
content: " ";
|
|
1897
|
+
position: absolute;
|
|
1898
|
+
left: 0;
|
|
1899
|
+
background: var(--secondary, #ff9814);
|
|
1900
|
+
bottom: -10px;
|
|
1901
|
+
width: 100%;
|
|
1902
|
+
height: 4px; }
|
|
1903
|
+
|
|
1904
|
+
.svc-question__content--panel .svc-row--drag-over-top:before,
|
|
1905
|
+
.sd-panel__content .svc-row--drag-over-top:before {
|
|
1906
|
+
top: -6px; }
|
|
1907
|
+
|
|
1908
|
+
.svc-question__content--panel .svc-row--drag-over-bottom:after,
|
|
1909
|
+
.sd-panel__content .svc-row--drag-over-bottom:after {
|
|
1910
|
+
bottom: -6px; }
|
|
1911
|
+
|
|
1868
1912
|
svc-question {
|
|
1869
1913
|
display: block;
|
|
1870
1914
|
position: absolute;
|
|
@@ -2040,6 +2084,34 @@ svc-question {
|
|
|
2040
2084
|
height: 100%;
|
|
2041
2085
|
width: 4px; }
|
|
2042
2086
|
|
|
2087
|
+
.svc-question__content--drag-over-top:before {
|
|
2088
|
+
content: " ";
|
|
2089
|
+
position: absolute;
|
|
2090
|
+
left: 0;
|
|
2091
|
+
background: var(--secondary, #ff9814);
|
|
2092
|
+
top: -12px;
|
|
2093
|
+
width: 100%;
|
|
2094
|
+
height: 4px; }
|
|
2095
|
+
|
|
2096
|
+
.svc-question__content--drag-over-bottom:before {
|
|
2097
|
+
content: " ";
|
|
2098
|
+
position: absolute;
|
|
2099
|
+
left: 0;
|
|
2100
|
+
background: var(--secondary, #ff9814);
|
|
2101
|
+
bottom: -12px;
|
|
2102
|
+
width: 100%;
|
|
2103
|
+
height: 4px; }
|
|
2104
|
+
|
|
2105
|
+
.svc-question__content--panel .sd-row > div:first-child .svc-question__content--drag-over-left,
|
|
2106
|
+
.sd-panel__content .sd-row > div:first-child .svc-question__content--drag-over-left {
|
|
2107
|
+
margin-left: 8px;
|
|
2108
|
+
width: calc(100% - 8px); }
|
|
2109
|
+
|
|
2110
|
+
.svc-question__content--panel .sd-row > div:last-child .svc-question__content--drag-over-right,
|
|
2111
|
+
.sd-panel__content .sd-row > div:last-child .svc-question__content--drag-over-right {
|
|
2112
|
+
margin-right: 8px;
|
|
2113
|
+
width: calc(100% - 8px); }
|
|
2114
|
+
|
|
2043
2115
|
.svc-question__content-actions .sv-action-bar {
|
|
2044
2116
|
box-sizing: border-box;
|
|
2045
2117
|
padding: 0;
|
|
@@ -2256,7 +2328,7 @@ svc-question .sv-action-bar,
|
|
|
2256
2328
|
.svc-rating-question-controls {
|
|
2257
2329
|
position: absolute; }
|
|
2258
2330
|
|
|
2259
|
-
.svc-question__content--
|
|
2331
|
+
.svc-question__content--in-popup .svc-rating-question-controls.svc-item-value-controls {
|
|
2260
2332
|
display: flex; }
|
|
2261
2333
|
|
|
2262
2334
|
.svc-question__content--selected .svc-rating-question-controls.svc-item-value-controls {
|
|
@@ -2559,12 +2631,10 @@ svc-question .sv-action-bar,
|
|
|
2559
2631
|
.svc-matrix-cell:hover .svc-matrix-cell__question-controls {
|
|
2560
2632
|
display: block; }
|
|
2561
2633
|
|
|
2562
|
-
.svc-question__content--
|
|
2563
|
-
padding: 0;
|
|
2634
|
+
.svc-question__content--in-popup {
|
|
2564
2635
|
width: calc(100% - 25 * var(--base-unit, 8px));
|
|
2565
2636
|
min-width: calc(70 * var(--base-unit, 8px));
|
|
2566
|
-
|
|
2567
|
-
background-color: inherit; }
|
|
2637
|
+
padding: calc(5 * var(--base-unit, 8px)); }
|
|
2568
2638
|
|
|
2569
2639
|
.svc-matrix-cell__popup .sv-popup__scrolling-content {
|
|
2570
2640
|
margin-top: calc(1 * var(--base-unit, 8px));
|
|
@@ -3797,6 +3867,23 @@ button.spg-action-button--large {
|
|
|
3797
3867
|
.spg-link {
|
|
3798
3868
|
display: flex; }
|
|
3799
3869
|
|
|
3870
|
+
.spg-theme-builder-root .spg-row--multiple .spg-spin-editor .spg-input-container__buttons-container {
|
|
3871
|
+
display: none; }
|
|
3872
|
+
|
|
3873
|
+
.spg-theme-builder-root .spg-row--multiple .spg-question__header--location--left {
|
|
3874
|
+
min-width: auto; }
|
|
3875
|
+
|
|
3876
|
+
.spg-theme-builder-root .spg-row--multiple > div {
|
|
3877
|
+
flex: 1 1 0;
|
|
3878
|
+
min-width: calc(12.5 * var(--base-unit, 8px)); }
|
|
3879
|
+
.spg-theme-builder-root .spg-row--multiple > div input {
|
|
3880
|
+
min-width: 0; }
|
|
3881
|
+
.spg-theme-builder-root .spg-row--multiple > div .spg-question--location--left {
|
|
3882
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
3883
|
+
box-sizing: border-box; }
|
|
3884
|
+
.spg-theme-builder-root .spg-row--multiple > div .spg-question--location--left .spg-input {
|
|
3885
|
+
height: auto; }
|
|
3886
|
+
|
|
3800
3887
|
.spg-theme-builder-root .sv-button-group {
|
|
3801
3888
|
overflow: hidden; }
|
|
3802
3889
|
|