survey-creator-core 1.9.79 → 1.9.81
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 +41 -14
- package/survey-creator-core.d.ts +186 -0
- package/survey-creator-core.fontless.css +40 -13
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +6 -6
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +138 -96
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +7 -7
- package/survey-creator-core.min.js +3 -3
package/fonts.fontless.css
CHANGED
package/fonts.fontless.min.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.81",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -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.81"
|
|
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.81
|
|
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.81
|
|
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
|
|
@@ -1400,7 +1400,7 @@ survey-creator,
|
|
|
1400
1400
|
left: calc(-0.5 * var(--base-unit, 8px));
|
|
1401
1401
|
right: calc(-0.5 * var(--base-unit, 8px));
|
|
1402
1402
|
border-radius: 3px;
|
|
1403
|
-
box-shadow: 0px
|
|
1403
|
+
box-shadow: 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) rgba(0, 0, 0, 0.16); }
|
|
1404
1404
|
|
|
1405
1405
|
.svc-string-editor:focus-within .svc-string-editor__border {
|
|
1406
1406
|
display: flex;
|
|
@@ -1431,6 +1431,9 @@ survey-creator,
|
|
|
1431
1431
|
left: calc(-0.7 * var(--base-unit, 8px));
|
|
1432
1432
|
right: calc(-0.7 * var(--base-unit, 8px)); }
|
|
1433
1433
|
|
|
1434
|
+
.svc-string-editor:hover ~ .sd-question__required-text, .svc-string-editor:focus-within ~ .sd-question__required-text {
|
|
1435
|
+
visibility: hidden; }
|
|
1436
|
+
|
|
1434
1437
|
.svc-btn {
|
|
1435
1438
|
display: flex;
|
|
1436
1439
|
align-items: center;
|
|
@@ -1736,6 +1739,18 @@ svc-page {
|
|
|
1736
1739
|
box-shadow: none; }
|
|
1737
1740
|
|
|
1738
1741
|
.svc-row.svc-row--ghost .sd-row {
|
|
1742
|
+
height: calc(4 * var(--base-unit, 8px)); }
|
|
1743
|
+
|
|
1744
|
+
.svc-row.svc-row--ghost:last-child .sd-row {
|
|
1745
|
+
height: initial;
|
|
1746
|
+
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1747
|
+
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1748
|
+
|
|
1749
|
+
.svc-row.svc-row--ghost + .svc-row .sd-page__row {
|
|
1750
|
+
margin-top: 0; }
|
|
1751
|
+
|
|
1752
|
+
.svc-panel .svc-row.svc-row--ghost.svc-row.svc-row--ghost .sd-row {
|
|
1753
|
+
height: initial;
|
|
1739
1754
|
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1740
1755
|
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1741
1756
|
|
|
@@ -2081,12 +2096,6 @@ svc-question .sv-action-bar,
|
|
|
2081
2096
|
margin-top: 0;
|
|
2082
2097
|
margin-bottom: 0; }
|
|
2083
2098
|
|
|
2084
|
-
.sd-panel .svc-row.svc-row--ghost {
|
|
2085
|
-
margin-top: calc(1 * var(--base-unit, 8px));
|
|
2086
|
-
margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
|
|
2087
|
-
.sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
|
|
2088
|
-
top: 0; }
|
|
2089
|
-
|
|
2090
2099
|
.svc-question__dropdown-choices {
|
|
2091
2100
|
margin-top: calc(2 * var(--base-unit, 8px)); }
|
|
2092
2101
|
|
|
@@ -2243,7 +2252,9 @@ svc-question .sv-action-bar,
|
|
|
2243
2252
|
opacity: 0.35; }
|
|
2244
2253
|
|
|
2245
2254
|
.svc-item-value--new .sv-ranking-item__index {
|
|
2246
|
-
background: var(--background-
|
|
2255
|
+
background: var(--background-dim, #f3f3f3); }
|
|
2256
|
+
.svc-item-value--new .sv-ranking-item__index.sv-ranking-item__index--empty:empty {
|
|
2257
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
|
|
2247
2258
|
|
|
2248
2259
|
.sv-ranking .svc-item-value-wrapper {
|
|
2249
2260
|
align-items: center; }
|
|
@@ -2290,7 +2301,7 @@ svc-question .sv-action-bar,
|
|
|
2290
2301
|
background: var(--background-dim, #f3f3f3);
|
|
2291
2302
|
border-radius: calc(12.5 * var(--base-unit, 8px));
|
|
2292
2303
|
width: calc(25 * var(--base-unit, 8px));
|
|
2293
|
-
height:
|
|
2304
|
+
height: 40px;
|
|
2294
2305
|
z-index: 11;
|
|
2295
2306
|
position: absolute;
|
|
2296
2307
|
left: 35px; }
|
|
@@ -3484,22 +3495,35 @@ button.spg-action-button--large {
|
|
|
3484
3495
|
.spg-table__cell--detail-panel .spg-panel__content {
|
|
3485
3496
|
box-shadow: none; }
|
|
3486
3497
|
|
|
3498
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel):not(.spg-table__cell--actions):first-of-type {
|
|
3499
|
+
padding-left: 8px; }
|
|
3500
|
+
|
|
3487
3501
|
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input {
|
|
3488
3502
|
appearance: none;
|
|
3489
3503
|
line-height: calc(3 * var(--base-unit, 8px));
|
|
3490
3504
|
font-size: calc(2 * var(--base-unit, 8px));
|
|
3491
3505
|
border: none;
|
|
3506
|
+
border-radius: calc(0.5 * var(--base-unit, 8px));
|
|
3492
3507
|
background-color: transparent;
|
|
3493
|
-
padding: calc(1
|
|
3494
|
-
|
|
3508
|
+
padding: calc(1 * var(--base-unit, 8px));
|
|
3509
|
+
height: auto; }
|
|
3495
3510
|
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input[type="color"] {
|
|
3496
3511
|
padding-right: 0; }
|
|
3512
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus, .spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus-within {
|
|
3513
|
+
box-shadow: inset 0 0 0 2px var(--primary, #19b394); }
|
|
3514
|
+
|
|
3515
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-dropdown {
|
|
3516
|
+
width: max-content;
|
|
3517
|
+
padding-right: calc(4 * var(--base-unit, 8px));
|
|
3518
|
+
background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
|
|
3519
|
+
background-position: right calc(0.5 * var(--base-unit, 8px)) top 50%, 0 0;
|
|
3520
|
+
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L17 10H7L12 15Z' fill='%2390909080'/%3E%3C/svg%3E%0A"); }
|
|
3497
3521
|
|
|
3498
3522
|
.spg-table__cell:not(.spg-table__cell--detail-panel):first-of-type .spg-text {
|
|
3499
3523
|
padding-left: calc(2 * var(--base-unit, 8px)); }
|
|
3500
3524
|
|
|
3501
3525
|
.spg-table__cell--actions:first-of-type {
|
|
3502
|
-
width: calc(
|
|
3526
|
+
width: calc(5 * var(--base-unit, 8px)); }
|
|
3503
3527
|
|
|
3504
3528
|
.spg-table__cell--actions:last-of-type .spg-action-bar {
|
|
3505
3529
|
justify-content: flex-end; }
|
|
@@ -3521,6 +3545,9 @@ button.spg-action-button--large {
|
|
|
3521
3545
|
overflow: hidden;
|
|
3522
3546
|
max-width: 100px; }
|
|
3523
3547
|
|
|
3548
|
+
.spg-table__question-wrapper {
|
|
3549
|
+
padding: calc(0.5 * var(--base-unit, 8px)) 0; }
|
|
3550
|
+
|
|
3524
3551
|
.spg-question-group .spg-row {
|
|
3525
3552
|
margin-top: 0; }
|
|
3526
3553
|
.spg-question-group .spg-row:not(:first-of-type) {
|
package/survey-creator-core.d.ts
CHANGED
|
@@ -822,6 +822,81 @@ declare module "localization/english" {
|
|
|
822
822
|
multiSelect: string;
|
|
823
823
|
showLabel: string;
|
|
824
824
|
value: string;
|
|
825
|
+
tabAlign: string;
|
|
826
|
+
description: string;
|
|
827
|
+
logoFit: string;
|
|
828
|
+
pages: string;
|
|
829
|
+
questions: string;
|
|
830
|
+
triggers: string;
|
|
831
|
+
calculatedValues: string;
|
|
832
|
+
surveyId: string;
|
|
833
|
+
surveyPostId: string;
|
|
834
|
+
surveyShowDataSaving: string;
|
|
835
|
+
questionDescriptionLocation: string;
|
|
836
|
+
progressBarType: string;
|
|
837
|
+
showTOC: string;
|
|
838
|
+
tocLocation: string;
|
|
839
|
+
questionTitlePattern: string;
|
|
840
|
+
widthMode: string;
|
|
841
|
+
showBrandInfo: string;
|
|
842
|
+
useDisplayValuesInDynamicTexts: string;
|
|
843
|
+
visibleIf: string;
|
|
844
|
+
titleLocation: string;
|
|
845
|
+
descriptionLocation: string;
|
|
846
|
+
defaultValueExpression: string;
|
|
847
|
+
requiredIf: string;
|
|
848
|
+
validators: string;
|
|
849
|
+
bindings: string;
|
|
850
|
+
renderAs: string;
|
|
851
|
+
attachOriginalItems: string;
|
|
852
|
+
choices: string;
|
|
853
|
+
choicesByUrl: string;
|
|
854
|
+
currency: string;
|
|
855
|
+
cellHint: string;
|
|
856
|
+
isUnique: string;
|
|
857
|
+
showInMultipleColumns: string;
|
|
858
|
+
totalMaximumFractionDigits: string;
|
|
859
|
+
totalMinimumFractionDigits: string;
|
|
860
|
+
columns: string;
|
|
861
|
+
detailElements: string;
|
|
862
|
+
allowAdaptiveActions: string;
|
|
863
|
+
defaultRowValue: string;
|
|
864
|
+
detailPanelShowOnAdding: string;
|
|
865
|
+
choicesLazyLoadEnabled: string;
|
|
866
|
+
choicesLazyLoadPageSize: string;
|
|
867
|
+
inputFieldComponent: string;
|
|
868
|
+
itemComponent: string;
|
|
869
|
+
min: string;
|
|
870
|
+
max: string;
|
|
871
|
+
minValueExpression: string;
|
|
872
|
+
maxValueExpression: string;
|
|
873
|
+
step: string;
|
|
874
|
+
dataList: string;
|
|
875
|
+
itemSize: string;
|
|
876
|
+
elements: string;
|
|
877
|
+
content: string;
|
|
878
|
+
navigationButtonsVisibility: string;
|
|
879
|
+
navigationTitle: string;
|
|
880
|
+
navigationDescription: string;
|
|
881
|
+
longTap: string;
|
|
882
|
+
autoGrow: string;
|
|
883
|
+
acceptCarriageReturn: string;
|
|
884
|
+
displayMode: string;
|
|
885
|
+
rateType: string;
|
|
886
|
+
label: string;
|
|
887
|
+
contentMode: string;
|
|
888
|
+
imageFit: string;
|
|
889
|
+
altText: string;
|
|
890
|
+
height: string;
|
|
891
|
+
penColor: string;
|
|
892
|
+
backgroundColor: string;
|
|
893
|
+
templateElements: string;
|
|
894
|
+
operator: string;
|
|
895
|
+
isVariable: string;
|
|
896
|
+
runExpression: string;
|
|
897
|
+
showCaption: string;
|
|
898
|
+
iconName: string;
|
|
899
|
+
iconSize: string;
|
|
825
900
|
};
|
|
826
901
|
};
|
|
827
902
|
}
|
|
@@ -966,6 +1041,7 @@ declare module "creator-settings" {
|
|
|
966
1041
|
export interface ICollectionItemAllowOperations {
|
|
967
1042
|
allowDelete: boolean;
|
|
968
1043
|
allowEdit: boolean;
|
|
1044
|
+
allowAdd: boolean;
|
|
969
1045
|
}
|
|
970
1046
|
export interface ISurveyCreatorOptions {
|
|
971
1047
|
isMobileView: boolean;
|
|
@@ -1916,6 +1992,81 @@ declare module "editorLocalization" {
|
|
|
1916
1992
|
multiSelect: string;
|
|
1917
1993
|
showLabel: string;
|
|
1918
1994
|
value: string;
|
|
1995
|
+
tabAlign: string;
|
|
1996
|
+
description: string;
|
|
1997
|
+
logoFit: string;
|
|
1998
|
+
pages: string;
|
|
1999
|
+
questions: string;
|
|
2000
|
+
triggers: string;
|
|
2001
|
+
calculatedValues: string;
|
|
2002
|
+
surveyId: string;
|
|
2003
|
+
surveyPostId: string;
|
|
2004
|
+
surveyShowDataSaving: string;
|
|
2005
|
+
questionDescriptionLocation: string;
|
|
2006
|
+
progressBarType: string;
|
|
2007
|
+
showTOC: string;
|
|
2008
|
+
tocLocation: string;
|
|
2009
|
+
questionTitlePattern: string;
|
|
2010
|
+
widthMode: string;
|
|
2011
|
+
showBrandInfo: string;
|
|
2012
|
+
useDisplayValuesInDynamicTexts: string;
|
|
2013
|
+
visibleIf: string;
|
|
2014
|
+
titleLocation: string;
|
|
2015
|
+
descriptionLocation: string;
|
|
2016
|
+
defaultValueExpression: string;
|
|
2017
|
+
requiredIf: string;
|
|
2018
|
+
validators: string;
|
|
2019
|
+
bindings: string;
|
|
2020
|
+
renderAs: string;
|
|
2021
|
+
attachOriginalItems: string;
|
|
2022
|
+
choices: string;
|
|
2023
|
+
choicesByUrl: string;
|
|
2024
|
+
currency: string;
|
|
2025
|
+
cellHint: string;
|
|
2026
|
+
isUnique: string;
|
|
2027
|
+
showInMultipleColumns: string;
|
|
2028
|
+
totalMaximumFractionDigits: string;
|
|
2029
|
+
totalMinimumFractionDigits: string;
|
|
2030
|
+
columns: string;
|
|
2031
|
+
detailElements: string;
|
|
2032
|
+
allowAdaptiveActions: string;
|
|
2033
|
+
defaultRowValue: string;
|
|
2034
|
+
detailPanelShowOnAdding: string;
|
|
2035
|
+
choicesLazyLoadEnabled: string;
|
|
2036
|
+
choicesLazyLoadPageSize: string;
|
|
2037
|
+
inputFieldComponent: string;
|
|
2038
|
+
itemComponent: string;
|
|
2039
|
+
min: string;
|
|
2040
|
+
max: string;
|
|
2041
|
+
minValueExpression: string;
|
|
2042
|
+
maxValueExpression: string;
|
|
2043
|
+
step: string;
|
|
2044
|
+
dataList: string;
|
|
2045
|
+
itemSize: string;
|
|
2046
|
+
elements: string;
|
|
2047
|
+
content: string;
|
|
2048
|
+
navigationButtonsVisibility: string;
|
|
2049
|
+
navigationTitle: string;
|
|
2050
|
+
navigationDescription: string;
|
|
2051
|
+
longTap: string;
|
|
2052
|
+
autoGrow: string;
|
|
2053
|
+
acceptCarriageReturn: string;
|
|
2054
|
+
displayMode: string;
|
|
2055
|
+
rateType: string;
|
|
2056
|
+
label: string;
|
|
2057
|
+
contentMode: string;
|
|
2058
|
+
imageFit: string;
|
|
2059
|
+
altText: string;
|
|
2060
|
+
height: string;
|
|
2061
|
+
penColor: string;
|
|
2062
|
+
backgroundColor: string;
|
|
2063
|
+
templateElements: string;
|
|
2064
|
+
operator: string;
|
|
2065
|
+
isVariable: string;
|
|
2066
|
+
runExpression: string;
|
|
2067
|
+
showCaption: string;
|
|
2068
|
+
iconName: string;
|
|
2069
|
+
iconSize: string;
|
|
1919
2070
|
};
|
|
1920
2071
|
};
|
|
1921
2072
|
}
|
|
@@ -2708,6 +2859,7 @@ declare module "property-grid-theme/property-grid" {
|
|
|
2708
2859
|
root: string;
|
|
2709
2860
|
item: string;
|
|
2710
2861
|
itemTitle: string;
|
|
2862
|
+
content: string;
|
|
2711
2863
|
row: string;
|
|
2712
2864
|
cell: string;
|
|
2713
2865
|
};
|
|
@@ -2761,6 +2913,7 @@ declare module "property-grid-theme/property-grid" {
|
|
|
2761
2913
|
matrixdynamic: {
|
|
2762
2914
|
tableWrapper: string;
|
|
2763
2915
|
root: string;
|
|
2916
|
+
content: string;
|
|
2764
2917
|
cell: string;
|
|
2765
2918
|
headerCell: string;
|
|
2766
2919
|
button: string;
|
|
@@ -2783,6 +2936,7 @@ declare module "property-grid-theme/property-grid" {
|
|
|
2783
2936
|
dragDropGhostPositionBottom: string;
|
|
2784
2937
|
emptyRowsSection: string;
|
|
2785
2938
|
emptyRowsText: string;
|
|
2939
|
+
cellQuestionWrapper: string;
|
|
2786
2940
|
};
|
|
2787
2941
|
rating: {
|
|
2788
2942
|
root: string;
|
|
@@ -6226,6 +6380,7 @@ declare module "creator-base" {
|
|
|
6226
6380
|
*- options.collection a collection where a target item is located. It is can be Columns in Matrices or Choices in Dropdown question and so on.
|
|
6227
6381
|
*- options.item a target collection item
|
|
6228
6382
|
*- options.allowDelete a boolean value. It is `true` by default. Set it false to prevent an item from being removed from the collection
|
|
6383
|
+
*- options.allowAdd a boolean value. It is `true` by default. Set it false to prevent an item from being added to the collection
|
|
6229
6384
|
*- options.allowEdit a boolean value. It is `true` by default. Set it `false` to disable editing.
|
|
6230
6385
|
*/
|
|
6231
6386
|
onCollectionItemAllowOperations: CreatorEvent;
|
|
@@ -6865,7 +7020,38 @@ declare module "creator-base" {
|
|
|
6865
7020
|
protected initSurveyWithJSON(json: any, clearState: boolean): void;
|
|
6866
7021
|
private updatePlugin;
|
|
6867
7022
|
protected initDragDrop(): void;
|
|
7023
|
+
/**
|
|
7024
|
+
* An event that is raised when users start to drag a survey element within the design surface.
|
|
7025
|
+
*
|
|
7026
|
+
* Parameters:
|
|
7027
|
+
*
|
|
7028
|
+
* - `sender`: `CreatorBase`\
|
|
7029
|
+
* A Survey Creator instance that raised the event.
|
|
7030
|
+
* - `options.draggedElement`: `any`\
|
|
7031
|
+
* A survey element being dragged.
|
|
7032
|
+
* - `options.fromElement`: `any`\
|
|
7033
|
+
* A survey element from which `draggedElement` is being dragged.
|
|
7034
|
+
* - `options.toElement`: `any`\
|
|
7035
|
+
* A survey element to which `draggedElement` is being dragged.
|
|
7036
|
+
* @see onDragEnd
|
|
7037
|
+
*/
|
|
7038
|
+
onDragStart: Survey.Event<() => any, any, any>;
|
|
6868
7039
|
onBeforeDrop: Survey.Event<() => any, any, any>;
|
|
7040
|
+
/**
|
|
7041
|
+
* An event that is raised when users finish dragging a survey element within the design surface.
|
|
7042
|
+
*
|
|
7043
|
+
* Parameters:
|
|
7044
|
+
*
|
|
7045
|
+
* - `sender`: `CreatorBase`\
|
|
7046
|
+
* A Survey Creator instance that raised the event.
|
|
7047
|
+
* - `options.draggedElement`: `any`\
|
|
7048
|
+
* A survey element that was dragged.
|
|
7049
|
+
* - `options.fromElement`: `any`\
|
|
7050
|
+
* A survey element from which `draggedElement` was dragged.
|
|
7051
|
+
* - `options.toElement`: `any`\
|
|
7052
|
+
* A survey element to which `draggedElement` was dragged.
|
|
7053
|
+
*/
|
|
7054
|
+
onDragEnd: Survey.Event<() => any, any, any>;
|
|
6869
7055
|
onAfterDrop: Survey.Event<() => any, any, any>;
|
|
6870
7056
|
private initDragDropSurveyElements;
|
|
6871
7057
|
private initDragDropChoices;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.81
|
|
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
|
|
@@ -1174,7 +1174,7 @@ survey-creator,
|
|
|
1174
1174
|
left: calc(-0.5 * var(--base-unit, 8px));
|
|
1175
1175
|
right: calc(-0.5 * var(--base-unit, 8px));
|
|
1176
1176
|
border-radius: 3px;
|
|
1177
|
-
box-shadow: 0px
|
|
1177
|
+
box-shadow: 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) rgba(0, 0, 0, 0.16); }
|
|
1178
1178
|
|
|
1179
1179
|
.svc-string-editor:focus-within .svc-string-editor__border {
|
|
1180
1180
|
display: flex;
|
|
@@ -1205,6 +1205,9 @@ survey-creator,
|
|
|
1205
1205
|
left: calc(-0.7 * var(--base-unit, 8px));
|
|
1206
1206
|
right: calc(-0.7 * var(--base-unit, 8px)); }
|
|
1207
1207
|
|
|
1208
|
+
.svc-string-editor:hover ~ .sd-question__required-text, .svc-string-editor:focus-within ~ .sd-question__required-text {
|
|
1209
|
+
visibility: hidden; }
|
|
1210
|
+
|
|
1208
1211
|
.svc-btn {
|
|
1209
1212
|
display: flex;
|
|
1210
1213
|
align-items: center;
|
|
@@ -1510,6 +1513,18 @@ svc-page {
|
|
|
1510
1513
|
box-shadow: none; }
|
|
1511
1514
|
|
|
1512
1515
|
.svc-row.svc-row--ghost .sd-row {
|
|
1516
|
+
height: calc(4 * var(--base-unit, 8px)); }
|
|
1517
|
+
|
|
1518
|
+
.svc-row.svc-row--ghost:last-child .sd-row {
|
|
1519
|
+
height: initial;
|
|
1520
|
+
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1521
|
+
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1522
|
+
|
|
1523
|
+
.svc-row.svc-row--ghost + .svc-row .sd-page__row {
|
|
1524
|
+
margin-top: 0; }
|
|
1525
|
+
|
|
1526
|
+
.svc-panel .svc-row.svc-row--ghost.svc-row.svc-row--ghost .sd-row {
|
|
1527
|
+
height: initial;
|
|
1513
1528
|
margin-top: calc(2 * var(--base-unit, 8px));
|
|
1514
1529
|
margin-bottom: calc(2 * var(--base-unit, 8px)); }
|
|
1515
1530
|
|
|
@@ -1855,12 +1870,6 @@ svc-question .sv-action-bar,
|
|
|
1855
1870
|
margin-top: 0;
|
|
1856
1871
|
margin-bottom: 0; }
|
|
1857
1872
|
|
|
1858
|
-
.sd-panel .svc-row.svc-row--ghost {
|
|
1859
|
-
margin-top: calc(1 * var(--base-unit, 8px));
|
|
1860
|
-
margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
|
|
1861
|
-
.sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
|
|
1862
|
-
top: 0; }
|
|
1863
|
-
|
|
1864
1873
|
.svc-question__dropdown-choices {
|
|
1865
1874
|
margin-top: calc(2 * var(--base-unit, 8px)); }
|
|
1866
1875
|
|
|
@@ -2017,7 +2026,9 @@ svc-question .sv-action-bar,
|
|
|
2017
2026
|
opacity: 0.35; }
|
|
2018
2027
|
|
|
2019
2028
|
.svc-item-value--new .sv-ranking-item__index {
|
|
2020
|
-
background: var(--background-
|
|
2029
|
+
background: var(--background-dim, #f3f3f3); }
|
|
2030
|
+
.svc-item-value--new .sv-ranking-item__index.sv-ranking-item__index--empty:empty {
|
|
2031
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
|
|
2021
2032
|
|
|
2022
2033
|
.sv-ranking .svc-item-value-wrapper {
|
|
2023
2034
|
align-items: center; }
|
|
@@ -2064,7 +2075,7 @@ svc-question .sv-action-bar,
|
|
|
2064
2075
|
background: var(--background-dim, #f3f3f3);
|
|
2065
2076
|
border-radius: calc(12.5 * var(--base-unit, 8px));
|
|
2066
2077
|
width: calc(25 * var(--base-unit, 8px));
|
|
2067
|
-
height:
|
|
2078
|
+
height: 40px;
|
|
2068
2079
|
z-index: 11;
|
|
2069
2080
|
position: absolute;
|
|
2070
2081
|
left: 35px; }
|
|
@@ -3258,22 +3269,35 @@ button.spg-action-button--large {
|
|
|
3258
3269
|
.spg-table__cell--detail-panel .spg-panel__content {
|
|
3259
3270
|
box-shadow: none; }
|
|
3260
3271
|
|
|
3272
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel):not(.spg-table__cell--actions):first-of-type {
|
|
3273
|
+
padding-left: 8px; }
|
|
3274
|
+
|
|
3261
3275
|
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input {
|
|
3262
3276
|
appearance: none;
|
|
3263
3277
|
line-height: calc(3 * var(--base-unit, 8px));
|
|
3264
3278
|
font-size: calc(2 * var(--base-unit, 8px));
|
|
3265
3279
|
border: none;
|
|
3280
|
+
border-radius: calc(0.5 * var(--base-unit, 8px));
|
|
3266
3281
|
background-color: transparent;
|
|
3267
|
-
padding: calc(1
|
|
3268
|
-
|
|
3282
|
+
padding: calc(1 * var(--base-unit, 8px));
|
|
3283
|
+
height: auto; }
|
|
3269
3284
|
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input[type="color"] {
|
|
3270
3285
|
padding-right: 0; }
|
|
3286
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus, .spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus-within {
|
|
3287
|
+
box-shadow: inset 0 0 0 2px var(--primary, #19b394); }
|
|
3288
|
+
|
|
3289
|
+
.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-dropdown {
|
|
3290
|
+
width: max-content;
|
|
3291
|
+
padding-right: calc(4 * var(--base-unit, 8px));
|
|
3292
|
+
background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
|
|
3293
|
+
background-position: right calc(0.5 * var(--base-unit, 8px)) top 50%, 0 0;
|
|
3294
|
+
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L17 10H7L12 15Z' fill='%2390909080'/%3E%3C/svg%3E%0A"); }
|
|
3271
3295
|
|
|
3272
3296
|
.spg-table__cell:not(.spg-table__cell--detail-panel):first-of-type .spg-text {
|
|
3273
3297
|
padding-left: calc(2 * var(--base-unit, 8px)); }
|
|
3274
3298
|
|
|
3275
3299
|
.spg-table__cell--actions:first-of-type {
|
|
3276
|
-
width: calc(
|
|
3300
|
+
width: calc(5 * var(--base-unit, 8px)); }
|
|
3277
3301
|
|
|
3278
3302
|
.spg-table__cell--actions:last-of-type .spg-action-bar {
|
|
3279
3303
|
justify-content: flex-end; }
|
|
@@ -3295,6 +3319,9 @@ button.spg-action-button--large {
|
|
|
3295
3319
|
overflow: hidden;
|
|
3296
3320
|
max-width: 100px; }
|
|
3297
3321
|
|
|
3322
|
+
.spg-table__question-wrapper {
|
|
3323
|
+
padding: calc(0.5 * var(--base-unit, 8px)) 0; }
|
|
3324
|
+
|
|
3298
3325
|
.spg-question-group .spg-row {
|
|
3299
3326
|
margin-top: 0; }
|
|
3300
3327
|
.spg-question-group .spg-row:not(:first-of-type) {
|