survey-creator-core 1.9.83 → 1.9.84

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 +75 -14
  5. package/survey-creator-core.d.ts +1 -8046
  6. package/survey-creator-core.fontless.css +74 -13
  7. package/survey-creator-core.fontless.css.map +1 -1
  8. package/survey-creator-core.fontless.min.css +4 -4
  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 +447 -152
  13. package/survey-creator-core.js.map +1 -1
  14. package/survey-creator-core.min.css +5 -5
  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 +15 -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 +29 -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 +216 -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 +951 -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 +922 -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 +132 -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 +43 -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.84
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.84
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.84",
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.84"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.83
2
+ * SurveyJS Creator v1.9.84
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.84
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
@@ -1832,8 +1832,7 @@ svc-question {
1832
1832
  inset-inline-end: calc(3.5 * var(--base-unit, 8px)); }
1833
1833
  .svc-question__content-actions .sv-action--convertTo {
1834
1834
  min-width: calc(13 * var(--base-unit, 8px));
1835
- max-width: max-content;
1836
- margin-inline-end: auto; }
1835
+ max-width: max-content; }
1837
1836
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item {
1838
1837
  max-width: 100%;
1839
1838
  flex-direction: row-reverse; }
@@ -1846,6 +1845,8 @@ svc-question {
1846
1845
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon {
1847
1846
  margin-inline-start: 0;
1848
1847
  margin-inline-end: calc(0.5 * var(--base-unit, 8px)); }
1848
+ .svc-question__content-actions .sv-action--convertTo-last {
1849
+ margin-inline-end: auto; }
1849
1850
 
1850
1851
  .svc-question__content:focus,
1851
1852
  .svc-creator .svc-page .svc-hovered > .svc-question__content {
@@ -2597,11 +2598,11 @@ svc-question .sv-action-bar,
2597
2598
  margin-left: calc(-2 * var(--base-unit, 8px)); }
2598
2599
 
2599
2600
  .svc-question-link__clear-button {
2600
- margin-left: calc(4 * var(--base-unit, 8px));
2601
2601
  color: var(--red, #e60a3e);
2602
2602
  font-weight: 600;
2603
2603
  cursor: pointer; }
2604
2604
 
2605
+ .svc-question-link__clear-button:focus,
2605
2606
  .svc-question-link__clear-button:hover {
2606
2607
  background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
2607
2608
 
@@ -3249,6 +3250,31 @@ button.spg-action-button--large {
3249
3250
  .spg-row--multiple > div input[type="date"]::-webkit-calendar-picker-indicator {
3250
3251
  display: none; }
3251
3252
 
3253
+ .spg-question__erbox {
3254
+ 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));
3255
+ color: var(--foreground, #161616);
3256
+ background-color: var(--red-light, rgba(229, 10, 62, 0.1));
3257
+ border-radius: calc(0.5 * var(--base-unit, 8px));
3258
+ line-height: calc(3 * var(--base-unit, 8px)); }
3259
+ .spg-question__erbox > div {
3260
+ display: flex;
3261
+ gap: calc(1 * var(--base-unit, 8px)); }
3262
+
3263
+ .spg-question__erbox-icon {
3264
+ display: block;
3265
+ flex-grow: 0;
3266
+ flex-shrink: 0;
3267
+ width: calc(3 * var(--base-unit, 8px));
3268
+ height: calc(3 * var(--base-unit, 8px));
3269
+ background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
3270
+ background-repeat: no-repeat;
3271
+ background-position: 0 0;
3272
+ line-height: calc(3 * var(--base-unit, 8px));
3273
+ 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"); }
3274
+
3275
+ .spg-question__erbox--location--bottom {
3276
+ margin-top: calc(1 * var(--base-unit, 8px)); }
3277
+
3252
3278
  .spg-input {
3253
3279
  -webkit-appearance: none;
3254
3280
  -moz-appearance: none;
@@ -3291,6 +3317,7 @@ button.spg-action-button--large {
3291
3317
  appearance: none;
3292
3318
  background: var(--background, #fff);
3293
3319
  border: none;
3320
+ outline: none;
3294
3321
  width: calc(5 * var(--base-unit, 8px));
3295
3322
  height: calc(5 * var(--base-unit, 8px));
3296
3323
  padding: calc(1 * var(--base-unit, 8px)); }
@@ -3298,11 +3325,31 @@ button.spg-action-button--large {
3298
3325
  background: var(--background-dim, #f3f3f3); }
3299
3326
  .spg-input__edit-button:active {
3300
3327
  opacity: 0.5; }
3328
+ .spg-input__edit-button:disabled {
3329
+ opacity: 0.25;
3330
+ background: var(--background, #fff); }
3301
3331
  .spg-input__edit-button svg {
3302
3332
  height: 24px;
3303
3333
  width: 24px;
3304
3334
  fill: rgba(0, 0, 0, 0.45); }
3305
3335
 
3336
+ .spg-input.spg-input--error {
3337
+ border-color: var(--red, #e60a3e);
3338
+ box-shadow: none; }
3339
+
3340
+ .spg-input-container__input {
3341
+ flex-grow: 1;
3342
+ width: 100%;
3343
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));
3344
+ color: var(--foreground, #161616);
3345
+ font-size: calc(2 * var(--base-unit, 8px));
3346
+ font-family: var(--font-family);
3347
+ outline: none;
3348
+ border: none; }
3349
+
3350
+ .spg-input-container__buttons-container {
3351
+ display: flex; }
3352
+
3306
3353
  .spg-dropdown {
3307
3354
  border-radius: 0;
3308
3355
  display: flex;
@@ -3511,6 +3558,21 @@ button.spg-action-button--large {
3511
3558
  font-weight: 600;
3512
3559
  line-height: calc(3 * var(--base-unit, 8px)); }
3513
3560
 
3561
+ .spg-smiley-icon {
3562
+ width: calc(3 * var(--base-unit, 8px));
3563
+ height: calc(3 * var(--base-unit, 8px));
3564
+ margin: calc(1 * var(--base-unit, 8px));
3565
+ border-radius: 100px;
3566
+ border: 1px solid var(--foreground, #161616);
3567
+ display: flex;
3568
+ justify-content: center;
3569
+ align-items: center;
3570
+ margin-right: calc(4 * var(--base-unit, 8px)); }
3571
+ .spg-smiley-icon svg {
3572
+ width: calc(1.5 * var(--base-unit, 8px));
3573
+ height: calc(1.5 * var(--base-unit, 8px));
3574
+ fill: var(--foreground, #161616); }
3575
+
3514
3576
  .spg-table-wrapper {
3515
3577
  border: 1px solid var(--border, #d6d6d6);
3516
3578
  border-bottom: none; }
@@ -3605,9 +3667,6 @@ button.spg-action-button--large {
3605
3667
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3606
3668
  box-shadow: none; }
3607
3669
 
3608
- .spg-spin-editor__buttons-container {
3609
- display: flex; }
3610
-
3611
3670
  .spg-input-container {
3612
3671
  display: flex;
3613
3672
  justify-content: space-between;
@@ -3616,12 +3675,6 @@ button.spg-action-button--large {
3616
3675
  align-items: center;
3617
3676
  gap: calc(0.5 * var(--base-unit, 8px)); }
3618
3677
 
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
3678
  .spg-color-editor__color-input {
3626
3679
  position: absolute;
3627
3680
  height: 1px;
@@ -3635,12 +3688,20 @@ button.spg-action-button--large {
3635
3688
  transform: translate(-50%, -50%); }
3636
3689
 
3637
3690
  .spg-color-editor__color-swatch {
3691
+ flex-shrink: 0;
3692
+ flex-grow: 0;
3638
3693
  border: 1px solid rgba(0, 0, 0, 0.16);
3639
3694
  border-radius: 3px;
3640
3695
  width: calc(4.5 * var(--base-unit, 8px));
3641
3696
  height: calc(3 * var(--base-unit, 8px));
3642
3697
  margin-left: calc(1.5 * var(--base-unit, 8px)); }
3643
3698
 
3699
+ .spg-file-edit__choose-button {
3700
+ position: relative; }
3701
+
3702
+ .spg-link {
3703
+ display: flex; }
3704
+
3644
3705
  .spg-root-modern {
3645
3706
  width: 100%;
3646
3707
  border-right: 1px solid var(--border, #d6d6d6);