survey-creator-core 1.9.95 → 1.9.97

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 (31) 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 +885 -875
  5. package/survey-creator-core.fontless.css +884 -874
  6. package/survey-creator-core.fontless.css.map +1 -1
  7. package/survey-creator-core.fontless.min.css +39 -39
  8. package/survey-creator-core.i18n.js +1 -1
  9. package/survey-creator-core.i18n.min.js +1 -1
  10. package/survey-creator-core.js +433 -159
  11. package/survey-creator-core.js.map +1 -1
  12. package/survey-creator-core.min.css +40 -40
  13. package/survey-creator-core.min.js +2 -2
  14. package/typings/components/matrix-cell.d.ts +1 -0
  15. package/typings/components/string-editor.d.ts +1 -1
  16. package/typings/components/tabs/logic-theme.d.ts +3 -0
  17. package/typings/components/tabs/test.d.ts +2 -0
  18. package/typings/components/tabs/theme.d.ts +8 -2
  19. package/typings/components/tabs/translation-theme.d.ts +0 -1
  20. package/typings/creator-base.d.ts +14 -3
  21. package/typings/creator-settings.d.ts +1 -0
  22. package/typings/custom-questions/question-color.d.ts +1 -0
  23. package/typings/custom-questions/question-spin-editor.d.ts +1 -0
  24. package/typings/editorLocalization.d.ts +4 -0
  25. package/typings/localization/english.d.ts +4 -0
  26. package/typings/plugins/undo-redo/undo-redo-controller.d.ts +1 -0
  27. package/typings/plugins/undo-redo/undo-redo-manager.d.ts +7 -0
  28. package/typings/property-grid/index.d.ts +2 -0
  29. package/typings/property-grid/matrices.d.ts +1 -0
  30. package/typings/property-grid-theme/property-grid.d.ts +4 -1
  31. package/typings/textWorker.d.ts +33 -6
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.95
2
+ * SurveyJS Creator v1.9.97
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
@@ -109,7 +109,7 @@ return /******/ (function(modules) { // webpackBootstrap
109
109
  /*! exports provided: default, contrast, plain, simple, blank, double, bulk, pseudo-3d, playful, ultra, default-dark, contrast-dark, plain-dark, simple-dark, blank-dark, double-dark, bulk-dark, pseudo-3d-dark, playful-dark, ultra-dark, default-lw, contrast-lw, plain-lw, simple-lw, double-lw, bulk-lw, pseudo-3d-lw, playful-lw, ultra-lw, default-dark-lw, contrast-dark-lw, plain-dark-lw, simple-dark-lw, double-dark-lw, bulk-dark-lw, pseudo-3d-dark-lw, ultra-dark-lw, dark-designer */
110
110
  /***/ (function(module) {
111
111
 
112
- module.exports = JSON.parse("{\"default\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(248, 248, 248, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(249, 249, 249, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.45)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.45)\",\"--sjs-primary-backcolor\":\"rgba(25, 179, 148, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(25, 179, 148, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(20, 164, 139, 1)\",\"--sjs-primary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-secondary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-secondary-backcolor-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-secondary-backcolor-semi-light\":\"rgba(255, 152, 20, 0.25)\",\"--sjs-secondary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-secondary-forecolor-light\":\"rgba(255, 255, 255, 0.25)\",\"--sjs-shadow-small\":\"0px 1px 2px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"inset 0px 1px 2px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.09)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.16)\",\"--sjs-border-inside\":\"rgba(0, 0, 0, 0.16)\",\"--sjs-special-red\":\"rgba(229, 10, 62, 1)\",\"--sjs-special-red-light\":\"rgba(229, 10, 62, 0.1)\",\"--sjs-special-red-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-green\":\"rgba(25, 179, 148, 1)\",\"--sjs-special-green-light\":\"rgba(25, 179, 148, 0.1)\",\"--sjs-special-green-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-blue\":\"rgba(67, 127, 217, 1)\",\"--sjs-special-blue-light\":\"rgba(67, 127, 217, 0.1)\",\"--sjs-special-blue-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-yellow\":\"rgba(255, 152, 20, 1)\",\"--sjs-special-yellow-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-special-yellow-forecolor\":\"rgba(255, 255, 255, 1)\"},\"contrast\":{\"--sjs-general-backcolor-dark\":\"rgba(228, 228, 228, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(224, 224, 224, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 238, 238, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(220, 220, 220, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.6)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.6)\",\"--sjs-primary-backcolor\":\"rgba(103, 58, 176, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(103, 58, 176, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(69, 24, 142, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.25)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.25)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.25)\"},\"plain\":{\"--sjs-general-backcolor-dark\":\"rgba(241, 246, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 245, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(223, 233, 250, 1)\",\"--sjs-general-forecolor-light\":\"rgba(133, 154, 186, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(133, 154, 186, 1)\",\"--sjs-primary-backcolor\":\"rgba(35, 101, 200, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(35, 101, 200, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(26, 86, 175, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-inner\":\"inset 0px 0px 0px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(220, 229, 241, 1)\",\"--sjs-border-default\":\"rgba(179, 200, 229, 1)\"},\"simple\":{\"--sjs-general-backcolor\":\"rgba(246, 246, 246, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(235, 235, 235, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(235, 235, 235, 1)\",\"--sjs-primary-backcolor\":\"rgba(85, 181, 52, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(85, 181, 52, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(64, 159, 31, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.1),0px 0px 0px 1px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.12)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.12)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.12)\"},\"blank\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor\":\"rgba(37, 137, 229, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(37, 137, 229, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(21, 119, 209, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.05)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.15)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.15)\"},\"double\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(239, 239, 239, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(245, 245, 245, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(237, 237, 237, 1)\",\"--sjs-primary-backcolor\":\"rgba(76, 100, 137, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(76, 100, 137, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(62, 83, 115, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 0.07)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.04),0px 0px 0px 2px rgba(0, 0, 0, 0.08)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.08)\",\"--sjs-shadow-inner\":\"0px 0px 0px 2px rgba(0, 0, 0, 0.1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.1)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.1)\"},\"bulk\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(244, 244, 244, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(216, 207, 236, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(241, 237, 248, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(225, 220, 233, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.5)\",\"--sjs-primary-backcolor\":\"rgba(122, 100, 168, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(122, 100, 168, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(105, 84, 152, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 4px 0px rgba(0, 0, 0, 0.1),0px 8px 16px 0px rgba(0, 0, 0, 0.1),0px 0px 0px 1px rgba(0, 0, 0, 0.05)\",\"--sjs-shadow-inner\":\"inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1),inset 0px 0px 0px 1px rgba(0, 0, 0, 0.05)\"},\"pseudo-3d\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(46, 172, 180, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(245, 245, 245, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(234, 234, 234, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.43)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.8)\",\"--sjs-primary-backcolor\":\"rgba(46, 172, 180, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(46, 172, 180, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(23, 156, 165, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 0px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"inset 0px 2px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.09)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.16)\"},\"playful\":{\"--sjs-general-backcolor\":\"rgba(248, 248, 248, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(242, 242, 242, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(242, 242, 242, 1)\",\"--sjs-primary-backcolor\":\"rgba(217, 74, 100, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(217, 74, 100, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(189, 61, 84, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(228, 228, 228, 1),0px 2px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-shadow-medium\":\"0px 8px 0px 2px rgba(228, 228, 228, 1),0px 0px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-shadow-large\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(228, 228, 228, 1),0px 0px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.08)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.08)\"},\"ultra\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 216, 77, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(83, 83, 83, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-large\":\"0px 6px 0px 0px rgba(0, 0, 0, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(0, 0, 0, 1),0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.2)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 1)\"},\"default-dark\":{\"--sjs-general-backcolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(52, 52, 52, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(43, 43, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(46, 46, 46, 1)\",\"--sjs-general-forecolor\":\"rgba(255, 255, 255, 0.78)\",\"--sjs-general-forecolor-light\":\"rgba(255, 255, 255, 0.42)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 0.79)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.45)\",\"--sjs-primary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-primary-backcolor-dark\":\"rgba(255, 170, 24, 1)\",\"--sjs-primary-forecolor\":\"rgba(32, 32, 32, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-secondary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-secondary-backcolor-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-secondary-backcolor-semi-light\":\"rgba(255, 152, 20, 0.25)\",\"--sjs-secondary-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-secondary-forecolor-light\":\"rgba(48, 48, 48, 0.25)\",\"--sjs-shadow-small\":\"0px 1px 2px 0px rgba(0, 0, 0, 0.35)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"inset 0px 1px 2px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.08)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-inside\":\"rgba(255, 255, 255, 0.08)\",\"--sjs-special-red\":\"rgba(254, 76, 108, 1)\",\"--sjs-special-red-light\":\"rgba(254, 76, 108, 0.1)\",\"--sjs-special-red-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-green\":\"rgba(36, 197, 164, 1)\",\"--sjs-special-green-light\":\"rgba(36, 197, 164, 0.1)\",\"--sjs-special-green-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-blue\":\"rgba(91, 151, 242, 1)\",\"--sjs-special-blue-light\":\"rgba(91, 151, 242, 0.1)\",\"--sjs-special-blue-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-yellow\":\"rgba(255, 152, 20, 1)\",\"--sjs-special-yellow-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-special-yellow-forecolor\":\"rgba(48, 48, 48, 1)\"},\"contrast-dark\":{\"--sjs-general-backcolor-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(27, 27, 27, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(33, 33, 33, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-forecolor\":\"rgba(255, 255, 255, 0.78)\",\"--sjs-general-forecolor-light\":\"rgba(255, 255, 255, 0.5)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 0.8)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.55)\",\"--sjs-primary-backcolor\":\"rgba(16, 226, 255, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(0, 0, 0, 0.35)\",\"--sjs-primary-backcolor-dark\":\"rgba(129, 240, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.28)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.25)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.22)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.22)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.22)\"},\"plain-dark\":{\"--sjs-general-backcolor\":\"rgba(43, 48, 63, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(50, 55, 72, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(33, 37, 51, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(36, 41, 55, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(40, 46, 61, 1)\",\"--sjs-general-forecolor-light\":\"rgba(114, 120, 137, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(114, 120, 137, 1)\",\"--sjs-primary-backcolor\":\"rgba(114, 187, 255, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(114, 187, 255, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(151, 205, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.35)\",\"--sjs-shadow-inner\":\"inset 0px 0px 0px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-border-light\":\"rgba(55, 62, 79, 1)\",\"--sjs-border-default\":\"rgba(65, 72, 90, 1)\"},\"simple-dark\":{\"--sjs-general-backcolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(56, 56, 56, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(43, 43, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(52, 52, 52, 1)\",\"--sjs-primary-backcolor\":\"rgba(92, 214, 49, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-primary-backcolor-dark\":\"rgba(130, 237, 92, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.09)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.07)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.07)\"},\"blank-dark\":{\"--sjs-general-backcolor\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-primary-backcolor\":\"rgba(85, 171, 250, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-primary-backcolor-dark\":\"rgba(126, 193, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\"},\"double-dark\":{\"--sjs-general-backcolor\":\"rgba(52, 52, 52, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(53, 53, 53, 1)\",\"--sjs-primary-backcolor\":\"rgba(120, 156, 210, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(146, 181, 235, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.1)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.1)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.1)\"},\"bulk-dark\":{\"--sjs-general-backcolor\":\"rgba(39, 40, 50, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(46, 47, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(30, 31, 40, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(32, 33, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(37, 38, 48, 1)\",\"--sjs-general-forecolor\":\"rgba(213, 215, 238, 1)\",\"--sjs-general-forecolor-light\":\"rgba(117, 120, 140, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(213, 215, 238, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(117, 119, 141, 1)\",\"--sjs-primary-backcolor\":\"rgba(164, 127, 243, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(164, 127, 243, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(192, 165, 251, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 4px 0px rgba(0, 0, 0, 0.2),0px 8px 16px 0px rgba(0, 0, 0, 0.15),0px 0px 0px 1px rgba(255, 255, 255, 0.1)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)\",\"--sjs-shadow-inner\":\"inset 0px 1px 4px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.03)\",\"--sjs-border-light\":\"rgba(54, 56, 69, 1)\",\"--sjs-border-default\":\"rgba(67, 69, 85, 1)\"},\"pseudo-3d-dark\":{\"--sjs-general-backcolor\":\"rgba(53, 55, 63, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(60, 63, 74, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(38, 40, 47, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(46, 48, 55, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(51, 53, 61, 1)\",\"--sjs-general-forecolor-light\":\"rgba(125, 129, 143, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(125, 130, 148, 1)\",\"--sjs-primary-backcolor\":\"rgba(58, 202, 211, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(67, 70, 80, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(92, 224, 233, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 0px 0px rgba(33, 35, 43, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 0px rgba(33, 35, 43, 1)\",\"--sjs-border-light\":\"rgba(65, 69, 83, 1)\",\"--sjs-border-default\":\"rgba(97, 101, 118, 1)\"},\"playful-dark\":{\"--sjs-general-backcolor\":\"rgba(38, 38, 38, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(28, 28, 28, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-primary-backcolor\":\"rgba(243, 87, 134, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.05)\",\"--sjs-primary-backcolor-dark\":\"rgba(250, 118, 157, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(64, 64, 64, 1),0px 2px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-shadow-medium\":\"0px 8px 0px 2px rgba(64, 64, 64, 1),0px 0px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-shadow-large\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 2px 0px 2px rgba(64, 64, 64, 1),0px 0px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\"},\"ultra-dark\":{\"--sjs-general-backcolor\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(53, 53, 53, 1)\",\"--sjs-primary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-large\":\"0px 6px 0px 0px rgba(0, 0, 0, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(0, 0, 0, 1),0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-border-light\":\"rgba(232, 192, 51, 1)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 1)\"},\"default-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"contrast-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 238, 238, 1)\"},\"plain-lw\":{\"--sjs-general-backcolor\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(220, 232, 252, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(220, 232, 252, 1)\"},\"simple-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(246, 246, 246, 1)\"},\"double-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(245, 245, 245, 1)\"},\"bulk-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"pseudo-3d-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.45)\"},\"playful-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(248, 248, 248, 1)\"},\"ultra-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"default-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\"},\"contrast-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(33, 33, 33, 1)\"},\"plain-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(43, 48, 63, 1)\"},\"simple-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\"},\"double-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(52, 52, 52, 1)\"},\"bulk-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(39, 40, 50, 1)\"},\"pseudo-3d-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(53, 55, 63, 1)\"},\"ultra-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 1)\"},\"dark-designer\":{\"--sjs-primary-backcolor\":\"rgba(36, 197, 164, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(36, 197, 164, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(44, 206, 173, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\"}}");
112
+ module.exports = JSON.parse("{\"default\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(248, 248, 248, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(249, 249, 249, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.45)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.45)\",\"--sjs-primary-backcolor\":\"rgba(25, 179, 148, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(25, 179, 148, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(20, 164, 139, 1)\",\"--sjs-primary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-forecolor-light\":\"rgba(255, 255, 255, 0.25)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-secondary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-secondary-backcolor-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-secondary-backcolor-semi-light\":\"rgba(255, 152, 20, 0.25)\",\"--sjs-secondary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-secondary-forecolor-light\":\"rgba(255, 255, 255, 0.25)\",\"--sjs-shadow-small\":\"0px 1px 2px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"inset 0px 1px 2px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.09)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.16)\",\"--sjs-border-inside\":\"rgba(0, 0, 0, 0.16)\",\"--sjs-special-red\":\"rgba(229, 10, 62, 1)\",\"--sjs-special-red-light\":\"rgba(229, 10, 62, 0.1)\",\"--sjs-special-red-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-green\":\"rgba(25, 179, 148, 1)\",\"--sjs-special-green-light\":\"rgba(25, 179, 148, 0.1)\",\"--sjs-special-green-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-blue\":\"rgba(67, 127, 217, 1)\",\"--sjs-special-blue-light\":\"rgba(67, 127, 217, 0.1)\",\"--sjs-special-blue-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-special-yellow\":\"rgba(255, 152, 20, 1)\",\"--sjs-special-yellow-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-special-yellow-forecolor\":\"rgba(255, 255, 255, 1)\"},\"contrast\":{\"--sjs-general-backcolor-dark\":\"rgba(228, 228, 228, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(224, 224, 224, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 238, 238, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(220, 220, 220, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.6)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.6)\",\"--sjs-primary-backcolor\":\"rgba(103, 58, 176, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(103, 58, 176, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(69, 24, 142, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.25)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.25)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.25)\"},\"plain\":{\"--sjs-general-backcolor-dark\":\"rgba(241, 246, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 245, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(223, 233, 250, 1)\",\"--sjs-general-forecolor-light\":\"rgba(133, 154, 186, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(133, 154, 186, 1)\",\"--sjs-primary-backcolor\":\"rgba(35, 101, 200, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(35, 101, 200, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(26, 86, 175, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-inner\":\"inset 0px 0px 0px 0px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(220, 229, 241, 1)\",\"--sjs-border-default\":\"rgba(179, 200, 229, 1)\"},\"simple\":{\"--sjs-general-backcolor\":\"rgba(246, 246, 246, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(235, 235, 235, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(235, 235, 235, 1)\",\"--sjs-primary-backcolor\":\"rgba(85, 181, 52, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(85, 181, 52, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(64, 159, 31, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.1),0px 0px 0px 1px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.12)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.12)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.12)\"},\"blank\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor\":\"rgba(37, 137, 229, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(37, 137, 229, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(21, 119, 209, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-shadow-medium\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.05)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(0, 0, 0, 0.15)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.15)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.15)\"},\"double\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(239, 239, 239, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(245, 245, 245, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(237, 237, 237, 1)\",\"--sjs-primary-backcolor\":\"rgba(76, 100, 137, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(76, 100, 137, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(62, 83, 115, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 0.07)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.04),0px 0px 0px 2px rgba(0, 0, 0, 0.08)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.08)\",\"--sjs-shadow-inner\":\"0px 0px 0px 2px rgba(0, 0, 0, 0.1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.1)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.1)\"},\"bulk\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(244, 244, 244, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(216, 207, 236, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(241, 237, 248, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(225, 220, 233, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.5)\",\"--sjs-primary-backcolor\":\"rgba(122, 100, 168, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(122, 100, 168, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(105, 84, 152, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 4px 0px rgba(0, 0, 0, 0.1),0px 8px 16px 0px rgba(0, 0, 0, 0.1),0px 0px 0px 1px rgba(0, 0, 0, 0.05)\",\"--sjs-shadow-inner\":\"inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1),inset 0px 0px 0px 1px rgba(0, 0, 0, 0.05)\"},\"pseudo-3d\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(243, 243, 243, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(46, 172, 180, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(245, 245, 245, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(234, 234, 234, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 0.43)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.8)\",\"--sjs-primary-backcolor\":\"rgba(46, 172, 180, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(46, 172, 180, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(23, 156, 165, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 0px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"inset 0px 2px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.09)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.16)\"},\"playful\":{\"--sjs-general-backcolor\":\"rgba(248, 248, 248, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(242, 242, 242, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(242, 242, 242, 1)\",\"--sjs-primary-backcolor\":\"rgba(217, 74, 100, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(217, 74, 100, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(189, 61, 84, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(228, 228, 228, 1),0px 2px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-shadow-medium\":\"0px 8px 0px 2px rgba(228, 228, 228, 1),0px 0px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-shadow-large\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(228, 228, 228, 1),0px 0px 0px 2px rgba(228, 228, 228, 1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.08)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 0.08)\"},\"ultra\":{\"--sjs-general-backcolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 216, 77, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(83, 83, 83, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-large\":\"0px 6px 0px 0px rgba(0, 0, 0, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(0, 0, 0, 1),0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-border-light\":\"rgba(0, 0, 0, 0.2)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 1)\"},\"default-dark\":{\"--sjs-general-backcolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(52, 52, 52, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(43, 43, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(46, 46, 46, 1)\",\"--sjs-general-forecolor\":\"rgba(255, 255, 255, 0.78)\",\"--sjs-general-forecolor-light\":\"rgba(255, 255, 255, 0.42)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 0.79)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.45)\",\"--sjs-primary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-primary-backcolor-dark\":\"rgba(255, 170, 24, 1)\",\"--sjs-primary-forecolor\":\"rgba(32, 32, 32, 1)\",\"--sjs-primary-forecolor-light\":\"rgba(32, 32, 32, 0.25)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-secondary-backcolor\":\"rgba(255, 152, 20, 1)\",\"--sjs-secondary-backcolor-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-secondary-backcolor-semi-light\":\"rgba(255, 152, 20, 0.25)\",\"--sjs-secondary-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-secondary-forecolor-light\":\"rgba(48, 48, 48, 0.25)\",\"--sjs-shadow-small\":\"0px 1px 2px 0px rgba(0, 0, 0, 0.35)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-shadow-inner\":\"inset 0px 1px 2px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.08)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-inside\":\"rgba(255, 255, 255, 0.08)\",\"--sjs-special-red\":\"rgba(254, 76, 108, 1)\",\"--sjs-special-red-light\":\"rgba(254, 76, 108, 0.1)\",\"--sjs-special-red-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-green\":\"rgba(36, 197, 164, 1)\",\"--sjs-special-green-light\":\"rgba(36, 197, 164, 0.1)\",\"--sjs-special-green-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-blue\":\"rgba(91, 151, 242, 1)\",\"--sjs-special-blue-light\":\"rgba(91, 151, 242, 0.1)\",\"--sjs-special-blue-forecolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-special-yellow\":\"rgba(255, 152, 20, 1)\",\"--sjs-special-yellow-light\":\"rgba(255, 152, 20, 0.1)\",\"--sjs-special-yellow-forecolor\":\"rgba(48, 48, 48, 1)\"},\"contrast-dark\":{\"--sjs-general-backcolor-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(27, 27, 27, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(33, 33, 33, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-forecolor\":\"rgba(255, 255, 255, 0.78)\",\"--sjs-general-forecolor-light\":\"rgba(255, 255, 255, 0.5)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 0.8)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 0.55)\",\"--sjs-primary-backcolor\":\"rgba(16, 226, 255, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(0, 0, 0, 0.35)\",\"--sjs-primary-backcolor-dark\":\"rgba(129, 240, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.28)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.25)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.22)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.22)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.22)\"},\"plain-dark\":{\"--sjs-general-backcolor\":\"rgba(43, 48, 63, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(50, 55, 72, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(33, 37, 51, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(36, 41, 55, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(40, 46, 61, 1)\",\"--sjs-general-forecolor-light\":\"rgba(114, 120, 137, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(114, 120, 137, 1)\",\"--sjs-primary-backcolor\":\"rgba(114, 187, 255, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(114, 187, 255, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(151, 205, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.35)\",\"--sjs-shadow-inner\":\"inset 0px 0px 0px 0px rgba(0, 0, 0, 0.2)\",\"--sjs-border-light\":\"rgba(55, 62, 79, 1)\",\"--sjs-border-default\":\"rgba(65, 72, 90, 1)\"},\"simple-dark\":{\"--sjs-general-backcolor\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(56, 56, 56, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(43, 43, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(52, 52, 52, 1)\",\"--sjs-primary-backcolor\":\"rgba(92, 214, 49, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-primary-backcolor-dark\":\"rgba(130, 237, 92, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.09)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.07)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.07)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.07)\"},\"blank-dark\":{\"--sjs-general-backcolor\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(36, 36, 36, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(47, 47, 47, 1)\",\"--sjs-primary-backcolor\":\"rgba(85, 171, 250, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-primary-backcolor-dark\":\"rgba(126, 193, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-inner\":\"0px 0px 0px 1px rgba(255, 255, 255, 0.12)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\"},\"double-dark\":{\"--sjs-general-backcolor\":\"rgba(52, 52, 52, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(47, 47, 47, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(53, 53, 53, 1)\",\"--sjs-primary-backcolor\":\"rgba(120, 156, 210, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(146, 181, 235, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.12)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.1)\",\"--sjs-shadow-large\":\"0px 8px 16px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 0px 0px 2px rgba(255, 255, 255, 0.1)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.1)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.1)\"},\"bulk-dark\":{\"--sjs-general-backcolor\":\"rgba(39, 40, 50, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(46, 47, 58, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(30, 31, 40, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(32, 33, 43, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(37, 38, 48, 1)\",\"--sjs-general-forecolor\":\"rgba(213, 215, 238, 1)\",\"--sjs-general-forecolor-light\":\"rgba(117, 120, 140, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(213, 215, 238, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(117, 119, 141, 1)\",\"--sjs-primary-backcolor\":\"rgba(164, 127, 243, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(164, 127, 243, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(192, 165, 251, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 4px 0px rgba(0, 0, 0, 0.2),0px 8px 16px 0px rgba(0, 0, 0, 0.15),0px 0px 0px 1px rgba(255, 255, 255, 0.1)\",\"--sjs-shadow-medium\":\"0px 2px 6px 0px rgba(0, 0, 0, 0.2),inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)\",\"--sjs-shadow-inner\":\"inset 0px 1px 4px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 1px rgba(255, 255, 255, 0.03)\",\"--sjs-border-light\":\"rgba(54, 56, 69, 1)\",\"--sjs-border-default\":\"rgba(67, 69, 85, 1)\"},\"pseudo-3d-dark\":{\"--sjs-general-backcolor\":\"rgba(53, 55, 63, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(60, 63, 74, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(38, 40, 47, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(46, 48, 55, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(51, 53, 61, 1)\",\"--sjs-general-forecolor-light\":\"rgba(125, 129, 143, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(125, 130, 148, 1)\",\"--sjs-primary-backcolor\":\"rgba(58, 202, 211, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(67, 70, 80, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(92, 224, 233, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 2px 0px 0px rgba(33, 35, 43, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 0px rgba(33, 35, 43, 1)\",\"--sjs-border-light\":\"rgba(65, 69, 83, 1)\",\"--sjs-border-default\":\"rgba(97, 101, 118, 1)\"},\"playful-dark\":{\"--sjs-general-backcolor\":\"rgba(38, 38, 38, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(28, 28, 28, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(58, 58, 58, 1)\",\"--sjs-primary-backcolor\":\"rgba(243, 87, 134, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 0.05)\",\"--sjs-primary-backcolor-dark\":\"rgba(250, 118, 157, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(64, 64, 64, 1),0px 2px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-shadow-medium\":\"0px 8px 0px 2px rgba(64, 64, 64, 1),0px 0px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-shadow-large\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.1)\",\"--sjs-shadow-inner\":\"0px 2px 0px 2px rgba(64, 64, 64, 1),0px 0px 0px 2px rgba(64, 64, 64, 1)\",\"--sjs-border-light\":\"rgba(255, 255, 255, 0.12)\",\"--sjs-border-default\":\"rgba(255, 255, 255, 0.12)\"},\"ultra-dark\":{\"--sjs-general-backcolor\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-forecolor-light\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-primary-backcolor-dark\":\"rgba(53, 53, 53, 1)\",\"--sjs-primary-forecolor\":\"rgba(255, 255, 255, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\",\"--sjs-shadow-small\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-medium\":\"0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-shadow-large\":\"0px 6px 0px 0px rgba(0, 0, 0, 1)\",\"--sjs-shadow-inner\":\"0px -2px 0px 2px rgba(0, 0, 0, 1),0px 0px 0px 2px rgba(0, 0, 0, 1)\",\"--sjs-border-light\":\"rgba(232, 192, 51, 1)\",\"--sjs-border-default\":\"rgba(0, 0, 0, 1)\"},\"default-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"contrast-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(238, 238, 238, 1)\"},\"plain-lw\":{\"--sjs-general-backcolor\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dark\":\"rgba(220, 232, 252, 1)\",\"--sjs-general-backcolor-dim\":\"rgba(231, 240, 255, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-backcolor-dim-dark\":\"rgba(220, 232, 252, 1)\"},\"simple-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(246, 246, 246, 1)\"},\"double-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(245, 245, 245, 1)\"},\"bulk-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"pseudo-3d-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 0.91)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 0.45)\"},\"playful-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(248, 248, 248, 1)\"},\"ultra-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 255, 255, 1)\"},\"default-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\"},\"contrast-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\",\"--sjs-general-backcolor-dim-light\":\"rgba(33, 33, 33, 1)\"},\"plain-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(43, 48, 63, 1)\"},\"simple-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(48, 48, 48, 1)\"},\"double-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(52, 52, 52, 1)\"},\"bulk-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(39, 40, 50, 1)\"},\"pseudo-3d-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(53, 55, 63, 1)\"},\"ultra-dark-lw\":{\"--sjs-general-backcolor-dim\":\"rgba(255, 216, 77, 1)\",\"--sjs-general-dim-forecolor\":\"rgba(0, 0, 0, 1)\",\"--sjs-general-dim-forecolor-light\":\"rgba(0, 0, 0, 1)\"},\"dark-designer\":{\"--sjs-primary-backcolor\":\"rgba(36, 197, 164, 1)\",\"--sjs-primary-backcolor-light\":\"rgba(36, 197, 164, 0.1)\",\"--sjs-primary-backcolor-dark\":\"rgba(44, 206, 173, 1)\",\"--sjs-base-unit\":\"8px\",\"--sjs-corner-radius\":\"4px\"}}");
113
113
 
114
114
  /***/ }),
115
115
 
@@ -559,13 +559,10 @@ var ImageItemValueWrapperViewModel = /** @class */ (function (_super) {
559
559
  var _this = this;
560
560
  this.isUploading = true;
561
561
  this.creator.uploadFiles(files, this.question, function (_, link) {
562
- var itemValue = _this.creator.createNewItemValue(_this.question);
563
- itemValue.imageLink = link;
564
- _this.question.choices.push(itemValue);
565
- if (_this.isChoosingNewFile && _this.creator) {
566
- _this.creator.onItemValueAddedCallback(_this.question, "choices", itemValue, _this.question.choices);
567
- _this.isChoosingNewFile = false;
568
- }
562
+ _this.creator.createNewItemValue(_this.question, _this.isChoosingNewFile, function (res) {
563
+ res.imageLink = link;
564
+ });
565
+ _this.isChoosingNewFile = false;
569
566
  _this.isUploading = false;
570
567
  });
571
568
  };
@@ -826,9 +823,7 @@ var ItemValueWrapperViewModel = /** @class */ (function (_super) {
826
823
  ItemValueWrapperViewModel.prototype.addNewItem = function (item, question, creator) {
827
824
  item.value = "newitem";
828
825
  var itemValue = creator.createNewItemValue(question);
829
- question.choices.push(itemValue);
830
826
  this.updateNewItemValue();
831
- creator.onItemValueAddedCallback(question, this.collectionPropertyName, itemValue, question.choices);
832
827
  _string_editor__WEBPACK_IMPORTED_MODULE_4__["StringEditorConnector"].get(itemValue.locText).setAutoFocus();
833
828
  };
834
829
  ItemValueWrapperViewModel.prototype.remove = function (model) {
@@ -1133,6 +1128,7 @@ __webpack_require__(/*! ./matrix-cell.scss */ "./src/components/matrix-cell.scss
1133
1128
  var MatrixCellWrapperEditSurvey = /** @class */ (function () {
1134
1129
  function MatrixCellWrapperEditSurvey(creator, cellQuestion) {
1135
1130
  this.cellQuestion = cellQuestion;
1131
+ this.creator = creator;
1136
1132
  var questionJSON = cellQuestion.toJSON();
1137
1133
  questionJSON.type = cellQuestion.getType();
1138
1134
  this.surveyValue = creator.createSurvey({ questions: [questionJSON] }, "modal-question-editor");
@@ -1163,8 +1159,11 @@ var MatrixCellWrapperEditSurvey = /** @class */ (function () {
1163
1159
  if (!!prevCellType) {
1164
1160
  questionJSON.cellType = prevCellType;
1165
1161
  }
1162
+ if (survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isTwoValueEquals(questionJSON, columnJSON))
1163
+ return;
1166
1164
  column.fromJSON(questionJSON);
1167
1165
  matrix.onColumnCellTypeChanged(column);
1166
+ this.creator.setModified({ type: "MATRIX_CELL_EDITOR", column: column });
1168
1167
  };
1169
1168
  return MatrixCellWrapperEditSurvey;
1170
1169
  }());
@@ -2000,16 +1999,21 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
2000
1999
  QuestionImageAdornerViewModel.prototype.initFilePresentationModel = function () {
2001
2000
  var _this = this;
2002
2001
  this.filePresentationModel = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].createClass("file", { name: this.question.name });
2003
- this.filePresentationModel.setSurveyImpl(this.question.getSurvey());
2002
+ var surveyModel = this.question.getSurvey();
2003
+ this.filePresentationModel.setSurveyImpl(surveyModel);
2004
2004
  this.filePresentationModel.forceIsInputReadOnly = !this.creator.isCanModifyProperty(this.question, "imageLink");
2005
2005
  this.filePresentationModel.dragAreaPlaceholder = this.placeholderText;
2006
2006
  this.filePresentationModel.chooseButtonCaption = this.chooseImageText;
2007
2007
  this.filePresentationModel.acceptedTypes = "image/*";
2008
- this.filePresentationModel.onPropertyValueChangedCallback = function (name, oldValue, newValue, sender, arrayChanges) {
2009
- if (name === "value" && newValue.length > 0) {
2010
- _this.question.imageLink = newValue[0].content;
2008
+ this.filePresentationModel.storeDataAsText = false;
2009
+ surveyModel.onUploadFiles.add(function (s, o) {
2010
+ var fileToUpload = o.files[0];
2011
+ if (!!fileToUpload) {
2012
+ _this.creator.uploadFiles(o.files, _this.question, function (status, link) {
2013
+ _this.question.imageLink = link;
2014
+ });
2011
2015
  }
2012
- };
2016
+ });
2013
2017
  };
2014
2018
  QuestionImageAdornerViewModel.prototype.chooseFile = function (model) {
2015
2019
  var fileInput = model.questionRoot.getElementsByClassName("svc-choose-file-input")[0];
@@ -3686,10 +3690,16 @@ var StringItemsNavigatorBase = /** @class */ (function () {
3686
3690
  return null;
3687
3691
  };
3688
3692
  StringItemsNavigatorBase.prototype.addNewItems = function (items, startIndex, itemsToAdd) {
3689
- var newItems = items.slice(0, startIndex).concat(itemsToAdd.map(function (text) { return new survey_core__WEBPACK_IMPORTED_MODULE_1__["ItemValue"](text); })).concat(items.slice(startIndex + 1));
3693
+ var _this = this;
3694
+ var createNewItem = function (val) {
3695
+ if (_this.question.createItemValue)
3696
+ return _this.question.createItemValue(val);
3697
+ return new survey_core__WEBPACK_IMPORTED_MODULE_1__["ItemValue"](val);
3698
+ };
3699
+ var newItems = items.slice(0, startIndex).concat(itemsToAdd.map(function (text) { return createNewItem(text); })).concat(items.slice(startIndex + 1));
3690
3700
  this.question[this.getItemsPropertyName(items)] = newItems;
3691
3701
  };
3692
- StringItemsNavigatorBase.prototype.setEventsForItem = function (items, item) {
3702
+ StringItemsNavigatorBase.prototype.setEventsForItem = function (creator, items, item) {
3693
3703
  var _this = this;
3694
3704
  var connector = StringEditorConnector.get(this.getItemLocString(items, item));
3695
3705
  connector.onEditComplete.clear();
@@ -3699,7 +3709,7 @@ var StringItemsNavigatorBase = /** @class */ (function () {
3699
3709
  StringEditorConnector.get(_this.getItemLocString(items, items[itemIndex + 1])).activateEditor();
3700
3710
  }
3701
3711
  if (itemIndex == items.length - 1) {
3702
- _this.addNewItem(items);
3712
+ _this.addNewItem(creator, items);
3703
3713
  StringEditorConnector.get(_this.getItemLocString(items, items[items.length - 1])).setAutoFocus();
3704
3714
  StringEditorConnector.get(_this.getItemLocString(items, items[items.length - 1])).activateEditor();
3705
3715
  }
@@ -3740,6 +3750,7 @@ var StringItemsNavigatorBase = /** @class */ (function () {
3740
3750
  var question = questionAdorner.element;
3741
3751
  var navigator = StringItemsNavigatorBase.createItemsNavigator(question);
3742
3752
  if (navigator) {
3753
+ var creator_1 = questionAdorner.creator;
3743
3754
  var titleConnector = StringEditorConnector.get(question.locTitle);
3744
3755
  var allItemSets = navigator.getItemSets();
3745
3756
  var activeChoices_1 = allItemSets[0];
@@ -3752,13 +3763,13 @@ var StringItemsNavigatorBase = /** @class */ (function () {
3752
3763
  }
3753
3764
  allItemSets.forEach(function (activeChoices) {
3754
3765
  activeChoices.forEach(function (item) {
3755
- navigator.setEventsForItem(activeChoices, item);
3766
+ navigator.setEventsForItem(creator_1, activeChoices, item);
3756
3767
  });
3757
3768
  var itemsPropertyName = navigator.getItemsPropertyName(activeChoices);
3758
3769
  question.onPropertyChanged.add(function (sender, options) {
3759
3770
  if (options.name == itemsPropertyName) {
3760
3771
  activeChoices.forEach(function (item) {
3761
- navigator.setEventsForItem(activeChoices, item);
3772
+ navigator.setEventsForItem(creator_1, activeChoices, item);
3762
3773
  });
3763
3774
  }
3764
3775
  });
@@ -3780,9 +3791,11 @@ var StringItemsNavigatorSelectBase = /** @class */ (function (_super) {
3780
3791
  StringItemsNavigatorSelectBase.prototype.getItemSets = function () {
3781
3792
  return [this.question.choices];
3782
3793
  };
3783
- StringItemsNavigatorSelectBase.prototype.addNewItem = function (items, text) {
3794
+ StringItemsNavigatorSelectBase.prototype.addNewItem = function (creator, items, text) {
3784
3795
  if (text === void 0) { text = null; }
3785
- this.question.choices.push(new survey_core__WEBPACK_IMPORTED_MODULE_1__["ItemValue"](text || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getNextValue"])("item", items.map(function (i) { return i.value; }))));
3796
+ var itemValue = creator.createNewItemValue(this.question);
3797
+ if (!!text)
3798
+ itemValue.value = text;
3786
3799
  };
3787
3800
  StringItemsNavigatorSelectBase.prototype.getItemsPropertyName = function (items) {
3788
3801
  return "choices";
@@ -3800,7 +3813,7 @@ var StringItemsNavigatorMultipleText = /** @class */ (function (_super) {
3800
3813
  StringItemsNavigatorMultipleText.prototype.getItemSets = function () {
3801
3814
  return [this.question.items];
3802
3815
  };
3803
- StringItemsNavigatorMultipleText.prototype.addNewItem = function (items, text) {
3816
+ StringItemsNavigatorMultipleText.prototype.addNewItem = function (creator, items, text) {
3804
3817
  if (text === void 0) { text = null; }
3805
3818
  this.question.addItem(text || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getNextValue"])("text", items.map(function (i) { return i.name; })));
3806
3819
  };
@@ -3824,7 +3837,7 @@ var StringItemsNavigatorMatrix = /** @class */ (function (_super) {
3824
3837
  StringItemsNavigatorMatrix.prototype.getItemSets = function () {
3825
3838
  return [this.question.columns, this.question.rows];
3826
3839
  };
3827
- StringItemsNavigatorMatrix.prototype.addNewItem = function (items, text) {
3840
+ StringItemsNavigatorMatrix.prototype.addNewItem = function (creator, items, text) {
3828
3841
  if (text === void 0) { text = null; }
3829
3842
  if (items == this.question.columns)
3830
3843
  this.question.addColumn(text || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getNextValue"])("Column ", items.map(function (i) { return i.value; })));
@@ -5097,8 +5110,8 @@ var AceJsonEditorModel = /** @class */ (function (_super) {
5097
5110
  for (var i = 0; i < errors.length; i++) {
5098
5111
  var error = errors[i];
5099
5112
  var annotation = {
5100
- row: error.position.start.row,
5101
- column: error.position.start.column,
5113
+ row: error.rowAt,
5114
+ column: error.columnAt,
5102
5115
  text: error.text,
5103
5116
  type: "error"
5104
5117
  };
@@ -7334,6 +7347,9 @@ var logicCss = {
7334
7347
  controlLabel: "",
7335
7348
  materialDecorator: "",
7336
7349
  controlValue: "sl-dropdown__value",
7350
+ chevronButton: "",
7351
+ chevronButtonSvg: "",
7352
+ chevronButtonIconId: "",
7337
7353
  },
7338
7354
  imagepicker: {
7339
7355
  root: "",
@@ -9483,6 +9499,7 @@ var TestSurveyTabViewModel = /** @class */ (function (_super) {
9483
9499
  configurable: true
9484
9500
  });
9485
9501
  TestSurveyTabViewModel.prototype.updateSimulatorSurvey = function (json, theme) {
9502
+ var _this = this;
9486
9503
  var newSurvey = this.surveyProvider.createSurvey(json || {}, "test");
9487
9504
  if (this.surveyProvider.showThemeTab) {
9488
9505
  newSurvey.applyTheme(this.surveyProvider.theme);
@@ -9523,6 +9540,16 @@ var TestSurveyTabViewModel = /** @class */ (function (_super) {
9523
9540
  this.survey.onPageVisibleChanged.add(function (sender, options) {
9524
9541
  self.updatePageItem(options.page);
9525
9542
  });
9543
+ this.survey.onPopupVisibleChanged.add(function (_, options) {
9544
+ if (options.visible) {
9545
+ _this.onScrollCallback = function () {
9546
+ options.popup.toggleVisibility();
9547
+ };
9548
+ }
9549
+ else {
9550
+ _this.onScrollCallback = undefined;
9551
+ }
9552
+ });
9526
9553
  };
9527
9554
  TestSurveyTabViewModel.prototype.setJSON = function (json, currTheme) {
9528
9555
  this.json = json;
@@ -9704,6 +9731,11 @@ var TestSurveyTabViewModel = /** @class */ (function (_super) {
9704
9731
  this.nextPageAction.css = isNextEnabled ? "sv-action-bar-item--secondary" : "";
9705
9732
  this.nextPageAction.enabled = isNextEnabled;
9706
9733
  };
9734
+ TestSurveyTabViewModel.prototype.onScroll = function () {
9735
+ if (this.onScrollCallback)
9736
+ this.onScrollCallback();
9737
+ return true;
9738
+ };
9707
9739
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
9708
9740
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
9709
9741
  defaultValue: false,
@@ -9824,7 +9856,7 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__["ComponentCollection"].Instance.add({
9824
9856
  "type": "buttongroup",
9825
9857
  "name": "isInset",
9826
9858
  "titleLocation": "hidden",
9827
- "choices": [{ text: "Drop", value: false }, { text: "Inner", value: true }]
9859
+ "choices": [{ text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_0__["getLocString"])("theme.boxShadowDrop"), value: false }, { text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_0__["getLocString"])("theme.boxShadowInner"), value: true }]
9828
9860
  }
9829
9861
  ]
9830
9862
  },
@@ -9898,12 +9930,44 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
9898
9930
  titleLocation: "left"
9899
9931
  }
9900
9932
  ],
9933
+ onInit: function () {
9934
+ survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addProperty("colorsettings", {
9935
+ name: "choices:itemvalue[]"
9936
+ });
9937
+ },
9938
+ onLoaded: function (question) {
9939
+ syncPropertiesFromCompositeToColor(question, "titleLocation", question.titleLocation);
9940
+ syncPropertiesFromCompositeToColor(question, "choices", question.choices);
9941
+ },
9942
+ onPropertyChanged: function (question, propertyName, newValue) {
9943
+ syncPropertiesFromCompositeToColor(question, propertyName, newValue);
9944
+ },
9945
+ valueToQuestion: function (value) {
9946
+ return !!value ? createColor(value) : "";
9947
+ },
9948
+ valueFromQuestion: function (value) {
9949
+ return typeof value == "string" ? Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["parseColor"])(value) : value;
9950
+ },
9901
9951
  onCreated: function (question) {
9902
- question.valueFromDataCallback = function (newValue) { return typeof newValue == "string" ? Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["parseColor"])(newValue) : newValue; };
9903
- question.valueToDataCallback = function (newValue) { return !!newValue ? (typeof newValue == "string" ? newValue : createColor(newValue)) : ""; };
9904
9952
  question.contentPanel.questions.forEach(function (q) { return q.allowRootStyle = false; });
9905
9953
  }
9906
9954
  });
9955
+ function syncPropertiesFromCompositeToColor(question, propertyName, newValue) {
9956
+ var colorQuestion = question.contentPanel.questions[0];
9957
+ if (propertyName == "titleLocation") {
9958
+ if (newValue == "left") {
9959
+ question.titleLocation = "hidden";
9960
+ colorQuestion.title = question.title;
9961
+ colorQuestion.titleLocation = newValue;
9962
+ }
9963
+ else {
9964
+ colorQuestion.titleLocation = "hidden";
9965
+ }
9966
+ }
9967
+ if (propertyName == "choices") {
9968
+ colorQuestion.choices = newValue;
9969
+ }
9970
+ }
9907
9971
  function createColor(value) {
9908
9972
  return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["ingectAlpha"])(value.color, value.opacity / 100);
9909
9973
  }
@@ -9930,14 +9994,14 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
9930
9994
  showInToolbox: false,
9931
9995
  elementsJSON: [
9932
9996
  {
9933
- type: "color",
9997
+ type: "colorsettings",
9934
9998
  name: "backcolor",
9935
9999
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.backcolor"),
9936
10000
  titleLocation: "left",
9937
10001
  descriptionLocation: "hidden"
9938
10002
  },
9939
10003
  {
9940
- type: "color",
10004
+ type: "colorsettings",
9941
10005
  name: "hovercolor",
9942
10006
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.hovercolor"),
9943
10007
  titleLocation: "left",
@@ -9950,13 +10014,12 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
9950
10014
  titleLocation: "left",
9951
10015
  descriptionLocation: "hidden",
9952
10016
  unit: "px",
9953
- defaultValue: 4,
9954
10017
  min: 0
9955
10018
  },
9956
10019
  {
9957
10020
  type: "expression",
9958
10021
  name: "cornerRadius",
9959
- expression: "{composite.corner}+\"px\"",
10022
+ expression: "iif({composite.corner} notempty, {composite.corner} + 'px', '')",
9960
10023
  visible: false
9961
10024
  }
9962
10025
  ],
@@ -9987,6 +10050,7 @@ __webpack_require__.r(__webpack_exports__);
9987
10050
 
9988
10051
 
9989
10052
  var DefaultFonts = [
10053
+ "Open Sans",
9990
10054
  "Arial, sans-serif",
9991
10055
  "Brush Script MT, cursive",
9992
10056
  "Courier New, monospace",
@@ -10008,7 +10072,6 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
10008
10072
  titleLocation: "left",
10009
10073
  descriptionLocation: "hidden",
10010
10074
  choices: [].concat(DefaultFonts),
10011
- defaultValue: "Open Sans",
10012
10075
  allowClear: false
10013
10076
  },
10014
10077
  {
@@ -10022,14 +10085,12 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
10022
10085
  { value: "600", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.fontWeightBold") },
10023
10086
  { value: "700", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.fontWeightHeavy") },
10024
10087
  ],
10025
- defaultValue: "400"
10026
10088
  },
10027
10089
  {
10028
- type: "color",
10090
+ type: "colorsettings",
10029
10091
  name: "color",
10030
10092
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.color"),
10031
10093
  titleLocation: "left",
10032
- // choices: ["#00FFFF", "#00FFFF"],
10033
10094
  descriptionLocation: "hidden"
10034
10095
  },
10035
10096
  {
@@ -10248,7 +10309,7 @@ var TabThemePlugin = /** @class */ (function () {
10248
10309
  return (_this.creator.activeTab === "theme");
10249
10310
  }),
10250
10311
  action: function () {
10251
- _this.model.applySelectedTheme();
10312
+ _this.model.resetTheme();
10252
10313
  }
10253
10314
  });
10254
10315
  items.push(this.resetTheme);
@@ -10458,31 +10519,29 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10458
10519
  enumerable: false,
10459
10520
  configurable: true
10460
10521
  });
10461
- ThemeSurveyTabViewModel.prototype.applySelectedTheme = function (saveChanges) {
10462
- if (saveChanges === void 0) { saveChanges = false; }
10522
+ ThemeSurveyTabViewModel.prototype.applySelectedTheme = function () {
10463
10523
  var newTheme = {};
10464
10524
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newTheme, Themes[this.getFullThemeName("default")], Themes[this.getFullThemeName()]);
10465
10525
  if (this.survey["isCompact"]) {
10466
10526
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newTheme, Themes[this.getFullThemeName() + "-lw"]);
10467
10527
  }
10468
- if (saveChanges) {
10469
- Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newTheme, this.themeChanges);
10470
- }
10528
+ Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newTheme, this.themeChanges);
10471
10529
  this.currentTheme.cssVariables = newTheme;
10472
10530
  this.loadThemeIntoPropertyGrid(this.themeEditorSurvey);
10473
10531
  this.setThemeToSurvey();
10474
10532
  };
10475
10533
  ThemeSurveyTabViewModel.prototype.loadTheme = function (theme) {
10476
- this.themeName = theme["themeName"];
10477
- this.themePalette = theme["themePalette"];
10534
+ this.themeName = theme.themeName;
10535
+ this.themePalette = theme.themePalette;
10478
10536
  this.themeMode = theme.isCompact ? "lightweight" : undefined;
10479
10537
  this.backgroundImage = theme.backgroundImage;
10480
10538
  this.backgroundImageFit = theme.backgroundImageFit;
10539
+ this.backgroundImageAttachment = theme.backgroundImageAttachment;
10481
10540
  var fullThemeName = this.getFullThemeName();
10482
10541
  if (!Themes[fullThemeName]) {
10483
10542
  Themes[fullThemeName] = theme;
10484
10543
  var themeSelector = this.themeEditorSurvey.getQuestionByName("themeName");
10485
- themeSelector.choices = themeSelector.choices.concat(new survey_core__WEBPACK_IMPORTED_MODULE_2__["ItemValue"](theme["themeName"]));
10544
+ themeSelector.choices = themeSelector.choices.concat(new survey_core__WEBPACK_IMPORTED_MODULE_2__["ItemValue"](theme.themeName));
10486
10545
  }
10487
10546
  var themeVariables = {};
10488
10547
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(themeVariables, this.themeVariables, theme.cssVariables);
@@ -10612,6 +10671,10 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10612
10671
  }
10613
10672
  this.pageListItems = pages;
10614
10673
  };
10674
+ ThemeSurveyTabViewModel.prototype.resetTheme = function () {
10675
+ this.themeChanges = {};
10676
+ this.applySelectedTheme();
10677
+ };
10615
10678
  ThemeSurveyTabViewModel.prototype.show = function () {
10616
10679
  this.showInvisibleElements = false;
10617
10680
  this.activePage = this.survey.activePage;
@@ -10769,15 +10832,16 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10769
10832
  if (options.name === "themeMode") {
10770
10833
  _this.survey["isCompact"] = options.value === "lightweight";
10771
10834
  _this.currentTheme.isCompact = options.value === "lightweight";
10835
+ _this.applySelectedTheme();
10772
10836
  }
10773
10837
  else {
10774
- _this.currentTheme["themeName"] = _this.themeName;
10775
- _this.currentTheme["themePalette"] = _this.themePalette;
10838
+ _this.currentTheme.themeName = _this.themeName;
10839
+ _this.currentTheme.themePalette = _this.themePalette;
10840
+ _this.resetTheme();
10776
10841
  }
10777
- _this.applySelectedTheme(options.name === "themeMode");
10778
10842
  return;
10779
10843
  }
10780
- if (["backgroundImage", "backgroundImageFit"].indexOf(options.name) !== -1) {
10844
+ if (["backgroundImage", "backgroundImageFit", "backgroundImageAttachment"].indexOf(options.name) !== -1) {
10781
10845
  _this[options.name] = options.value;
10782
10846
  return;
10783
10847
  }
@@ -10795,12 +10859,12 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10795
10859
  _this.themeEditorSurvey.setValue("--sjs-primary-backcolor-dark", _this.colorCalculator.colorSettings.newColorDark);
10796
10860
  }
10797
10861
  if (options.name === "questionBackgroundTransparency" || options.name === "editorPanel") {
10798
- var baseColor = themeEditorSurvey.getValue("--sjs-general-backcolor-dim-light");
10862
+ var baseColor = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["parseColor"])(themeEditorSurvey.getValue("--sjs-general-backcolor-dim-light")).color;
10799
10863
  var questionBackgroundTransparencyValue = themeEditorSurvey.getValue("questionBackgroundTransparency");
10800
10864
  _this.themeChanges["--sjs-editor-background"] = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["ingectAlpha"])(baseColor, questionBackgroundTransparencyValue / 100);
10801
10865
  }
10802
10866
  if (options.name === "panelBackgroundTransparency" || options.name === "questionPanel") {
10803
- var baseColor = themeEditorSurvey.getValue("--sjs-general-backcolor");
10867
+ var baseColor = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["parseColor"])(themeEditorSurvey.getValue("--sjs-general-backcolor")).color;
10804
10868
  var panelBackgroundTransparencyValue = themeEditorSurvey.getValue("panelBackgroundTransparency");
10805
10869
  _this.themeChanges["--sjs-question-background"] = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["ingectAlpha"])(baseColor, panelBackgroundTransparencyValue / 100);
10806
10870
  }
@@ -10849,6 +10913,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10849
10913
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newCssVariables, this.currentTheme.cssVariables);
10850
10914
  themeEditorSurvey.getQuestionByName("backgroundImage").value = this.backgroundImage;
10851
10915
  themeEditorSurvey.getQuestionByName("backgroundImageFit").value = this.backgroundImageFit;
10916
+ themeEditorSurvey.getQuestionByName("backgroundImageAttachment").value = this.backgroundImageAttachment;
10852
10917
  themeEditorSurvey.getQuestionByName("questionPanel").contentPanel.getQuestionByName("backcolor").value = newCssVariables["--sjs-general-backcolor"];
10853
10918
  themeEditorSurvey.getQuestionByName("questionPanel").contentPanel.getQuestionByName("hovercolor").value = newCssVariables["--sjs-general-backcolor-dark"];
10854
10919
  themeEditorSurvey.getQuestionByName("editorPanel").contentPanel.getQuestionByName("backcolor").value = newCssVariables["--sjs-general-backcolor-dim-light"];
@@ -10858,7 +10923,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10858
10923
  themeEditorSurvey.getQuestionByName("questionTitle").contentPanel.getQuestionByName("color").value = newCssVariables["--sjs-general-forecolor"];
10859
10924
  themeEditorSurvey.getQuestionByName("questionDescription").contentPanel.getQuestionByName("color").value = newCssVariables["--sjs-general-forecolor-light"];
10860
10925
  themeEditorSurvey.getAllQuestions().forEach(function (question) {
10861
- if (["color"].indexOf(question.getType()) !== -1) {
10926
+ if (["color", "colorsettings"].indexOf(question.getType()) !== -1) {
10862
10927
  question.choices = Object.keys(PredefinedColors[_this.themePalette]).map(function (colorName) { return new survey_core__WEBPACK_IMPORTED_MODULE_2__["ItemValue"](PredefinedColors[_this.themePalette][colorName], Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.colors." + colorName)); });
10863
10928
  }
10864
10929
  });
@@ -10926,14 +10991,12 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10926
10991
  name: "--sjs-primary-backcolor",
10927
10992
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryColor"),
10928
10993
  descriptionLocation: "hidden",
10929
- defaultValue: "rgba(25, 179, 148, 1)"
10930
10994
  },
10931
10995
  {
10932
10996
  type: "color",
10933
10997
  name: "--sjs-general-backcolor-dim",
10934
10998
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.backgroundDimColor"),
10935
10999
  descriptionLocation: "hidden",
10936
- defaultValue: "rgba(243, 243, 243, 1)"
10937
11000
  },
10938
11001
  {
10939
11002
  type: "panel",
@@ -10958,6 +11021,16 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
10958
11021
  ],
10959
11022
  defaultValue: "cover"
10960
11023
  },
11024
+ {
11025
+ type: "buttongroup",
11026
+ name: "backgroundImageAttachment",
11027
+ titleLocation: "hidden",
11028
+ choices: [
11029
+ { value: "fixed", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.backgroundImageAttachmentFixed") },
11030
+ { value: "scroll", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.backgroundImageAttachmentScroll") }
11031
+ ],
11032
+ defaultValue: "scroll"
11033
+ },
10961
11034
  {
10962
11035
  type: "spinedit",
10963
11036
  name: "backgroundOpacity",
@@ -11074,34 +11147,30 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11074
11147
  name: "--sjs-general-backcolor-dim",
11075
11148
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.backgroundDimColor"),
11076
11149
  descriptionLocation: "hidden",
11077
- defaultValue: "rgba(243, 243, 243, 1)"
11078
11150
  }, {
11079
11151
  type: "panel",
11080
11152
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.accentBackground"),
11081
11153
  elements: [
11082
11154
  {
11083
- type: "color",
11155
+ type: "colorsettings",
11084
11156
  name: "--sjs-primary-backcolor",
11085
11157
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryDefaultColor"),
11086
11158
  titleLocation: "left",
11087
11159
  descriptionLocation: "hidden",
11088
- defaultValue: "rgba(25, 179, 148, 1)"
11089
11160
  },
11090
11161
  {
11091
- type: "color",
11162
+ type: "colorsettings",
11092
11163
  name: "--sjs-primary-backcolor-dark",
11093
11164
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryDarkColor"),
11094
11165
  titleLocation: "left",
11095
11166
  descriptionLocation: "hidden",
11096
- defaultValue: "rgba(20, 164, 139, 1)"
11097
11167
  },
11098
11168
  {
11099
- type: "color",
11169
+ type: "colorsettings",
11100
11170
  name: "--sjs-primary-backcolor-light",
11101
11171
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryLightColor"),
11102
11172
  titleLocation: "left",
11103
11173
  descriptionLocation: "hidden",
11104
- defaultValue: "rgba(232, 247, 244, 1)"
11105
11174
  }
11106
11175
  ]
11107
11176
  }, {
@@ -11109,20 +11178,18 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11109
11178
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.accentForeground"),
11110
11179
  elements: [
11111
11180
  {
11112
- type: "color",
11181
+ type: "colorsettings",
11113
11182
  name: "--sjs-primary-forecolor",
11114
11183
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryForecolor"),
11115
11184
  titleLocation: "left",
11116
11185
  descriptionLocation: "hidden",
11117
- defaultValue: "rgba(255, 255, 255, 1)"
11118
11186
  },
11119
11187
  {
11120
- type: "color",
11188
+ type: "colorsettings",
11121
11189
  name: "--sjs-primary-forecolor-light",
11122
11190
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryForecolorLight"),
11123
11191
  titleLocation: "left",
11124
11192
  descriptionLocation: "hidden",
11125
- defaultValue: "rgba(255, 255, 255, 1)"
11126
11193
  }
11127
11194
  ]
11128
11195
  }
@@ -11136,6 +11203,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11136
11203
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.surveyTitle"),
11137
11204
  descriptionLocation: "hidden",
11138
11205
  defaultValue: {
11206
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11139
11207
  color: "rgba(22, 22, 22, 1)",
11140
11208
  weight: "700",
11141
11209
  size: 32
@@ -11146,6 +11214,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11146
11214
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.pageTitle"),
11147
11215
  descriptionLocation: "hidden",
11148
11216
  defaultValue: {
11217
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11149
11218
  color: "rgba(22, 22, 22, 1)",
11150
11219
  weight: "700",
11151
11220
  size: 24
@@ -11156,7 +11225,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11156
11225
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.pageDescription"),
11157
11226
  descriptionLocation: "hidden",
11158
11227
  defaultValue: {
11228
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11159
11229
  color: "rgba(22, 22, 22, 1)",
11230
+ weight: "400",
11160
11231
  size: 16
11161
11232
  }
11162
11233
  }
@@ -11200,6 +11271,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11200
11271
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.questionTitle"),
11201
11272
  descriptionLocation: "hidden",
11202
11273
  defaultValue: {
11274
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11203
11275
  color: "rgba(22, 22, 22, 1)",
11204
11276
  weight: "600",
11205
11277
  size: 16,
@@ -11210,7 +11282,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11210
11282
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.questionDescription"),
11211
11283
  descriptionLocation: "hidden",
11212
11284
  defaultValue: {
11285
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11213
11286
  color: "rgba(22, 22, 22, 1)",
11287
+ weight: "400",
11214
11288
  size: 16
11215
11289
  }
11216
11290
  }
@@ -11253,7 +11327,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11253
11327
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.editorFont"),
11254
11328
  descriptionLocation: "hidden",
11255
11329
  defaultValue: {
11330
+ family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
11256
11331
  color: "rgba(22, 22, 22, 1)",
11332
+ weight: "400",
11257
11333
  size: 16
11258
11334
  }
11259
11335
  }
@@ -11265,20 +11341,18 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11265
11341
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.linesColors"),
11266
11342
  elements: [
11267
11343
  {
11268
- type: "color",
11344
+ type: "colorsettings",
11269
11345
  name: "--sjs-border-default",
11270
11346
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.borderDefault"),
11271
11347
  titleLocation: "left",
11272
11348
  descriptionLocation: "hidden",
11273
- defaultValue: "rgba(214, 214, 214, 1)"
11274
11349
  },
11275
11350
  {
11276
- type: "color",
11351
+ type: "colorsettings",
11277
11352
  name: "--sjs-border-light",
11278
11353
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.borderLight"),
11279
11354
  titleLocation: "left",
11280
11355
  descriptionLocation: "hidden",
11281
- defaultValue: "rgba(232, 232, 232, 1)"
11282
11356
  }
11283
11357
  ]
11284
11358
  }]
@@ -11335,21 +11409,37 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
11335
11409
  })
11336
11410
  ], ThemeSurveyTabViewModel.prototype, "activePage", void 0);
11337
11411
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
11338
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({ onSet: function (newValue, _target) {
11412
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
11413
+ onSet: function (newValue, _target) {
11339
11414
  if (!!_target.survey) {
11340
11415
  _target.survey.backgroundImage = newValue;
11341
11416
  }
11342
11417
  _target.currentTheme["backgroundImage"] = newValue;
11343
- } })
11418
+ }
11419
+ })
11344
11420
  ], ThemeSurveyTabViewModel.prototype, "backgroundImage", void 0);
11345
11421
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
11346
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "cover", onSet: function (newValue, _target) {
11422
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
11423
+ defaultValue: "cover",
11424
+ onSet: function (newValue, _target) {
11347
11425
  if (!!_target.survey) {
11348
11426
  _target.survey.backgroundImageFit = newValue;
11349
11427
  }
11350
11428
  _target.currentTheme["backgroundImageFit"] = newValue;
11351
- } })
11429
+ }
11430
+ })
11352
11431
  ], ThemeSurveyTabViewModel.prototype, "backgroundImageFit", void 0);
11432
+ Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
11433
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
11434
+ defaultValue: "scroll",
11435
+ onSet: function (newValue, _target) {
11436
+ if (!!_target.survey) {
11437
+ _target.survey.backgroundImageAttachment = newValue;
11438
+ }
11439
+ _target.currentTheme["backgroundImageAttachment"] = newValue;
11440
+ }
11441
+ })
11442
+ ], ThemeSurveyTabViewModel.prototype, "backgroundImageAttachment", void 0);
11353
11443
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
11354
11444
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "default" })
11355
11445
  ], ThemeSurveyTabViewModel.prototype, "themeName", void 0);
@@ -11823,7 +11913,6 @@ var translationCss = {
11823
11913
  root: "st-selectbase",
11824
11914
  small: "st-row__question--small",
11825
11915
  control: "st-input st-dropdown",
11826
- selectWrapper: "",
11827
11916
  other: "st-comment st-question__other",
11828
11917
  onError: "st-input--error",
11829
11918
  label: "st-selectbase__label",
@@ -13802,6 +13891,13 @@ var CreatorBase = /** @class */ (function (_super) {
13802
13891
  *- options.oldValue: the previous value of the changed property
13803
13892
  *- options.newValue: the new value of the changed property
13804
13893
  *
13894
+ *- options.type: "ELEMENT_REORDERED"
13895
+ *- options.arrayName: the name of the array property has been changed
13896
+ *- options.parent: the object containing the array property
13897
+ *- options.element: the element that changed the place in the array
13898
+ *- options.indexFrom: moved from index
13899
+ *- options.indexTo: moved to index
13900
+ *
13805
13901
  *- options.type: "OBJECT_DELETED"
13806
13902
  *- options.target: deleted object
13807
13903
  *
@@ -14701,7 +14797,10 @@ var CreatorBase = /** @class */ (function (_super) {
14701
14797
  });
14702
14798
  Object.defineProperty(CreatorBase.prototype, "showSidebar", {
14703
14799
  /**
14704
- * Set this this property grid false to hide the property grid.
14800
+ * Specifies whether to show the sidebar that displays Property Grid.
14801
+ *
14802
+ * Default value: `true`
14803
+ * @see sidebarLocation
14705
14804
  */
14706
14805
  get: function () {
14707
14806
  return this.showSidebarValue;
@@ -15398,6 +15497,10 @@ var CreatorBase = /** @class */ (function (_super) {
15398
15497
  options.type = "PROPERTY_CHANGED";
15399
15498
  this.setModified(options);
15400
15499
  };
15500
+ CreatorBase.prototype.notifySurveyItemMoved = function (options) {
15501
+ options.type = "ELEMENT_REORDERED";
15502
+ this.setModified(options);
15503
+ };
15401
15504
  /**
15402
15505
  * This function triggers user notification (via the alert() function if no onNotify event handler added).
15403
15506
  * @see onNotify
@@ -15496,6 +15599,7 @@ var CreatorBase = /** @class */ (function (_super) {
15496
15599
  }
15497
15600
  this.addNewElementReason = modifiedType;
15498
15601
  var currentRow = this.findRowByElement(selectedElement, parent);
15602
+ element.setVisibleIndex(-1);
15499
15603
  if (currentRow && this.isRowMultiline(currentRow)) {
15500
15604
  this.addElemenMultiline(parent, element, index, currentRow);
15501
15605
  }
@@ -16467,10 +16571,19 @@ var CreatorBase = /** @class */ (function (_super) {
16467
16571
  var itemText = this.getChoicesItemBaseTitle();
16468
16572
  return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_8__["getNextItemValue"])(itemText, question.choices);
16469
16573
  };
16470
- CreatorBase.prototype.createNewItemValue = function (question) {
16574
+ CreatorBase.prototype.createNewItemValue = function (question, callEvent, callback) {
16575
+ if (callEvent === void 0) { callEvent = true; }
16471
16576
  var nextValue = this.getNextItemValue(question);
16472
16577
  var res = question.createItemValue(nextValue);
16473
16578
  res.text = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_8__["getNextItemText"])(question.choices);
16579
+ question.choices.push(res);
16580
+ if (callback) {
16581
+ callback(res);
16582
+ }
16583
+ if (callEvent) {
16584
+ var propName = !!res.ownerPropertyName ? res.ownerPropertyName : "choices";
16585
+ this.onItemValueAddedCallback(question, propName, res, question.choices);
16586
+ }
16474
16587
  return res;
16475
16588
  };
16476
16589
  CreatorBase.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
@@ -17005,7 +17118,8 @@ var settings = {
17005
17118
  exportFileName: "survey_translation.csv"
17006
17119
  },
17007
17120
  theme: {
17008
- exportFileName: "survey_theme.json"
17121
+ exportFileName: "survey_theme.json",
17122
+ fontFamily: "Open Sans"
17009
17123
  },
17010
17124
  operators: {
17011
17125
  empty: [],
@@ -17248,6 +17362,8 @@ var QuestionColorModel = /** @class */ (function (_super) {
17248
17362
  return _this;
17249
17363
  }
17250
17364
  QuestionColorModel.prototype.getCorrectedValue = function (newValue) {
17365
+ if (newValue == undefined || newValue == null)
17366
+ return newValue;
17251
17367
  newValue = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["parseColor"])(newValue !== null && newValue !== void 0 ? newValue : "").color;
17252
17368
  newValue = (newValue.match(/#(\d|\w){1,6}/) || [DEFAULT_COLOR])[0];
17253
17369
  if (newValue.length === 4) {
@@ -17344,9 +17460,7 @@ var QuestionColorModel = /** @class */ (function (_super) {
17344
17460
  });
17345
17461
  QuestionColorModel.prototype.createDropdownAction = function () {
17346
17462
  var _this = this;
17347
- var action = Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["createDropdownActionModelAdvanced"])({
17348
- iconName: this.cssClasses.colorDropdownIcon
17349
- }, {
17463
+ var action = Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["createDropdownActionModelAdvanced"])({}, {
17350
17464
  onSelectionChanged: function (item) {
17351
17465
  _this.value = item.value;
17352
17466
  },
@@ -17358,15 +17472,23 @@ var QuestionColorModel = /** @class */ (function (_super) {
17358
17472
  });
17359
17473
  var popupModel = action.popupModel;
17360
17474
  var listModel = popupModel.contentComponentData.model;
17361
- listModel.cssClasses = {
17362
- itemBody: listModel.cssClasses.itemBody + " " + this.cssClasses.colorItem
17363
- };
17364
17475
  popupModel.setWidthByTarget = true;
17365
17476
  popupModel.positionMode = "fixed";
17366
17477
  listModel.isItemSelected = function (itemValue) { return itemValue.value == _this.value; };
17367
- action.cssClasses = { item: this.cssClasses.colorDropdown };
17368
17478
  return action;
17369
17479
  };
17480
+ QuestionColorModel.prototype.calcCssClasses = function (css) {
17481
+ var classes = _super.prototype.calcCssClasses.call(this, css);
17482
+ var dropdownAction = this.dropdownAction;
17483
+ dropdownAction.cssClasses = { item: classes.colorDropdown };
17484
+ dropdownAction.iconName = classes.colorDropdownIcon;
17485
+ var listModel = dropdownAction.popupModel.contentComponentData.model;
17486
+ listModel.cssClasses = {};
17487
+ listModel.cssClasses = {
17488
+ itemBody: listModel.cssClasses.itemBody + " " + classes.colorItem
17489
+ };
17490
+ return classes;
17491
+ };
17370
17492
  QuestionColorModel.prototype.updateChoices = function () {
17371
17493
  this.dropdownAction.popupModel.contentComponentData.model.setItems(this.choices);
17372
17494
  };
@@ -17526,6 +17648,9 @@ var QuestionSpinEditorModel = /** @class */ (function (_super) {
17526
17648
  _this.decrease();
17527
17649
  _this.decreaseTimer = setTimeout(_this.onDownButtonMouseDown, 200);
17528
17650
  };
17651
+ _this.onButtonMouseLeave = function () {
17652
+ _this.onButtonMouseUp();
17653
+ };
17529
17654
  _this.onButtonMouseUp = function () {
17530
17655
  clearTimeout(_this.decreaseTimer);
17531
17656
  clearTimeout(_this.increaseTimer);
@@ -17584,6 +17709,8 @@ var QuestionSpinEditorModel = /** @class */ (function (_super) {
17584
17709
  configurable: true
17585
17710
  });
17586
17711
  QuestionSpinEditorModel.prototype.correctValue = function (newValue) {
17712
+ if (newValue == undefined || newValue == null)
17713
+ return newValue;
17587
17714
  var renderedMax = Number(this.renderedMax);
17588
17715
  var renderedMin = Number(this.renderedMin);
17589
17716
  newValue = typeof newValue === "string" ? parseFloat(newValue) : newValue;
@@ -18156,7 +18283,7 @@ var __spreadArray = function (to, from) {
18156
18283
  /*!******************************!*\
18157
18284
  !*** ./src/entries/index.ts ***!
18158
18285
  \******************************/
18159
- /*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, createColor, createBoxShadow, parseBoxShadow, DefaultFonts, Themes, PredefinedThemes, PredefinedColors, ThemeSurveyTabViewModel, TabThemePlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, QuestionSpinEditorModel, QuestionColorModel, QuestionFileEditorModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridLinkEditor, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixRateValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, imageMimeTypes, getAcceptedTypesByContentMode, getQuestionFromObj, ingectAlpha, convertRgbaToString, parseRgbaFromString, parseColor, HSBToRGB, RGBToHSB, assign, ColorCalculator, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
18286
+ /*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, createColor, createBoxShadow, parseBoxShadow, DefaultFonts, Themes, PredefinedThemes, PredefinedColors, ThemeSurveyTabViewModel, TabThemePlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, QuestionSpinEditorModel, QuestionColorModel, QuestionFileEditorModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridLinkEditor, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixRateValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorkerError, SurveyTextWorkerParserError, SurveyTextWorkerJsonError, SurveyTextWorker, JsonDuplicateNameError, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, imageMimeTypes, getAcceptedTypesByContentMode, getQuestionFromObj, ingectAlpha, convertRgbaToString, parseRgbaFromString, parseColor, HSBToRGB, RGBToHSB, assign, ColorCalculator, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
18160
18287
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18161
18288
 
18162
18289
  "use strict";
@@ -18509,8 +18636,16 @@ __webpack_require__.r(__webpack_exports__);
18509
18636
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return _svgbundle__WEBPACK_IMPORTED_MODULE_57__["svgBundle"]; });
18510
18637
 
18511
18638
  /* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../textWorker */ "./src/textWorker.ts");
18639
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerError", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["SurveyTextWorkerError"]; });
18640
+
18641
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerParserError", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["SurveyTextWorkerParserError"]; });
18642
+
18643
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerJsonError", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["SurveyTextWorkerJsonError"]; });
18644
+
18512
18645
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["SurveyTextWorker"]; });
18513
18646
 
18647
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonDuplicateNameError", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["JsonDuplicateNameError"]; });
18648
+
18514
18649
  /* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
18515
18650
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxCategory", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_59__["QuestionToolboxCategory"]; });
18516
18651
 
@@ -18617,7 +18752,7 @@ __webpack_require__.r(__webpack_exports__);
18617
18752
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! survey-core */ "survey-core");
18618
18753
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_70__);
18619
18754
  var Version;
18620
- Version = "" + "1.9.95";
18755
+ Version = "" + "1.9.97";
18621
18756
  //should be loaded before other styles for easier override
18622
18757
  __webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
18623
18758
 
@@ -18706,7 +18841,7 @@ __webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
18706
18841
  __webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
18707
18842
 
18708
18843
  survey_core__WEBPACK_IMPORTED_MODULE_70__["settings"].supportCreatorV2 = true;
18709
- Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.95", "survey-creator-core");
18844
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.97", "survey-creator-core");
18710
18845
 
18711
18846
 
18712
18847
  /***/ }),
@@ -21747,6 +21882,8 @@ var enStrings = {
21747
21882
  "backgroundImageFitCover": "Cover",
21748
21883
  "backgroundImageFitContain": "Contain",
21749
21884
  "backgroundOpacity": "Opacity",
21885
+ "backgroundImageAttachmentFixed": "Fixed",
21886
+ "backgroundImageAttachmentScroll": "Scroll",
21750
21887
  "panelBackgroundTransparency": "Panel Background Transparency",
21751
21888
  "questionBackgroundTransparency": "Question Background Transparency",
21752
21889
  questionPanel: "Question Panel",
@@ -21783,6 +21920,8 @@ var enStrings = {
21783
21920
  opacity: "Opacity",
21784
21921
  boxShadowBlur: "Blur",
21785
21922
  boxShadowSpread: "Spread",
21923
+ boxShadowDrop: "Drop",
21924
+ boxShadowInner: "Inner",
21786
21925
  questionShadow: "Question Panel Border / Shadow",
21787
21926
  editorShadow: "Editor Border / Shadow",
21788
21927
  names: {
@@ -22094,6 +22233,8 @@ var UndoRedoController = /** @class */ (function (_super) {
22094
22233
  }
22095
22234
  this.undoRedoManager = new _undo_redo_manager__WEBPACK_IMPORTED_MODULE_3__["UndoRedoManager"]();
22096
22235
  this.undoRedoManager.changesFinishedCallback = function (actions, isUndo) {
22236
+ if (_this.notifySurveyMoveItem(actions, isUndo))
22237
+ return;
22097
22238
  for (var i = actions.length - 1; i >= 0; i--) {
22098
22239
  var action = actions[i];
22099
22240
  if (!!action) {
@@ -22111,6 +22252,34 @@ var UndoRedoController = /** @class */ (function (_super) {
22111
22252
  _this.updateUndeRedoActions();
22112
22253
  };
22113
22254
  };
22255
+ UndoRedoController.prototype.notifySurveyMoveItem = function (actions, isUndo) {
22256
+ if (actions.length !== 2)
22257
+ false;
22258
+ var act1 = actions[0];
22259
+ var act2 = actions[1];
22260
+ if (!act1 || !act2)
22261
+ return false;
22262
+ var changes1 = act1.getChanges(isUndo);
22263
+ var changes2 = act2.getChanges(isUndo);
22264
+ if (changes1.object !== changes2.object || changes1.propertyName !== changes2.propertyName)
22265
+ return false;
22266
+ var act1Del = act1.getDeletedElement(isUndo);
22267
+ var act1Ins = act1.getInsertedElement(isUndo);
22268
+ var act2Del = act2.getDeletedElement(isUndo);
22269
+ var act2Ins = act2.getInsertedElement(isUndo);
22270
+ if (act1Del === act1Ins || (act1Del !== act2Ins && act1Ins !== act2Del))
22271
+ return false;
22272
+ var indexFrom = act1Del ? act1.getIndex() : act2.getIndex();
22273
+ var indexTo = act1Ins ? act1.getIndex() : act2.getIndex();
22274
+ this.creator.notifySurveyItemMoved({
22275
+ arrayName: changes1.propertyName,
22276
+ parent: changes1.object,
22277
+ element: act1Del ? act1Del : act1Ins,
22278
+ indexFrom: !isUndo ? indexFrom : indexTo,
22279
+ indexTo: !isUndo ? indexTo : indexFrom
22280
+ });
22281
+ return true;
22282
+ };
22114
22283
  UndoRedoController.prototype.selectElementAfterUndo = function () {
22115
22284
  this.selectElementAfterUndoCore(this.creator.selectedElement);
22116
22285
  };
@@ -22244,7 +22413,7 @@ var UndoRedoManager = /** @class */ (function () {
22244
22413
  transaction.addAction(action);
22245
22414
  };
22246
22415
  UndoRedoManager.prototype.isCorrectProperty = function (sender, propertyName) {
22247
- var prop = survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].findProperty(sender.getType(), propertyName);
22416
+ var prop = survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].getOriginalProperty(sender, propertyName);
22248
22417
  return !!prop && prop.isSerializable;
22249
22418
  };
22250
22419
  UndoRedoManager.prototype.tryMergeTransaction = function (sender, propertyName, newValue) {
@@ -22429,10 +22598,13 @@ var UndoRedoAction = /** @class */ (function () {
22429
22598
  newValue: isUndo ? this._oldValue : this._newValue
22430
22599
  };
22431
22600
  };
22601
+ UndoRedoAction.prototype.getDeletedElement = function (isUndo) { return undefined; };
22602
+ UndoRedoAction.prototype.getInsertedElement = function (isUndo) { return undefined; };
22603
+ UndoRedoAction.prototype.getIndex = function () { return -1; };
22432
22604
  UndoRedoAction.prototype.tryMerge = function (sender, propertyName, newValue) {
22433
22605
  if (sender !== this._sender || propertyName !== this._propertyName || newValue == this._oldValue)
22434
22606
  return false;
22435
- var prop = survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].findProperty(sender.getType(), propertyName);
22607
+ var prop = survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].getOriginalProperty(sender, propertyName);
22436
22608
  if (!prop || (prop.type !== "string" && prop.type !== "text"))
22437
22609
  return false;
22438
22610
  if (new Date().getTime() - this.tickCount > UndoRedoAction.maximumMergeTime)
@@ -22474,6 +22646,15 @@ var UndoRedoArrayAction = /** @class */ (function () {
22474
22646
  newValue: this._itemsToAdd
22475
22647
  };
22476
22648
  };
22649
+ UndoRedoArrayAction.prototype.getDeletedElement = function (isUndo) { return this.getMovedElement(this._deletedItems, this._itemsToAdd, isUndo); };
22650
+ UndoRedoArrayAction.prototype.getInsertedElement = function (isUndo) { return this.getMovedElement(this._itemsToAdd, this._deletedItems, isUndo); };
22651
+ UndoRedoArrayAction.prototype.getIndex = function () { return this._index; };
22652
+ UndoRedoArrayAction.prototype.getMovedElement = function (items1, items2, isUndo) {
22653
+ var items = isUndo ? items2 : items1;
22654
+ if (Array.isArray(items) && items.length === 1)
22655
+ return items[0];
22656
+ return undefined;
22657
+ };
22477
22658
  UndoRedoArrayAction.prototype.tryMerge = function (sender, propertyName, newValue) {
22478
22659
  return false;
22479
22660
  };
@@ -22682,9 +22863,12 @@ var propertyGridCss = {
22682
22863
  small: "spg-row__question--small sd-row__question--small",
22683
22864
  control: "spg-input spg-dropdown sd-input sd-dropdown",
22684
22865
  filterStringInput: "sd-dropdown__filter-string-input spg-dropdown__filter-string-input",
22685
- selectWrapper: "",
22686
22866
  other: "spg-comment spg-question__other",
22687
- onError: "spg-input--error"
22867
+ onError: "spg-input--error",
22868
+ selectWrapper: "sv-dropdown_select-wrapper spg-dropdown_select-wrapper",
22869
+ chevronButton: "sd-dropdown_chevron-button spg-dropdown_chevron-button",
22870
+ chevronButtonSvg: "sd-dropdown_chevron-button-svg",
22871
+ chevronButtonIconId: "icon-chevron",
22688
22872
  },
22689
22873
  imagepicker: {
22690
22874
  root: "spg-imagepicker",
@@ -24704,6 +24888,12 @@ var PropertyGridEditorCollection = {
24704
24888
  res.onCreated(obj, question, prop, options);
24705
24889
  }
24706
24890
  },
24891
+ onSetup: function (obj, question, prop, options) {
24892
+ var res = this.getEditor(prop);
24893
+ if (!!res && !!res.onSetup) {
24894
+ res.onSetup(obj, question, prop, options);
24895
+ }
24896
+ },
24707
24897
  validateValue: function (obj, question, prop, value) {
24708
24898
  var res = this.getEditor(prop);
24709
24899
  if (!!res && !!res.validateValue) {
@@ -25219,6 +25409,9 @@ var PropertyGridModel = /** @class */ (function () {
25219
25409
  return;
25220
25410
  new PropertyJSONGenerator(this.obj, this.options).setupObjPanel(page, false);
25221
25411
  this.survey.addPage(page);
25412
+ this.survey.getAllQuestions().forEach(function (q) {
25413
+ PropertyGridEditorCollection.onSetup(_this.obj, q, q.property, _this.options);
25414
+ });
25222
25415
  this.survey.checkErrorsMode = "onValueChanging";
25223
25416
  this.survey.onValueChanged.add(function (sender, options) {
25224
25417
  _this.onValueChanged(options);
@@ -26198,6 +26391,13 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
26198
26391
  };
26199
26392
  this.setupMatrixQuestion(obj, question, prop);
26200
26393
  };
26394
+ PropertyGridEditorMatrix.prototype.onSetup = function (obj, question, prop, options) {
26395
+ var matrix = question;
26396
+ if (matrix.allowRowsDragAndDrop && matrix.dragDropMatrixRows) {
26397
+ matrix.dragDropMatrixRows.onDragStart.add(function () { options.startUndoRedoTransaction(); });
26398
+ matrix.dragDropMatrixRows.onDragEnd.add(function () { options.stopUndoRedoTransaction(); });
26399
+ }
26400
+ };
26201
26401
  PropertyGridEditorMatrix.prototype.initializeAcceptedTypes = function (obj, cellQuestion) {
26202
26402
  if (obj.getType() === "imagepicker" && cellQuestion.name == "imageLink" && cellQuestion.getType() == "fileedit") {
26203
26403
  obj.registerFunctionOnPropertyValueChanged("contentMode", function (newValue) {
@@ -30093,12 +30293,16 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["SvgRegistry"].registerIconsFromFolder(
30093
30293
  /*!***************************!*\
30094
30294
  !*** ./src/textWorker.ts ***!
30095
30295
  \***************************/
30096
- /*! exports provided: SurveyTextWorker */
30296
+ /*! exports provided: SurveyTextWorkerError, SurveyTextWorkerParserError, SurveyTextWorkerJsonError, SurveyTextWorker, JsonDuplicateNameError */
30097
30297
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
30098
30298
 
30099
30299
  "use strict";
30100
30300
  __webpack_require__.r(__webpack_exports__);
30301
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerError", function() { return SurveyTextWorkerError; });
30302
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerParserError", function() { return SurveyTextWorkerParserError; });
30303
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorkerJsonError", function() { return SurveyTextWorkerJsonError; });
30101
30304
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return SurveyTextWorker; });
30305
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JsonDuplicateNameError", function() { return JsonDuplicateNameError; });
30102
30306
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
30103
30307
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
30104
30308
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
@@ -30116,6 +30320,68 @@ var SurveyForTextWorker = /** @class */ (function (_super) {
30116
30320
  }
30117
30321
  return SurveyForTextWorker;
30118
30322
  }(survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"]));
30323
+ var SurveyTextWorkerError = /** @class */ (function () {
30324
+ function SurveyTextWorkerError(at, text) {
30325
+ this.at = at;
30326
+ this.text = text;
30327
+ this.rowAt = -1;
30328
+ this.columnAt = -1;
30329
+ }
30330
+ return SurveyTextWorkerError;
30331
+ }());
30332
+
30333
+ var SurveyTextWorkerParserError = /** @class */ (function (_super) {
30334
+ Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SurveyTextWorkerParserError, _super);
30335
+ function SurveyTextWorkerParserError() {
30336
+ return _super !== null && _super.apply(this, arguments) || this;
30337
+ }
30338
+ SurveyTextWorkerParserError.prototype.getErrorType = function () { return "parseerror"; };
30339
+ return SurveyTextWorkerParserError;
30340
+ }(SurveyTextWorkerError));
30341
+
30342
+ var SurveyTextWorkerJsonError = /** @class */ (function (_super) {
30343
+ Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SurveyTextWorkerJsonError, _super);
30344
+ function SurveyTextWorkerJsonError(jsonError) {
30345
+ var _this = _super.call(this, jsonError.at, jsonError.getFullDescription()) || this;
30346
+ _this.elementStart = jsonError.at;
30347
+ _this.elementEnd = jsonError.end;
30348
+ //this.element = jsonError.element;
30349
+ _this.errorType = jsonError.type;
30350
+ _this.propertyName = jsonError["propertyName"];
30351
+ return _this;
30352
+ }
30353
+ SurveyTextWorkerJsonError.prototype.getErrorType = function () { return this.errorType; };
30354
+ SurveyTextWorkerJsonError.prototype.correctAt = function (text) {
30355
+ if (this.at < 0)
30356
+ return;
30357
+ if (this.propertyName && this.errorType === "unknownproperty") {
30358
+ this.at = this.getCorrectAtForUnknowProperty(text);
30359
+ }
30360
+ if (this.errorType === "duplicatename") {
30361
+ this.at = this.getCorrectAtForDuplicateName(text);
30362
+ }
30363
+ };
30364
+ SurveyTextWorkerJsonError.prototype.getCorrectAtForUnknowProperty = function (text) {
30365
+ var newAt = this.getNewIndex(text, this.propertyName);
30366
+ return newAt > -1 ? newAt : this.at;
30367
+ };
30368
+ SurveyTextWorkerJsonError.prototype.getCorrectAtForDuplicateName = function (text) {
30369
+ var newAt = this.getNewIndex(text, "name:");
30370
+ if (newAt < 0) {
30371
+ newAt = this.getNewIndex(text, "\"name\":");
30372
+ }
30373
+ return newAt > -1 ? newAt : this.at;
30374
+ };
30375
+ SurveyTextWorkerJsonError.prototype.getNewIndex = function (text, findText) {
30376
+ var index = text.indexOf(findText, this.at);
30377
+ if (index > -1 && (this.elementEnd < 0 || index < this.elementEnd)) {
30378
+ return index;
30379
+ }
30380
+ return -1;
30381
+ };
30382
+ return SurveyTextWorkerJsonError;
30383
+ }(SurveyTextWorkerError));
30384
+
30119
30385
  var SurveyTextWorker = /** @class */ (function () {
30120
30386
  function SurveyTextWorker(text) {
30121
30387
  this.text = text;
@@ -30140,32 +30406,27 @@ var SurveyTextWorker = /** @class */ (function () {
30140
30406
  configurable: true
30141
30407
  });
30142
30408
  SurveyTextWorker.prototype.process = function () {
30409
+ var _this = this;
30143
30410
  try {
30144
30411
  this.jsonValue = new _json5__WEBPACK_IMPORTED_MODULE_2__["SurveyJSON5"](1).parse(this.text);
30145
30412
  }
30146
30413
  catch (error) {
30147
- this.errors.push({
30148
- pos: { start: error.at, end: -1 },
30149
- text: error.message,
30150
- });
30414
+ this.errors.push(new SurveyTextWorkerParserError(error.at, error.message));
30151
30415
  }
30152
30416
  if (this.jsonValue != null) {
30153
30417
  this.updateJsonPositions(this.jsonValue);
30154
- var pureJsonValue = new _json5__WEBPACK_IMPORTED_MODULE_2__["SurveyJSON5"]().parse(this.text);
30155
- this.surveyValue = new SurveyForTextWorker(pureJsonValue);
30156
- if (this.surveyValue.jsonErrors != null) {
30157
- for (var i = 0; i < this.surveyValue.jsonErrors.length; i++) {
30158
- var error = this.surveyValue.jsonErrors[i];
30159
- this.errors.push({
30160
- pos: { start: error.at, end: -1 },
30161
- text: error.getFullDescription(),
30162
- });
30418
+ this.surveyValue = new SurveyForTextWorker(this.jsonValue);
30419
+ var jsonErrors = this.surveyValue.jsonErrors;
30420
+ if (Array.isArray(jsonErrors)) {
30421
+ for (var i = 0; i < jsonErrors.length; i++) {
30422
+ var error = new SurveyTextWorkerJsonError(jsonErrors[i]);
30423
+ error.correctAt(this.text);
30424
+ this.errors.push(error);
30163
30425
  }
30164
30426
  }
30427
+ this.getDuplicatedNamesErrors().forEach(function (error) { return _this.errors.push(error); });
30165
30428
  }
30166
- this.surveyObjects = this.createSurveyObjects();
30167
- this.setEditorPositionByChartAt(this.surveyObjects);
30168
- this.setEditorPositionByChartAt(this.errors);
30429
+ this.setErrorsPositionByChartAt();
30169
30430
  };
30170
30431
  SurveyTextWorker.prototype.updateJsonPositions = function (jsonObj) {
30171
30432
  jsonObj["pos"]["self"] = jsonObj;
@@ -30177,41 +30438,25 @@ var SurveyTextWorker = /** @class */ (function () {
30177
30438
  }
30178
30439
  }
30179
30440
  };
30180
- SurveyTextWorker.prototype.createSurveyObjects = function () {
30181
- var result = [];
30182
- if (this.surveyValue == null)
30183
- return result;
30184
- for (var i = 0; i < this.surveyValue.pages.length; i++) {
30185
- var page = this.surveyValue.pages[i];
30186
- if (i == 0 && !page["pos"]) {
30187
- page["pos"] = this.surveyValue["pos"];
30188
- }
30189
- result.push(page);
30190
- for (var j = 0; j < page.questions.length; j++) {
30191
- result.push(page.questions[j]);
30192
- }
30193
- }
30194
- return result;
30195
- };
30196
- SurveyTextWorker.prototype.setEditorPositionByChartAt = function (objects) {
30197
- if (objects == null || objects.length == 0)
30441
+ SurveyTextWorker.prototype.setErrorsPositionByChartAt = function () {
30442
+ if (this.errors.length === 0)
30198
30443
  return;
30444
+ this.errors.sort(function (el1, el2) {
30445
+ if (el1.at > el2.at)
30446
+ return 1;
30447
+ if (el1.at < el2.at)
30448
+ return -1;
30449
+ return 0;
30450
+ });
30199
30451
  var position = { row: 0, column: 0 };
30200
- var atObjectsArray = this.getAtArray(objects);
30201
30452
  var startAt = 0;
30202
- for (var i = 0; i < atObjectsArray.length; i++) {
30203
- var at = atObjectsArray[i].at;
30453
+ for (var i = 0; i < this.errors.length; i++) {
30454
+ var at = this.errors[i].at;
30204
30455
  position = this.getPostionByChartAt(position, startAt, at);
30205
- var obj = atObjectsArray[i].obj;
30206
- if (!obj.position)
30207
- obj.position = {};
30208
- if (at == obj.pos.start) {
30209
- obj.position.start = position;
30210
- }
30211
- else {
30212
- if (at == obj.pos.end) {
30213
- obj.position.end = position;
30214
- }
30456
+ var error = this.errors[i];
30457
+ if (at == error.at) {
30458
+ error.columnAt = position.column;
30459
+ error.rowAt = position.row;
30215
30460
  }
30216
30461
  startAt = at;
30217
30462
  }
@@ -30231,29 +30476,58 @@ var SurveyTextWorker = /** @class */ (function () {
30231
30476
  }
30232
30477
  return result;
30233
30478
  };
30234
- SurveyTextWorker.prototype.getAtArray = function (objects) {
30235
- var result = [];
30236
- for (var i = 0; i < objects.length; i++) {
30237
- var obj = objects[i];
30238
- var pos = obj.pos;
30239
- if (!pos)
30240
- continue;
30241
- result.push({ at: pos.start, obj: obj });
30242
- if (pos.end > 0) {
30243
- result.push({ at: pos.end, obj: obj });
30244
- }
30245
- }
30246
- return result.sort(function (el1, el2) {
30247
- if (el1.at > el2.at)
30248
- return 1;
30249
- if (el1.at < el2.at)
30250
- return -1;
30251
- return 0;
30479
+ SurveyTextWorker.prototype.getDuplicatedNamesErrors = function () {
30480
+ var _this = this;
30481
+ var res = [];
30482
+ this.getDuplicatedElements().forEach(function (el) {
30483
+ var error = new SurveyTextWorkerJsonError(_this.createDuplicatedError(el));
30484
+ error.correctAt(_this.text);
30485
+ if (error)
30486
+ res.push(error);
30252
30487
  });
30488
+ return res;
30489
+ };
30490
+ SurveyTextWorker.prototype.getDuplicatedElements = function () {
30491
+ var _this = this;
30492
+ var res = [];
30493
+ var names = {};
30494
+ this.survey.pages.forEach(function (p) { return _this.checkDuplicatedElement(p, names, res); });
30495
+ this.survey.getAllPanels().forEach(function (p) { return _this.checkDuplicatedElement(p, names, res); });
30496
+ this.survey.getAllQuestions().forEach(function (q) { return _this.checkDuplicatedElement(q, names, res); });
30497
+ return res;
30498
+ };
30499
+ SurveyTextWorker.prototype.checkDuplicatedElement = function (el, names, duplicates) {
30500
+ var name = el["name"];
30501
+ if (names[name]) {
30502
+ duplicates.push(el);
30503
+ }
30504
+ else {
30505
+ names[name] = true;
30506
+ }
30507
+ };
30508
+ SurveyTextWorker.prototype.createDuplicatedError = function (el) {
30509
+ var pos = el["pos"];
30510
+ if (!pos)
30511
+ return undefined;
30512
+ var error = new survey_core__WEBPACK_IMPORTED_MODULE_1__["JsonError"]("duplicatename", "The name: '" + el["name"] + "' is duplicated.");
30513
+ error.at = pos.start;
30514
+ error.end = pos.end;
30515
+ error.element = el;
30516
+ return error;
30253
30517
  };
30254
30518
  return SurveyTextWorker;
30255
30519
  }());
30256
30520
 
30521
+ var JsonDuplicateNameError = /** @class */ (function (_super) {
30522
+ Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(JsonDuplicateNameError, _super);
30523
+ function JsonDuplicateNameError(el) {
30524
+ var _this = _super.call(this, "duplicatename", "The name: '" + el["name"] + "' is duplicated.") || this;
30525
+ _this.element = el;
30526
+ return _this;
30527
+ }
30528
+ return JsonDuplicateNameError;
30529
+ }(survey_core__WEBPACK_IMPORTED_MODULE_1__["JsonError"]));
30530
+
30257
30531
 
30258
30532
 
30259
30533
  /***/ }),