survey-creator-core 1.9.85 → 1.9.87
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 +3 -3
- package/survey-creator-core.css +30 -40
- package/survey-creator-core.fontless.css +29 -39
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +5 -5
- package/survey-creator-core.i18n.js +1026 -85
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +113 -45
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +6 -6
- package/survey-creator-core.min.js +3 -3
- package/typings/components/question-rating.d.ts +4 -0
- package/typings/creator-base.d.ts +18 -0
- package/typings/creator-settings.d.ts +5 -0
- package/typings/custom-questions/question-color.d.ts +3 -0
- package/typings/property-grid/condition-survey.d.ts +3 -0
- package/typings/questionconverter.d.ts +1 -0
package/fonts.fontless.css
CHANGED
package/fonts.fontless.min.css
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-core",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
|
|
3
|
+
"version": "1.9.87",
|
|
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.
|
|
32
|
+
"survey-core": "1.9.87"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {}
|
|
35
35
|
}
|
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.87
|
|
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.
|
|
228
|
+
* SurveyJS Creator v1.9.87
|
|
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
|
|
@@ -1732,8 +1732,10 @@ svc-page {
|
|
|
1732
1732
|
outline: none; }
|
|
1733
1733
|
.svc-page__question-type-selector use {
|
|
1734
1734
|
fill: var(--foreground-light, #909090); }
|
|
1735
|
-
.svc-page__question-type-selector:hover
|
|
1735
|
+
.svc-page__question-type-selector:hover {
|
|
1736
1736
|
background-color: var(--background-dim, #f3f3f3); }
|
|
1737
|
+
.svc-page__question-type-selector:focus {
|
|
1738
|
+
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
1737
1739
|
|
|
1738
1740
|
.svc-row {
|
|
1739
1741
|
width: 100%; }
|
|
@@ -1867,11 +1869,11 @@ svc-question {
|
|
|
1867
1869
|
box-shadow: 0 0 0 2px var(--secondary-light, rgba(255, 152, 20, 0.25)); }
|
|
1868
1870
|
|
|
1869
1871
|
.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged).svc-question__content--selected,
|
|
1870
|
-
.svc-creator .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
1872
|
+
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
1871
1873
|
box-shadow: 0 0 0 2px var(--secondary, #ff9814); }
|
|
1872
1874
|
|
|
1873
1875
|
.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged) > .svc-question__content-actions,
|
|
1874
|
-
.svc-creator .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
1876
|
+
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
1875
1877
|
display: block; }
|
|
1876
1878
|
|
|
1877
1879
|
.svc-question__content--dragged {
|
|
@@ -2102,6 +2104,7 @@ svc-question .sv-action-bar,
|
|
|
2102
2104
|
background-color: transparent;
|
|
2103
2105
|
cursor: pointer;
|
|
2104
2106
|
margin-right: calc(1 * var(--base-unit, 8px));
|
|
2107
|
+
outline: none;
|
|
2105
2108
|
top: calc(2 * var(--base-unit, 8px));
|
|
2106
2109
|
margin: 0;
|
|
2107
2110
|
position: absolute;
|
|
@@ -2110,6 +2113,8 @@ svc-question .sv-action-bar,
|
|
|
2110
2113
|
fill: var(--foreground-light, #909090); }
|
|
2111
2114
|
.svc-panel__question-type-selector:hover {
|
|
2112
2115
|
background-color: var(--background-dim, #f3f3f3); }
|
|
2116
|
+
.svc-panel__question-type-selector:focus {
|
|
2117
|
+
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
2113
2118
|
|
|
2114
2119
|
.sd-panel .svc-row {
|
|
2115
2120
|
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
@@ -2258,16 +2263,21 @@ svc-question .sv-action-bar,
|
|
|
2258
2263
|
.svc-item-value-controls__drag use {
|
|
2259
2264
|
fill: var(--foreground, #161616); }
|
|
2260
2265
|
|
|
2261
|
-
.svc-item-value-
|
|
2266
|
+
.svc-item-value-controls__button--disabled {
|
|
2267
|
+
fill: var(--foreground-light, #909090);
|
|
2268
|
+
opacity: 0.25;
|
|
2269
|
+
cursor: default; }
|
|
2270
|
+
|
|
2271
|
+
.svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled) use {
|
|
2262
2272
|
fill: var(--red, #e60a3e); }
|
|
2263
2273
|
|
|
2264
|
-
.svc-item-value-controls__add use {
|
|
2274
|
+
.svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled) use {
|
|
2265
2275
|
fill: var(--primary, #19b394); }
|
|
2266
2276
|
|
|
2267
|
-
.svc-item-value-controls__add:hover, .svc-item-value-controls__add:focus {
|
|
2277
|
+
.svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled):hover, .svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled):focus {
|
|
2268
2278
|
background-color: var(--primary-light, rgba(25, 179, 148, 0.1)); }
|
|
2269
2279
|
|
|
2270
|
-
.svc-item-value-controls__remove:hover, .svc-item-value-controls__remove:focus {
|
|
2280
|
+
.svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled):hover, .svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled):focus {
|
|
2271
2281
|
background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
|
|
2272
2282
|
|
|
2273
2283
|
.sv-string-editor {
|
|
@@ -3219,22 +3229,13 @@ button.spg-action-button--large {
|
|
|
3219
3229
|
align-items: stretch; }
|
|
3220
3230
|
.spg-question--location--left:focus-within {
|
|
3221
3231
|
border-color: var(--primary, #19b394);
|
|
3222
|
-
box-shadow:
|
|
3223
|
-
.spg-question--location--left:focus-within .spg-question__header--location--left {
|
|
3224
|
-
box-shadow: none;
|
|
3225
|
-
border: 1px solid var(--primary, #19b394);
|
|
3226
|
-
border-left: none;
|
|
3227
|
-
border-right: none;
|
|
3228
|
-
box-shadow: inset 1px 0 0 0 var(--primary, #19b394); }
|
|
3229
|
-
.spg-question--location--left .spg-input:focus {
|
|
3230
|
-
border: 1px solid var(--primary, #19b394);
|
|
3231
|
-
border-left: none;
|
|
3232
|
-
border-right: none;
|
|
3233
|
-
box-shadow: inset -1px 0 0 0 var(--primary, #19b394); }
|
|
3232
|
+
box-shadow: 0 0 0 1px var(--primary, #19b394); }
|
|
3234
3233
|
|
|
3235
3234
|
.spg-question__header--location--left {
|
|
3236
3235
|
width: auto;
|
|
3236
|
+
box-sizing: border-box;
|
|
3237
3237
|
max-width: 50%;
|
|
3238
|
+
flex: 1;
|
|
3238
3239
|
display: flex;
|
|
3239
3240
|
align-items: center; }
|
|
3240
3241
|
.spg-question__header--location--left .spg-question__title {
|
|
@@ -3242,13 +3243,16 @@ button.spg-action-button--large {
|
|
|
3242
3243
|
border-right: 1px solid var(--border, #d6d6d6);
|
|
3243
3244
|
display: inline-block; }
|
|
3244
3245
|
|
|
3245
|
-
.spg-question__content--left
|
|
3246
|
-
|
|
3246
|
+
.spg-question__content--left {
|
|
3247
|
+
flex: 2; }
|
|
3248
|
+
.spg-question__content--left .spg-input.spg-input.spg-input {
|
|
3249
|
+
border: none; }
|
|
3250
|
+
.spg-question__content--left .spg-input.spg-input.spg-input:focus, .spg-question__content--left .spg-input.spg-input.spg-input:focus-within {
|
|
3251
|
+
box-shadow: none; }
|
|
3247
3252
|
|
|
3248
3253
|
.spg-row--multiple {
|
|
3249
3254
|
display: flex;
|
|
3250
3255
|
gap: calc(1 * var(--base-unit, 8px));
|
|
3251
|
-
overflow: hidden;
|
|
3252
3256
|
flex-wrap: wrap; }
|
|
3253
3257
|
.spg-row--multiple > div {
|
|
3254
3258
|
flex-grow: 1;
|
|
@@ -3329,7 +3333,8 @@ button.spg-action-button--large {
|
|
|
3329
3333
|
outline: none;
|
|
3330
3334
|
width: calc(5 * var(--base-unit, 8px));
|
|
3331
3335
|
height: calc(5 * var(--base-unit, 8px));
|
|
3332
|
-
padding: calc(1 * var(--base-unit, 8px));
|
|
3336
|
+
padding: calc(1 * var(--base-unit, 8px));
|
|
3337
|
+
line-height: 0; }
|
|
3333
3338
|
.spg-input__edit-button:hover {
|
|
3334
3339
|
background: var(--background-dim, #f3f3f3); }
|
|
3335
3340
|
.spg-input__edit-button:active {
|
|
@@ -3661,21 +3666,6 @@ button.spg-action-button--large {
|
|
|
3661
3666
|
.spg-question-group .spg-row:not(:first-of-type) {
|
|
3662
3667
|
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
3663
3668
|
|
|
3664
|
-
.spg-question-group .spg-question--location--left {
|
|
3665
|
-
box-sizing: border-box; }
|
|
3666
|
-
.spg-question-group .spg-question--location--left:focus-within {
|
|
3667
|
-
box-shadow: 0 0 0 1px var(--primary, #19b394); }
|
|
3668
|
-
.spg-question-group .spg-question--location--left .spg-question__header--location--left {
|
|
3669
|
-
width: auto;
|
|
3670
|
-
flex: 1;
|
|
3671
|
-
border: none;
|
|
3672
|
-
box-shadow: none; }
|
|
3673
|
-
.spg-question-group .spg-question--location--left .spg-question__content--left {
|
|
3674
|
-
width: auto;
|
|
3675
|
-
flex: 2; }
|
|
3676
|
-
.spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
|
|
3677
|
-
box-shadow: none; }
|
|
3678
|
-
|
|
3679
3669
|
.spg-input-container {
|
|
3680
3670
|
display: flex;
|
|
3681
3671
|
justify-content: space-between;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.87
|
|
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
|
|
@@ -1506,8 +1506,10 @@ svc-page {
|
|
|
1506
1506
|
outline: none; }
|
|
1507
1507
|
.svc-page__question-type-selector use {
|
|
1508
1508
|
fill: var(--foreground-light, #909090); }
|
|
1509
|
-
.svc-page__question-type-selector:hover
|
|
1509
|
+
.svc-page__question-type-selector:hover {
|
|
1510
1510
|
background-color: var(--background-dim, #f3f3f3); }
|
|
1511
|
+
.svc-page__question-type-selector:focus {
|
|
1512
|
+
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
1511
1513
|
|
|
1512
1514
|
.svc-row {
|
|
1513
1515
|
width: 100%; }
|
|
@@ -1641,11 +1643,11 @@ svc-question {
|
|
|
1641
1643
|
box-shadow: 0 0 0 2px var(--secondary-light, rgba(255, 152, 20, 0.25)); }
|
|
1642
1644
|
|
|
1643
1645
|
.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged).svc-question__content--selected,
|
|
1644
|
-
.svc-creator .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
1646
|
+
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
1645
1647
|
box-shadow: 0 0 0 2px var(--secondary, #ff9814); }
|
|
1646
1648
|
|
|
1647
1649
|
.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged) > .svc-question__content-actions,
|
|
1648
|
-
.svc-creator .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
1650
|
+
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
1649
1651
|
display: block; }
|
|
1650
1652
|
|
|
1651
1653
|
.svc-question__content--dragged {
|
|
@@ -1876,6 +1878,7 @@ svc-question .sv-action-bar,
|
|
|
1876
1878
|
background-color: transparent;
|
|
1877
1879
|
cursor: pointer;
|
|
1878
1880
|
margin-right: calc(1 * var(--base-unit, 8px));
|
|
1881
|
+
outline: none;
|
|
1879
1882
|
top: calc(2 * var(--base-unit, 8px));
|
|
1880
1883
|
margin: 0;
|
|
1881
1884
|
position: absolute;
|
|
@@ -1884,6 +1887,8 @@ svc-question .sv-action-bar,
|
|
|
1884
1887
|
fill: var(--foreground-light, #909090); }
|
|
1885
1888
|
.svc-panel__question-type-selector:hover {
|
|
1886
1889
|
background-color: var(--background-dim, #f3f3f3); }
|
|
1890
|
+
.svc-panel__question-type-selector:focus {
|
|
1891
|
+
background-color: var(--sjs-primary-backcolor-light, rgba(25, 179, 148, 0.1)); }
|
|
1887
1892
|
|
|
1888
1893
|
.sd-panel .svc-row {
|
|
1889
1894
|
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
@@ -2032,16 +2037,21 @@ svc-question .sv-action-bar,
|
|
|
2032
2037
|
.svc-item-value-controls__drag use {
|
|
2033
2038
|
fill: var(--foreground, #161616); }
|
|
2034
2039
|
|
|
2035
|
-
.svc-item-value-
|
|
2040
|
+
.svc-item-value-controls__button--disabled {
|
|
2041
|
+
fill: var(--foreground-light, #909090);
|
|
2042
|
+
opacity: 0.25;
|
|
2043
|
+
cursor: default; }
|
|
2044
|
+
|
|
2045
|
+
.svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled) use {
|
|
2036
2046
|
fill: var(--red, #e60a3e); }
|
|
2037
2047
|
|
|
2038
|
-
.svc-item-value-controls__add use {
|
|
2048
|
+
.svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled) use {
|
|
2039
2049
|
fill: var(--primary, #19b394); }
|
|
2040
2050
|
|
|
2041
|
-
.svc-item-value-controls__add:hover, .svc-item-value-controls__add:focus {
|
|
2051
|
+
.svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled):hover, .svc-item-value-controls__add:not(.svc-item-value-controls__button--disabled):focus {
|
|
2042
2052
|
background-color: var(--primary-light, rgba(25, 179, 148, 0.1)); }
|
|
2043
2053
|
|
|
2044
|
-
.svc-item-value-controls__remove:hover, .svc-item-value-controls__remove:focus {
|
|
2054
|
+
.svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled):hover, .svc-item-value-controls__remove:not(.svc-item-value-controls__button--disabled):focus {
|
|
2045
2055
|
background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
|
|
2046
2056
|
|
|
2047
2057
|
.sv-string-editor {
|
|
@@ -2993,22 +3003,13 @@ button.spg-action-button--large {
|
|
|
2993
3003
|
align-items: stretch; }
|
|
2994
3004
|
.spg-question--location--left:focus-within {
|
|
2995
3005
|
border-color: var(--primary, #19b394);
|
|
2996
|
-
box-shadow:
|
|
2997
|
-
.spg-question--location--left:focus-within .spg-question__header--location--left {
|
|
2998
|
-
box-shadow: none;
|
|
2999
|
-
border: 1px solid var(--primary, #19b394);
|
|
3000
|
-
border-left: none;
|
|
3001
|
-
border-right: none;
|
|
3002
|
-
box-shadow: inset 1px 0 0 0 var(--primary, #19b394); }
|
|
3003
|
-
.spg-question--location--left .spg-input:focus {
|
|
3004
|
-
border: 1px solid var(--primary, #19b394);
|
|
3005
|
-
border-left: none;
|
|
3006
|
-
border-right: none;
|
|
3007
|
-
box-shadow: inset -1px 0 0 0 var(--primary, #19b394); }
|
|
3006
|
+
box-shadow: 0 0 0 1px var(--primary, #19b394); }
|
|
3008
3007
|
|
|
3009
3008
|
.spg-question__header--location--left {
|
|
3010
3009
|
width: auto;
|
|
3010
|
+
box-sizing: border-box;
|
|
3011
3011
|
max-width: 50%;
|
|
3012
|
+
flex: 1;
|
|
3012
3013
|
display: flex;
|
|
3013
3014
|
align-items: center; }
|
|
3014
3015
|
.spg-question__header--location--left .spg-question__title {
|
|
@@ -3016,13 +3017,16 @@ button.spg-action-button--large {
|
|
|
3016
3017
|
border-right: 1px solid var(--border, #d6d6d6);
|
|
3017
3018
|
display: inline-block; }
|
|
3018
3019
|
|
|
3019
|
-
.spg-question__content--left
|
|
3020
|
-
|
|
3020
|
+
.spg-question__content--left {
|
|
3021
|
+
flex: 2; }
|
|
3022
|
+
.spg-question__content--left .spg-input.spg-input.spg-input {
|
|
3023
|
+
border: none; }
|
|
3024
|
+
.spg-question__content--left .spg-input.spg-input.spg-input:focus, .spg-question__content--left .spg-input.spg-input.spg-input:focus-within {
|
|
3025
|
+
box-shadow: none; }
|
|
3021
3026
|
|
|
3022
3027
|
.spg-row--multiple {
|
|
3023
3028
|
display: flex;
|
|
3024
3029
|
gap: calc(1 * var(--base-unit, 8px));
|
|
3025
|
-
overflow: hidden;
|
|
3026
3030
|
flex-wrap: wrap; }
|
|
3027
3031
|
.spg-row--multiple > div {
|
|
3028
3032
|
flex-grow: 1;
|
|
@@ -3103,7 +3107,8 @@ button.spg-action-button--large {
|
|
|
3103
3107
|
outline: none;
|
|
3104
3108
|
width: calc(5 * var(--base-unit, 8px));
|
|
3105
3109
|
height: calc(5 * var(--base-unit, 8px));
|
|
3106
|
-
padding: calc(1 * var(--base-unit, 8px));
|
|
3110
|
+
padding: calc(1 * var(--base-unit, 8px));
|
|
3111
|
+
line-height: 0; }
|
|
3107
3112
|
.spg-input__edit-button:hover {
|
|
3108
3113
|
background: var(--background-dim, #f3f3f3); }
|
|
3109
3114
|
.spg-input__edit-button:active {
|
|
@@ -3435,21 +3440,6 @@ button.spg-action-button--large {
|
|
|
3435
3440
|
.spg-question-group .spg-row:not(:first-of-type) {
|
|
3436
3441
|
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
3437
3442
|
|
|
3438
|
-
.spg-question-group .spg-question--location--left {
|
|
3439
|
-
box-sizing: border-box; }
|
|
3440
|
-
.spg-question-group .spg-question--location--left:focus-within {
|
|
3441
|
-
box-shadow: 0 0 0 1px var(--primary, #19b394); }
|
|
3442
|
-
.spg-question-group .spg-question--location--left .spg-question__header--location--left {
|
|
3443
|
-
width: auto;
|
|
3444
|
-
flex: 1;
|
|
3445
|
-
border: none;
|
|
3446
|
-
box-shadow: none; }
|
|
3447
|
-
.spg-question-group .spg-question--location--left .spg-question__content--left {
|
|
3448
|
-
width: auto;
|
|
3449
|
-
flex: 2; }
|
|
3450
|
-
.spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
|
|
3451
|
-
box-shadow: none; }
|
|
3452
|
-
|
|
3453
3443
|
.spg-input-container {
|
|
3454
3444
|
display: flex;
|
|
3455
3445
|
justify-content: space-between;
|