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
|
@@ -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
|
|
@@ -874,7 +874,7 @@ svc-tab-designer {
|
|
|
874
874
|
.svc-designer-placeholder-page {
|
|
875
875
|
margin-top: calc(2 * var(--base-unit, 8px)); }
|
|
876
876
|
|
|
877
|
-
.svc-designer-placeholder-page .svc-
|
|
877
|
+
.svc-designer-placeholder-page .svc-page__footer {
|
|
878
878
|
width: calc(33 * var(--base-unit, 8px));
|
|
879
879
|
margin: auto; }
|
|
880
880
|
|
|
@@ -898,7 +898,7 @@ svc-tab-designer {
|
|
|
898
898
|
border: 0; }
|
|
899
899
|
.svc-creator--mobile .svc-page__content .sd-page {
|
|
900
900
|
padding: calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)); }
|
|
901
|
-
.svc-creator--mobile .svc-page__content .svc-
|
|
901
|
+
.svc-creator--mobile .svc-page__content .svc-page__footer {
|
|
902
902
|
margin-left: calc(2 * var(--base-unit, 8px));
|
|
903
903
|
margin-right: calc(2 * var(--base-unit, 8px)); }
|
|
904
904
|
|
|
@@ -943,6 +943,78 @@ svc-tab-designer {
|
|
|
943
943
|
.svc-creator--mobile .svc-page__content-actions .sv-action-bar .sv-action .sv-action__content .sv-action-bar-item__title--with-icon {
|
|
944
944
|
display: none; }
|
|
945
945
|
|
|
946
|
+
svc-tab-test {
|
|
947
|
+
width: 100%;
|
|
948
|
+
height: 100%;
|
|
949
|
+
background: var(--background-dim, #f3f3f3); }
|
|
950
|
+
|
|
951
|
+
.svc-test-tab__content .svc-plugin-tab__content {
|
|
952
|
+
overflow-y: overlay; }
|
|
953
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
|
|
954
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
|
|
955
|
+
margin: 0;
|
|
956
|
+
border: 0;
|
|
957
|
+
background-color: var(--background-dim, #f3f3f3); }
|
|
958
|
+
.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body {
|
|
959
|
+
border: 0; }
|
|
960
|
+
.svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again {
|
|
961
|
+
width: calc(33 * var(--base-unit, 8px));
|
|
962
|
+
margin-left: auto;
|
|
963
|
+
margin-right: auto;
|
|
964
|
+
margin-bottom: 72px;
|
|
965
|
+
margin-top: 8px; }
|
|
966
|
+
|
|
967
|
+
.svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
|
|
968
|
+
height: calc(100% - calc(6 * var(--base-unit, 8px))); }
|
|
969
|
+
|
|
970
|
+
.svc-test-tab__content-actions {
|
|
971
|
+
position: relative; }
|
|
972
|
+
.svc-test-tab__content-actions .sv-action-bar {
|
|
973
|
+
padding: 0;
|
|
974
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
975
|
+
background: var(--background, #fff);
|
|
976
|
+
border-top: 1px solid var(--border, #d6d6d6);
|
|
977
|
+
width: 100%;
|
|
978
|
+
position: absolute; }
|
|
979
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages {
|
|
980
|
+
left: 0;
|
|
981
|
+
right: 0;
|
|
982
|
+
justify-content: center;
|
|
983
|
+
gap: calc(1 * var(--base-unit, 8px)); }
|
|
984
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action__content {
|
|
985
|
+
padding: 0; }
|
|
986
|
+
.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action-bar-item {
|
|
987
|
+
margin: 0; }
|
|
988
|
+
.svc-test-tab__content-actions .sv-action-bar-item {
|
|
989
|
+
font-family: var(--font-family);
|
|
990
|
+
font-style: normal;
|
|
991
|
+
font-weight: 600;
|
|
992
|
+
font-size: calc(1.5 * var(--base-unit, 8px));
|
|
993
|
+
line-height: calc(2 * var(--base-unit, 8px));
|
|
994
|
+
width: 100%;
|
|
995
|
+
height: calc(4 * var(--base-unit, 8px)); }
|
|
996
|
+
.svc-test-tab__content-actions .svc-page-selector {
|
|
997
|
+
max-width: 50%; }
|
|
998
|
+
.svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
|
|
999
|
+
overflow: hidden;
|
|
1000
|
+
white-space: nowrap;
|
|
1001
|
+
text-overflow: ellipsis;
|
|
1002
|
+
color: var(--foreground, #161616);
|
|
1003
|
+
display: inline-block; }
|
|
1004
|
+
|
|
1005
|
+
.svc-test-tab__content .sd-body--empty {
|
|
1006
|
+
font-family: var(--font-family);
|
|
1007
|
+
font-style: normal;
|
|
1008
|
+
font-weight: 400;
|
|
1009
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
|
1010
|
+
color: var(--foreground, #161616);
|
|
1011
|
+
width: 100%;
|
|
1012
|
+
position: absolute;
|
|
1013
|
+
top: 50%;
|
|
1014
|
+
transform: translateY(-50%);
|
|
1015
|
+
text-align: center;
|
|
1016
|
+
overflow: hidden; }
|
|
1017
|
+
|
|
946
1018
|
.svc-notifier.svc-notifier--shown {
|
|
947
1019
|
visibility: visible;
|
|
948
1020
|
opacity: 0.75; }
|
|
@@ -1289,78 +1361,6 @@ survey-creator,
|
|
|
1289
1361
|
opacity: 0.25;
|
|
1290
1362
|
color: var(--foreground, #161616); }
|
|
1291
1363
|
|
|
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
|
-
|
|
1364
1364
|
svc-page-navigator,
|
|
1365
1365
|
.svc-page-navigator {
|
|
1366
1366
|
display: flex;
|
|
@@ -1577,11 +1577,19 @@ svc-page {
|
|
|
1577
1577
|
.svc-hovered.svc-page__content--selected .svc-page__content-actions {
|
|
1578
1578
|
display: block; }
|
|
1579
1579
|
|
|
1580
|
-
.svc-
|
|
1580
|
+
.svc-page__footer {
|
|
1581
|
+
overflow: visible;
|
|
1581
1582
|
margin-left: calc(3 * var(--base-unit, 8px));
|
|
1582
|
-
margin-right: calc(3 * var(--base-unit, 8px));
|
|
1583
|
-
|
|
1584
|
-
|
|
1583
|
+
margin-right: calc(3 * var(--base-unit, 8px));
|
|
1584
|
+
gap: calc(2 * var(--base-unit, 8px)); }
|
|
1585
|
+
.svc-page__footer .sv-action {
|
|
1586
|
+
flex: 1 1 0; }
|
|
1587
|
+
.svc-page__footer .svc-btn {
|
|
1588
|
+
flex-grow: 1;
|
|
1589
|
+
border: none; }
|
|
1590
|
+
|
|
1591
|
+
.svc-page__add-new-question .svc-text {
|
|
1592
|
+
margin-left: calc(6 * var(--base-unit, 8px)); }
|
|
1585
1593
|
|
|
1586
1594
|
.svc-page__question-type-selector {
|
|
1587
1595
|
appearance: none;
|
|
@@ -1602,8 +1610,18 @@ svc-page {
|
|
|
1602
1610
|
.svc-page__question-type-selector:focus {
|
|
1603
1611
|
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
1604
1612
|
|
|
1613
|
+
.svc-page--drag-over-empty:after {
|
|
1614
|
+
content: " ";
|
|
1615
|
+
position: absolute;
|
|
1616
|
+
background: var(--secondary, #ff9814);
|
|
1617
|
+
left: calc(3 * var(--base-unit, 8px));
|
|
1618
|
+
bottom: calc(11 * var(--base-unit, 8px));
|
|
1619
|
+
width: calc(100% - 48px);
|
|
1620
|
+
height: 4px; }
|
|
1621
|
+
|
|
1605
1622
|
.svc-row {
|
|
1606
|
-
width: 100%;
|
|
1623
|
+
width: 100%;
|
|
1624
|
+
position: relative; }
|
|
1607
1625
|
|
|
1608
1626
|
.svc-row .sd-row--multiple {
|
|
1609
1627
|
padding: calc(1 * var(--base-unit, 8px));
|
|
@@ -1639,6 +1657,32 @@ svc-page {
|
|
|
1639
1657
|
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1640
1658
|
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1641
1659
|
|
|
1660
|
+
.svc-row--drag-over-top:before {
|
|
1661
|
+
content: " ";
|
|
1662
|
+
position: absolute;
|
|
1663
|
+
left: 0;
|
|
1664
|
+
background: var(--secondary, #ff9814);
|
|
1665
|
+
top: 6px;
|
|
1666
|
+
width: 100%;
|
|
1667
|
+
height: 4px; }
|
|
1668
|
+
|
|
1669
|
+
.svc-row--drag-over-bottom:after {
|
|
1670
|
+
content: " ";
|
|
1671
|
+
position: absolute;
|
|
1672
|
+
left: 0;
|
|
1673
|
+
background: var(--secondary, #ff9814);
|
|
1674
|
+
bottom: -10px;
|
|
1675
|
+
width: 100%;
|
|
1676
|
+
height: 4px; }
|
|
1677
|
+
|
|
1678
|
+
.svc-question__content--panel .svc-row--drag-over-top:before,
|
|
1679
|
+
.sd-panel__content .svc-row--drag-over-top:before {
|
|
1680
|
+
top: -6px; }
|
|
1681
|
+
|
|
1682
|
+
.svc-question__content--panel .svc-row--drag-over-bottom:after,
|
|
1683
|
+
.sd-panel__content .svc-row--drag-over-bottom:after {
|
|
1684
|
+
bottom: -6px; }
|
|
1685
|
+
|
|
1642
1686
|
svc-question {
|
|
1643
1687
|
display: block;
|
|
1644
1688
|
position: absolute;
|
|
@@ -1814,6 +1858,34 @@ svc-question {
|
|
|
1814
1858
|
height: 100%;
|
|
1815
1859
|
width: 4px; }
|
|
1816
1860
|
|
|
1861
|
+
.svc-question__content--drag-over-top:before {
|
|
1862
|
+
content: " ";
|
|
1863
|
+
position: absolute;
|
|
1864
|
+
left: 0;
|
|
1865
|
+
background: var(--secondary, #ff9814);
|
|
1866
|
+
top: -12px;
|
|
1867
|
+
width: 100%;
|
|
1868
|
+
height: 4px; }
|
|
1869
|
+
|
|
1870
|
+
.svc-question__content--drag-over-bottom:before {
|
|
1871
|
+
content: " ";
|
|
1872
|
+
position: absolute;
|
|
1873
|
+
left: 0;
|
|
1874
|
+
background: var(--secondary, #ff9814);
|
|
1875
|
+
bottom: -12px;
|
|
1876
|
+
width: 100%;
|
|
1877
|
+
height: 4px; }
|
|
1878
|
+
|
|
1879
|
+
.svc-question__content--panel .sd-row > div:first-child .svc-question__content--drag-over-left,
|
|
1880
|
+
.sd-panel__content .sd-row > div:first-child .svc-question__content--drag-over-left {
|
|
1881
|
+
margin-left: 8px;
|
|
1882
|
+
width: calc(100% - 8px); }
|
|
1883
|
+
|
|
1884
|
+
.svc-question__content--panel .sd-row > div:last-child .svc-question__content--drag-over-right,
|
|
1885
|
+
.sd-panel__content .sd-row > div:last-child .svc-question__content--drag-over-right {
|
|
1886
|
+
margin-right: 8px;
|
|
1887
|
+
width: calc(100% - 8px); }
|
|
1888
|
+
|
|
1817
1889
|
.svc-question__content-actions .sv-action-bar {
|
|
1818
1890
|
box-sizing: border-box;
|
|
1819
1891
|
padding: 0;
|
|
@@ -2030,7 +2102,7 @@ svc-question .sv-action-bar,
|
|
|
2030
2102
|
.svc-rating-question-controls {
|
|
2031
2103
|
position: absolute; }
|
|
2032
2104
|
|
|
2033
|
-
.svc-question__content--
|
|
2105
|
+
.svc-question__content--in-popup .svc-rating-question-controls.svc-item-value-controls {
|
|
2034
2106
|
display: flex; }
|
|
2035
2107
|
|
|
2036
2108
|
.svc-question__content--selected .svc-rating-question-controls.svc-item-value-controls {
|
|
@@ -2333,12 +2405,10 @@ svc-question .sv-action-bar,
|
|
|
2333
2405
|
.svc-matrix-cell:hover .svc-matrix-cell__question-controls {
|
|
2334
2406
|
display: block; }
|
|
2335
2407
|
|
|
2336
|
-
.svc-question__content--
|
|
2337
|
-
padding: 0;
|
|
2408
|
+
.svc-question__content--in-popup {
|
|
2338
2409
|
width: calc(100% - 25 * var(--base-unit, 8px));
|
|
2339
2410
|
min-width: calc(70 * var(--base-unit, 8px));
|
|
2340
|
-
|
|
2341
|
-
background-color: inherit; }
|
|
2411
|
+
padding: calc(5 * var(--base-unit, 8px)); }
|
|
2342
2412
|
|
|
2343
2413
|
.svc-matrix-cell__popup .sv-popup__scrolling-content {
|
|
2344
2414
|
margin-top: calc(1 * var(--base-unit, 8px));
|
|
@@ -3571,6 +3641,23 @@ button.spg-action-button--large {
|
|
|
3571
3641
|
.spg-link {
|
|
3572
3642
|
display: flex; }
|
|
3573
3643
|
|
|
3644
|
+
.spg-theme-builder-root .spg-row--multiple .spg-spin-editor .spg-input-container__buttons-container {
|
|
3645
|
+
display: none; }
|
|
3646
|
+
|
|
3647
|
+
.spg-theme-builder-root .spg-row--multiple .spg-question__header--location--left {
|
|
3648
|
+
min-width: auto; }
|
|
3649
|
+
|
|
3650
|
+
.spg-theme-builder-root .spg-row--multiple > div {
|
|
3651
|
+
flex: 1 1 0;
|
|
3652
|
+
min-width: calc(12.5 * var(--base-unit, 8px)); }
|
|
3653
|
+
.spg-theme-builder-root .spg-row--multiple > div input {
|
|
3654
|
+
min-width: 0; }
|
|
3655
|
+
.spg-theme-builder-root .spg-row--multiple > div .spg-question--location--left {
|
|
3656
|
+
height: calc(6 * var(--base-unit, 8px));
|
|
3657
|
+
box-sizing: border-box; }
|
|
3658
|
+
.spg-theme-builder-root .spg-row--multiple > div .spg-question--location--left .spg-input {
|
|
3659
|
+
height: auto; }
|
|
3660
|
+
|
|
3574
3661
|
.spg-theme-builder-root .sv-button-group {
|
|
3575
3662
|
overflow: hidden; }
|
|
3576
3663
|
|