survey-creator-core 1.9.86 → 1.9.88

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.86
2
+ * SurveyJS Creator v1.9.88
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.86
2
+ * SurveyJS Creator v1.9.88
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,7 +1,7 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.86",
4
- "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
3
+ "version": "1.9.88",
4
+ "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
7
7
  "Survey Creator",
@@ -29,7 +29,7 @@
29
29
  "ace-builds": "^1.4.12"
30
30
  },
31
31
  "dependencies": {
32
- "survey-core": "1.9.86"
32
+ "survey-core": "1.9.88"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.86
2
+ * SurveyJS Creator v1.9.88
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.86
228
+ * SurveyJS Creator v1.9.88
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
@@ -1324,12 +1324,14 @@ survey-creator,
1324
1324
  .svc-string-editor .sv-string-editor {
1325
1325
  position: relative;
1326
1326
  outline: none;
1327
- white-space: pre-wrap;
1328
1327
  word-break: break-word;
1329
1328
  z-index: 12; }
1330
1329
  .svc-string-editor .sv-string-editor[aria-placeholder]:empty:before {
1331
1330
  content: attr(aria-placeholder);
1332
1331
  color: var(--foreground-light, #909090); }
1332
+ .svc-string-editor .sv-string-editor--html,
1333
+ .svc-string-editor .sv-string-editor:focus-within {
1334
+ white-space: pre-wrap; }
1333
1335
  .svc-string-editor.svc-string-editor--hidden {
1334
1336
  display: none; }
1335
1337
 
@@ -2169,9 +2171,16 @@ svc-question .sv-action-bar,
2169
2171
  .svc-image-question-controls__button:hover use {
2170
2172
  fill: var(--primary, #19b394); }
2171
2173
 
2172
- .svc-question__content--image {
2174
+ .svc-question__content--image:not(.svc-question__content--empty) {
2173
2175
  padding: calc(4 * var(--base-unit, 8px)) 0 calc(8 * var(--base-unit, 8px)) 0; }
2174
2176
 
2177
+ .svc-question__content--image.svc-question__content--empty .sd-file,
2178
+ .svc-question__content--image.svc-question__content--empty sv-ng-file-question {
2179
+ width: 100%; }
2180
+
2181
+ .svc-question__content--image.svc-question__content--empty .sd-question--image {
2182
+ display: none; }
2183
+
2175
2184
  .svc-rating-question-controls {
2176
2185
  position: absolute; }
2177
2186
 
@@ -2200,12 +2209,16 @@ svc-question .sv-action-bar,
2200
2209
  display: flex;
2201
2210
  gap: calc(1 * var(--base-unit, 8px));
2202
2211
  align-items: center;
2203
- margin-left: calc(-5 * var(--base-unit, 8px));
2204
- min-width: calc(27 * var(--base-unit, 8px)); }
2212
+ margin-left: calc(-5 * var(--base-unit, 8px)); }
2205
2213
 
2206
2214
  .svc-question__dropdown-choice .svc-item-value-wrapper,
2207
2215
  .sd-selectbase .svc-item-value-wrapper {
2208
- align-items: flex-start; }
2216
+ align-items: flex-start;
2217
+ min-width: calc(28 * var(--base-unit, 8px)); }
2218
+
2219
+ .svc-question__dropdown-choice .svc-item-value__item,
2220
+ .sd-selectbase .svc-item-value__item {
2221
+ padding-right: calc(1 * var(--base-unit, 8px)); }
2209
2222
 
2210
2223
  .svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type) {
2211
2224
  margin-left: calc(5 * var(--base-unit, 8px)); }
@@ -2296,7 +2309,11 @@ svc-question .sv-action-bar,
2296
2309
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
2297
2310
 
2298
2311
  .sv-ranking .svc-item-value-wrapper {
2299
- align-items: center; }
2312
+ align-items: center;
2313
+ min-width: calc(27 * var(--base-unit, 8px)); }
2314
+
2315
+ .sv-ranking .svc-item-value__item {
2316
+ padding-right: 0; }
2300
2317
 
2301
2318
  .svc-item-value__item .sv-ranking-item__content {
2302
2319
  padding-left: 0; }
@@ -3229,22 +3246,13 @@ button.spg-action-button--large {
3229
3246
  align-items: stretch; }
3230
3247
  .spg-question--location--left:focus-within {
3231
3248
  border-color: var(--primary, #19b394);
3232
- box-shadow: none; }
3233
- .spg-question--location--left:focus-within .spg-question__header--location--left {
3234
- box-shadow: none;
3235
- border: 1px solid var(--primary, #19b394);
3236
- border-left: none;
3237
- border-right: none;
3238
- box-shadow: inset 1px 0 0 0 var(--primary, #19b394); }
3239
- .spg-question--location--left .spg-input:focus {
3240
- border: 1px solid var(--primary, #19b394);
3241
- border-left: none;
3242
- border-right: none;
3243
- box-shadow: inset -1px 0 0 0 var(--primary, #19b394); }
3249
+ box-shadow: 0 0 0 1px var(--primary, #19b394); }
3244
3250
 
3245
3251
  .spg-question__header--location--left {
3246
3252
  width: auto;
3253
+ box-sizing: border-box;
3247
3254
  max-width: 50%;
3255
+ flex: 1;
3248
3256
  display: flex;
3249
3257
  align-items: center; }
3250
3258
  .spg-question__header--location--left .spg-question__title {
@@ -3252,13 +3260,16 @@ button.spg-action-button--large {
3252
3260
  border-right: 1px solid var(--border, #d6d6d6);
3253
3261
  display: inline-block; }
3254
3262
 
3255
- .spg-question__content--left .spg-input {
3256
- border: none; }
3263
+ .spg-question__content--left {
3264
+ flex: 2; }
3265
+ .spg-question__content--left .spg-input.spg-input.spg-input {
3266
+ border: none; }
3267
+ .spg-question__content--left .spg-input.spg-input.spg-input:focus, .spg-question__content--left .spg-input.spg-input.spg-input:focus-within {
3268
+ box-shadow: none; }
3257
3269
 
3258
3270
  .spg-row--multiple {
3259
3271
  display: flex;
3260
3272
  gap: calc(1 * var(--base-unit, 8px));
3261
- overflow: hidden;
3262
3273
  flex-wrap: wrap; }
3263
3274
  .spg-row--multiple > div {
3264
3275
  flex-grow: 1;
@@ -3339,7 +3350,8 @@ button.spg-action-button--large {
3339
3350
  outline: none;
3340
3351
  width: calc(5 * var(--base-unit, 8px));
3341
3352
  height: calc(5 * var(--base-unit, 8px));
3342
- padding: calc(1 * var(--base-unit, 8px)); }
3353
+ padding: calc(1 * var(--base-unit, 8px));
3354
+ line-height: 0; }
3343
3355
  .spg-input__edit-button:hover {
3344
3356
  background: var(--background-dim, #f3f3f3); }
3345
3357
  .spg-input__edit-button:active {
@@ -3671,21 +3683,6 @@ button.spg-action-button--large {
3671
3683
  .spg-question-group .spg-row:not(:first-of-type) {
3672
3684
  margin-top: calc(1 * var(--base-unit, 8px)); }
3673
3685
 
3674
- .spg-question-group .spg-question--location--left {
3675
- box-sizing: border-box; }
3676
- .spg-question-group .spg-question--location--left:focus-within {
3677
- box-shadow: 0 0 0 1px var(--primary, #19b394); }
3678
- .spg-question-group .spg-question--location--left .spg-question__header--location--left {
3679
- width: auto;
3680
- flex: 1;
3681
- border: none;
3682
- box-shadow: none; }
3683
- .spg-question-group .spg-question--location--left .spg-question__content--left {
3684
- width: auto;
3685
- flex: 2; }
3686
- .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3687
- box-shadow: none; }
3688
-
3689
3686
  .spg-input-container {
3690
3687
  display: flex;
3691
3688
  justify-content: space-between;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.86
2
+ * SurveyJS Creator v1.9.88
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
@@ -1098,12 +1098,14 @@ survey-creator,
1098
1098
  .svc-string-editor .sv-string-editor {
1099
1099
  position: relative;
1100
1100
  outline: none;
1101
- white-space: pre-wrap;
1102
1101
  word-break: break-word;
1103
1102
  z-index: 12; }
1104
1103
  .svc-string-editor .sv-string-editor[aria-placeholder]:empty:before {
1105
1104
  content: attr(aria-placeholder);
1106
1105
  color: var(--foreground-light, #909090); }
1106
+ .svc-string-editor .sv-string-editor--html,
1107
+ .svc-string-editor .sv-string-editor:focus-within {
1108
+ white-space: pre-wrap; }
1107
1109
  .svc-string-editor.svc-string-editor--hidden {
1108
1110
  display: none; }
1109
1111
 
@@ -1943,9 +1945,16 @@ svc-question .sv-action-bar,
1943
1945
  .svc-image-question-controls__button:hover use {
1944
1946
  fill: var(--primary, #19b394); }
1945
1947
 
1946
- .svc-question__content--image {
1948
+ .svc-question__content--image:not(.svc-question__content--empty) {
1947
1949
  padding: calc(4 * var(--base-unit, 8px)) 0 calc(8 * var(--base-unit, 8px)) 0; }
1948
1950
 
1951
+ .svc-question__content--image.svc-question__content--empty .sd-file,
1952
+ .svc-question__content--image.svc-question__content--empty sv-ng-file-question {
1953
+ width: 100%; }
1954
+
1955
+ .svc-question__content--image.svc-question__content--empty .sd-question--image {
1956
+ display: none; }
1957
+
1949
1958
  .svc-rating-question-controls {
1950
1959
  position: absolute; }
1951
1960
 
@@ -1974,12 +1983,16 @@ svc-question .sv-action-bar,
1974
1983
  display: flex;
1975
1984
  gap: calc(1 * var(--base-unit, 8px));
1976
1985
  align-items: center;
1977
- margin-left: calc(-5 * var(--base-unit, 8px));
1978
- min-width: calc(27 * var(--base-unit, 8px)); }
1986
+ margin-left: calc(-5 * var(--base-unit, 8px)); }
1979
1987
 
1980
1988
  .svc-question__dropdown-choice .svc-item-value-wrapper,
1981
1989
  .sd-selectbase .svc-item-value-wrapper {
1982
- align-items: flex-start; }
1990
+ align-items: flex-start;
1991
+ min-width: calc(28 * var(--base-unit, 8px)); }
1992
+
1993
+ .svc-question__dropdown-choice .svc-item-value__item,
1994
+ .sd-selectbase .svc-item-value__item {
1995
+ padding-right: calc(1 * var(--base-unit, 8px)); }
1983
1996
 
1984
1997
  .svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type) {
1985
1998
  margin-left: calc(5 * var(--base-unit, 8px)); }
@@ -2070,7 +2083,11 @@ svc-question .sv-action-bar,
2070
2083
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
2071
2084
 
2072
2085
  .sv-ranking .svc-item-value-wrapper {
2073
- align-items: center; }
2086
+ align-items: center;
2087
+ min-width: calc(27 * var(--base-unit, 8px)); }
2088
+
2089
+ .sv-ranking .svc-item-value__item {
2090
+ padding-right: 0; }
2074
2091
 
2075
2092
  .svc-item-value__item .sv-ranking-item__content {
2076
2093
  padding-left: 0; }
@@ -3003,22 +3020,13 @@ button.spg-action-button--large {
3003
3020
  align-items: stretch; }
3004
3021
  .spg-question--location--left:focus-within {
3005
3022
  border-color: var(--primary, #19b394);
3006
- box-shadow: none; }
3007
- .spg-question--location--left:focus-within .spg-question__header--location--left {
3008
- box-shadow: none;
3009
- border: 1px solid var(--primary, #19b394);
3010
- border-left: none;
3011
- border-right: none;
3012
- box-shadow: inset 1px 0 0 0 var(--primary, #19b394); }
3013
- .spg-question--location--left .spg-input:focus {
3014
- border: 1px solid var(--primary, #19b394);
3015
- border-left: none;
3016
- border-right: none;
3017
- box-shadow: inset -1px 0 0 0 var(--primary, #19b394); }
3023
+ box-shadow: 0 0 0 1px var(--primary, #19b394); }
3018
3024
 
3019
3025
  .spg-question__header--location--left {
3020
3026
  width: auto;
3027
+ box-sizing: border-box;
3021
3028
  max-width: 50%;
3029
+ flex: 1;
3022
3030
  display: flex;
3023
3031
  align-items: center; }
3024
3032
  .spg-question__header--location--left .spg-question__title {
@@ -3026,13 +3034,16 @@ button.spg-action-button--large {
3026
3034
  border-right: 1px solid var(--border, #d6d6d6);
3027
3035
  display: inline-block; }
3028
3036
 
3029
- .spg-question__content--left .spg-input {
3030
- border: none; }
3037
+ .spg-question__content--left {
3038
+ flex: 2; }
3039
+ .spg-question__content--left .spg-input.spg-input.spg-input {
3040
+ border: none; }
3041
+ .spg-question__content--left .spg-input.spg-input.spg-input:focus, .spg-question__content--left .spg-input.spg-input.spg-input:focus-within {
3042
+ box-shadow: none; }
3031
3043
 
3032
3044
  .spg-row--multiple {
3033
3045
  display: flex;
3034
3046
  gap: calc(1 * var(--base-unit, 8px));
3035
- overflow: hidden;
3036
3047
  flex-wrap: wrap; }
3037
3048
  .spg-row--multiple > div {
3038
3049
  flex-grow: 1;
@@ -3113,7 +3124,8 @@ button.spg-action-button--large {
3113
3124
  outline: none;
3114
3125
  width: calc(5 * var(--base-unit, 8px));
3115
3126
  height: calc(5 * var(--base-unit, 8px));
3116
- padding: calc(1 * var(--base-unit, 8px)); }
3127
+ padding: calc(1 * var(--base-unit, 8px));
3128
+ line-height: 0; }
3117
3129
  .spg-input__edit-button:hover {
3118
3130
  background: var(--background-dim, #f3f3f3); }
3119
3131
  .spg-input__edit-button:active {
@@ -3445,21 +3457,6 @@ button.spg-action-button--large {
3445
3457
  .spg-question-group .spg-row:not(:first-of-type) {
3446
3458
  margin-top: calc(1 * var(--base-unit, 8px)); }
3447
3459
 
3448
- .spg-question-group .spg-question--location--left {
3449
- box-sizing: border-box; }
3450
- .spg-question-group .spg-question--location--left:focus-within {
3451
- box-shadow: 0 0 0 1px var(--primary, #19b394); }
3452
- .spg-question-group .spg-question--location--left .spg-question__header--location--left {
3453
- width: auto;
3454
- flex: 1;
3455
- border: none;
3456
- box-shadow: none; }
3457
- .spg-question-group .spg-question--location--left .spg-question__content--left {
3458
- width: auto;
3459
- flex: 2; }
3460
- .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3461
- box-shadow: none; }
3462
-
3463
3460
  .spg-input-container {
3464
3461
  display: flex;
3465
3462
  justify-content: space-between;