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.
Files changed (100) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/package.json +2 -2
  4. package/survey-creator-core.css +102 -25
  5. package/survey-creator-core.d.ts +1 -8046
  6. package/survey-creator-core.fontless.css +101 -24
  7. package/survey-creator-core.fontless.css.map +1 -1
  8. package/survey-creator-core.fontless.min.css +6 -6
  9. package/survey-creator-core.i18n.js +126 -128
  10. package/survey-creator-core.i18n.js.map +1 -1
  11. package/survey-creator-core.i18n.min.js +2 -2
  12. package/survey-creator-core.js +530 -165
  13. package/survey-creator-core.js.map +1 -1
  14. package/survey-creator-core.min.css +7 -7
  15. package/survey-creator-core.min.js +2 -2
  16. package/typings/components/action-container-view-model.d.ts +27 -0
  17. package/typings/components/embedded-survey.d.ts +9 -0
  18. package/typings/components/header/logo-image.d.ts +15 -0
  19. package/typings/components/image-item-value.d.ts +21 -0
  20. package/typings/components/item-value.d.ts +42 -0
  21. package/typings/components/link-value.d.ts +27 -0
  22. package/typings/components/matrix-cell.d.ts +25 -0
  23. package/typings/components/page-navigator/page-navigator.d.ts +39 -0
  24. package/typings/components/page.d.ts +28 -0
  25. package/typings/components/question-dropdown.d.ts +18 -0
  26. package/typings/components/question-image.d.ts +9 -0
  27. package/typings/components/question-rating.d.ts +18 -0
  28. package/typings/components/question.d.ts +41 -0
  29. package/typings/components/results.d.ts +40 -0
  30. package/typings/components/row.d.ts +9 -0
  31. package/typings/components/side-bar/side-bar-model.d.ts +34 -0
  32. package/typings/components/side-bar/side-bar-tab-model.d.ts +11 -0
  33. package/typings/components/simulator.d.ts +205 -0
  34. package/typings/components/string-editor.d.ts +68 -0
  35. package/typings/components/tabs/designer-plugin.d.ts +26 -0
  36. package/typings/components/tabs/designer.d.ts +30 -0
  37. package/typings/components/tabs/embed-json.d.ts +1 -0
  38. package/typings/components/tabs/embed.d.ts +13 -0
  39. package/typings/components/tabs/json-editor-ace.d.ts +22 -0
  40. package/typings/components/tabs/json-editor-plugin.d.ts +28 -0
  41. package/typings/components/tabs/json-editor-textarea.d.ts +22 -0
  42. package/typings/components/tabs/logic-actions-model.d.ts +49 -0
  43. package/typings/components/tabs/logic-expression.d.ts +32 -0
  44. package/typings/components/tabs/logic-item-editor.d.ts +53 -0
  45. package/typings/components/tabs/logic-items.d.ts +96 -0
  46. package/typings/components/tabs/logic-plugin.d.ts +22 -0
  47. package/typings/components/tabs/logic-theme.d.ts +327 -0
  48. package/typings/components/tabs/logic-types.d.ts +77 -0
  49. package/typings/components/tabs/logic-ui.d.ts +68 -0
  50. package/typings/components/tabs/logic.d.ts +102 -0
  51. package/typings/components/tabs/test-plugin.d.ts +33 -0
  52. package/typings/components/tabs/test.d.ts +43 -0
  53. package/typings/components/tabs/translation-plugin.d.ts +33 -0
  54. package/typings/components/tabs/translation-theme.d.ts +301 -0
  55. package/typings/components/tabs/translation.d.ts +199 -0
  56. package/typings/components/toolbox/toolbox-tool.d.ts +16 -0
  57. package/typings/creator-base.d.ts +1375 -0
  58. package/typings/creator-options.d.ts +247 -0
  59. package/typings/creator-responsivity-manager.d.ts +22 -0
  60. package/typings/creator-settings.d.ts +219 -0
  61. package/typings/custom-questions/question-color.d.ts +15 -0
  62. package/typings/custom-questions/question-file.d.ts +15 -0
  63. package/typings/custom-questions/question-spin-editor.d.ts +25 -0
  64. package/typings/editable-object.d.ts +20 -0
  65. package/typings/editorLocalization.d.ts +954 -0
  66. package/typings/entries/index.d.ts +68 -0
  67. package/typings/expressionToDisplayText.d.ts +46 -0
  68. package/typings/json5.d.ts +46 -0
  69. package/typings/localization/english.d.ts +925 -0
  70. package/typings/pages-controller.d.ts +21 -0
  71. package/typings/plugins/undo-redo/index.d.ts +12 -0
  72. package/typings/plugins/undo-redo/undo-redo-controller.d.ts +40 -0
  73. package/typings/plugins/undo-redo/undo-redo-manager.d.ts +78 -0
  74. package/typings/property-grid/bindings.d.ts +10 -0
  75. package/typings/property-grid/cells-survey.d.ts +14 -0
  76. package/typings/property-grid/condition-survey.d.ts +117 -0
  77. package/typings/property-grid/condition.d.ts +13 -0
  78. package/typings/property-grid/description-parser.d.ts +10 -0
  79. package/typings/property-grid/fast-entry.d.ts +32 -0
  80. package/typings/property-grid/index.d.ts +239 -0
  81. package/typings/property-grid/matrices.d.ts +135 -0
  82. package/typings/property-grid/object-selector.d.ts +42 -0
  83. package/typings/property-grid/property-grid-view-model.d.ts +23 -0
  84. package/typings/property-grid/restfull.d.ts +8 -0
  85. package/typings/property-grid/values-survey.d.ts +42 -0
  86. package/typings/property-grid/values.d.ts +37 -0
  87. package/typings/property-grid-theme/property-grid.d.ts +346 -0
  88. package/typings/question-editor/definition.d.ts +22 -0
  89. package/typings/question-editor/properties.d.ts +49 -0
  90. package/typings/questionconverter.d.ts +12 -0
  91. package/typings/selection-history.d.ts +20 -0
  92. package/typings/selection-owner.d.ts +7 -0
  93. package/typings/survey-helper.d.ts +44 -0
  94. package/typings/svgbundle.d.ts +1 -0
  95. package/typings/textWorker.d.ts +18 -0
  96. package/typings/toolbox.d.ts +269 -0
  97. package/typings/utils/actions.d.ts +5 -0
  98. package/typings/utils/events.d.ts +14 -0
  99. package/typings/utils/resizer.d.ts +24 -0
  100. package/typings/utils/utils.d.ts +19 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.83
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.83
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.83",
3
+ "version": "1.9.85",
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.83"
32
+ "survey-core": "1.9.85"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.83
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
@@ -225,7 +225,7 @@
225
225
 
226
226
 
227
227
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
228
- * SurveyJS Creator v1.9.83
228
+ * SurveyJS Creator v1.9.85
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
@@ -1037,7 +1037,8 @@ svc-tab-designer {
1037
1037
 
1038
1038
  .svc-tab-designer--with-place-holder .svc-tab-designer_content {
1039
1039
  display: flex;
1040
- justify-content: center; }
1040
+ justify-content: center;
1041
+ flex-direction: column; }
1041
1042
 
1042
1043
  .svc-tab-designer--with-place-holder .svc-designer-header {
1043
1044
  min-width: calc(84 * var(--base-unit, 8px)); }
@@ -1070,8 +1071,14 @@ svc-tab-designer {
1070
1071
  border-bottom: 2px solid transparent; }
1071
1072
 
1072
1073
  .svc-designer__placeholder-container {
1073
- position: absolute;
1074
- top: 35%; }
1074
+ display: flex;
1075
+ flex-grow: 1;
1076
+ width: 100%;
1077
+ flex-direction: column;
1078
+ align-items: center;
1079
+ justify-content: center;
1080
+ padding: calc(2 * var(--base-unit, 8px));
1081
+ box-sizing: border-box; }
1075
1082
 
1076
1083
  .svc-designer-placeholder-page {
1077
1084
  margin-top: calc(2 * var(--base-unit, 8px)); }
@@ -1462,7 +1469,9 @@ survey-creator,
1462
1469
  justify-content: center;
1463
1470
  color: var(--primary, #19b394); }
1464
1471
 
1465
- .svc-btn:hover,
1472
+ .svc-btn:hover {
1473
+ background-color: var(--sjs-general-backcolor-dark, #f8f8f8); }
1474
+
1466
1475
  .svc-btn:focus {
1467
1476
  box-shadow: 0 0 0 2px var(--primary, #19b394); }
1468
1477
 
@@ -1798,6 +1807,9 @@ svc-question {
1798
1807
  border: 2px solid transparent;
1799
1808
  outline: none; }
1800
1809
 
1810
+ .svc-question__content .sd-element__header .sd-description {
1811
+ margin-top: 0; }
1812
+
1801
1813
  .svc-question__content .sd-selectbase:not(.sd-imagepicker) {
1802
1814
  overflow-x: auto;
1803
1815
  padding-left: calc(5 * var(--base-unit, 8px));
@@ -1832,8 +1844,7 @@ svc-question {
1832
1844
  inset-inline-end: calc(3.5 * var(--base-unit, 8px)); }
1833
1845
  .svc-question__content-actions .sv-action--convertTo {
1834
1846
  min-width: calc(13 * var(--base-unit, 8px));
1835
- max-width: max-content;
1836
- margin-inline-end: auto; }
1847
+ max-width: max-content; }
1837
1848
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item {
1838
1849
  max-width: 100%;
1839
1850
  flex-direction: row-reverse; }
@@ -1846,6 +1857,10 @@ svc-question {
1846
1857
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon {
1847
1858
  margin-inline-start: 0;
1848
1859
  margin-inline-end: calc(0.5 * var(--base-unit, 8px)); }
1860
+ .svc-question__content-actions .sv-action--convertTo.sv-action--hidden {
1861
+ min-width: 0; }
1862
+ .svc-question__content-actions .sv-action--convertTo-last {
1863
+ margin-inline-end: auto; }
1849
1864
 
1850
1865
  .svc-question__content:focus,
1851
1866
  .svc-creator .svc-page .svc-hovered > .svc-question__content {
@@ -2597,11 +2612,11 @@ svc-question .sv-action-bar,
2597
2612
  margin-left: calc(-2 * var(--base-unit, 8px)); }
2598
2613
 
2599
2614
  .svc-question-link__clear-button {
2600
- margin-left: calc(4 * var(--base-unit, 8px));
2601
2615
  color: var(--red, #e60a3e);
2602
2616
  font-weight: 600;
2603
2617
  cursor: pointer; }
2604
2618
 
2619
+ .svc-question-link__clear-button:focus,
2605
2620
  .svc-question-link__clear-button:hover {
2606
2621
  background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
2607
2622
 
@@ -3236,18 +3251,38 @@ button.spg-action-button--large {
3236
3251
  overflow: hidden;
3237
3252
  flex-wrap: wrap; }
3238
3253
  .spg-row--multiple > div {
3239
- width: 0;
3240
3254
  flex-grow: 1;
3241
3255
  min-width: calc(25.5 * var(--base-unit, 8px)); }
3242
3256
  .spg-row--multiple > div .spg-question__header--location--left {
3243
3257
  min-width: calc(8 * var(--base-unit, 8px)); }
3244
3258
  .spg-row--multiple > div input {
3245
- min-width: calc(17 * var(--base-unit, 8px));
3246
- width: 100%; }
3247
- .spg-row--multiple > div input[type="date"] {
3248
- width: 100%; }
3249
- .spg-row--multiple > div input[type="date"]::-webkit-calendar-picker-indicator {
3250
- display: none; }
3259
+ min-width: calc(max(17 * var(--base-unit, 8px), 100%));
3260
+ width: 0; }
3261
+
3262
+ .spg-question__erbox {
3263
+ 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));
3264
+ color: var(--foreground, #161616);
3265
+ background-color: var(--red-light, rgba(229, 10, 62, 0.1));
3266
+ border-radius: calc(0.5 * var(--base-unit, 8px));
3267
+ line-height: calc(3 * var(--base-unit, 8px)); }
3268
+ .spg-question__erbox > div {
3269
+ display: flex;
3270
+ gap: calc(1 * var(--base-unit, 8px)); }
3271
+
3272
+ .spg-question__erbox-icon {
3273
+ display: block;
3274
+ flex-grow: 0;
3275
+ flex-shrink: 0;
3276
+ width: calc(3 * var(--base-unit, 8px));
3277
+ height: calc(3 * var(--base-unit, 8px));
3278
+ background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
3279
+ background-repeat: no-repeat;
3280
+ background-position: 0 0;
3281
+ line-height: calc(3 * var(--base-unit, 8px));
3282
+ 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"); }
3283
+
3284
+ .spg-question__erbox--location--bottom {
3285
+ margin-top: calc(1 * var(--base-unit, 8px)); }
3251
3286
 
3252
3287
  .spg-input {
3253
3288
  -webkit-appearance: none;
@@ -3291,6 +3326,7 @@ button.spg-action-button--large {
3291
3326
  appearance: none;
3292
3327
  background: var(--background, #fff);
3293
3328
  border: none;
3329
+ outline: none;
3294
3330
  width: calc(5 * var(--base-unit, 8px));
3295
3331
  height: calc(5 * var(--base-unit, 8px));
3296
3332
  padding: calc(1 * var(--base-unit, 8px)); }
@@ -3298,11 +3334,31 @@ button.spg-action-button--large {
3298
3334
  background: var(--background-dim, #f3f3f3); }
3299
3335
  .spg-input__edit-button:active {
3300
3336
  opacity: 0.5; }
3337
+ .spg-input__edit-button:disabled {
3338
+ opacity: 0.25;
3339
+ background: var(--background, #fff); }
3301
3340
  .spg-input__edit-button svg {
3302
3341
  height: 24px;
3303
3342
  width: 24px;
3304
3343
  fill: rgba(0, 0, 0, 0.45); }
3305
3344
 
3345
+ .spg-input.spg-input--error {
3346
+ border-color: var(--red, #e60a3e);
3347
+ box-shadow: none; }
3348
+
3349
+ .spg-input-container__input {
3350
+ flex-grow: 1;
3351
+ width: 100%;
3352
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));
3353
+ color: var(--foreground, #161616);
3354
+ font-size: calc(2 * var(--base-unit, 8px));
3355
+ font-family: var(--font-family);
3356
+ outline: none;
3357
+ border: none; }
3358
+
3359
+ .spg-input-container__buttons-container {
3360
+ display: flex; }
3361
+
3306
3362
  .spg-dropdown {
3307
3363
  border-radius: 0;
3308
3364
  display: flex;
@@ -3511,6 +3567,21 @@ button.spg-action-button--large {
3511
3567
  font-weight: 600;
3512
3568
  line-height: calc(3 * var(--base-unit, 8px)); }
3513
3569
 
3570
+ .spg-smiley-icon {
3571
+ width: calc(3 * var(--base-unit, 8px));
3572
+ height: calc(3 * var(--base-unit, 8px));
3573
+ margin: calc(1 * var(--base-unit, 8px));
3574
+ border-radius: 100px;
3575
+ border: 1px solid var(--foreground, #161616);
3576
+ display: flex;
3577
+ justify-content: center;
3578
+ align-items: center;
3579
+ margin-right: calc(4 * var(--base-unit, 8px)); }
3580
+ .spg-smiley-icon svg {
3581
+ width: calc(1.5 * var(--base-unit, 8px));
3582
+ height: calc(1.5 * var(--base-unit, 8px));
3583
+ fill: var(--foreground, #161616); }
3584
+
3514
3585
  .spg-table-wrapper {
3515
3586
  border: 1px solid var(--border, #d6d6d6);
3516
3587
  border-bottom: none; }
@@ -3605,9 +3676,6 @@ button.spg-action-button--large {
3605
3676
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3606
3677
  box-shadow: none; }
3607
3678
 
3608
- .spg-spin-editor__buttons-container {
3609
- display: flex; }
3610
-
3611
3679
  .spg-input-container {
3612
3680
  display: flex;
3613
3681
  justify-content: space-between;
@@ -3616,12 +3684,6 @@ button.spg-action-button--large {
3616
3684
  align-items: center;
3617
3685
  gap: calc(0.5 * var(--base-unit, 8px)); }
3618
3686
 
3619
- .spg-input-container__input {
3620
- outline: none;
3621
- border: none;
3622
- flex-grow: 1;
3623
- padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
3624
-
3625
3687
  .spg-color-editor__color-input {
3626
3688
  position: absolute;
3627
3689
  height: 1px;
@@ -3635,12 +3697,20 @@ button.spg-action-button--large {
3635
3697
  transform: translate(-50%, -50%); }
3636
3698
 
3637
3699
  .spg-color-editor__color-swatch {
3700
+ flex-shrink: 0;
3701
+ flex-grow: 0;
3638
3702
  border: 1px solid rgba(0, 0, 0, 0.16);
3639
3703
  border-radius: 3px;
3640
3704
  width: calc(4.5 * var(--base-unit, 8px));
3641
3705
  height: calc(3 * var(--base-unit, 8px));
3642
3706
  margin-left: calc(1.5 * var(--base-unit, 8px)); }
3643
3707
 
3708
+ .spg-file-edit__choose-button {
3709
+ position: relative; }
3710
+
3711
+ .spg-link {
3712
+ display: flex; }
3713
+
3644
3714
  .spg-root-modern {
3645
3715
  width: 100%;
3646
3716
  border-right: 1px solid var(--border, #d6d6d6);
@@ -3668,6 +3738,13 @@ button.spg-action-button--large {
3668
3738
  margin-left: calc(1 * var(--base-unit, 8px));
3669
3739
  margin-right: calc(1 * var(--base-unit, 8px)); }
3670
3740
 
3741
+ .svc-object-selector__content {
3742
+ position: relative;
3743
+ height: 100%;
3744
+ min-height: 0;
3745
+ display: flex;
3746
+ flex-direction: column; }
3747
+
3671
3748
  .spg-title .spg-action-bar {
3672
3749
  margin-top: calc(-1 * var(--base-unit, 8px));
3673
3750
  margin-bottom: calc(-1 * var(--base-unit, 8px));