survey-creator-core 1.9.80 → 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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.80",
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.80"
32
+ "survey-core": "1.9.81"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
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.80
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
@@ -1739,6 +1739,18 @@ svc-page {
1739
1739
  box-shadow: none; }
1740
1740
 
1741
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;
1742
1754
  margin-top: calc(2 * var(--base-unit, 8px));
1743
1755
  margin-bottom: calc(2 * var(--base-unit, 8px)); }
1744
1756
 
@@ -2084,12 +2096,6 @@ svc-question .sv-action-bar,
2084
2096
  margin-top: 0;
2085
2097
  margin-bottom: 0; }
2086
2098
 
2087
- .sd-panel .svc-row.svc-row--ghost {
2088
- margin-top: calc(1 * var(--base-unit, 8px));
2089
- margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
2090
- .sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
2091
- top: 0; }
2092
-
2093
2099
  .svc-question__dropdown-choices {
2094
2100
  margin-top: calc(2 * var(--base-unit, 8px)); }
2095
2101
 
@@ -2246,7 +2252,9 @@ svc-question .sv-action-bar,
2246
2252
  opacity: 0.35; }
2247
2253
 
2248
2254
  .svc-item-value--new .sv-ranking-item__index {
2249
- background: var(--background-for-editors, #f9f9f9); }
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==); }
2250
2258
 
2251
2259
  .sv-ranking .svc-item-value-wrapper {
2252
2260
  align-items: center; }
@@ -2293,7 +2301,7 @@ svc-question .sv-action-bar,
2293
2301
  background: var(--background-dim, #f3f3f3);
2294
2302
  border-radius: calc(12.5 * var(--base-unit, 8px));
2295
2303
  width: calc(25 * var(--base-unit, 8px));
2296
- height: 55px;
2304
+ height: 40px;
2297
2305
  z-index: 11;
2298
2306
  position: absolute;
2299
2307
  left: 35px; }
@@ -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
  }
@@ -6229,6 +6380,7 @@ declare module "creator-base" {
6229
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.
6230
6381
  *- options.item a target collection item
6231
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
6232
6384
  *- options.allowEdit a boolean value. It is `true` by default. Set it `false` to disable editing.
6233
6385
  */
6234
6386
  onCollectionItemAllowOperations: CreatorEvent;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
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
@@ -1513,6 +1513,18 @@ svc-page {
1513
1513
  box-shadow: none; }
1514
1514
 
1515
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;
1516
1528
  margin-top: calc(2 * var(--base-unit, 8px));
1517
1529
  margin-bottom: calc(2 * var(--base-unit, 8px)); }
1518
1530
 
@@ -1858,12 +1870,6 @@ svc-question .sv-action-bar,
1858
1870
  margin-top: 0;
1859
1871
  margin-bottom: 0; }
1860
1872
 
1861
- .sd-panel .svc-row.svc-row--ghost {
1862
- margin-top: calc(1 * var(--base-unit, 8px));
1863
- margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
1864
- .sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
1865
- top: 0; }
1866
-
1867
1873
  .svc-question__dropdown-choices {
1868
1874
  margin-top: calc(2 * var(--base-unit, 8px)); }
1869
1875
 
@@ -2020,7 +2026,9 @@ svc-question .sv-action-bar,
2020
2026
  opacity: 0.35; }
2021
2027
 
2022
2028
  .svc-item-value--new .sv-ranking-item__index {
2023
- background: var(--background-for-editors, #f9f9f9); }
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==); }
2024
2032
 
2025
2033
  .sv-ranking .svc-item-value-wrapper {
2026
2034
  align-items: center; }
@@ -2067,7 +2075,7 @@ svc-question .sv-action-bar,
2067
2075
  background: var(--background-dim, #f3f3f3);
2068
2076
  border-radius: calc(12.5 * var(--base-unit, 8px));
2069
2077
  width: calc(25 * var(--base-unit, 8px));
2070
- height: 55px;
2078
+ height: 40px;
2071
2079
  z-index: 11;
2072
2080
  position: absolute;
2073
2081
  left: 35px; }