survey-creator-core 1.9.83 → 1.9.85
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 +2 -2
- package/survey-creator-core.css +102 -25
- package/survey-creator-core.d.ts +1 -8046
- package/survey-creator-core.fontless.css +101 -24
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +6 -6
- package/survey-creator-core.i18n.js +126 -128
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +530 -165
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +7 -7
- package/survey-creator-core.min.js +2 -2
- package/typings/components/action-container-view-model.d.ts +27 -0
- package/typings/components/embedded-survey.d.ts +9 -0
- package/typings/components/header/logo-image.d.ts +15 -0
- package/typings/components/image-item-value.d.ts +21 -0
- package/typings/components/item-value.d.ts +42 -0
- package/typings/components/link-value.d.ts +27 -0
- package/typings/components/matrix-cell.d.ts +25 -0
- package/typings/components/page-navigator/page-navigator.d.ts +39 -0
- package/typings/components/page.d.ts +28 -0
- package/typings/components/question-dropdown.d.ts +18 -0
- package/typings/components/question-image.d.ts +9 -0
- package/typings/components/question-rating.d.ts +18 -0
- package/typings/components/question.d.ts +41 -0
- package/typings/components/results.d.ts +40 -0
- package/typings/components/row.d.ts +9 -0
- package/typings/components/side-bar/side-bar-model.d.ts +34 -0
- package/typings/components/side-bar/side-bar-tab-model.d.ts +11 -0
- package/typings/components/simulator.d.ts +205 -0
- package/typings/components/string-editor.d.ts +68 -0
- package/typings/components/tabs/designer-plugin.d.ts +26 -0
- package/typings/components/tabs/designer.d.ts +30 -0
- package/typings/components/tabs/embed-json.d.ts +1 -0
- package/typings/components/tabs/embed.d.ts +13 -0
- package/typings/components/tabs/json-editor-ace.d.ts +22 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +28 -0
- package/typings/components/tabs/json-editor-textarea.d.ts +22 -0
- package/typings/components/tabs/logic-actions-model.d.ts +49 -0
- package/typings/components/tabs/logic-expression.d.ts +32 -0
- package/typings/components/tabs/logic-item-editor.d.ts +53 -0
- package/typings/components/tabs/logic-items.d.ts +96 -0
- package/typings/components/tabs/logic-plugin.d.ts +22 -0
- package/typings/components/tabs/logic-theme.d.ts +327 -0
- package/typings/components/tabs/logic-types.d.ts +77 -0
- package/typings/components/tabs/logic-ui.d.ts +68 -0
- package/typings/components/tabs/logic.d.ts +102 -0
- package/typings/components/tabs/test-plugin.d.ts +33 -0
- package/typings/components/tabs/test.d.ts +43 -0
- package/typings/components/tabs/translation-plugin.d.ts +33 -0
- package/typings/components/tabs/translation-theme.d.ts +301 -0
- package/typings/components/tabs/translation.d.ts +199 -0
- package/typings/components/toolbox/toolbox-tool.d.ts +16 -0
- package/typings/creator-base.d.ts +1375 -0
- package/typings/creator-options.d.ts +247 -0
- package/typings/creator-responsivity-manager.d.ts +22 -0
- package/typings/creator-settings.d.ts +219 -0
- package/typings/custom-questions/question-color.d.ts +15 -0
- package/typings/custom-questions/question-file.d.ts +15 -0
- package/typings/custom-questions/question-spin-editor.d.ts +25 -0
- package/typings/editable-object.d.ts +20 -0
- package/typings/editorLocalization.d.ts +954 -0
- package/typings/entries/index.d.ts +68 -0
- package/typings/expressionToDisplayText.d.ts +46 -0
- package/typings/json5.d.ts +46 -0
- package/typings/localization/english.d.ts +925 -0
- package/typings/pages-controller.d.ts +21 -0
- package/typings/plugins/undo-redo/index.d.ts +12 -0
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +40 -0
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +78 -0
- package/typings/property-grid/bindings.d.ts +10 -0
- package/typings/property-grid/cells-survey.d.ts +14 -0
- package/typings/property-grid/condition-survey.d.ts +117 -0
- package/typings/property-grid/condition.d.ts +13 -0
- package/typings/property-grid/description-parser.d.ts +10 -0
- package/typings/property-grid/fast-entry.d.ts +32 -0
- package/typings/property-grid/index.d.ts +239 -0
- package/typings/property-grid/matrices.d.ts +135 -0
- package/typings/property-grid/object-selector.d.ts +42 -0
- package/typings/property-grid/property-grid-view-model.d.ts +23 -0
- package/typings/property-grid/restfull.d.ts +8 -0
- package/typings/property-grid/values-survey.d.ts +42 -0
- package/typings/property-grid/values.d.ts +37 -0
- package/typings/property-grid-theme/property-grid.d.ts +346 -0
- package/typings/question-editor/definition.d.ts +22 -0
- package/typings/question-editor/properties.d.ts +49 -0
- package/typings/questionconverter.d.ts +12 -0
- package/typings/selection-history.d.ts +20 -0
- package/typings/selection-owner.d.ts +7 -0
- package/typings/survey-helper.d.ts +44 -0
- package/typings/svgbundle.d.ts +1 -0
- package/typings/textWorker.d.ts +18 -0
- package/typings/toolbox.d.ts +269 -0
- package/typings/utils/actions.d.ts +5 -0
- package/typings/utils/events.d.ts +14 -0
- package/typings/utils/resizer.d.ts +24 -0
- package/typings/utils/utils.d.ts +19 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.85
|
|
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
|
|
@@ -811,7 +811,8 @@ svc-tab-designer {
|
|
|
811
811
|
|
|
812
812
|
.svc-tab-designer--with-place-holder .svc-tab-designer_content {
|
|
813
813
|
display: flex;
|
|
814
|
-
justify-content: center;
|
|
814
|
+
justify-content: center;
|
|
815
|
+
flex-direction: column; }
|
|
815
816
|
|
|
816
817
|
.svc-tab-designer--with-place-holder .svc-designer-header {
|
|
817
818
|
min-width: calc(84 * var(--base-unit, 8px)); }
|
|
@@ -844,8 +845,14 @@ svc-tab-designer {
|
|
|
844
845
|
border-bottom: 2px solid transparent; }
|
|
845
846
|
|
|
846
847
|
.svc-designer__placeholder-container {
|
|
847
|
-
|
|
848
|
-
|
|
848
|
+
display: flex;
|
|
849
|
+
flex-grow: 1;
|
|
850
|
+
width: 100%;
|
|
851
|
+
flex-direction: column;
|
|
852
|
+
align-items: center;
|
|
853
|
+
justify-content: center;
|
|
854
|
+
padding: calc(2 * var(--base-unit, 8px));
|
|
855
|
+
box-sizing: border-box; }
|
|
849
856
|
|
|
850
857
|
.svc-designer-placeholder-page {
|
|
851
858
|
margin-top: calc(2 * var(--base-unit, 8px)); }
|
|
@@ -1236,7 +1243,9 @@ survey-creator,
|
|
|
1236
1243
|
justify-content: center;
|
|
1237
1244
|
color: var(--primary, #19b394); }
|
|
1238
1245
|
|
|
1239
|
-
.svc-btn:hover
|
|
1246
|
+
.svc-btn:hover {
|
|
1247
|
+
background-color: var(--sjs-general-backcolor-dark, #f8f8f8); }
|
|
1248
|
+
|
|
1240
1249
|
.svc-btn:focus {
|
|
1241
1250
|
box-shadow: 0 0 0 2px var(--primary, #19b394); }
|
|
1242
1251
|
|
|
@@ -1572,6 +1581,9 @@ svc-question {
|
|
|
1572
1581
|
border: 2px solid transparent;
|
|
1573
1582
|
outline: none; }
|
|
1574
1583
|
|
|
1584
|
+
.svc-question__content .sd-element__header .sd-description {
|
|
1585
|
+
margin-top: 0; }
|
|
1586
|
+
|
|
1575
1587
|
.svc-question__content .sd-selectbase:not(.sd-imagepicker) {
|
|
1576
1588
|
overflow-x: auto;
|
|
1577
1589
|
padding-left: calc(5 * var(--base-unit, 8px));
|
|
@@ -1606,8 +1618,7 @@ svc-question {
|
|
|
1606
1618
|
inset-inline-end: calc(3.5 * var(--base-unit, 8px)); }
|
|
1607
1619
|
.svc-question__content-actions .sv-action--convertTo {
|
|
1608
1620
|
min-width: calc(13 * var(--base-unit, 8px));
|
|
1609
|
-
max-width: max-content;
|
|
1610
|
-
margin-inline-end: auto; }
|
|
1621
|
+
max-width: max-content; }
|
|
1611
1622
|
.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item {
|
|
1612
1623
|
max-width: 100%;
|
|
1613
1624
|
flex-direction: row-reverse; }
|
|
@@ -1620,6 +1631,10 @@ svc-question {
|
|
|
1620
1631
|
.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon {
|
|
1621
1632
|
margin-inline-start: 0;
|
|
1622
1633
|
margin-inline-end: calc(0.5 * var(--base-unit, 8px)); }
|
|
1634
|
+
.svc-question__content-actions .sv-action--convertTo.sv-action--hidden {
|
|
1635
|
+
min-width: 0; }
|
|
1636
|
+
.svc-question__content-actions .sv-action--convertTo-last {
|
|
1637
|
+
margin-inline-end: auto; }
|
|
1623
1638
|
|
|
1624
1639
|
.svc-question__content:focus,
|
|
1625
1640
|
.svc-creator .svc-page .svc-hovered > .svc-question__content {
|
|
@@ -2371,11 +2386,11 @@ svc-question .sv-action-bar,
|
|
|
2371
2386
|
margin-left: calc(-2 * var(--base-unit, 8px)); }
|
|
2372
2387
|
|
|
2373
2388
|
.svc-question-link__clear-button {
|
|
2374
|
-
margin-left: calc(4 * var(--base-unit, 8px));
|
|
2375
2389
|
color: var(--red, #e60a3e);
|
|
2376
2390
|
font-weight: 600;
|
|
2377
2391
|
cursor: pointer; }
|
|
2378
2392
|
|
|
2393
|
+
.svc-question-link__clear-button:focus,
|
|
2379
2394
|
.svc-question-link__clear-button:hover {
|
|
2380
2395
|
background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
|
|
2381
2396
|
|
|
@@ -3010,18 +3025,38 @@ button.spg-action-button--large {
|
|
|
3010
3025
|
overflow: hidden;
|
|
3011
3026
|
flex-wrap: wrap; }
|
|
3012
3027
|
.spg-row--multiple > div {
|
|
3013
|
-
width: 0;
|
|
3014
3028
|
flex-grow: 1;
|
|
3015
3029
|
min-width: calc(25.5 * var(--base-unit, 8px)); }
|
|
3016
3030
|
.spg-row--multiple > div .spg-question__header--location--left {
|
|
3017
3031
|
min-width: calc(8 * var(--base-unit, 8px)); }
|
|
3018
3032
|
.spg-row--multiple > div input {
|
|
3019
|
-
min-width: calc(17 * var(--base-unit, 8px));
|
|
3020
|
-
width:
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3033
|
+
min-width: calc(max(17 * var(--base-unit, 8px), 100%));
|
|
3034
|
+
width: 0; }
|
|
3035
|
+
|
|
3036
|
+
.spg-question__erbox {
|
|
3037
|
+
padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));
|
|
3038
|
+
color: var(--foreground, #161616);
|
|
3039
|
+
background-color: var(--red-light, rgba(229, 10, 62, 0.1));
|
|
3040
|
+
border-radius: calc(0.5 * var(--base-unit, 8px));
|
|
3041
|
+
line-height: calc(3 * var(--base-unit, 8px)); }
|
|
3042
|
+
.spg-question__erbox > div {
|
|
3043
|
+
display: flex;
|
|
3044
|
+
gap: calc(1 * var(--base-unit, 8px)); }
|
|
3045
|
+
|
|
3046
|
+
.spg-question__erbox-icon {
|
|
3047
|
+
display: block;
|
|
3048
|
+
flex-grow: 0;
|
|
3049
|
+
flex-shrink: 0;
|
|
3050
|
+
width: calc(3 * var(--base-unit, 8px));
|
|
3051
|
+
height: calc(3 * var(--base-unit, 8px));
|
|
3052
|
+
background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
|
|
3053
|
+
background-repeat: no-repeat;
|
|
3054
|
+
background-position: 0 0;
|
|
3055
|
+
line-height: calc(3 * var(--base-unit, 8px));
|
|
3056
|
+
background-image: url("data:image/svg+xml,%3Csvg width='24' height='20' viewBox='0 0 24 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.0336 15.4803L14.5736 1.45346C13.9936 0.487805 12.9936 0 12.0036 0C11.0136 0 10.0136 0.487805 9.43364 1.45346L0.973642 15.4803C-0.226358 17.4714 1.21364 20 3.54364 20H20.4536C22.7836 20 24.2236 17.4714 23.0236 15.4803H23.0336ZM21.3336 17.5112C21.2436 17.6605 20.9936 18.0189 20.4636 18.0189H3.54364C3.01364 18.0189 2.76364 17.6705 2.67364 17.5112C2.58364 17.3519 2.41364 16.9537 2.68364 16.5057L11.1436 2.47885C11.4036 2.04082 11.8336 1.99104 12.0036 1.99104C12.1736 1.99104 12.5936 2.04082 12.8636 2.47885L21.3136 16.5057C21.5836 16.9537 21.4136 17.3519 21.3236 17.5112H21.3336ZM13.0036 7.05824V12.0358C13.0036 12.5834 12.5536 13.0314 12.0036 13.0314C11.4536 13.0314 11.0036 12.5834 11.0036 12.0358V7.05824C11.0036 6.5107 11.4536 6.06272 12.0036 6.06272C12.5536 6.06272 13.0036 6.5107 13.0036 7.05824ZM13.0036 15.0224C13.0036 15.5699 12.5536 16.0179 12.0036 16.0179C11.4536 16.0179 11.0036 15.5699 11.0036 15.0224C11.0036 14.4749 11.4536 14.0269 12.0036 14.0269C12.5536 14.0269 13.0036 14.4749 13.0036 15.0224Z' fill='%23E60A3E'/%3E%3C/svg%3E"); }
|
|
3057
|
+
|
|
3058
|
+
.spg-question__erbox--location--bottom {
|
|
3059
|
+
margin-top: calc(1 * var(--base-unit, 8px)); }
|
|
3025
3060
|
|
|
3026
3061
|
.spg-input {
|
|
3027
3062
|
-webkit-appearance: none;
|
|
@@ -3065,6 +3100,7 @@ button.spg-action-button--large {
|
|
|
3065
3100
|
appearance: none;
|
|
3066
3101
|
background: var(--background, #fff);
|
|
3067
3102
|
border: none;
|
|
3103
|
+
outline: none;
|
|
3068
3104
|
width: calc(5 * var(--base-unit, 8px));
|
|
3069
3105
|
height: calc(5 * var(--base-unit, 8px));
|
|
3070
3106
|
padding: calc(1 * var(--base-unit, 8px)); }
|
|
@@ -3072,11 +3108,31 @@ button.spg-action-button--large {
|
|
|
3072
3108
|
background: var(--background-dim, #f3f3f3); }
|
|
3073
3109
|
.spg-input__edit-button:active {
|
|
3074
3110
|
opacity: 0.5; }
|
|
3111
|
+
.spg-input__edit-button:disabled {
|
|
3112
|
+
opacity: 0.25;
|
|
3113
|
+
background: var(--background, #fff); }
|
|
3075
3114
|
.spg-input__edit-button svg {
|
|
3076
3115
|
height: 24px;
|
|
3077
3116
|
width: 24px;
|
|
3078
3117
|
fill: rgba(0, 0, 0, 0.45); }
|
|
3079
3118
|
|
|
3119
|
+
.spg-input.spg-input--error {
|
|
3120
|
+
border-color: var(--red, #e60a3e);
|
|
3121
|
+
box-shadow: none; }
|
|
3122
|
+
|
|
3123
|
+
.spg-input-container__input {
|
|
3124
|
+
flex-grow: 1;
|
|
3125
|
+
width: 100%;
|
|
3126
|
+
padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));
|
|
3127
|
+
color: var(--foreground, #161616);
|
|
3128
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
|
3129
|
+
font-family: var(--font-family);
|
|
3130
|
+
outline: none;
|
|
3131
|
+
border: none; }
|
|
3132
|
+
|
|
3133
|
+
.spg-input-container__buttons-container {
|
|
3134
|
+
display: flex; }
|
|
3135
|
+
|
|
3080
3136
|
.spg-dropdown {
|
|
3081
3137
|
border-radius: 0;
|
|
3082
3138
|
display: flex;
|
|
@@ -3285,6 +3341,21 @@ button.spg-action-button--large {
|
|
|
3285
3341
|
font-weight: 600;
|
|
3286
3342
|
line-height: calc(3 * var(--base-unit, 8px)); }
|
|
3287
3343
|
|
|
3344
|
+
.spg-smiley-icon {
|
|
3345
|
+
width: calc(3 * var(--base-unit, 8px));
|
|
3346
|
+
height: calc(3 * var(--base-unit, 8px));
|
|
3347
|
+
margin: calc(1 * var(--base-unit, 8px));
|
|
3348
|
+
border-radius: 100px;
|
|
3349
|
+
border: 1px solid var(--foreground, #161616);
|
|
3350
|
+
display: flex;
|
|
3351
|
+
justify-content: center;
|
|
3352
|
+
align-items: center;
|
|
3353
|
+
margin-right: calc(4 * var(--base-unit, 8px)); }
|
|
3354
|
+
.spg-smiley-icon svg {
|
|
3355
|
+
width: calc(1.5 * var(--base-unit, 8px));
|
|
3356
|
+
height: calc(1.5 * var(--base-unit, 8px));
|
|
3357
|
+
fill: var(--foreground, #161616); }
|
|
3358
|
+
|
|
3288
3359
|
.spg-table-wrapper {
|
|
3289
3360
|
border: 1px solid var(--border, #d6d6d6);
|
|
3290
3361
|
border-bottom: none; }
|
|
@@ -3379,9 +3450,6 @@ button.spg-action-button--large {
|
|
|
3379
3450
|
.spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
|
|
3380
3451
|
box-shadow: none; }
|
|
3381
3452
|
|
|
3382
|
-
.spg-spin-editor__buttons-container {
|
|
3383
|
-
display: flex; }
|
|
3384
|
-
|
|
3385
3453
|
.spg-input-container {
|
|
3386
3454
|
display: flex;
|
|
3387
3455
|
justify-content: space-between;
|
|
@@ -3390,12 +3458,6 @@ button.spg-action-button--large {
|
|
|
3390
3458
|
align-items: center;
|
|
3391
3459
|
gap: calc(0.5 * var(--base-unit, 8px)); }
|
|
3392
3460
|
|
|
3393
|
-
.spg-input-container__input {
|
|
3394
|
-
outline: none;
|
|
3395
|
-
border: none;
|
|
3396
|
-
flex-grow: 1;
|
|
3397
|
-
padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
|
|
3398
|
-
|
|
3399
3461
|
.spg-color-editor__color-input {
|
|
3400
3462
|
position: absolute;
|
|
3401
3463
|
height: 1px;
|
|
@@ -3409,12 +3471,20 @@ button.spg-action-button--large {
|
|
|
3409
3471
|
transform: translate(-50%, -50%); }
|
|
3410
3472
|
|
|
3411
3473
|
.spg-color-editor__color-swatch {
|
|
3474
|
+
flex-shrink: 0;
|
|
3475
|
+
flex-grow: 0;
|
|
3412
3476
|
border: 1px solid rgba(0, 0, 0, 0.16);
|
|
3413
3477
|
border-radius: 3px;
|
|
3414
3478
|
width: calc(4.5 * var(--base-unit, 8px));
|
|
3415
3479
|
height: calc(3 * var(--base-unit, 8px));
|
|
3416
3480
|
margin-left: calc(1.5 * var(--base-unit, 8px)); }
|
|
3417
3481
|
|
|
3482
|
+
.spg-file-edit__choose-button {
|
|
3483
|
+
position: relative; }
|
|
3484
|
+
|
|
3485
|
+
.spg-link {
|
|
3486
|
+
display: flex; }
|
|
3487
|
+
|
|
3418
3488
|
.spg-root-modern {
|
|
3419
3489
|
width: 100%;
|
|
3420
3490
|
border-right: 1px solid var(--border, #d6d6d6);
|
|
@@ -3442,6 +3512,13 @@ button.spg-action-button--large {
|
|
|
3442
3512
|
margin-left: calc(1 * var(--base-unit, 8px));
|
|
3443
3513
|
margin-right: calc(1 * var(--base-unit, 8px)); }
|
|
3444
3514
|
|
|
3515
|
+
.svc-object-selector__content {
|
|
3516
|
+
position: relative;
|
|
3517
|
+
height: 100%;
|
|
3518
|
+
min-height: 0;
|
|
3519
|
+
display: flex;
|
|
3520
|
+
flex-direction: column; }
|
|
3521
|
+
|
|
3445
3522
|
.spg-title .spg-action-bar {
|
|
3446
3523
|
margin-top: calc(-1 * var(--base-unit, 8px));
|
|
3447
3524
|
margin-bottom: calc(-1 * var(--base-unit, 8px));
|