@cloud-app-dev/vidc 3.2.38 → 4.0.0

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 (121) hide show
  1. package/.dumirc.ts +7 -11
  2. package/.fatherrc.ts +0 -1
  3. package/es/CheckGroupFixed/demo.js +2 -3
  4. package/es/CheckGroupFixed/index.js +4 -7
  5. package/es/Config/index.js +10 -9
  6. package/es/Config/interface.d.ts +2 -3
  7. package/es/CustomRenderSelect/index.js +2 -3
  8. package/es/DynamicList/demo.js +3 -4
  9. package/es/DynamicList/index.js +2 -3
  10. package/es/ErrorFallback/index.js +3 -6
  11. package/es/FrontendPlayer/index.d.ts +4 -2
  12. package/es/List/index.d.ts +0 -13
  13. package/es/List/index.js +1 -19
  14. package/es/LoaderScript/utils.d.ts +0 -1
  15. package/es/LoaderScript/utils.js +1 -36
  16. package/es/Map/FindPio/index.js +2 -3
  17. package/es/Map/LevelCenter/demo.js +2 -4
  18. package/es/Map/ResetTools/index.js +4 -5
  19. package/es/Picture/component/Tools/index.js +6 -7
  20. package/es/Picture/demo.js +9 -13
  21. package/es/Picture/index.js +55 -64
  22. package/es/Picture/utils.js +0 -1
  23. package/es/Player/api/index.js +2 -1
  24. package/es/Player/contraller_bar/volume.js +3 -6
  25. package/es/Player/demo.js +28 -58
  26. package/es/Player/frontend_timeline.js +1 -1
  27. package/es/Player/segment_timeline.js +3 -5
  28. package/es/Player/single_player.js +1 -1
  29. package/es/Player/util.d.ts +0 -1
  30. package/es/Player/util.js +2 -40
  31. package/es/PlayerExt/demo.js +12 -20
  32. package/es/Progress/index.js +4 -6
  33. package/es/RefDrawer/Footer.d.ts +9 -0
  34. package/es/{Drawer → RefDrawer}/Footer.js +3 -5
  35. package/es/{Drawer/Demo.d.ts → RefDrawer/demo.d.ts} +0 -0
  36. package/es/RefDrawer/demo.js +35 -0
  37. package/es/RefDrawer/index.d.ts +26 -0
  38. package/es/{Input → RefDrawer}/index.js +54 -58
  39. package/es/{Input → RefModal}/demo.d.ts +0 -0
  40. package/es/RefModal/demo.js +35 -0
  41. package/es/RefModal/index.d.ts +17 -0
  42. package/es/RefModal/index.js +71 -0
  43. package/es/ScreenPlayer/PlayerWithExt.js +1 -1
  44. package/es/ScreenPlayer/RatePick.js +8 -9
  45. package/es/ScreenPlayer/ScreenSelect.js +2 -3
  46. package/es/ScreenPlayer/SegmentTimeLine.js +3 -11
  47. package/es/ScreenPlayer/TimeMode.js +3 -4
  48. package/es/ScreenPlayer/TimeSelect.js +14 -39
  49. package/es/ScreenPlayer/demo.js +2 -3
  50. package/es/ScreenPlayer/demo2.js +8 -28
  51. package/es/ScreenPlayer/useTimeSlider.js +1 -1
  52. package/es/Service/http.js +6 -8
  53. package/es/TableLayout/index.d.ts +0 -3
  54. package/es/TableLayout/index.js +8 -10
  55. package/es/ThemeAntd/demo.js +21 -40
  56. package/es/ThemeAntd/index.js +16 -2
  57. package/es/ThemeAntd/index.less +0 -12
  58. package/es/Timeout/index.js +2 -2
  59. package/es/core.d.ts +0 -149
  60. package/es/index.d.ts +2 -6
  61. package/es/index.js +2 -6
  62. package/es/useDrawROI/index.js +4 -4
  63. package/es/utils.d.ts +1 -12
  64. package/es/utils.js +0 -56
  65. package/package.json +24 -24
  66. package/theme-config.ts +3 -1
  67. package/typings/global.d.ts +4 -4
  68. package/es/Api/index.d.ts +0 -12
  69. package/es/Api/index.js +0 -267
  70. package/es/Box/BetweenBox/index.d.ts +0 -12
  71. package/es/Box/BetweenBox/index.js +0 -31
  72. package/es/Box/BetweenBox/index.less +0 -5
  73. package/es/Box/InfoBox/index.d.ts +0 -12
  74. package/es/Box/InfoBox/index.js +0 -30
  75. package/es/Box/InfoBox/index.less +0 -24
  76. package/es/Box/TwoColumnBox/index.d.ts +0 -10
  77. package/es/Box/TwoColumnBox/index.js +0 -54
  78. package/es/Box/TwoColumnBox/index.less +0 -80
  79. package/es/Box/deps/content-grid.d.ts +0 -9
  80. package/es/Box/deps/content-grid.js +0 -9
  81. package/es/Box/deps/grid-factory.d.ts +0 -10
  82. package/es/Box/deps/grid-factory.js +0 -72
  83. package/es/Box/deps/simple-grid.d.ts +0 -9
  84. package/es/Box/deps/simple-grid.js +0 -8
  85. package/es/Box/index.d.ts +0 -14
  86. package/es/Box/index.js +0 -39
  87. package/es/Box/index.less +0 -10
  88. package/es/Drawer/Demo.js +0 -109
  89. package/es/Drawer/Footer.d.ts +0 -5
  90. package/es/Drawer/index.d.ts +0 -38
  91. package/es/Drawer/index.js +0 -207
  92. package/es/Drawer/index.less +0 -42
  93. package/es/Drawer/interface.d.ts +0 -22
  94. package/es/Input/demo.js +0 -16
  95. package/es/Input/index.d.ts +0 -19
  96. package/es/Input/index.less +0 -12
  97. package/es/Modal/demo.d.ts +0 -3
  98. package/es/Modal/demo.js +0 -106
  99. package/es/Modal/index.d.ts +0 -44
  100. package/es/Modal/index.js +0 -197
  101. package/es/Modal/index.less +0 -44
  102. package/es/Modal/interface.d.ts +0 -23
  103. package/es/Service/fetch-adapter.d.ts +0 -12
  104. package/es/Service/fetch-adapter.js +0 -203
  105. package/es/ThemeAntd/style/button.less +0 -67
  106. package/es/ThemeAntd/style/checkbox.less +0 -72
  107. package/es/ThemeAntd/style/form.less +0 -12
  108. package/es/ThemeAntd/style/input.less +0 -83
  109. package/es/ThemeAntd/style/pagination.less +0 -96
  110. package/es/ThemeAntd/style/picker.less +0 -106
  111. package/es/ThemeAntd/style/popover.less +0 -5
  112. package/es/ThemeAntd/style/radio.less +0 -87
  113. package/es/ThemeAntd/style/scrollbar.less +0 -23
  114. package/es/ThemeAntd/style/select.less +0 -81
  115. package/es/ThemeAntd/style/table.less +0 -57
  116. package/es/ThemeAntd/style/tree.less +0 -18
  117. package/es/Tree/demo.d.ts +0 -3
  118. package/es/Tree/demo.js +0 -32
  119. package/es/Tree/index.d.ts +0 -24
  120. package/es/Tree/index.js +0 -100
  121. package/es/Tree/index.less +0 -60
@@ -1,72 +0,0 @@
1
- div {
2
- .@{ant-prefix}-checkbox {
3
- color: inherit;
4
- }
5
- .@{ant-prefix}-checkbox-checked .@{ant-prefix}-checkbox-inner {
6
- border-color: var(--form-active-bg);
7
- background-color: var(--form-active-bg);
8
- }
9
- .@{ant-prefix}-checkbox-inner {
10
- background-color: var(--form-bg);
11
- border-radius: var(--radius1);
12
- border-color: var(--form-bd);
13
- }
14
- .@{ant-prefix}-checkbox-wrapper {
15
- color: inherit;
16
- }
17
- .@{ant-prefix}-checkbox-disabled + span {
18
- color: inherit;
19
- opacity: .8;
20
- }
21
- .@{ant-prefix}-checkbox-disabled.@{ant-prefix}-checkbox-checked .@{ant-prefix}-checkbox-inner::after {
22
- border-color: var(--form-bd);
23
- }
24
-
25
- .@{ant-prefix}-checkbox-wrapper:hover .@{ant-prefix}-checkbox-inner,
26
- .@{ant-prefix}-checkbox:hover .@{ant-prefix}-checkbox-inner,
27
- .@{ant-prefix}-checkbox-input:focus + .@{ant-prefix}-checkbox-inner {
28
- border-color: var(--form-active-bg);
29
- }
30
-
31
- .@{ant-prefix}-checkbox-indeterminate .@{ant-prefix}-checkbox-inner::after {
32
- background-color: var(--form-active-bg);
33
- }
34
-
35
- .@{ant-prefix}-checkbox-disabled .@{ant-prefix}-checkbox-inner {
36
- background-color: var(--form-bg);
37
- opacity: .8;
38
- }
39
- .@{ant-prefix}-checkbox-indeterminate .@{ant-prefix}-checkbox-inner {
40
- background-color: #fff;
41
- border-color: var(--form-bd) !important;
42
- }
43
-
44
- //Tree
45
- .@{ant-prefix}-tree-checkbox-inner {
46
- border-color: var(--form-bd);
47
- border-radius: var(--radius1);
48
- }
49
- .@{ant-prefix}-tree-checkbox-wrapper:hover .@{ant-prefix}-tree-checkbox-inner,
50
- .@{ant-prefix}-tree-checkbox:hover .@{ant-prefix}-tree-checkbox-inner,
51
- .@{ant-prefix}-tree-checkbox-input:focus + .@{ant-prefix}-tree-checkbox-inner {
52
- border-color: var(--form-active-bg);
53
- }
54
- .@{ant-prefix}-tree-checkbox-checked .@{ant-prefix}-tree-checkbox-inner {
55
- border-color: var(--form-active-bg);
56
- background-color: var(--form-active-bg);
57
- }
58
- .@{ant-prefix}-tree-checkbox-disabled .@{ant-prefix}-tree-checkbox-inner {
59
- background-color: var(--form-bg);
60
- border-color: var(--form-bd);
61
- }
62
-
63
- .@{ant-prefix}-tree-checkbox-indeterminate .@{ant-prefix}-tree-checkbox-inner::after {
64
- background-color: var(--form-active-bg);
65
- }
66
- .@{ant-prefix}-checkbox-checked::after {
67
- border-color: var(--form-active-bg);
68
- }
69
- .@{ant-prefix}-checkbox-group {
70
- color: inherit;
71
- }
72
- }
@@ -1,12 +0,0 @@
1
- div {
2
- .@{ant-prefix}-form {
3
- color: inherit;
4
- }
5
- .@{ant-prefix}-form-item-label > label {
6
- color: inherit;
7
- }
8
- .@{ant-prefix}-form-item {
9
- font-size: var(--fs);
10
- color: inherit;
11
- }
12
- }
@@ -1,83 +0,0 @@
1
- div {
2
- .@{ant-prefix}-input {
3
- color: inherit;
4
- background-color: var(--form-bg);
5
- border-radius: var(--radius1);
6
- border-color: var(--form-bd);
7
- }
8
-
9
- .@{ant-prefix}-input-affix-wrapper:not(.@{ant-prefix}-input-affix-wrapper-disabled):hover {
10
- border-color: var(--form-active-bg);
11
- }
12
-
13
- .@{ant-prefix}-input:hover {
14
- border-color: var(--form-active-bg);
15
- }
16
-
17
- .@{ant-prefix}-input:focus,
18
- .@{ant-prefix}-input-focused {
19
- border-color: var(--form-active-bg);
20
- box-shadow: unset;
21
- }
22
-
23
- .@{ant-prefix}-input-affix-wrapper {
24
- color: inherit;
25
- background-color: var(--form-bg);
26
- border-radius: var(--radius1);
27
- border-color: var(--form-bd);
28
- }
29
-
30
- .@{ant-prefix}-input-affix-wrapper:hover {
31
- border-color: var(--form-active-bg);
32
- }
33
-
34
- .@{ant-prefix}-input-affix-wrapper:focus,
35
- .@{ant-prefix}-input-affix-wrapper-focused {
36
- border-color: var(--form-active-bg);
37
- box-shadow: unset;
38
- }
39
-
40
- .@{ant-prefix}-input[disabled] {
41
- color: inherit;
42
- background-color: var(--form-bd);
43
- opacity: .7;
44
- border-color: var(--form-bd);
45
- }
46
-
47
- .@{ant-prefix}-input-number {
48
- color: inherit;
49
- background-color: var(--form-bg);
50
- border-radius: var(--radius1);
51
- border-color: var(--form-bd);
52
- }
53
-
54
- .@{ant-prefix}-input-number:hover {
55
- border-color: var(--form-active-bg);
56
- }
57
-
58
- .@{ant-prefix}-input-number:focus,
59
- .@{ant-prefix}-input-number-focused {
60
- border-color: var(--form-active-bg);
61
- box-shadow: unset;
62
- }
63
-
64
- .@{ant-prefix}-input-number-handler-wrap {
65
- color: inherit;
66
- background-color: var(--form-bg);
67
- border-radius: 0 var(--radius1) var(--redius1) 0;
68
- }
69
-
70
- .@{ant-prefix}-input-number-handler {
71
- color: inherit;
72
- border-top-color: var(--form-bd);
73
- }
74
-
75
- .@{ant-prefix}-input-number-handler-up-inner,
76
- .@{ant-prefix}-input-number-handler-down-inner {
77
- color: inherit;
78
- }
79
- .@{ant-prefix}-input-status-error:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input,
80
- .@{ant-prefix}-input-status-error:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input:hover {
81
- background-color: var(--form-bg);
82
- }
83
- }
@@ -1,96 +0,0 @@
1
- div {
2
- .@{ant-prefix}-pagination {
3
- color: inherit;
4
- }
5
-
6
- .@{ant-prefix}-pagination-prev,
7
- .@{ant-prefix}-pagination-next,
8
- .@{ant-prefix}-pagination-jump-prev,
9
- .@{ant-prefix}-pagination-jump-next {
10
- line-height: 28px;
11
- border-radius: var(--radius1);
12
- }
13
-
14
- .@{ant-prefix}-pagination-prev .@{ant-prefix}-pagination-item-link,
15
- .@{ant-prefix}-pagination-next .@{ant-prefix}-pagination-item-link {
16
- background-color: var(--form-bg);
17
- border-radius: var(--radius1);
18
- border-color: var(--form-bd);
19
- }
20
-
21
- .@{ant-prefix}-pagination-jump-prev .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon,
22
- .@{ant-prefix}-pagination-jump-next .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon {
23
- color: var(--form-active-bg);
24
- }
25
-
26
- .@{ant-prefix}-pagination-item {
27
- background-color: var(--form-bg);
28
- border-radius: var(--radius1);
29
- border-color: var(--form-bd);
30
- }
31
-
32
- .@{ant-prefix}-pagination-item a {
33
- color: inherit;
34
- }
35
-
36
- .@{ant-prefix}-pagination-item-active {
37
- border-color: var(--form-active-bg);
38
- color: var(--form-active-bg);
39
- }
40
-
41
- .@{ant-prefix}-pagination-item:focus,
42
- .@{ant-prefix}-pagination-item:hover {
43
- border-color: var(--form-active-bg);
44
- }
45
-
46
- .@{ant-prefix}-pagination-item:focus a,
47
- .@{ant-prefix}-pagination-item:hover a {
48
- color: var(--form-active-bg);
49
- }
50
-
51
- .@{ant-prefix}-pagination-prev:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
52
- .@{ant-prefix}-pagination-next:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
53
- .@{ant-prefix}-pagination-prev:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
54
- .@{ant-prefix}-pagination-next:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link {
55
- color: #fff;
56
- background-color: var(--form-active-bg);
57
- border-color: var(--form-active-bg);
58
- }
59
-
60
- .@{ant-prefix}-pagination-disabled .@{ant-prefix}-pagination-item-link,
61
- .@{ant-prefix}-pagination-disabled:hover .@{ant-prefix}-pagination-item-link,
62
- .@{ant-prefix}-pagination-disabled:focus .@{ant-prefix}-pagination-item-link {
63
- border-color: var(--form-bd);
64
- }
65
- .@{ant-prefix}-pagination-prev button,
66
- .@{ant-prefix}-pagination-next button {
67
- color: inherit;
68
- }
69
- .@{ant-prefix}-pagination-prev,
70
- .@{ant-prefix}-pagination-next,
71
- .@{ant-prefix}-pagination-jump-prev,
72
- .@{ant-prefix}-pagination-jump-next {
73
- color: inherit;
74
- }
75
- .@{ant-prefix}-pagination-disabled .@{ant-prefix}-pagination-item-link,
76
- .@{ant-prefix}-pagination-disabled:hover .@{ant-prefix}-pagination-item-link {
77
- color: inherit;
78
- }
79
-
80
- .@{ant-prefix}-pagination-jump-prev .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-ellipsis,
81
- .@{ant-prefix}-pagination-jump-next .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-ellipsis {
82
- color: inherit;
83
- }
84
- .@{ant-prefix}-pagination-options-quick-jumper input {
85
- background-color: var(--form-bg);
86
- border-color: var(--form-bd);
87
- }
88
- .@{ant-prefix}-pagination-options-quick-jumper input:hover {
89
- border-color: var(--form-active-bg);
90
- }
91
- .@{ant-prefix}-pagination-options-quick-jumper input:focus,
92
- .@{ant-prefix}-pagination-options-quick-jumper input-focused {
93
- border-color: var(--form-active-bg);
94
- box-shadow: none;
95
- }
96
- }
@@ -1,106 +0,0 @@
1
- div {
2
- .@{ant-prefix}-picker {
3
- color: inherit;
4
- background-color: var(--form-bg);
5
- border-radius: var(--radius1);
6
- border-color: var(--form-bd);
7
- }
8
-
9
- .@{ant-prefix}-picker:hover,
10
- .@{ant-prefix}-picker-focused {
11
- border-color: var(--form-active-bg);
12
- }
13
- .@{ant-prefix}-picker-suffix {
14
- color: inherit;
15
- }
16
- .@{ant-prefix}-picker-panel {
17
- background-color: var(--form-bg);
18
- border-color: var(--form-bd);
19
- }
20
- .@{ant-prefix}-picker-panel .@{ant-prefix}-picker-footer {
21
- border-color: var(--form-bd);
22
- }
23
- .@{ant-prefix}-picker-header {
24
- border-bottom-color: var(--form-bd);
25
- color: inherit;
26
- }
27
- .@{ant-prefix}-picker-header button {
28
- color: inherit;
29
- }
30
- .@{ant-prefix}-picker-panel-container {
31
- background-color: var(--form-bg);
32
- border-radius: var(--radius1);
33
- }
34
- .@{ant-prefix}-picker-dropdown {
35
- color: inherit;
36
- border-radius: var(--radius1);
37
- }
38
-
39
- .@{ant-prefix}-picker-cell {
40
- color: inherit;
41
- opacity: .6;
42
- }
43
- .@{ant-prefix}-picker-cell-in-view {
44
- color: inherit;
45
- opacity: 1;
46
- }
47
- .@{ant-prefix}-picker-content th {
48
- color: inherit;
49
- }
50
- .@{ant-prefix}-picker-today-btn {
51
- color: var(--form-active-bg);
52
- }
53
-
54
- .@{ant-prefix}-picker-cell .@{ant-prefix}-picker-cell-inner {
55
- border-radius: var(--radius1);
56
- }
57
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-today .@{ant-prefix}-picker-cell-inner::before {
58
- border-radius: var(--radius1);
59
- border-color: var(--form-active-bg);
60
- }
61
- .@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-in-view) .@{ant-prefix}-picker-cell-inner,
62
- .@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-selected):not(.@{ant-prefix}-picker-cell-range-start):not(.@{ant-prefix}-picker-cell-range-end):not(.@{ant-prefix}-picker-cell-range-hover-start):not(.@{ant-prefix}-picker-cell-range-hover-end)
63
- .@{ant-prefix}-picker-cell-inner {
64
- background-color: var(--form-bg);
65
- }
66
- .@{ant-prefix}-picker-input > input {
67
- color: inherit;
68
- }
69
- .@{ant-prefix}-picker-range-arrow::after {
70
- border-color: var(--form-bd);
71
- }
72
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-selected .@{ant-prefix}-picker-cell-inner,
73
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-start .@{ant-prefix}-picker-cell-inner,
74
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-end .@{ant-prefix}-picker-cell-inner {
75
- background-color: var(--form-active-bg);
76
- }
77
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-start:not(.@{ant-prefix}-picker-cell-range-start-single)::before,
78
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-end:not(.@{ant-prefix}-picker-cell-range-end-single)::before {
79
- background-color: var(--form-active-bg);
80
- opacity: .8;
81
- }
82
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-in-range::before {
83
- background-color: var(--form-active-bg);
84
- opacity: .8;
85
- }
86
- .@{ant-prefix}-picker-focused .@{ant-prefix}-picker-separator {
87
- color: inherit;
88
- }
89
- .@{ant-prefix}-picker-separator {
90
- color: inherit;
91
- }
92
- .@{ant-prefix}-picker-range .@{ant-prefix}-picker-active-bar {
93
- background-color: var(--form-active-bg);
94
- }
95
-
96
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell .@{ant-prefix}-picker-time-panel-cell-inner {
97
- color: inherit;
98
- }
99
-
100
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell-selected .@{ant-prefix}-picker-time-panel-cell-inner {
101
- background-color: var(--form-active-bg);
102
- }
103
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell .@{ant-prefix}-picker-time-panel-cell-inner:hover {
104
- background-color: var(--form-active-bg);
105
- }
106
- }
@@ -1,5 +0,0 @@
1
- div {
2
- .@{ant-prefix}-popover-inner {
3
- border-radius: var(--radius1);
4
- }
5
- }
@@ -1,87 +0,0 @@
1
- div {
2
- .@{ant-prefix}-radio{
3
- color:inherit
4
- }
5
- .@{ant-prefix}-radio-group{
6
- color:inherit
7
- }
8
- .@{ant-prefix}-radio-button-wrapper {
9
- outline: unset;
10
- }
11
- .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled):hover {
12
- border-color: var(--form-active-bg);
13
- color: var(--form-active-bg);
14
- }
15
- .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled) {
16
- border-color: var(--form-active-bg);
17
- color: var(--form-active-bg);
18
- box-shadow: -1px 0 0 0 var(--form-active-bg);
19
- }
20
- .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled):first-child {
21
- border-color: var(--form-active-bg);
22
- }
23
- .@{ant-prefix}-radio-disabled .@{ant-prefix}-radio-inner::after {
24
- background-color: var(--form-bg);;
25
- }
26
- .@{ant-prefix}-radio-disabled .@{ant-prefix}-radio-inner {
27
- background-color: var(--form-bg);;
28
- opacity: .8;
29
- }
30
- .@{ant-prefix}-radio-button-wrapper:hover {
31
- color: var(--form-active-bg);
32
- }
33
-
34
- .@{ant-prefix}-radio-checked .@{ant-prefix}-radio-inner {
35
- border-color: var(--form-active-bg);
36
- }
37
- .@{ant-prefix}-radio-inner {
38
- background-color: var(--form-bg);;
39
- }
40
- .@{ant-prefix}-radio-inner::after {
41
- background-color: var(--form-active-bg);
42
- }
43
- .@{ant-prefix}-radio-checked::after {
44
- border-color: var(--form-active-bg);
45
- }
46
- .@{ant-prefix}-radio-wrapper {
47
- color: inherit;
48
- }
49
- .@{ant-prefix}-radio-disabled + span {
50
- color: inherit;
51
- opacity: .8;
52
- }
53
- .@{ant-prefix}-radio-wrapper:hover .@{ant-prefix}-radio,
54
- .@{ant-prefix}-radio:hover .@{ant-prefix}-radio-inner,
55
- .@{ant-prefix}-radio-input:focus + .@{ant-prefix}-radio-inner {
56
- border-color: var(--form-active-bg);
57
- }
58
- .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled)::before {
59
- background-color: var(--form-active-bg) !important;
60
- opacity: unset;
61
- }
62
- .@{ant-prefix}-radio-group-solid .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled) {
63
- background-color: var(--form-active-bg);
64
- border-color: var(--form-active-bg);
65
- }
66
- .@{ant-prefix}-radio-group-solid .@{ant-prefix}-radio-button-wrapper-checked:not(.@{ant-prefix}-radio-button-wrapper-disabled):hover {
67
- background-color: var(--form-active-bg-dark);
68
- border-color: var(--form-active-bg-dark);
69
- box-shadow: -1px 0 0 0 var(--form-active-bg);
70
- }
71
-
72
- .@{ant-prefix}-radio-button-wrapper-checked:not([class*=' cloudapp-radio-button-wrapper-disabled']).@{ant-prefix}-radio-button-wrapper:first-child {
73
- border-right-color: var(--form-active-bg);
74
- }
75
-
76
- .@{ant-prefix}-radio-button-wrapper:last-child {
77
- border-radius: 0 var(--form-redius) var(--form-redius) 0;
78
- }
79
-
80
- .@{ant-prefix}-radio-button-wrapper:first-child {
81
- border-radius: var(--form-redius) 0 0 var(--radius1);
82
- }
83
-
84
- .@{ant-prefix}-radio-input:focus + .@{ant-prefix}-radio-inner{
85
- box-shadow: unset;
86
- }
87
- }
@@ -1,23 +0,0 @@
1
- // 滚动条整体宽度
2
- ::-webkit-scrollbar {
3
- width: var(--scrollbar-width);
4
- height: var(--scrollbar-width);
5
- } // 滚动条滑槽样式
6
- ::-webkit-scrollbar-track {
7
- box-shadow: var(--scrollbar-track-shadow);
8
- border-radius: var(--scrollbar-width);
9
- }
10
- // 滚动条样式
11
- ::-webkit-scrollbar-thumb {
12
- background: var(--scrollbar-thumb-bg);
13
- border-radius: var(--scrollbar-width);
14
- box-shadow: var(--scrollbar-thumb-shadow);
15
- }
16
-
17
- ::-webkit-scrollbar-thumb:hover {
18
- background: var(--scrollbar-thumb-hover-bg);
19
- }
20
-
21
- ::-webkit-scrollbar-thumb:active {
22
- background: var(--scrollbar-thumb-bg);
23
- } // 浏览器失焦的样式
@@ -1,81 +0,0 @@
1
- div {
2
- .@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
3
- background-color: var(--form-bg);
4
- border-radius: var(--radius1);
5
- border-color: var(--form-bd);
6
- }
7
- .@{ant-prefix}-select-multiple .@{ant-prefix}-select-selector {
8
- background-color: var(--form-bg);
9
- border-radius: var(--radius1);
10
- border-color: var(--form-bd);
11
- }
12
- .@{ant-prefix}-select-multiple .@{ant-prefix}-select-selection-item {
13
- background-color: var(--form-bg);
14
- border-radius: var(--radius1);
15
- border-color: var(--form-bd);
16
- }
17
- .@{ant-prefix}-select:not(.@{ant-prefix}-select-disabled):hover .@{ant-prefix}-select-selector {
18
- border-color: var(--form-active-bg);
19
- }
20
- .@{ant-prefix}-select-focused.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector {
21
- border-color: var(--form-active-bg);
22
- }
23
- .@{ant-prefix}-select-focused.@{ant-prefix}-select-multiple .@{ant-prefix}-select-selector {
24
- border-color: var(--form-active-bg);
25
- }
26
- .@{ant-prefix}-select-multiple .@{ant-prefix}-select-selection-item-remove {
27
- color: inherit;
28
- }
29
- .@{ant-prefix}-select-multiple .@{ant-prefix}-select-selection-item-remove:hover {
30
- color: var(--form-active-bg);
31
- }
32
- .@{ant-prefix}-select {
33
- font-size: var(--fs);
34
- color: inherit;
35
- }
36
- .@{ant-prefix}-select-arrow {
37
- color: inherit;
38
- }
39
- .@{ant-prefix}-select-dropdown {
40
- color: inherit;
41
- background-color: var(--form-bg);
42
- }
43
- .@{ant-prefix}-select-item {
44
- color: inherit;
45
- }
46
- .@{ant-prefix}-select-item-option-active:not(.@{ant-prefix}-select-item-option-disabled) {
47
- background-color: var(--form-bg);
48
- }
49
- .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled) .@{ant-prefix}-select-item-option-state {
50
- color: var(--form-active-bg);
51
- }
52
- .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled) {
53
- color: var(--form-active-bg);
54
- background-color: transparent;
55
- }
56
- .@{ant-prefix}-select-focused:not(.@{ant-prefix}-select-disabled).@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input)
57
- .@{ant-prefix}-select-selector {
58
- border-color: var(--form-active-bg);
59
- box-shadow: unset;
60
- }
61
- .@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector{
62
- background-color: var(--form-bg);
63
- border-radius: var(--radius1);
64
- border-color: var(--form-bd);
65
- }
66
-
67
- .@{ant-prefix}-select-focused:not(.@{ant-prefix}-select-disabled).@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector{
68
- box-shadow: unset;
69
- border-color: var(--form-active-bg);
70
- }
71
-
72
- .@{ant-prefix}-select-disabled.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) .@{ant-prefix}-select-selector{
73
- color:inherit;
74
- border-color: var(--form-bd);
75
- background-color: var(--form-bg);
76
- opacity: .8;
77
- }
78
- .@{ant-prefix}-select-status-error.@{ant-prefix}-select:not(.@{ant-prefix}-select-disabled):not(.@{ant-prefix}-select-customize-input):not(.@{ant-prefix}-pagination-size-changer) .@{ant-prefix}-select-selector{
79
- background-color: var(--form-bg);
80
- }
81
- }
@@ -1,57 +0,0 @@
1
- div {
2
- .@{ant-prefix}-table {
3
- font-size: var(--fs);
4
- color: inherit;
5
- background-color: var(--table-bg);
6
- }
7
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row:hover > td {
8
- background: var(--table-row-hover-color);
9
- }
10
-
11
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row-selected > td {
12
- background: var(--table-row-hover-color);
13
- border-bottom-color: var(--table-bd);
14
- }
15
-
16
- .@{ant-prefix}-table-thead > tr > th:not(.@{ant-prefix}-table-cell-scrollbar) {
17
- color: inherit;
18
- background-color: var(--table-head-bg);
19
- border-bottom-color: var(--table-bd);
20
- }
21
-
22
- .@{ant-prefix}-table-thead > tr > th.@{ant-prefix}-table-cell-scrollbar {
23
- box-shadow: none;
24
- background-color: var(--table-head-bg);
25
- }
26
-
27
- .@{ant-prefix}-table-cell-fix-left,
28
- .@{ant-prefix}-table-cell-fix-right {
29
- background-color: var(--table-bg);
30
- }
31
-
32
- .@{ant-prefix}-table-tbody > tr > td {
33
- border-bottom-color: var(--table-bd);
34
- }
35
-
36
- tr.@{ant-prefix}-table-expanded-row > td,
37
- tr.@{ant-prefix}-table-expanded-row:hover > td {
38
- background-color: var(--table-row-hover-color);
39
- }
40
-
41
- .@{ant-prefix}-table-row-expand-icon {
42
- color: var(--primary);
43
- border-radius: var(--radius1);
44
- }
45
-
46
- .@{ant-prefix}-table-row-expand-icon:focus,
47
- .@{ant-prefix}-table-row-expand-icon:hover {
48
- color: var(--primary-dark);
49
- }
50
- .@{ant-prefix}-empty-normal {
51
- color: inherit;
52
- }
53
-
54
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-placeholder:hover > td {
55
- background-color: var(--table-row-hover-color);
56
- }
57
- }
@@ -1,18 +0,0 @@
1
- div {
2
- .@{ant-prefix}-tree {
3
- color: inherit;
4
- background: transparent;
5
- }
6
- .@{ant-prefix}-tree .@{ant-prefix}-tree-node-content-wrapper:hover {
7
- background-color: transparent;
8
- border-bottom: 1px solid var(--secondary2);
9
- }
10
- .@{ant-prefix} .@{ant-prefix}-node-content-wrapper.@{ant-prefix}-node-selected {
11
- background-color: transparent;
12
- border-bottom: 1px solid var(--secondary2);
13
- }
14
- .@{ant-prefix}-tree-checkbox-inner{
15
- background-color: var(--form-bg);
16
- border-color: var(--form-bd);
17
- }
18
- }
package/es/Tree/demo.d.ts DELETED
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function App(): JSX.Element;
3
- export default App;
package/es/Tree/demo.js DELETED
@@ -1,32 +0,0 @@
1
- import "antd/lib/config-provider/style";
2
- import _ConfigProvider from "antd/lib/config-provider";
3
- import React from 'react';
4
- import BsTree from "./index";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
-
7
- function App() {
8
- return /*#__PURE__*/_jsx(_ConfigProvider, {
9
- prefixCls: "cloudapp",
10
- children: /*#__PURE__*/_jsx("div", {
11
- style: {
12
- padding: 20,
13
- height: 400,
14
- display: 'flex'
15
- },
16
- children: /*#__PURE__*/_jsx(BsTree, {
17
- checkable: true,
18
- checkStrictly: true,
19
- treeData: [{
20
- id: 1,
21
- name: 'aaa',
22
- children: [{
23
- id: 2,
24
- name: 'bbb'
25
- }]
26
- }]
27
- })
28
- })
29
- });
30
- }
31
-
32
- export default App;