survey-creator-core 1.9.106 → 1.9.107

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.106
2
+ * SurveyJS Creator v1.9.107
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.106
2
+ * SurveyJS Creator v1.9.107
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.106",
3
+ "version": "1.9.107",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "survey-core": "1.9.106"
37
+ "survey-core": "1.9.107"
38
38
  },
39
39
  "devDependencies": {}
40
40
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.106
2
+ * SurveyJS Creator v1.9.107
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.106
228
+ * SurveyJS Creator v1.9.107
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
@@ -1269,6 +1269,10 @@ td.st-table__cell:first-of-type span {
1269
1269
  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)));
1270
1270
  }
1271
1271
 
1272
+ .sv-popup--overlay .svc-logic-placeholder {
1273
+ width: initial;
1274
+ }
1275
+
1272
1276
  .svc-logic-placeholder__text {
1273
1277
  font-family: var(--font-family);
1274
1278
  font-style: normal;
@@ -2920,10 +2924,10 @@ svc-question .sv-action-bar,
2920
2924
  display: flex;
2921
2925
  }
2922
2926
 
2923
- .svc-question__content--image:not(.svc-question__content--empty) {
2927
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) {
2924
2928
  padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(8 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
2925
2929
  }
2926
- .svc-question__content--image:not(.svc-question__content--empty) .sd-image__image {
2930
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .sd-image__image {
2927
2931
  border-radius: 0;
2928
2932
  }
2929
2933
 
@@ -2935,6 +2939,25 @@ svc-question .sv-action-bar,
2935
2939
  .svc-question__content--image.svc-question__content--empty .sd-question--image {
2936
2940
  display: none;
2937
2941
  }
2942
+
2943
+ .svc-question__content--loading .sd-image {
2944
+ display: none;
2945
+ }
2946
+
2947
+ .svc-image-question__loading-placeholder {
2948
+ position: relative;
2949
+ background-color: var(--sjs-general-backcolor, var(--background, #fff));
2950
+ width: 100%;
2951
+ height: calc(27.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2952
+ border: 1px dashed var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
2953
+ }
2954
+
2955
+ .svc-image-question__loading {
2956
+ position: absolute;
2957
+ top: 50%;
2958
+ left: 50%;
2959
+ transform: translate(-50%, -50%);
2960
+ }
2938
2961
  .svc-rating-question-controls {
2939
2962
  position: absolute;
2940
2963
  }
@@ -2966,6 +2989,26 @@ svc-question .sv-action-bar,
2966
2989
  width: unset;
2967
2990
  padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2968
2991
  }
2992
+
2993
+ .svc-creator--mobile .svc-rating-question-content {
2994
+ position: relative;
2995
+ }
2996
+ .svc-creator--mobile .svc-rating-question-controls {
2997
+ position: absolute;
2998
+ top: 0;
2999
+ }
3000
+ .svc-creator--mobile .svc-question__content .sd-rating {
3001
+ margin-inline-start: 0;
3002
+ width: 100%;
3003
+ }
3004
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item,
3005
+ .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item-smiley + .sd-rating__item-smiley,
3006
+ .svc-creator--mobile .svc-question__content legend + sv-ng-rating-item + .sd-rating__item {
3007
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)) + 2px);
3008
+ }
3009
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item-text {
3010
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
3011
+ }
2969
3012
  .svc-item-value-wrapper {
2970
3013
  position: relative;
2971
3014
  display: flex;
@@ -3097,6 +3140,13 @@ svc-question .sv-action-bar,
3097
3140
  }
3098
3141
  .sv-ranking .svc-item-value__item {
3099
3142
  padding-right: 0;
3143
+ flex-grow: 1;
3144
+ }
3145
+
3146
+ .svc-question__content .svc-item-value__item .sv-ranking-item__text {
3147
+ flex-grow: 1;
3148
+ width: 0;
3149
+ max-width: fit-content;
3100
3150
  }
3101
3151
 
3102
3152
  .svc-item-value__item .sv-ranking-item__content {
@@ -3108,6 +3158,17 @@ svc-question .sv-action-bar,
3108
3158
  .svc-item-value__item .sv-ranking-item__text {
3109
3159
  overflow: visible;
3110
3160
  }
3161
+ .svc-item-value__item .svc-string-editor {
3162
+ width: 100%;
3163
+ display: inline-block;
3164
+ }
3165
+ .svc-item-value__item .svc-string-editor__content {
3166
+ width: 100%;
3167
+ }
3168
+ .svc-item-value__item .sv-string-editor {
3169
+ text-overflow: ellipsis;
3170
+ overflow: hidden;
3171
+ }
3111
3172
 
3112
3173
  .svc-item-value--ghost .svc-item-value__ghost {
3113
3174
  display: block;
@@ -3154,6 +3215,17 @@ svc-question .sv-action-bar,
3154
3215
  position: absolute;
3155
3216
  left: 35px;
3156
3217
  }
3218
+
3219
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag-icon {
3220
+ visibility: visible;
3221
+ }
3222
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-wrapper {
3223
+ margin-left: calc(-3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3224
+ }
3225
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag {
3226
+ padding-left: 0;
3227
+ padding-right: 0;
3228
+ }
3157
3229
  .svc-image-item-value-wrapper {
3158
3230
  display: inline-block;
3159
3231
  position: relative;
@@ -3246,6 +3318,13 @@ svc-question .sv-action-bar,
3246
3318
  .svc-image-item-value--single .sd-imagepicker__image {
3247
3319
  height: calc(30 * var(--sjs-base-unit, var(--base-unit, 8px)));
3248
3320
  }
3321
+
3322
+ .svc-image-item-value__loading {
3323
+ position: absolute;
3324
+ top: 50%;
3325
+ left: 50%;
3326
+ transform: translate(-50%, -50%);
3327
+ }
3249
3328
  .svc-matrix-cell {
3250
3329
  position: relative;
3251
3330
  }
@@ -3433,6 +3512,14 @@ svc-question .sv-action-bar,
3433
3512
  right: calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3434
3513
  }
3435
3514
 
3515
+ .svc-logo-image__loading {
3516
+ width: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3517
+ height: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3518
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3519
+ box-sizing: border-box;
3520
+ margin-right: calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
3521
+ }
3522
+
3436
3523
  .svc-logo-image-placeholder {
3437
3524
  font-size: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
3438
3525
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.106
2
+ * SurveyJS Creator v1.9.107
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;
@@ -2694,10 +2698,10 @@ svc-question .sv-action-bar,
2694
2698
  display: flex;
2695
2699
  }
2696
2700
 
2697
- .svc-question__content--image:not(.svc-question__content--empty) {
2701
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) {
2698
2702
  padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(8 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
2699
2703
  }
2700
- .svc-question__content--image:not(.svc-question__content--empty) .sd-image__image {
2704
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .sd-image__image {
2701
2705
  border-radius: 0;
2702
2706
  }
2703
2707
 
@@ -2709,6 +2713,25 @@ svc-question .sv-action-bar,
2709
2713
  .svc-question__content--image.svc-question__content--empty .sd-question--image {
2710
2714
  display: none;
2711
2715
  }
2716
+
2717
+ .svc-question__content--loading .sd-image {
2718
+ display: none;
2719
+ }
2720
+
2721
+ .svc-image-question__loading-placeholder {
2722
+ position: relative;
2723
+ background-color: var(--sjs-general-backcolor, var(--background, #fff));
2724
+ width: 100%;
2725
+ height: calc(27.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2726
+ border: 1px dashed var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
2727
+ }
2728
+
2729
+ .svc-image-question__loading {
2730
+ position: absolute;
2731
+ top: 50%;
2732
+ left: 50%;
2733
+ transform: translate(-50%, -50%);
2734
+ }
2712
2735
  .svc-rating-question-controls {
2713
2736
  position: absolute;
2714
2737
  }
@@ -2740,6 +2763,26 @@ svc-question .sv-action-bar,
2740
2763
  width: unset;
2741
2764
  padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
2742
2765
  }
2766
+
2767
+ .svc-creator--mobile .svc-rating-question-content {
2768
+ position: relative;
2769
+ }
2770
+ .svc-creator--mobile .svc-rating-question-controls {
2771
+ position: absolute;
2772
+ top: 0;
2773
+ }
2774
+ .svc-creator--mobile .svc-question__content .sd-rating {
2775
+ margin-inline-start: 0;
2776
+ width: 100%;
2777
+ }
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 {
2781
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)) + 2px);
2782
+ }
2783
+ .svc-creator--mobile .svc-question__content legend + .sd-rating__item-text {
2784
+ margin-inline-start: calc(9 * var(--sjs-base-unit, var(--base-unit, 8px)));
2785
+ }
2743
2786
  .svc-item-value-wrapper {
2744
2787
  position: relative;
2745
2788
  display: flex;
@@ -2871,6 +2914,13 @@ svc-question .sv-action-bar,
2871
2914
  }
2872
2915
  .sv-ranking .svc-item-value__item {
2873
2916
  padding-right: 0;
2917
+ flex-grow: 1;
2918
+ }
2919
+
2920
+ .svc-question__content .svc-item-value__item .sv-ranking-item__text {
2921
+ flex-grow: 1;
2922
+ width: 0;
2923
+ max-width: fit-content;
2874
2924
  }
2875
2925
 
2876
2926
  .svc-item-value__item .sv-ranking-item__content {
@@ -2882,6 +2932,17 @@ svc-question .sv-action-bar,
2882
2932
  .svc-item-value__item .sv-ranking-item__text {
2883
2933
  overflow: visible;
2884
2934
  }
2935
+ .svc-item-value__item .svc-string-editor {
2936
+ width: 100%;
2937
+ display: inline-block;
2938
+ }
2939
+ .svc-item-value__item .svc-string-editor__content {
2940
+ width: 100%;
2941
+ }
2942
+ .svc-item-value__item .sv-string-editor {
2943
+ text-overflow: ellipsis;
2944
+ overflow: hidden;
2945
+ }
2885
2946
 
2886
2947
  .svc-item-value--ghost .svc-item-value__ghost {
2887
2948
  display: block;
@@ -2928,6 +2989,17 @@ svc-question .sv-action-bar,
2928
2989
  position: absolute;
2929
2990
  left: 35px;
2930
2991
  }
2992
+
2993
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag-icon {
2994
+ visibility: visible;
2995
+ }
2996
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-wrapper {
2997
+ margin-left: calc(-3 * var(--sjs-base-unit, var(--base-unit, 8px)));
2998
+ }
2999
+ .svc-creator--mobile .svc-tab-designer .svc-item-value-controls__drag {
3000
+ padding-left: 0;
3001
+ padding-right: 0;
3002
+ }
2931
3003
  .svc-image-item-value-wrapper {
2932
3004
  display: inline-block;
2933
3005
  position: relative;
@@ -3020,6 +3092,13 @@ svc-question .sv-action-bar,
3020
3092
  .svc-image-item-value--single .sd-imagepicker__image {
3021
3093
  height: calc(30 * var(--sjs-base-unit, var(--base-unit, 8px)));
3022
3094
  }
3095
+
3096
+ .svc-image-item-value__loading {
3097
+ position: absolute;
3098
+ top: 50%;
3099
+ left: 50%;
3100
+ transform: translate(-50%, -50%);
3101
+ }
3023
3102
  .svc-matrix-cell {
3024
3103
  position: relative;
3025
3104
  }
@@ -3207,6 +3286,14 @@ svc-question .sv-action-bar,
3207
3286
  right: calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3208
3287
  }
3209
3288
 
3289
+ .svc-logo-image__loading {
3290
+ width: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3291
+ height: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3292
+ padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3293
+ box-sizing: border-box;
3294
+ margin-right: calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
3295
+ }
3296
+
3210
3297
  .svc-logo-image-placeholder {
3211
3298
  font-size: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
3212
3299
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));