survey-creator-core 2.5.0 → 2.5.1

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 (151) hide show
  1. package/fesm/i18n/arabic.mjs +1 -1
  2. package/fesm/i18n/bulgarian.mjs +1 -1
  3. package/fesm/i18n/burmese.mjs +1 -1
  4. package/fesm/i18n/croatian.mjs +1 -1
  5. package/fesm/i18n/czech.mjs +1 -1
  6. package/fesm/i18n/danish.mjs +1 -1
  7. package/fesm/i18n/dutch.mjs +1 -1
  8. package/fesm/i18n/english.mjs +1 -1
  9. package/fesm/i18n/finnish.mjs +1 -1
  10. package/fesm/i18n/french.mjs +1 -1
  11. package/fesm/i18n/german.mjs +1 -1
  12. package/fesm/i18n/greek.mjs +1 -1
  13. package/fesm/i18n/haitian-creole.mjs +1 -1
  14. package/fesm/i18n/hebrew.mjs +1 -1
  15. package/fesm/i18n/hungarian.mjs +1 -1
  16. package/fesm/i18n/index.mjs +1 -1
  17. package/fesm/i18n/indonesian.mjs +1 -1
  18. package/fesm/i18n/italian.mjs +1 -1
  19. package/fesm/i18n/japanese.mjs +1 -1
  20. package/fesm/i18n/korean.mjs +1 -1
  21. package/fesm/i18n/malay.mjs +1 -1
  22. package/fesm/i18n/mongolian.mjs +1 -1
  23. package/fesm/i18n/norwegian.mjs +1 -1
  24. package/fesm/i18n/persian.mjs +1 -1
  25. package/fesm/i18n/polish.mjs +1 -1
  26. package/fesm/i18n/portuguese.mjs +1 -1
  27. package/fesm/i18n/romanian.mjs +1 -1
  28. package/fesm/i18n/russian.mjs +1 -1
  29. package/fesm/i18n/simplified-chinese.mjs +1 -1
  30. package/fesm/i18n/slovak.mjs +1 -1
  31. package/fesm/i18n/slovenian.mjs +1 -1
  32. package/fesm/i18n/spanish.mjs +1 -1
  33. package/fesm/i18n/swedish.mjs +1 -1
  34. package/fesm/i18n/tajik.mjs +1 -1
  35. package/fesm/i18n/thai.mjs +1 -1
  36. package/fesm/i18n/traditional-chinese.mjs +1 -1
  37. package/fesm/i18n/turkish.mjs +1 -1
  38. package/fesm/presets/index.mjs +32 -8
  39. package/fesm/presets/index.mjs.map +1 -1
  40. package/fesm/survey-creator-core.i18n.mjs +1 -1
  41. package/fesm/survey-creator-core.mjs +36 -6
  42. package/fesm/survey-creator-core.mjs.map +1 -1
  43. package/fesm/themes/index.mjs +1 -1
  44. package/fonts.fontless.css +1 -1
  45. package/fonts.fontless.min.css +1 -1
  46. package/i18n/arabic.js +1 -1
  47. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  48. package/i18n/bulgarian.js +1 -1
  49. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  50. package/i18n/burmese.js +1 -1
  51. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  52. package/i18n/croatian.js +1 -1
  53. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  54. package/i18n/czech.js +1 -1
  55. package/i18n/czech.min.js.LICENSE.txt +1 -1
  56. package/i18n/danish.js +1 -1
  57. package/i18n/danish.min.js.LICENSE.txt +1 -1
  58. package/i18n/dutch.js +1 -1
  59. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  60. package/i18n/english.js +1 -1
  61. package/i18n/english.min.js.LICENSE.txt +1 -1
  62. package/i18n/finnish.js +1 -1
  63. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  64. package/i18n/french.js +1 -1
  65. package/i18n/french.min.js.LICENSE.txt +1 -1
  66. package/i18n/german.js +1 -1
  67. package/i18n/german.min.js.LICENSE.txt +1 -1
  68. package/i18n/greek.js +1 -1
  69. package/i18n/greek.min.js.LICENSE.txt +1 -1
  70. package/i18n/haitian-creole.js +1 -1
  71. package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
  72. package/i18n/hebrew.js +1 -1
  73. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  74. package/i18n/hungarian.js +1 -1
  75. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  76. package/i18n/index.js +1 -1
  77. package/i18n/index.min.js.LICENSE.txt +1 -1
  78. package/i18n/indonesian.js +1 -1
  79. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  80. package/i18n/italian.js +1 -1
  81. package/i18n/italian.min.js.LICENSE.txt +1 -1
  82. package/i18n/japanese.js +1 -1
  83. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  84. package/i18n/korean.js +1 -1
  85. package/i18n/korean.min.js.LICENSE.txt +1 -1
  86. package/i18n/malay.js +1 -1
  87. package/i18n/malay.min.js.LICENSE.txt +1 -1
  88. package/i18n/mongolian.js +1 -1
  89. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  90. package/i18n/norwegian.js +1 -1
  91. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  92. package/i18n/persian.js +1 -1
  93. package/i18n/persian.min.js.LICENSE.txt +1 -1
  94. package/i18n/polish.js +1 -1
  95. package/i18n/polish.min.js.LICENSE.txt +1 -1
  96. package/i18n/portuguese.js +1 -1
  97. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  98. package/i18n/romanian.js +1 -1
  99. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  100. package/i18n/russian.js +1 -1
  101. package/i18n/russian.min.js.LICENSE.txt +1 -1
  102. package/i18n/simplified-chinese.js +1 -1
  103. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  104. package/i18n/slovak.js +1 -1
  105. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  106. package/i18n/slovenian.js +1 -1
  107. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  108. package/i18n/spanish.js +1 -1
  109. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  110. package/i18n/swedish.js +1 -1
  111. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  112. package/i18n/tajik.js +1 -1
  113. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  114. package/i18n/thai.js +1 -1
  115. package/i18n/thai.min.js.LICENSE.txt +1 -1
  116. package/i18n/traditional-chinese.js +1 -1
  117. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  118. package/i18n/turkish.js +1 -1
  119. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  120. package/package.json +2 -2
  121. package/presets/index.js +6 -6
  122. package/presets/index.min.js +1 -1
  123. package/presets/index.min.js.map +1 -1
  124. package/presets/localization/english.d.ts +4 -0
  125. package/presets/presets-editable-categorized.d.ts +1 -0
  126. package/presets/presets-plugin.d.ts +1 -0
  127. package/survey-creator-core.css +3 -3
  128. package/survey-creator-core.fontless.css +2 -2
  129. package/survey-creator-core.fontless.css.map +1 -1
  130. package/survey-creator-core.fontless.min.css +2 -2
  131. package/survey-creator-core.i18n.js +1 -1
  132. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  133. package/survey-creator-core.js +40 -6
  134. package/survey-creator-core.js.map +1 -1
  135. package/survey-creator-core.min.css +3 -3
  136. package/survey-creator-core.min.js +1 -1
  137. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  138. package/themes/default-contrast.js +1 -1
  139. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  140. package/themes/default-dark.js +1 -1
  141. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  142. package/themes/default-light.js +1 -1
  143. package/themes/default-light.min.js.LICENSE.txt +1 -1
  144. package/themes/index.js +1 -1
  145. package/themes/index.min.js.LICENSE.txt +1 -1
  146. package/themes/sc2020.js +1 -1
  147. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  148. package/themes/test.js +1 -1
  149. package/themes/test.min.js.LICENSE.txt +1 -1
  150. package/typings/creator-base.d.ts +6 -1
  151. package/typings/creator-settings.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.0
2
+ * SurveyJS Creator v2.5.1
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
6
6
  */
7
7
 
8
- import { Helpers, SvgRegistry, ComputedUpdater, Action, SurveyModel, settings, createDropdownActionModel, FunctionFactory, Serializer, ItemValue, matrixDropdownColumnTypes, surveyLocalization, ActionContainer, Base, LocalizableString, ElementFactory, QuestionCommentModel, TextAreaModel, CustomError, JsonObject, checkLibraryVersion } from 'survey-core';
8
+ import { Helpers, SvgRegistry, ComputedUpdater, Action, SurveyModel, settings, createDropdownActionModel, FunctionFactory, Serializer, ItemValue, matrixDropdownColumnTypes, surveyLocalization, ActionContainer, Base, LocalizableString, hasLicense, glc, ElementFactory, QuestionCommentModel, TextAreaModel, CustomError, JsonObject, checkLibraryVersion } from 'survey-core';
9
9
  import { getLocString, editorLocalization, listComponentCss as listComponentCss$1, SurveyHelper, defaultPropertyGridDefinition, settings as settings$1, PropertyGridModel, SurveyQuestionProperties, getLocaleStrings, CreatorPreset, SurveyCreatorModel, saveToFileHandler, SurveyJSON5 } from 'survey-creator-core';
10
10
 
11
11
  class CreatorPresetEditableBase {
@@ -817,6 +817,9 @@ var listComponentCss = {
817
817
  };
818
818
 
819
819
  class CreatorPresetEditableCaregorizedListConfigurator extends CreatorPresetEditableList {
820
+ get defaultCategoriesMap() {
821
+ return this.defaultCategories.reduce((acc, i) => { acc[i.category] = i; return acc; }, {});
822
+ }
820
823
  getDefaultItems(question) {
821
824
  return (question === null || question === void 0 ? void 0 : question.name) === this.nameCategories ? this.defaultCategories : this.defaultItems;
822
825
  }
@@ -1482,7 +1485,7 @@ class CreatorPresetEditableToolboxConfigurator extends CreatorPresetEditableCare
1482
1485
  setupQuestionsValueCore(model, json, creator) {
1483
1486
  //this.setupQuestionsValueDefinition(model, json);
1484
1487
  const defaultItemsMap = this.defaultItems.reduce((acc, i) => { acc[i.name] = i; return acc; }, {});
1485
- const defaultCategoriesMap = this.defaultCategories.reduce((acc, i) => { acc[i.category] = i; return acc; }, {});
1488
+ const defaultCategoriesMap = this.defaultCategoriesMap;
1486
1489
  this.defaultItems.filter(i => i.subitems).map(i => i.subitems.forEach(si => defaultItemsMap[si.name] = si));
1487
1490
  json = json || {};
1488
1491
  let itemsDefinition = (json["definition"] || []).map(i => typeof i === "string" ? { name: i } : i);
@@ -1595,10 +1598,12 @@ class CreatorPresetEditableToolboxConfigurator extends CreatorPresetEditableCare
1595
1598
  }
1596
1599
  updateTextFromQuestion(this.getQuestionItems(model), locStrs);
1597
1600
  const matrix = this.getQuestionCategories(model);
1601
+ const defaultCategoriesMap = this.defaultCategoriesMap;
1598
1602
  if (matrix.isVisible) {
1599
1603
  matrix.visibleRows.forEach(row => {
1604
+ var _a;
1600
1605
  const category = row.getValue("category");
1601
- if (row.getValue("title") !== this.getCategoryTitle(category)) {
1606
+ if (row.getValue("title") !== ((_a = defaultCategoriesMap[category]) === null || _a === void 0 ? void 0 : _a.title)) {
1602
1607
  if (!locStrs[LocCategoriesName]) {
1603
1608
  locStrs[LocCategoriesName] = {};
1604
1609
  }
@@ -2438,11 +2443,11 @@ class CreatorPresetEditableTabs extends CreatorPresetEditableList {
2438
2443
  if (!Array.isArray(items))
2439
2444
  return undefined;
2440
2445
  const creatorDefaultTabs = this.filterTabs((defaultJson === null || defaultJson === void 0 ? void 0 : defaultJson.items) || creator.getTabs());
2441
- const creatorAvailableTabs = this.filterTabs(creator.getAvailableTabs());
2446
+ const tabsInfo = creator.getTabsInfo();
2442
2447
  let activeTabChoices = items.map(i => ({ name: i.name, iconName: i.iconName }));
2443
2448
  activeTabChoices.forEach(i => {
2444
2449
  var _a;
2445
- if (!i.iconName || i.iconName == ((_a = creatorAvailableTabs.filter(t => t.name == i.name)[0]) === null || _a === void 0 ? void 0 : _a.iconName)) {
2450
+ if (!i.iconName || i.iconName == ((_a = tabsInfo[i.name]) === null || _a === void 0 ? void 0 : _a.iconName)) {
2446
2451
  delete i.iconName;
2447
2452
  }
2448
2453
  });
@@ -2987,7 +2992,11 @@ const enStrings = {
2987
2992
  defaultSettings: "Default Settings",
2988
2993
  basic: "Basic",
2989
2994
  advanced: "Advanced",
2990
- expert: "Expert"
2995
+ expert: "Expert",
2996
+ license: "<a href='https://surveyjs.io/' target='_blank'>UI Preset Editor</a> is available only with a PRO license. To use it in your application, please <a href='https://surveyjs.io/manage#renewals-and-upgrades' target='_blank'>upgrade your license</a>.",
2997
+ license2: "Your maintenance subscription expired on {date}. You may continue using all <a href='https://surveyjs.io/stay-updated/release-notes' target='_blank'>versions released up to that date</a>. To remove this banner in the latest version, please <a href='https://surveyjs.io/manage#license-manager' target='_blank'>renew your subscription</a> and <a href='https://surveyjs.io/remove-alert-banner' target='_blank'>set up a new license key</a>. Please note <a href='https://surveyjs.io/' target='_blank'>UI Preset Editor</a> is available to all users with an active PRO license.",
2998
+ licenseCreator: "To use the Survey Creator plugin in your application, a <a href='https://surveyjs.io/licensing' target='_blank'>developer license</a> is required. If you have an active license, please <a href='https://surveyjs.io/remove-alert-banner' target='_blank'>set up your license key</a> and ensure you're using the <a href='https://surveyjs.io/stay-updated/release-notes' target='_blank'>latest version</a>. Please note <a href='https://surveyjs.io/' target='_blank'>UI Preset Editor</a> is included only in the PRO license tier.",
2999
+ licenseCreator2: "Your maintenance subscription expired on {date}. You may continue using all <a href='https://surveyjs.io/stay-updated/release-notes' target='_blank'>versions released up to that date</a>. To remove this banner in the latest version, please <a href='https://surveyjs.io/manage#license-manager' target='_blank'>renew your subscription</a> and <a href='https://surveyjs.io/remove-alert-banner' target='_blank'>set up a new license key</a>. Please note <a href='https://surveyjs.io/' target='_blank'>UI Preset Editor</a> is included only in the PRO license tier. To use it in your application, please also <a href='https://surveyjs.io/manage#renewals-and-upgrades' target='_blank'>upgrade your license</a>."
2991
3000
  }
2992
3001
  };
2993
3002
  const locale = getLocaleStrings("en");
@@ -3581,6 +3590,21 @@ class TabPresetsPlugin {
3581
3590
  this.model.onLocaleChanged();
3582
3591
  }
3583
3592
  }
3593
+ getLicenseText(hasCreatorLicense, creatorLicenseDateString) {
3594
+ var _a, _b;
3595
+ if (!(hasLicense === null || hasLicense === void 0 ? void 0 : hasLicense(8))) {
3596
+ const presetsLicenseDateString = (_b = (_a = glc === null || glc === void 0 ? void 0 : glc(8)) === null || _a === void 0 ? void 0 : _a.toLocaleDateString) === null || _b === void 0 ? void 0 : _b.call(_a);
3597
+ if (presetsLicenseDateString) {
3598
+ return getLocString("presets.plugin.license2").replace("{date}", presetsLicenseDateString);
3599
+ }
3600
+ if (hasCreatorLicense)
3601
+ return getLocString("presets.plugin.license");
3602
+ return creatorLicenseDateString ?
3603
+ getLocString("presets.plugin.licenseCreator2").replace("{date}", creatorLicenseDateString) :
3604
+ getLocString("presets.plugin.licenseCreator");
3605
+ }
3606
+ return "";
3607
+ }
3584
3608
  }
3585
3609
  TabPresetsPlugin.iconName = "icon-settings";
3586
3610
 
@@ -3643,7 +3667,7 @@ Serializer.addClass("presetjson", [], function () { return new QuestionPresetJso
3643
3667
  let Version;
3644
3668
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3645
3669
  //@ts-ignore
3646
- Version = `${"2.5.0"}`;
3670
+ Version = `${"2.5.1"}`;
3647
3671
  checkLibraryVersion(Version, "survey-creator-core-presets");
3648
3672
 
3649
3673
  export { CreatorPresetEditableBase, CreatorPresetEditableLanguages, CreatorPresetEditableOptions, CreatorPresetEditableTabs, CreatorPresetEditableToolboxConfigurator, CreatorPresetEditorModel, NavigationBar, QuestionPresetJsonModel, TabPresetsPlugin, Version, enStrings };