survey-creator-core 1.9.107 → 1.9.109

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.
Files changed (32) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/package.json +2 -2
  4. package/survey-creator-core.css +112 -30
  5. package/survey-creator-core.fontless.css +111 -29
  6. package/survey-creator-core.fontless.css.map +1 -1
  7. package/survey-creator-core.fontless.min.css +37 -37
  8. package/survey-creator-core.i18n.js +1 -1
  9. package/survey-creator-core.i18n.min.js +1 -1
  10. package/survey-creator-core.js +14586 -9895
  11. package/survey-creator-core.js.map +1 -1
  12. package/survey-creator-core.min.css +38 -38
  13. package/survey-creator-core.min.js +173 -3
  14. package/typings/components/action-container-view-model.d.ts +7 -1
  15. package/typings/components/matrix-cell.d.ts +1 -1
  16. package/typings/components/page.d.ts +1 -0
  17. package/typings/components/tabs/logic-theme.d.ts +3 -0
  18. package/typings/components/tabs/test.d.ts +1 -0
  19. package/typings/components/tabs/theme-builder.d.ts +81 -0
  20. package/typings/components/tabs/theme-plugin.d.ts +24 -12
  21. package/typings/components/tabs/theme.d.ts +100 -100
  22. package/typings/components/tabs/themes.d.ts +26 -0
  23. package/typings/creator-base.d.ts +18 -17
  24. package/typings/creator-settings.d.ts +2 -2
  25. package/typings/custom-questions/question-color.d.ts +2 -1
  26. package/typings/editorLocalization.d.ts +2 -0
  27. package/typings/entries/index.d.ts +2 -1
  28. package/typings/localization/english.d.ts +2 -0
  29. package/typings/property-grid/index.d.ts +4 -0
  30. package/typings/property-grid-theme/property-grid.d.ts +1 -0
  31. package/typings/survey-helper.d.ts +3 -1
  32. package/typings/toolbox.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.107
2
+ * SurveyJS Creator v1.9.109
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
@@ -69,7 +69,7 @@ svc-tab-json-editor-textarea {
69
69
  .svc-json-editor-tab__errros_button {
70
70
  position: absolute;
71
71
  top: 0%;
72
- right: calc(0% + (2 * var(--sjs-base-unit, var(--base-unit, 8px))));
72
+ right: calc(0% + 2 * var(--sjs-base-unit, var(--base-unit, 8px)));
73
73
  min-height: calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
74
74
  max-height: calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
75
75
  border: none;
@@ -81,8 +81,8 @@ svc-tab-json-editor-textarea {
81
81
  .svc-json-editor-tab__content-errors {
82
82
  position: absolute;
83
83
  right: 0%;
84
- top: calc(0% + (3 * var(--sjs-base-unit, var(--base-unit, 8px))));
85
- max-width: calc(100% - (2 * var(--sjs-base-unit, var(--base-unit, 8px))));
84
+ top: calc(0% + 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
85
+ max-width: calc(100% - 2 * var(--sjs-base-unit, var(--base-unit, 8px)));
86
86
  padding: var(--sjs-base-unit, var(--base-unit, 8px));
87
87
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
88
88
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
@@ -329,7 +329,7 @@ svc-tab-test {
329
329
  }
330
330
 
331
331
  .svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
332
- height: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
332
+ height: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
333
333
  }
334
334
 
335
335
  .svc-test-tab__content-actions {
@@ -688,7 +688,7 @@ svc-tab-test {
688
688
  }
689
689
 
690
690
  .st-strings {
691
- height: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
691
+ height: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
692
692
  overflow-y: auto;
693
693
  overflow-x: hidden;
694
694
  }
@@ -807,7 +807,7 @@ td.st-table__cell:first-of-type span {
807
807
  }
808
808
 
809
809
  .svc-tab-logic-edit__content {
810
- height: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
810
+ height: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
811
811
  overflow-y: auto;
812
812
  overflow-x: hidden;
813
813
  padding-left: 16%;
@@ -1062,6 +1062,13 @@ td.st-table__cell:first-of-type span {
1062
1062
  .svc-logic-tab__leave-apply-button {
1063
1063
  background-color: var(--sjs-special-red, var(--red, #e60a3e));
1064
1064
  }
1065
+
1066
+ .sl-list .sv-list__filter {
1067
+ padding-top: 0;
1068
+ }
1069
+ .sl-list .sv-list__filter-icon {
1070
+ top: calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
1071
+ }
1065
1072
  svc-tab-designer {
1066
1073
  width: 100%;
1067
1074
  height: 100%;
@@ -1107,7 +1114,6 @@ svc-tab-designer {
1107
1114
  }
1108
1115
  .svc-tab-designer .sd-container-modern.sd-container-modern--responsive {
1109
1116
  max-width: initial;
1110
- padding: 0 calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
1111
1117
  }
1112
1118
  .svc-tab-designer .sd-question.sd-question--image {
1113
1119
  width: 100%;
@@ -1144,6 +1150,9 @@ svc-tab-designer {
1144
1150
  .svc-designer-placeholder-page .svc-row--ghost {
1145
1151
  display: none;
1146
1152
  }
1153
+ .svc-creator--mobile .svc-tab-designer {
1154
+ overflow-y: overlay;
1155
+ }
1147
1156
  .svc-creator--mobile .sd-root-modern {
1148
1157
  --sd-base-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1149
1158
  --sd-base-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
@@ -1165,12 +1174,18 @@ svc-tab-designer {
1165
1174
  padding-right: 0;
1166
1175
  border: 0;
1167
1176
  }
1177
+ .svc-creator--mobile .svc-page__content .sd-page__title {
1178
+ margin: 0;
1179
+ }
1180
+ .svc-creator--mobile .svc-page__content.svc-page__content--selected .sd-page__title {
1181
+ margin: calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 0 0;
1182
+ }
1168
1183
  .svc-creator--mobile .svc-page__content .sd-page {
1169
- padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1184
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1170
1185
  }
1171
1186
  .svc-creator--mobile .svc-page__content .svc-page__footer {
1172
- margin-left: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1173
- margin-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1187
+ margin-left: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1188
+ margin-right: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1174
1189
  }
1175
1190
  .svc-creator--mobile .svc-question__content {
1176
1191
  padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
@@ -1182,7 +1197,7 @@ svc-tab-designer {
1182
1197
  justify-content: initial;
1183
1198
  }
1184
1199
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title {
1185
- padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1200
+ padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1186
1201
  flex-direction: column-reverse;
1187
1202
  align-items: flex-start;
1188
1203
  }
@@ -1191,6 +1206,7 @@ svc-tab-designer {
1191
1206
  }
1192
1207
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title .svc-logo-image-placeholder {
1193
1208
  margin-left: calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1209
+ margin-top: calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1194
1210
  }
1195
1211
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title h3 {
1196
1212
  margin: 0;
@@ -1201,7 +1217,8 @@ svc-tab-designer {
1201
1217
  margin: 0;
1202
1218
  }
1203
1219
  .svc-creator--mobile .svc-tab-designer .sd-container-modern {
1204
- min-width: calc(46 * var(--sjs-base-unit, var(--base-unit, 8px)));
1220
+ min-width: calc(43 * var(--sjs-base-unit, var(--base-unit, 8px)));
1221
+ padding: 0;
1205
1222
  }
1206
1223
  .svc-creator--mobile .svc-properties-wrapper {
1207
1224
  width: 100%;
@@ -1249,7 +1266,7 @@ svc-tab-test {
1249
1266
  }
1250
1267
 
1251
1268
  .svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
1252
- height: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
1269
+ height: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
1253
1270
  }
1254
1271
 
1255
1272
  .svc-test-tab__content-actions {
@@ -1380,16 +1397,16 @@ survey-creator ::-webkit-scrollbar-thumb:hover,
1380
1397
  }
1381
1398
 
1382
1399
  .svc-creator__area.svc-creator__area--with-banner {
1383
- height: calc(100% - (4 * var(--sjs-base-unit, var(--base-unit, 8px))));
1400
+ height: calc(100% - 4 * var(--sjs-base-unit, var(--base-unit, 8px)));
1384
1401
  }
1385
1402
 
1386
1403
  .svc-creator__content-wrapper {
1387
1404
  width: 100%;
1388
- height: calc(100% - (8 * var(--sjs-base-unit, var(--base-unit, 8px))));
1405
+ height: calc(100% - 8 * var(--sjs-base-unit, var(--base-unit, 8px)));
1389
1406
  }
1390
1407
 
1391
1408
  .svc-creator__content-wrapper--footer-toolbar {
1392
- height: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
1409
+ height: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
1393
1410
  }
1394
1411
 
1395
1412
  .svc-creator__content-holder {
@@ -1483,6 +1500,10 @@ survey-creator ::-webkit-scrollbar-thumb:hover,
1483
1500
  top: initial;
1484
1501
  bottom: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
1485
1502
  }
1503
+
1504
+ .sv-list__filter {
1505
+ margin-bottom: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
1506
+ }
1486
1507
  .sd-element__title .svc-string-editor {
1487
1508
  display: inline-block;
1488
1509
  max-width: 100%;
@@ -1949,7 +1970,7 @@ svc-page {
1949
1970
  .svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected,
1950
1971
  .svc-creator .svc-page .svc-page__content--selected:focus.svc-page__content--selected,
1951
1972
  .svc-hovered.svc-page__content--selected {
1952
- box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
1973
+ box-shadow: 0 0 0 2px inset var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
1953
1974
  background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
1954
1975
  }
1955
1976
  .svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected .svc-page__content-actions,
@@ -2748,6 +2769,25 @@ svc-question .sv-action-bar,
2748
2769
  margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2749
2770
  width: calc(100% - 9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2750
2771
  }
2772
+ .svc-question__content .sd-rating.sd-rating--wrappable fieldset {
2773
+ min-width: 0;
2774
+ }
2775
+ .svc-question__content .sd-rating .sd-rating__item-text {
2776
+ max-width: 100%;
2777
+ }
2778
+ .svc-question__content .sd-rating .sd-rating__item-text .sv-string-editor:focus-within {
2779
+ white-space: nowrap;
2780
+ }
2781
+ .svc-question__content .sd-rating .svc-string-editor__content {
2782
+ width: 100%;
2783
+ }
2784
+ .svc-question__content .sd-rating .svc-string-editor__content .sv-string-editor {
2785
+ text-overflow: ellipsis;
2786
+ overflow: hidden;
2787
+ }
2788
+ .svc-question__content .sd-rating .svc-string-editor__content .sv-string-editor:focus-within {
2789
+ text-overflow: initial;
2790
+ }
2751
2791
  .svc-question__content .sd-question--table .sd-rating {
2752
2792
  margin-inline-start: 0;
2753
2793
  width: fit-content;
@@ -2775,12 +2815,12 @@ svc-question .sv-action-bar,
2775
2815
  margin-inline-start: 0;
2776
2816
  width: 100%;
2777
2817
  }
2778
- .svc-creator--mobile .svc-question__content legend + .sd-rating__item,
2779
- .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item-smiley + .sd-rating__item-smiley,
2780
- .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item + .sd-rating__item {
2818
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item, .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item + .sd-rating__item,
2819
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item-smiley, .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item-smiley + .sd-rating__item-smiley {
2781
2820
  margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)) + 2px);
2782
2821
  }
2783
- .svc-creator--mobile .svc-question__content legend + .sd-rating__item-text {
2822
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item-text,
2823
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item-star, .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item-star + .sd-rating__item-star {
2784
2824
  margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2785
2825
  }
2786
2826
  .svc-item-value-wrapper {
@@ -2801,9 +2841,14 @@ svc-question .sv-action-bar,
2801
2841
  padding-right: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
2802
2842
  }
2803
2843
 
2804
- .svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type) {
2844
+ .svc-question__content .sd-selectbase__column {
2805
2845
  margin-left: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2806
2846
  }
2847
+ .svc-question__content .sd-selectbase--mobile .sd-selectbase__column,
2848
+ .svc-question__content .sd-selectbase__column:first-of-type,
2849
+ .svc-question__content .sd-imagepicker__column {
2850
+ margin-left: 0;
2851
+ }
2807
2852
  .svc-question__content .sd-selectbase__column:not(:last-child) {
2808
2853
  padding-right: 0;
2809
2854
  }
@@ -2990,13 +3035,45 @@ svc-question .sv-action-bar,
2990
3035
  left: 35px;
2991
3036
  }
2992
3037
 
2993
- .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag-icon {
3038
+ .svc-creator--mobile .svc-tab-designer .svc-question__content--ranking [data-sv-drop-target-item-value] .svc-item-value-controls,
3039
+ .svc-creator--mobile .svc-tab-designer .sd-selectbase [data-sv-drop-target-item-value] .svc-item-value-controls,
3040
+ .svc-creator--mobile .svc-tab-designer .svc-question__dropdown-choices [data-sv-drop-target-item-value] .svc-item-value-controls {
3041
+ min-width: initial;
3042
+ }
3043
+ .svc-creator--mobile .svc-tab-designer .svc-question__content--ranking:not([data-sv-drop-target-item-value]) .svc-item-value-controls,
3044
+ .svc-creator--mobile .svc-tab-designer .sd-selectbase:not([data-sv-drop-target-item-value]) .svc-item-value-controls,
3045
+ .svc-creator--mobile .svc-tab-designer .svc-question__dropdown-choices:not([data-sv-drop-target-item-value]) .svc-item-value-controls {
3046
+ min-width: 64px;
3047
+ }
3048
+ .svc-creator--mobile .svc-tab-designer .svc-question__content--ranking .svc-item-value-controls__drag,
3049
+ .svc-creator--mobile .svc-tab-designer .sd-selectbase .svc-item-value-controls__drag,
3050
+ .svc-creator--mobile .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-controls__drag {
3051
+ padding-right: 0;
3052
+ }
3053
+ .svc-creator--mobile .svc-tab-designer .svc-question__content--ranking .svc-item-value-controls__drag-icon,
3054
+ .svc-creator--mobile .svc-tab-designer .sd-selectbase .svc-item-value-controls__drag-icon,
3055
+ .svc-creator--mobile .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-controls__drag-icon {
2994
3056
  visibility: visible;
2995
3057
  }
2996
- .svc-creator--mobile .svc-tab-designer .svc-item-value-wrapper {
3058
+ .svc-creator--mobile .svc-tab-designer .svc-question__content--ranking .svc-item-value-wrapper,
3059
+ .svc-creator--mobile .svc-tab-designer .sd-selectbase .svc-item-value-wrapper,
3060
+ .svc-creator--mobile .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-wrapper {
2997
3061
  margin-left: calc(-3 * var(--sjs-base-unit, var(--base-unit, 8px)));
2998
3062
  }
2999
- .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag {
3063
+
3064
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__content--ranking .svc-item-value-controls__drag-icon,
3065
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .sd-selectbase .svc-item-value-controls__drag-icon,
3066
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-controls__drag-icon {
3067
+ visibility: visible;
3068
+ }
3069
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__content--ranking .svc-item-value-wrapper,
3070
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .sd-selectbase .svc-item-value-wrapper,
3071
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-wrapper {
3072
+ margin-left: calc(-6 * var(--sjs-base-unit, var(--base-unit, 8px)));
3073
+ }
3074
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__content--ranking .svc-item-value-controls__drag,
3075
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .sd-selectbase .svc-item-value-controls__drag,
3076
+ .svc-creator--touch:not(.svc-creator--mobile) .svc-tab-designer .svc-question__dropdown-choices .svc-item-value-controls__drag {
3000
3077
  padding-left: 0;
3001
3078
  padding-right: 0;
3002
3079
  }
@@ -3205,7 +3282,7 @@ svc-question .sv-action-bar,
3205
3282
  .svd-test-results .svd-test-results__text {
3206
3283
  display: flex;
3207
3284
  padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3208
- width: calc(100% - (6 * var(--sjs-base-unit, var(--base-unit, 8px))));
3285
+ width: calc(100% - 6 * var(--sjs-base-unit, var(--base-unit, 8px)));
3209
3286
  overflow: auto;
3210
3287
  user-select: text;
3211
3288
  white-space: pre-wrap;
@@ -3795,7 +3872,7 @@ svc-toolbox {
3795
3872
  display: flex;
3796
3873
  flex-direction: column;
3797
3874
  align-items: flex-start;
3798
- height: calc(100% - (8 * var(--sjs-base-unit, var(--base-unit, 8px))));
3875
+ height: calc(100% - 8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3799
3876
  overflow-y: auto;
3800
3877
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
3801
3878
  }
@@ -4669,7 +4746,8 @@ button.spg-action-button--large {
4669
4746
  height: 1px;
4670
4747
  width: 1px;
4671
4748
  overflow: hidden;
4672
- clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4749
+ clip: rect(1px 1px 1px 1px);
4750
+ /* IE6, IE7 */
4673
4751
  clip: rect(1px, 1px, 1px, 1px);
4674
4752
  left: 0;
4675
4753
  top: 100%;
@@ -4709,6 +4787,10 @@ button.spg-action-button--large {
4709
4787
  opacity: 0.25;
4710
4788
  }
4711
4789
 
4790
+ .spg-color-editor__color-swatch--default .sv-svg-icon {
4791
+ opacity: 1;
4792
+ }
4793
+
4712
4794
  .spg-color-editor .spg-input__edit-button + * {
4713
4795
  margin-inline-end: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
4714
4796
  }