survey-creator-core 1.12.16-patch.1 → 1.12.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +166 -114
- package/survey-creator-core.fontless.css +165 -113
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +22 -22
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +809 -699
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +23 -23
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +47 -13
- package/themes/default-contrast.js.map +1 -1
- package/themes/default-contrast.min.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +49 -15
- package/themes/default-dark.js.map +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +39 -5
- package/themes/default-light.js.map +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +57 -23
- package/themes/index.js.map +1 -1
- package/themes/index.min.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/themes/default.d.ts +76 -8
- package/typings/components/scroll.d.ts +1 -0
- package/typings/components/tabs/designer.d.ts +2 -1
- package/typings/components/tabs/json-editor-ace.d.ts +1 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +1 -1
- package/typings/components/tabs/theme-plugin.d.ts +1 -1
- package/typings/creator-base.d.ts +22 -9
- package/typings/creator-options.d.ts +15 -3
- package/typings/creator-responsivity-manager.d.ts +1 -0
- package/typings/creator-settings.d.ts +0 -2
- package/typings/entries/index.d.ts +3 -0
- package/typings/property-grid/condition-survey.d.ts +0 -1
- package/typings/property-grid/search-manager.d.ts +1 -0
- package/typings/property-grid-theme/property-grid.d.ts +1 -0
- package/typings/themes/default.d.ts +76 -8
- package/typings/utils/color-utils.d.ts +24 -0
- package/typings/utils/creator-utils.d.ts +10 -0
- package/typings/utils/html-element-utils.d.ts +7 -0
- package/typings/utils/utils.d.ts +0 -41
|
@@ -284,6 +284,8 @@ declare const Theme: {
|
|
|
284
284
|
"--ctr-actionbar-button-padding-top-medium-text": string;
|
|
285
285
|
"--ctr-actionbar-button-padding-bottom-medium-text": string;
|
|
286
286
|
"--ctr-actionbar-button-text-color-disabled": string;
|
|
287
|
+
"--ctr-actionbar-button-border-color-selected": string;
|
|
288
|
+
"--ctr-actionbar-button-border-width-selected": string;
|
|
287
289
|
"--ctr-list-item-gap": string;
|
|
288
290
|
"--ctr-list-item-padding-left": string;
|
|
289
291
|
"--ctr-list-item-padding-right": string;
|
|
@@ -349,6 +351,7 @@ declare const Theme: {
|
|
|
349
351
|
"--ctr-toolbox-item-padding-right": string;
|
|
350
352
|
"--ctr-toolbox-item-padding-top": string;
|
|
351
353
|
"--ctr-toolbox-item-padding-bottom": string;
|
|
354
|
+
"--ctr-toolbox-item-gap": string;
|
|
352
355
|
"--ctr-toolbox-item-corner-radius": string;
|
|
353
356
|
"--ctr-toolbox-item-padding-right-no-text": string;
|
|
354
357
|
"--ctr-toolbox-item-border-color-floating": string;
|
|
@@ -385,10 +388,12 @@ declare const Theme: {
|
|
|
385
388
|
"--ctr-button-background-color-hovered": string;
|
|
386
389
|
"--ctr-button-text-color-disabled": string;
|
|
387
390
|
"--ctr-button-background-color-danger": string;
|
|
391
|
+
"--ctr-button-background-color-danger-hovered": string;
|
|
388
392
|
"--ctr-button-border-color-focused": string;
|
|
389
393
|
"--ctr-button-border-width-focused": string;
|
|
390
394
|
"--ctr-button-background-color-cta": string;
|
|
391
395
|
"--ctr-button-background-color-cta-hovered": string;
|
|
396
|
+
"--ctr-button-text-color-danger": string;
|
|
392
397
|
"--ctr-button-text-color-cta": string;
|
|
393
398
|
"--ctr-collapse-button-icon-width": string;
|
|
394
399
|
"--ctr-collapse-button-icon-height": string;
|
|
@@ -467,6 +472,7 @@ declare const Theme: {
|
|
|
467
472
|
"--ctr-string-table-row-padding-bottom": string;
|
|
468
473
|
"--ctr-string-table-row-background-color": string;
|
|
469
474
|
"--ctr-string-table-row-border-color": string;
|
|
475
|
+
"--ctr-string-table-row-border-width-bottom": string;
|
|
470
476
|
"--ctr-string-table-row-text-color-title": string;
|
|
471
477
|
"--ctr-string-table-row-expand-button-icon-color-default": string;
|
|
472
478
|
"--ctr-string-table-header-background-color": string;
|
|
@@ -519,6 +525,17 @@ declare const Theme: {
|
|
|
519
525
|
"--ctr-data-table-row-padding-top-header": string;
|
|
520
526
|
"--ctr-data-table-row-padding-bottom-header": string;
|
|
521
527
|
"--ctr-data-table-row-background-color-drop-spot": string;
|
|
528
|
+
"--ctr-string-table-row-text-color": string;
|
|
529
|
+
"--ctr-string-table-title-background-color": string;
|
|
530
|
+
"--ctr-string-table-title-border-color": string;
|
|
531
|
+
"--ctr-string-table-title-border-width-bottom": string;
|
|
532
|
+
"--ctr-string-table-title-padding-left": string;
|
|
533
|
+
"--ctr-string-table-title-padding-right": string;
|
|
534
|
+
"--ctr-string-table-title-padding-top": string;
|
|
535
|
+
"--ctr-string-table-title-padding-bottom": string;
|
|
536
|
+
"--ctr-string-table-corner-radius": string;
|
|
537
|
+
"--ctr-string-table-title-actionbar-gap": string;
|
|
538
|
+
"--ctr-string-table-title-caption-color": string;
|
|
522
539
|
"--ctr-error-message-background-color": string;
|
|
523
540
|
"--ctr-error-message-corner-radius": string;
|
|
524
541
|
"--ctr-error-message-gap": string;
|
|
@@ -615,11 +632,11 @@ declare const Theme: {
|
|
|
615
632
|
"--ctr-surface-placeholder-text-title-color": string;
|
|
616
633
|
"--ctr-surface-placeholder-text-description-color": string;
|
|
617
634
|
"--ctr-survey-page-placeholder-text-color": string;
|
|
635
|
+
"--ctr-data-table-placeholder-padding-left": string;
|
|
636
|
+
"--ctr-data-table-placeholder-padding-right": string;
|
|
637
|
+
"--ctr-data-table-placeholder-padding-top": string;
|
|
638
|
+
"--ctr-data-table-placeholder-padding-bottom": string;
|
|
618
639
|
"--ctr-survey-placeholder-gap": string;
|
|
619
|
-
"--ctr-survey-placeholder-padding-left": string;
|
|
620
|
-
"--ctr-survey-placeholder-padding-right": string;
|
|
621
|
-
"--ctr-survey-placeholder-padding-top-with-button": string;
|
|
622
|
-
"--ctr-survey-placeholder-padding-bottom-with-button": string;
|
|
623
640
|
"--ctr-survey-placeholder-text-color": string;
|
|
624
641
|
"--ctr-survey-placeholder-border-color": string;
|
|
625
642
|
"--ctr-survey-drop-indicator-color": string;
|
|
@@ -763,6 +780,8 @@ declare const Theme: {
|
|
|
763
780
|
"--ctr-survey-header-text-title-color-placeholder": string;
|
|
764
781
|
"--ctr-survey-header-text-description-color-placeholder": string;
|
|
765
782
|
"--ctr-survey-header-text-margin-left-mobile-logo-placeholder": string;
|
|
783
|
+
"--ctr-survey-radio-button-group-show-more-button-margin-left": string;
|
|
784
|
+
"--ctr-survey-radio-button-group-show-more-button-margin-top": string;
|
|
766
785
|
"--lbr-question-panel-corner-radius": string;
|
|
767
786
|
"--ctr-survey-question-panel-border-color-selected": string;
|
|
768
787
|
"--ctr-survey-question-panel-border-width-selected": string;
|
|
@@ -795,6 +814,11 @@ declare const Theme: {
|
|
|
795
814
|
"--lbr-question-panel-padding-top": string;
|
|
796
815
|
"--ctr-survey-question-panel-padding-bottom-selected": string;
|
|
797
816
|
"--lbr-page-header-padding-bottom": string;
|
|
817
|
+
"--ctr-string-table-shadow-offset-x": string;
|
|
818
|
+
"--ctr-string-table-shadow-offset-y": string;
|
|
819
|
+
"--ctr-string-table-shadow-blur": string;
|
|
820
|
+
"--ctr-string-table-shadow-spread": string;
|
|
821
|
+
"--ctr-string-table-shadow-color": string;
|
|
798
822
|
"--ctr-list-search-padding-left": string;
|
|
799
823
|
"--ctr-list-search-padding-right": string;
|
|
800
824
|
"--ctr-list-search-padding-top": string;
|
|
@@ -814,6 +838,11 @@ declare const Theme: {
|
|
|
814
838
|
"--ctr-surface-gap": string;
|
|
815
839
|
"--ctr-expression-item-padding-left-button": string;
|
|
816
840
|
"--ctr-expression-item-padding-right-button": string;
|
|
841
|
+
"--ctr-preview-device-background-color": string;
|
|
842
|
+
"--ctr-preview-device-border-color": string;
|
|
843
|
+
"--ctr-preview-device-border-width": string;
|
|
844
|
+
"--ctr-preview-device-shadow-2-color": string;
|
|
845
|
+
"--ctr-preview-device-corner-radius": string;
|
|
817
846
|
"--ctr-toolbox-shadow-floating-1-offset-x": string;
|
|
818
847
|
"--ctr-toolbox-shadow-floating-2-offset-x": string;
|
|
819
848
|
"--ctr-toolbox-shadow-floating-1-offset-y": string;
|
|
@@ -824,6 +853,7 @@ declare const Theme: {
|
|
|
824
853
|
"--ctr-toolbox-shadow-floating-2-spread": string;
|
|
825
854
|
"--ctr-toolbox-shadow-floating-2-color": string;
|
|
826
855
|
"--ctr-toolbox-shadow-floating-1-color": string;
|
|
856
|
+
"--ctr-string-table-background-color": string;
|
|
827
857
|
"--ctr-toolbox-item-padding-left-submenu": string;
|
|
828
858
|
"--ctr-toolbox-item-padding-top-submenu": string;
|
|
829
859
|
"--ctr-toolbox-item-padding-bottom-submenu": string;
|
|
@@ -901,6 +931,10 @@ declare const Theme: {
|
|
|
901
931
|
"--ctr-popup-shadow-3-spread": string;
|
|
902
932
|
"--ctr-popup-shadow-3-color": string;
|
|
903
933
|
"--lbr-shadow-inner-color": string;
|
|
934
|
+
"--ctr-code-viewer-text-margin-left-results-table": string;
|
|
935
|
+
"--ctr-code-viewer-text-margin-right-results-table": string;
|
|
936
|
+
"--ctr-code-viewer-text-margin-top-results-table": string;
|
|
937
|
+
"--ctr-code-viewer-text-margin-bottom-results-table": string;
|
|
904
938
|
"--ctr-toolbox-item-background-color-submenu": string;
|
|
905
939
|
"--ctr-toolbox-item-text-color-submenu": string;
|
|
906
940
|
"--ctr-toolbox-min-width": string;
|
|
@@ -1381,6 +1415,8 @@ export declare const Default: {
|
|
|
1381
1415
|
"--ctr-actionbar-button-padding-top-medium-text": string;
|
|
1382
1416
|
"--ctr-actionbar-button-padding-bottom-medium-text": string;
|
|
1383
1417
|
"--ctr-actionbar-button-text-color-disabled": string;
|
|
1418
|
+
"--ctr-actionbar-button-border-color-selected": string;
|
|
1419
|
+
"--ctr-actionbar-button-border-width-selected": string;
|
|
1384
1420
|
"--ctr-list-item-gap": string;
|
|
1385
1421
|
"--ctr-list-item-padding-left": string;
|
|
1386
1422
|
"--ctr-list-item-padding-right": string;
|
|
@@ -1446,6 +1482,7 @@ export declare const Default: {
|
|
|
1446
1482
|
"--ctr-toolbox-item-padding-right": string;
|
|
1447
1483
|
"--ctr-toolbox-item-padding-top": string;
|
|
1448
1484
|
"--ctr-toolbox-item-padding-bottom": string;
|
|
1485
|
+
"--ctr-toolbox-item-gap": string;
|
|
1449
1486
|
"--ctr-toolbox-item-corner-radius": string;
|
|
1450
1487
|
"--ctr-toolbox-item-padding-right-no-text": string;
|
|
1451
1488
|
"--ctr-toolbox-item-border-color-floating": string;
|
|
@@ -1482,10 +1519,12 @@ export declare const Default: {
|
|
|
1482
1519
|
"--ctr-button-background-color-hovered": string;
|
|
1483
1520
|
"--ctr-button-text-color-disabled": string;
|
|
1484
1521
|
"--ctr-button-background-color-danger": string;
|
|
1522
|
+
"--ctr-button-background-color-danger-hovered": string;
|
|
1485
1523
|
"--ctr-button-border-color-focused": string;
|
|
1486
1524
|
"--ctr-button-border-width-focused": string;
|
|
1487
1525
|
"--ctr-button-background-color-cta": string;
|
|
1488
1526
|
"--ctr-button-background-color-cta-hovered": string;
|
|
1527
|
+
"--ctr-button-text-color-danger": string;
|
|
1489
1528
|
"--ctr-button-text-color-cta": string;
|
|
1490
1529
|
"--ctr-collapse-button-icon-width": string;
|
|
1491
1530
|
"--ctr-collapse-button-icon-height": string;
|
|
@@ -1564,6 +1603,7 @@ export declare const Default: {
|
|
|
1564
1603
|
"--ctr-string-table-row-padding-bottom": string;
|
|
1565
1604
|
"--ctr-string-table-row-background-color": string;
|
|
1566
1605
|
"--ctr-string-table-row-border-color": string;
|
|
1606
|
+
"--ctr-string-table-row-border-width-bottom": string;
|
|
1567
1607
|
"--ctr-string-table-row-text-color-title": string;
|
|
1568
1608
|
"--ctr-string-table-row-expand-button-icon-color-default": string;
|
|
1569
1609
|
"--ctr-string-table-header-background-color": string;
|
|
@@ -1616,6 +1656,17 @@ export declare const Default: {
|
|
|
1616
1656
|
"--ctr-data-table-row-padding-top-header": string;
|
|
1617
1657
|
"--ctr-data-table-row-padding-bottom-header": string;
|
|
1618
1658
|
"--ctr-data-table-row-background-color-drop-spot": string;
|
|
1659
|
+
"--ctr-string-table-row-text-color": string;
|
|
1660
|
+
"--ctr-string-table-title-background-color": string;
|
|
1661
|
+
"--ctr-string-table-title-border-color": string;
|
|
1662
|
+
"--ctr-string-table-title-border-width-bottom": string;
|
|
1663
|
+
"--ctr-string-table-title-padding-left": string;
|
|
1664
|
+
"--ctr-string-table-title-padding-right": string;
|
|
1665
|
+
"--ctr-string-table-title-padding-top": string;
|
|
1666
|
+
"--ctr-string-table-title-padding-bottom": string;
|
|
1667
|
+
"--ctr-string-table-corner-radius": string;
|
|
1668
|
+
"--ctr-string-table-title-actionbar-gap": string;
|
|
1669
|
+
"--ctr-string-table-title-caption-color": string;
|
|
1619
1670
|
"--ctr-error-message-background-color": string;
|
|
1620
1671
|
"--ctr-error-message-corner-radius": string;
|
|
1621
1672
|
"--ctr-error-message-gap": string;
|
|
@@ -1712,11 +1763,11 @@ export declare const Default: {
|
|
|
1712
1763
|
"--ctr-surface-placeholder-text-title-color": string;
|
|
1713
1764
|
"--ctr-surface-placeholder-text-description-color": string;
|
|
1714
1765
|
"--ctr-survey-page-placeholder-text-color": string;
|
|
1766
|
+
"--ctr-data-table-placeholder-padding-left": string;
|
|
1767
|
+
"--ctr-data-table-placeholder-padding-right": string;
|
|
1768
|
+
"--ctr-data-table-placeholder-padding-top": string;
|
|
1769
|
+
"--ctr-data-table-placeholder-padding-bottom": string;
|
|
1715
1770
|
"--ctr-survey-placeholder-gap": string;
|
|
1716
|
-
"--ctr-survey-placeholder-padding-left": string;
|
|
1717
|
-
"--ctr-survey-placeholder-padding-right": string;
|
|
1718
|
-
"--ctr-survey-placeholder-padding-top-with-button": string;
|
|
1719
|
-
"--ctr-survey-placeholder-padding-bottom-with-button": string;
|
|
1720
1771
|
"--ctr-survey-placeholder-text-color": string;
|
|
1721
1772
|
"--ctr-survey-placeholder-border-color": string;
|
|
1722
1773
|
"--ctr-survey-drop-indicator-color": string;
|
|
@@ -1860,6 +1911,8 @@ export declare const Default: {
|
|
|
1860
1911
|
"--ctr-survey-header-text-title-color-placeholder": string;
|
|
1861
1912
|
"--ctr-survey-header-text-description-color-placeholder": string;
|
|
1862
1913
|
"--ctr-survey-header-text-margin-left-mobile-logo-placeholder": string;
|
|
1914
|
+
"--ctr-survey-radio-button-group-show-more-button-margin-left": string;
|
|
1915
|
+
"--ctr-survey-radio-button-group-show-more-button-margin-top": string;
|
|
1863
1916
|
"--lbr-question-panel-corner-radius": string;
|
|
1864
1917
|
"--ctr-survey-question-panel-border-color-selected": string;
|
|
1865
1918
|
"--ctr-survey-question-panel-border-width-selected": string;
|
|
@@ -1892,6 +1945,11 @@ export declare const Default: {
|
|
|
1892
1945
|
"--lbr-question-panel-padding-top": string;
|
|
1893
1946
|
"--ctr-survey-question-panel-padding-bottom-selected": string;
|
|
1894
1947
|
"--lbr-page-header-padding-bottom": string;
|
|
1948
|
+
"--ctr-string-table-shadow-offset-x": string;
|
|
1949
|
+
"--ctr-string-table-shadow-offset-y": string;
|
|
1950
|
+
"--ctr-string-table-shadow-blur": string;
|
|
1951
|
+
"--ctr-string-table-shadow-spread": string;
|
|
1952
|
+
"--ctr-string-table-shadow-color": string;
|
|
1895
1953
|
"--ctr-list-search-padding-left": string;
|
|
1896
1954
|
"--ctr-list-search-padding-right": string;
|
|
1897
1955
|
"--ctr-list-search-padding-top": string;
|
|
@@ -1911,6 +1969,11 @@ export declare const Default: {
|
|
|
1911
1969
|
"--ctr-surface-gap": string;
|
|
1912
1970
|
"--ctr-expression-item-padding-left-button": string;
|
|
1913
1971
|
"--ctr-expression-item-padding-right-button": string;
|
|
1972
|
+
"--ctr-preview-device-background-color": string;
|
|
1973
|
+
"--ctr-preview-device-border-color": string;
|
|
1974
|
+
"--ctr-preview-device-border-width": string;
|
|
1975
|
+
"--ctr-preview-device-shadow-2-color": string;
|
|
1976
|
+
"--ctr-preview-device-corner-radius": string;
|
|
1914
1977
|
"--ctr-toolbox-shadow-floating-1-offset-x": string;
|
|
1915
1978
|
"--ctr-toolbox-shadow-floating-2-offset-x": string;
|
|
1916
1979
|
"--ctr-toolbox-shadow-floating-1-offset-y": string;
|
|
@@ -1921,6 +1984,7 @@ export declare const Default: {
|
|
|
1921
1984
|
"--ctr-toolbox-shadow-floating-2-spread": string;
|
|
1922
1985
|
"--ctr-toolbox-shadow-floating-2-color": string;
|
|
1923
1986
|
"--ctr-toolbox-shadow-floating-1-color": string;
|
|
1987
|
+
"--ctr-string-table-background-color": string;
|
|
1924
1988
|
"--ctr-toolbox-item-padding-left-submenu": string;
|
|
1925
1989
|
"--ctr-toolbox-item-padding-top-submenu": string;
|
|
1926
1990
|
"--ctr-toolbox-item-padding-bottom-submenu": string;
|
|
@@ -1998,6 +2062,10 @@ export declare const Default: {
|
|
|
1998
2062
|
"--ctr-popup-shadow-3-spread": string;
|
|
1999
2063
|
"--ctr-popup-shadow-3-color": string;
|
|
2000
2064
|
"--lbr-shadow-inner-color": string;
|
|
2065
|
+
"--ctr-code-viewer-text-margin-left-results-table": string;
|
|
2066
|
+
"--ctr-code-viewer-text-margin-right-results-table": string;
|
|
2067
|
+
"--ctr-code-viewer-text-margin-top-results-table": string;
|
|
2068
|
+
"--ctr-code-viewer-text-margin-bottom-results-table": string;
|
|
2001
2069
|
"--ctr-toolbox-item-background-color-submenu": string;
|
|
2002
2070
|
"--ctr-toolbox-item-text-color-submenu": string;
|
|
2003
2071
|
"--ctr-toolbox-min-width": string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare class ColorCalculator {
|
|
2
|
+
colorSettings: {
|
|
3
|
+
baseColorAlpha: number;
|
|
4
|
+
darkColorAlpha: number;
|
|
5
|
+
lightColorAlpha: number;
|
|
6
|
+
deltaDarkColor: number;
|
|
7
|
+
deltaLightColor: number;
|
|
8
|
+
newColorLight: string;
|
|
9
|
+
newColorDark: string;
|
|
10
|
+
};
|
|
11
|
+
initialize(baseColor: string, lightColor: string, darkColor: string): void;
|
|
12
|
+
calculateColors(newColor: string): void;
|
|
13
|
+
}
|
|
14
|
+
export declare function ingectAlpha(baseColor: any, alpha: number): any;
|
|
15
|
+
export declare function convertRgbaToString(rgbValues: Array<number>, alpha: number): string;
|
|
16
|
+
export declare function parseRgbaFromString(value?: string): Array<number>;
|
|
17
|
+
export declare function parseColor(value?: string): {
|
|
18
|
+
color: string;
|
|
19
|
+
opacity: number;
|
|
20
|
+
};
|
|
21
|
+
export declare function HEXToRGB(baseColor: any): any;
|
|
22
|
+
export declare function HSBToRGB(h: any, s: any, b: any): number[];
|
|
23
|
+
export declare function RGBToHSB(r: any, g: any, b: any): number[];
|
|
24
|
+
export declare function colorsAreEqual(color1: string, color2: string): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ItemValue, Question, SurveyElement } from "survey-core";
|
|
2
|
+
export declare function getNextItemValue(prefix: string, choices: ItemValue[]): string | number;
|
|
3
|
+
export declare function getNextItemText(choices: ItemValue[]): string;
|
|
4
|
+
export declare function getNextValue(prefix: string, values: any[]): string | number;
|
|
5
|
+
export declare function propertyExists(obj: any, propertyName: string): boolean;
|
|
6
|
+
export declare function isPropertyVisible(obj: any, propertyName: string): boolean;
|
|
7
|
+
export declare function getQuestionFromObj(obj: SurveyElement): Question;
|
|
8
|
+
export declare function scrollElementIntoView(elementId: string): void;
|
|
9
|
+
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
10
|
+
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function getFirstNonTextElement(elements: any): any;
|
|
2
|
+
export declare function findParentNode(className: string, sourceNode: HTMLElement): HTMLElement;
|
|
3
|
+
export declare function getNodesFromKoComponentInfo(componentInfo: any): any;
|
|
4
|
+
export declare function toggleHovered(e: MouseEvent, element: HTMLElement, timeout?: number): void;
|
|
5
|
+
export declare function select(element: any): void;
|
|
6
|
+
export declare function saveToFileHandler(fileName: string, blob: Blob): void;
|
|
7
|
+
export declare function focusFirstControl(renderedElements: HTMLElement[]): void;
|
package/typings/utils/utils.d.ts
CHANGED
|
@@ -1,53 +1,12 @@
|
|
|
1
|
-
import { ItemValue, Question, SurveyElement } from "survey-core";
|
|
2
1
|
export declare function roundTo2Decimals(number: number): number;
|
|
3
|
-
export declare function getNextItemValue(prefix: string, choices: ItemValue[]): string | number;
|
|
4
|
-
export declare function getNextItemText(choices: ItemValue[]): string;
|
|
5
|
-
export declare function getNextValue(prefix: string, values: any[]): string | number;
|
|
6
|
-
export declare function findParentNode(className: string, sourceNode: HTMLElement): HTMLElement;
|
|
7
|
-
export declare function focusFirstControl(renderedElements: HTMLElement[]): void;
|
|
8
|
-
export declare function getFirstNonTextElement(elements: any): any;
|
|
9
|
-
export declare function getNodesFromKoComponentInfo(componentInfo: any): any;
|
|
10
|
-
export declare function propertyExists(obj: any, propertyName: string): boolean;
|
|
11
|
-
export declare function isPropertyVisible(obj: any, propertyName: string): boolean;
|
|
12
|
-
export declare function toggleHovered(e: MouseEvent, element: HTMLElement, timeout?: number): void;
|
|
13
2
|
export declare function clearNewLines(text: string): string;
|
|
14
|
-
export declare function select(element: any): void;
|
|
15
3
|
export declare function copyObject(dst: any, src: any): void;
|
|
16
4
|
export declare function copyCssClasses(dest: any, source: any): void;
|
|
17
|
-
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
18
|
-
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
19
5
|
export declare function capitalize(str: string): string;
|
|
20
6
|
export declare function notShortCircuitAnd(...args: Array<boolean>): boolean;
|
|
21
7
|
export declare const imageMimeTypes = "image/png, image/gif, image/jpeg, image/apng, image/avif, image/svg+xml, image/webp";
|
|
22
8
|
export declare function getAcceptedTypesByContentMode(contentMode: string): "" | "image/png, image/gif, image/jpeg, image/apng, image/avif, image/svg+xml, image/webp" | "video/*";
|
|
23
|
-
export declare function getQuestionFromObj(obj: SurveyElement): Question;
|
|
24
|
-
export declare function scrollElementIntoView(elementId: string): void;
|
|
25
|
-
export declare function ingectAlpha(baseColor: any, alpha: number): any;
|
|
26
|
-
export declare function convertRgbaToString(rgbValues: Array<number>, alpha: number): string;
|
|
27
|
-
export declare function parseRgbaFromString(value?: string): Array<number>;
|
|
28
|
-
export declare function parseColor(value?: string): {
|
|
29
|
-
color: string;
|
|
30
|
-
opacity: number;
|
|
31
|
-
};
|
|
32
|
-
export declare function HEXToRGB(baseColor: any): any;
|
|
33
|
-
export declare function HSBToRGB(h: any, s: any, b: any): number[];
|
|
34
|
-
export declare function RGBToHSB(r: any, g: any, b: any): number[];
|
|
35
9
|
export declare function trimEmptyFields(object: {
|
|
36
10
|
[index: string]: string;
|
|
37
11
|
}): void;
|
|
38
12
|
export declare function assign(...inputs: Array<any>): void;
|
|
39
|
-
export declare class ColorCalculator {
|
|
40
|
-
colorSettings: {
|
|
41
|
-
baseColorAlpha: number;
|
|
42
|
-
darkColorAlpha: number;
|
|
43
|
-
lightColorAlpha: number;
|
|
44
|
-
deltaDarkColor: number;
|
|
45
|
-
deltaLightColor: number;
|
|
46
|
-
newColorLight: string;
|
|
47
|
-
newColorDark: string;
|
|
48
|
-
};
|
|
49
|
-
initialize(baseColor: string, lightColor: string, darkColor: string): void;
|
|
50
|
-
calculateColors(newColor: string): void;
|
|
51
|
-
}
|
|
52
|
-
export declare function saveToFileHandler(fileName: string, blob: Blob): void;
|
|
53
|
-
export declare function colorsAreEqual(color1: string, color2: string): boolean;
|