survey-creator-core 1.9.96 → 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.
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +12 -2
- package/survey-creator-core.fontless.css +11 -1
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +3 -3
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +355 -132
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +4 -4
- package/survey-creator-core.min.js +2 -2
- package/typings/components/string-editor.d.ts +1 -1
- package/typings/components/tabs/logic-theme.d.ts +3 -0
- package/typings/components/tabs/theme.d.ts +6 -1
- package/typings/components/tabs/translation-theme.d.ts +0 -1
- package/typings/creator-base.d.ts +14 -3
- package/typings/creator-settings.d.ts +1 -0
- package/typings/custom-questions/question-spin-editor.d.ts +1 -0
- package/typings/editorLocalization.d.ts +4 -0
- package/typings/localization/english.d.ts +4 -0
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +1 -0
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +7 -0
- package/typings/property-grid/index.d.ts +2 -0
- package/typings/property-grid/matrices.d.ts +1 -0
- package/typings/property-grid-theme/property-grid.d.ts +4 -1
- package/typings/textWorker.d.ts +33 -6
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
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
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
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) {
|
|
@@ -2004,16 +1999,21 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2004
1999
|
QuestionImageAdornerViewModel.prototype.initFilePresentationModel = function () {
|
|
2005
2000
|
var _this = this;
|
|
2006
2001
|
this.filePresentationModel = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].createClass("file", { name: this.question.name });
|
|
2007
|
-
this.
|
|
2002
|
+
var surveyModel = this.question.getSurvey();
|
|
2003
|
+
this.filePresentationModel.setSurveyImpl(surveyModel);
|
|
2008
2004
|
this.filePresentationModel.forceIsInputReadOnly = !this.creator.isCanModifyProperty(this.question, "imageLink");
|
|
2009
2005
|
this.filePresentationModel.dragAreaPlaceholder = this.placeholderText;
|
|
2010
2006
|
this.filePresentationModel.chooseButtonCaption = this.chooseImageText;
|
|
2011
2007
|
this.filePresentationModel.acceptedTypes = "image/*";
|
|
2012
|
-
this.filePresentationModel.
|
|
2013
|
-
|
|
2014
|
-
|
|
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
|
+
});
|
|
2015
2015
|
}
|
|
2016
|
-
};
|
|
2016
|
+
});
|
|
2017
2017
|
};
|
|
2018
2018
|
QuestionImageAdornerViewModel.prototype.chooseFile = function (model) {
|
|
2019
2019
|
var fileInput = model.questionRoot.getElementsByClassName("svc-choose-file-input")[0];
|
|
@@ -3690,10 +3690,16 @@ var StringItemsNavigatorBase = /** @class */ (function () {
|
|
|
3690
3690
|
return null;
|
|
3691
3691
|
};
|
|
3692
3692
|
StringItemsNavigatorBase.prototype.addNewItems = function (items, startIndex, itemsToAdd) {
|
|
3693
|
-
var
|
|
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));
|
|
3694
3700
|
this.question[this.getItemsPropertyName(items)] = newItems;
|
|
3695
3701
|
};
|
|
3696
|
-
StringItemsNavigatorBase.prototype.setEventsForItem = function (items, item) {
|
|
3702
|
+
StringItemsNavigatorBase.prototype.setEventsForItem = function (creator, items, item) {
|
|
3697
3703
|
var _this = this;
|
|
3698
3704
|
var connector = StringEditorConnector.get(this.getItemLocString(items, item));
|
|
3699
3705
|
connector.onEditComplete.clear();
|
|
@@ -3703,7 +3709,7 @@ var StringItemsNavigatorBase = /** @class */ (function () {
|
|
|
3703
3709
|
StringEditorConnector.get(_this.getItemLocString(items, items[itemIndex + 1])).activateEditor();
|
|
3704
3710
|
}
|
|
3705
3711
|
if (itemIndex == items.length - 1) {
|
|
3706
|
-
_this.addNewItem(items);
|
|
3712
|
+
_this.addNewItem(creator, items);
|
|
3707
3713
|
StringEditorConnector.get(_this.getItemLocString(items, items[items.length - 1])).setAutoFocus();
|
|
3708
3714
|
StringEditorConnector.get(_this.getItemLocString(items, items[items.length - 1])).activateEditor();
|
|
3709
3715
|
}
|
|
@@ -3744,6 +3750,7 @@ var StringItemsNavigatorBase = /** @class */ (function () {
|
|
|
3744
3750
|
var question = questionAdorner.element;
|
|
3745
3751
|
var navigator = StringItemsNavigatorBase.createItemsNavigator(question);
|
|
3746
3752
|
if (navigator) {
|
|
3753
|
+
var creator_1 = questionAdorner.creator;
|
|
3747
3754
|
var titleConnector = StringEditorConnector.get(question.locTitle);
|
|
3748
3755
|
var allItemSets = navigator.getItemSets();
|
|
3749
3756
|
var activeChoices_1 = allItemSets[0];
|
|
@@ -3756,13 +3763,13 @@ var StringItemsNavigatorBase = /** @class */ (function () {
|
|
|
3756
3763
|
}
|
|
3757
3764
|
allItemSets.forEach(function (activeChoices) {
|
|
3758
3765
|
activeChoices.forEach(function (item) {
|
|
3759
|
-
navigator.setEventsForItem(activeChoices, item);
|
|
3766
|
+
navigator.setEventsForItem(creator_1, activeChoices, item);
|
|
3760
3767
|
});
|
|
3761
3768
|
var itemsPropertyName = navigator.getItemsPropertyName(activeChoices);
|
|
3762
3769
|
question.onPropertyChanged.add(function (sender, options) {
|
|
3763
3770
|
if (options.name == itemsPropertyName) {
|
|
3764
3771
|
activeChoices.forEach(function (item) {
|
|
3765
|
-
navigator.setEventsForItem(activeChoices, item);
|
|
3772
|
+
navigator.setEventsForItem(creator_1, activeChoices, item);
|
|
3766
3773
|
});
|
|
3767
3774
|
}
|
|
3768
3775
|
});
|
|
@@ -3784,9 +3791,11 @@ var StringItemsNavigatorSelectBase = /** @class */ (function (_super) {
|
|
|
3784
3791
|
StringItemsNavigatorSelectBase.prototype.getItemSets = function () {
|
|
3785
3792
|
return [this.question.choices];
|
|
3786
3793
|
};
|
|
3787
|
-
StringItemsNavigatorSelectBase.prototype.addNewItem = function (items, text) {
|
|
3794
|
+
StringItemsNavigatorSelectBase.prototype.addNewItem = function (creator, items, text) {
|
|
3788
3795
|
if (text === void 0) { text = null; }
|
|
3789
|
-
|
|
3796
|
+
var itemValue = creator.createNewItemValue(this.question);
|
|
3797
|
+
if (!!text)
|
|
3798
|
+
itemValue.value = text;
|
|
3790
3799
|
};
|
|
3791
3800
|
StringItemsNavigatorSelectBase.prototype.getItemsPropertyName = function (items) {
|
|
3792
3801
|
return "choices";
|
|
@@ -3804,7 +3813,7 @@ var StringItemsNavigatorMultipleText = /** @class */ (function (_super) {
|
|
|
3804
3813
|
StringItemsNavigatorMultipleText.prototype.getItemSets = function () {
|
|
3805
3814
|
return [this.question.items];
|
|
3806
3815
|
};
|
|
3807
|
-
StringItemsNavigatorMultipleText.prototype.addNewItem = function (items, text) {
|
|
3816
|
+
StringItemsNavigatorMultipleText.prototype.addNewItem = function (creator, items, text) {
|
|
3808
3817
|
if (text === void 0) { text = null; }
|
|
3809
3818
|
this.question.addItem(text || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getNextValue"])("text", items.map(function (i) { return i.name; })));
|
|
3810
3819
|
};
|
|
@@ -3828,7 +3837,7 @@ var StringItemsNavigatorMatrix = /** @class */ (function (_super) {
|
|
|
3828
3837
|
StringItemsNavigatorMatrix.prototype.getItemSets = function () {
|
|
3829
3838
|
return [this.question.columns, this.question.rows];
|
|
3830
3839
|
};
|
|
3831
|
-
StringItemsNavigatorMatrix.prototype.addNewItem = function (items, text) {
|
|
3840
|
+
StringItemsNavigatorMatrix.prototype.addNewItem = function (creator, items, text) {
|
|
3832
3841
|
if (text === void 0) { text = null; }
|
|
3833
3842
|
if (items == this.question.columns)
|
|
3834
3843
|
this.question.addColumn(text || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getNextValue"])("Column ", items.map(function (i) { return i.value; })));
|
|
@@ -5101,8 +5110,8 @@ var AceJsonEditorModel = /** @class */ (function (_super) {
|
|
|
5101
5110
|
for (var i = 0; i < errors.length; i++) {
|
|
5102
5111
|
var error = errors[i];
|
|
5103
5112
|
var annotation = {
|
|
5104
|
-
row: error.
|
|
5105
|
-
column: error.
|
|
5113
|
+
row: error.rowAt,
|
|
5114
|
+
column: error.columnAt,
|
|
5106
5115
|
text: error.text,
|
|
5107
5116
|
type: "error"
|
|
5108
5117
|
};
|
|
@@ -7338,6 +7347,9 @@ var logicCss = {
|
|
|
7338
7347
|
controlLabel: "",
|
|
7339
7348
|
materialDecorator: "",
|
|
7340
7349
|
controlValue: "sl-dropdown__value",
|
|
7350
|
+
chevronButton: "",
|
|
7351
|
+
chevronButtonSvg: "",
|
|
7352
|
+
chevronButtonIconId: "",
|
|
7341
7353
|
},
|
|
7342
7354
|
imagepicker: {
|
|
7343
7355
|
root: "",
|
|
@@ -9844,7 +9856,7 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__["ComponentCollection"].Instance.add({
|
|
|
9844
9856
|
"type": "buttongroup",
|
|
9845
9857
|
"name": "isInset",
|
|
9846
9858
|
"titleLocation": "hidden",
|
|
9847
|
-
"choices": [{ text: "
|
|
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 }]
|
|
9848
9860
|
}
|
|
9849
9861
|
]
|
|
9850
9862
|
},
|
|
@@ -9930,9 +9942,13 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
|
|
|
9930
9942
|
onPropertyChanged: function (question, propertyName, newValue) {
|
|
9931
9943
|
syncPropertiesFromCompositeToColor(question, propertyName, newValue);
|
|
9932
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
|
+
},
|
|
9933
9951
|
onCreated: function (question) {
|
|
9934
|
-
question.valueFromDataCallback = function (newValue) { return typeof newValue == "string" ? Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["parseColor"])(newValue) : newValue; };
|
|
9935
|
-
question.valueToDataCallback = function (newValue) { return !!newValue ? (typeof newValue == "string" ? newValue : createColor(newValue)) : ""; };
|
|
9936
9952
|
question.contentPanel.questions.forEach(function (q) { return q.allowRootStyle = false; });
|
|
9937
9953
|
}
|
|
9938
9954
|
});
|
|
@@ -9978,14 +9994,14 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
|
|
|
9978
9994
|
showInToolbox: false,
|
|
9979
9995
|
elementsJSON: [
|
|
9980
9996
|
{
|
|
9981
|
-
type: "
|
|
9997
|
+
type: "colorsettings",
|
|
9982
9998
|
name: "backcolor",
|
|
9983
9999
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.backcolor"),
|
|
9984
10000
|
titleLocation: "left",
|
|
9985
10001
|
descriptionLocation: "hidden"
|
|
9986
10002
|
},
|
|
9987
10003
|
{
|
|
9988
|
-
type: "
|
|
10004
|
+
type: "colorsettings",
|
|
9989
10005
|
name: "hovercolor",
|
|
9990
10006
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.hovercolor"),
|
|
9991
10007
|
titleLocation: "left",
|
|
@@ -9998,13 +10014,12 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
|
|
|
9998
10014
|
titleLocation: "left",
|
|
9999
10015
|
descriptionLocation: "hidden",
|
|
10000
10016
|
unit: "px",
|
|
10001
|
-
defaultValue: 4,
|
|
10002
10017
|
min: 0
|
|
10003
10018
|
},
|
|
10004
10019
|
{
|
|
10005
10020
|
type: "expression",
|
|
10006
10021
|
name: "cornerRadius",
|
|
10007
|
-
expression: "{composite.corner}
|
|
10022
|
+
expression: "iif({composite.corner} notempty, {composite.corner} + 'px', '')",
|
|
10008
10023
|
visible: false
|
|
10009
10024
|
}
|
|
10010
10025
|
],
|
|
@@ -10057,7 +10072,6 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
|
|
|
10057
10072
|
titleLocation: "left",
|
|
10058
10073
|
descriptionLocation: "hidden",
|
|
10059
10074
|
choices: [].concat(DefaultFonts),
|
|
10060
|
-
defaultValue: "Open Sans",
|
|
10061
10075
|
allowClear: false
|
|
10062
10076
|
},
|
|
10063
10077
|
{
|
|
@@ -10071,14 +10085,12 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["ComponentCollection"].Instance.add({
|
|
|
10071
10085
|
{ value: "600", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.fontWeightBold") },
|
|
10072
10086
|
{ value: "700", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.fontWeightHeavy") },
|
|
10073
10087
|
],
|
|
10074
|
-
defaultValue: "400"
|
|
10075
10088
|
},
|
|
10076
10089
|
{
|
|
10077
|
-
type: "
|
|
10090
|
+
type: "colorsettings",
|
|
10078
10091
|
name: "color",
|
|
10079
10092
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_1__["getLocString"])("theme.color"),
|
|
10080
10093
|
titleLocation: "left",
|
|
10081
|
-
// choices: ["#00FFFF", "#00FFFF"],
|
|
10082
10094
|
descriptionLocation: "hidden"
|
|
10083
10095
|
},
|
|
10084
10096
|
{
|
|
@@ -10519,16 +10531,17 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
10519
10531
|
this.setThemeToSurvey();
|
|
10520
10532
|
};
|
|
10521
10533
|
ThemeSurveyTabViewModel.prototype.loadTheme = function (theme) {
|
|
10522
|
-
this.themeName = theme
|
|
10523
|
-
this.themePalette = theme
|
|
10534
|
+
this.themeName = theme.themeName;
|
|
10535
|
+
this.themePalette = theme.themePalette;
|
|
10524
10536
|
this.themeMode = theme.isCompact ? "lightweight" : undefined;
|
|
10525
10537
|
this.backgroundImage = theme.backgroundImage;
|
|
10526
10538
|
this.backgroundImageFit = theme.backgroundImageFit;
|
|
10539
|
+
this.backgroundImageAttachment = theme.backgroundImageAttachment;
|
|
10527
10540
|
var fullThemeName = this.getFullThemeName();
|
|
10528
10541
|
if (!Themes[fullThemeName]) {
|
|
10529
10542
|
Themes[fullThemeName] = theme;
|
|
10530
10543
|
var themeSelector = this.themeEditorSurvey.getQuestionByName("themeName");
|
|
10531
|
-
themeSelector.choices = themeSelector.choices.concat(new survey_core__WEBPACK_IMPORTED_MODULE_2__["ItemValue"](theme
|
|
10544
|
+
themeSelector.choices = themeSelector.choices.concat(new survey_core__WEBPACK_IMPORTED_MODULE_2__["ItemValue"](theme.themeName));
|
|
10532
10545
|
}
|
|
10533
10546
|
var themeVariables = {};
|
|
10534
10547
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(themeVariables, this.themeVariables, theme.cssVariables);
|
|
@@ -10822,13 +10835,13 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
10822
10835
|
_this.applySelectedTheme();
|
|
10823
10836
|
}
|
|
10824
10837
|
else {
|
|
10825
|
-
_this.currentTheme
|
|
10826
|
-
_this.currentTheme
|
|
10838
|
+
_this.currentTheme.themeName = _this.themeName;
|
|
10839
|
+
_this.currentTheme.themePalette = _this.themePalette;
|
|
10827
10840
|
_this.resetTheme();
|
|
10828
10841
|
}
|
|
10829
10842
|
return;
|
|
10830
10843
|
}
|
|
10831
|
-
if (["backgroundImage", "backgroundImageFit"].indexOf(options.name) !== -1) {
|
|
10844
|
+
if (["backgroundImage", "backgroundImageFit", "backgroundImageAttachment"].indexOf(options.name) !== -1) {
|
|
10832
10845
|
_this[options.name] = options.value;
|
|
10833
10846
|
return;
|
|
10834
10847
|
}
|
|
@@ -10846,12 +10859,12 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
10846
10859
|
_this.themeEditorSurvey.setValue("--sjs-primary-backcolor-dark", _this.colorCalculator.colorSettings.newColorDark);
|
|
10847
10860
|
}
|
|
10848
10861
|
if (options.name === "questionBackgroundTransparency" || options.name === "editorPanel") {
|
|
10849
|
-
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;
|
|
10850
10863
|
var questionBackgroundTransparencyValue = themeEditorSurvey.getValue("questionBackgroundTransparency");
|
|
10851
10864
|
_this.themeChanges["--sjs-editor-background"] = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["ingectAlpha"])(baseColor, questionBackgroundTransparencyValue / 100);
|
|
10852
10865
|
}
|
|
10853
10866
|
if (options.name === "panelBackgroundTransparency" || options.name === "questionPanel") {
|
|
10854
|
-
var baseColor = themeEditorSurvey.getValue("--sjs-general-backcolor");
|
|
10867
|
+
var baseColor = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["parseColor"])(themeEditorSurvey.getValue("--sjs-general-backcolor")).color;
|
|
10855
10868
|
var panelBackgroundTransparencyValue = themeEditorSurvey.getValue("panelBackgroundTransparency");
|
|
10856
10869
|
_this.themeChanges["--sjs-question-background"] = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["ingectAlpha"])(baseColor, panelBackgroundTransparencyValue / 100);
|
|
10857
10870
|
}
|
|
@@ -10900,6 +10913,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
10900
10913
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newCssVariables, this.currentTheme.cssVariables);
|
|
10901
10914
|
themeEditorSurvey.getQuestionByName("backgroundImage").value = this.backgroundImage;
|
|
10902
10915
|
themeEditorSurvey.getQuestionByName("backgroundImageFit").value = this.backgroundImageFit;
|
|
10916
|
+
themeEditorSurvey.getQuestionByName("backgroundImageAttachment").value = this.backgroundImageAttachment;
|
|
10903
10917
|
themeEditorSurvey.getQuestionByName("questionPanel").contentPanel.getQuestionByName("backcolor").value = newCssVariables["--sjs-general-backcolor"];
|
|
10904
10918
|
themeEditorSurvey.getQuestionByName("questionPanel").contentPanel.getQuestionByName("hovercolor").value = newCssVariables["--sjs-general-backcolor-dark"];
|
|
10905
10919
|
themeEditorSurvey.getQuestionByName("editorPanel").contentPanel.getQuestionByName("backcolor").value = newCssVariables["--sjs-general-backcolor-dim-light"];
|
|
@@ -11007,6 +11021,16 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11007
11021
|
],
|
|
11008
11022
|
defaultValue: "cover"
|
|
11009
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
|
+
},
|
|
11010
11034
|
{
|
|
11011
11035
|
type: "spinedit",
|
|
11012
11036
|
name: "backgroundOpacity",
|
|
@@ -11128,21 +11152,21 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11128
11152
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.accentBackground"),
|
|
11129
11153
|
elements: [
|
|
11130
11154
|
{
|
|
11131
|
-
type: "
|
|
11155
|
+
type: "colorsettings",
|
|
11132
11156
|
name: "--sjs-primary-backcolor",
|
|
11133
11157
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryDefaultColor"),
|
|
11134
11158
|
titleLocation: "left",
|
|
11135
11159
|
descriptionLocation: "hidden",
|
|
11136
11160
|
},
|
|
11137
11161
|
{
|
|
11138
|
-
type: "
|
|
11162
|
+
type: "colorsettings",
|
|
11139
11163
|
name: "--sjs-primary-backcolor-dark",
|
|
11140
11164
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryDarkColor"),
|
|
11141
11165
|
titleLocation: "left",
|
|
11142
11166
|
descriptionLocation: "hidden",
|
|
11143
11167
|
},
|
|
11144
11168
|
{
|
|
11145
|
-
type: "
|
|
11169
|
+
type: "colorsettings",
|
|
11146
11170
|
name: "--sjs-primary-backcolor-light",
|
|
11147
11171
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryLightColor"),
|
|
11148
11172
|
titleLocation: "left",
|
|
@@ -11154,14 +11178,14 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11154
11178
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.accentForeground"),
|
|
11155
11179
|
elements: [
|
|
11156
11180
|
{
|
|
11157
|
-
type: "
|
|
11181
|
+
type: "colorsettings",
|
|
11158
11182
|
name: "--sjs-primary-forecolor",
|
|
11159
11183
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryForecolor"),
|
|
11160
11184
|
titleLocation: "left",
|
|
11161
11185
|
descriptionLocation: "hidden",
|
|
11162
11186
|
},
|
|
11163
11187
|
{
|
|
11164
|
-
type: "
|
|
11188
|
+
type: "colorsettings",
|
|
11165
11189
|
name: "--sjs-primary-forecolor-light",
|
|
11166
11190
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.primaryForecolorLight"),
|
|
11167
11191
|
titleLocation: "left",
|
|
@@ -11179,6 +11203,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11179
11203
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.surveyTitle"),
|
|
11180
11204
|
descriptionLocation: "hidden",
|
|
11181
11205
|
defaultValue: {
|
|
11206
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11182
11207
|
color: "rgba(22, 22, 22, 1)",
|
|
11183
11208
|
weight: "700",
|
|
11184
11209
|
size: 32
|
|
@@ -11189,6 +11214,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11189
11214
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.pageTitle"),
|
|
11190
11215
|
descriptionLocation: "hidden",
|
|
11191
11216
|
defaultValue: {
|
|
11217
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11192
11218
|
color: "rgba(22, 22, 22, 1)",
|
|
11193
11219
|
weight: "700",
|
|
11194
11220
|
size: 24
|
|
@@ -11199,7 +11225,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11199
11225
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.pageDescription"),
|
|
11200
11226
|
descriptionLocation: "hidden",
|
|
11201
11227
|
defaultValue: {
|
|
11228
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11202
11229
|
color: "rgba(22, 22, 22, 1)",
|
|
11230
|
+
weight: "400",
|
|
11203
11231
|
size: 16
|
|
11204
11232
|
}
|
|
11205
11233
|
}
|
|
@@ -11243,6 +11271,7 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11243
11271
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.questionTitle"),
|
|
11244
11272
|
descriptionLocation: "hidden",
|
|
11245
11273
|
defaultValue: {
|
|
11274
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11246
11275
|
color: "rgba(22, 22, 22, 1)",
|
|
11247
11276
|
weight: "600",
|
|
11248
11277
|
size: 16,
|
|
@@ -11253,7 +11282,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11253
11282
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.questionDescription"),
|
|
11254
11283
|
descriptionLocation: "hidden",
|
|
11255
11284
|
defaultValue: {
|
|
11285
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11256
11286
|
color: "rgba(22, 22, 22, 1)",
|
|
11287
|
+
weight: "400",
|
|
11257
11288
|
size: 16
|
|
11258
11289
|
}
|
|
11259
11290
|
}
|
|
@@ -11296,7 +11327,9 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11296
11327
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.editorFont"),
|
|
11297
11328
|
descriptionLocation: "hidden",
|
|
11298
11329
|
defaultValue: {
|
|
11330
|
+
family: _creator_settings__WEBPACK_IMPORTED_MODULE_7__["settings"].theme.fontFamily,
|
|
11299
11331
|
color: "rgba(22, 22, 22, 1)",
|
|
11332
|
+
weight: "400",
|
|
11300
11333
|
size: 16
|
|
11301
11334
|
}
|
|
11302
11335
|
}
|
|
@@ -11308,14 +11341,14 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11308
11341
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.linesColors"),
|
|
11309
11342
|
elements: [
|
|
11310
11343
|
{
|
|
11311
|
-
type: "
|
|
11344
|
+
type: "colorsettings",
|
|
11312
11345
|
name: "--sjs-border-default",
|
|
11313
11346
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.borderDefault"),
|
|
11314
11347
|
titleLocation: "left",
|
|
11315
11348
|
descriptionLocation: "hidden",
|
|
11316
11349
|
},
|
|
11317
11350
|
{
|
|
11318
|
-
type: "
|
|
11351
|
+
type: "colorsettings",
|
|
11319
11352
|
name: "--sjs-border-light",
|
|
11320
11353
|
title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.borderLight"),
|
|
11321
11354
|
titleLocation: "left",
|
|
@@ -11376,21 +11409,37 @@ var ThemeSurveyTabViewModel = /** @class */ (function (_super) {
|
|
|
11376
11409
|
})
|
|
11377
11410
|
], ThemeSurveyTabViewModel.prototype, "activePage", void 0);
|
|
11378
11411
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
11379
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
|
|
11412
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
|
|
11413
|
+
onSet: function (newValue, _target) {
|
|
11380
11414
|
if (!!_target.survey) {
|
|
11381
11415
|
_target.survey.backgroundImage = newValue;
|
|
11382
11416
|
}
|
|
11383
11417
|
_target.currentTheme["backgroundImage"] = newValue;
|
|
11384
|
-
}
|
|
11418
|
+
}
|
|
11419
|
+
})
|
|
11385
11420
|
], ThemeSurveyTabViewModel.prototype, "backgroundImage", void 0);
|
|
11386
11421
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
11387
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
|
|
11422
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
|
|
11423
|
+
defaultValue: "cover",
|
|
11424
|
+
onSet: function (newValue, _target) {
|
|
11388
11425
|
if (!!_target.survey) {
|
|
11389
11426
|
_target.survey.backgroundImageFit = newValue;
|
|
11390
11427
|
}
|
|
11391
11428
|
_target.currentTheme["backgroundImageFit"] = newValue;
|
|
11392
|
-
}
|
|
11429
|
+
}
|
|
11430
|
+
})
|
|
11393
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);
|
|
11394
11443
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
11395
11444
|
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "default" })
|
|
11396
11445
|
], ThemeSurveyTabViewModel.prototype, "themeName", void 0);
|
|
@@ -11864,7 +11913,6 @@ var translationCss = {
|
|
|
11864
11913
|
root: "st-selectbase",
|
|
11865
11914
|
small: "st-row__question--small",
|
|
11866
11915
|
control: "st-input st-dropdown",
|
|
11867
|
-
selectWrapper: "",
|
|
11868
11916
|
other: "st-comment st-question__other",
|
|
11869
11917
|
onError: "st-input--error",
|
|
11870
11918
|
label: "st-selectbase__label",
|
|
@@ -13843,6 +13891,13 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
13843
13891
|
*- options.oldValue: the previous value of the changed property
|
|
13844
13892
|
*- options.newValue: the new value of the changed property
|
|
13845
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
|
+
*
|
|
13846
13901
|
*- options.type: "OBJECT_DELETED"
|
|
13847
13902
|
*- options.target: deleted object
|
|
13848
13903
|
*
|
|
@@ -14742,7 +14797,10 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
14742
14797
|
});
|
|
14743
14798
|
Object.defineProperty(CreatorBase.prototype, "showSidebar", {
|
|
14744
14799
|
/**
|
|
14745
|
-
*
|
|
14800
|
+
* Specifies whether to show the sidebar that displays Property Grid.
|
|
14801
|
+
*
|
|
14802
|
+
* Default value: `true`
|
|
14803
|
+
* @see sidebarLocation
|
|
14746
14804
|
*/
|
|
14747
14805
|
get: function () {
|
|
14748
14806
|
return this.showSidebarValue;
|
|
@@ -15439,6 +15497,10 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
15439
15497
|
options.type = "PROPERTY_CHANGED";
|
|
15440
15498
|
this.setModified(options);
|
|
15441
15499
|
};
|
|
15500
|
+
CreatorBase.prototype.notifySurveyItemMoved = function (options) {
|
|
15501
|
+
options.type = "ELEMENT_REORDERED";
|
|
15502
|
+
this.setModified(options);
|
|
15503
|
+
};
|
|
15442
15504
|
/**
|
|
15443
15505
|
* This function triggers user notification (via the alert() function if no onNotify event handler added).
|
|
15444
15506
|
* @see onNotify
|
|
@@ -15537,6 +15599,7 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
15537
15599
|
}
|
|
15538
15600
|
this.addNewElementReason = modifiedType;
|
|
15539
15601
|
var currentRow = this.findRowByElement(selectedElement, parent);
|
|
15602
|
+
element.setVisibleIndex(-1);
|
|
15540
15603
|
if (currentRow && this.isRowMultiline(currentRow)) {
|
|
15541
15604
|
this.addElemenMultiline(parent, element, index, currentRow);
|
|
15542
15605
|
}
|
|
@@ -16508,10 +16571,19 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
16508
16571
|
var itemText = this.getChoicesItemBaseTitle();
|
|
16509
16572
|
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_8__["getNextItemValue"])(itemText, question.choices);
|
|
16510
16573
|
};
|
|
16511
|
-
CreatorBase.prototype.createNewItemValue = function (question) {
|
|
16574
|
+
CreatorBase.prototype.createNewItemValue = function (question, callEvent, callback) {
|
|
16575
|
+
if (callEvent === void 0) { callEvent = true; }
|
|
16512
16576
|
var nextValue = this.getNextItemValue(question);
|
|
16513
16577
|
var res = question.createItemValue(nextValue);
|
|
16514
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
|
+
}
|
|
16515
16587
|
return res;
|
|
16516
16588
|
};
|
|
16517
16589
|
CreatorBase.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
|
|
@@ -17046,7 +17118,8 @@ var settings = {
|
|
|
17046
17118
|
exportFileName: "survey_translation.csv"
|
|
17047
17119
|
},
|
|
17048
17120
|
theme: {
|
|
17049
|
-
exportFileName: "survey_theme.json"
|
|
17121
|
+
exportFileName: "survey_theme.json",
|
|
17122
|
+
fontFamily: "Open Sans"
|
|
17050
17123
|
},
|
|
17051
17124
|
operators: {
|
|
17052
17125
|
empty: [],
|
|
@@ -17575,6 +17648,9 @@ var QuestionSpinEditorModel = /** @class */ (function (_super) {
|
|
|
17575
17648
|
_this.decrease();
|
|
17576
17649
|
_this.decreaseTimer = setTimeout(_this.onDownButtonMouseDown, 200);
|
|
17577
17650
|
};
|
|
17651
|
+
_this.onButtonMouseLeave = function () {
|
|
17652
|
+
_this.onButtonMouseUp();
|
|
17653
|
+
};
|
|
17578
17654
|
_this.onButtonMouseUp = function () {
|
|
17579
17655
|
clearTimeout(_this.decreaseTimer);
|
|
17580
17656
|
clearTimeout(_this.increaseTimer);
|
|
@@ -18207,7 +18283,7 @@ var __spreadArray = function (to, from) {
|
|
|
18207
18283
|
/*!******************************!*\
|
|
18208
18284
|
!*** ./src/entries/index.ts ***!
|
|
18209
18285
|
\******************************/
|
|
18210
|
-
/*! 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 */
|
|
18211
18287
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18212
18288
|
|
|
18213
18289
|
"use strict";
|
|
@@ -18560,8 +18636,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18560
18636
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return _svgbundle__WEBPACK_IMPORTED_MODULE_57__["svgBundle"]; });
|
|
18561
18637
|
|
|
18562
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
|
+
|
|
18563
18645
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["SurveyTextWorker"]; });
|
|
18564
18646
|
|
|
18647
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonDuplicateNameError", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_58__["JsonDuplicateNameError"]; });
|
|
18648
|
+
|
|
18565
18649
|
/* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
|
|
18566
18650
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxCategory", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_59__["QuestionToolboxCategory"]; });
|
|
18567
18651
|
|
|
@@ -18668,7 +18752,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18668
18752
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
18669
18753
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_70__);
|
|
18670
18754
|
var Version;
|
|
18671
|
-
Version = "" + "1.9.
|
|
18755
|
+
Version = "" + "1.9.97";
|
|
18672
18756
|
//should be loaded before other styles for easier override
|
|
18673
18757
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
18674
18758
|
|
|
@@ -18757,7 +18841,7 @@ __webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
|
18757
18841
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
18758
18842
|
|
|
18759
18843
|
survey_core__WEBPACK_IMPORTED_MODULE_70__["settings"].supportCreatorV2 = true;
|
|
18760
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.
|
|
18844
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.97", "survey-creator-core");
|
|
18761
18845
|
|
|
18762
18846
|
|
|
18763
18847
|
/***/ }),
|
|
@@ -21798,6 +21882,8 @@ var enStrings = {
|
|
|
21798
21882
|
"backgroundImageFitCover": "Cover",
|
|
21799
21883
|
"backgroundImageFitContain": "Contain",
|
|
21800
21884
|
"backgroundOpacity": "Opacity",
|
|
21885
|
+
"backgroundImageAttachmentFixed": "Fixed",
|
|
21886
|
+
"backgroundImageAttachmentScroll": "Scroll",
|
|
21801
21887
|
"panelBackgroundTransparency": "Panel Background Transparency",
|
|
21802
21888
|
"questionBackgroundTransparency": "Question Background Transparency",
|
|
21803
21889
|
questionPanel: "Question Panel",
|
|
@@ -21834,6 +21920,8 @@ var enStrings = {
|
|
|
21834
21920
|
opacity: "Opacity",
|
|
21835
21921
|
boxShadowBlur: "Blur",
|
|
21836
21922
|
boxShadowSpread: "Spread",
|
|
21923
|
+
boxShadowDrop: "Drop",
|
|
21924
|
+
boxShadowInner: "Inner",
|
|
21837
21925
|
questionShadow: "Question Panel Border / Shadow",
|
|
21838
21926
|
editorShadow: "Editor Border / Shadow",
|
|
21839
21927
|
names: {
|
|
@@ -22145,6 +22233,8 @@ var UndoRedoController = /** @class */ (function (_super) {
|
|
|
22145
22233
|
}
|
|
22146
22234
|
this.undoRedoManager = new _undo_redo_manager__WEBPACK_IMPORTED_MODULE_3__["UndoRedoManager"]();
|
|
22147
22235
|
this.undoRedoManager.changesFinishedCallback = function (actions, isUndo) {
|
|
22236
|
+
if (_this.notifySurveyMoveItem(actions, isUndo))
|
|
22237
|
+
return;
|
|
22148
22238
|
for (var i = actions.length - 1; i >= 0; i--) {
|
|
22149
22239
|
var action = actions[i];
|
|
22150
22240
|
if (!!action) {
|
|
@@ -22162,6 +22252,34 @@ var UndoRedoController = /** @class */ (function (_super) {
|
|
|
22162
22252
|
_this.updateUndeRedoActions();
|
|
22163
22253
|
};
|
|
22164
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
|
+
};
|
|
22165
22283
|
UndoRedoController.prototype.selectElementAfterUndo = function () {
|
|
22166
22284
|
this.selectElementAfterUndoCore(this.creator.selectedElement);
|
|
22167
22285
|
};
|
|
@@ -22480,6 +22598,9 @@ var UndoRedoAction = /** @class */ (function () {
|
|
|
22480
22598
|
newValue: isUndo ? this._oldValue : this._newValue
|
|
22481
22599
|
};
|
|
22482
22600
|
};
|
|
22601
|
+
UndoRedoAction.prototype.getDeletedElement = function (isUndo) { return undefined; };
|
|
22602
|
+
UndoRedoAction.prototype.getInsertedElement = function (isUndo) { return undefined; };
|
|
22603
|
+
UndoRedoAction.prototype.getIndex = function () { return -1; };
|
|
22483
22604
|
UndoRedoAction.prototype.tryMerge = function (sender, propertyName, newValue) {
|
|
22484
22605
|
if (sender !== this._sender || propertyName !== this._propertyName || newValue == this._oldValue)
|
|
22485
22606
|
return false;
|
|
@@ -22525,6 +22646,15 @@ var UndoRedoArrayAction = /** @class */ (function () {
|
|
|
22525
22646
|
newValue: this._itemsToAdd
|
|
22526
22647
|
};
|
|
22527
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
|
+
};
|
|
22528
22658
|
UndoRedoArrayAction.prototype.tryMerge = function (sender, propertyName, newValue) {
|
|
22529
22659
|
return false;
|
|
22530
22660
|
};
|
|
@@ -22733,9 +22863,12 @@ var propertyGridCss = {
|
|
|
22733
22863
|
small: "spg-row__question--small sd-row__question--small",
|
|
22734
22864
|
control: "spg-input spg-dropdown sd-input sd-dropdown",
|
|
22735
22865
|
filterStringInput: "sd-dropdown__filter-string-input spg-dropdown__filter-string-input",
|
|
22736
|
-
selectWrapper: "",
|
|
22737
22866
|
other: "spg-comment spg-question__other",
|
|
22738
|
-
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",
|
|
22739
22872
|
},
|
|
22740
22873
|
imagepicker: {
|
|
22741
22874
|
root: "spg-imagepicker",
|
|
@@ -24755,6 +24888,12 @@ var PropertyGridEditorCollection = {
|
|
|
24755
24888
|
res.onCreated(obj, question, prop, options);
|
|
24756
24889
|
}
|
|
24757
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
|
+
},
|
|
24758
24897
|
validateValue: function (obj, question, prop, value) {
|
|
24759
24898
|
var res = this.getEditor(prop);
|
|
24760
24899
|
if (!!res && !!res.validateValue) {
|
|
@@ -25270,6 +25409,9 @@ var PropertyGridModel = /** @class */ (function () {
|
|
|
25270
25409
|
return;
|
|
25271
25410
|
new PropertyJSONGenerator(this.obj, this.options).setupObjPanel(page, false);
|
|
25272
25411
|
this.survey.addPage(page);
|
|
25412
|
+
this.survey.getAllQuestions().forEach(function (q) {
|
|
25413
|
+
PropertyGridEditorCollection.onSetup(_this.obj, q, q.property, _this.options);
|
|
25414
|
+
});
|
|
25273
25415
|
this.survey.checkErrorsMode = "onValueChanging";
|
|
25274
25416
|
this.survey.onValueChanged.add(function (sender, options) {
|
|
25275
25417
|
_this.onValueChanged(options);
|
|
@@ -26249,6 +26391,13 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
26249
26391
|
};
|
|
26250
26392
|
this.setupMatrixQuestion(obj, question, prop);
|
|
26251
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
|
+
};
|
|
26252
26401
|
PropertyGridEditorMatrix.prototype.initializeAcceptedTypes = function (obj, cellQuestion) {
|
|
26253
26402
|
if (obj.getType() === "imagepicker" && cellQuestion.name == "imageLink" && cellQuestion.getType() == "fileedit") {
|
|
26254
26403
|
obj.registerFunctionOnPropertyValueChanged("contentMode", function (newValue) {
|
|
@@ -30144,12 +30293,16 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["SvgRegistry"].registerIconsFromFolder(
|
|
|
30144
30293
|
/*!***************************!*\
|
|
30145
30294
|
!*** ./src/textWorker.ts ***!
|
|
30146
30295
|
\***************************/
|
|
30147
|
-
/*! exports provided: SurveyTextWorker */
|
|
30296
|
+
/*! exports provided: SurveyTextWorkerError, SurveyTextWorkerParserError, SurveyTextWorkerJsonError, SurveyTextWorker, JsonDuplicateNameError */
|
|
30148
30297
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
30149
30298
|
|
|
30150
30299
|
"use strict";
|
|
30151
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; });
|
|
30152
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; });
|
|
30153
30306
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
30154
30307
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
30155
30308
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -30167,6 +30320,68 @@ var SurveyForTextWorker = /** @class */ (function (_super) {
|
|
|
30167
30320
|
}
|
|
30168
30321
|
return SurveyForTextWorker;
|
|
30169
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
|
+
|
|
30170
30385
|
var SurveyTextWorker = /** @class */ (function () {
|
|
30171
30386
|
function SurveyTextWorker(text) {
|
|
30172
30387
|
this.text = text;
|
|
@@ -30191,32 +30406,27 @@ var SurveyTextWorker = /** @class */ (function () {
|
|
|
30191
30406
|
configurable: true
|
|
30192
30407
|
});
|
|
30193
30408
|
SurveyTextWorker.prototype.process = function () {
|
|
30409
|
+
var _this = this;
|
|
30194
30410
|
try {
|
|
30195
30411
|
this.jsonValue = new _json5__WEBPACK_IMPORTED_MODULE_2__["SurveyJSON5"](1).parse(this.text);
|
|
30196
30412
|
}
|
|
30197
30413
|
catch (error) {
|
|
30198
|
-
this.errors.push(
|
|
30199
|
-
pos: { start: error.at, end: -1 },
|
|
30200
|
-
text: error.message,
|
|
30201
|
-
});
|
|
30414
|
+
this.errors.push(new SurveyTextWorkerParserError(error.at, error.message));
|
|
30202
30415
|
}
|
|
30203
30416
|
if (this.jsonValue != null) {
|
|
30204
30417
|
this.updateJsonPositions(this.jsonValue);
|
|
30205
|
-
|
|
30206
|
-
this.surveyValue
|
|
30207
|
-
if (
|
|
30208
|
-
for (var i = 0; i <
|
|
30209
|
-
var error =
|
|
30210
|
-
this.
|
|
30211
|
-
|
|
30212
|
-
text: error.getFullDescription(),
|
|
30213
|
-
});
|
|
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);
|
|
30214
30425
|
}
|
|
30215
30426
|
}
|
|
30427
|
+
this.getDuplicatedNamesErrors().forEach(function (error) { return _this.errors.push(error); });
|
|
30216
30428
|
}
|
|
30217
|
-
this.
|
|
30218
|
-
this.setEditorPositionByChartAt(this.surveyObjects);
|
|
30219
|
-
this.setEditorPositionByChartAt(this.errors);
|
|
30429
|
+
this.setErrorsPositionByChartAt();
|
|
30220
30430
|
};
|
|
30221
30431
|
SurveyTextWorker.prototype.updateJsonPositions = function (jsonObj) {
|
|
30222
30432
|
jsonObj["pos"]["self"] = jsonObj;
|
|
@@ -30228,41 +30438,25 @@ var SurveyTextWorker = /** @class */ (function () {
|
|
|
30228
30438
|
}
|
|
30229
30439
|
}
|
|
30230
30440
|
};
|
|
30231
|
-
SurveyTextWorker.prototype.
|
|
30232
|
-
|
|
30233
|
-
if (this.surveyValue == null)
|
|
30234
|
-
return result;
|
|
30235
|
-
for (var i = 0; i < this.surveyValue.pages.length; i++) {
|
|
30236
|
-
var page = this.surveyValue.pages[i];
|
|
30237
|
-
if (i == 0 && !page["pos"]) {
|
|
30238
|
-
page["pos"] = this.surveyValue["pos"];
|
|
30239
|
-
}
|
|
30240
|
-
result.push(page);
|
|
30241
|
-
for (var j = 0; j < page.questions.length; j++) {
|
|
30242
|
-
result.push(page.questions[j]);
|
|
30243
|
-
}
|
|
30244
|
-
}
|
|
30245
|
-
return result;
|
|
30246
|
-
};
|
|
30247
|
-
SurveyTextWorker.prototype.setEditorPositionByChartAt = function (objects) {
|
|
30248
|
-
if (objects == null || objects.length == 0)
|
|
30441
|
+
SurveyTextWorker.prototype.setErrorsPositionByChartAt = function () {
|
|
30442
|
+
if (this.errors.length === 0)
|
|
30249
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
|
+
});
|
|
30250
30451
|
var position = { row: 0, column: 0 };
|
|
30251
|
-
var atObjectsArray = this.getAtArray(objects);
|
|
30252
30452
|
var startAt = 0;
|
|
30253
|
-
for (var i = 0; i <
|
|
30254
|
-
var at =
|
|
30453
|
+
for (var i = 0; i < this.errors.length; i++) {
|
|
30454
|
+
var at = this.errors[i].at;
|
|
30255
30455
|
position = this.getPostionByChartAt(position, startAt, at);
|
|
30256
|
-
var
|
|
30257
|
-
if (
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
obj.position.start = position;
|
|
30261
|
-
}
|
|
30262
|
-
else {
|
|
30263
|
-
if (at == obj.pos.end) {
|
|
30264
|
-
obj.position.end = position;
|
|
30265
|
-
}
|
|
30456
|
+
var error = this.errors[i];
|
|
30457
|
+
if (at == error.at) {
|
|
30458
|
+
error.columnAt = position.column;
|
|
30459
|
+
error.rowAt = position.row;
|
|
30266
30460
|
}
|
|
30267
30461
|
startAt = at;
|
|
30268
30462
|
}
|
|
@@ -30282,29 +30476,58 @@ var SurveyTextWorker = /** @class */ (function () {
|
|
|
30282
30476
|
}
|
|
30283
30477
|
return result;
|
|
30284
30478
|
};
|
|
30285
|
-
SurveyTextWorker.prototype.
|
|
30286
|
-
var
|
|
30287
|
-
|
|
30288
|
-
|
|
30289
|
-
var
|
|
30290
|
-
|
|
30291
|
-
|
|
30292
|
-
|
|
30293
|
-
if (pos.end > 0) {
|
|
30294
|
-
result.push({ at: pos.end, obj: obj });
|
|
30295
|
-
}
|
|
30296
|
-
}
|
|
30297
|
-
return result.sort(function (el1, el2) {
|
|
30298
|
-
if (el1.at > el2.at)
|
|
30299
|
-
return 1;
|
|
30300
|
-
if (el1.at < el2.at)
|
|
30301
|
-
return -1;
|
|
30302
|
-
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);
|
|
30303
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;
|
|
30304
30517
|
};
|
|
30305
30518
|
return SurveyTextWorker;
|
|
30306
30519
|
}());
|
|
30307
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
|
+
|
|
30308
30531
|
|
|
30309
30532
|
|
|
30310
30533
|
/***/ }),
|