survey-creator-core 2.3.3 → 2.3.4

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 (142) 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/survey-creator-core.i18n.mjs +1 -1
  39. package/fesm/survey-creator-core.mjs +92 -26
  40. package/fesm/survey-creator-core.mjs.map +1 -1
  41. package/fesm/themes/index.mjs +1 -1
  42. package/fonts.fontless.css +1 -1
  43. package/fonts.fontless.min.css +1 -1
  44. package/i18n/arabic.js +1 -1
  45. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  46. package/i18n/bulgarian.js +1 -1
  47. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  48. package/i18n/burmese.js +1 -1
  49. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  50. package/i18n/croatian.js +1 -1
  51. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  52. package/i18n/czech.js +1 -1
  53. package/i18n/czech.min.js.LICENSE.txt +1 -1
  54. package/i18n/danish.js +1 -1
  55. package/i18n/danish.min.js.LICENSE.txt +1 -1
  56. package/i18n/dutch.js +1 -1
  57. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  58. package/i18n/english.js +1 -1
  59. package/i18n/english.min.js.LICENSE.txt +1 -1
  60. package/i18n/finnish.js +1 -1
  61. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  62. package/i18n/french.js +1 -1
  63. package/i18n/french.min.js.LICENSE.txt +1 -1
  64. package/i18n/german.js +1 -1
  65. package/i18n/german.min.js.LICENSE.txt +1 -1
  66. package/i18n/greek.js +1 -1
  67. package/i18n/greek.min.js.LICENSE.txt +1 -1
  68. package/i18n/haitian-creole.js +1 -1
  69. package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
  70. package/i18n/hebrew.js +1 -1
  71. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  72. package/i18n/hungarian.js +1 -1
  73. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  74. package/i18n/index.js +1 -1
  75. package/i18n/index.min.js.LICENSE.txt +1 -1
  76. package/i18n/indonesian.js +1 -1
  77. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  78. package/i18n/italian.js +1 -1
  79. package/i18n/italian.min.js.LICENSE.txt +1 -1
  80. package/i18n/japanese.js +1 -1
  81. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  82. package/i18n/korean.js +1 -1
  83. package/i18n/korean.min.js.LICENSE.txt +1 -1
  84. package/i18n/malay.js +1 -1
  85. package/i18n/malay.min.js.LICENSE.txt +1 -1
  86. package/i18n/mongolian.js +1 -1
  87. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  88. package/i18n/norwegian.js +1 -1
  89. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  90. package/i18n/persian.js +1 -1
  91. package/i18n/persian.min.js.LICENSE.txt +1 -1
  92. package/i18n/polish.js +1 -1
  93. package/i18n/polish.min.js.LICENSE.txt +1 -1
  94. package/i18n/portuguese.js +1 -1
  95. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  96. package/i18n/romanian.js +1 -1
  97. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  98. package/i18n/russian.js +1 -1
  99. package/i18n/russian.min.js.LICENSE.txt +1 -1
  100. package/i18n/simplified-chinese.js +1 -1
  101. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  102. package/i18n/slovak.js +1 -1
  103. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  104. package/i18n/slovenian.js +1 -1
  105. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  106. package/i18n/spanish.js +1 -1
  107. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  108. package/i18n/swedish.js +1 -1
  109. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  110. package/i18n/tajik.js +1 -1
  111. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  112. package/i18n/thai.js +1 -1
  113. package/i18n/thai.min.js.LICENSE.txt +1 -1
  114. package/i18n/traditional-chinese.js +1 -1
  115. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  116. package/i18n/turkish.js +1 -1
  117. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  118. package/package.json +2 -2
  119. package/survey-creator-core.css +31 -26
  120. package/survey-creator-core.fontless.css +30 -25
  121. package/survey-creator-core.fontless.css.map +1 -1
  122. package/survey-creator-core.fontless.min.css +3 -3
  123. package/survey-creator-core.i18n.js +1 -1
  124. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  125. package/survey-creator-core.js +101 -27
  126. package/survey-creator-core.js.map +1 -1
  127. package/survey-creator-core.min.css +4 -4
  128. package/survey-creator-core.min.js +1 -1
  129. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  130. package/themes/default-contrast.js +1 -1
  131. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  132. package/themes/default-dark.js +1 -1
  133. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  134. package/themes/index.js +1 -1
  135. package/themes/index.min.js.LICENSE.txt +1 -1
  136. package/themes/sc2020.js +1 -1
  137. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  138. package/typings/components/search-manager.d.ts +4 -0
  139. package/typings/components/tabs/logic-actions-model.d.ts +1 -0
  140. package/typings/editorLocalization.d.ts +1 -0
  141. package/typings/tabbed-menu.d.ts +1 -0
  142. package/typings/toolbox.d.ts +9 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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.3.3
2
+ * SurveyJS Creator v2.3.4
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
@@ -2025,6 +2025,7 @@ class EditorLocalization {
2025
2025
  this.reset();
2026
2026
  }
2027
2027
  }
2028
+ get locale() { return this.currentLocale || this.defaultLocale; }
2028
2029
  get presetStrings() { return this.presetStringsValues; }
2029
2030
  set presetStrings(val) {
2030
2031
  this.presetStringsValues = val;
@@ -2270,12 +2271,9 @@ class EditorLocalization {
2270
2271
  return this.convertToCamelCase(propName);
2271
2272
  }
2272
2273
  getPropertyValueInEditor(propName, value) {
2273
- const loc = this.getLocale();
2274
- if (!!loc && !!loc.pv && !!loc.pv[propName]) {
2275
- const res = loc.pv[propName][value];
2276
- if (!!res)
2277
- return res;
2278
- }
2274
+ const res = this.getStringByPath(["pv", propName, value]);
2275
+ if (!!res && res !== value)
2276
+ return res;
2279
2277
  return this.getPropertyValue(value);
2280
2278
  }
2281
2279
  getPropertyValue(value, locale = null) {
@@ -4433,6 +4431,15 @@ class SearchManager extends Base {
4433
4431
  clearFilterString() {
4434
4432
  this.filterString = "";
4435
4433
  }
4434
+ get enabled() {
4435
+ return this._enabled;
4436
+ }
4437
+ set enabled(value) {
4438
+ this._enabled = value;
4439
+ }
4440
+ getTabIndex() {
4441
+ return this.enabled ? 0 : -1;
4442
+ }
4436
4443
  onPropertyValueChanged(name, oldValue, newValue) {
4437
4444
  super.onPropertyValueChanged(name, oldValue, newValue);
4438
4445
  if (name === "filterString") {
@@ -4442,6 +4449,7 @@ class SearchManager extends Base {
4442
4449
  constructor() {
4443
4450
  super();
4444
4451
  this.searchActionBar = new ActionContainer();
4452
+ this._enabled = true;
4445
4453
  this.initActionBar();
4446
4454
  }
4447
4455
  dispose() {
@@ -4850,9 +4858,12 @@ class QuestionToolbox extends AdaptiveActionContainer {
4850
4858
  title: surveyLocalization.getString("ed.toolboxSearch"),
4851
4859
  showTitle: false,
4852
4860
  action: () => {
4861
+ if (!this.enabled)
4862
+ return;
4853
4863
  this.rootElement.querySelector("input").focus();
4854
4864
  this.isFocused = true;
4855
- }
4865
+ },
4866
+ enabled: this.enabled
4856
4867
  });
4857
4868
  this.updateResponsiveness(this.isCompact, this.overflowBehavior);
4858
4869
  this.createDefaultItems(supportedQuestions, useDefaultCategories);
@@ -4870,13 +4881,15 @@ class QuestionToolbox extends AdaptiveActionContainer {
4870
4881
  this.dotsItem.popupModel.verticalPosition = "top";
4871
4882
  this.dragOrClickHelper = new DragOrClickHelper((pointerDownEvent, _targets, itemModel) => {
4872
4883
  var _a;
4884
+ if (!this.enabled)
4885
+ return;
4873
4886
  const json = this.creator.getJSONForNewElement(itemModel.json);
4874
4887
  this.dotsItem.popupModel.hide();
4875
4888
  (_a = this.creator) === null || _a === void 0 ? void 0 : _a.onDragDropItemStart();
4876
4889
  this.dragDropHelper.startDragToolboxItem(pointerDownEvent, json, itemModel);
4877
4890
  }, false);
4878
4891
  this.hiddenItemsListModel.onPointerDown = (pointerDownEvent, item) => {
4879
- if (!this.creator.readOnly) {
4892
+ if (!this.creator.readOnly && this.enabled) {
4880
4893
  this.dragOrClickHelper.onPointerDown(pointerDownEvent, item);
4881
4894
  }
4882
4895
  };
@@ -4941,7 +4954,9 @@ class QuestionToolbox extends AdaptiveActionContainer {
4941
4954
  .append("svc-toolbox--flyout-to-compact-running", this.isFlyoutToCompactRunning)
4942
4955
  .append("svc-toolbox--compact", this.isCompactRendered)
4943
4956
  .append("svc-toolbox--flyout", this.isCompact && this.isFocused)
4944
- .append("svc-toolbox--scrollable", this.overflowBehavior == "scroll").toString();
4957
+ .append("svc-toolbox--scrollable", this.overflowBehavior == "scroll")
4958
+ .append("svc-toolbox--disabled", !this.enabled)
4959
+ .toString();
4945
4960
  }
4946
4961
  setLocation(toolboxLocation) {
4947
4962
  if (toolboxLocation === "sidebar") {
@@ -5091,6 +5106,9 @@ class QuestionToolbox extends AdaptiveActionContainer {
5091
5106
  this.onItemsChanged();
5092
5107
  }
5093
5108
  correctItem(item) {
5109
+ if (!item.id)
5110
+ item.id = item.name;
5111
+ this.updateActionTitle(item);
5094
5112
  if (!item.title)
5095
5113
  item.title = item.name;
5096
5114
  if (!item.tooltip)
@@ -5231,8 +5249,21 @@ class QuestionToolbox extends AdaptiveActionContainer {
5231
5249
  });
5232
5250
  }
5233
5251
  updateActionTitle(action) {
5234
- const newTitle = editorLocalization.getString("qt." + action.id);
5235
- if (!!newTitle && newTitle !== action.id) {
5252
+ let newTitle = "";
5253
+ const titles = action["titles"];
5254
+ if (!!titles) {
5255
+ newTitle = titles[editorLocalization.locale];
5256
+ if (!newTitle) {
5257
+ newTitle = titles["default"];
5258
+ }
5259
+ }
5260
+ if (!newTitle) {
5261
+ newTitle = editorLocalization.getString("qt." + action.id);
5262
+ if (newTitle === action.id) {
5263
+ newTitle = "";
5264
+ }
5265
+ }
5266
+ if (!!newTitle) {
5236
5267
  action.title = newTitle;
5237
5268
  action.tooltip = newTitle;
5238
5269
  }
@@ -5656,10 +5687,12 @@ class QuestionToolbox extends AdaptiveActionContainer {
5656
5687
  }
5657
5688
  delete elementJson.name;
5658
5689
  var category = json.category ? json.category : "";
5690
+ const titles = typeof json.title === "object" ? json.title : undefined;
5659
5691
  const item = new Action({
5660
5692
  id: json.name,
5661
5693
  name: json.name,
5662
5694
  iconName: iconName,
5695
+ titles: titles,
5663
5696
  title: title,
5664
5697
  tooltip: title,
5665
5698
  className: QuestionToolboxItem.getItemClassNames(iconName),
@@ -5667,7 +5700,9 @@ class QuestionToolbox extends AdaptiveActionContainer {
5667
5700
  isCopied: false,
5668
5701
  category: category
5669
5702
  });
5670
- return this.getOrCreateToolboxItem(item);
5703
+ const res = this.getOrCreateToolboxItem(item);
5704
+ this.updateActionTitle(res);
5705
+ return res;
5671
5706
  }
5672
5707
  getTitleFromJsonTitle(title, name) {
5673
5708
  if (!title)
@@ -5814,6 +5849,16 @@ __decorate([
5814
5849
  __decorate([
5815
5850
  property({ defaultValue: true })
5816
5851
  ], QuestionToolbox.prototype, "showSeparators", void 0);
5852
+ __decorate([
5853
+ property({
5854
+ defaultValue: true,
5855
+ onSet: (val, target) => {
5856
+ target.items.forEach(i => i.enabled = val);
5857
+ target.searchManager.enabled = val;
5858
+ target.searchItem.enabled = val;
5859
+ }
5860
+ })
5861
+ ], QuestionToolbox.prototype, "enabled", void 0);
5817
5862
 
5818
5863
  class SelectionHistory extends Base {
5819
5864
  constructor(creator) {
@@ -16209,6 +16254,9 @@ class TranslationItem extends TranslationItemBase {
16209
16254
  return placeholderText;
16210
16255
  }
16211
16256
  getTextForExport(loc) {
16257
+ const val = this.hashValues[loc];
16258
+ if (!!val && !!val.text)
16259
+ return val.text;
16212
16260
  const res = this.locString.getLocaleText(loc);
16213
16261
  if (!!res)
16214
16262
  return res;
@@ -17160,7 +17208,7 @@ class Translation extends Base {
17160
17208
  }
17161
17209
  let res = [];
17162
17210
  let headerRow = [];
17163
- let visibleLocales = this.locales;
17211
+ const visibleLocales = this.locales;
17164
17212
  headerRow.push("description ↓ - language →");
17165
17213
  for (let i = 0; i < visibleLocales.length; i++) {
17166
17214
  headerRow.push(!!visibleLocales[i] ? visibleLocales[i] : "default");
@@ -19457,9 +19505,8 @@ class LogicActionModel extends LogicActionModelBase {
19457
19505
  updateCurrentLogicAction(survey) {
19458
19506
  const selectedElement = this.getElementBySelectorName(this.panel);
19459
19507
  const createNewAction = !this.initialLogicAction || this.initialLogicAction.logicType != this.logicType || (!!selectedElement && this.initialLogicAction.element != selectedElement);
19460
- if (!createNewAction) {
19508
+ if (!createNewAction)
19461
19509
  return false;
19462
- }
19463
19510
  this.currentLogicAction = new SurveyLogicAction(this.logicType, selectedElement, survey);
19464
19511
  return true;
19465
19512
  }
@@ -19493,6 +19540,14 @@ class LogicActionSetValueModel extends LogicActionModel {
19493
19540
  selectedElement.setValueExpression = this.panel.getQuestionByName("setValueExpression").value;
19494
19541
  }
19495
19542
  }
19543
+ updateCurrentLogicAction(survey) {
19544
+ const selectedElement = this.getElementBySelectorName(this.panel);
19545
+ if (selectedElement && !!selectedElement.setValueExpression) {
19546
+ this.afterUpdateInitialLogicAction();
19547
+ return false;
19548
+ }
19549
+ return super.updateCurrentLogicAction(survey);
19550
+ }
19496
19551
  setValueExpressionValue() {
19497
19552
  const selectedElement = this.getElementBySelectorName(this.panel);
19498
19553
  if (!!selectedElement) {
@@ -26676,6 +26731,7 @@ class ExpandCollapseManager {
26676
26731
  class TabbedMenuItem extends Action {
26677
26732
  constructor(item) {
26678
26733
  super(item);
26734
+ this.enabled = true;
26679
26735
  }
26680
26736
  getRootCss() {
26681
26737
  return new CssClassBuilder()
@@ -26699,6 +26755,12 @@ class TabbedMenuItem extends Action {
26699
26755
  get hasIcon() {
26700
26756
  return !this.disableShrink && this.iconName && this.mode == "small";
26701
26757
  }
26758
+ doAction() {
26759
+ if (!this.enabled)
26760
+ return false;
26761
+ this.action();
26762
+ return true;
26763
+ }
26702
26764
  }
26703
26765
  class TabbedMenuContainer extends AdaptiveActionContainer {
26704
26766
  constructor(creator) {
@@ -26715,6 +26777,9 @@ class TabbedMenuContainer extends AdaptiveActionContainer {
26715
26777
  addTab(name, plugin, title, iconName, componentName, index) {
26716
26778
  const tabName = name === "test" ? "preview" : name;
26717
26779
  const locStrName = !title ? "tabs." + tabName : (title.indexOf("ed.") == 0 ? title : "");
26780
+ const actionHandler = function (name) {
26781
+ this.creator.switchTab(name);
26782
+ };
26718
26783
  const tab = new TabbedMenuItem({
26719
26784
  id: name,
26720
26785
  locTitleName: locStrName,
@@ -26722,7 +26787,7 @@ class TabbedMenuContainer extends AdaptiveActionContainer {
26722
26787
  componentContent: componentName ? componentName : "svc-tab-" + name,
26723
26788
  data: plugin,
26724
26789
  iconName: iconName || "icon-undefined-24x24",
26725
- action: () => { this.creator.switchTab(name); },
26790
+ action: actionHandler.bind(this, name),
26726
26791
  active: this.creator.viewType === name,
26727
26792
  disableHide: this.creator.viewType === name
26728
26793
  });
@@ -31870,6 +31935,8 @@ class ToolboxToolViewModel extends Base {
31870
31935
  this.click = (event) => {
31871
31936
  if (!this.allowAdd)
31872
31937
  return;
31938
+ if (!this.toolboxItem.enabled)
31939
+ return;
31873
31940
  this.creator.clickToolboxItem(this.item.json);
31874
31941
  this.hidePopup();
31875
31942
  };
@@ -31879,6 +31946,8 @@ class ToolboxToolViewModel extends Base {
31879
31946
  document.removeEventListener("pointerup", this.onPointerUp);
31880
31947
  };
31881
31948
  this.startDragToolboxItem = (pointerDownEvent) => {
31949
+ if (!this.toolboxItem.enabled)
31950
+ return;
31882
31951
  var json = this.creator.getJSONForNewElement(this.item.json);
31883
31952
  this.dragDropHelper.startDragToolboxItem(pointerDownEvent, json, this.item);
31884
31953
  return true;
@@ -31898,6 +31967,9 @@ class ToolboxToolViewModel extends Base {
31898
31967
  popup.isFocusedContent = false;
31899
31968
  }
31900
31969
  }
31970
+ if (typeof item.enabled === "undefined") {
31971
+ item.enabled = true;
31972
+ }
31901
31973
  }
31902
31974
  get toolboxItem() {
31903
31975
  return this.item;
@@ -33047,14 +33119,8 @@ class QuestionAdornerViewModel extends SurveyElementAdornerBase {
33047
33119
  (defaultJsons[type] || []).forEach((djson) => {
33048
33120
  if (this.jsonIsCorresponded(djson)) {
33049
33121
  newJson = Object.assign({}, json);
33050
- const objJson = this.element.toJSON();
33051
- const cleanJson = this.cleanDefaultsFromJson(type, djson);
33052
33122
  Object.keys(djson).forEach(p => {
33053
- if (p != "type" && !newJson[p])
33054
- newJson[p] = undefined;
33055
- });
33056
- Object.keys(json || {}).forEach(p => {
33057
- if (p != "type" && !(!objJson[p] || cleanJson[p]))
33123
+ if (p != "type" && !newJson.hasOwnProperty(p))
33058
33124
  newJson[p] = undefined;
33059
33125
  });
33060
33126
  }
@@ -36905,8 +36971,8 @@ class CreatorPreset extends CreatorPresetBase {
36905
36971
  }
36906
36972
 
36907
36973
  let Version;
36908
- Version = `${"2.3.3"}`;
36909
- checkLibraryVersion(`${"2.3.3"}`, "survey-creator-core");
36974
+ Version = `${"2.3.4"}`;
36975
+ checkLibraryVersion(`${"2.3.4"}`, "survey-creator-core");
36910
36976
 
36911
36977
  export { AceJsonEditorModel, ColorCalculator, CreatorAction, CreatorBase, CreatorEvent, CreatorPreset, CreatorPresetBase, CreatorPresetPropertyGrid, CreatorPresetPropertyGridDefinition, CreatorPresetTabs, CreatorPresetToolbox, CreatorPresetToolboxConfigurator, CreatorPresetToolboxDefinition, CreatorResponsivityManager, CreatorThemeModel, CreatorThemes, DEFAULT_MONITOR_DPI, DefaultFonts, DragDropSurveyElements, EditorLocalization, EmptySurveyCreatorOptions, FooterToolbarActionContainer, HEXToRGB, HSBToRGB, HueColorCalculator, ImageItemValueWrapperViewModel, ItemValueWrapperViewModel, JsonDuplicateNameError, JsonEditorBaseModel, LogicEvent, LogoImageViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, MenuButton, ObjType, ObjectSelector, ObjectSelectorItem, ObjectSelectorModel, PageAdorner, PageNavigatorViewModel, PagesController, PredefinedBackgroundColors, PredefinedColors, PredefinedCreatorThemes, PredefinedThemes, PropertyEditorSetupValue, PropertyGridCellsEditor, PropertyGridEditor, PropertyGridEditorBackgroundCornerRadius, PropertyGridEditorBindings, PropertyGridEditorBoolean, PropertyGridEditorCollection, PropertyGridEditorColor, PropertyGridEditorColorWithAlpha, PropertyGridEditorCondition, PropertyGridEditorDateTime, PropertyGridEditorDropdown, PropertyGridEditorExpression, PropertyGridEditorFontSettings, PropertyGridEditorHtml, PropertyGridEditorImageSize, PropertyGridEditorMatrix, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixLayoutColumns, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixRateValues, PropertyGridEditorMatrixTriggers, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixValidators, PropertyGridEditorNumber, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionCarryForward, PropertyGridEditorQuestionHeader, PropertyGridEditorQuestionMaskSettings, PropertyGridEditorQuestionRestfull, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorSet, PropertyGridEditorShadowEffects, PropertyGridEditorSpinEdit, PropertyGridEditorString, PropertyGridEditorStringArray, PropertyGridEditorStringBase, PropertyGridEditorSwitchToggle, PropertyGridEditorText, PropertyGridEditorUndefinedBoolean, PropertyGridLinkEditor, PropertyGridModel, PropertyGridPanelValueEditor, PropertyGridRowValueEditor, PropertyGridTitleActionsCreator, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, PropertyGridValueEditor, PropertyGridValueEditorBase, PropertyGridViewModel, PropertyJSONGenerator, QuestionAdornerViewModel, QuestionColorModel, QuestionCommentWithResetModel, QuestionConvertMode, QuestionConverter, QuestionDropdownAdornerViewModel, QuestionEmbeddedSurveyModel, QuestionFileEditorModel, QuestionImageAdornerViewModel, QuestionLinkValueModel, QuestionRatingAdornerViewModel, QuestionSpinEditorModel, QuestionTextWithResetModel, QuestionToolbox, QuestionToolboxCategory, QuestionToolboxItem, RGBToHSB, ResetValueAdorner, ResizeManager, RowViewModel, SearchManager, SearchManagerPropertyGrid, SearchManagerToolbox, SidebarHeaderModel, SidebarModel, SidebarPageModel, StringEditorConnector, StringEditorViewModelBase, StringItemsNavigatorBase, SurveyCreatorModel, SurveyHelper, SurveyJSON5, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, SurveyQuestionEditorPropertyDefinition, SurveyQuestionEditorTabDefinition, SurveyQuestionProperties, SurveyResultsItemModel, SurveyResultsModel, SurveySimulatorModel, SurveyTextWorker, SurveyTextWorkerError, SurveyTextWorkerJsonError, SurveyTextWorkerParserError, Switcher, TabControlModel, TabDesignerPlugin, TabDesignerViewModel, TabJsonEditorAcePlugin, TabJsonEditorBasePlugin, TabJsonEditorTextareaPlugin, TabLogicPlugin, TabTestPlugin, TabTranslationPlugin, TabbedMenuContainer, TabbedMenuItem, TestSurveyTabViewModel, TextareaJsonEditorModel, ThemeModelEditorDefinition, ThemeTabPlugin, ThemeTabViewModel, Themes, ToolbarActionContainer, ToolboxToolViewModel, Transaction, Translation, TranslationEditor, TranslationForEditor, TranslationGroup, TranslationItem, TranslationItemBase, TranslationItemString, UndoRedoAction, UndoRedoArrayAction, UndoRedoManager, UndoRedoPlugin, Version, assign, assignDefaultClasses, backgroundCornerRadiusFromCssVariable, backgroundCornerRadiusToCssVariable, calculateDragOverLocation, calculateIsEdge, calculateIsSide, capitalize, clearNewLines, colorsAreEqual, convertRgbaToString, copyCssClasses, copyObject, createBoxShadow, createBoxShadowReset, createColor, createExportCSVAction, createImportCSVAction, creatorThemeModelEditorDefinition, creatorThemeModelPropertyGridDefinition, defaultCreatorThemesOrder, defaultPropertyGridDefinition, defaultStrings, defaultThemesOrder, editableStringRendererName, editorLocalization, enStrings, findParentNode, focusFirstControl, fontsettingsFromCssVariable, fontsettingsToCssVariable, getAcceptedTypesByContentMode, getElementWrapperComponentData, getElementWrapperComponentName, getFirstNonTextElement, getItemValueWrapperComponentData, getItemValueWrapperComponentName, getLocString, getLocaleStrings, getNextItemText, getNextItemValue, getNextValue, getNodesFromKoComponentInfo, getOS, getPredefinedBackgoundColorsChoices, getPredefinedColorsItemValues, getQuestionContentWrapperComponentName, getQuestionFromObj, getRGBaChannelValues, getRowWrapperComponentData, getRowWrapperComponentName, iconsV1, iconsV2, ignoreUndoRedo, imageMimeTypes, ingectAlpha, initLogicOperator, initialSettingsAllowShowEmptyTitleInDesignMode, initializeDesignTimeSurveyModel, isStringEditable, isTextInput, listComponentCss, editorLocalization as localization, logicCss, notShortCircuitAnd, parseBoxShadow, parseColor, parseRgbaFromString, propertyGridCss, registerAdorner, registerCreatorTheme, registerSurveyTheme, removeAdorners, roundTo2Decimals, saveToFileHandler, scrollElementIntoView, select, setSurveyJSONForPropertyGrid, settings, setupLocale, simulatorDevices, svgBundle, themeModelPropertyGridDefinition, toggleHovered, translationCss, trimBoxShadowValue, trimEmptyFields, undoRedoTransaction, updateBackgroundCornerRadiusJSON, updateFontSettingsJSON, updateShadowEffectsJSON, updateThemeEditorsDefaultFontFamily, updatecoloralphaJSON, wrapTextByCurlyBraces };
36912
36978
  //# sourceMappingURL=survey-creator-core.mjs.map