survey-creator-core 2.0.0-rc.9 → 2.0.0

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 (134) hide show
  1. package/fesm/i18n/arabic.js +1 -1
  2. package/fesm/i18n/bulgarian.js +1 -1
  3. package/fesm/i18n/burmese.js +1 -1
  4. package/fesm/i18n/croatian.js +1 -1
  5. package/fesm/i18n/czech.js +1 -1
  6. package/fesm/i18n/danish.js +1 -1
  7. package/fesm/i18n/dutch.js +1 -1
  8. package/fesm/i18n/english.js +1 -1
  9. package/fesm/i18n/finnish.js +1 -1
  10. package/fesm/i18n/french.js +1 -1
  11. package/fesm/i18n/german.js +1 -1
  12. package/fesm/i18n/hebrew.js +1 -1
  13. package/fesm/i18n/hungarian.js +1 -1
  14. package/fesm/i18n/index.js +1 -1
  15. package/fesm/i18n/indonesian.js +1 -1
  16. package/fesm/i18n/italian.js +1 -1
  17. package/fesm/i18n/japanese.js +1 -1
  18. package/fesm/i18n/korean.js +1 -1
  19. package/fesm/i18n/malay.js +1 -1
  20. package/fesm/i18n/mongolian.js +1 -1
  21. package/fesm/i18n/norwegian.js +1 -1
  22. package/fesm/i18n/persian.js +1 -1
  23. package/fesm/i18n/polish.js +1 -1
  24. package/fesm/i18n/portuguese.js +1 -1
  25. package/fesm/i18n/romanian.js +1 -1
  26. package/fesm/i18n/russian.js +1 -1
  27. package/fesm/i18n/simplified-chinese.js +1 -1
  28. package/fesm/i18n/slovak.js +1 -1
  29. package/fesm/i18n/slovenian.js +1 -1
  30. package/fesm/i18n/spanish.js +1 -1
  31. package/fesm/i18n/swedish.js +1 -1
  32. package/fesm/i18n/tajik.js +1 -1
  33. package/fesm/i18n/thai.js +1 -1
  34. package/fesm/i18n/traditional-chinese.js +1 -1
  35. package/fesm/i18n/turkish.js +1 -1
  36. package/fesm/survey-creator-core.i18n.js +1 -1
  37. package/fesm/survey-creator-core.js +7 -6
  38. package/fesm/survey-creator-core.js.map +1 -1
  39. package/fesm/themes/index.js +1 -1
  40. package/fonts.fontless.css +1 -1
  41. package/fonts.fontless.min.css +1 -1
  42. package/i18n/arabic.js +1 -1
  43. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  44. package/i18n/bulgarian.js +1 -1
  45. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  46. package/i18n/burmese.js +1 -1
  47. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  48. package/i18n/croatian.js +1 -1
  49. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  50. package/i18n/czech.js +1 -1
  51. package/i18n/czech.min.js.LICENSE.txt +1 -1
  52. package/i18n/danish.js +1 -1
  53. package/i18n/danish.min.js.LICENSE.txt +1 -1
  54. package/i18n/dutch.js +1 -1
  55. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  56. package/i18n/english.js +1 -1
  57. package/i18n/english.min.js.LICENSE.txt +1 -1
  58. package/i18n/finnish.js +1 -1
  59. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  60. package/i18n/french.js +1 -1
  61. package/i18n/french.min.js.LICENSE.txt +1 -1
  62. package/i18n/german.js +1 -1
  63. package/i18n/german.min.js.LICENSE.txt +1 -1
  64. package/i18n/hebrew.js +1 -1
  65. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  66. package/i18n/hungarian.js +1 -1
  67. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  68. package/i18n/index.js +1 -1
  69. package/i18n/index.min.js.LICENSE.txt +1 -1
  70. package/i18n/indonesian.js +1 -1
  71. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  72. package/i18n/italian.js +1 -1
  73. package/i18n/italian.min.js.LICENSE.txt +1 -1
  74. package/i18n/japanese.js +1 -1
  75. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  76. package/i18n/korean.js +1 -1
  77. package/i18n/korean.min.js.LICENSE.txt +1 -1
  78. package/i18n/malay.js +1 -1
  79. package/i18n/malay.min.js.LICENSE.txt +1 -1
  80. package/i18n/mongolian.js +1 -1
  81. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  82. package/i18n/norwegian.js +1 -1
  83. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  84. package/i18n/persian.js +1 -1
  85. package/i18n/persian.min.js.LICENSE.txt +1 -1
  86. package/i18n/polish.js +1 -1
  87. package/i18n/polish.min.js.LICENSE.txt +1 -1
  88. package/i18n/portuguese.js +1 -1
  89. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  90. package/i18n/romanian.js +1 -1
  91. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  92. package/i18n/russian.js +1 -1
  93. package/i18n/russian.min.js.LICENSE.txt +1 -1
  94. package/i18n/simplified-chinese.js +1 -1
  95. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  96. package/i18n/slovak.js +1 -1
  97. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  98. package/i18n/slovenian.js +1 -1
  99. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  100. package/i18n/spanish.js +1 -1
  101. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  102. package/i18n/swedish.js +1 -1
  103. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  104. package/i18n/tajik.js +1 -1
  105. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  106. package/i18n/thai.js +1 -1
  107. package/i18n/thai.min.js.LICENSE.txt +1 -1
  108. package/i18n/traditional-chinese.js +1 -1
  109. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  110. package/i18n/turkish.js +1 -1
  111. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  112. package/package.json +2 -2
  113. package/survey-creator-core.css +8 -2
  114. package/survey-creator-core.fontless.css +7 -1
  115. package/survey-creator-core.fontless.css.map +1 -1
  116. package/survey-creator-core.fontless.min.css +3 -3
  117. package/survey-creator-core.i18n.js +1 -1
  118. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  119. package/survey-creator-core.js +7 -6
  120. package/survey-creator-core.js.map +1 -1
  121. package/survey-creator-core.min.css +4 -4
  122. package/survey-creator-core.min.js +1 -1
  123. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  124. package/themes/default-contrast.js +1 -1
  125. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  126. package/themes/default-dark.js +1 -1
  127. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  128. package/themes/index.js +1 -1
  129. package/themes/index.min.js.LICENSE.txt +1 -1
  130. package/themes/sc2020.js +1 -1
  131. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  132. package/typings/creator-base.d.ts +2 -2
  133. package/typings/creator-events-api.d.ts +3 -3
  134. package/typings/creator-options.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.0-rc.9
2
+ * SurveyJS Creator v2.0.0
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -3748,6 +3748,7 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
3748
3748
  var action = _this.creator.createIActionBarItemByClass(item, needSeparator, function (questionType, json) { _this.convertQuestion(questionType, json, defaultJsons); });
3749
3749
  if (_this.toolboxItemIsCorresponded(item, !!selectedAction)) {
3750
3750
  selectedAction = action;
3751
+ selectedSubactions = item.items;
3751
3752
  }
3752
3753
  if (((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && _this.creator.toolbox.showSubitems) {
3753
3754
  var subactions_1 = [];
@@ -3776,8 +3777,8 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
3776
3777
  if (selectedSubactionLocal_1) {
3777
3778
  selectedAction = action;
3778
3779
  selectedSubaction = selectedSubactionLocal_1;
3780
+ selectedSubactions = subactions_1;
3779
3781
  }
3780
- selectedSubactions = subactions_1;
3781
3782
  }
3782
3783
  lastItem = item;
3783
3784
  newItems.push(action);
@@ -18888,7 +18889,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
18888
18889
  */
18889
18890
  _this.onGetPropertyReadOnly = _this.onPropertyGetReadOnly;
18890
18891
  /**
18891
- * An event that is raised when Survey Creator [instantiates a survey to display a UI element](https://surveyjs.io/survey-creator/documentation/creator-v2-whats-new#survey-creator-ui-elements-are-surveys). Handle this event to customize the UI element by modifying the survey.
18892
+ * An event that is raised when Survey Creator [instantiates a survey to display a UI element](https://surveyjs.io/survey-creator/documentation/property-grid-customization#add-custom-properties-to-the-property-grid). Handle this event to customize the UI element by modifying the survey.
18892
18893
  *
18893
18894
  * For information on event handler parameters, refer to descriptions within the interface.
18894
18895
  *
@@ -19289,7 +19290,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
19289
19290
  * }
19290
19291
  * });
19291
19292
  *
19292
- * const creator = new SurveyCreatorModel({});
19293
+ * const creator = new SurveyCreatorModel();
19293
19294
  *
19294
19295
  * creator.onCreateCustomMessagePanel.add((_, options) => {
19295
19296
  * options.messageText = "Choices for this question are loaded from a predefined data source. ";
@@ -47321,7 +47322,7 @@ __webpack_require__.r(__webpack_exports__);
47321
47322
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! survey-core */ "survey-core");
47322
47323
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_118___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_118__);
47323
47324
  var Version;
47324
- Version = "".concat("2.0.0-rc.9");
47325
+ Version = "".concat("2.0.0");
47325
47326
  //should be loaded before other styles for easier override
47326
47327
 
47327
47328
 
@@ -47445,7 +47446,7 @@ Version = "".concat("2.0.0-rc.9");
47445
47446
 
47446
47447
 
47447
47448
 
47448
- (0,survey_core__WEBPACK_IMPORTED_MODULE_118__.checkLibraryVersion)("".concat("2.0.0-rc.9"), "survey-creator-core");
47449
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_118__.checkLibraryVersion)("".concat("2.0.0"), "survey-creator-core");
47449
47450
 
47450
47451
  })();
47451
47452