survey-creator-core 1.9.112 → 1.9.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/i18n/arabic.js +1 -1
  4. package/i18n/arabic.min.js +1 -1
  5. package/i18n/bulgarian.js +1 -1
  6. package/i18n/bulgarian.min.js +1 -1
  7. package/i18n/croatian.js +1 -1
  8. package/i18n/croatian.min.js +1 -1
  9. package/i18n/czech.js +1 -1
  10. package/i18n/czech.min.js +1 -1
  11. package/i18n/danish.js +1 -1
  12. package/i18n/danish.min.js +1 -1
  13. package/i18n/dutch.js +1 -1
  14. package/i18n/dutch.min.js +1 -1
  15. package/i18n/english.js +5 -2
  16. package/i18n/english.js.map +1 -1
  17. package/i18n/english.min.js +2 -2
  18. package/i18n/finnish.js +1 -1
  19. package/i18n/finnish.min.js +1 -1
  20. package/i18n/french.js +1 -1
  21. package/i18n/french.min.js +1 -1
  22. package/i18n/german.js +1 -1
  23. package/i18n/german.min.js +1 -1
  24. package/i18n/hungarian.js +1 -1
  25. package/i18n/hungarian.min.js +1 -1
  26. package/i18n/index.js +1 -1
  27. package/i18n/index.min.js +1 -1
  28. package/i18n/indonesian.js +1 -1
  29. package/i18n/indonesian.min.js +1 -1
  30. package/i18n/italian.js +1 -1
  31. package/i18n/italian.min.js +1 -1
  32. package/i18n/japanese.js +1 -1
  33. package/i18n/japanese.min.js +1 -1
  34. package/i18n/korean.js +1 -1
  35. package/i18n/korean.min.js +1 -1
  36. package/i18n/malay.js +1 -1
  37. package/i18n/malay.min.js +1 -1
  38. package/i18n/mongolian.js +1 -1
  39. package/i18n/mongolian.min.js +1 -1
  40. package/i18n/norwegian.js +1 -1
  41. package/i18n/norwegian.min.js +1 -1
  42. package/i18n/persian.js +1 -1
  43. package/i18n/persian.min.js +1 -1
  44. package/i18n/polish.js +1 -1
  45. package/i18n/polish.min.js +1 -1
  46. package/i18n/portuguese.js +1 -1
  47. package/i18n/portuguese.min.js +1 -1
  48. package/i18n/russian.js +1 -1
  49. package/i18n/russian.min.js +1 -1
  50. package/i18n/simplified-chinese.js +1 -1
  51. package/i18n/simplified-chinese.min.js +1 -1
  52. package/i18n/slovak.js +1 -1
  53. package/i18n/slovak.min.js +1 -1
  54. package/i18n/spanish.js +1 -1
  55. package/i18n/spanish.min.js +1 -1
  56. package/i18n/swedish.js +1 -1
  57. package/i18n/swedish.min.js +1 -1
  58. package/i18n/tajik.js +1 -1
  59. package/i18n/tajik.min.js +1 -1
  60. package/i18n/traditional-chinese.js +1 -1
  61. package/i18n/traditional-chinese.min.js +1 -1
  62. package/i18n/turkish.js +1 -1
  63. package/i18n/turkish.min.js +1 -1
  64. package/package.json +2 -2
  65. package/survey-creator-core.css +6 -9
  66. package/survey-creator-core.fontless.css +5 -8
  67. package/survey-creator-core.fontless.css.map +1 -1
  68. package/survey-creator-core.fontless.min.css +4 -4
  69. package/survey-creator-core.i18n.js +1 -1
  70. package/survey-creator-core.i18n.min.js +1 -1
  71. package/survey-creator-core.js +618 -533
  72. package/survey-creator-core.js.map +1 -1
  73. package/survey-creator-core.min.css +5 -5
  74. package/survey-creator-core.min.js +45 -45
  75. package/typings/components/tabs/json-editor-plugin.d.ts +12 -2
  76. package/typings/components/tabs/test.d.ts +2 -0
  77. package/typings/components/tabs/theme-builder.d.ts +22 -2
  78. package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +4 -4
  79. package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +4 -4
  80. package/typings/components/tabs/theme-plugin.d.ts +6 -3
  81. package/typings/creator-base.d.ts +167 -137
  82. package/typings/creator-options.d.ts +0 -6
  83. package/typings/creator-settings.d.ts +3 -0
  84. package/typings/custom-questions/question-file.d.ts +3 -0
  85. package/typings/editorLocalization.d.ts +5 -1
  86. package/typings/localization/english.d.ts +4 -1
  87. package/typings/plugins/undo-redo/undo-redo-controller.d.ts +0 -10
  88. package/typings/property-grid-theme/property-grid.d.ts +1 -0
  89. package/typings/survey-helper.d.ts +6 -6
  90. package/typings/utils/utils.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.112
2
+ * SurveyJS Creator v1.9.113
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
@@ -130,7 +130,7 @@ License: MIT
130
130
  /***/ (function(module, exports, __webpack_require__) {
131
131
 
132
132
  /*!
133
- * surveyjs - Survey JavaScript library v1.9.112
133
+ * surveyjs - Survey JavaScript library v1.9.113
134
134
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
135
135
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
136
136
  */
@@ -282,7 +282,6 @@ var Theme = {
282
282
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
283
283
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
284
284
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
285
- "--sjs-article-font-xx-large-fontSize": "64px",
286
285
  "--sjs-article-font-xx-large-textDecoration": "none",
287
286
  "--sjs-article-font-xx-large-fontWeight": "700",
288
287
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -291,7 +290,6 @@ var Theme = {
291
290
  "--sjs-article-font-xx-large-lineHeight": "64px",
292
291
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
293
292
  "--sjs-article-font-xx-large-textCase": "none",
294
- "--sjs-article-font-x-large-fontSize": "48px",
295
293
  "--sjs-article-font-x-large-textDecoration": "none",
296
294
  "--sjs-article-font-x-large-fontWeight": "700",
297
295
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -300,7 +298,6 @@ var Theme = {
300
298
  "--sjs-article-font-x-large-lineHeight": "56px",
301
299
  "--sjs-article-font-x-large-paragraphIndent": "0px",
302
300
  "--sjs-article-font-x-large-textCase": "none",
303
- "--sjs-article-font-large-fontSize": "32px",
304
301
  "--sjs-article-font-large-textDecoration": "none",
305
302
  "--sjs-article-font-large-fontWeight": "700",
306
303
  "--sjs-article-font-large-fontStyle": "normal",
@@ -309,7 +306,6 @@ var Theme = {
309
306
  "--sjs-article-font-large-lineHeight": "40px",
310
307
  "--sjs-article-font-large-paragraphIndent": "0px",
311
308
  "--sjs-article-font-large-textCase": "none",
312
- "--sjs-article-font-medium-fontSize": "24px",
313
309
  "--sjs-article-font-medium-textDecoration": "none",
314
310
  "--sjs-article-font-medium-fontWeight": "700",
315
311
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -318,7 +314,6 @@ var Theme = {
318
314
  "--sjs-article-font-medium-lineHeight": "32px",
319
315
  "--sjs-article-font-medium-paragraphIndent": "0px",
320
316
  "--sjs-article-font-medium-textCase": "none",
321
- "--sjs-article-font-default-fontSize": "16px",
322
317
  "--sjs-article-font-default-textDecoration": "none",
323
318
  "--sjs-article-font-default-fontWeight": "400",
324
319
  "--sjs-article-font-default-fontStyle": "normal",
@@ -390,7 +385,6 @@ var Theme = {
390
385
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
391
386
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
392
387
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
393
- "--sjs-article-font-xx-large-fontSize": "64px",
394
388
  "--sjs-article-font-xx-large-textDecoration": "none",
395
389
  "--sjs-article-font-xx-large-fontWeight": "700",
396
390
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -399,7 +393,6 @@ var Theme = {
399
393
  "--sjs-article-font-xx-large-lineHeight": "64px",
400
394
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
401
395
  "--sjs-article-font-xx-large-textCase": "none",
402
- "--sjs-article-font-x-large-fontSize": "48px",
403
396
  "--sjs-article-font-x-large-textDecoration": "none",
404
397
  "--sjs-article-font-x-large-fontWeight": "700",
405
398
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -408,7 +401,6 @@ var Theme = {
408
401
  "--sjs-article-font-x-large-lineHeight": "56px",
409
402
  "--sjs-article-font-x-large-paragraphIndent": "0px",
410
403
  "--sjs-article-font-x-large-textCase": "none",
411
- "--sjs-article-font-large-fontSize": "32px",
412
404
  "--sjs-article-font-large-textDecoration": "none",
413
405
  "--sjs-article-font-large-fontWeight": "700",
414
406
  "--sjs-article-font-large-fontStyle": "normal",
@@ -417,7 +409,6 @@ var Theme = {
417
409
  "--sjs-article-font-large-lineHeight": "40px",
418
410
  "--sjs-article-font-large-paragraphIndent": "0px",
419
411
  "--sjs-article-font-large-textCase": "none",
420
- "--sjs-article-font-medium-fontSize": "24px",
421
412
  "--sjs-article-font-medium-textDecoration": "none",
422
413
  "--sjs-article-font-medium-fontWeight": "700",
423
414
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -426,7 +417,6 @@ var Theme = {
426
417
  "--sjs-article-font-medium-lineHeight": "32px",
427
418
  "--sjs-article-font-medium-paragraphIndent": "0px",
428
419
  "--sjs-article-font-medium-textCase": "none",
429
- "--sjs-article-font-default-fontSize": "16px",
430
420
  "--sjs-article-font-default-textDecoration": "none",
431
421
  "--sjs-article-font-default-fontWeight": "400",
432
422
  "--sjs-article-font-default-fontStyle": "normal",
@@ -498,7 +488,6 @@ var Theme = {
498
488
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
499
489
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
500
490
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
501
- "--sjs-article-font-xx-large-fontSize": "64px",
502
491
  "--sjs-article-font-xx-large-textDecoration": "none",
503
492
  "--sjs-article-font-xx-large-fontWeight": "700",
504
493
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -507,7 +496,6 @@ var Theme = {
507
496
  "--sjs-article-font-xx-large-lineHeight": "64px",
508
497
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
509
498
  "--sjs-article-font-xx-large-textCase": "none",
510
- "--sjs-article-font-x-large-fontSize": "48px",
511
499
  "--sjs-article-font-x-large-textDecoration": "none",
512
500
  "--sjs-article-font-x-large-fontWeight": "700",
513
501
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -516,7 +504,6 @@ var Theme = {
516
504
  "--sjs-article-font-x-large-lineHeight": "56px",
517
505
  "--sjs-article-font-x-large-paragraphIndent": "0px",
518
506
  "--sjs-article-font-x-large-textCase": "none",
519
- "--sjs-article-font-large-fontSize": "32px",
520
507
  "--sjs-article-font-large-textDecoration": "none",
521
508
  "--sjs-article-font-large-fontWeight": "700",
522
509
  "--sjs-article-font-large-fontStyle": "normal",
@@ -525,7 +512,6 @@ var Theme = {
525
512
  "--sjs-article-font-large-lineHeight": "40px",
526
513
  "--sjs-article-font-large-paragraphIndent": "0px",
527
514
  "--sjs-article-font-large-textCase": "none",
528
- "--sjs-article-font-medium-fontSize": "24px",
529
515
  "--sjs-article-font-medium-textDecoration": "none",
530
516
  "--sjs-article-font-medium-fontWeight": "700",
531
517
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -534,7 +520,6 @@ var Theme = {
534
520
  "--sjs-article-font-medium-lineHeight": "32px",
535
521
  "--sjs-article-font-medium-paragraphIndent": "0px",
536
522
  "--sjs-article-font-medium-textCase": "none",
537
- "--sjs-article-font-default-fontSize": "16px",
538
523
  "--sjs-article-font-default-textDecoration": "none",
539
524
  "--sjs-article-font-default-fontWeight": "400",
540
525
  "--sjs-article-font-default-fontStyle": "normal",
@@ -606,7 +591,6 @@ var Theme = {
606
591
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
607
592
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
608
593
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
609
- "--sjs-article-font-xx-large-fontSize": "64px",
610
594
  "--sjs-article-font-xx-large-textDecoration": "none",
611
595
  "--sjs-article-font-xx-large-fontWeight": "700",
612
596
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -615,7 +599,6 @@ var Theme = {
615
599
  "--sjs-article-font-xx-large-lineHeight": "64px",
616
600
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
617
601
  "--sjs-article-font-xx-large-textCase": "none",
618
- "--sjs-article-font-x-large-fontSize": "48px",
619
602
  "--sjs-article-font-x-large-textDecoration": "none",
620
603
  "--sjs-article-font-x-large-fontWeight": "700",
621
604
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -624,7 +607,6 @@ var Theme = {
624
607
  "--sjs-article-font-x-large-lineHeight": "56px",
625
608
  "--sjs-article-font-x-large-paragraphIndent": "0px",
626
609
  "--sjs-article-font-x-large-textCase": "none",
627
- "--sjs-article-font-large-fontSize": "32px",
628
610
  "--sjs-article-font-large-textDecoration": "none",
629
611
  "--sjs-article-font-large-fontWeight": "700",
630
612
  "--sjs-article-font-large-fontStyle": "normal",
@@ -633,7 +615,6 @@ var Theme = {
633
615
  "--sjs-article-font-large-lineHeight": "40px",
634
616
  "--sjs-article-font-large-paragraphIndent": "0px",
635
617
  "--sjs-article-font-large-textCase": "none",
636
- "--sjs-article-font-medium-fontSize": "24px",
637
618
  "--sjs-article-font-medium-textDecoration": "none",
638
619
  "--sjs-article-font-medium-fontWeight": "700",
639
620
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -642,7 +623,6 @@ var Theme = {
642
623
  "--sjs-article-font-medium-lineHeight": "32px",
643
624
  "--sjs-article-font-medium-paragraphIndent": "0px",
644
625
  "--sjs-article-font-medium-textCase": "none",
645
- "--sjs-article-font-default-fontSize": "16px",
646
626
  "--sjs-article-font-default-textDecoration": "none",
647
627
  "--sjs-article-font-default-fontWeight": "400",
648
628
  "--sjs-article-font-default-fontStyle": "normal",
@@ -714,7 +694,6 @@ var Theme = {
714
694
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
715
695
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
716
696
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
717
- "--sjs-article-font-xx-large-fontSize": "64px",
718
697
  "--sjs-article-font-xx-large-textDecoration": "none",
719
698
  "--sjs-article-font-xx-large-fontWeight": "700",
720
699
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -723,7 +702,6 @@ var Theme = {
723
702
  "--sjs-article-font-xx-large-lineHeight": "64px",
724
703
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
725
704
  "--sjs-article-font-xx-large-textCase": "none",
726
- "--sjs-article-font-x-large-fontSize": "48px",
727
705
  "--sjs-article-font-x-large-textDecoration": "none",
728
706
  "--sjs-article-font-x-large-fontWeight": "700",
729
707
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -732,7 +710,6 @@ var Theme = {
732
710
  "--sjs-article-font-x-large-lineHeight": "56px",
733
711
  "--sjs-article-font-x-large-paragraphIndent": "0px",
734
712
  "--sjs-article-font-x-large-textCase": "none",
735
- "--sjs-article-font-large-fontSize": "32px",
736
713
  "--sjs-article-font-large-textDecoration": "none",
737
714
  "--sjs-article-font-large-fontWeight": "700",
738
715
  "--sjs-article-font-large-fontStyle": "normal",
@@ -741,7 +718,6 @@ var Theme = {
741
718
  "--sjs-article-font-large-lineHeight": "40px",
742
719
  "--sjs-article-font-large-paragraphIndent": "0px",
743
720
  "--sjs-article-font-large-textCase": "none",
744
- "--sjs-article-font-medium-fontSize": "24px",
745
721
  "--sjs-article-font-medium-textDecoration": "none",
746
722
  "--sjs-article-font-medium-fontWeight": "700",
747
723
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -750,7 +726,6 @@ var Theme = {
750
726
  "--sjs-article-font-medium-lineHeight": "32px",
751
727
  "--sjs-article-font-medium-paragraphIndent": "0px",
752
728
  "--sjs-article-font-medium-textCase": "none",
753
- "--sjs-article-font-default-fontSize": "16px",
754
729
  "--sjs-article-font-default-textDecoration": "none",
755
730
  "--sjs-article-font-default-fontWeight": "400",
756
731
  "--sjs-article-font-default-fontStyle": "normal",
@@ -822,7 +797,6 @@ var Theme = {
822
797
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
823
798
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
824
799
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
825
- "--sjs-article-font-xx-large-fontSize": "64px",
826
800
  "--sjs-article-font-xx-large-textDecoration": "none",
827
801
  "--sjs-article-font-xx-large-fontWeight": "700",
828
802
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -831,7 +805,6 @@ var Theme = {
831
805
  "--sjs-article-font-xx-large-lineHeight": "64px",
832
806
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
833
807
  "--sjs-article-font-xx-large-textCase": "none",
834
- "--sjs-article-font-x-large-fontSize": "48px",
835
808
  "--sjs-article-font-x-large-textDecoration": "none",
836
809
  "--sjs-article-font-x-large-fontWeight": "700",
837
810
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -840,7 +813,6 @@ var Theme = {
840
813
  "--sjs-article-font-x-large-lineHeight": "56px",
841
814
  "--sjs-article-font-x-large-paragraphIndent": "0px",
842
815
  "--sjs-article-font-x-large-textCase": "none",
843
- "--sjs-article-font-large-fontSize": "32px",
844
816
  "--sjs-article-font-large-textDecoration": "none",
845
817
  "--sjs-article-font-large-fontWeight": "700",
846
818
  "--sjs-article-font-large-fontStyle": "normal",
@@ -849,7 +821,6 @@ var Theme = {
849
821
  "--sjs-article-font-large-lineHeight": "40px",
850
822
  "--sjs-article-font-large-paragraphIndent": "0px",
851
823
  "--sjs-article-font-large-textCase": "none",
852
- "--sjs-article-font-medium-fontSize": "24px",
853
824
  "--sjs-article-font-medium-textDecoration": "none",
854
825
  "--sjs-article-font-medium-fontWeight": "700",
855
826
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -858,7 +829,6 @@ var Theme = {
858
829
  "--sjs-article-font-medium-lineHeight": "32px",
859
830
  "--sjs-article-font-medium-paragraphIndent": "0px",
860
831
  "--sjs-article-font-medium-textCase": "none",
861
- "--sjs-article-font-default-fontSize": "16px",
862
832
  "--sjs-article-font-default-textDecoration": "none",
863
833
  "--sjs-article-font-default-fontWeight": "400",
864
834
  "--sjs-article-font-default-fontStyle": "normal",
@@ -930,7 +900,6 @@ var Theme = {
930
900
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
931
901
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
932
902
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
933
- "--sjs-article-font-xx-large-fontSize": "64px",
934
903
  "--sjs-article-font-xx-large-textDecoration": "none",
935
904
  "--sjs-article-font-xx-large-fontWeight": "700",
936
905
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -939,7 +908,6 @@ var Theme = {
939
908
  "--sjs-article-font-xx-large-lineHeight": "64px",
940
909
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
941
910
  "--sjs-article-font-xx-large-textCase": "none",
942
- "--sjs-article-font-x-large-fontSize": "48px",
943
911
  "--sjs-article-font-x-large-textDecoration": "none",
944
912
  "--sjs-article-font-x-large-fontWeight": "700",
945
913
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -948,7 +916,6 @@ var Theme = {
948
916
  "--sjs-article-font-x-large-lineHeight": "56px",
949
917
  "--sjs-article-font-x-large-paragraphIndent": "0px",
950
918
  "--sjs-article-font-x-large-textCase": "none",
951
- "--sjs-article-font-large-fontSize": "32px",
952
919
  "--sjs-article-font-large-textDecoration": "none",
953
920
  "--sjs-article-font-large-fontWeight": "700",
954
921
  "--sjs-article-font-large-fontStyle": "normal",
@@ -957,7 +924,6 @@ var Theme = {
957
924
  "--sjs-article-font-large-lineHeight": "40px",
958
925
  "--sjs-article-font-large-paragraphIndent": "0px",
959
926
  "--sjs-article-font-large-textCase": "none",
960
- "--sjs-article-font-medium-fontSize": "24px",
961
927
  "--sjs-article-font-medium-textDecoration": "none",
962
928
  "--sjs-article-font-medium-fontWeight": "700",
963
929
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -966,7 +932,6 @@ var Theme = {
966
932
  "--sjs-article-font-medium-lineHeight": "32px",
967
933
  "--sjs-article-font-medium-paragraphIndent": "0px",
968
934
  "--sjs-article-font-medium-textCase": "none",
969
- "--sjs-article-font-default-fontSize": "16px",
970
935
  "--sjs-article-font-default-textDecoration": "none",
971
936
  "--sjs-article-font-default-fontWeight": "400",
972
937
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1038,7 +1003,6 @@ var Theme = {
1038
1003
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1039
1004
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1040
1005
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
1041
- "--sjs-article-font-xx-large-fontSize": "64px",
1042
1006
  "--sjs-article-font-xx-large-textDecoration": "none",
1043
1007
  "--sjs-article-font-xx-large-fontWeight": "700",
1044
1008
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1047,7 +1011,6 @@ var Theme = {
1047
1011
  "--sjs-article-font-xx-large-lineHeight": "64px",
1048
1012
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1049
1013
  "--sjs-article-font-xx-large-textCase": "none",
1050
- "--sjs-article-font-x-large-fontSize": "48px",
1051
1014
  "--sjs-article-font-x-large-textDecoration": "none",
1052
1015
  "--sjs-article-font-x-large-fontWeight": "700",
1053
1016
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1056,7 +1019,6 @@ var Theme = {
1056
1019
  "--sjs-article-font-x-large-lineHeight": "56px",
1057
1020
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1058
1021
  "--sjs-article-font-x-large-textCase": "none",
1059
- "--sjs-article-font-large-fontSize": "32px",
1060
1022
  "--sjs-article-font-large-textDecoration": "none",
1061
1023
  "--sjs-article-font-large-fontWeight": "700",
1062
1024
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1065,7 +1027,6 @@ var Theme = {
1065
1027
  "--sjs-article-font-large-lineHeight": "40px",
1066
1028
  "--sjs-article-font-large-paragraphIndent": "0px",
1067
1029
  "--sjs-article-font-large-textCase": "none",
1068
- "--sjs-article-font-medium-fontSize": "24px",
1069
1030
  "--sjs-article-font-medium-textDecoration": "none",
1070
1031
  "--sjs-article-font-medium-fontWeight": "700",
1071
1032
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1074,7 +1035,6 @@ var Theme = {
1074
1035
  "--sjs-article-font-medium-lineHeight": "32px",
1075
1036
  "--sjs-article-font-medium-paragraphIndent": "0px",
1076
1037
  "--sjs-article-font-medium-textCase": "none",
1077
- "--sjs-article-font-default-fontSize": "16px",
1078
1038
  "--sjs-article-font-default-textDecoration": "none",
1079
1039
  "--sjs-article-font-default-fontWeight": "400",
1080
1040
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1146,7 +1106,6 @@ var Theme = {
1146
1106
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1147
1107
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1148
1108
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
1149
- "--sjs-article-font-xx-large-fontSize": "64px",
1150
1109
  "--sjs-article-font-xx-large-textDecoration": "none",
1151
1110
  "--sjs-article-font-xx-large-fontWeight": "700",
1152
1111
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1155,7 +1114,6 @@ var Theme = {
1155
1114
  "--sjs-article-font-xx-large-lineHeight": "64px",
1156
1115
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1157
1116
  "--sjs-article-font-xx-large-textCase": "none",
1158
- "--sjs-article-font-x-large-fontSize": "48px",
1159
1117
  "--sjs-article-font-x-large-textDecoration": "none",
1160
1118
  "--sjs-article-font-x-large-fontWeight": "700",
1161
1119
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1164,7 +1122,6 @@ var Theme = {
1164
1122
  "--sjs-article-font-x-large-lineHeight": "56px",
1165
1123
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1166
1124
  "--sjs-article-font-x-large-textCase": "none",
1167
- "--sjs-article-font-large-fontSize": "32px",
1168
1125
  "--sjs-article-font-large-textDecoration": "none",
1169
1126
  "--sjs-article-font-large-fontWeight": "700",
1170
1127
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1173,7 +1130,6 @@ var Theme = {
1173
1130
  "--sjs-article-font-large-lineHeight": "40px",
1174
1131
  "--sjs-article-font-large-paragraphIndent": "0px",
1175
1132
  "--sjs-article-font-large-textCase": "none",
1176
- "--sjs-article-font-medium-fontSize": "24px",
1177
1133
  "--sjs-article-font-medium-textDecoration": "none",
1178
1134
  "--sjs-article-font-medium-fontWeight": "700",
1179
1135
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1182,7 +1138,6 @@ var Theme = {
1182
1138
  "--sjs-article-font-medium-lineHeight": "32px",
1183
1139
  "--sjs-article-font-medium-paragraphIndent": "0px",
1184
1140
  "--sjs-article-font-medium-textCase": "none",
1185
- "--sjs-article-font-default-fontSize": "16px",
1186
1141
  "--sjs-article-font-default-textDecoration": "none",
1187
1142
  "--sjs-article-font-default-fontWeight": "400",
1188
1143
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1254,7 +1209,6 @@ var Theme = {
1254
1209
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1255
1210
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1256
1211
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
1257
- "--sjs-article-font-xx-large-fontSize": "64px",
1258
1212
  "--sjs-article-font-xx-large-textDecoration": "none",
1259
1213
  "--sjs-article-font-xx-large-fontWeight": "700",
1260
1214
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1263,7 +1217,6 @@ var Theme = {
1263
1217
  "--sjs-article-font-xx-large-lineHeight": "64px",
1264
1218
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1265
1219
  "--sjs-article-font-xx-large-textCase": "none",
1266
- "--sjs-article-font-x-large-fontSize": "48px",
1267
1220
  "--sjs-article-font-x-large-textDecoration": "none",
1268
1221
  "--sjs-article-font-x-large-fontWeight": "700",
1269
1222
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1272,7 +1225,6 @@ var Theme = {
1272
1225
  "--sjs-article-font-x-large-lineHeight": "56px",
1273
1226
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1274
1227
  "--sjs-article-font-x-large-textCase": "none",
1275
- "--sjs-article-font-large-fontSize": "32px",
1276
1228
  "--sjs-article-font-large-textDecoration": "none",
1277
1229
  "--sjs-article-font-large-fontWeight": "700",
1278
1230
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1281,7 +1233,6 @@ var Theme = {
1281
1233
  "--sjs-article-font-large-lineHeight": "40px",
1282
1234
  "--sjs-article-font-large-paragraphIndent": "0px",
1283
1235
  "--sjs-article-font-large-textCase": "none",
1284
- "--sjs-article-font-medium-fontSize": "24px",
1285
1236
  "--sjs-article-font-medium-textDecoration": "none",
1286
1237
  "--sjs-article-font-medium-fontWeight": "700",
1287
1238
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1290,7 +1241,6 @@ var Theme = {
1290
1241
  "--sjs-article-font-medium-lineHeight": "32px",
1291
1242
  "--sjs-article-font-medium-paragraphIndent": "0px",
1292
1243
  "--sjs-article-font-medium-textCase": "none",
1293
- "--sjs-article-font-default-fontSize": "16px",
1294
1244
  "--sjs-article-font-default-textDecoration": "none",
1295
1245
  "--sjs-article-font-default-fontWeight": "400",
1296
1246
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1362,7 +1312,6 @@ var Theme = {
1362
1312
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1363
1313
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1364
1314
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
1365
- "--sjs-article-font-xx-large-fontSize": "64px",
1366
1315
  "--sjs-article-font-xx-large-textDecoration": "none",
1367
1316
  "--sjs-article-font-xx-large-fontWeight": "700",
1368
1317
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1371,7 +1320,6 @@ var Theme = {
1371
1320
  "--sjs-article-font-xx-large-lineHeight": "64px",
1372
1321
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1373
1322
  "--sjs-article-font-xx-large-textCase": "none",
1374
- "--sjs-article-font-x-large-fontSize": "48px",
1375
1323
  "--sjs-article-font-x-large-textDecoration": "none",
1376
1324
  "--sjs-article-font-x-large-fontWeight": "700",
1377
1325
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1380,7 +1328,6 @@ var Theme = {
1380
1328
  "--sjs-article-font-x-large-lineHeight": "56px",
1381
1329
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1382
1330
  "--sjs-article-font-x-large-textCase": "none",
1383
- "--sjs-article-font-large-fontSize": "32px",
1384
1331
  "--sjs-article-font-large-textDecoration": "none",
1385
1332
  "--sjs-article-font-large-fontWeight": "700",
1386
1333
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1389,7 +1336,6 @@ var Theme = {
1389
1336
  "--sjs-article-font-large-lineHeight": "40px",
1390
1337
  "--sjs-article-font-large-paragraphIndent": "0px",
1391
1338
  "--sjs-article-font-large-textCase": "none",
1392
- "--sjs-article-font-medium-fontSize": "24px",
1393
1339
  "--sjs-article-font-medium-textDecoration": "none",
1394
1340
  "--sjs-article-font-medium-fontWeight": "700",
1395
1341
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1398,7 +1344,6 @@ var Theme = {
1398
1344
  "--sjs-article-font-medium-lineHeight": "32px",
1399
1345
  "--sjs-article-font-medium-paragraphIndent": "0px",
1400
1346
  "--sjs-article-font-medium-textCase": "none",
1401
- "--sjs-article-font-default-fontSize": "16px",
1402
1347
  "--sjs-article-font-default-textDecoration": "none",
1403
1348
  "--sjs-article-font-default-fontWeight": "400",
1404
1349
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1470,7 +1415,6 @@ var Theme = {
1470
1415
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1471
1416
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1472
1417
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
1473
- "--sjs-article-font-xx-large-fontSize": "64px",
1474
1418
  "--sjs-article-font-xx-large-textDecoration": "none",
1475
1419
  "--sjs-article-font-xx-large-fontWeight": "700",
1476
1420
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1479,7 +1423,6 @@ var Theme = {
1479
1423
  "--sjs-article-font-xx-large-lineHeight": "64px",
1480
1424
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1481
1425
  "--sjs-article-font-xx-large-textCase": "none",
1482
- "--sjs-article-font-x-large-fontSize": "48px",
1483
1426
  "--sjs-article-font-x-large-textDecoration": "none",
1484
1427
  "--sjs-article-font-x-large-fontWeight": "700",
1485
1428
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1488,7 +1431,6 @@ var Theme = {
1488
1431
  "--sjs-article-font-x-large-lineHeight": "56px",
1489
1432
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1490
1433
  "--sjs-article-font-x-large-textCase": "none",
1491
- "--sjs-article-font-large-fontSize": "32px",
1492
1434
  "--sjs-article-font-large-textDecoration": "none",
1493
1435
  "--sjs-article-font-large-fontWeight": "700",
1494
1436
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1497,7 +1439,6 @@ var Theme = {
1497
1439
  "--sjs-article-font-large-lineHeight": "40px",
1498
1440
  "--sjs-article-font-large-paragraphIndent": "0px",
1499
1441
  "--sjs-article-font-large-textCase": "none",
1500
- "--sjs-article-font-medium-fontSize": "24px",
1501
1442
  "--sjs-article-font-medium-textDecoration": "none",
1502
1443
  "--sjs-article-font-medium-fontWeight": "700",
1503
1444
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1506,7 +1447,6 @@ var Theme = {
1506
1447
  "--sjs-article-font-medium-lineHeight": "32px",
1507
1448
  "--sjs-article-font-medium-paragraphIndent": "0px",
1508
1449
  "--sjs-article-font-medium-textCase": "none",
1509
- "--sjs-article-font-default-fontSize": "16px",
1510
1450
  "--sjs-article-font-default-textDecoration": "none",
1511
1451
  "--sjs-article-font-default-fontWeight": "400",
1512
1452
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1578,7 +1518,6 @@ var Theme = {
1578
1518
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1579
1519
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1580
1520
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
1581
- "--sjs-article-font-xx-large-fontSize": "64px",
1582
1521
  "--sjs-article-font-xx-large-textDecoration": "none",
1583
1522
  "--sjs-article-font-xx-large-fontWeight": "700",
1584
1523
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1587,7 +1526,6 @@ var Theme = {
1587
1526
  "--sjs-article-font-xx-large-lineHeight": "64px",
1588
1527
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1589
1528
  "--sjs-article-font-xx-large-textCase": "none",
1590
- "--sjs-article-font-x-large-fontSize": "48px",
1591
1529
  "--sjs-article-font-x-large-textDecoration": "none",
1592
1530
  "--sjs-article-font-x-large-fontWeight": "700",
1593
1531
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1596,7 +1534,6 @@ var Theme = {
1596
1534
  "--sjs-article-font-x-large-lineHeight": "56px",
1597
1535
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1598
1536
  "--sjs-article-font-x-large-textCase": "none",
1599
- "--sjs-article-font-large-fontSize": "32px",
1600
1537
  "--sjs-article-font-large-textDecoration": "none",
1601
1538
  "--sjs-article-font-large-fontWeight": "700",
1602
1539
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1605,7 +1542,6 @@ var Theme = {
1605
1542
  "--sjs-article-font-large-lineHeight": "40px",
1606
1543
  "--sjs-article-font-large-paragraphIndent": "0px",
1607
1544
  "--sjs-article-font-large-textCase": "none",
1608
- "--sjs-article-font-medium-fontSize": "24px",
1609
1545
  "--sjs-article-font-medium-textDecoration": "none",
1610
1546
  "--sjs-article-font-medium-fontWeight": "700",
1611
1547
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1614,7 +1550,6 @@ var Theme = {
1614
1550
  "--sjs-article-font-medium-lineHeight": "32px",
1615
1551
  "--sjs-article-font-medium-paragraphIndent": "0px",
1616
1552
  "--sjs-article-font-medium-textCase": "none",
1617
- "--sjs-article-font-default-fontSize": "16px",
1618
1553
  "--sjs-article-font-default-textDecoration": "none",
1619
1554
  "--sjs-article-font-default-fontWeight": "400",
1620
1555
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1686,7 +1621,6 @@ var Theme = {
1686
1621
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1687
1622
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1688
1623
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
1689
- "--sjs-article-font-xx-large-fontSize": "64px",
1690
1624
  "--sjs-article-font-xx-large-textDecoration": "none",
1691
1625
  "--sjs-article-font-xx-large-fontWeight": "700",
1692
1626
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1695,7 +1629,6 @@ var Theme = {
1695
1629
  "--sjs-article-font-xx-large-lineHeight": "64px",
1696
1630
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1697
1631
  "--sjs-article-font-xx-large-textCase": "none",
1698
- "--sjs-article-font-x-large-fontSize": "48px",
1699
1632
  "--sjs-article-font-x-large-textDecoration": "none",
1700
1633
  "--sjs-article-font-x-large-fontWeight": "700",
1701
1634
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1704,7 +1637,6 @@ var Theme = {
1704
1637
  "--sjs-article-font-x-large-lineHeight": "56px",
1705
1638
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1706
1639
  "--sjs-article-font-x-large-textCase": "none",
1707
- "--sjs-article-font-large-fontSize": "32px",
1708
1640
  "--sjs-article-font-large-textDecoration": "none",
1709
1641
  "--sjs-article-font-large-fontWeight": "700",
1710
1642
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1713,7 +1645,6 @@ var Theme = {
1713
1645
  "--sjs-article-font-large-lineHeight": "40px",
1714
1646
  "--sjs-article-font-large-paragraphIndent": "0px",
1715
1647
  "--sjs-article-font-large-textCase": "none",
1716
- "--sjs-article-font-medium-fontSize": "24px",
1717
1648
  "--sjs-article-font-medium-textDecoration": "none",
1718
1649
  "--sjs-article-font-medium-fontWeight": "700",
1719
1650
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1722,7 +1653,6 @@ var Theme = {
1722
1653
  "--sjs-article-font-medium-lineHeight": "32px",
1723
1654
  "--sjs-article-font-medium-paragraphIndent": "0px",
1724
1655
  "--sjs-article-font-medium-textCase": "none",
1725
- "--sjs-article-font-default-fontSize": "16px",
1726
1656
  "--sjs-article-font-default-textDecoration": "none",
1727
1657
  "--sjs-article-font-default-fontWeight": "400",
1728
1658
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1794,7 +1724,6 @@ var Theme = {
1794
1724
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1795
1725
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1796
1726
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
1797
- "--sjs-article-font-xx-large-fontSize": "64px",
1798
1727
  "--sjs-article-font-xx-large-textDecoration": "none",
1799
1728
  "--sjs-article-font-xx-large-fontWeight": "700",
1800
1729
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1803,7 +1732,6 @@ var Theme = {
1803
1732
  "--sjs-article-font-xx-large-lineHeight": "64px",
1804
1733
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1805
1734
  "--sjs-article-font-xx-large-textCase": "none",
1806
- "--sjs-article-font-x-large-fontSize": "48px",
1807
1735
  "--sjs-article-font-x-large-textDecoration": "none",
1808
1736
  "--sjs-article-font-x-large-fontWeight": "700",
1809
1737
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1812,7 +1740,6 @@ var Theme = {
1812
1740
  "--sjs-article-font-x-large-lineHeight": "56px",
1813
1741
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1814
1742
  "--sjs-article-font-x-large-textCase": "none",
1815
- "--sjs-article-font-large-fontSize": "32px",
1816
1743
  "--sjs-article-font-large-textDecoration": "none",
1817
1744
  "--sjs-article-font-large-fontWeight": "700",
1818
1745
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1821,7 +1748,6 @@ var Theme = {
1821
1748
  "--sjs-article-font-large-lineHeight": "40px",
1822
1749
  "--sjs-article-font-large-paragraphIndent": "0px",
1823
1750
  "--sjs-article-font-large-textCase": "none",
1824
- "--sjs-article-font-medium-fontSize": "24px",
1825
1751
  "--sjs-article-font-medium-textDecoration": "none",
1826
1752
  "--sjs-article-font-medium-fontWeight": "700",
1827
1753
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1830,7 +1756,6 @@ var Theme = {
1830
1756
  "--sjs-article-font-medium-lineHeight": "32px",
1831
1757
  "--sjs-article-font-medium-paragraphIndent": "0px",
1832
1758
  "--sjs-article-font-medium-textCase": "none",
1833
- "--sjs-article-font-default-fontSize": "16px",
1834
1759
  "--sjs-article-font-default-textDecoration": "none",
1835
1760
  "--sjs-article-font-default-fontWeight": "400",
1836
1761
  "--sjs-article-font-default-fontStyle": "normal",
@@ -1902,7 +1827,6 @@ var Theme = {
1902
1827
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
1903
1828
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
1904
1829
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
1905
- "--sjs-article-font-xx-large-fontSize": "64px",
1906
1830
  "--sjs-article-font-xx-large-textDecoration": "none",
1907
1831
  "--sjs-article-font-xx-large-fontWeight": "700",
1908
1832
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -1911,7 +1835,6 @@ var Theme = {
1911
1835
  "--sjs-article-font-xx-large-lineHeight": "64px",
1912
1836
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
1913
1837
  "--sjs-article-font-xx-large-textCase": "none",
1914
- "--sjs-article-font-x-large-fontSize": "48px",
1915
1838
  "--sjs-article-font-x-large-textDecoration": "none",
1916
1839
  "--sjs-article-font-x-large-fontWeight": "700",
1917
1840
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -1920,7 +1843,6 @@ var Theme = {
1920
1843
  "--sjs-article-font-x-large-lineHeight": "56px",
1921
1844
  "--sjs-article-font-x-large-paragraphIndent": "0px",
1922
1845
  "--sjs-article-font-x-large-textCase": "none",
1923
- "--sjs-article-font-large-fontSize": "32px",
1924
1846
  "--sjs-article-font-large-textDecoration": "none",
1925
1847
  "--sjs-article-font-large-fontWeight": "700",
1926
1848
  "--sjs-article-font-large-fontStyle": "normal",
@@ -1929,7 +1851,6 @@ var Theme = {
1929
1851
  "--sjs-article-font-large-lineHeight": "40px",
1930
1852
  "--sjs-article-font-large-paragraphIndent": "0px",
1931
1853
  "--sjs-article-font-large-textCase": "none",
1932
- "--sjs-article-font-medium-fontSize": "24px",
1933
1854
  "--sjs-article-font-medium-textDecoration": "none",
1934
1855
  "--sjs-article-font-medium-fontWeight": "700",
1935
1856
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -1938,7 +1859,6 @@ var Theme = {
1938
1859
  "--sjs-article-font-medium-lineHeight": "32px",
1939
1860
  "--sjs-article-font-medium-paragraphIndent": "0px",
1940
1861
  "--sjs-article-font-medium-textCase": "none",
1941
- "--sjs-article-font-default-fontSize": "16px",
1942
1862
  "--sjs-article-font-default-textDecoration": "none",
1943
1863
  "--sjs-article-font-default-fontWeight": "400",
1944
1864
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2010,7 +1930,6 @@ var Theme = {
2010
1930
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2011
1931
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2012
1932
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
2013
- "--sjs-article-font-xx-large-fontSize": "64px",
2014
1933
  "--sjs-article-font-xx-large-textDecoration": "none",
2015
1934
  "--sjs-article-font-xx-large-fontWeight": "700",
2016
1935
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2019,7 +1938,6 @@ var Theme = {
2019
1938
  "--sjs-article-font-xx-large-lineHeight": "64px",
2020
1939
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2021
1940
  "--sjs-article-font-xx-large-textCase": "none",
2022
- "--sjs-article-font-x-large-fontSize": "48px",
2023
1941
  "--sjs-article-font-x-large-textDecoration": "none",
2024
1942
  "--sjs-article-font-x-large-fontWeight": "700",
2025
1943
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2028,7 +1946,6 @@ var Theme = {
2028
1946
  "--sjs-article-font-x-large-lineHeight": "56px",
2029
1947
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2030
1948
  "--sjs-article-font-x-large-textCase": "none",
2031
- "--sjs-article-font-large-fontSize": "32px",
2032
1949
  "--sjs-article-font-large-textDecoration": "none",
2033
1950
  "--sjs-article-font-large-fontWeight": "700",
2034
1951
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2037,7 +1954,6 @@ var Theme = {
2037
1954
  "--sjs-article-font-large-lineHeight": "40px",
2038
1955
  "--sjs-article-font-large-paragraphIndent": "0px",
2039
1956
  "--sjs-article-font-large-textCase": "none",
2040
- "--sjs-article-font-medium-fontSize": "24px",
2041
1957
  "--sjs-article-font-medium-textDecoration": "none",
2042
1958
  "--sjs-article-font-medium-fontWeight": "700",
2043
1959
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2046,7 +1962,6 @@ var Theme = {
2046
1962
  "--sjs-article-font-medium-lineHeight": "32px",
2047
1963
  "--sjs-article-font-medium-paragraphIndent": "0px",
2048
1964
  "--sjs-article-font-medium-textCase": "none",
2049
- "--sjs-article-font-default-fontSize": "16px",
2050
1965
  "--sjs-article-font-default-textDecoration": "none",
2051
1966
  "--sjs-article-font-default-fontWeight": "400",
2052
1967
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2118,7 +2033,6 @@ var Theme = {
2118
2033
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2119
2034
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2120
2035
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
2121
- "--sjs-article-font-xx-large-fontSize": "64px",
2122
2036
  "--sjs-article-font-xx-large-textDecoration": "none",
2123
2037
  "--sjs-article-font-xx-large-fontWeight": "700",
2124
2038
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2127,7 +2041,6 @@ var Theme = {
2127
2041
  "--sjs-article-font-xx-large-lineHeight": "64px",
2128
2042
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2129
2043
  "--sjs-article-font-xx-large-textCase": "none",
2130
- "--sjs-article-font-x-large-fontSize": "48px",
2131
2044
  "--sjs-article-font-x-large-textDecoration": "none",
2132
2045
  "--sjs-article-font-x-large-fontWeight": "700",
2133
2046
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2136,7 +2049,6 @@ var Theme = {
2136
2049
  "--sjs-article-font-x-large-lineHeight": "56px",
2137
2050
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2138
2051
  "--sjs-article-font-x-large-textCase": "none",
2139
- "--sjs-article-font-large-fontSize": "32px",
2140
2052
  "--sjs-article-font-large-textDecoration": "none",
2141
2053
  "--sjs-article-font-large-fontWeight": "700",
2142
2054
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2145,7 +2057,6 @@ var Theme = {
2145
2057
  "--sjs-article-font-large-lineHeight": "40px",
2146
2058
  "--sjs-article-font-large-paragraphIndent": "0px",
2147
2059
  "--sjs-article-font-large-textCase": "none",
2148
- "--sjs-article-font-medium-fontSize": "24px",
2149
2060
  "--sjs-article-font-medium-textDecoration": "none",
2150
2061
  "--sjs-article-font-medium-fontWeight": "700",
2151
2062
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2154,7 +2065,6 @@ var Theme = {
2154
2065
  "--sjs-article-font-medium-lineHeight": "32px",
2155
2066
  "--sjs-article-font-medium-paragraphIndent": "0px",
2156
2067
  "--sjs-article-font-medium-textCase": "none",
2157
- "--sjs-article-font-default-fontSize": "16px",
2158
2068
  "--sjs-article-font-default-textDecoration": "none",
2159
2069
  "--sjs-article-font-default-fontWeight": "400",
2160
2070
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2226,7 +2136,6 @@ var Theme = {
2226
2136
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2227
2137
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2228
2138
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
2229
- "--sjs-article-font-xx-large-fontSize": "64px",
2230
2139
  "--sjs-article-font-xx-large-textDecoration": "none",
2231
2140
  "--sjs-article-font-xx-large-fontWeight": "700",
2232
2141
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2235,7 +2144,6 @@ var Theme = {
2235
2144
  "--sjs-article-font-xx-large-lineHeight": "64px",
2236
2145
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2237
2146
  "--sjs-article-font-xx-large-textCase": "none",
2238
- "--sjs-article-font-x-large-fontSize": "48px",
2239
2147
  "--sjs-article-font-x-large-textDecoration": "none",
2240
2148
  "--sjs-article-font-x-large-fontWeight": "700",
2241
2149
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2244,7 +2152,6 @@ var Theme = {
2244
2152
  "--sjs-article-font-x-large-lineHeight": "56px",
2245
2153
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2246
2154
  "--sjs-article-font-x-large-textCase": "none",
2247
- "--sjs-article-font-large-fontSize": "32px",
2248
2155
  "--sjs-article-font-large-textDecoration": "none",
2249
2156
  "--sjs-article-font-large-fontWeight": "700",
2250
2157
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2253,7 +2160,6 @@ var Theme = {
2253
2160
  "--sjs-article-font-large-lineHeight": "40px",
2254
2161
  "--sjs-article-font-large-paragraphIndent": "0px",
2255
2162
  "--sjs-article-font-large-textCase": "none",
2256
- "--sjs-article-font-medium-fontSize": "24px",
2257
2163
  "--sjs-article-font-medium-textDecoration": "none",
2258
2164
  "--sjs-article-font-medium-fontWeight": "700",
2259
2165
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2262,7 +2168,6 @@ var Theme = {
2262
2168
  "--sjs-article-font-medium-lineHeight": "32px",
2263
2169
  "--sjs-article-font-medium-paragraphIndent": "0px",
2264
2170
  "--sjs-article-font-medium-textCase": "none",
2265
- "--sjs-article-font-default-fontSize": "16px",
2266
2171
  "--sjs-article-font-default-textDecoration": "none",
2267
2172
  "--sjs-article-font-default-fontWeight": "400",
2268
2173
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2334,7 +2239,6 @@ var Theme = {
2334
2239
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2335
2240
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2336
2241
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
2337
- "--sjs-article-font-xx-large-fontSize": "64px",
2338
2242
  "--sjs-article-font-xx-large-textDecoration": "none",
2339
2243
  "--sjs-article-font-xx-large-fontWeight": "700",
2340
2244
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2343,7 +2247,6 @@ var Theme = {
2343
2247
  "--sjs-article-font-xx-large-lineHeight": "64px",
2344
2248
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2345
2249
  "--sjs-article-font-xx-large-textCase": "none",
2346
- "--sjs-article-font-x-large-fontSize": "48px",
2347
2250
  "--sjs-article-font-x-large-textDecoration": "none",
2348
2251
  "--sjs-article-font-x-large-fontWeight": "700",
2349
2252
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2352,7 +2255,6 @@ var Theme = {
2352
2255
  "--sjs-article-font-x-large-lineHeight": "56px",
2353
2256
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2354
2257
  "--sjs-article-font-x-large-textCase": "none",
2355
- "--sjs-article-font-large-fontSize": "32px",
2356
2258
  "--sjs-article-font-large-textDecoration": "none",
2357
2259
  "--sjs-article-font-large-fontWeight": "700",
2358
2260
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2361,7 +2263,6 @@ var Theme = {
2361
2263
  "--sjs-article-font-large-lineHeight": "40px",
2362
2264
  "--sjs-article-font-large-paragraphIndent": "0px",
2363
2265
  "--sjs-article-font-large-textCase": "none",
2364
- "--sjs-article-font-medium-fontSize": "24px",
2365
2266
  "--sjs-article-font-medium-textDecoration": "none",
2366
2267
  "--sjs-article-font-medium-fontWeight": "700",
2367
2268
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2370,7 +2271,6 @@ var Theme = {
2370
2271
  "--sjs-article-font-medium-lineHeight": "32px",
2371
2272
  "--sjs-article-font-medium-paragraphIndent": "0px",
2372
2273
  "--sjs-article-font-medium-textCase": "none",
2373
- "--sjs-article-font-default-fontSize": "16px",
2374
2274
  "--sjs-article-font-default-textDecoration": "none",
2375
2275
  "--sjs-article-font-default-fontWeight": "400",
2376
2276
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2615,7 +2515,6 @@ var Theme = {
2615
2515
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2616
2516
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2617
2517
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
2618
- "--sjs-article-font-xx-large-fontSize": "64px",
2619
2518
  "--sjs-article-font-xx-large-textDecoration": "none",
2620
2519
  "--sjs-article-font-xx-large-fontWeight": "700",
2621
2520
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2624,7 +2523,6 @@ var Theme = {
2624
2523
  "--sjs-article-font-xx-large-lineHeight": "64px",
2625
2524
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2626
2525
  "--sjs-article-font-xx-large-textCase": "none",
2627
- "--sjs-article-font-x-large-fontSize": "48px",
2628
2526
  "--sjs-article-font-x-large-textDecoration": "none",
2629
2527
  "--sjs-article-font-x-large-fontWeight": "700",
2630
2528
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2633,7 +2531,6 @@ var Theme = {
2633
2531
  "--sjs-article-font-x-large-lineHeight": "56px",
2634
2532
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2635
2533
  "--sjs-article-font-x-large-textCase": "none",
2636
- "--sjs-article-font-large-fontSize": "32px",
2637
2534
  "--sjs-article-font-large-textDecoration": "none",
2638
2535
  "--sjs-article-font-large-fontWeight": "700",
2639
2536
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2642,7 +2539,6 @@ var Theme = {
2642
2539
  "--sjs-article-font-large-lineHeight": "40px",
2643
2540
  "--sjs-article-font-large-paragraphIndent": "0px",
2644
2541
  "--sjs-article-font-large-textCase": "none",
2645
- "--sjs-article-font-medium-fontSize": "24px",
2646
2542
  "--sjs-article-font-medium-textDecoration": "none",
2647
2543
  "--sjs-article-font-medium-fontWeight": "700",
2648
2544
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2651,7 +2547,6 @@ var Theme = {
2651
2547
  "--sjs-article-font-medium-lineHeight": "32px",
2652
2548
  "--sjs-article-font-medium-paragraphIndent": "0px",
2653
2549
  "--sjs-article-font-medium-textCase": "none",
2654
- "--sjs-article-font-default-fontSize": "16px",
2655
2550
  "--sjs-article-font-default-textDecoration": "none",
2656
2551
  "--sjs-article-font-default-fontWeight": "400",
2657
2552
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2723,7 +2618,6 @@ var Theme = {
2723
2618
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2724
2619
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2725
2620
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
2726
- "--sjs-article-font-xx-large-fontSize": "64px",
2727
2621
  "--sjs-article-font-xx-large-textDecoration": "none",
2728
2622
  "--sjs-article-font-xx-large-fontWeight": "700",
2729
2623
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2732,7 +2626,6 @@ var Theme = {
2732
2626
  "--sjs-article-font-xx-large-lineHeight": "64px",
2733
2627
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2734
2628
  "--sjs-article-font-xx-large-textCase": "none",
2735
- "--sjs-article-font-x-large-fontSize": "48px",
2736
2629
  "--sjs-article-font-x-large-textDecoration": "none",
2737
2630
  "--sjs-article-font-x-large-fontWeight": "700",
2738
2631
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2741,7 +2634,6 @@ var Theme = {
2741
2634
  "--sjs-article-font-x-large-lineHeight": "56px",
2742
2635
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2743
2636
  "--sjs-article-font-x-large-textCase": "none",
2744
- "--sjs-article-font-large-fontSize": "32px",
2745
2637
  "--sjs-article-font-large-textDecoration": "none",
2746
2638
  "--sjs-article-font-large-fontWeight": "700",
2747
2639
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2750,7 +2642,6 @@ var Theme = {
2750
2642
  "--sjs-article-font-large-lineHeight": "40px",
2751
2643
  "--sjs-article-font-large-paragraphIndent": "0px",
2752
2644
  "--sjs-article-font-large-textCase": "none",
2753
- "--sjs-article-font-medium-fontSize": "24px",
2754
2645
  "--sjs-article-font-medium-textDecoration": "none",
2755
2646
  "--sjs-article-font-medium-fontWeight": "700",
2756
2647
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2759,7 +2650,6 @@ var Theme = {
2759
2650
  "--sjs-article-font-medium-lineHeight": "32px",
2760
2651
  "--sjs-article-font-medium-paragraphIndent": "0px",
2761
2652
  "--sjs-article-font-medium-textCase": "none",
2762
- "--sjs-article-font-default-fontSize": "16px",
2763
2653
  "--sjs-article-font-default-textDecoration": "none",
2764
2654
  "--sjs-article-font-default-fontWeight": "400",
2765
2655
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2831,7 +2721,6 @@ var Theme = {
2831
2721
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2832
2722
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2833
2723
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
2834
- "--sjs-article-font-xx-large-fontSize": "64px",
2835
2724
  "--sjs-article-font-xx-large-textDecoration": "none",
2836
2725
  "--sjs-article-font-xx-large-fontWeight": "700",
2837
2726
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2840,7 +2729,6 @@ var Theme = {
2840
2729
  "--sjs-article-font-xx-large-lineHeight": "64px",
2841
2730
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2842
2731
  "--sjs-article-font-xx-large-textCase": "none",
2843
- "--sjs-article-font-x-large-fontSize": "48px",
2844
2732
  "--sjs-article-font-x-large-textDecoration": "none",
2845
2733
  "--sjs-article-font-x-large-fontWeight": "700",
2846
2734
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2849,7 +2737,6 @@ var Theme = {
2849
2737
  "--sjs-article-font-x-large-lineHeight": "56px",
2850
2738
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2851
2739
  "--sjs-article-font-x-large-textCase": "none",
2852
- "--sjs-article-font-large-fontSize": "32px",
2853
2740
  "--sjs-article-font-large-textDecoration": "none",
2854
2741
  "--sjs-article-font-large-fontWeight": "700",
2855
2742
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2858,7 +2745,6 @@ var Theme = {
2858
2745
  "--sjs-article-font-large-lineHeight": "40px",
2859
2746
  "--sjs-article-font-large-paragraphIndent": "0px",
2860
2747
  "--sjs-article-font-large-textCase": "none",
2861
- "--sjs-article-font-medium-fontSize": "24px",
2862
2748
  "--sjs-article-font-medium-textDecoration": "none",
2863
2749
  "--sjs-article-font-medium-fontWeight": "700",
2864
2750
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2867,7 +2753,6 @@ var Theme = {
2867
2753
  "--sjs-article-font-medium-lineHeight": "32px",
2868
2754
  "--sjs-article-font-medium-paragraphIndent": "0px",
2869
2755
  "--sjs-article-font-medium-textCase": "none",
2870
- "--sjs-article-font-default-fontSize": "16px",
2871
2756
  "--sjs-article-font-default-textDecoration": "none",
2872
2757
  "--sjs-article-font-default-fontWeight": "400",
2873
2758
  "--sjs-article-font-default-fontStyle": "normal",
@@ -2939,7 +2824,6 @@ var Theme = {
2939
2824
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
2940
2825
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
2941
2826
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
2942
- "--sjs-article-font-xx-large-fontSize": "64px",
2943
2827
  "--sjs-article-font-xx-large-textDecoration": "none",
2944
2828
  "--sjs-article-font-xx-large-fontWeight": "700",
2945
2829
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -2948,7 +2832,6 @@ var Theme = {
2948
2832
  "--sjs-article-font-xx-large-lineHeight": "64px",
2949
2833
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
2950
2834
  "--sjs-article-font-xx-large-textCase": "none",
2951
- "--sjs-article-font-x-large-fontSize": "48px",
2952
2835
  "--sjs-article-font-x-large-textDecoration": "none",
2953
2836
  "--sjs-article-font-x-large-fontWeight": "700",
2954
2837
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -2957,7 +2840,6 @@ var Theme = {
2957
2840
  "--sjs-article-font-x-large-lineHeight": "56px",
2958
2841
  "--sjs-article-font-x-large-paragraphIndent": "0px",
2959
2842
  "--sjs-article-font-x-large-textCase": "none",
2960
- "--sjs-article-font-large-fontSize": "32px",
2961
2843
  "--sjs-article-font-large-textDecoration": "none",
2962
2844
  "--sjs-article-font-large-fontWeight": "700",
2963
2845
  "--sjs-article-font-large-fontStyle": "normal",
@@ -2966,7 +2848,6 @@ var Theme = {
2966
2848
  "--sjs-article-font-large-lineHeight": "40px",
2967
2849
  "--sjs-article-font-large-paragraphIndent": "0px",
2968
2850
  "--sjs-article-font-large-textCase": "none",
2969
- "--sjs-article-font-medium-fontSize": "24px",
2970
2851
  "--sjs-article-font-medium-textDecoration": "none",
2971
2852
  "--sjs-article-font-medium-fontWeight": "700",
2972
2853
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -2975,7 +2856,6 @@ var Theme = {
2975
2856
  "--sjs-article-font-medium-lineHeight": "32px",
2976
2857
  "--sjs-article-font-medium-paragraphIndent": "0px",
2977
2858
  "--sjs-article-font-medium-textCase": "none",
2978
- "--sjs-article-font-default-fontSize": "16px",
2979
2859
  "--sjs-article-font-default-textDecoration": "none",
2980
2860
  "--sjs-article-font-default-fontWeight": "400",
2981
2861
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3047,7 +2927,6 @@ var Theme = {
3047
2927
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3048
2928
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3049
2929
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
3050
- "--sjs-article-font-xx-large-fontSize": "64px",
3051
2930
  "--sjs-article-font-xx-large-textDecoration": "none",
3052
2931
  "--sjs-article-font-xx-large-fontWeight": "700",
3053
2932
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3056,7 +2935,6 @@ var Theme = {
3056
2935
  "--sjs-article-font-xx-large-lineHeight": "64px",
3057
2936
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3058
2937
  "--sjs-article-font-xx-large-textCase": "none",
3059
- "--sjs-article-font-x-large-fontSize": "48px",
3060
2938
  "--sjs-article-font-x-large-textDecoration": "none",
3061
2939
  "--sjs-article-font-x-large-fontWeight": "700",
3062
2940
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3065,7 +2943,6 @@ var Theme = {
3065
2943
  "--sjs-article-font-x-large-lineHeight": "56px",
3066
2944
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3067
2945
  "--sjs-article-font-x-large-textCase": "none",
3068
- "--sjs-article-font-large-fontSize": "32px",
3069
2946
  "--sjs-article-font-large-textDecoration": "none",
3070
2947
  "--sjs-article-font-large-fontWeight": "700",
3071
2948
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3074,7 +2951,6 @@ var Theme = {
3074
2951
  "--sjs-article-font-large-lineHeight": "40px",
3075
2952
  "--sjs-article-font-large-paragraphIndent": "0px",
3076
2953
  "--sjs-article-font-large-textCase": "none",
3077
- "--sjs-article-font-medium-fontSize": "24px",
3078
2954
  "--sjs-article-font-medium-textDecoration": "none",
3079
2955
  "--sjs-article-font-medium-fontWeight": "700",
3080
2956
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3083,7 +2959,6 @@ var Theme = {
3083
2959
  "--sjs-article-font-medium-lineHeight": "32px",
3084
2960
  "--sjs-article-font-medium-paragraphIndent": "0px",
3085
2961
  "--sjs-article-font-medium-textCase": "none",
3086
- "--sjs-article-font-default-fontSize": "16px",
3087
2962
  "--sjs-article-font-default-textDecoration": "none",
3088
2963
  "--sjs-article-font-default-fontWeight": "400",
3089
2964
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3155,7 +3030,6 @@ var Theme = {
3155
3030
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3156
3031
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3157
3032
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
3158
- "--sjs-article-font-xx-large-fontSize": "64px",
3159
3033
  "--sjs-article-font-xx-large-textDecoration": "none",
3160
3034
  "--sjs-article-font-xx-large-fontWeight": "700",
3161
3035
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3164,7 +3038,6 @@ var Theme = {
3164
3038
  "--sjs-article-font-xx-large-lineHeight": "64px",
3165
3039
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3166
3040
  "--sjs-article-font-xx-large-textCase": "none",
3167
- "--sjs-article-font-x-large-fontSize": "48px",
3168
3041
  "--sjs-article-font-x-large-textDecoration": "none",
3169
3042
  "--sjs-article-font-x-large-fontWeight": "700",
3170
3043
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3173,7 +3046,6 @@ var Theme = {
3173
3046
  "--sjs-article-font-x-large-lineHeight": "56px",
3174
3047
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3175
3048
  "--sjs-article-font-x-large-textCase": "none",
3176
- "--sjs-article-font-large-fontSize": "32px",
3177
3049
  "--sjs-article-font-large-textDecoration": "none",
3178
3050
  "--sjs-article-font-large-fontWeight": "700",
3179
3051
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3182,7 +3054,6 @@ var Theme = {
3182
3054
  "--sjs-article-font-large-lineHeight": "40px",
3183
3055
  "--sjs-article-font-large-paragraphIndent": "0px",
3184
3056
  "--sjs-article-font-large-textCase": "none",
3185
- "--sjs-article-font-medium-fontSize": "24px",
3186
3057
  "--sjs-article-font-medium-textDecoration": "none",
3187
3058
  "--sjs-article-font-medium-fontWeight": "700",
3188
3059
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3191,7 +3062,6 @@ var Theme = {
3191
3062
  "--sjs-article-font-medium-lineHeight": "32px",
3192
3063
  "--sjs-article-font-medium-paragraphIndent": "0px",
3193
3064
  "--sjs-article-font-medium-textCase": "none",
3194
- "--sjs-article-font-default-fontSize": "16px",
3195
3065
  "--sjs-article-font-default-textDecoration": "none",
3196
3066
  "--sjs-article-font-default-fontWeight": "400",
3197
3067
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3263,7 +3133,6 @@ var Theme = {
3263
3133
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3264
3134
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3265
3135
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
3266
- "--sjs-article-font-xx-large-fontSize": "64px",
3267
3136
  "--sjs-article-font-xx-large-textDecoration": "none",
3268
3137
  "--sjs-article-font-xx-large-fontWeight": "700",
3269
3138
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3272,7 +3141,6 @@ var Theme = {
3272
3141
  "--sjs-article-font-xx-large-lineHeight": "64px",
3273
3142
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3274
3143
  "--sjs-article-font-xx-large-textCase": "none",
3275
- "--sjs-article-font-x-large-fontSize": "48px",
3276
3144
  "--sjs-article-font-x-large-textDecoration": "none",
3277
3145
  "--sjs-article-font-x-large-fontWeight": "700",
3278
3146
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3281,7 +3149,6 @@ var Theme = {
3281
3149
  "--sjs-article-font-x-large-lineHeight": "56px",
3282
3150
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3283
3151
  "--sjs-article-font-x-large-textCase": "none",
3284
- "--sjs-article-font-large-fontSize": "32px",
3285
3152
  "--sjs-article-font-large-textDecoration": "none",
3286
3153
  "--sjs-article-font-large-fontWeight": "700",
3287
3154
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3290,7 +3157,6 @@ var Theme = {
3290
3157
  "--sjs-article-font-large-lineHeight": "40px",
3291
3158
  "--sjs-article-font-large-paragraphIndent": "0px",
3292
3159
  "--sjs-article-font-large-textCase": "none",
3293
- "--sjs-article-font-medium-fontSize": "24px",
3294
3160
  "--sjs-article-font-medium-textDecoration": "none",
3295
3161
  "--sjs-article-font-medium-fontWeight": "700",
3296
3162
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3299,7 +3165,6 @@ var Theme = {
3299
3165
  "--sjs-article-font-medium-lineHeight": "32px",
3300
3166
  "--sjs-article-font-medium-paragraphIndent": "0px",
3301
3167
  "--sjs-article-font-medium-textCase": "none",
3302
- "--sjs-article-font-default-fontSize": "16px",
3303
3168
  "--sjs-article-font-default-textDecoration": "none",
3304
3169
  "--sjs-article-font-default-fontWeight": "400",
3305
3170
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3371,7 +3236,6 @@ var Theme = {
3371
3236
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3372
3237
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3373
3238
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
3374
- "--sjs-article-font-xx-large-fontSize": "64px",
3375
3239
  "--sjs-article-font-xx-large-textDecoration": "none",
3376
3240
  "--sjs-article-font-xx-large-fontWeight": "700",
3377
3241
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3380,7 +3244,6 @@ var Theme = {
3380
3244
  "--sjs-article-font-xx-large-lineHeight": "64px",
3381
3245
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3382
3246
  "--sjs-article-font-xx-large-textCase": "none",
3383
- "--sjs-article-font-x-large-fontSize": "48px",
3384
3247
  "--sjs-article-font-x-large-textDecoration": "none",
3385
3248
  "--sjs-article-font-x-large-fontWeight": "700",
3386
3249
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3389,7 +3252,6 @@ var Theme = {
3389
3252
  "--sjs-article-font-x-large-lineHeight": "56px",
3390
3253
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3391
3254
  "--sjs-article-font-x-large-textCase": "none",
3392
- "--sjs-article-font-large-fontSize": "32px",
3393
3255
  "--sjs-article-font-large-textDecoration": "none",
3394
3256
  "--sjs-article-font-large-fontWeight": "700",
3395
3257
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3398,7 +3260,6 @@ var Theme = {
3398
3260
  "--sjs-article-font-large-lineHeight": "40px",
3399
3261
  "--sjs-article-font-large-paragraphIndent": "0px",
3400
3262
  "--sjs-article-font-large-textCase": "none",
3401
- "--sjs-article-font-medium-fontSize": "24px",
3402
3263
  "--sjs-article-font-medium-textDecoration": "none",
3403
3264
  "--sjs-article-font-medium-fontWeight": "700",
3404
3265
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3407,7 +3268,6 @@ var Theme = {
3407
3268
  "--sjs-article-font-medium-lineHeight": "32px",
3408
3269
  "--sjs-article-font-medium-paragraphIndent": "0px",
3409
3270
  "--sjs-article-font-medium-textCase": "none",
3410
- "--sjs-article-font-default-fontSize": "16px",
3411
3271
  "--sjs-article-font-default-textDecoration": "none",
3412
3272
  "--sjs-article-font-default-fontWeight": "400",
3413
3273
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3479,7 +3339,6 @@ var Theme = {
3479
3339
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3480
3340
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3481
3341
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
3482
- "--sjs-article-font-xx-large-fontSize": "64px",
3483
3342
  "--sjs-article-font-xx-large-textDecoration": "none",
3484
3343
  "--sjs-article-font-xx-large-fontWeight": "700",
3485
3344
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3488,7 +3347,6 @@ var Theme = {
3488
3347
  "--sjs-article-font-xx-large-lineHeight": "64px",
3489
3348
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3490
3349
  "--sjs-article-font-xx-large-textCase": "none",
3491
- "--sjs-article-font-x-large-fontSize": "48px",
3492
3350
  "--sjs-article-font-x-large-textDecoration": "none",
3493
3351
  "--sjs-article-font-x-large-fontWeight": "700",
3494
3352
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3497,7 +3355,6 @@ var Theme = {
3497
3355
  "--sjs-article-font-x-large-lineHeight": "56px",
3498
3356
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3499
3357
  "--sjs-article-font-x-large-textCase": "none",
3500
- "--sjs-article-font-large-fontSize": "32px",
3501
3358
  "--sjs-article-font-large-textDecoration": "none",
3502
3359
  "--sjs-article-font-large-fontWeight": "700",
3503
3360
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3506,7 +3363,6 @@ var Theme = {
3506
3363
  "--sjs-article-font-large-lineHeight": "40px",
3507
3364
  "--sjs-article-font-large-paragraphIndent": "0px",
3508
3365
  "--sjs-article-font-large-textCase": "none",
3509
- "--sjs-article-font-medium-fontSize": "24px",
3510
3366
  "--sjs-article-font-medium-textDecoration": "none",
3511
3367
  "--sjs-article-font-medium-fontWeight": "700",
3512
3368
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3515,7 +3371,6 @@ var Theme = {
3515
3371
  "--sjs-article-font-medium-lineHeight": "32px",
3516
3372
  "--sjs-article-font-medium-paragraphIndent": "0px",
3517
3373
  "--sjs-article-font-medium-textCase": "none",
3518
- "--sjs-article-font-default-fontSize": "16px",
3519
3374
  "--sjs-article-font-default-textDecoration": "none",
3520
3375
  "--sjs-article-font-default-fontWeight": "400",
3521
3376
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3587,7 +3442,6 @@ var Theme = {
3587
3442
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3588
3443
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3589
3444
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
3590
- "--sjs-article-font-xx-large-fontSize": "64px",
3591
3445
  "--sjs-article-font-xx-large-textDecoration": "none",
3592
3446
  "--sjs-article-font-xx-large-fontWeight": "700",
3593
3447
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3596,7 +3450,6 @@ var Theme = {
3596
3450
  "--sjs-article-font-xx-large-lineHeight": "64px",
3597
3451
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3598
3452
  "--sjs-article-font-xx-large-textCase": "none",
3599
- "--sjs-article-font-x-large-fontSize": "48px",
3600
3453
  "--sjs-article-font-x-large-textDecoration": "none",
3601
3454
  "--sjs-article-font-x-large-fontWeight": "700",
3602
3455
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3605,7 +3458,6 @@ var Theme = {
3605
3458
  "--sjs-article-font-x-large-lineHeight": "56px",
3606
3459
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3607
3460
  "--sjs-article-font-x-large-textCase": "none",
3608
- "--sjs-article-font-large-fontSize": "32px",
3609
3461
  "--sjs-article-font-large-textDecoration": "none",
3610
3462
  "--sjs-article-font-large-fontWeight": "700",
3611
3463
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3614,7 +3466,6 @@ var Theme = {
3614
3466
  "--sjs-article-font-large-lineHeight": "40px",
3615
3467
  "--sjs-article-font-large-paragraphIndent": "0px",
3616
3468
  "--sjs-article-font-large-textCase": "none",
3617
- "--sjs-article-font-medium-fontSize": "24px",
3618
3469
  "--sjs-article-font-medium-textDecoration": "none",
3619
3470
  "--sjs-article-font-medium-fontWeight": "700",
3620
3471
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3623,7 +3474,6 @@ var Theme = {
3623
3474
  "--sjs-article-font-medium-lineHeight": "32px",
3624
3475
  "--sjs-article-font-medium-paragraphIndent": "0px",
3625
3476
  "--sjs-article-font-medium-textCase": "none",
3626
- "--sjs-article-font-default-fontSize": "16px",
3627
3477
  "--sjs-article-font-default-textDecoration": "none",
3628
3478
  "--sjs-article-font-default-fontWeight": "400",
3629
3479
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3695,7 +3545,6 @@ var Theme = {
3695
3545
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3696
3546
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3697
3547
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
3698
- "--sjs-article-font-xx-large-fontSize": "64px",
3699
3548
  "--sjs-article-font-xx-large-textDecoration": "none",
3700
3549
  "--sjs-article-font-xx-large-fontWeight": "700",
3701
3550
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3704,7 +3553,6 @@ var Theme = {
3704
3553
  "--sjs-article-font-xx-large-lineHeight": "64px",
3705
3554
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3706
3555
  "--sjs-article-font-xx-large-textCase": "none",
3707
- "--sjs-article-font-x-large-fontSize": "48px",
3708
3556
  "--sjs-article-font-x-large-textDecoration": "none",
3709
3557
  "--sjs-article-font-x-large-fontWeight": "700",
3710
3558
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3713,7 +3561,6 @@ var Theme = {
3713
3561
  "--sjs-article-font-x-large-lineHeight": "56px",
3714
3562
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3715
3563
  "--sjs-article-font-x-large-textCase": "none",
3716
- "--sjs-article-font-large-fontSize": "32px",
3717
3564
  "--sjs-article-font-large-textDecoration": "none",
3718
3565
  "--sjs-article-font-large-fontWeight": "700",
3719
3566
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3722,7 +3569,6 @@ var Theme = {
3722
3569
  "--sjs-article-font-large-lineHeight": "40px",
3723
3570
  "--sjs-article-font-large-paragraphIndent": "0px",
3724
3571
  "--sjs-article-font-large-textCase": "none",
3725
- "--sjs-article-font-medium-fontSize": "24px",
3726
3572
  "--sjs-article-font-medium-textDecoration": "none",
3727
3573
  "--sjs-article-font-medium-fontWeight": "700",
3728
3574
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3731,7 +3577,6 @@ var Theme = {
3731
3577
  "--sjs-article-font-medium-lineHeight": "32px",
3732
3578
  "--sjs-article-font-medium-paragraphIndent": "0px",
3733
3579
  "--sjs-article-font-medium-textCase": "none",
3734
- "--sjs-article-font-default-fontSize": "16px",
3735
3580
  "--sjs-article-font-default-textDecoration": "none",
3736
3581
  "--sjs-article-font-default-fontWeight": "400",
3737
3582
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3803,7 +3648,6 @@ var Theme = {
3803
3648
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3804
3649
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3805
3650
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
3806
- "--sjs-article-font-xx-large-fontSize": "64px",
3807
3651
  "--sjs-article-font-xx-large-textDecoration": "none",
3808
3652
  "--sjs-article-font-xx-large-fontWeight": "700",
3809
3653
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3812,7 +3656,6 @@ var Theme = {
3812
3656
  "--sjs-article-font-xx-large-lineHeight": "64px",
3813
3657
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3814
3658
  "--sjs-article-font-xx-large-textCase": "none",
3815
- "--sjs-article-font-x-large-fontSize": "48px",
3816
3659
  "--sjs-article-font-x-large-textDecoration": "none",
3817
3660
  "--sjs-article-font-x-large-fontWeight": "700",
3818
3661
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3821,7 +3664,6 @@ var Theme = {
3821
3664
  "--sjs-article-font-x-large-lineHeight": "56px",
3822
3665
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3823
3666
  "--sjs-article-font-x-large-textCase": "none",
3824
- "--sjs-article-font-large-fontSize": "32px",
3825
3667
  "--sjs-article-font-large-textDecoration": "none",
3826
3668
  "--sjs-article-font-large-fontWeight": "700",
3827
3669
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3830,7 +3672,6 @@ var Theme = {
3830
3672
  "--sjs-article-font-large-lineHeight": "40px",
3831
3673
  "--sjs-article-font-large-paragraphIndent": "0px",
3832
3674
  "--sjs-article-font-large-textCase": "none",
3833
- "--sjs-article-font-medium-fontSize": "24px",
3834
3675
  "--sjs-article-font-medium-textDecoration": "none",
3835
3676
  "--sjs-article-font-medium-fontWeight": "700",
3836
3677
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3839,7 +3680,6 @@ var Theme = {
3839
3680
  "--sjs-article-font-medium-lineHeight": "32px",
3840
3681
  "--sjs-article-font-medium-paragraphIndent": "0px",
3841
3682
  "--sjs-article-font-medium-textCase": "none",
3842
- "--sjs-article-font-default-fontSize": "16px",
3843
3683
  "--sjs-article-font-default-textDecoration": "none",
3844
3684
  "--sjs-article-font-default-fontWeight": "400",
3845
3685
  "--sjs-article-font-default-fontStyle": "normal",
@@ -3911,7 +3751,6 @@ var Theme = {
3911
3751
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
3912
3752
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
3913
3753
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
3914
- "--sjs-article-font-xx-large-fontSize": "64px",
3915
3754
  "--sjs-article-font-xx-large-textDecoration": "none",
3916
3755
  "--sjs-article-font-xx-large-fontWeight": "700",
3917
3756
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -3920,7 +3759,6 @@ var Theme = {
3920
3759
  "--sjs-article-font-xx-large-lineHeight": "64px",
3921
3760
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
3922
3761
  "--sjs-article-font-xx-large-textCase": "none",
3923
- "--sjs-article-font-x-large-fontSize": "48px",
3924
3762
  "--sjs-article-font-x-large-textDecoration": "none",
3925
3763
  "--sjs-article-font-x-large-fontWeight": "700",
3926
3764
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -3929,7 +3767,6 @@ var Theme = {
3929
3767
  "--sjs-article-font-x-large-lineHeight": "56px",
3930
3768
  "--sjs-article-font-x-large-paragraphIndent": "0px",
3931
3769
  "--sjs-article-font-x-large-textCase": "none",
3932
- "--sjs-article-font-large-fontSize": "32px",
3933
3770
  "--sjs-article-font-large-textDecoration": "none",
3934
3771
  "--sjs-article-font-large-fontWeight": "700",
3935
3772
  "--sjs-article-font-large-fontStyle": "normal",
@@ -3938,7 +3775,6 @@ var Theme = {
3938
3775
  "--sjs-article-font-large-lineHeight": "40px",
3939
3776
  "--sjs-article-font-large-paragraphIndent": "0px",
3940
3777
  "--sjs-article-font-large-textCase": "none",
3941
- "--sjs-article-font-medium-fontSize": "24px",
3942
3778
  "--sjs-article-font-medium-textDecoration": "none",
3943
3779
  "--sjs-article-font-medium-fontWeight": "700",
3944
3780
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -3947,7 +3783,6 @@ var Theme = {
3947
3783
  "--sjs-article-font-medium-lineHeight": "32px",
3948
3784
  "--sjs-article-font-medium-paragraphIndent": "0px",
3949
3785
  "--sjs-article-font-medium-textCase": "none",
3950
- "--sjs-article-font-default-fontSize": "16px",
3951
3786
  "--sjs-article-font-default-textDecoration": "none",
3952
3787
  "--sjs-article-font-default-fontWeight": "400",
3953
3788
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4019,7 +3854,6 @@ var Theme = {
4019
3854
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4020
3855
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4021
3856
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
4022
- "--sjs-article-font-xx-large-fontSize": "64px",
4023
3857
  "--sjs-article-font-xx-large-textDecoration": "none",
4024
3858
  "--sjs-article-font-xx-large-fontWeight": "700",
4025
3859
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4028,7 +3862,6 @@ var Theme = {
4028
3862
  "--sjs-article-font-xx-large-lineHeight": "64px",
4029
3863
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4030
3864
  "--sjs-article-font-xx-large-textCase": "none",
4031
- "--sjs-article-font-x-large-fontSize": "48px",
4032
3865
  "--sjs-article-font-x-large-textDecoration": "none",
4033
3866
  "--sjs-article-font-x-large-fontWeight": "700",
4034
3867
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4037,7 +3870,6 @@ var Theme = {
4037
3870
  "--sjs-article-font-x-large-lineHeight": "56px",
4038
3871
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4039
3872
  "--sjs-article-font-x-large-textCase": "none",
4040
- "--sjs-article-font-large-fontSize": "32px",
4041
3873
  "--sjs-article-font-large-textDecoration": "none",
4042
3874
  "--sjs-article-font-large-fontWeight": "700",
4043
3875
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4046,7 +3878,6 @@ var Theme = {
4046
3878
  "--sjs-article-font-large-lineHeight": "40px",
4047
3879
  "--sjs-article-font-large-paragraphIndent": "0px",
4048
3880
  "--sjs-article-font-large-textCase": "none",
4049
- "--sjs-article-font-medium-fontSize": "24px",
4050
3881
  "--sjs-article-font-medium-textDecoration": "none",
4051
3882
  "--sjs-article-font-medium-fontWeight": "700",
4052
3883
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4055,7 +3886,6 @@ var Theme = {
4055
3886
  "--sjs-article-font-medium-lineHeight": "32px",
4056
3887
  "--sjs-article-font-medium-paragraphIndent": "0px",
4057
3888
  "--sjs-article-font-medium-textCase": "none",
4058
- "--sjs-article-font-default-fontSize": "16px",
4059
3889
  "--sjs-article-font-default-textDecoration": "none",
4060
3890
  "--sjs-article-font-default-fontWeight": "400",
4061
3891
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4127,7 +3957,6 @@ var Theme = {
4127
3957
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4128
3958
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4129
3959
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
4130
- "--sjs-article-font-xx-large-fontSize": "64px",
4131
3960
  "--sjs-article-font-xx-large-textDecoration": "none",
4132
3961
  "--sjs-article-font-xx-large-fontWeight": "700",
4133
3962
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4136,7 +3965,6 @@ var Theme = {
4136
3965
  "--sjs-article-font-xx-large-lineHeight": "64px",
4137
3966
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4138
3967
  "--sjs-article-font-xx-large-textCase": "none",
4139
- "--sjs-article-font-x-large-fontSize": "48px",
4140
3968
  "--sjs-article-font-x-large-textDecoration": "none",
4141
3969
  "--sjs-article-font-x-large-fontWeight": "700",
4142
3970
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4145,7 +3973,6 @@ var Theme = {
4145
3973
  "--sjs-article-font-x-large-lineHeight": "56px",
4146
3974
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4147
3975
  "--sjs-article-font-x-large-textCase": "none",
4148
- "--sjs-article-font-large-fontSize": "32px",
4149
3976
  "--sjs-article-font-large-textDecoration": "none",
4150
3977
  "--sjs-article-font-large-fontWeight": "700",
4151
3978
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4154,7 +3981,6 @@ var Theme = {
4154
3981
  "--sjs-article-font-large-lineHeight": "40px",
4155
3982
  "--sjs-article-font-large-paragraphIndent": "0px",
4156
3983
  "--sjs-article-font-large-textCase": "none",
4157
- "--sjs-article-font-medium-fontSize": "24px",
4158
3984
  "--sjs-article-font-medium-textDecoration": "none",
4159
3985
  "--sjs-article-font-medium-fontWeight": "700",
4160
3986
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4163,7 +3989,6 @@ var Theme = {
4163
3989
  "--sjs-article-font-medium-lineHeight": "32px",
4164
3990
  "--sjs-article-font-medium-paragraphIndent": "0px",
4165
3991
  "--sjs-article-font-medium-textCase": "none",
4166
- "--sjs-article-font-default-fontSize": "16px",
4167
3992
  "--sjs-article-font-default-textDecoration": "none",
4168
3993
  "--sjs-article-font-default-fontWeight": "400",
4169
3994
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4235,7 +4060,6 @@ var Theme = {
4235
4060
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4236
4061
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4237
4062
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
4238
- "--sjs-article-font-xx-large-fontSize": "64px",
4239
4063
  "--sjs-article-font-xx-large-textDecoration": "none",
4240
4064
  "--sjs-article-font-xx-large-fontWeight": "700",
4241
4065
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4244,7 +4068,6 @@ var Theme = {
4244
4068
  "--sjs-article-font-xx-large-lineHeight": "64px",
4245
4069
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4246
4070
  "--sjs-article-font-xx-large-textCase": "none",
4247
- "--sjs-article-font-x-large-fontSize": "48px",
4248
4071
  "--sjs-article-font-x-large-textDecoration": "none",
4249
4072
  "--sjs-article-font-x-large-fontWeight": "700",
4250
4073
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4253,7 +4076,6 @@ var Theme = {
4253
4076
  "--sjs-article-font-x-large-lineHeight": "56px",
4254
4077
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4255
4078
  "--sjs-article-font-x-large-textCase": "none",
4256
- "--sjs-article-font-large-fontSize": "32px",
4257
4079
  "--sjs-article-font-large-textDecoration": "none",
4258
4080
  "--sjs-article-font-large-fontWeight": "700",
4259
4081
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4262,7 +4084,6 @@ var Theme = {
4262
4084
  "--sjs-article-font-large-lineHeight": "40px",
4263
4085
  "--sjs-article-font-large-paragraphIndent": "0px",
4264
4086
  "--sjs-article-font-large-textCase": "none",
4265
- "--sjs-article-font-medium-fontSize": "24px",
4266
4087
  "--sjs-article-font-medium-textDecoration": "none",
4267
4088
  "--sjs-article-font-medium-fontWeight": "700",
4268
4089
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4271,7 +4092,6 @@ var Theme = {
4271
4092
  "--sjs-article-font-medium-lineHeight": "32px",
4272
4093
  "--sjs-article-font-medium-paragraphIndent": "0px",
4273
4094
  "--sjs-article-font-medium-textCase": "none",
4274
- "--sjs-article-font-default-fontSize": "16px",
4275
4095
  "--sjs-article-font-default-textDecoration": "none",
4276
4096
  "--sjs-article-font-default-fontWeight": "400",
4277
4097
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4343,7 +4163,6 @@ var Theme = {
4343
4163
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4344
4164
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4345
4165
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
4346
- "--sjs-article-font-xx-large-fontSize": "64px",
4347
4166
  "--sjs-article-font-xx-large-textDecoration": "none",
4348
4167
  "--sjs-article-font-xx-large-fontWeight": "700",
4349
4168
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4352,7 +4171,6 @@ var Theme = {
4352
4171
  "--sjs-article-font-xx-large-lineHeight": "64px",
4353
4172
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4354
4173
  "--sjs-article-font-xx-large-textCase": "none",
4355
- "--sjs-article-font-x-large-fontSize": "48px",
4356
4174
  "--sjs-article-font-x-large-textDecoration": "none",
4357
4175
  "--sjs-article-font-x-large-fontWeight": "700",
4358
4176
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4361,7 +4179,6 @@ var Theme = {
4361
4179
  "--sjs-article-font-x-large-lineHeight": "56px",
4362
4180
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4363
4181
  "--sjs-article-font-x-large-textCase": "none",
4364
- "--sjs-article-font-large-fontSize": "32px",
4365
4182
  "--sjs-article-font-large-textDecoration": "none",
4366
4183
  "--sjs-article-font-large-fontWeight": "700",
4367
4184
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4370,7 +4187,6 @@ var Theme = {
4370
4187
  "--sjs-article-font-large-lineHeight": "40px",
4371
4188
  "--sjs-article-font-large-paragraphIndent": "0px",
4372
4189
  "--sjs-article-font-large-textCase": "none",
4373
- "--sjs-article-font-medium-fontSize": "24px",
4374
4190
  "--sjs-article-font-medium-textDecoration": "none",
4375
4191
  "--sjs-article-font-medium-fontWeight": "700",
4376
4192
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4379,7 +4195,6 @@ var Theme = {
4379
4195
  "--sjs-article-font-medium-lineHeight": "32px",
4380
4196
  "--sjs-article-font-medium-paragraphIndent": "0px",
4381
4197
  "--sjs-article-font-medium-textCase": "none",
4382
- "--sjs-article-font-default-fontSize": "16px",
4383
4198
  "--sjs-article-font-default-textDecoration": "none",
4384
4199
  "--sjs-article-font-default-fontWeight": "400",
4385
4200
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4451,7 +4266,6 @@ var Theme = {
4451
4266
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4452
4267
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4453
4268
  "--sjs-special-yellow-forecolor": "rgba(48, 48, 48, 1)",
4454
- "--sjs-article-font-xx-large-fontSize": "64px",
4455
4269
  "--sjs-article-font-xx-large-textDecoration": "none",
4456
4270
  "--sjs-article-font-xx-large-fontWeight": "700",
4457
4271
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4460,7 +4274,6 @@ var Theme = {
4460
4274
  "--sjs-article-font-xx-large-lineHeight": "64px",
4461
4275
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4462
4276
  "--sjs-article-font-xx-large-textCase": "none",
4463
- "--sjs-article-font-x-large-fontSize": "48px",
4464
4277
  "--sjs-article-font-x-large-textDecoration": "none",
4465
4278
  "--sjs-article-font-x-large-fontWeight": "700",
4466
4279
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4469,7 +4282,6 @@ var Theme = {
4469
4282
  "--sjs-article-font-x-large-lineHeight": "56px",
4470
4283
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4471
4284
  "--sjs-article-font-x-large-textCase": "none",
4472
- "--sjs-article-font-large-fontSize": "32px",
4473
4285
  "--sjs-article-font-large-textDecoration": "none",
4474
4286
  "--sjs-article-font-large-fontWeight": "700",
4475
4287
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4478,7 +4290,6 @@ var Theme = {
4478
4290
  "--sjs-article-font-large-lineHeight": "40px",
4479
4291
  "--sjs-article-font-large-paragraphIndent": "0px",
4480
4292
  "--sjs-article-font-large-textCase": "none",
4481
- "--sjs-article-font-medium-fontSize": "24px",
4482
4293
  "--sjs-article-font-medium-textDecoration": "none",
4483
4294
  "--sjs-article-font-medium-fontWeight": "700",
4484
4295
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4487,7 +4298,6 @@ var Theme = {
4487
4298
  "--sjs-article-font-medium-lineHeight": "32px",
4488
4299
  "--sjs-article-font-medium-paragraphIndent": "0px",
4489
4300
  "--sjs-article-font-medium-textCase": "none",
4490
- "--sjs-article-font-default-fontSize": "16px",
4491
4301
  "--sjs-article-font-default-textDecoration": "none",
4492
4302
  "--sjs-article-font-default-fontWeight": "400",
4493
4303
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4559,7 +4369,6 @@ var Theme = {
4559
4369
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4560
4370
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4561
4371
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
4562
- "--sjs-article-font-xx-large-fontSize": "64px",
4563
4372
  "--sjs-article-font-xx-large-textDecoration": "none",
4564
4373
  "--sjs-article-font-xx-large-fontWeight": "700",
4565
4374
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4568,7 +4377,6 @@ var Theme = {
4568
4377
  "--sjs-article-font-xx-large-lineHeight": "64px",
4569
4378
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4570
4379
  "--sjs-article-font-xx-large-textCase": "none",
4571
- "--sjs-article-font-x-large-fontSize": "48px",
4572
4380
  "--sjs-article-font-x-large-textDecoration": "none",
4573
4381
  "--sjs-article-font-x-large-fontWeight": "700",
4574
4382
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4577,7 +4385,6 @@ var Theme = {
4577
4385
  "--sjs-article-font-x-large-lineHeight": "56px",
4578
4386
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4579
4387
  "--sjs-article-font-x-large-textCase": "none",
4580
- "--sjs-article-font-large-fontSize": "32px",
4581
4388
  "--sjs-article-font-large-textDecoration": "none",
4582
4389
  "--sjs-article-font-large-fontWeight": "700",
4583
4390
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4586,7 +4393,6 @@ var Theme = {
4586
4393
  "--sjs-article-font-large-lineHeight": "40px",
4587
4394
  "--sjs-article-font-large-paragraphIndent": "0px",
4588
4395
  "--sjs-article-font-large-textCase": "none",
4589
- "--sjs-article-font-medium-fontSize": "24px",
4590
4396
  "--sjs-article-font-medium-textDecoration": "none",
4591
4397
  "--sjs-article-font-medium-fontWeight": "700",
4592
4398
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4595,7 +4401,6 @@ var Theme = {
4595
4401
  "--sjs-article-font-medium-lineHeight": "32px",
4596
4402
  "--sjs-article-font-medium-paragraphIndent": "0px",
4597
4403
  "--sjs-article-font-medium-textCase": "none",
4598
- "--sjs-article-font-default-fontSize": "16px",
4599
4404
  "--sjs-article-font-default-textDecoration": "none",
4600
4405
  "--sjs-article-font-default-fontWeight": "400",
4601
4406
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4667,7 +4472,6 @@ var Theme = {
4667
4472
  "--sjs-special-yellow": "rgba(255, 152, 20, 1)",
4668
4473
  "--sjs-special-yellow-light": "rgba(255, 152, 20, 0.1)",
4669
4474
  "--sjs-special-yellow-forecolor": "rgba(255, 255, 255, 1)",
4670
- "--sjs-article-font-xx-large-fontSize": "64px",
4671
4475
  "--sjs-article-font-xx-large-textDecoration": "none",
4672
4476
  "--sjs-article-font-xx-large-fontWeight": "700",
4673
4477
  "--sjs-article-font-xx-large-fontStyle": "normal",
@@ -4676,7 +4480,6 @@ var Theme = {
4676
4480
  "--sjs-article-font-xx-large-lineHeight": "64px",
4677
4481
  "--sjs-article-font-xx-large-paragraphIndent": "0px",
4678
4482
  "--sjs-article-font-xx-large-textCase": "none",
4679
- "--sjs-article-font-x-large-fontSize": "48px",
4680
4483
  "--sjs-article-font-x-large-textDecoration": "none",
4681
4484
  "--sjs-article-font-x-large-fontWeight": "700",
4682
4485
  "--sjs-article-font-x-large-fontStyle": "normal",
@@ -4685,7 +4488,6 @@ var Theme = {
4685
4488
  "--sjs-article-font-x-large-lineHeight": "56px",
4686
4489
  "--sjs-article-font-x-large-paragraphIndent": "0px",
4687
4490
  "--sjs-article-font-x-large-textCase": "none",
4688
- "--sjs-article-font-large-fontSize": "32px",
4689
4491
  "--sjs-article-font-large-textDecoration": "none",
4690
4492
  "--sjs-article-font-large-fontWeight": "700",
4691
4493
  "--sjs-article-font-large-fontStyle": "normal",
@@ -4694,7 +4496,6 @@ var Theme = {
4694
4496
  "--sjs-article-font-large-lineHeight": "40px",
4695
4497
  "--sjs-article-font-large-paragraphIndent": "0px",
4696
4498
  "--sjs-article-font-large-textCase": "none",
4697
- "--sjs-article-font-medium-fontSize": "24px",
4698
4499
  "--sjs-article-font-medium-textDecoration": "none",
4699
4500
  "--sjs-article-font-medium-fontWeight": "700",
4700
4501
  "--sjs-article-font-medium-fontStyle": "normal",
@@ -4703,7 +4504,6 @@ var Theme = {
4703
4504
  "--sjs-article-font-medium-lineHeight": "32px",
4704
4505
  "--sjs-article-font-medium-paragraphIndent": "0px",
4705
4506
  "--sjs-article-font-medium-textCase": "none",
4706
- "--sjs-article-font-default-fontSize": "16px",
4707
4507
  "--sjs-article-font-default-textDecoration": "none",
4708
4508
  "--sjs-article-font-default-fontWeight": "400",
4709
4509
  "--sjs-article-font-default-fontStyle": "normal",
@@ -4816,6 +4616,7 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
4816
4616
  _this.creator.sidebar.onPropertyChanged.add(_this.sidebarFlyoutModeChangedFunc);
4817
4617
  _this.creator.onElementMenuItemsChanged(_this.surveyElement, actions);
4818
4618
  _this.actionContainer.setItems(actions);
4619
+ _this.updateActionsProperties();
4819
4620
  }
4820
4621
  _this.setShowAddQuestionButton(true);
4821
4622
  return _this;
@@ -6376,6 +6177,9 @@ var PageAdorner = /** @class */ (function (_super) {
6376
6177
  PageAdorner.prototype.onElementSelectedChanged = function (isSelected) {
6377
6178
  _super.prototype.onElementSelectedChanged.call(this, isSelected);
6378
6179
  this.isSelected = isSelected;
6180
+ if (isSelected && this.creator.pageEditMode === "bypage") {
6181
+ this.setSurveyElement(this.creator.selectedElement);
6182
+ }
6379
6183
  if (isSelected && !!this.onPageSelectedCallback) {
6380
6184
  this.onPageSelectedCallback();
6381
6185
  }
@@ -7065,9 +6869,15 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
7065
6869
  if (!model.surveyElement.isInteractiveDesignElement) {
7066
6870
  return;
7067
6871
  }
6872
+ var creator = model.creator;
6873
+ var selEl = model.surveyElement;
6874
+ var el = document === null || document === void 0 ? void 0 : document.activeElement;
6875
+ if (creator.selectedElement !== selEl && !!el && !!el.blur && el.tagName.toLocaleLowerCase() === "input") {
6876
+ el.blur();
6877
+ }
7068
6878
  event.stopPropagation();
7069
6879
  event.cancelBubble = true;
7070
- model.creator.selectElement(model.surveyElement, undefined, false);
6880
+ creator.selectElement(selEl, undefined, false);
7071
6881
  return true;
7072
6882
  };
7073
6883
  QuestionAdornerViewModel.prototype.rootCss = function () {
@@ -7309,7 +7119,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
7309
7119
  return selectedItems.length > 0 ? selectedItems[0] : undefined;
7310
7120
  };
7311
7121
  QuestionAdornerViewModel.prototype.createDropdownModel = function (id, actions, enabled, index, selValue, onSelectionChanged) {
7312
- var _this = this;
7313
7122
  var _a;
7314
7123
  var selItem = this.getSelectedItem(actions, selValue);
7315
7124
  var actionTitle = !!selItem ? selItem.title : selValue;
@@ -7323,7 +7132,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
7323
7132
  visibleIndex: index,
7324
7133
  disableShrink: false,
7325
7134
  action: function (newType) {
7326
- newAction.popupModel.displayMode = _this.creator.isMobileView ? "overlay" : "popup";
7327
7135
  },
7328
7136
  }, {
7329
7137
  items: actions,
@@ -7332,6 +7140,8 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
7332
7140
  selectedItem: selItem,
7333
7141
  horizontalPosition: "center"
7334
7142
  });
7143
+ newAction.popupModel.displayMode = this.creator.isTouch ? "overlay" : "popup";
7144
+ newAction.data.locOwner = this.creator;
7335
7145
  return newAction;
7336
7146
  };
7337
7147
  QuestionAdornerViewModel.prototype.createRequiredAction = function () {
@@ -9609,6 +9419,10 @@ __webpack_require__.r(__webpack_exports__);
9609
9419
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
9610
9420
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
9611
9421
  /* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../textWorker */ "./src/textWorker.ts");
9422
+ /* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
9423
+ /* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../creator-settings */ "./src/creator-settings.ts");
9424
+
9425
+
9612
9426
 
9613
9427
 
9614
9428
 
@@ -9742,7 +9556,90 @@ var JsonEditorBaseModel = /** @class */ (function (_super) {
9742
9556
  var TabJsonEditorBasePlugin = /** @class */ (function () {
9743
9557
  function TabJsonEditorBasePlugin(creator) {
9744
9558
  this.creator = creator;
9559
+ this.saveToFileHandler = _utils_utils__WEBPACK_IMPORTED_MODULE_3__["saveToFileHandler"];
9560
+ this.createActions().forEach(function (action) { return creator.toolbar.actions.push(action); });
9745
9561
  }
9562
+ TabJsonEditorBasePlugin.prototype.exportToFile = function (fileName) {
9563
+ if (this.model) {
9564
+ var jsonBlob = new Blob([this.model.text], { type: "application/json" });
9565
+ this.saveToFileHandler(fileName, jsonBlob);
9566
+ }
9567
+ };
9568
+ TabJsonEditorBasePlugin.prototype.importFromFile = function (file, callback) {
9569
+ var _this = this;
9570
+ var fileReader = new FileReader();
9571
+ fileReader.onload = function (e) {
9572
+ var surveyJSONText = fileReader.result;
9573
+ if (_this.model) {
9574
+ _this.model.text = surveyJSONText;
9575
+ }
9576
+ callback && callback(surveyJSONText);
9577
+ };
9578
+ fileReader.readAsText(file);
9579
+ };
9580
+ TabJsonEditorBasePlugin.prototype.copyToClipboard = function () {
9581
+ if (this.model) {
9582
+ navigator.clipboard.writeText(this.model.text);
9583
+ }
9584
+ };
9585
+ TabJsonEditorBasePlugin.prototype.createActions = function () {
9586
+ var _this = this;
9587
+ var items = [];
9588
+ this.importAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"]({
9589
+ id: "svc-json-import",
9590
+ iconName: "icon-load",
9591
+ locTitleName: "ed.surveyJsonImportButton",
9592
+ locTooltipName: "ed.surveyJsonImportButton",
9593
+ visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.creator.activeTab === "editor"; }),
9594
+ mode: "small",
9595
+ component: "sv-action-bar-item",
9596
+ needSeparator: true,
9597
+ action: function () {
9598
+ if (!document)
9599
+ return;
9600
+ if (!_this.inputFileElement) {
9601
+ _this.inputFileElement = document.createElement("input");
9602
+ _this.inputFileElement.type = "file";
9603
+ _this.inputFileElement.style.display = "none";
9604
+ _this.inputFileElement.onchange = function () {
9605
+ if (_this.inputFileElement.files.length < 1)
9606
+ return;
9607
+ _this.importFromFile(_this.inputFileElement.files[0]);
9608
+ _this.inputFileElement.value = "";
9609
+ };
9610
+ }
9611
+ _this.inputFileElement.click();
9612
+ }
9613
+ });
9614
+ items.push(this.importAction);
9615
+ this.exportAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"]({
9616
+ id: "svc-json-export",
9617
+ iconName: "icon-download",
9618
+ locTitleName: "ed.surveyJsonExportButton",
9619
+ locTooltipName: "ed.surveyJsonExportButton",
9620
+ visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.creator.activeTab === "editor"; }),
9621
+ mode: "small",
9622
+ component: "sv-action-bar-item",
9623
+ action: function () {
9624
+ _this.exportToFile(_creator_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].jsonEditor.exportFileName);
9625
+ }
9626
+ });
9627
+ items.push(this.exportAction);
9628
+ this.copyAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"]({
9629
+ id: "svc-json-copy",
9630
+ iconName: "icon-copy",
9631
+ locTitleName: "ed.surveyJsonCopyButton",
9632
+ locTooltipName: "ed.surveyJsonCopyButton",
9633
+ visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.creator.activeTab === "editor"; }),
9634
+ mode: "small",
9635
+ component: "sv-action-bar-item",
9636
+ action: function () {
9637
+ _this.copyToClipboard();
9638
+ }
9639
+ });
9640
+ items.push(this.copyAction);
9641
+ return items;
9642
+ };
9746
9643
  TabJsonEditorBasePlugin.prototype.activate = function () {
9747
9644
  this.model = this.createModel(this.creator);
9748
9645
  };
@@ -14159,6 +14056,20 @@ var TestSurveyTabViewModel = /** @class */ (function (_super) {
14159
14056
  enumerable: false,
14160
14057
  configurable: true
14161
14058
  });
14059
+ Object.defineProperty(TestSurveyTabViewModel.prototype, "isMobileView", {
14060
+ get: function () {
14061
+ return this.surveyProvider.isMobileView;
14062
+ },
14063
+ enumerable: false,
14064
+ configurable: true
14065
+ });
14066
+ Object.defineProperty(TestSurveyTabViewModel.prototype, "showResults", {
14067
+ get: function () {
14068
+ return !this.isRunning && !this.isMobileView;
14069
+ },
14070
+ enumerable: false,
14071
+ configurable: true
14072
+ });
14162
14073
  TestSurveyTabViewModel.prototype.updateSimulatorSurvey = function (json, theme) {
14163
14074
  var _this = this;
14164
14075
  var newSurvey = this.surveyProvider.createSurvey(json || {}, "test", this);
@@ -14522,14 +14433,24 @@ var ThemeBuilder = /** @class */ (function (_super) {
14522
14433
  _this.onThemeSelected = new survey_core__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
14523
14434
  _this.onThemeModified = new survey_core__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
14524
14435
  _this.onCanModifyTheme = new survey_core__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
14436
+ _this.creatorPropertyChanged = function (sender, options) {
14437
+ if (options.name === "isMobileView") {
14438
+ _this.updateVisibilityOfPropertyGridGroups();
14439
+ }
14440
+ };
14525
14441
  _this.blockThemeChangedNotifications = 0;
14442
+ _this.autoSaveTimerId = null;
14526
14443
  _this.simulator = new _simulator__WEBPACK_IMPORTED_MODULE_1__["SurveySimulatorModel"]();
14444
+ _this.themeName = ThemeBuilder.DefaultTheme.themeName || "default";
14527
14445
  _this.themeEditorSurveyValue = _this.createThemeEditorSurvey();
14446
+ _this.backgroundImage = _this.surveyProvider.theme.backgroundImage !== undefined ? _this.surveyProvider.theme.backgroundImage : surveyProvider.survey.backgroundImage;
14447
+ _this.backgroundImageFit = _this.surveyProvider.theme.backgroundImageFit !== undefined ? _this.surveyProvider.theme.backgroundImageFit : surveyProvider.survey.backgroundImageFit;
14448
+ _this.backgroundImageAttachment = _this.surveyProvider.theme.backgroundImageAttachment !== undefined ? _this.surveyProvider.theme.backgroundImageAttachment : surveyProvider.survey.backgroundImageAttachment;
14449
+ _this.backgroundOpacity = ((_this.surveyProvider.theme.backgroundOpacity !== undefined ? _this.surveyProvider.theme.backgroundOpacity : surveyProvider.survey.backgroundOpacity) || 1) * 100;
14528
14450
  _this.loadTheme(_this.surveyProvider.theme);
14451
+ _this.surveyProvider.isThemeModified = false;
14529
14452
  _this.undoRedoManager = new _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_10__["UndoRedoManager"]();
14530
- _this.surveyProvider.onPropertyChanged.add(function (sender, options) {
14531
- _this.creatorPropertyChanged(sender, options);
14532
- });
14453
+ _this.surveyProvider.onPropertyChanged.add(_this.creatorPropertyChanged);
14533
14454
  return _this;
14534
14455
  }
14535
14456
  Object.defineProperty(ThemeBuilder.prototype, "themeCssCustomizations", {
@@ -14603,6 +14524,20 @@ var ThemeBuilder = /** @class */ (function (_super) {
14603
14524
  enumerable: false,
14604
14525
  configurable: true
14605
14526
  });
14527
+ Object.defineProperty(ThemeBuilder.prototype, "isMobileView", {
14528
+ get: function () {
14529
+ return this.surveyProvider.isMobileView;
14530
+ },
14531
+ enumerable: false,
14532
+ configurable: true
14533
+ });
14534
+ Object.defineProperty(ThemeBuilder.prototype, "showResults", {
14535
+ get: function () {
14536
+ return !this.isRunning && !this.isMobileView;
14537
+ },
14538
+ enumerable: false,
14539
+ configurable: true
14540
+ });
14606
14541
  ThemeBuilder.prototype.loadTheme = function (theme) {
14607
14542
  this.blockThemeChangedNotifications += 1;
14608
14543
  try {
@@ -14615,9 +14550,14 @@ var ThemeBuilder = /** @class */ (function (_super) {
14615
14550
  this.backgroundImageFit = theme.backgroundImageFit || this.backgroundImageFit;
14616
14551
  this.backgroundImageAttachment = theme.backgroundImageAttachment || this.backgroundImageAttachment;
14617
14552
  var effectiveThemeCssVariables = {};
14618
- Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(effectiveThemeCssVariables, _themes__WEBPACK_IMPORTED_MODULE_11__["Themes"]["default-light"].cssVariables || {}, this.findSuitableTheme(this.themeName).cssVariables || {});
14553
+ Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(effectiveThemeCssVariables, ThemeBuilder.DefaultTheme.cssVariables || {}, this.findSuitableTheme(this.themeName).cssVariables || {});
14619
14554
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(effectiveThemeCssVariables, theme.cssVariables || {}, this.themeCssVariablesChanges);
14620
- var effectiveTheme = {};
14555
+ var effectiveTheme = {
14556
+ backgroundImage: this.backgroundImage,
14557
+ backgroundImageFit: this.backgroundImageFit,
14558
+ backgroundImageAttachment: this.backgroundImageAttachment,
14559
+ backgroundOpacity: this.backgroundOpacity / 100,
14560
+ };
14621
14561
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(effectiveTheme, theme, { cssVariables: effectiveThemeCssVariables, themeName: this.themeName, colorPalette: this.themePalette, isPanelless: this.themeMode === "lightweight" });
14622
14562
  this.surveyProvider.theme = effectiveTheme;
14623
14563
  this.initializeColorCalculator();
@@ -14632,9 +14572,12 @@ var ThemeBuilder = /** @class */ (function (_super) {
14632
14572
  };
14633
14573
  ThemeBuilder.prototype.setTheme = function (theme) {
14634
14574
  this.themeCssVariablesChanges = {};
14575
+ this.backgroundImage = "";
14576
+ this.backgroundImageFit = "cover";
14577
+ this.backgroundImageAttachment = "scroll";
14578
+ this.backgroundOpacity = 100;
14635
14579
  this.loadTheme(theme);
14636
- this.updateSimulatorTheme();
14637
- this.surveyProvider.isThemePristine = true;
14580
+ this.themeModified({ theme: theme });
14638
14581
  };
14639
14582
  ThemeBuilder.prototype.selectTheme = function (themeName, themePalette, themeMode) {
14640
14583
  if (themePalette === void 0) { themePalette = "light"; }
@@ -14701,11 +14644,6 @@ var ThemeBuilder = /** @class */ (function (_super) {
14701
14644
  }
14702
14645
  this.updateSimulatorSurvey(json, currTheme);
14703
14646
  };
14704
- ThemeBuilder.prototype.creatorPropertyChanged = function (sender, options) {
14705
- if (options.name === "isMobileView") {
14706
- this.updateVisibilityOfPropertyGridGroups();
14707
- }
14708
- };
14709
14647
  ThemeBuilder.prototype.initialize = function (json, options) {
14710
14648
  this.blockChanges = true;
14711
14649
  try {
@@ -14839,6 +14777,9 @@ var ThemeBuilder = /** @class */ (function (_super) {
14839
14777
  if (this.themeEditorSurvey) {
14840
14778
  var themeChooser = this.themeEditorSurvey.getQuestionByName("themeName");
14841
14779
  themeChooser.choices = availebleThemes.map(function (theme) { return ({ value: theme, text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.names." + theme) }); });
14780
+ if (availebleThemes.indexOf(themeChooser.value) === -1) {
14781
+ themeChooser.value = ThemeBuilder.DefaultTheme.themeName;
14782
+ }
14842
14783
  }
14843
14784
  },
14844
14785
  enumerable: false,
@@ -14884,16 +14825,12 @@ var ThemeBuilder = /** @class */ (function (_super) {
14884
14825
  if (options.name === "themePalette") {
14885
14826
  this.loadTheme({ colorPalette: options.value });
14886
14827
  }
14887
- this.updateSimulatorTheme();
14888
- this.raiseThemeChanged();
14889
- this.onThemeSelected.fire(this, { theme: this.currentTheme });
14890
- this.surveyProvider.isThemePristine = Object.keys(this.themeCssVariablesChanges).length === 0;
14828
+ this.themeModified({ theme: this.currentTheme });
14891
14829
  return true;
14892
14830
  }
14893
14831
  if (["backgroundImage", "backgroundImageFit", "backgroundImageAttachment", "backgroundOpacity"].indexOf(options.name) !== -1) {
14894
14832
  this[options.name] = options.value;
14895
- this.raiseThemeChanged();
14896
- this.raiseThemeModified(options);
14833
+ this.themeModified(options);
14897
14834
  return true;
14898
14835
  }
14899
14836
  return false;
@@ -14910,9 +14847,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
14910
14847
  this.currentTheme.header = this.getCoverJson(headerSettings);
14911
14848
  this.setCoverCssVariables(headerSettings);
14912
14849
  }
14913
- this.updateSimulatorTheme();
14914
- this.raiseThemeChanged();
14915
- this.raiseThemeModified(options);
14850
+ this.themeModified(options);
14916
14851
  };
14917
14852
  ThemeBuilder.prototype.cssVariablePropertiesChanged = function (options) {
14918
14853
  var _a, _b;
@@ -14941,13 +14876,11 @@ var ThemeBuilder = /** @class */ (function (_super) {
14941
14876
  }
14942
14877
  if (((_a = options.question) === null || _a === void 0 ? void 0 : _a.getType()) === "fontsettings") {
14943
14878
  Object(_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_8__["fontsettingsToCssVariable"])(options.question, this.themeCssVariablesChanges);
14944
- this.raiseThemeChanged();
14945
- this.raiseThemeModified(options);
14879
+ this.themeModified(options);
14946
14880
  }
14947
14881
  if (((_b = options.question) === null || _b === void 0 ? void 0 : _b.getType()) === "elementsettings") {
14948
14882
  Object(_theme_custom_questions_element_settings__WEBPACK_IMPORTED_MODULE_9__["elementSettingsToCssVariable"])(options.question, this.themeCssVariablesChanges);
14949
- this.raiseThemeChanged();
14950
- this.raiseThemeModified(options);
14883
+ this.themeModified(options);
14951
14884
  }
14952
14885
  };
14953
14886
  ThemeBuilder.prototype.updateDependentQuestionValues = function (options) {
@@ -14969,8 +14902,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
14969
14902
  };
14970
14903
  ThemeBuilder.prototype.setThemeCssVariablesChanges = function (variableName, value, question) {
14971
14904
  this.themeCssVariablesChanges[variableName] = value;
14972
- this.raiseThemeChanged();
14973
- this.raiseThemeModified({ name: variableName, value: value, question: question });
14905
+ this.themeModified({ name: variableName, value: value, question: question });
14974
14906
  };
14975
14907
  ThemeBuilder.prototype.createThemeEditorSurvey = function () {
14976
14908
  var _this = this;
@@ -15008,7 +14940,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15008
14940
  _this.updateDependentQuestionValues(options);
15009
14941
  var newCssVariables = {};
15010
14942
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assign"])(newCssVariables, _this.currentTheme.cssVariables, _this.themeCssVariablesChanges);
15011
- _this.currentTheme.cssVariables = newCssVariables;
14943
+ _this.setCssVariablesIntoCurrentTheme(newCssVariables);
15012
14944
  _this.updateSimulatorTheme();
15013
14945
  _this.blockThemeChangedNotifications -= 1;
15014
14946
  if (!!_this.undoRedoManager && _this.blockThemeChangedNotifications == 0) {
@@ -15019,6 +14951,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15019
14951
  var callback = function (status, data) { return options.callback(status, [{ content: data, file: options.files[0] }]); };
15020
14952
  _this.surveyProvider.uploadFiles(options.files, undefined, callback);
15021
14953
  });
14954
+ this.patchFileEditors(themeEditorSurvey);
15022
14955
  themeEditorSurvey.getAllQuestions().forEach(function (q) { return q.allowRootStyle = false; });
15023
14956
  themeEditorSurvey.onQuestionCreated.add(function (_, opt) {
15024
14957
  opt.question.allowRootStyle = false;
@@ -15029,6 +14962,11 @@ var ThemeBuilder = /** @class */ (function (_super) {
15029
14962
  var probeThemeFullName = Object(_themes__WEBPACK_IMPORTED_MODULE_11__["getThemeFullName"])({ themeName: themeName, colorPalette: this.themePalette, isPanelless: this.themeMode === "lightweight" });
15030
14963
  return Object(_themes__WEBPACK_IMPORTED_MODULE_11__["findSuitableTheme"])(themeName, probeThemeFullName);
15031
14964
  };
14965
+ ThemeBuilder.prototype.patchFileEditors = function (survey) {
14966
+ var _this = this;
14967
+ var questionsToPatch = survey.getAllQuestions(false, false, true).filter(function (q) { return q.getType() == "fileedit"; });
14968
+ questionsToPatch.forEach(function (q) { q.onChooseFilesCallback = function (input, onFilesChosen) { return _this.surveyProvider.chooseFiles(input, onFilesChosen); }; });
14969
+ };
15032
14970
  ThemeBuilder.prototype.getCoverJson = function (headerSettings) {
15033
14971
  var result = {};
15034
14972
  survey_core__WEBPACK_IMPORTED_MODULE_2__["Serializer"].getProperties("cover").map(function (pr) { return pr.name; })
@@ -15071,7 +15009,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15071
15009
  }
15072
15010
  };
15073
15011
  ThemeBuilder.prototype.getBackgroundColorSwitchByValue = function (backgroundColor) {
15074
- if (!backgroundColor)
15012
+ if (!backgroundColor || backgroundColor === "trasparent")
15075
15013
  return "none";
15076
15014
  if (backgroundColor === this.currentTheme.cssVariables["--sjs-primary-backcolor"])
15077
15015
  return "accentColor";
@@ -15094,7 +15032,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15094
15032
  panel.getQuestionByName("descriptionPositionY").readOnly = !this.survey.description;
15095
15033
  };
15096
15034
  ThemeBuilder.prototype.setCoverColorsFromThemeVariables = function (question, cssVariable) {
15097
- if (!!question && !!cssVariable) {
15035
+ if (!!question && !!cssVariable && cssVariable !== "trasparent") {
15098
15036
  question.value = cssVariable;
15099
15037
  }
15100
15038
  };
@@ -15126,6 +15064,12 @@ var ThemeBuilder = /** @class */ (function (_super) {
15126
15064
  }
15127
15065
  }
15128
15066
  };
15067
+ ThemeBuilder.prototype.updatePropertyGridEditorAvailablesFromSurveyElement = function () {
15068
+ var pageElements = this.survey.isSinglePage ? this.survey.pages[0].elements : this.survey.pages;
15069
+ this.themeEditorSurvey.getQuestionByName("surveyTitle").readOnly = !this.survey.hasTitle;
15070
+ this.themeEditorSurvey.getQuestionByName("pageTitle").readOnly = !pageElements.some(function (p) { return !!p.title; });
15071
+ this.themeEditorSurvey.getQuestionByName("pageDescription").readOnly = !pageElements.some(function (p) { return !!p.description; });
15072
+ };
15129
15073
  ThemeBuilder.prototype.updatePropertyGridEditorsAvailability = function () {
15130
15074
  var isCustomTheme = _themes__WEBPACK_IMPORTED_MODULE_11__["PredefinedThemes"].indexOf(this.themeName) === -1;
15131
15075
  this.themeEditorSurvey.getQuestionByName("themeMode").readOnly = isCustomTheme;
@@ -15142,9 +15086,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15142
15086
  }
15143
15087
  });
15144
15088
  if (!!this.survey) {
15145
- this.themeEditorSurvey.getQuestionByName("surveyTitle").readOnly = !this.survey.hasTitle;
15146
- this.themeEditorSurvey.getQuestionByName("pageTitle").readOnly = !this.survey.pages.some(function (p) { return !!p.title; });
15147
- this.themeEditorSurvey.getQuestionByName("pageDescription").readOnly = !this.survey.pages.some(function (p) { return !!p.description; });
15089
+ this.updatePropertyGridEditorAvailablesFromSurveyElement();
15148
15090
  }
15149
15091
  };
15150
15092
  ThemeBuilder.prototype.updatePropertyGridEditors = function (themeEditorSurvey) {
@@ -15154,6 +15096,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15154
15096
  themeEditorSurvey.getQuestionByName("backgroundImage").value = this.backgroundImage;
15155
15097
  themeEditorSurvey.getQuestionByName("backgroundImageFit").value = this.backgroundImageFit;
15156
15098
  themeEditorSurvey.getQuestionByName("backgroundImageAttachment").value = this.backgroundImageAttachment;
15099
+ themeEditorSurvey.getQuestionByName("backgroundOpacity").value = this.backgroundOpacity;
15157
15100
  themeEditorSurvey.getQuestionByName("generalPrimaryColor").value = themeEditorSurvey.getQuestionByName("--sjs-primary-backcolor").value;
15158
15101
  themeEditorSurvey.getQuestionByName("generalBackcolorDimColor").value = themeEditorSurvey.getQuestionByName("--sjs-general-backcolor-dim").value;
15159
15102
  this.updateHeaderViewContainerEditors(newCssVariables);
@@ -15180,19 +15123,68 @@ var ThemeBuilder = /** @class */ (function (_super) {
15180
15123
  }
15181
15124
  });
15182
15125
  };
15183
- ThemeBuilder.prototype.raiseThemeChanged = function () {
15184
- if (this.blockThemeChangedNotifications == 0) {
15185
- this.surveyProvider.raiseThemeChanged();
15126
+ ThemeBuilder.prototype.setCssVariablesIntoCurrentTheme = function (newCssVariables) {
15127
+ Object.keys(newCssVariables).forEach(function (key) {
15128
+ if (newCssVariables[key] === undefined || newCssVariables[key] === null) {
15129
+ delete newCssVariables[key];
15130
+ }
15131
+ });
15132
+ this.currentTheme.cssVariables = newCssVariables;
15133
+ };
15134
+ ThemeBuilder.prototype.updateSimulatorTheme = function () {
15135
+ this.survey.applyTheme(this.currentTheme);
15136
+ };
15137
+ Object.defineProperty(ThemeBuilder.prototype, "saveThemeFunc", {
15138
+ /**
15139
+ * A function that is called [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#isAutoSave) is triggered to save a theme JSON object.
15140
+ *
15141
+ * For more information, refer to the [Save and Load Custom Themes](/survey-creator/documentation/theme-editor#save-and-load-custom-themes) help topic.
15142
+ */
15143
+ get: function () {
15144
+ return this._saveThemeFuncValue;
15145
+ },
15146
+ set: function (value) {
15147
+ this._saveThemeFuncValue = value;
15148
+ },
15149
+ enumerable: false,
15150
+ configurable: true
15151
+ });
15152
+ ThemeBuilder.prototype.processAutoSave = function () {
15153
+ var _this = this;
15154
+ var saveThemeFunc = this.saveThemeFunc;
15155
+ if (!saveThemeFunc && this.surveyProvider.saveThemeFunc) {
15156
+ saveThemeFunc = function () { return _this.surveyProvider.doSaveTheme(); };
15157
+ }
15158
+ if (!saveThemeFunc) {
15159
+ return;
15160
+ }
15161
+ if (this.surveyProvider.autoSaveDelay <= 0) {
15162
+ saveThemeFunc();
15163
+ return;
15186
15164
  }
15165
+ if (!!this.autoSaveTimerId) {
15166
+ clearTimeout(this.autoSaveTimerId);
15167
+ }
15168
+ this.autoSaveTimerId = setTimeout(function () {
15169
+ clearTimeout(_this.autoSaveTimerId);
15170
+ _this.autoSaveTimerId = null;
15171
+ saveThemeFunc && saveThemeFunc();
15172
+ }, this.surveyProvider.autoSaveDelay);
15187
15173
  };
15188
- ThemeBuilder.prototype.raiseThemeModified = function (options) {
15189
- this.surveyProvider.isThemePristine = false;
15174
+ ThemeBuilder.prototype.themeModified = function (options) {
15175
+ this.updateSimulatorTheme();
15190
15176
  if (this.blockThemeChangedNotifications == 0) {
15191
- this.onThemeModified.fire(this, options);
15177
+ if (!!options["theme"]) {
15178
+ this.onThemeSelected.fire(this, options);
15179
+ }
15180
+ else {
15181
+ this.surveyProvider.isThemeModified = true;
15182
+ this.onThemeModified.fire(this, options);
15183
+ }
15184
+ }
15185
+ if (this.surveyProvider.isAutoSave) {
15186
+ this.processAutoSave();
15192
15187
  }
15193
- };
15194
- ThemeBuilder.prototype.updateSimulatorTheme = function () {
15195
- this.survey.applyTheme(this.currentTheme);
15196
15188
  };
15197
15189
  ThemeBuilder.prototype.getThemeEditorSurveyJSON = function () {
15198
15190
  var themeEditorSurveyJSON = {
@@ -15213,7 +15205,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15213
15205
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.themeName"),
15214
15206
  descriptionLocation: "hidden",
15215
15207
  choices: this._availableThemes.map(function (theme) { return ({ value: theme, text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.names." + theme) }); }),
15216
- defaultValue: "default",
15208
+ defaultValue: ThemeBuilder.DefaultTheme.themeName || "default",
15217
15209
  allowClear: false
15218
15210
  },
15219
15211
  {
@@ -15313,7 +15305,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15313
15305
  title: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.coverInheritWidthFrom"),
15314
15306
  choices: [
15315
15307
  { value: "survey", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.coverInheritWidthFromSurvey") },
15316
- { value: "page", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.coverInheritWidthFromPage") }
15308
+ { value: "container", text: Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_3__["getLocString"])("theme.coverInheritWidthFromContainer") }
15317
15309
  ],
15318
15310
  visibleIf: "{panel.headerView} = 'advanced'",
15319
15311
  },
@@ -15850,10 +15842,12 @@ var ThemeBuilder = /** @class */ (function (_super) {
15850
15842
  };
15851
15843
  ThemeBuilder.prototype.dispose = function () {
15852
15844
  var _a;
15845
+ this.surveyProvider.onPropertyChanged.remove(this.creatorPropertyChanged);
15853
15846
  (_a = this.themeEditorSurveyValue) === null || _a === void 0 ? void 0 : _a.dispose();
15854
15847
  this.simulator.dispose();
15855
15848
  _super.prototype.dispose.call(this);
15856
15849
  };
15850
+ ThemeBuilder.DefaultTheme = _themes__WEBPACK_IMPORTED_MODULE_11__["Themes"]["default-light"];
15857
15851
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
15858
15852
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
15859
15853
  defaultValue: false,
@@ -15903,10 +15897,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15903
15897
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
15904
15898
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
15905
15899
  onSet: function (newValue, _target) {
15906
- if (!!_target.survey) {
15907
- _target.survey.backgroundImage = newValue;
15908
- }
15909
- _target.currentTheme["backgroundImage"] = newValue;
15900
+ _target.currentTheme.backgroundImage = newValue;
15910
15901
  }
15911
15902
  })
15912
15903
  ], ThemeBuilder.prototype, "backgroundImage", void 0);
@@ -15914,10 +15905,7 @@ var ThemeBuilder = /** @class */ (function (_super) {
15914
15905
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
15915
15906
  defaultValue: "cover",
15916
15907
  onSet: function (newValue, _target) {
15917
- if (!!_target.survey) {
15918
- _target.survey.backgroundImageFit = newValue;
15919
- }
15920
- _target.currentTheme["backgroundImageFit"] = newValue;
15908
+ _target.currentTheme.backgroundImageFit = newValue;
15921
15909
  }
15922
15910
  })
15923
15911
  ], ThemeBuilder.prototype, "backgroundImageFit", void 0);
@@ -15925,20 +15913,14 @@ var ThemeBuilder = /** @class */ (function (_super) {
15925
15913
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
15926
15914
  defaultValue: "scroll",
15927
15915
  onSet: function (newValue, _target) {
15928
- if (!!_target.survey) {
15929
- _target.survey.backgroundImageAttachment = newValue;
15930
- }
15931
- _target.currentTheme["backgroundImageAttachment"] = newValue;
15916
+ _target.currentTheme.backgroundImageAttachment = newValue;
15932
15917
  }
15933
15918
  })
15934
15919
  ], ThemeBuilder.prototype, "backgroundImageAttachment", void 0);
15935
15920
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
15936
15921
  Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["property"])({
15937
15922
  onSet: function (newValue, _target) {
15938
- if (!!_target.survey) {
15939
- _target.survey.backgroundOpacity = newValue / 100;
15940
- }
15941
- _target.currentTheme["backgroundOpacity"] = newValue / 100;
15923
+ _target.currentTheme.backgroundOpacity = newValue / 100;
15942
15924
  }
15943
15925
  })
15944
15926
  ], ThemeBuilder.prototype, "backgroundOpacity", void 0);
@@ -16215,29 +16197,26 @@ function elementSettingsToCssVariable(question, themeCssVariables) {
16215
16197
  themeCssVariables[propertyName] = question.value[key];
16216
16198
  }
16217
16199
  else {
16218
- delete themeCssVariables[propertyName];
16200
+ themeCssVariables[propertyName] = undefined;
16219
16201
  }
16220
16202
  });
16221
16203
  }
16222
16204
  function elementSettingsFromCssVariable(question, themeCssVariables, defaultBackcolorVariable, defaultHovercolorVariable) {
16223
- var result = {};
16224
- Object.keys(themeCssVariables).filter(function (key) { return key.indexOf(question.name.toLocaleLowerCase()) !== -1; }).forEach(function (key) {
16205
+ var compositeQuestion = question;
16206
+ var elementSettingsFromTheme = Object.keys(themeCssVariables).filter(function (key) { return key.indexOf(question.name.toLocaleLowerCase()) !== -1; });
16207
+ elementSettingsFromTheme.forEach(function (key) {
16225
16208
  var propertyName = key.split("-").pop();
16226
- if (propertyName === "cornerRadius") {
16227
- result["corner"] = parseFloat(themeCssVariables[key].toString());
16209
+ if (propertyName === "cornerRadius" && themeCssVariables[key] !== undefined) {
16210
+ compositeQuestion.contentPanel.getQuestionByName("corner").value = parseFloat(themeCssVariables[key].toString());
16228
16211
  }
16229
16212
  else {
16230
- result[propertyName] = themeCssVariables[key];
16213
+ compositeQuestion.contentPanel.getQuestionByName(propertyName).value = themeCssVariables[key];
16231
16214
  }
16232
16215
  });
16233
- if (Object.keys(result).length === 0) {
16216
+ if (elementSettingsFromTheme.length === 0) {
16234
16217
  question.contentPanel.getQuestionByName("backcolor").value = defaultBackcolorVariable;
16235
16218
  question.contentPanel.getQuestionByName("hovercolor").value = defaultHovercolorVariable;
16236
16219
  }
16237
- else {
16238
- question.value = result;
16239
- }
16240
- return result;
16241
16220
  }
16242
16221
 
16243
16222
 
@@ -16343,28 +16322,25 @@ function fontsettingsToCssVariable(question, themeCssVariables) {
16343
16322
  themeCssVariables[propertyName] = question.value[key] + (((_a = innerQ.unit) === null || _a === void 0 ? void 0 : _a.toString()) || "");
16344
16323
  }
16345
16324
  else {
16346
- delete themeCssVariables[propertyName];
16325
+ themeCssVariables[propertyName] = undefined;
16347
16326
  }
16348
16327
  });
16349
16328
  }
16350
16329
  function fontsettingsFromCssVariable(question, themeCssVariables, defaultColorVariable, defaultPlaceholderColorVariable) {
16351
- var result = {};
16352
- Object.keys(themeCssVariables).filter(function (key) { return key.indexOf(question.name.toLocaleLowerCase()) !== -1; }).forEach(function (key) {
16330
+ var compositeQuestion = question;
16331
+ var fontSettingsFromTheme = Object.keys(themeCssVariables).filter(function (key) { return key.indexOf(question.name.toLocaleLowerCase()) !== -1; });
16332
+ fontSettingsFromTheme.forEach(function (key) {
16353
16333
  var propertyName = key.split("-").pop();
16354
- result[propertyName] = themeCssVariables[key];
16334
+ compositeQuestion.contentPanel.getQuestionByName(propertyName).value = themeCssVariables[key];
16355
16335
  });
16356
- if (Object.keys(result).length !== 0) {
16357
- question.value = result;
16358
- }
16359
- else {
16336
+ if (fontSettingsFromTheme.length === 0) {
16360
16337
  if (!!defaultColorVariable) {
16361
- question.contentPanel.getQuestionByName("color").value = defaultColorVariable;
16338
+ compositeQuestion.contentPanel.getQuestionByName("color").value = defaultColorVariable;
16362
16339
  }
16363
16340
  if (!!defaultPlaceholderColorVariable) {
16364
- question.contentPanel.getQuestionByName("placeholdercolor").value = defaultPlaceholderColorVariable;
16341
+ compositeQuestion.contentPanel.getQuestionByName("placeholdercolor").value = defaultPlaceholderColorVariable;
16365
16342
  }
16366
16343
  }
16367
- return result;
16368
16344
  }
16369
16345
 
16370
16346
 
@@ -16386,6 +16362,8 @@ __webpack_require__.r(__webpack_exports__);
16386
16362
  /* harmony import */ var _theme_builder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./theme-builder */ "./src/components/tabs/theme-builder.ts");
16387
16363
  /* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../creator-settings */ "./src/creator-settings.ts");
16388
16364
  /* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./themes */ "./src/components/tabs/themes.ts");
16365
+ /* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
16366
+
16389
16367
 
16390
16368
 
16391
16369
 
@@ -16411,22 +16389,8 @@ var ThemeTabPlugin = /** @class */ (function () {
16411
16389
  var _this = this;
16412
16390
  this.creator = creator;
16413
16391
  this.simulatorTheme = survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyCss"][survey_core__WEBPACK_IMPORTED_MODULE_0__["defaultV2ThemeName"]];
16414
- this._availableThemes = _themes__WEBPACK_IMPORTED_MODULE_4__["PredefinedThemes"];
16415
- this.saveToFileHandler = function (fileName, blob) {
16416
- if (!window)
16417
- return;
16418
- if (window.navigator["msSaveOrOpenBlob"]) {
16419
- window.navigator["msSaveBlob"](blob, fileName);
16420
- }
16421
- else {
16422
- var elem = window.document.createElement("a");
16423
- elem.href = window.URL.createObjectURL(blob);
16424
- elem.download = fileName;
16425
- document.body.appendChild(elem);
16426
- elem.click();
16427
- document.body.removeChild(elem);
16428
- }
16429
- };
16392
+ this._availableThemes = [].concat(_themes__WEBPACK_IMPORTED_MODULE_4__["PredefinedThemes"]);
16393
+ this.saveToFileHandler = _utils_utils__WEBPACK_IMPORTED_MODULE_5__["saveToFileHandler"];
16430
16394
  this.onThemeSelected = new survey_core__WEBPACK_IMPORTED_MODULE_0__["EventBase"]();
16431
16395
  this.onThemeModified = new survey_core__WEBPACK_IMPORTED_MODULE_0__["EventBase"]();
16432
16396
  this.onCanModifyTheme = new survey_core__WEBPACK_IMPORTED_MODULE_0__["EventBase"]();
@@ -16466,6 +16430,7 @@ var ThemeTabPlugin = /** @class */ (function () {
16466
16430
  };
16467
16431
  ThemeTabPlugin.prototype.activate = function () {
16468
16432
  this.model = new _theme_builder__WEBPACK_IMPORTED_MODULE_2__["ThemeBuilder"](this.creator, this.simulatorTheme);
16433
+ this.model.availableThemes = this.availableThemes;
16469
16434
  this.model.simulator.landscape = this.creator.previewOrientation != "portrait";
16470
16435
  this.update();
16471
16436
  this.sidebarTab.model = this.model.themeEditorSurvey;
@@ -16629,6 +16594,7 @@ var ThemeTabPlugin = /** @class */ (function () {
16629
16594
  locTooltipName: "ed.themeSettingsTooltip",
16630
16595
  showTitle: false
16631
16596
  });
16597
+ items.push(this.themeSettingsAction);
16632
16598
  this.importAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__["Action"]({
16633
16599
  id: "svc-theme-import",
16634
16600
  iconName: "icon-load",
@@ -16731,18 +16697,29 @@ var ThemeTabPlugin = /** @class */ (function () {
16731
16697
  enumerable: false,
16732
16698
  configurable: true
16733
16699
  });
16734
- ThemeTabPlugin.prototype.addTheme = function (theme) {
16700
+ ThemeTabPlugin.prototype.addTheme = function (theme, setAsDefault) {
16701
+ if (setAsDefault === void 0) { setAsDefault = false; }
16735
16702
  var fullThemeName = Object(_themes__WEBPACK_IMPORTED_MODULE_4__["getThemeFullName"])(theme);
16736
16703
  _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"][fullThemeName] = theme;
16737
16704
  if (this._availableThemes.indexOf(theme.themeName) === -1) {
16738
- this.availableThemes = this.availableThemes.concat([theme.themeName]);
16705
+ if (setAsDefault) {
16706
+ this.availableThemes = [theme.themeName].concat(this.availableThemes);
16707
+ _theme_builder__WEBPACK_IMPORTED_MODULE_2__["ThemeBuilder"].DefaultTheme = theme;
16708
+ }
16709
+ else {
16710
+ this.availableThemes = this.availableThemes.concat([theme.themeName]);
16711
+ }
16739
16712
  }
16740
16713
  return fullThemeName;
16741
16714
  };
16742
- ThemeTabPlugin.prototype.removeTheme = function (fullThemeName) {
16743
- var themeToDelete = _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"][fullThemeName];
16715
+ ThemeTabPlugin.prototype.removeTheme = function (themeAccessor) {
16716
+ var themeToDelete = typeof themeAccessor === "string" ? _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"][themeAccessor] : themeAccessor;
16717
+ var fullThemeName = typeof themeAccessor === "string" ? themeAccessor : Object(_themes__WEBPACK_IMPORTED_MODULE_4__["getThemeFullName"])(themeToDelete);
16744
16718
  if (!!themeToDelete) {
16745
16719
  delete _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"][fullThemeName];
16720
+ if (_theme_builder__WEBPACK_IMPORTED_MODULE_2__["ThemeBuilder"].DefaultTheme === themeToDelete) {
16721
+ _theme_builder__WEBPACK_IMPORTED_MODULE_2__["ThemeBuilder"].DefaultTheme = _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"]["default-light"] || _themes__WEBPACK_IMPORTED_MODULE_4__["Themes"][Object.keys(_themes__WEBPACK_IMPORTED_MODULE_4__["Themes"])[0]];
16722
+ }
16746
16723
  var registeredThemeNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_4__["Themes"]);
16747
16724
  var themeModificationsExist = registeredThemeNames.some(function (themeName) { return themeName.indexOf(themeToDelete.themeName) === 0; });
16748
16725
  if (!themeModificationsExist) {
@@ -16755,16 +16732,41 @@ var ThemeTabPlugin = /** @class */ (function () {
16755
16732
  }
16756
16733
  }
16757
16734
  };
16735
+ ThemeTabPlugin.prototype.getCurrentTheme = function (content) {
16736
+ if (content === void 0) { content = "full"; }
16737
+ if (content === "full") {
16738
+ return this.creator.theme;
16739
+ }
16740
+ return this.getThemeChanges();
16741
+ };
16758
16742
  ThemeTabPlugin.prototype.getThemeChanges = function () {
16759
16743
  var fullTheme = this.creator.theme;
16760
16744
  var probeThemeFullName = Object(_themes__WEBPACK_IMPORTED_MODULE_4__["getThemeFullName"])(fullTheme);
16761
16745
  var baseTheme = Object(_themes__WEBPACK_IMPORTED_MODULE_4__["findSuitableTheme"])(fullTheme.themeName, probeThemeFullName);
16762
16746
  var themeChanges = getObjectDiffs(fullTheme, baseTheme);
16763
- themeChanges.themeName = fullTheme.themeName || "default";
16747
+ Object.keys(themeChanges).forEach(function (propertyName) {
16748
+ if (propertyName.toLowerCase().indexOf("background") !== -1) {
16749
+ if (themeChanges[propertyName] === "" || themeChanges[propertyName] === survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].findProperty("survey", propertyName).defaultValue) {
16750
+ delete themeChanges[propertyName];
16751
+ }
16752
+ }
16753
+ });
16754
+ themeChanges.themeName = fullTheme.themeName || _theme_builder__WEBPACK_IMPORTED_MODULE_2__["ThemeBuilder"].DefaultTheme.themeName || "default";
16764
16755
  themeChanges.colorPalette = fullTheme.colorPalette || "light";
16765
16756
  themeChanges.isPanelless = !!fullTheme.isPanelless;
16766
16757
  return themeChanges;
16767
16758
  };
16759
+ Object.defineProperty(ThemeTabPlugin.prototype, "isThemePristine", {
16760
+ get: function () {
16761
+ var currentThemeChanges = this.getThemeChanges();
16762
+ var hasCssModifications = Object.keys(currentThemeChanges.cssVariables).length > 0;
16763
+ var hasBackgroundModifications = Object.keys(currentThemeChanges).some(function (propertyName) { return propertyName.toLowerCase().indexOf("background") !== -1; });
16764
+ var hasHeaderModifications = !!currentThemeChanges.header && Object.keys(currentThemeChanges.header).length === 0;
16765
+ return !(hasCssModifications || hasBackgroundModifications || hasHeaderModifications);
16766
+ },
16767
+ enumerable: false,
16768
+ configurable: true
16769
+ });
16768
16770
  return ThemeTabPlugin;
16769
16771
  }());
16770
16772
 
@@ -19270,11 +19272,19 @@ var CreatorBase = /** @class */ (function (_super) {
19270
19272
  _this.newPanels = [];
19271
19273
  _this.plugins = {};
19272
19274
  /**
19273
- * The event is called on deleting an element (question/panel/page) from the survey. Typically, when a user click the delete from the element menu.
19274
- *- sender the survey creator object that fires the event
19275
- *- options.element an instance of the deleting element
19276
- *- options.elementType the type of the element: 'question', 'panel' or 'page'.
19277
- *- options.allowing set it to false to cancel the element deleting
19275
+ * An event that is raised before a survey element (a question, panel, or page) is deleted.
19276
+ *
19277
+ * Parameters:
19278
+ *
19279
+ * - `sender`: `CreatorBase`\
19280
+ * A Survey Creator instance that raised the event.
19281
+ * - `options.element`: [`Survey.Base`](https://surveyjs.io/form-library/documentation/api-reference/base)\
19282
+ * A survey element to be deleted.
19283
+ * - `options.elementType`: `"question"` | `"panel"` | `"page"`\
19284
+ * The element type.
19285
+ * - `options.allowing`: `boolean`\
19286
+ * A Boolean property that you can set to `false` if you want to cancel element deletion.
19287
+ * @see deleteElement
19278
19288
  */
19279
19289
  _this.onElementDeleting = new CreatorEvent();
19280
19290
  /**
@@ -19340,54 +19350,72 @@ var CreatorBase = /** @class */ (function (_super) {
19340
19350
  */
19341
19351
  _this.onHtmlToMarkdown = new CreatorEvent();
19342
19352
  /**
19343
- * Use this event to disable user interactions with a question or panel on the design surface.
19353
+ * An event that is raised when Survey Creator obtains permitted operations for a survey element. Use this event to disable user interactions with a question, panel, or page on the design surface.
19344
19354
  *
19345
- * The event handler accepts the following arguments:
19355
+ * Parameters:
19346
19356
  *
19347
- * - `sender`- A Survey Creator instance that raised the event.
19348
- * - `options.obj` - A survey element instance (question or panel) for which you can disable user interactions.
19349
- * - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
19350
- * - `options.allowChangeRequired` - Allows users to make the survey element required.
19351
- * - `options.allowChangeType` - Allows users to change the survey element type.
19352
- * - `options.allowChangeInputType` - Allows users to change the [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) property of Single-Line Input questions.
19353
- * - `options.allowCopy` - Allows users to duplicate the survey element.
19354
- * - `options.allowDelete` - Allows users to delete the survey element.
19355
- * - `options.allowDragging` - Allows users to drag and drop the survey element.
19356
- * - `options.allowEdit` - Allows users to edit survey element properties on the design surface. If you disable this property, users can edit the properties only in the Property Grid.
19357
+ * - `sender`: `CreatorBase`\
19358
+ * A Survey Creator instance that raised the event.
19359
+ * - `options.obj`: [`Survey.Base`](https://surveyjs.io/form-library/documentation/api-reference/base)\
19360
+ * A survey element (question or panel) for which you can disable user interactions.
19361
+ * - `options.allowChangeRequired`: `boolean`\
19362
+ * Allows users to mark the survey element as required.
19363
+ * - `options.allowChangeType`: `boolean`\
19364
+ * Allows users to change the survey element type.
19365
+ * - `options.allowChangeInputType`: `boolean`\
19366
+ * Allows users to change the [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) property of Single-Line Input questions.
19367
+ * - `options.allowCopy`: `boolean`\
19368
+ * Allows users to duplicate the survey element.
19369
+ * - `options.allowDelete`: `boolean`\
19370
+ * Allows users to delete the survey element.
19371
+ * - `options.allowDragging`: `boolean`\
19372
+ * Allows users to drag and drop the survey element.
19373
+ * - `options.allowEdit`: `boolean`\
19374
+ * Allows users to edit survey element properties on the design surface. If you disable this property, users can edit the properties only in the Property Grid.
19357
19375
  *
19358
19376
  * To disable a user interaction, set the correponding `allow...` property to `false`.
19377
+ *
19378
+ * [Specify Adorner Visibility](https://surveyjs.io/survey-creator/documentation/customize-survey-creation-process#specify-adorner-availability (linkStyle))
19359
19379
  */
19360
19380
  _this.onElementAllowOperations = new CreatorEvent();
19361
19381
  /**
19362
- * Use this event to add/remove/modify the element (question/panel) menu items.
19363
- *- sender the survey creator object that fires the event
19364
- *- options.obj the survey object which property is edited in the Property Editor.
19365
- *- options.items the list of menu items. It has two required fields: text and onClick: function(obj: Survey.Base) {} and optional name field.
19382
+ * An event that is raised when Survey Creator obtains [adorners](https://surveyjs.io/survey-creator/documentation/customize-survey-creation-process#specify-adorner-availability) for a survey element. Use this event to hide and modify predefined adorners or add a custom adorner.
19383
+ *
19384
+ * Parameters:
19385
+ *
19386
+ * - `sender`: `CreatorBase`\
19387
+ * A Survey Creator instance that raised the event.
19388
+ * - `options.obj`: [`Survey.Base`](https://surveyjs.io/form-library/documentation/api-reference/base)\
19389
+ * A survey element (question, panel, or page) whose adorners you can customize.
19390
+ * - `options.items`: [`IAction[]`](https://surveyjs.io/form-library/documentation/api-reference/iaction#title)\
19391
+ * An array of adorner actions. You can add, modify, or remove actions from this array.
19392
+ *
19393
+ * [View Demo](https://surveyjs.io/survey-creator/examples/create-custom-adorners/ (linkStyle))
19366
19394
  * @see onElementAllowOperations
19395
+ * @see onGetPageActions
19367
19396
  */
19368
19397
  _this.onDefineElementMenuItems = new CreatorEvent();
19369
19398
  /**
19370
- * The event is called before showing a property in the Properties Grid or in the Question Editor.
19371
- *- sender the survey creator object that fires the event
19372
- *- options.obj the survey object, Survey, Page, Panel or Question
19373
- *- options.property the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties.
19374
- *- options.canShow a boolean value. It is true by default. Set it false to hide the property from the Properties Grid and in the Question Editor.
19375
- *- options.parentObj the parent object. It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is a question (dropdown, radigroup, checkbox, matrices and so on).
19376
- *- options.parentProperty the parent property (Survey.JsonObjectProperty object). It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is choices, columns, rows, triggers and so on.
19399
+ * An event that is raised when Survey Creator adds properties to a survey element selected on the design surface. Handle this event if you cancel the addition of certain properties and thus [hide them from the Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid-customization#hide-properties-from-the-property-grid).
19400
+ *
19401
+ * Parameters:
19377
19402
  *
19378
- * [Example: Hide a category in the Properties Grid](https://surveyjs.io/Examples/Survey-Creator?id=hidecategoryinpropertiesgrid)
19403
+ * - `sender`: `CreatorBase`\
19404
+ * A Survey Creator instance that raised the event.
19405
+ * - `options.property`: `JsonObjectProperty`\
19406
+ * A property being added.
19407
+ * - `options.parentProperty`: `JsonObjectProperty`\
19408
+ * A property that nests `options.property` (`choices` for an item value, `columns` for a matrix column, `rows` for a matrix row etc.). `options.parentProperty` has a value only for nested properties.
19409
+ * - `options.obj`: `any`\
19410
+ * A survey element that contains `options.property`: page, panel, question, the survey itself, item value (choice option), matrix column, etc.
19411
+ * - `options.parentObj`: `any`\
19412
+ * A survey element that contains `options.parentProperty`. `options.parentObj` has a value only for nested properties.
19413
+ * - `options.canShow`: `boolean`\
19414
+ * A Boolean property that you can set to `false` if you do not want to add the property.
19415
+ *
19416
+ * [View Demo](https://surveyjs.io/survey-creator/examples/hide-category-from-property-grid/ (linkStyle))
19379
19417
  */
19380
19418
  _this.onShowingProperty = new CreatorEvent();
19381
- /**
19382
- * @Deprecated Obsolete, please use onShowingProperty event.
19383
- * The event is called before showing a property in the Property Grid or in Question Editor.
19384
- *- sender the survey creator object that fires the event
19385
- *- options.obj the survey object, Survey, Page, Panel or Question
19386
- *- options.property the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties.
19387
- *- options.canShow a boolean value. It is true by default. Set it false to hide the property from the Property Grid or in Question Editor
19388
- *- options.parentObj the parent object. It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is a question (dropdown, radigroup, checkbox, matrices and so on).
19389
- *- options.parentProperty the parent property (Survey.JsonObjectProperty object). It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is choices, columns, rows, triggers and so on.
19390
- */
19391
19419
  _this.onCanShowProperty = _this.onShowingProperty;
19392
19420
  /**
19393
19421
  * The event is called after a survey that represents the Property Grid is created and all its questions (property editors) are setup.
@@ -19428,28 +19456,7 @@ var CreatorBase = /** @class */ (function (_super) {
19428
19456
  * - `options.popupModel` - A `PopupBaseViewModel` object that describes the pop-up window model. Use `options.popupModel.footerToolbar` to access the actions at the bottom of the window.
19429
19457
  */
19430
19458
  _this.onPropertyGridShowModal = new CreatorEvent();
19431
- /**
19432
- * The event is called before rendering a delete button in the Property Grid or in Question Editor.
19433
- * @Deprecated Obsolete, please use onCollectionItemAllowOperations
19434
- *- sender the survey creator object that fires the event
19435
- *- options.obj the survey Question
19436
- *- options.item the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
19437
- *- options.canDelete a boolean value. It is true by default. Set it false to remove delete button from the Property Grid or in Question Editor
19438
- * @see onCollectionItemAllowOperations
19439
- */
19440
19459
  _this.onCanDeleteItem = new CreatorEvent();
19441
- /**
19442
- * The event is called on deleting a collection item from the Property Editor. For example: column in columns editor or item in choices and so on.
19443
- * @Deprecated Obsolete, please use onCollectionItemAllowOperations
19444
- *- sender the survey creator object that fires the event
19445
- *- options.obj the survey object: Question, Panel, Page or Survey
19446
- *- options.property the collection property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
19447
- *- options.propertyName the collection property name
19448
- *- options.collection the editing collection where deleting item is located. It is can be columns in the matrices or choices in dropdown question and so on.
19449
- *- options.item the collection item that we are going to delete
19450
- *- options.allowDelete a boolean value. It is true by default. Set it false to abondome the element removing from the collection
19451
- * @see onCollectionItemAllowOperations
19452
- */
19453
19460
  _this.onCollectionItemDeleting = new CreatorEvent();
19454
19461
  /**
19455
19462
  * The event is called before rendering a collection item in a property editor. For example: a column in a column editor, or an item in Choices and so on.
@@ -19698,11 +19705,12 @@ var CreatorBase = /** @class */ (function (_super) {
19698
19705
  * - `sender`: `CreatorBase`\
19699
19706
  * A Survey Creator instance that raised the event.
19700
19707
  * - `options.actions`: [`IAction[]`](/form-library/documentation/api-reference/iaction)\
19701
- * An array of actions. You can add or remove actions from this array.
19708
+ * An array of actions. You can add, modify, or remove actions from this array.
19702
19709
  * - `options.page`: [`PageModel`](/form-library/documentation/api-reference/page-model)\
19703
19710
  * A page for which the event is raised.
19704
19711
  * - `options.addNewQuestion(type)`: Method\
19705
19712
  * Adds a new question of a specified [`type`](/form-library/documentation/api-reference/question#getType) to the page.
19713
+ * @see onDefineElementMenuItems
19706
19714
  */
19707
19715
  _this.onGetPageActions = new CreatorEvent();
19708
19716
  /**
@@ -19743,13 +19751,28 @@ var CreatorBase = /** @class */ (function (_super) {
19743
19751
  */
19744
19752
  _this.onNotify = new CreatorEvent();
19745
19753
  /**
19746
- * The event is called on changing the selected element. You may change the new selected element by changing the property options.newSelectedElement to your own
19747
- *- options.newSelectedElement the element that is going to be selected in the survey desiger: question, panel, page or survey.
19754
+ * An event that is raised before a survey element (a question, panel, page, or the survey itself) is focused. Use this event to move focus to a different survey element.
19755
+ *
19756
+ * Parameters:
19757
+ *
19758
+ * - `sender`: `CreatorBase`\
19759
+ * A Survey Creator instance that raised the event.
19760
+ * - `options.newSelectedElement`: [`Survey.Base`](https://surveyjs.io/form-library/documentation/api-reference/base)\
19761
+ * An element that is going to be focused.
19762
+ * @see onSelectedElementChanged
19763
+ * @see selectedElement
19748
19764
  */
19749
19765
  _this.onSelectedElementChanging = new CreatorEvent();
19750
19766
  /**
19751
- * The event is called after the selected element is changed.
19752
- *- options.newSelectedElement the new selected element in the survey desiger: question, panel, page or survey.
19767
+ * An event that is raised after a survey element (a question, panel, page, or the survey itself) is focused.
19768
+ *
19769
+ * Parameters:
19770
+ *
19771
+ * - `sender`: `CreatorBase`\
19772
+ * A Survey Creator instance that raised the event.
19773
+ * - `options.newSelectedElement`: [`Survey.Base`](https://surveyjs.io/form-library/documentation/api-reference/base)\
19774
+ * The [focused element](#selectedElement).
19775
+ * @see onSelectedElementChanging
19753
19776
  */
19754
19777
  _this.onSelectedElementChanged = new CreatorEvent();
19755
19778
  /**
@@ -19867,15 +19890,28 @@ var CreatorBase = /** @class */ (function (_super) {
19867
19890
  */
19868
19891
  _this.onTranslationItemChanging = new CreatorEvent();
19869
19892
  /**
19870
- * Use this event to control drag&drop operations.
19871
- *- sender the survey creator object that fires the event.
19872
- *- options.survey the editing survey object.
19873
- *- options.allow set it to false to disable dragging.
19874
- *- options.target a target element that is dragging.
19875
- *- options.source a source element. It can be null, if it is a new element, dragging from toolbox.
19876
- *- options.parent a page or panel where target element is dragging.
19877
- *- options.insertBefore an element before the target element is dragging. It can be null if parent container (page or panel) is empty or dragging an element under the last element of the container.
19878
- *- options.insertAfter an element after the target element is dragging. It can be null if parent container (page or panel) is empty or dragging element to the top of the parent container.
19893
+ * An event that is raised when users drag and drop survey elements within the design surface. Use this event to control drag and drop operations.
19894
+ *
19895
+ * Parameters:
19896
+ *
19897
+ * - `sender`: `CreatorBase`\
19898
+ * A Survey Creator instance that raised the event.
19899
+ * - `options.target`: `IElement`\
19900
+ * A survey element being dragged.
19901
+ * - `options.source`: `IElement`\
19902
+ * A survey element from which `target` is being dragged. This parameter is `null` if `target` is being dragged from the [Toolbox](https://surveyjs.io/survey-creator/documentation/toolbox).
19903
+ * - `options.insertBefore`: `IElement`\
19904
+ * A survey element before which the target element will be placed. This parameter is `null` if the parent container (page or panel) has no elements or if the target element will be placed below all other elements within the container.
19905
+ * - `options.insertAfter`: `IElement`\
19906
+ * A survey element after which `target` will be placed. This parameter is `null` if the parent container (page or panel) has no elements or if `target` will be placed above all other elements within the container.
19907
+ * - `options.parent`: `ISurveyElement`\
19908
+ * A parent container (page or panel) within which `target` will be placed.
19909
+ * - `options.survey`: [`SurveyModel`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model)\
19910
+ * A survey within which the drag and drop operation occured.
19911
+ * - `options.allow`: `boolean`\
19912
+ * A Boolean property that you can set to `false` if you want to cancel the drag and drop operation.
19913
+ * @see onDragStart
19914
+ * @see onDragEnd
19879
19915
  */
19880
19916
  _this.onDragDropAllow = new CreatorEvent();
19881
19917
  // /**
@@ -19967,7 +20003,9 @@ var CreatorBase = /** @class */ (function (_super) {
19967
20003
  * @see allowChangeThemeInPreview
19968
20004
  */
19969
20005
  _this.themeForPreview = "defaultV2";
20006
+ _this.isThemeModified = false;
19970
20007
  _this._theme = { cssVariables: {} };
20008
+ //#endregion Theme
19971
20009
  _this._allowModifyPages = true;
19972
20010
  _this.showDefaultLanguageInTestSurveyTab = "auto";
19973
20011
  _this.showInvisibleElementsInTestSurveyTab = true;
@@ -20023,25 +20061,33 @@ var CreatorBase = /** @class */ (function (_super) {
20023
20061
  //#endregion Obsolete properties and functions
20024
20062
  //#region Undo/Redo
20025
20063
  /**
20026
- * The event is called before undo happens.
20027
- *- options.canUndo a boolean value. It is true by default. Set it false to hide prevent undo operation.
20064
+ * An event that is raised before an undo operation.
20065
+ *
20066
+ * Parameters:
20067
+ *
20068
+ * - `sender`: `CreatorBase`\
20069
+ * A Survey Creator instance that raised the event.
20070
+ * - `options.canUndo`: `boolean`\
20071
+ * A Boolean value that you can set to `false` if you want to prevent the undo operation.
20072
+ * @see undo
20073
+ * @see redo
20074
+ * @see onBeforeRedo
20028
20075
  */
20029
20076
  _this.onBeforeUndo = new CreatorEvent();
20030
20077
  /**
20031
- * The event is called before redo happens.
20032
- *- options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
20078
+ * An event that is raised before an redo operation.
20079
+ *
20080
+ * Parameters:
20081
+ *
20082
+ * - `sender`: `CreatorBase`\
20083
+ * A Survey Creator instance that raised the event.
20084
+ * - `options.canRedo`: `boolean`\
20085
+ * A Boolean value that you can set to `false` if you want to prevent the redo operation.
20086
+ * @see redo
20087
+ * @see undo
20088
+ * @see onBeforeUndo
20033
20089
  */
20034
20090
  _this.onBeforeRedo = new CreatorEvent();
20035
- /**
20036
- * The event is called after undo happens.
20037
- *- options.state is an undo/redo item.
20038
- */
20039
- _this.onAfterUndo = new CreatorEvent();
20040
- /**
20041
- * The event is called after redo happens.
20042
- *- options.state is an undo/redo item.
20043
- */
20044
- _this.onAfterRedo = new CreatorEvent();
20045
20091
  /**
20046
20092
  * An event that is raised before a new page is added to the survey.
20047
20093
  *
@@ -20069,6 +20115,7 @@ var CreatorBase = /** @class */ (function (_super) {
20069
20115
  * - `options.toElement`: `any`\
20070
20116
  * A survey element to which `draggedElement` is being dragged.
20071
20117
  * @see onDragEnd
20118
+ * @see onDragDropAllow
20072
20119
  */
20073
20120
  _this.onDragStart = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Event"]();
20074
20121
  _this.onBeforeDrop = _this.onDragStart;
@@ -20085,6 +20132,8 @@ var CreatorBase = /** @class */ (function (_super) {
20085
20132
  * A survey element from which `draggedElement` was dragged.
20086
20133
  * - `options.toElement`: `any`\
20087
20134
  * A survey element to which `draggedElement` was dragged.
20135
+ * @see onDragStart
20136
+ * @see onDragDropAllow
20088
20137
  */
20089
20138
  _this.onDragEnd = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Event"]();
20090
20139
  _this.onAfterDrop = _this.onDragEnd;
@@ -20118,7 +20167,7 @@ var CreatorBase = /** @class */ (function (_super) {
20118
20167
  };
20119
20168
  _this.shortcuts = {};
20120
20169
  /**
20121
- * A delay between changing survey or theme settings and saving the survey or theme JSON schema, measured in milliseconds. Applies only when the [`isAutoSave`](#isAutoSave) property is `true`.
20170
+ * A delay between changing survey settings and saving the survey JSON schema, measured in milliseconds. Applies only when the [`isAutoSave`](#isAutoSave) property is `true`.
20122
20171
  *
20123
20172
  * Default value: 500 (taken from `settings.autoSave.delay`)
20124
20173
  *
@@ -20305,9 +20354,6 @@ var CreatorBase = /** @class */ (function (_super) {
20305
20354
  configurable: true
20306
20355
  });
20307
20356
  Object.defineProperty(CreatorBase.prototype, "isPreviewShowing", {
20308
- /**
20309
- * Return true if Preview tab is currently active
20310
- */
20311
20357
  get: function () {
20312
20358
  return this.activeTab === "test";
20313
20359
  },
@@ -20317,9 +20363,6 @@ var CreatorBase = /** @class */ (function (_super) {
20317
20363
  CreatorBase.prototype.showTestSurvey = function () {
20318
20364
  this.showPreview();
20319
20365
  };
20320
- /**
20321
- * Show Preview tab
20322
- */
20323
20366
  CreatorBase.prototype.showPreview = function () {
20324
20367
  this.activeTab = "test";
20325
20368
  };
@@ -20375,35 +20418,59 @@ var CreatorBase = /** @class */ (function (_super) {
20375
20418
  enumerable: false,
20376
20419
  configurable: true
20377
20420
  });
20421
+ Object.defineProperty(CreatorBase.prototype, "saveThemeFunc", {
20422
+ //#region Theme
20423
+ /**
20424
+ * A function that is called each time users click the [Save button](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSaveButton) or [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#isAutoSave) is triggered to save a theme JSON object.
20425
+ *
20426
+ * For more information, refer to the [Save and Load Custom Themes](/survey-creator/documentation/theme-editor#save-and-load-custom-themes) help topic.
20427
+ * @see showThemeTab
20428
+ * @see saveSurveyFunc
20429
+ */
20430
+ get: function () {
20431
+ return this.saveThemeFuncValue;
20432
+ },
20433
+ set: function (value) {
20434
+ this.saveThemeFuncValue = value;
20435
+ },
20436
+ enumerable: false,
20437
+ configurable: true
20438
+ });
20378
20439
  Object.defineProperty(CreatorBase.prototype, "theme", {
20379
- get: function () { return this._theme; },
20440
+ get: function () {
20441
+ return this._theme;
20442
+ },
20380
20443
  set: function (newTheme) {
20381
20444
  this._theme = newTheme;
20382
- this.raiseThemeChanged();
20445
+ this.isThemeModified = true;
20446
+ if (this.activeTab !== "theme") {
20447
+ this.updatePlugin(this.activeTab);
20448
+ }
20383
20449
  },
20384
20450
  enumerable: false,
20385
20451
  configurable: true
20386
20452
  });
20387
- CreatorBase.prototype.getCurrentTheme = function (content) {
20388
- if (content === void 0) { content = "full"; }
20389
- if (content === "full") {
20390
- return this.theme;
20391
- }
20392
- var themePlugin = this.getPlugin("theme");
20393
- if (!!themePlugin) {
20394
- return themePlugin.getThemeChanges();
20453
+ CreatorBase.prototype.doSaveTheme = function () {
20454
+ var _this = this;
20455
+ this.setState("saving");
20456
+ if (this.saveThemeFunc) {
20457
+ this.saveNo++;
20458
+ this.saveThemeFunc(this.saveNo, function (no, isSuccess) {
20459
+ if (_this.saveNo !== no)
20460
+ return;
20461
+ if (isSuccess) {
20462
+ _this.setState("saved");
20463
+ _this.isThemeModified = false;
20464
+ }
20465
+ else {
20466
+ _this.setState("modified");
20467
+ if (_this.showErrorOnFailedSave) {
20468
+ _this.notify(_this.getLocString("ed.saveError"), "error");
20469
+ }
20470
+ }
20471
+ });
20395
20472
  }
20396
20473
  };
20397
- CreatorBase.prototype.raiseThemeChanged = function () {
20398
- this.hasPendingThemeChanges = true;
20399
- var options = {
20400
- propertyName: "theme",
20401
- obj: this,
20402
- value: this.theme,
20403
- type: "THEME_MODIFIED"
20404
- };
20405
- this.setModified(options);
20406
- };
20407
20474
  Object.defineProperty(CreatorBase.prototype, "allowModifyPages", {
20408
20475
  /**
20409
20476
  * Specifies whether users can add, edit, and delete survey pages.
@@ -20750,22 +20817,18 @@ var CreatorBase = /** @class */ (function (_super) {
20750
20817
  enumerable: false,
20751
20818
  configurable: true
20752
20819
  });
20753
- /**
20754
- * This method starts undo/redo transaction: all changes will be stored as one undo/redo item.
20755
- */
20756
20820
  CreatorBase.prototype.startUndoRedoTransaction = function (name) {
20757
20821
  if (name === void 0) { name = ""; }
20758
20822
  this.undoRedoController && this.undoRedoController.startTransaction(name);
20759
20823
  };
20760
- /**
20761
- * This method stops undo/redo transaction.
20762
- */
20763
20824
  CreatorBase.prototype.stopUndoRedoTransaction = function () {
20764
20825
  this.undoRedoController && this.undoRedoController.stopTransaction();
20765
20826
  };
20766
20827
  Object.defineProperty(CreatorBase.prototype, "isProcessingUndoRedo", {
20767
20828
  /**
20768
- * Returns true if Creator is currently doing undo or redo opertaions
20829
+ * Returns `true` if an undo or redo operation is in progress.
20830
+ * @see undo
20831
+ * @see redo
20769
20832
  */
20770
20833
  get: function () {
20771
20834
  return this.undoRedoManager && this.undoRedoManager.isProcessingUndoRedo;
@@ -20774,13 +20837,17 @@ var CreatorBase = /** @class */ (function (_super) {
20774
20837
  configurable: true
20775
20838
  });
20776
20839
  /**
20777
- * This method performs undo uperation if possible.
20840
+ * Cancels the last change if possible.
20841
+ * @see redo
20842
+ * @see onBeforeUndo
20778
20843
  */
20779
20844
  CreatorBase.prototype.undo = function () {
20780
20845
  this.undoRedoController && this.undoRedoController.undo();
20781
20846
  };
20782
20847
  /**
20783
- * This method performs redo uperation if possible.
20848
+ * Repeats the last undone action if possible.
20849
+ * @see undo
20850
+ * @see onBeforeRedo
20784
20851
  */
20785
20852
  CreatorBase.prototype.redo = function () {
20786
20853
  this.undoRedoController && this.undoRedoController.redo();
@@ -21355,11 +21422,10 @@ var CreatorBase = /** @class */ (function (_super) {
21355
21422
  }
21356
21423
  };
21357
21424
  CreatorBase.prototype.setModified = function (options) {
21358
- var _this = this;
21359
21425
  if (options === void 0) { options = null; }
21360
21426
  this.setState("modified");
21361
21427
  this.onModified.fire(this, options);
21362
- this.isAutoSave && this.doAutoSave(options.type === "THEME_MODIFIED" ? function () { return _this.doSaveTheme(); } : function () { return _this.doSave(); });
21428
+ this.isAutoSave && this.doAutoSave();
21363
21429
  };
21364
21430
  CreatorBase.prototype.notifySurveyPropertyChanged = function (options) {
21365
21431
  this.clearSurveyLogicForUpdate(options.target, options.name, options.newValue);
@@ -21469,8 +21535,13 @@ var CreatorBase = /** @class */ (function (_super) {
21469
21535
  if (selectedElement && selectedElement.parent && selectedElement["page"] == parent &&
21470
21536
  (selectedElement !== panel)) {
21471
21537
  if (!panel) {
21472
- while (selectedElement.parent !== null && selectedElement.parent.isPanel) {
21473
- selectedElement = selectedElement.parent;
21538
+ while (!!selectedElement.parent && selectedElement.parent.isPanel) {
21539
+ if (!!selectedElement.parentQuestion) {
21540
+ selectedElement = selectedElement.parentQuestion;
21541
+ }
21542
+ else {
21543
+ selectedElement = selectedElement.parent;
21544
+ }
21474
21545
  }
21475
21546
  }
21476
21547
  parent = selectedElement.parent;
@@ -21612,7 +21683,9 @@ var CreatorBase = /** @class */ (function (_super) {
21612
21683
  };
21613
21684
  Object.defineProperty(CreatorBase.prototype, "selectedElement", {
21614
21685
  /**
21615
- * Get or set the current selected object in the Creator. It can be a question, panel, page or survey itself.
21686
+ * Gets or sets the focused survey element: a question, panel, page, or the survey itself.
21687
+ * @see onSelectedElementChanging
21688
+ * @see onSelectedElementChanged
21616
21689
  */
21617
21690
  get: function () {
21618
21691
  return this.selectedElementValue;
@@ -21623,22 +21696,18 @@ var CreatorBase = /** @class */ (function (_super) {
21623
21696
  enumerable: false,
21624
21697
  configurable: true
21625
21698
  });
21626
- /**
21627
- * @Deprecated Obsolete. Please use deleteCurrentElement.
21628
- * @see deleteCurrentElement
21629
- */
21630
21699
  CreatorBase.prototype.deleteCurrentObject = function () {
21631
21700
  this.deleteCurrentElement();
21632
21701
  };
21633
- /**
21634
- * Delete a currently selected element in the survey. It can be a question, a panel or a page.
21635
- */
21636
21702
  CreatorBase.prototype.deleteCurrentElement = function () {
21637
21703
  this.deleteObject(this.selectedElement);
21638
21704
  };
21639
21705
  /**
21640
- * Delete an element in the survey. It can be a question, a panel or a page.
21641
- * @param element a survey element.
21706
+ * Deletes a survey element: a question, panel, or page.
21707
+ *
21708
+ * If you want to delete the focused element, pass the [`selectedElement`](#selectedElement) property value to this method.
21709
+ * @param element A survey element to delete.
21710
+ * @see onElementDeleting
21642
21711
  */
21643
21712
  CreatorBase.prototype.deleteElement = function (element) {
21644
21713
  this.deleteObject(element);
@@ -21861,8 +21930,10 @@ var CreatorBase = /** @class */ (function (_super) {
21861
21930
  };
21862
21931
  //#endregion Obsolete designerPropertyGrid
21863
21932
  /**
21864
- * Check for errors in property grid and adorners of the selected elements.
21865
- * Returns true if selected element is null or there is no errors.
21933
+ * Validates the property values of the [focused element](#selectedElement).
21934
+ * @returns `true` if all property values of the focused element are valid or if no element is focused, `false` otherwise.
21935
+ * @see onSelectedElementChanging
21936
+ * @see onSelectedElementChanged
21866
21937
  */
21867
21938
  CreatorBase.prototype.validateSelectedElement = function () {
21868
21939
  var isValid = true;
@@ -22315,9 +22386,9 @@ var CreatorBase = /** @class */ (function (_super) {
22315
22386
  this.onMachineTranslate.fire(this, { fromLocale: fromLocale, toLocale: toLocale, strings: strings, callback: callback });
22316
22387
  }
22317
22388
  };
22318
- CreatorBase.prototype.doAutoSave = function (saveFunc) {
22389
+ CreatorBase.prototype.doAutoSave = function () {
22319
22390
  var _this = this;
22320
- if (saveFunc === void 0) { saveFunc = function () { return _this.doSave(); }; }
22391
+ var saveFunc = function () { return _this.doSave(); };
22321
22392
  if (this.autoSaveDelay <= 0) {
22322
22393
  saveFunc();
22323
22394
  return;
@@ -22352,44 +22423,6 @@ var CreatorBase = /** @class */ (function (_super) {
22352
22423
  });
22353
22424
  }
22354
22425
  };
22355
- CreatorBase.prototype.doSaveTheme = function () {
22356
- var _this = this;
22357
- this.setState("saving");
22358
- if (this.hasPendingThemeChanges && this.saveThemeFunc) {
22359
- this.saveNo++;
22360
- this.saveThemeFunc(this.saveNo, function (no, isSuccess) {
22361
- if (_this.saveNo !== no)
22362
- return;
22363
- if (isSuccess) {
22364
- _this.setState("saved");
22365
- _this.hasPendingThemeChanges = false;
22366
- }
22367
- else {
22368
- _this.setState("modified");
22369
- if (_this.showErrorOnFailedSave) {
22370
- _this.notify(_this.getLocString("ed.saveError"), "error");
22371
- }
22372
- }
22373
- });
22374
- }
22375
- };
22376
- Object.defineProperty(CreatorBase.prototype, "saveThemeFunc", {
22377
- /**
22378
- * A function that is called each time users click the [Save button](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSaveButton) or [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#isAutoSave) is triggered to save a theme JSON object.
22379
- *
22380
- * For more information, refer to the [Save and Load Custom Themes](/survey-creator/documentation/theme-editor#save-and-load-custom-themes) help topic.
22381
- * @see showThemeTab
22382
- * @see saveSurveyFunc
22383
- */
22384
- get: function () {
22385
- return this.saveThemeFuncValue;
22386
- },
22387
- set: function (value) {
22388
- this.saveThemeFuncValue = value;
22389
- },
22390
- enumerable: false,
22391
- configurable: true
22392
- });
22393
22426
  Object.defineProperty(CreatorBase.prototype, "saveSurveyFunc", {
22394
22427
  /**
22395
22428
  * A function that is called each time users click the [Save button](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSaveButton) or [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#isAutoSave) is triggered to save a survey JSON schema.
@@ -22464,11 +22497,11 @@ var CreatorBase = /** @class */ (function (_super) {
22464
22497
  }, false);
22465
22498
  listModel.locOwner = this;
22466
22499
  var popupModel = new survey_core__WEBPACK_IMPORTED_MODULE_1__["PopupModel"]("sv-list", { model: listModel }, "bottom", "center");
22500
+ popupModel.displayMode = this.isTouch ? "overlay" : "popup";
22467
22501
  return {
22468
22502
  iconName: "icon-more",
22469
22503
  title: this.getLocString("ed.addNewQuestion"),
22470
22504
  action: function () {
22471
- popupModel.displayMode = _this.isMobileView ? "overlay" : "popup";
22472
22505
  popupModel.toggleVisibility();
22473
22506
  },
22474
22507
  popupModel: popupModel
@@ -22503,7 +22536,7 @@ var CreatorBase = /** @class */ (function (_super) {
22503
22536
  var action = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"]({
22504
22537
  title: title,
22505
22538
  id: className,
22506
- iconName: iconName
22539
+ iconName: iconName,
22507
22540
  });
22508
22541
  action.needSeparator = needSeparator;
22509
22542
  return action;
@@ -22637,12 +22670,6 @@ var CreatorBase = /** @class */ (function (_super) {
22637
22670
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
22638
22671
  Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
22639
22672
  ], CreatorBase.prototype, "viewType", void 0);
22640
- Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
22641
- Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
22642
- ], CreatorBase.prototype, "hasPendingThemeChanges", void 0);
22643
- Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
22644
- Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: true })
22645
- ], CreatorBase.prototype, "isThemePristine", void 0);
22646
22673
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
22647
22674
  Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: true })
22648
22675
  ], CreatorBase.prototype, "showToolboxValue", void 0);
@@ -23236,7 +23263,8 @@ var settings = {
23236
23263
  allowCollapseSidebar: true
23237
23264
  },
23238
23265
  jsonEditor: {
23239
- indentation: 1
23266
+ indentation: 1,
23267
+ exportFileName: "survey.json"
23240
23268
  }
23241
23269
  };
23242
23270
  var EmptySurveyCreatorOptions = /** @class */ (function () {
@@ -23300,6 +23328,7 @@ var EmptySurveyCreatorOptions = /** @class */ (function () {
23300
23328
  EmptySurveyCreatorOptions.prototype.uploadFiles = function (files, question, uploadingCallback) { };
23301
23329
  EmptySurveyCreatorOptions.prototype.getHasMachineTranslation = function () { return this.machineTranslationValue; };
23302
23330
  EmptySurveyCreatorOptions.prototype.doMachineTranslation = function (fromLocale, toLocale, strings, callback) { };
23331
+ EmptySurveyCreatorOptions.prototype.chooseFiles = function (input, onFilesChosen) { };
23303
23332
  return EmptySurveyCreatorOptions;
23304
23333
  }());
23305
23334
 
@@ -23554,6 +23583,12 @@ var QuestionFileEditorModel = /** @class */ (function (_super) {
23554
23583
  _this.onKeyDown = function (event) {
23555
23584
  _this.onTextKeyDownHandler(event);
23556
23585
  };
23586
+ _this.onFileInputChange = function (event) {
23587
+ if (!_this.onChooseFilesCallback) {
23588
+ _this.doChange(event);
23589
+ return true;
23590
+ }
23591
+ };
23557
23592
  return _this;
23558
23593
  }
23559
23594
  QuestionFileEditorModel.prototype.onChangeQuestionValue = function (newValue) { };
@@ -23652,6 +23687,20 @@ var QuestionFileEditorModel = /** @class */ (function (_super) {
23652
23687
  QuestionFileEditorModel.prototype.getChooseButtonCss = function () {
23653
23688
  return new survey_core__WEBPACK_IMPORTED_MODULE_1__["CssClassBuilder"]().append(this.cssClasses.chooseButton).append(this.cssClasses.chooseButtonDisabled, this.isInputReadOnly).toString();
23654
23689
  };
23690
+ QuestionFileEditorModel.prototype.chooseFiles = function (event) {
23691
+ var _this = this;
23692
+ if (this.isInputReadOnly || !this.onChooseFilesCallback) {
23693
+ return true;
23694
+ }
23695
+ else {
23696
+ event.preventDefault();
23697
+ event.stopPropagation();
23698
+ var input = this["rootElement"].querySelectorAll("input[type='file']")[0];
23699
+ this.onChooseFilesCallback(input, function (files) {
23700
+ _this.loadFiles(files);
23701
+ });
23702
+ }
23703
+ };
23655
23704
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
23656
23705
  Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
23657
23706
  ], QuestionFileEditorModel.prototype, "_renderedValue", void 0);
@@ -24194,7 +24243,7 @@ var EditorLocalization = /** @class */ (function () {
24194
24243
  var obj = this.getProperty(strName, defaultName);
24195
24244
  var name = obj["name"];
24196
24245
  if (!!name) {
24197
- if (name != strName)
24246
+ if (this.stringsDiff(name, strName))
24198
24247
  return name;
24199
24248
  return this.getAutoPropertyName(name, defaultName);
24200
24249
  }
@@ -24212,7 +24261,7 @@ var EditorLocalization = /** @class */ (function () {
24212
24261
  if (!obj) {
24213
24262
  obj = this.getString("pe." + propName);
24214
24263
  }
24215
- if (obj !== propName)
24264
+ if (this.stringsDiff(obj, propName))
24216
24265
  return obj;
24217
24266
  return this.getPropertyName(propName, defaultName);
24218
24267
  };
@@ -24239,7 +24288,8 @@ var EditorLocalization = /** @class */ (function () {
24239
24288
  peClass = this.getObjInEditorByType(typeName, peInfoByClass, postFix);
24240
24289
  }
24241
24290
  while (!!peClass) {
24242
- if (!!peClass.props[propName])
24291
+ var res = peClass.props[propName];
24292
+ if (!!res && typeof res !== "function")
24243
24293
  return peClass.props[propName];
24244
24294
  peClass = peClass.parent;
24245
24295
  }
@@ -24280,14 +24330,14 @@ var EditorLocalization = /** @class */ (function () {
24280
24330
  EditorLocalization.prototype.getProperty = function (strName, defaultName) {
24281
24331
  if (defaultName === void 0) { defaultName = null; }
24282
24332
  var obj = this.getString("p." + strName);
24283
- if (obj !== strName)
24333
+ if (this.stringsDiff(obj, strName))
24284
24334
  return obj;
24285
24335
  var pos = strName.indexOf("_");
24286
24336
  if (pos < -1)
24287
24337
  return this.getAutoPropertyName(obj, defaultName);
24288
24338
  strName = strName.substring(pos + 1);
24289
24339
  obj = this.getString("p." + strName);
24290
- if (obj !== strName)
24340
+ if (this.stringsDiff(obj, strName))
24291
24341
  return obj;
24292
24342
  return this.getAutoPropertyName(obj, defaultName);
24293
24343
  };
@@ -24384,6 +24434,11 @@ var EditorLocalization = /** @class */ (function () {
24384
24434
  }
24385
24435
  return res;
24386
24436
  };
24437
+ EditorLocalization.prototype.stringsDiff = function (str1, str2) {
24438
+ if (typeof str1 === "function" || typeof str2 === "function")
24439
+ return false;
24440
+ return str1 !== str2;
24441
+ };
24387
24442
  return EditorLocalization;
24388
24443
  }());
24389
24444
 
@@ -24472,7 +24527,7 @@ var __spreadArray = function (to, from) {
24472
24527
  /*!******************************!*\
24473
24528
  !*** ./src/entries/index.ts ***!
24474
24529
  \******************************/
24475
- /*! 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, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, createColor, createBoxShadow, parseBoxShadow, DefaultFonts, fontsettingsToCssVariable, fontsettingsFromCssVariable, elementSettingsToCssVariable, elementSettingsFromCssVariable, Themes, PredefinedThemes, getThemeFullName, PredefinedColors, findSuitableTheme, ThemeBuilder, ThemeTabPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, TranslationEditor, createImportCSVAction, createExportCSVAction, 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, ResetValueAdorner, QuestionTextWithResetModel, QuestionCommentWithResetModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridLinkEditor, PropertyGridEditorColor, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionCarryForward, 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 */
24530
+ /*! 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, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, createColor, createBoxShadow, parseBoxShadow, DefaultFonts, fontsettingsToCssVariable, fontsettingsFromCssVariable, elementSettingsToCssVariable, elementSettingsFromCssVariable, Themes, PredefinedThemes, getThemeFullName, PredefinedColors, findSuitableTheme, ThemeBuilder, ThemeTabPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, TranslationEditor, createImportCSVAction, createExportCSVAction, 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, ResetValueAdorner, QuestionTextWithResetModel, QuestionCommentWithResetModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridLinkEditor, PropertyGridEditorColor, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionCarryForward, 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, saveToFileHandler, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
24476
24531
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
24477
24532
 
24478
24533
  "use strict";
@@ -24931,6 +24986,8 @@ __webpack_require__.r(__webpack_exports__);
24931
24986
 
24932
24987
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorCalculator", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_64__["ColorCalculator"]; });
24933
24988
 
24989
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "saveToFileHandler", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_64__["saveToFileHandler"]; });
24990
+
24934
24991
  /* harmony import */ var _question_editor_definition__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../question-editor/definition */ "./src/question-editor/definition.ts");
24935
24992
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return _question_editor_definition__WEBPACK_IMPORTED_MODULE_65__["SurveyQuestionEditorDefinition"]; });
24936
24993
 
@@ -24964,7 +25021,7 @@ __webpack_require__.r(__webpack_exports__);
24964
25021
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! survey-core */ "survey-core");
24965
25022
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_71___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_71__);
24966
25023
  var Version;
24967
- Version = "" + "1.9.112";
25024
+ Version = "" + "1.9.113";
24968
25025
  //should be loaded before other styles for easier override
24969
25026
  __webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
24970
25027
 
@@ -25054,7 +25111,7 @@ __webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
25054
25111
  __webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
25055
25112
 
25056
25113
  survey_core__WEBPACK_IMPORTED_MODULE_71__["settings"].supportCreatorV2 = true;
25057
- Object(survey_core__WEBPACK_IMPORTED_MODULE_71__["checkLibraryVersion"])("" + "1.9.112", "survey-creator-core");
25114
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_71__["checkLibraryVersion"])("" + "1.9.113", "survey-creator-core");
25058
25115
 
25059
25116
 
25060
25117
  /***/ }),
@@ -25314,6 +25371,7 @@ var map = {
25314
25371
  "./color-picker.svg": "./src/images/color-picker.svg",
25315
25372
  "./comment.svg": "./src/images/comment.svg",
25316
25373
  "./config.svg": "./src/images/config.svg",
25374
+ "./copy.svg": "./src/images/copy.svg",
25317
25375
  "./default.svg": "./src/images/default.svg",
25318
25376
  "./delete_16x16.svg": "./src/images/delete_16x16.svg",
25319
25377
  "./description-hide.svg": "./src/images/description-hide.svg",
@@ -25660,6 +25718,17 @@ module.exports = "<svg viewBox=\"0 0 25 24\" xmlns=\"http://www.w3.org/2000/svg\
25660
25718
 
25661
25719
  /***/ }),
25662
25720
 
25721
+ /***/ "./src/images/copy.svg":
25722
+ /*!*****************************!*\
25723
+ !*** ./src/images/copy.svg ***!
25724
+ \*****************************/
25725
+ /*! no static exports found */
25726
+ /***/ (function(module, exports) {
25727
+
25728
+ module.exports = "<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M21 1H9C7.9 1 7 1.9 7 3V7H3C1.9 7 1 7.9 1 9V21C1 22.1 1.9 23 3 23H15C16.1 23 17 22.1 17 21V17H21C22.1 17 23 16.1 23 15V3C23 1.9 22.1 1 21 1ZM15 21H3V9H15V21ZM21 15H17V9C17 7.9 16.1 7 15 7H9V3H21V15Z\" fill=\"black\" fill-opacity=\"0.45\"></path></svg>"
25729
+
25730
+ /***/ }),
25731
+
25663
25732
  /***/ "./src/images/default.svg":
25664
25733
  /*!********************************!*\
25665
25734
  !*** ./src/images/default.svg ***!
@@ -27309,6 +27378,9 @@ var enStrings = {
27309
27378
  translationPlaceHolder: "Translation...",
27310
27379
  themeExportButton: "Export",
27311
27380
  themeImportButton: "Import",
27381
+ surveyJsonExportButton: "Export",
27382
+ surveyJsonImportButton: "Import",
27383
+ surveyJsonCopyButton: "Copy to clipboard",
27312
27384
  themeResetButton: "Reset theme settings to default",
27313
27385
  bold: "Bold",
27314
27386
  italic: "Italic",
@@ -28245,7 +28317,7 @@ var enStrings = {
28245
28317
  headerViewAdvanced: "Advanced",
28246
28318
  coverInheritWidthFrom: "Content area width",
28247
28319
  coverInheritWidthFromSurvey: "Same as survey",
28248
- coverInheritWidthFromPage: "Fit to page",
28320
+ coverInheritWidthFromContainer: "Fit to container",
28249
28321
  coverTextAreaWidth: "Text width",
28250
28322
  coverBackgroundColorSwitch: "Background color",
28251
28323
  coverBackgroundColorNone: "None",
@@ -28527,16 +28599,6 @@ var UndoRedoController = /** @class */ (function (_super) {
28527
28599
  * options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
28528
28600
  */
28529
28601
  _this.onBeforeRedo = new _creator_base__WEBPACK_IMPORTED_MODULE_2__["CreatorEvent"]();
28530
- /**
28531
- * The event is called after undo happens.
28532
- * options.state is an undo/redo item.
28533
- */
28534
- _this.onAfterUndo = new _creator_base__WEBPACK_IMPORTED_MODULE_2__["CreatorEvent"]();
28535
- /**
28536
- * The event is called after redo happens.
28537
- * options.state is an undo/redo item.
28538
- */
28539
- _this.onAfterRedo = new _creator_base__WEBPACK_IMPORTED_MODULE_2__["CreatorEvent"]();
28540
28602
  _this.updateSurvey();
28541
28603
  return _this;
28542
28604
  }
@@ -28639,9 +28701,7 @@ var UndoRedoController = /** @class */ (function (_super) {
28639
28701
  this.onBeforeUndo.fire(this.creator, options);
28640
28702
  this.creator.onBeforeUndo.fire(this.creator, options);
28641
28703
  if (options.canUndo) {
28642
- var item = this.undoRedoManager.undo();
28643
- this.onAfterUndo.fire(this.creator, { state: item });
28644
- this.creator.onAfterUndo.fire(this.creator, { state: item });
28704
+ this.undoRedoManager.undo();
28645
28705
  this.selectElementAfterUndo();
28646
28706
  }
28647
28707
  this.undoRedoManager.resume();
@@ -28654,8 +28714,6 @@ var UndoRedoController = /** @class */ (function (_super) {
28654
28714
  this.creator.onBeforeRedo.fire(this.creator, options);
28655
28715
  if (options.canRedo) {
28656
28716
  var item = this.undoRedoManager.redo();
28657
- this.onAfterRedo.fire(this.creator, { state: item });
28658
- this.creator.onAfterRedo.fire(this.creator, { state: item });
28659
28717
  this.selectElementAfterUndo();
28660
28718
  }
28661
28719
  };
@@ -29092,6 +29150,7 @@ var propertyGridCss = {
29092
29150
  requiredText: "spg-panel__required-text"
29093
29151
  },
29094
29152
  paneldynamic: {
29153
+ mainRoot: "spg-question spg-row__question",
29095
29154
  root: "spg-paneldynamic",
29096
29155
  navigation: "spg-paneldynamic__navigation",
29097
29156
  title: "spg-title spg-question__title",
@@ -31084,8 +31143,7 @@ var FastEntryEditor = /** @class */ (function (_super) {
31084
31143
  }
31085
31144
  };
31086
31145
  FastEntryEditor.prototype.apply = function () {
31087
- if (this.comment.isEmpty())
31088
- return false;
31146
+ //if (this.comment.isEmpty()) return false;
31089
31147
  if (this.editSurvey.hasErrors(true))
31090
31148
  return false;
31091
31149
  var items = this.convertTextToItemValues(this.comment.value);
@@ -32340,6 +32398,9 @@ var PropertyGridLinkEditor = /** @class */ (function (_super) {
32340
32398
  else {
32341
32399
  question.acceptedTypes = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["getAcceptedTypesByContentMode"])("image");
32342
32400
  }
32401
+ question.onChooseFilesCallback = (function (input, onFilesChosen) {
32402
+ options.chooseFiles(input, onFilesChosen);
32403
+ });
32343
32404
  };
32344
32405
  return PropertyGridLinkEditor;
32345
32406
  }(PropertyGridEditor));
@@ -33977,6 +34038,7 @@ var PropertyGridViewModel = /** @class */ (function (_super) {
33977
34038
  });
33978
34039
  this.selectorPopupModel = new survey_core__WEBPACK_IMPORTED_MODULE_1__["PopupModel"]("svc-object-selector", { model: selectorModel }, "bottom", "center");
33979
34040
  this.selectorPopupModel.cssClass += " svc-object-selector";
34041
+ this.selectorPopupModel.displayMode = this.creator.isTouch ? "overlay" : "popup";
33980
34042
  this.objectSelectionAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"]({
33981
34043
  id: "svd-grid-object-selector",
33982
34044
  title: this.selectedElementName,
@@ -33984,7 +34046,6 @@ var PropertyGridViewModel = /** @class */ (function (_super) {
33984
34046
  component: "sv-action-bar-item-dropdown",
33985
34047
  disableHide: true,
33986
34048
  action: function () {
33987
- _this.selectorPopupModel.displayMode = _this.creator.isMobileView ? "overlay" : "popup";
33988
34049
  selectorModel.show(_this.selectionController.creator.survey, _this.propertyGridModel.obj, function (obj) {
33989
34050
  _this.selectionController.selectFromAction(obj, "name");
33990
34051
  _this.selectorPopupModel.toggleVisibility();
@@ -34904,7 +34965,9 @@ var SurveyQuestionEditorDefinition = /** @class */ (function () {
34904
34965
  "size",
34905
34966
  "placeholder",
34906
34967
  "requiredErrorText",
34907
- "validators"
34968
+ "validators",
34969
+ { name: "minValueExpression", tab: "logic" },
34970
+ { name: "maxValueExpression", tab: "logic" },
34908
34971
  ]
34909
34972
  },
34910
34973
  "multipletext@items": {
@@ -35574,8 +35637,12 @@ var QuestionConverter = /** @class */ (function () {
35574
35637
  var panel = obj.parent;
35575
35638
  var index = panel.elements.indexOf(obj);
35576
35639
  panel.isConverting = true;
35640
+ var isSameLine = index + 1 < panel.elements.length ? panel.elements[index + 1].startWithNewLine === false : false;
35577
35641
  panel.removeElement(obj);
35578
35642
  panel.addElement(newQuestion, index);
35643
+ if (isSameLine) {
35644
+ panel.elements[index + 1].startWithNewLine = false;
35645
+ }
35579
35646
  delete panel.isConverting;
35580
35647
  newQuestion.onSurveyLoad();
35581
35648
  return newQuestion;
@@ -36312,12 +36379,12 @@ __webpack_require__.r(__webpack_exports__);
36312
36379
 
36313
36380
  var ObjType;
36314
36381
  (function (ObjType) {
36315
- ObjType[ObjType["Unknown"] = 0] = "Unknown";
36316
- ObjType[ObjType["Survey"] = 1] = "Survey";
36317
- ObjType[ObjType["Page"] = 2] = "Page";
36318
- ObjType[ObjType["Panel"] = 3] = "Panel";
36319
- ObjType[ObjType["Question"] = 4] = "Question";
36320
- ObjType[ObjType["Column"] = 5] = "Column";
36382
+ ObjType["Unknown"] = "unknown";
36383
+ ObjType["Survey"] = "survey";
36384
+ ObjType["Page"] = "page";
36385
+ ObjType["Panel"] = "panel";
36386
+ ObjType["Question"] = "question";
36387
+ ObjType["Column"] = "column";
36321
36388
  })(ObjType || (ObjType = {}));
36322
36389
  var SurveyHelper = /** @class */ (function () {
36323
36390
  function SurveyHelper() {
@@ -36330,7 +36397,7 @@ var SurveyHelper = /** @class */ (function () {
36330
36397
  return this.getNewPageName(survey.pages);
36331
36398
  if (el.isPanel)
36332
36399
  return this.getNewPanelName(survey.getAllPanels());
36333
- return this.getNewQuestionName(survey.getAllQuestions());
36400
+ return this.getNewQuestionName(survey.getAllQuestions(false, false, true));
36334
36401
  };
36335
36402
  SurveyHelper.getNewPageName = function (objs) {
36336
36403
  return SurveyHelper.getNewName(objs, _editorLocalization__WEBPACK_IMPORTED_MODULE_1__["editorLocalization"].getString("ed.newPageName"));
@@ -38162,7 +38229,7 @@ var ResizeManager = /** @class */ (function () {
38162
38229
  /*!****************************!*\
38163
38230
  !*** ./src/utils/utils.ts ***!
38164
38231
  \****************************/
38165
- /*! exports provided: 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 */
38232
+ /*! exports provided: 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, saveToFileHandler */
38166
38233
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38167
38234
 
38168
38235
  "use strict";
@@ -38196,6 +38263,7 @@ __webpack_require__.r(__webpack_exports__);
38196
38263
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RGBToHSB", function() { return RGBToHSB; });
38197
38264
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "assign", function() { return assign; });
38198
38265
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColorCalculator", function() { return ColorCalculator; });
38266
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveToFileHandler", function() { return saveToFileHandler; });
38199
38267
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "survey-core");
38200
38268
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_0__);
38201
38269
  /* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../creator-settings */ "./src/creator-settings.ts");
@@ -38482,6 +38550,8 @@ function copyCssClasses(dest, source) {
38482
38550
  function assignDefaultV2Classes(destination, questionType) {
38483
38551
  copyCssClasses(destination, survey_core__WEBPACK_IMPORTED_MODULE_0__["defaultV2Css"].question);
38484
38552
  copyCssClasses(destination, survey_core__WEBPACK_IMPORTED_MODULE_0__["defaultV2Css"][questionType]);
38553
+ destination.hasErrorTop = "";
38554
+ destination.hasErrorBottom = "";
38485
38555
  }
38486
38556
  function wrapTextByCurlyBraces(text) {
38487
38557
  return _creator_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].logic.openBracket + text + _creator_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].logic.closeBracket;
@@ -38617,6 +38687,21 @@ var ColorCalculator = /** @class */ (function () {
38617
38687
  return ColorCalculator;
38618
38688
  }());
38619
38689
 
38690
+ function saveToFileHandler(fileName, blob) {
38691
+ if (!window)
38692
+ return;
38693
+ if (window.navigator["msSaveOrOpenBlob"]) {
38694
+ window.navigator["msSaveBlob"](blob, fileName);
38695
+ }
38696
+ else {
38697
+ var elem = window.document.createElement("a");
38698
+ elem.href = window.URL.createObjectURL(blob);
38699
+ elem.download = fileName;
38700
+ document.body.appendChild(elem);
38701
+ elem.click();
38702
+ document.body.removeChild(elem);
38703
+ }
38704
+ }
38620
38705
 
38621
38706
 
38622
38707
  /***/ }),