@uzum-tech/ui 1.9.0 → 1.10.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 (249) hide show
  1. package/dist/index.js +5789 -1014
  2. package/dist/index.prod.js +12 -3
  3. package/es/_internal/scrollbar/src/Scrollbar.js +19 -38
  4. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  5. package/es/cascader/src/Cascader.d.ts +1 -1
  6. package/es/chat/index.d.ts +1 -1
  7. package/es/chat/src/Chat.d.ts +233 -11
  8. package/es/chat/src/Chat.js +73 -22
  9. package/es/chat/src/ChatParts/ChatAttachment.js +14 -12
  10. package/es/chat/src/ChatParts/MainArea.d.ts +1 -0
  11. package/es/chat/src/ChatParts/MainArea.js +95 -57
  12. package/es/chat/src/ChatParts/Sidebar.d.ts +920 -0
  13. package/es/chat/src/ChatParts/Sidebar.js +63 -12
  14. package/es/chat/src/interface.d.ts +24 -3
  15. package/es/chat/src/styles/index.cssr.js +13 -2
  16. package/es/components.d.ts +2 -0
  17. package/es/components.js +2 -0
  18. package/es/config-provider/src/internal-interface.d.ts +4 -0
  19. package/es/crop/index.d.ts +3 -0
  20. package/es/crop/index.js +1 -0
  21. package/es/crop/src/Crop.d.ts +222 -0
  22. package/es/crop/src/Crop.js +157 -0
  23. package/es/crop/src/interface.d.ts +6 -0
  24. package/es/crop/src/interface.js +7 -0
  25. package/es/crop/src/styles/index.cssr.d.ts +2 -0
  26. package/es/crop/src/styles/index.cssr.js +333 -0
  27. package/es/crop/styles/_common.d.ts +4 -0
  28. package/es/crop/styles/_common.js +3 -0
  29. package/es/crop/styles/dark.d.ts +3 -0
  30. package/es/crop/styles/dark.js +9 -0
  31. package/es/crop/styles/index.d.ts +3 -0
  32. package/es/crop/styles/index.js +2 -0
  33. package/es/crop/styles/light.d.ts +14 -0
  34. package/es/crop/styles/light.js +14 -0
  35. package/es/date-picker/src/DatePicker.d.ts +1308 -43
  36. package/es/date-picker/src/DatePicker.js +54 -29
  37. package/es/date-picker/src/interface.d.ts +1 -0
  38. package/es/date-picker/src/panel/date.d.ts +141 -0
  39. package/es/date-picker/src/panel/daterange.d.ts +141 -0
  40. package/es/date-picker/src/panel/datetime.d.ts +141 -0
  41. package/es/date-picker/src/panel/datetimerange.d.ts +141 -0
  42. package/es/date-picker/src/panel/panelMonth.d.ts +283 -1
  43. package/es/date-picker/src/panel/panelMonthContent.d.ts +141 -0
  44. package/es/date-picker/src/panel/panelYear.d.ts +283 -1
  45. package/es/date-picker/src/panel/panelYearContent.d.ts +141 -0
  46. package/es/date-picker/src/panel/use-calendar.d.ts +141 -0
  47. package/es/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
  48. package/es/date-picker/src/panel/use-panel-common.d.ts +141 -0
  49. package/es/date-picker/styles/dark.js +3 -1
  50. package/es/date-picker/styles/light.d.ts +123 -0
  51. package/es/date-picker/styles/light.js +3 -1
  52. package/es/descriptions/src/Descriptions.d.ts +30 -0
  53. package/es/descriptions/src/Descriptions.js +18 -10
  54. package/es/dynamic-tags/src/DynamicTags.d.ts +30 -0
  55. package/es/dynamic-tags/styles/light.d.ts +3 -0
  56. package/es/infinite-scroll/src/InfiniteScroll.js +3 -6
  57. package/es/input/src/Input.d.ts +1 -1
  58. package/es/input-number/src/InputNumber.d.ts +1 -1
  59. package/es/legacy-transfer/src/Transfer.d.ts +1 -1
  60. package/es/locales/common/arDZ.js +2 -0
  61. package/es/locales/common/deDE.js +2 -0
  62. package/es/locales/common/enGB.js +2 -0
  63. package/es/locales/common/enUS.d.ts +2 -0
  64. package/es/locales/common/enUS.js +2 -0
  65. package/es/locales/common/eo.js +2 -0
  66. package/es/locales/common/esAR.js +2 -0
  67. package/es/locales/common/faIR.js +2 -0
  68. package/es/locales/common/frFR.js +2 -0
  69. package/es/locales/common/idID.js +2 -0
  70. package/es/locales/common/itIT.js +2 -0
  71. package/es/locales/common/jaJP.js +2 -0
  72. package/es/locales/common/koKR.js +2 -0
  73. package/es/locales/common/nbNO.js +2 -0
  74. package/es/locales/common/nlNL.js +2 -0
  75. package/es/locales/common/plPL.js +2 -0
  76. package/es/locales/common/ptBR.js +2 -0
  77. package/es/locales/common/ruRU.js +2 -0
  78. package/es/locales/common/skSK.js +2 -0
  79. package/es/locales/common/svSE.js +2 -0
  80. package/es/locales/common/thTH.js +2 -0
  81. package/es/locales/common/trTR.js +2 -0
  82. package/es/locales/common/ukUA.js +2 -0
  83. package/es/locales/common/viVN.js +2 -0
  84. package/es/locales/common/zhCN.js +2 -0
  85. package/es/locales/common/zhTW.js +2 -0
  86. package/es/modal-fullscreen/index.d.ts +2 -0
  87. package/es/modal-fullscreen/index.js +1 -0
  88. package/es/modal-fullscreen/src/ModalFull.d.ts +953 -0
  89. package/es/modal-fullscreen/src/ModalFull.js +250 -0
  90. package/es/modal-fullscreen/src/interface.d.ts +0 -0
  91. package/es/modal-fullscreen/src/interface.js +1 -0
  92. package/es/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
  93. package/es/modal-fullscreen/src/styles/index.cssr.js +85 -0
  94. package/es/modal-fullscreen/styles/_common.d.ts +12 -0
  95. package/es/modal-fullscreen/styles/_common.js +11 -0
  96. package/es/modal-fullscreen/styles/dark.d.ts +3 -0
  97. package/es/modal-fullscreen/styles/dark.js +14 -0
  98. package/es/modal-fullscreen/styles/index.d.ts +3 -0
  99. package/es/modal-fullscreen/styles/index.js +2 -0
  100. package/es/modal-fullscreen/styles/light.d.ts +100 -0
  101. package/es/modal-fullscreen/styles/light.js +19 -0
  102. package/es/rate/src/Rate.d.ts +1 -1
  103. package/es/select/src/Select.d.ts +1 -1
  104. package/es/slider/src/Slider.d.ts +1 -1
  105. package/es/switch/src/Switch.d.ts +1 -1
  106. package/es/tag/index.d.ts +2 -0
  107. package/es/tag/index.js +1 -0
  108. package/es/tag/src/Tag.d.ts +40 -0
  109. package/es/tag/src/Tag.js +3 -0
  110. package/es/tag/src/TagGroup.d.ts +644 -0
  111. package/es/tag/src/TagGroup.js +109 -0
  112. package/es/tag/src/styles/index.cssr.d.ts +1 -0
  113. package/es/tag/src/styles/index.cssr.js +8 -1
  114. package/es/tag/styles/light.d.ts +3 -0
  115. package/es/tag/styles/light.js +5 -0
  116. package/es/themes/dark.js +5 -1
  117. package/es/themes/light.js +5 -1
  118. package/es/time-picker/src/TimePicker.d.ts +1 -1
  119. package/es/transfer/src/Transfer.d.ts +1 -1
  120. package/es/tree-select/src/TreeSelect.d.ts +1 -1
  121. package/es/version.d.ts +1 -1
  122. package/es/version.js +1 -1
  123. package/es/virtual-list/index.d.ts +1 -1
  124. package/es/virtual-list/index.js +1 -1
  125. package/lib/_internal/scrollbar/src/Scrollbar.js +19 -38
  126. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  127. package/lib/cascader/src/Cascader.d.ts +1 -1
  128. package/lib/chat/index.d.ts +1 -1
  129. package/lib/chat/src/Chat.d.ts +233 -11
  130. package/lib/chat/src/Chat.js +73 -22
  131. package/lib/chat/src/ChatParts/ChatAttachment.js +14 -12
  132. package/lib/chat/src/ChatParts/MainArea.d.ts +1 -0
  133. package/lib/chat/src/ChatParts/MainArea.js +94 -56
  134. package/lib/chat/src/ChatParts/Sidebar.d.ts +920 -0
  135. package/lib/chat/src/ChatParts/Sidebar.js +62 -11
  136. package/lib/chat/src/interface.d.ts +24 -3
  137. package/lib/chat/src/styles/index.cssr.js +13 -2
  138. package/lib/components.d.ts +2 -0
  139. package/lib/components.js +2 -0
  140. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  141. package/lib/crop/index.d.ts +3 -0
  142. package/lib/crop/index.js +9 -0
  143. package/lib/crop/src/Crop.d.ts +222 -0
  144. package/lib/crop/src/Crop.js +163 -0
  145. package/lib/crop/src/interface.d.ts +6 -0
  146. package/lib/crop/src/interface.js +10 -0
  147. package/lib/crop/src/styles/index.cssr.d.ts +2 -0
  148. package/lib/crop/src/styles/index.cssr.js +338 -0
  149. package/lib/crop/styles/_common.d.ts +4 -0
  150. package/lib/crop/styles/_common.js +5 -0
  151. package/lib/crop/styles/dark.d.ts +3 -0
  152. package/lib/crop/styles/dark.js +11 -0
  153. package/lib/crop/styles/index.d.ts +3 -0
  154. package/lib/crop/styles/index.js +10 -0
  155. package/lib/crop/styles/light.d.ts +14 -0
  156. package/lib/crop/styles/light.js +21 -0
  157. package/lib/date-picker/src/DatePicker.d.ts +1308 -43
  158. package/lib/date-picker/src/DatePicker.js +53 -28
  159. package/lib/date-picker/src/interface.d.ts +1 -0
  160. package/lib/date-picker/src/panel/date.d.ts +141 -0
  161. package/lib/date-picker/src/panel/daterange.d.ts +141 -0
  162. package/lib/date-picker/src/panel/datetime.d.ts +141 -0
  163. package/lib/date-picker/src/panel/datetimerange.d.ts +141 -0
  164. package/lib/date-picker/src/panel/panelMonth.d.ts +283 -1
  165. package/lib/date-picker/src/panel/panelMonthContent.d.ts +141 -0
  166. package/lib/date-picker/src/panel/panelYear.d.ts +283 -1
  167. package/lib/date-picker/src/panel/panelYearContent.d.ts +141 -0
  168. package/lib/date-picker/src/panel/use-calendar.d.ts +141 -0
  169. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
  170. package/lib/date-picker/src/panel/use-panel-common.d.ts +141 -0
  171. package/lib/date-picker/styles/dark.js +3 -1
  172. package/lib/date-picker/styles/light.d.ts +123 -0
  173. package/lib/date-picker/styles/light.js +3 -1
  174. package/lib/descriptions/src/Descriptions.d.ts +30 -0
  175. package/lib/descriptions/src/Descriptions.js +18 -10
  176. package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -0
  177. package/lib/dynamic-tags/styles/light.d.ts +3 -0
  178. package/lib/infinite-scroll/src/InfiniteScroll.js +3 -6
  179. package/lib/input/src/Input.d.ts +1 -1
  180. package/lib/input-number/src/InputNumber.d.ts +1 -1
  181. package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
  182. package/lib/locales/common/arDZ.js +2 -0
  183. package/lib/locales/common/deDE.js +2 -0
  184. package/lib/locales/common/enGB.js +2 -0
  185. package/lib/locales/common/enUS.d.ts +2 -0
  186. package/lib/locales/common/enUS.js +2 -0
  187. package/lib/locales/common/eo.js +2 -0
  188. package/lib/locales/common/esAR.js +2 -0
  189. package/lib/locales/common/faIR.js +2 -0
  190. package/lib/locales/common/frFR.js +2 -0
  191. package/lib/locales/common/idID.js +2 -0
  192. package/lib/locales/common/itIT.js +2 -0
  193. package/lib/locales/common/jaJP.js +2 -0
  194. package/lib/locales/common/koKR.js +2 -0
  195. package/lib/locales/common/nbNO.js +2 -0
  196. package/lib/locales/common/nlNL.js +2 -0
  197. package/lib/locales/common/plPL.js +2 -0
  198. package/lib/locales/common/ptBR.js +2 -0
  199. package/lib/locales/common/ruRU.js +2 -0
  200. package/lib/locales/common/skSK.js +2 -0
  201. package/lib/locales/common/svSE.js +2 -0
  202. package/lib/locales/common/thTH.js +2 -0
  203. package/lib/locales/common/trTR.js +2 -0
  204. package/lib/locales/common/ukUA.js +2 -0
  205. package/lib/locales/common/viVN.js +2 -0
  206. package/lib/locales/common/zhCN.js +2 -0
  207. package/lib/locales/common/zhTW.js +2 -0
  208. package/lib/modal-fullscreen/index.d.ts +2 -0
  209. package/lib/modal-fullscreen/index.js +9 -0
  210. package/lib/modal-fullscreen/src/ModalFull.d.ts +953 -0
  211. package/lib/modal-fullscreen/src/ModalFull.js +256 -0
  212. package/lib/modal-fullscreen/src/interface.d.ts +0 -0
  213. package/lib/modal-fullscreen/src/interface.js +1 -0
  214. package/lib/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
  215. package/lib/modal-fullscreen/src/styles/index.cssr.js +90 -0
  216. package/lib/modal-fullscreen/styles/_common.d.ts +12 -0
  217. package/lib/modal-fullscreen/styles/_common.js +13 -0
  218. package/lib/modal-fullscreen/styles/dark.d.ts +3 -0
  219. package/lib/modal-fullscreen/styles/dark.js +16 -0
  220. package/lib/modal-fullscreen/styles/index.d.ts +3 -0
  221. package/lib/modal-fullscreen/styles/index.js +10 -0
  222. package/lib/modal-fullscreen/styles/light.d.ts +100 -0
  223. package/lib/modal-fullscreen/styles/light.js +26 -0
  224. package/lib/rate/src/Rate.d.ts +1 -1
  225. package/lib/select/src/Select.d.ts +1 -1
  226. package/lib/slider/src/Slider.d.ts +1 -1
  227. package/lib/switch/src/Switch.d.ts +1 -1
  228. package/lib/tag/index.d.ts +2 -0
  229. package/lib/tag/index.js +3 -1
  230. package/lib/tag/src/Tag.d.ts +40 -0
  231. package/lib/tag/src/Tag.js +3 -0
  232. package/lib/tag/src/TagGroup.d.ts +644 -0
  233. package/lib/tag/src/TagGroup.js +112 -0
  234. package/lib/tag/src/styles/index.cssr.d.ts +1 -0
  235. package/lib/tag/src/styles/index.cssr.js +9 -1
  236. package/lib/tag/styles/light.d.ts +3 -0
  237. package/lib/tag/styles/light.js +5 -0
  238. package/lib/themes/dark.js +5 -1
  239. package/lib/themes/light.js +5 -1
  240. package/lib/time-picker/src/TimePicker.d.ts +1 -1
  241. package/lib/transfer/src/Transfer.d.ts +1 -1
  242. package/lib/tree-select/src/TreeSelect.d.ts +1 -1
  243. package/lib/version.d.ts +1 -1
  244. package/lib/version.js +1 -1
  245. package/lib/virtual-list/index.d.ts +1 -1
  246. package/lib/virtual-list/index.js +2 -2
  247. package/package.json +4 -3
  248. package/volar.d.ts +4 -0
  249. package/web-types.json +472 -4
@@ -0,0 +1,333 @@
1
+ import { c, cB, cM } from '../../../_utils/cssr';
2
+ // vars:
3
+ // --u-wrapper-border-radius
4
+ // --u-wrapper-bg-color
5
+ // --u-wrapper-width
6
+ // --u-wrapper-height
7
+ // --u-cropper-theme-color
8
+ // --u-wrapper-margin
9
+ export default c([c([c('.cropper-container', {
10
+ direction: 'ltr',
11
+ fontSize: '0',
12
+ lineHeight: '0',
13
+ position: 'relative',
14
+ msTouchAction: 'none',
15
+ touchAction: 'none',
16
+ WebkitTouchCallout: 'none',
17
+ WebkitUserSelect: 'none',
18
+ MozUserSelect: 'none',
19
+ msUserSelect: 'none',
20
+ userSelect: 'none'
21
+ }, [c('img', {
22
+ backfaceVisibility: 'hidden',
23
+ display: 'block',
24
+ height: '100%',
25
+ imageOrientation: '0deg',
26
+ maxHeight: 'none !important',
27
+ maxWidth: 'none !important',
28
+ minHeight: '0 !important',
29
+ minWidth: '0 !important',
30
+ width: '100%'
31
+ })]), c('.cropper-wrap-box, .cropper-canvas, .cropper-drag-box, .cropper-crop-box, .cropper-modal', {
32
+ bottom: '0',
33
+ left: '0',
34
+ position: 'absolute',
35
+ right: '0',
36
+ top: '0'
37
+ }), c('.cropper-wrap-box, .cropper-canvas', {
38
+ overflow: 'hidden'
39
+ }), c('.cropper-drag-box', {
40
+ backgroundColor: '#fff',
41
+ opacity: '0'
42
+ }), c('.cropper-modal', {
43
+ backgroundColor: '#000',
44
+ opacity: '0.5'
45
+ }), c('.cropper-view-box', {
46
+ display: 'block',
47
+ height: '100%',
48
+ outline: '1px solid #39f',
49
+ outlineColor: 'rgba(51, 153, 255, 0.75)',
50
+ overflow: 'hidden',
51
+ width: '100%'
52
+ }), c('.cropper-dashed', {
53
+ border: '0 dashed #eee',
54
+ display: 'block',
55
+ opacity: '0.5',
56
+ position: 'absolute'
57
+ }, [c('&.dashed-h', {
58
+ borderBottomWidth: '1px',
59
+ borderTopWidth: '1px',
60
+ height: 'calc(100% / 3)',
61
+ left: '0',
62
+ top: 'calc(100% / 3)',
63
+ width: '100%'
64
+ }), c('&.dashed-v', {
65
+ borderLeftWidth: '1px',
66
+ borderRightWidth: '1px',
67
+ height: '100%',
68
+ left: 'calc(100% / 3)',
69
+ top: '0',
70
+ width: 'calc(100% / 3)'
71
+ })]), c('.cropper-center', {
72
+ display: 'block',
73
+ height: '0',
74
+ left: '50%',
75
+ opacity: '0.75',
76
+ position: 'absolute',
77
+ top: '50%',
78
+ width: '0'
79
+ }, [c('&::before, &::after', {
80
+ backgroundColor: '#eee',
81
+ content: '" "',
82
+ display: 'block',
83
+ position: 'absolute'
84
+ }), c('&::before', {
85
+ height: '1px',
86
+ left: '-3px',
87
+ top: '0',
88
+ width: '7px'
89
+ }), c('&::after', {
90
+ height: '7px',
91
+ left: '0',
92
+ top: '-3px',
93
+ width: '1px'
94
+ })]), c('.cropper-face, .cropper-line, .cropper-point', {
95
+ display: 'block',
96
+ height: '100%',
97
+ opacity: '0.1',
98
+ position: 'absolute',
99
+ width: '100%'
100
+ }), c('.cropper-face', {
101
+ backgroundColor: '#fff',
102
+ left: '0',
103
+ top: '0'
104
+ }), c('.cropper-line', {
105
+ backgroundColor: '#39f'
106
+ }, [c('&.line-e', {
107
+ cursor: 'ew-resize',
108
+ right: '-3px',
109
+ top: '0',
110
+ width: '5px'
111
+ }), c('&.line-n', {
112
+ cursor: 'ns-resize',
113
+ height: '5px',
114
+ left: '0',
115
+ top: '-3px'
116
+ }), c('&.line-w', {
117
+ cursor: 'ew-resize',
118
+ left: '-3px',
119
+ top: '0',
120
+ width: '5px'
121
+ }), c('&.line-s', {
122
+ bottom: '-3px',
123
+ cursor: 'ns-resize',
124
+ height: '5px',
125
+ left: '0'
126
+ })]), c('.cropper-point', {
127
+ backgroundColor: '#39f',
128
+ height: '5px',
129
+ opacity: '0.75',
130
+ width: '5px'
131
+ }, [c('&.point-e', {
132
+ cursor: 'ew-resize',
133
+ marginTop: '-3px',
134
+ right: '-3px',
135
+ top: '50%'
136
+ }), c('&.point-n', {
137
+ cursor: 'ns-resize',
138
+ left: '50%',
139
+ marginLeft: '-3px',
140
+ top: '-3px'
141
+ }), c('&.point-w', {
142
+ cursor: 'ew-resize',
143
+ left: '-3px',
144
+ marginTop: '-3px',
145
+ top: '50%'
146
+ }), c('&.point-s', {
147
+ bottom: '-3px',
148
+ cursor: 's-resize',
149
+ left: '50%',
150
+ marginLeft: '-3px'
151
+ }), c('&.point-ne', {
152
+ cursor: 'nesw-resize',
153
+ right: '-3px',
154
+ top: '-3px'
155
+ }), c('&.point-nw', {
156
+ cursor: 'nwse-resize',
157
+ left: '-3px',
158
+ top: '-3px'
159
+ }), c('&.point-sw', {
160
+ bottom: '-3px',
161
+ cursor: 'nesw-resize',
162
+ left: '-3px'
163
+ }), c('&.point-se', {
164
+ bottom: '-3px',
165
+ cursor: 'nwse-resize',
166
+ height: '20px',
167
+ opacity: '1',
168
+ right: '-3px',
169
+ width: '20px'
170
+ }, [c('&::before', {
171
+ backgroundColor: '#39f',
172
+ bottom: '-50%',
173
+ content: '" "',
174
+ display: 'block',
175
+ height: '200%',
176
+ opacity: '0',
177
+ position: 'absolute',
178
+ right: '-50%',
179
+ width: '200%'
180
+ })])]), c('@media (min-width: 768px)', [c('.cropper-point.point-se', {
181
+ height: '15px',
182
+ width: '15px'
183
+ })]), c('@media (min-width: 992px)', [c('.cropper-point.point-se', {
184
+ height: '10px',
185
+ width: '10px'
186
+ })]), c('@media (min-width: 1200px)', [c('.cropper-point.point-se', {
187
+ height: '5px',
188
+ opacity: '0.75',
189
+ width: '5px'
190
+ })]), c('.cropper-invisible', {
191
+ opacity: '0'
192
+ }), c('.cropper-bg', {
193
+ backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")'
194
+ }), c('.cropper-hide', {
195
+ display: 'block',
196
+ height: '0',
197
+ position: 'absolute',
198
+ width: '0'
199
+ }), c('.cropper-hidden', {
200
+ display: 'none !important'
201
+ }), c('.cropper-move', {
202
+ cursor: 'move'
203
+ }), c('.cropper-crop', {
204
+ cursor: 'crosshair'
205
+ }), c('.cropper-disabled .cropper-drag-box, .cropper-disabled .cropper-face, .cropper-disabled .cropper-line, .cropper-disabled .cropper-point', {
206
+ cursor: 'not-allowed'
207
+ })]), cB('crop-wrapper', `
208
+ overflow: hidden;
209
+ background-color: var(--u-wrapper-bg-color);
210
+ border-radius: var(--u-wrapper-border-radius);
211
+ width: var(--u-wrapper-width);
212
+ height: var(--u-wrapper-height);
213
+ margin: var(--u-wrapper-margin);
214
+ `, [cM('circle', '', [c(`.cropper-view-box,
215
+ .cropper-face`, `
216
+ border-radius: 50%;
217
+ `)]), c('.cropper-view-box', `
218
+ outline: 0;
219
+ box-shadow: 0 0 0 1px var(--u-cropper-theme-color);
220
+ `), c(`.cropper-line,
221
+ .cropper-point`, `
222
+ background-color: var(--u-cropper-theme-color);
223
+ `), c(`
224
+ .point-e,
225
+ .point-n,
226
+ .point-w,
227
+ .point-s
228
+ `, `
229
+ display: none;
230
+ `), c('.point-se', `
231
+ width: 4px !important;
232
+ height: 4px !important;
233
+ right: -4px !important;
234
+ bottom: -4px !important;
235
+ opacity: 1;
236
+ `, [c('&::before', `
237
+ content: "" !important;
238
+ display: block !important;
239
+ position: absolute !important;
240
+ top: 0 !important;
241
+ left: -16px !important;
242
+ width: 16px !important;
243
+ height: 4px !important;
244
+ background-color: var(--u-cropper-theme-color) !important;
245
+ opacity: 1 !important;
246
+ `), c('&::after', `
247
+ content: "" !important;
248
+ display: block !important;
249
+ position: absolute !important;
250
+ top: -16px !important;
251
+ left: 0px !important;
252
+ width: 4px !important;
253
+ height: 16px !important;
254
+ background-color: var(--u-cropper-theme-color) !important;
255
+ `)]), c('.point-sw', `
256
+ width: 4px !important;
257
+ height: 4px !important;
258
+ left: -4px !important;
259
+ bottom: -4px !important;
260
+ opacity: 1;
261
+ `, [c('&::before', `
262
+ content: "" !important;
263
+ display: block !important;
264
+ position: absolute !important;
265
+ top: 0 !important;
266
+ right: -16px !important;
267
+ width: 16px !important;
268
+ height: 4px !important;
269
+ background-color: var(--u-cropper-theme-color) !important;
270
+ opacity: 1 !important;
271
+ `), c('&::after', `
272
+ content: "" !important;
273
+ display: block !important;
274
+ position: absolute !important;
275
+ top: -16px !important;
276
+ left: 0px !important;
277
+ width: 4px !important;
278
+ height: 16px !important;
279
+ background-color: var(--u-cropper-theme-color) !important;
280
+ `)]), c('.point-nw', `
281
+ width: 4px !important;
282
+ height: 4px !important;
283
+ left: -4px !important;
284
+ top: -4px !important;
285
+ opacity: 1;
286
+ `, [c('&::before', `
287
+ content: "" !important;
288
+ display: block !important;
289
+ position: absolute !important;
290
+ top: 0 !important;
291
+ right: -16px !important;
292
+ width: 16px !important;
293
+ height: 4px !important;
294
+ background-color: var(--u-cropper-theme-color) !important;
295
+ opacity: 1 !important;
296
+ `), c('&::after', `
297
+ content: "" !important;
298
+ display: block !important;
299
+ position: absolute !important;
300
+ bottom: -16px !important;
301
+ left: 0px !important;
302
+ width: 4px !important;
303
+ height: 16px !important;
304
+ background-color: var(--u-cropper-theme-color) !important;
305
+ `)]), c('.point-ne', `
306
+ width: 4px !important;
307
+ height: 4px !important;
308
+ right: -4px !important;
309
+ top: -4px !important;
310
+ opacity: 1;
311
+ `, [c('&::before', `
312
+ content: "" !important;
313
+ display: block !important;
314
+ position: absolute !important;
315
+ top: 0 !important;
316
+ left: -16px !important;
317
+ width: 16px !important;
318
+ height: 4px !important;
319
+ background-color: var(--u-cropper-theme-color) !important;
320
+ opacity: 1 !important;
321
+ `), c('&::after', `
322
+ content: "" !important;
323
+ display: block !important;
324
+ position: absolute !important;
325
+ bottom: -16px !important;
326
+ left: 0px !important;
327
+ width: 4px !important;
328
+ height: 16px !important;
329
+ background-color: var(--u-cropper-theme-color) !important;
330
+ `)])]), cB('crop-img', `
331
+ display: block;
332
+ max-width: 100%;
333
+ `)]);
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ wrapperMargin: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ wrapperMargin: '0 0 20px'
3
+ };
@@ -0,0 +1,3 @@
1
+ import { type CropTheme } from './light';
2
+ declare const cropDark: CropTheme;
3
+ export default cropDark;
@@ -0,0 +1,9 @@
1
+ import { commonDark } from '../../_styles/common';
2
+ import { self } from './light';
3
+ const cropDark = {
4
+ name: 'Crop',
5
+ common: commonDark,
6
+ peers: {},
7
+ self
8
+ };
9
+ export default cropDark;
@@ -0,0 +1,3 @@
1
+ export { default as cropDark } from './dark';
2
+ export { default as cropLight } from './light';
3
+ export type { CropTheme, CropThemeVars } from './light';
@@ -0,0 +1,2 @@
1
+ export { default as cropDark } from './dark';
2
+ export { default as cropLight } from './light';
@@ -0,0 +1,14 @@
1
+ import { ThemeCommonVars } from '../../config-provider';
2
+ export declare const self: (vars: ThemeCommonVars) => {
3
+ wrapperBg: string;
4
+ wrapperBorderRadius: string;
5
+ wrapperMargin: string;
6
+ };
7
+ export type CropThemeVars = ReturnType<typeof self>;
8
+ declare const cropLight: import("../../_mixins").Theme<"Crop", {
9
+ wrapperBg: string;
10
+ wrapperBorderRadius: string;
11
+ wrapperMargin: string;
12
+ }, {}>;
13
+ export default cropLight;
14
+ export type CropTheme = typeof cropLight;
@@ -0,0 +1,14 @@
1
+ import { createTheme } from '../../_mixins';
2
+ import { commonLight } from '../../_styles/common';
3
+ import commonVars from './_common';
4
+ export const self = (vars) => {
5
+ const { elementsSenary, borderRadiusLarge } = vars;
6
+ return Object.assign(Object.assign({}, commonVars), { wrapperBg: elementsSenary, wrapperBorderRadius: borderRadiusLarge });
7
+ };
8
+ const cropLight = createTheme({
9
+ name: 'Crop',
10
+ common: commonLight,
11
+ peers: {},
12
+ self
13
+ });
14
+ export default cropLight;