survey-creator-core 1.9.106 → 1.9.108

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 (34) 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 +182 -13
  5. package/survey-creator-core.fontless.css +181 -12
  6. package/survey-creator-core.fontless.css.map +1 -1
  7. package/survey-creator-core.fontless.min.css +12 -12
  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 +14329 -9576
  11. package/survey-creator-core.js.map +1 -1
  12. package/survey-creator-core.min.css +13 -13
  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/question-image.d.ts +1 -0
  18. package/typings/components/tabs/logic-theme.d.ts +3 -0
  19. package/typings/components/tabs/test.d.ts +1 -0
  20. package/typings/components/tabs/theme-builder.d.ts +81 -0
  21. package/typings/components/tabs/theme-plugin.d.ts +24 -12
  22. package/typings/components/tabs/theme.d.ts +100 -100
  23. package/typings/components/tabs/themes.d.ts +26 -0
  24. package/typings/creator-base.d.ts +11 -8
  25. package/typings/creator-settings.d.ts +2 -2
  26. package/typings/custom-questions/question-color.d.ts +2 -1
  27. package/typings/editorLocalization.d.ts +2 -0
  28. package/typings/entries/index.d.ts +2 -1
  29. package/typings/localization/english.d.ts +2 -0
  30. package/typings/property-grid/index.d.ts +4 -0
  31. package/typings/property-grid-theme/property-grid.d.ts +1 -0
  32. package/typings/survey-elements.d.ts +2 -0
  33. package/typings/survey-helper.d.ts +3 -1
  34. package/typings/toolbox.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.106
2
+ * SurveyJS Creator v1.9.108
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
@@ -1043,6 +1043,10 @@ td.st-table__cell:first-of-type span {
1043
1043
  padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
1044
1044
  }
1045
1045
 
1046
+ .sv-popup--overlay .svc-logic-placeholder {
1047
+ width: initial;
1048
+ }
1049
+
1046
1050
  .svc-logic-placeholder__text {
1047
1051
  font-family: var(--font-family);
1048
1052
  font-style: normal;
@@ -1058,6 +1062,13 @@ td.st-table__cell:first-of-type span {
1058
1062
  .svc-logic-tab__leave-apply-button {
1059
1063
  background-color: var(--sjs-special-red, var(--red, #e60a3e));
1060
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
+ }
1061
1072
  svc-tab-designer {
1062
1073
  width: 100%;
1063
1074
  height: 100%;
@@ -1103,7 +1114,6 @@ svc-tab-designer {
1103
1114
  }
1104
1115
  .svc-tab-designer .sd-container-modern.sd-container-modern--responsive {
1105
1116
  max-width: initial;
1106
- padding: 0 calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
1107
1117
  }
1108
1118
  .svc-tab-designer .sd-question.sd-question--image {
1109
1119
  width: 100%;
@@ -1140,6 +1150,9 @@ svc-tab-designer {
1140
1150
  .svc-designer-placeholder-page .svc-row--ghost {
1141
1151
  display: none;
1142
1152
  }
1153
+ .svc-creator--mobile .svc-tab-designer {
1154
+ overflow-y: overlay;
1155
+ }
1143
1156
  .svc-creator--mobile .sd-root-modern {
1144
1157
  --sd-base-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1145
1158
  --sd-base-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
@@ -1161,12 +1174,18 @@ svc-tab-designer {
1161
1174
  padding-right: 0;
1162
1175
  border: 0;
1163
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
+ }
1164
1183
  .svc-creator--mobile .svc-page__content .sd-page {
1165
- 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)));
1166
1185
  }
1167
1186
  .svc-creator--mobile .svc-page__content .svc-page__footer {
1168
- margin-left: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1169
- 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)));
1170
1189
  }
1171
1190
  .svc-creator--mobile .svc-question__content {
1172
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)));
@@ -1178,7 +1197,7 @@ svc-tab-designer {
1178
1197
  justify-content: initial;
1179
1198
  }
1180
1199
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title {
1181
- padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
1200
+ padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1182
1201
  flex-direction: column-reverse;
1183
1202
  align-items: flex-start;
1184
1203
  }
@@ -1187,6 +1206,7 @@ svc-tab-designer {
1187
1206
  }
1188
1207
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title .svc-logo-image-placeholder {
1189
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)));
1190
1210
  }
1191
1211
  .svc-creator--mobile .svc-tab-designer .sd-title.sd-container-modern__title h3 {
1192
1212
  margin: 0;
@@ -1197,7 +1217,8 @@ svc-tab-designer {
1197
1217
  margin: 0;
1198
1218
  }
1199
1219
  .svc-creator--mobile .svc-tab-designer .sd-container-modern {
1200
- 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;
1201
1222
  }
1202
1223
  .svc-creator--mobile .svc-properties-wrapper {
1203
1224
  width: 100%;
@@ -1479,6 +1500,10 @@ survey-creator ::-webkit-scrollbar-thumb:hover,
1479
1500
  top: initial;
1480
1501
  bottom: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
1481
1502
  }
1503
+
1504
+ .sv-list__filter {
1505
+ margin-bottom: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
1506
+ }
1482
1507
  .sd-element__title .svc-string-editor {
1483
1508
  display: inline-block;
1484
1509
  max-width: 100%;
@@ -1945,7 +1970,7 @@ svc-page {
1945
1970
  .svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected,
1946
1971
  .svc-creator .svc-page .svc-page__content--selected:focus.svc-page__content--selected,
1947
1972
  .svc-hovered.svc-page__content--selected {
1948
- 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));
1949
1974
  background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
1950
1975
  }
1951
1976
  .svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected .svc-page__content-actions,
@@ -2694,10 +2719,10 @@ svc-question .sv-action-bar,
2694
2719
  display: flex;
2695
2720
  }
2696
2721
 
2697
- .svc-question__content--image:not(.svc-question__content--empty) {
2722
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) {
2698
2723
  padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(8 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
2699
2724
  }
2700
- .svc-question__content--image:not(.svc-question__content--empty) .sd-image__image {
2725
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .sd-image__image {
2701
2726
  border-radius: 0;
2702
2727
  }
2703
2728
 
@@ -2709,6 +2734,25 @@ svc-question .sv-action-bar,
2709
2734
  .svc-question__content--image.svc-question__content--empty .sd-question--image {
2710
2735
  display: none;
2711
2736
  }
2737
+
2738
+ .svc-question__content--loading .sd-image {
2739
+ display: none;
2740
+ }
2741
+
2742
+ .svc-image-question__loading-placeholder {
2743
+ position: relative;
2744
+ background-color: var(--sjs-general-backcolor, var(--background, #fff));
2745
+ width: 100%;
2746
+ height: calc(27.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2747
+ border: 1px dashed var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
2748
+ }
2749
+
2750
+ .svc-image-question__loading {
2751
+ position: absolute;
2752
+ top: 50%;
2753
+ left: 50%;
2754
+ transform: translate(-50%, -50%);
2755
+ }
2712
2756
  .svc-rating-question-controls {
2713
2757
  position: absolute;
2714
2758
  }
@@ -2725,6 +2769,25 @@ svc-question .sv-action-bar,
2725
2769
  margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2726
2770
  width: calc(100% - 9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2727
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
+ }
2728
2791
  .svc-question__content .sd-question--table .sd-rating {
2729
2792
  margin-inline-start: 0;
2730
2793
  width: fit-content;
@@ -2740,6 +2803,26 @@ svc-question .sv-action-bar,
2740
2803
  width: unset;
2741
2804
  padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2742
2805
  }
2806
+
2807
+ .svc-creator--mobile .svc-rating-question-content {
2808
+ position: relative;
2809
+ }
2810
+ .svc-creator--mobile .svc-rating-question-controls {
2811
+ position: absolute;
2812
+ top: 0;
2813
+ }
2814
+ .svc-creator--mobile .svc-question__content .sd-rating {
2815
+ margin-inline-start: 0;
2816
+ width: 100%;
2817
+ }
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 {
2820
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)) + 2px);
2821
+ }
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 {
2824
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2825
+ }
2743
2826
  .svc-item-value-wrapper {
2744
2827
  position: relative;
2745
2828
  display: flex;
@@ -2758,9 +2841,14 @@ svc-question .sv-action-bar,
2758
2841
  padding-right: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
2759
2842
  }
2760
2843
 
2761
- .svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type) {
2844
+ .svc-question__content .sd-selectbase__column {
2762
2845
  margin-left: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2763
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
+ }
2764
2852
  .svc-question__content .sd-selectbase__column:not(:last-child) {
2765
2853
  padding-right: 0;
2766
2854
  }
@@ -2871,6 +2959,13 @@ svc-question .sv-action-bar,
2871
2959
  }
2872
2960
  .sv-ranking .svc-item-value__item {
2873
2961
  padding-right: 0;
2962
+ flex-grow: 1;
2963
+ }
2964
+
2965
+ .svc-question__content .svc-item-value__item .sv-ranking-item__text {
2966
+ flex-grow: 1;
2967
+ width: 0;
2968
+ max-width: fit-content;
2874
2969
  }
2875
2970
 
2876
2971
  .svc-item-value__item .sv-ranking-item__content {
@@ -2882,6 +2977,17 @@ svc-question .sv-action-bar,
2882
2977
  .svc-item-value__item .sv-ranking-item__text {
2883
2978
  overflow: visible;
2884
2979
  }
2980
+ .svc-item-value__item .svc-string-editor {
2981
+ width: 100%;
2982
+ display: inline-block;
2983
+ }
2984
+ .svc-item-value__item .svc-string-editor__content {
2985
+ width: 100%;
2986
+ }
2987
+ .svc-item-value__item .sv-string-editor {
2988
+ text-overflow: ellipsis;
2989
+ overflow: hidden;
2990
+ }
2885
2991
 
2886
2992
  .svc-item-value--ghost .svc-item-value__ghost {
2887
2993
  display: block;
@@ -2928,6 +3034,49 @@ svc-question .sv-action-bar,
2928
3034
  position: absolute;
2929
3035
  left: 35px;
2930
3036
  }
3037
+
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 {
3056
+ visibility: visible;
3057
+ }
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 {
3061
+ margin-left: calc(-3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3062
+ }
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 {
3077
+ padding-left: 0;
3078
+ padding-right: 0;
3079
+ }
2931
3080
  .svc-image-item-value-wrapper {
2932
3081
  display: inline-block;
2933
3082
  position: relative;
@@ -3020,6 +3169,13 @@ svc-question .sv-action-bar,
3020
3169
  .svc-image-item-value--single .sd-imagepicker__image {
3021
3170
  height: calc(30 * var(--sjs-base-unit, var(--base-unit, 8px)));
3022
3171
  }
3172
+
3173
+ .svc-image-item-value__loading {
3174
+ position: absolute;
3175
+ top: 50%;
3176
+ left: 50%;
3177
+ transform: translate(-50%, -50%);
3178
+ }
3023
3179
  .svc-matrix-cell {
3024
3180
  position: relative;
3025
3181
  }
@@ -3207,6 +3363,14 @@ svc-question .sv-action-bar,
3207
3363
  right: calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3208
3364
  }
3209
3365
 
3366
+ .svc-logo-image__loading {
3367
+ width: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3368
+ height: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3369
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3370
+ box-sizing: border-box;
3371
+ margin-right: calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
3372
+ }
3373
+
3210
3374
  .svc-logo-image-placeholder {
3211
3375
  font-size: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
3212
3376
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
@@ -4582,7 +4746,8 @@ button.spg-action-button--large {
4582
4746
  height: 1px;
4583
4747
  width: 1px;
4584
4748
  overflow: hidden;
4585
- clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4749
+ clip: rect(1px 1px 1px 1px);
4750
+ /* IE6, IE7 */
4586
4751
  clip: rect(1px, 1px, 1px, 1px);
4587
4752
  left: 0;
4588
4753
  top: 100%;
@@ -4622,6 +4787,10 @@ button.spg-action-button--large {
4622
4787
  opacity: 0.25;
4623
4788
  }
4624
4789
 
4790
+ .spg-color-editor__color-swatch--default .sv-svg-icon {
4791
+ opacity: 1;
4792
+ }
4793
+
4625
4794
  .spg-color-editor .spg-input__edit-button + * {
4626
4795
  margin-inline-end: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
4627
4796
  }