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
@@ -1606,8 +1606,7 @@ svc-question {
1606
1606
  inset-inline-end: calc(3.5 * var(--base-unit, 8px)); }
1607
1607
  .svc-question__content-actions .sv-action--convertTo {
1608
1608
  min-width: calc(13 * var(--base-unit, 8px));
1609
- max-width: max-content;
1610
- margin-inline-end: auto; }
1609
+ max-width: max-content; }
1611
1610
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item {
1612
1611
  max-width: 100%;
1613
1612
  flex-direction: row-reverse; }
@@ -1620,6 +1619,8 @@ svc-question {
1620
1619
  .svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon {
1621
1620
  margin-inline-start: 0;
1622
1621
  margin-inline-end: calc(0.5 * var(--base-unit, 8px)); }
1622
+ .svc-question__content-actions .sv-action--convertTo-last {
1623
+ margin-inline-end: auto; }
1623
1624
 
1624
1625
  .svc-question__content:focus,
1625
1626
  .svc-creator .svc-page .svc-hovered > .svc-question__content {
@@ -2371,11 +2372,11 @@ svc-question .sv-action-bar,
2371
2372
  margin-left: calc(-2 * var(--base-unit, 8px)); }
2372
2373
 
2373
2374
  .svc-question-link__clear-button {
2374
- margin-left: calc(4 * var(--base-unit, 8px));
2375
2375
  color: var(--red, #e60a3e);
2376
2376
  font-weight: 600;
2377
2377
  cursor: pointer; }
2378
2378
 
2379
+ .svc-question-link__clear-button:focus,
2379
2380
  .svc-question-link__clear-button:hover {
2380
2381
  background-color: var(--red-light, rgba(229, 10, 62, 0.1)); }
2381
2382
 
@@ -3023,6 +3024,31 @@ button.spg-action-button--large {
3023
3024
  .spg-row--multiple > div input[type="date"]::-webkit-calendar-picker-indicator {
3024
3025
  display: none; }
3025
3026
 
3027
+ .spg-question__erbox {
3028
+ 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));
3029
+ color: var(--foreground, #161616);
3030
+ background-color: var(--red-light, rgba(229, 10, 62, 0.1));
3031
+ border-radius: calc(0.5 * var(--base-unit, 8px));
3032
+ line-height: calc(3 * var(--base-unit, 8px)); }
3033
+ .spg-question__erbox > div {
3034
+ display: flex;
3035
+ gap: calc(1 * var(--base-unit, 8px)); }
3036
+
3037
+ .spg-question__erbox-icon {
3038
+ display: block;
3039
+ flex-grow: 0;
3040
+ flex-shrink: 0;
3041
+ width: calc(3 * var(--base-unit, 8px));
3042
+ height: calc(3 * var(--base-unit, 8px));
3043
+ background-size: calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
3044
+ background-repeat: no-repeat;
3045
+ background-position: 0 0;
3046
+ line-height: calc(3 * var(--base-unit, 8px));
3047
+ 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"); }
3048
+
3049
+ .spg-question__erbox--location--bottom {
3050
+ margin-top: calc(1 * var(--base-unit, 8px)); }
3051
+
3026
3052
  .spg-input {
3027
3053
  -webkit-appearance: none;
3028
3054
  -moz-appearance: none;
@@ -3065,6 +3091,7 @@ button.spg-action-button--large {
3065
3091
  appearance: none;
3066
3092
  background: var(--background, #fff);
3067
3093
  border: none;
3094
+ outline: none;
3068
3095
  width: calc(5 * var(--base-unit, 8px));
3069
3096
  height: calc(5 * var(--base-unit, 8px));
3070
3097
  padding: calc(1 * var(--base-unit, 8px)); }
@@ -3072,11 +3099,31 @@ button.spg-action-button--large {
3072
3099
  background: var(--background-dim, #f3f3f3); }
3073
3100
  .spg-input__edit-button:active {
3074
3101
  opacity: 0.5; }
3102
+ .spg-input__edit-button:disabled {
3103
+ opacity: 0.25;
3104
+ background: var(--background, #fff); }
3075
3105
  .spg-input__edit-button svg {
3076
3106
  height: 24px;
3077
3107
  width: 24px;
3078
3108
  fill: rgba(0, 0, 0, 0.45); }
3079
3109
 
3110
+ .spg-input.spg-input--error {
3111
+ border-color: var(--red, #e60a3e);
3112
+ box-shadow: none; }
3113
+
3114
+ .spg-input-container__input {
3115
+ flex-grow: 1;
3116
+ width: 100%;
3117
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));
3118
+ color: var(--foreground, #161616);
3119
+ font-size: calc(2 * var(--base-unit, 8px));
3120
+ font-family: var(--font-family);
3121
+ outline: none;
3122
+ border: none; }
3123
+
3124
+ .spg-input-container__buttons-container {
3125
+ display: flex; }
3126
+
3080
3127
  .spg-dropdown {
3081
3128
  border-radius: 0;
3082
3129
  display: flex;
@@ -3285,6 +3332,21 @@ button.spg-action-button--large {
3285
3332
  font-weight: 600;
3286
3333
  line-height: calc(3 * var(--base-unit, 8px)); }
3287
3334
 
3335
+ .spg-smiley-icon {
3336
+ width: calc(3 * var(--base-unit, 8px));
3337
+ height: calc(3 * var(--base-unit, 8px));
3338
+ margin: calc(1 * var(--base-unit, 8px));
3339
+ border-radius: 100px;
3340
+ border: 1px solid var(--foreground, #161616);
3341
+ display: flex;
3342
+ justify-content: center;
3343
+ align-items: center;
3344
+ margin-right: calc(4 * var(--base-unit, 8px)); }
3345
+ .spg-smiley-icon svg {
3346
+ width: calc(1.5 * var(--base-unit, 8px));
3347
+ height: calc(1.5 * var(--base-unit, 8px));
3348
+ fill: var(--foreground, #161616); }
3349
+
3288
3350
  .spg-table-wrapper {
3289
3351
  border: 1px solid var(--border, #d6d6d6);
3290
3352
  border-bottom: none; }
@@ -3379,9 +3441,6 @@ button.spg-action-button--large {
3379
3441
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3380
3442
  box-shadow: none; }
3381
3443
 
3382
- .spg-spin-editor__buttons-container {
3383
- display: flex; }
3384
-
3385
3444
  .spg-input-container {
3386
3445
  display: flex;
3387
3446
  justify-content: space-between;
@@ -3390,12 +3449,6 @@ button.spg-action-button--large {
3390
3449
  align-items: center;
3391
3450
  gap: calc(0.5 * var(--base-unit, 8px)); }
3392
3451
 
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
3452
  .spg-color-editor__color-input {
3400
3453
  position: absolute;
3401
3454
  height: 1px;
@@ -3409,12 +3462,20 @@ button.spg-action-button--large {
3409
3462
  transform: translate(-50%, -50%); }
3410
3463
 
3411
3464
  .spg-color-editor__color-swatch {
3465
+ flex-shrink: 0;
3466
+ flex-grow: 0;
3412
3467
  border: 1px solid rgba(0, 0, 0, 0.16);
3413
3468
  border-radius: 3px;
3414
3469
  width: calc(4.5 * var(--base-unit, 8px));
3415
3470
  height: calc(3 * var(--base-unit, 8px));
3416
3471
  margin-left: calc(1.5 * var(--base-unit, 8px)); }
3417
3472
 
3473
+ .spg-file-edit__choose-button {
3474
+ position: relative; }
3475
+
3476
+ .spg-link {
3477
+ display: flex; }
3478
+
3418
3479
  .spg-root-modern {
3419
3480
  width: 100%;
3420
3481
  border-right: 1px solid var(--border, #d6d6d6);