ydb-components-material 0.1.8 → 0.1.10

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 (95) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/static/checked.41982a01.svg +1 -0
  7. package/build/docs/static/del.4a80a4f8.svg +1 -0
  8. package/build/docs/static/download.3c662052.svg +1 -0
  9. package/build/docs/static/file.c4a264be.svg +1 -0
  10. package/build/docs/static/preview.a29f9f40.svg +1 -0
  11. package/build/docs/{umi.66d0ea92.css → umi.62ce371b.css} +1 -1
  12. package/build/docs/umi.8110597b.js +1 -0
  13. package/build/docs/~demos/:uuid.html +3 -3
  14. package/build/docs/~demos/colorful-button-demo.html +3 -3
  15. package/build/docs/~demos/colorful-input-demo.html +3 -3
  16. package/build/lowcode/assets-daily.json +11 -11
  17. package/build/lowcode/assets-dev.json +2 -2
  18. package/build/lowcode/assets-prod.json +11 -11
  19. package/build/lowcode/index.js +1 -1
  20. package/build/lowcode/meta.js +1 -1
  21. package/build/lowcode/preview.js +9 -9
  22. package/build/lowcode/render/default/view.css +1 -1
  23. package/build/lowcode/render/default/view.js +1 -1
  24. package/build/lowcode/view.css +1 -1
  25. package/build/lowcode/view.js +1 -1
  26. package/dist/BizComps.css +1 -1
  27. package/dist/BizComps.js +1 -1
  28. package/dist/BizComps.js.map +1 -1
  29. package/es/components/check-loading/index.scss +1 -0
  30. package/es/components/check-res/index.scss +1 -0
  31. package/es/components/file-item/icon/checked.svg +1 -0
  32. package/es/components/file-item/icon/del.svg +1 -0
  33. package/es/components/file-item/icon/download.svg +1 -0
  34. package/es/components/file-item/icon/file.svg +1 -0
  35. package/es/components/file-item/icon/icon_warning.svg +1 -0
  36. package/es/components/file-item/icon/preview.svg +1 -0
  37. package/es/components/file-item/index.d.ts +19 -0
  38. package/es/components/file-item/index.js +227 -0
  39. package/es/components/file-item/index.scss +284 -0
  40. package/es/components/message/icons/icon_error.svg +1 -0
  41. package/es/components/message/icons/icon_warning.svg +1 -0
  42. package/es/components/message/index.d.ts +16 -0
  43. package/es/components/message/index.js +51 -0
  44. package/es/components/message/index.scss +67 -0
  45. package/es/components/statistic/index.d.ts +12 -0
  46. package/es/components/statistic/index.js +38 -0
  47. package/es/components/statistic/index.scss +30 -0
  48. package/es/components/tips/index.d.ts +1 -0
  49. package/es/components/tips/index.js +5 -2
  50. package/es/index.d.ts +6 -0
  51. package/es/index.js +3 -0
  52. package/es/style.js +2 -0
  53. package/lib/components/check-loading/index.scss +1 -0
  54. package/lib/components/check-res/index.scss +1 -0
  55. package/lib/components/file-item/icon/checked.svg +1 -0
  56. package/lib/components/file-item/icon/del.svg +1 -0
  57. package/lib/components/file-item/icon/download.svg +1 -0
  58. package/lib/components/file-item/icon/file.svg +1 -0
  59. package/lib/components/file-item/icon/icon_warning.svg +1 -0
  60. package/lib/components/file-item/icon/preview.svg +1 -0
  61. package/lib/components/file-item/index.d.ts +19 -0
  62. package/lib/components/file-item/index.js +233 -0
  63. package/lib/components/file-item/index.scss +284 -0
  64. package/lib/components/message/icons/icon_error.svg +1 -0
  65. package/lib/components/message/icons/icon_warning.svg +1 -0
  66. package/lib/components/message/index.d.ts +16 -0
  67. package/lib/components/message/index.js +57 -0
  68. package/lib/components/message/index.scss +67 -0
  69. package/lib/components/statistic/index.d.ts +12 -0
  70. package/lib/components/statistic/index.js +43 -0
  71. package/lib/components/statistic/index.scss +30 -0
  72. package/lib/components/tips/index.d.ts +1 -0
  73. package/lib/components/tips/index.js +5 -2
  74. package/lib/index.d.ts +6 -0
  75. package/lib/index.js +7 -1
  76. package/lib/style.js +2 -0
  77. package/lowcode/file-item/meta.ts +162 -0
  78. package/lowcode/message/meta.ts +173 -0
  79. package/lowcode/statstic/meta.ts +117 -0
  80. package/lowcode_es/file-item/meta.d.ts +22 -0
  81. package/lowcode_es/file-item/meta.js +147 -0
  82. package/lowcode_es/message/meta.d.ts +22 -0
  83. package/lowcode_es/message/meta.js +151 -0
  84. package/lowcode_es/meta.js +5 -2
  85. package/lowcode_es/statstic/meta.d.ts +22 -0
  86. package/lowcode_es/statstic/meta.js +99 -0
  87. package/lowcode_lib/file-item/meta.d.ts +22 -0
  88. package/lowcode_lib/file-item/meta.js +152 -0
  89. package/lowcode_lib/message/meta.d.ts +22 -0
  90. package/lowcode_lib/message/meta.js +156 -0
  91. package/lowcode_lib/meta.js +6 -3
  92. package/lowcode_lib/statstic/meta.d.ts +22 -0
  93. package/lowcode_lib/statstic/meta.js +104 -0
  94. package/package.json +3 -3
  95. package/build/docs/umi.7b1d93b9.js +0 -1
@@ -0,0 +1,284 @@
1
+ .file_item {
2
+ border-radius: 8px;
3
+ opacity: 1;
4
+ background: #F7F7F7;
5
+ padding: 12px;
6
+
7
+ .file {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ align-items: center;
11
+ margin-bottom: 12px;
12
+
13
+ .file_img {
14
+ width: 80px;
15
+ height: 80px;
16
+ border-radius: 4px;
17
+ position: relative;
18
+ border-radius: 8px;
19
+ position: relative;
20
+ display: flex;
21
+ justify-content: center;
22
+ align-items: center;
23
+ background: #fff;
24
+ font-size: 12px;
25
+ color: #666666;
26
+ flex-direction: column;
27
+
28
+ .small_img {
29
+ width: 24px;
30
+ height: 24px;
31
+
32
+ }
33
+
34
+ .add {
35
+ display: flex;
36
+ flex-direction: column;
37
+ justify-content: center;
38
+ align-items: center;
39
+ .add_icon {
40
+ width: 14px;
41
+ margin-left: -5px;
42
+ }
43
+ color: #1678FF;
44
+ }
45
+
46
+ .del {
47
+ position: absolute;
48
+ width: 16px;
49
+ height: 16px;
50
+ top: -6px;
51
+ right: -6px;
52
+ z-index: 9;
53
+ }
54
+
55
+ .mask {
56
+ // display: none !important;
57
+ border-radius: 8px;
58
+ position: absolute;
59
+ top: 0;
60
+ left: 0;
61
+ width: 100%;
62
+ height: 100%;
63
+ // opacity: 0.5;
64
+ background: #2222227d;
65
+ display: flex;
66
+ justify-content: center;
67
+ align-items: center;
68
+ color: #fff;
69
+ z-index: 8;
70
+
71
+ .checked {
72
+ display: flex;
73
+ align-items: center;
74
+
75
+ img {
76
+ width: 14px;
77
+ height: 14px;
78
+ margin-right: 3px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ .operation {
85
+ .btn {
86
+ display: flex;
87
+ flex-direction: row;
88
+
89
+ .img_btn {
90
+ margin-left: 8px;
91
+ width: 68px;
92
+ height: 26px;
93
+ border-radius: 4px;
94
+ opacity: 1;
95
+ box-sizing: border-box;
96
+ border: 1px solid #1678FF;
97
+ color: #1678FF;
98
+ font-size: 13px;
99
+ line-height: 26px;
100
+ text-align: center;
101
+ cursor: pointer;
102
+ }
103
+
104
+ .operation_btn {
105
+ cursor: pointer;
106
+ margin-left: 8px;
107
+ width: 68px;
108
+ height: 26px;
109
+ border-radius: 4px;
110
+ opacity: 1;
111
+ box-sizing: border-box;
112
+ background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
113
+ color: #fff;
114
+ font-size: 13px;
115
+ line-height: 26px;
116
+ text-align: center;
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ .file_item_bottom {
123
+ border-top: 1px solid #EAEAEA;
124
+ display: flex;
125
+ display: flex;
126
+ justify-content: space-evenly;
127
+ align-items: center;
128
+ padding-top: 12px;
129
+
130
+ .line {
131
+ width: 1px;
132
+ height: 20px;
133
+ background-color: #EAEAEA;
134
+ }
135
+
136
+ .icon_text {
137
+ display: flex;
138
+ align-items: center;
139
+ font-size: 14px;
140
+ color: #1678FF;
141
+
142
+ img {
143
+ width: 16px;
144
+ height: 11px;
145
+ margin-right: 5px;
146
+
147
+ }
148
+ }
149
+ }
150
+
151
+ .img_view {
152
+ position: absolute;
153
+ top: 0;
154
+ left: 0;
155
+ width: 100%;
156
+ height: 100%;
157
+ background-color: rgba(0, 0, 0, 0.5);
158
+ display: flex;
159
+ justify-content: center;
160
+ align-items: center;
161
+
162
+ .close {
163
+ width: 17px;
164
+ height: 17px;
165
+ color: #fff;
166
+ position: absolute;
167
+ top: 40px;
168
+ right: 20px;
169
+ }
170
+
171
+ .view {
172
+ width: 100%;
173
+ height: auto;
174
+ }
175
+ }
176
+
177
+ .material_lib {
178
+ width: 100%;
179
+ height: 100%;
180
+ position: absolute;
181
+ top: 0;
182
+ left: 0;
183
+ z-index: 999;
184
+ background-color: rgba(0, 0, 0, 0.5);
185
+
186
+ .material_lib_content {
187
+ width: 100%;
188
+ position: absolute;
189
+ bottom: 0;
190
+ left: 0;
191
+ background-color: #fff;
192
+ border-radius: 16px 16px 0px 0px;
193
+
194
+ .material_lib_title {
195
+ font-size: 16px;
196
+ color: #333333;
197
+ line-height: 54px;
198
+ text-align: center;
199
+ }
200
+
201
+ .tips {
202
+ padding: 12px;
203
+ background: #FFF6E8;
204
+ font-size: 14px;
205
+ line-height: 24px;
206
+ color: #F29655;
207
+ display: flex;
208
+ align-items: flex-start;
209
+
210
+ img {
211
+ width: 14px;
212
+ height: 14px;
213
+ margin-right: 8px;
214
+ margin-top: 5px;
215
+ }
216
+ }
217
+
218
+ .list {
219
+ padding: 12px 12px 0 12px;
220
+ width: 100%;
221
+ background-color: #F5F5F5;
222
+ margin-bottom: 64px;
223
+ max-height: 300px;
224
+ overflow: auto;
225
+
226
+ .item {
227
+ padding: 16px 12px;
228
+ border-radius: 8px;
229
+ background: #FFF;
230
+ display: flex;
231
+ align-items: center;
232
+ color: #333333;
233
+ font-size: 14px;
234
+ width: 100%;
235
+ margin-bottom: 12px;
236
+
237
+ .preview_icon {
238
+ margin-left: auto;
239
+ display: flex;
240
+ align-items: center;
241
+ color: #1678FF;
242
+
243
+ img {
244
+ width: 16px;
245
+ margin-right: 4px;
246
+ }
247
+ }
248
+ }
249
+ }
250
+
251
+ .bottom_btn {
252
+ background-color: #fff;
253
+ height: 64px;
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: space-around;
257
+ position: fixed;
258
+ bottom: 0;
259
+ left: 0;
260
+ right: 0;
261
+
262
+ .btn {
263
+ width: 169px;
264
+ height: 40px;
265
+ border-radius: 50px;
266
+ font-size: 16px;
267
+ line-height: 40px;
268
+ text-align: center;
269
+ }
270
+
271
+ .cancel {
272
+ background-color: #fff;
273
+ border: 1px solid #E7E7E7;
274
+ color: #333;
275
+ }
276
+
277
+ .ok {
278
+ background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
279
+ color: #fff;
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14" height="14" viewBox="0 0 14 14"><g><g><rect x="0" y="0" width="14" height="14" rx="7" fill="#FF6237" fill-opacity="1"/></g><g><path d="M10.374788305468751,4.3754119873046875Q10.374788305468751,4.5245664673046875,10.31770940546875,4.662367187304687Q10.26063060546875,4.800168087304687,10.15516230546875,4.905636087304687L10.15526820546875,4.905742087304688L8.06059880546875,7.000411487304687L10.15526910546875,9.095081787304688L10.15516280546875,9.095187687304687Q10.26063060546875,9.200655887304688,10.31770940546875,9.338456587304687Q10.37478880546875,9.476257287304687,10.374789205468751,9.625411987304688Q10.37478880546875,9.699265487304688,10.36038020546875,9.771699887304688Q10.34597210546875,9.844134287304687,10.31770940546875,9.912366387304687Q10.28944680546875,9.980598487304688,10.248416405468749,10.042005587304686Q10.207385105468749,10.103413087304688,10.15516280546875,10.155635787304687Q10.10294060546875,10.207858087304688,10.041533505468749,10.248888987304689Q9.98012590546875,10.289919887304688,9.91189380546875,10.318182987304688Q9.84366230546875,10.346445087304687,9.77122740546875,10.360853187304688Q9.698792505468749,10.375262287304688,9.62493900546875,10.375262287304688Q9.47578430546875,10.375262287304688,9.33798310546875,10.318182987304688Q9.20018240546875,10.261103587304689,9.09471460546875,10.155635787304687L9.09460880546875,10.155741687304687L6.99993900546875,8.061071887304688L4.90526910546875,10.155741687304687L4.90516330546875,10.155635787304687Q4.79969520546875,10.261103587304689,4.66189430546875,10.318182987304688Q4.52409350546875,10.375262287304688,4.3749389654687505,10.375262287304688Q4.30108511546875,10.375262287304688,4.22865045546875,10.360853687304687Q4.1562157254687495,10.346445087304687,4.08798372546875,10.318182487304687Q4.01975172546875,10.289919887304688,3.95834457546875,10.248888987304689Q3.89693739546875,10.207858087304688,3.84471490546875,10.155635787304687Q3.79249238546875,10.103413087304688,3.75146143546875,10.042005987304687Q3.71043047346875,9.980598487304688,3.68216785746875,9.912366887304687Q3.65390524046875,9.844134787304688,3.63949708546875,9.771699887304688Q3.62508893012975,9.699265487304688,3.62508893012975,9.625411987304688Q3.62508893012975,9.476257287304687,3.68216785046875,9.338456587304687Q3.73924677546875,9.200655887304688,3.84471487546875,9.095187687304687L3.84460884546875,9.095081787304688L5.93927880546875,7.000411487304687L3.84460973546875,4.905742087304688L3.84471559546875,4.905636087304687Q3.73924749546875,4.800168087304687,3.68216856946875,4.662367187304687Q3.62508964538575,4.5245664673046875,3.62508964538575,4.3754119873046875Q3.62508964538575,4.301558197304687,3.63949780446875,4.229123477304688Q3.65390596346875,4.156688807304688,3.68216858846875,4.088456777304687Q3.71043121046875,4.020224747304687,3.75146219546875,3.9588175973046873Q3.79249316546875,3.8974104273046875,3.84471568546875,3.8451879473046873Q3.89693820546875,3.7929654273046873,3.95834541546875,3.7519344573046873Q4.01975259546875,3.7109035033046873,4.08798462546875,3.6826408843046874Q4.15621662546875,3.6543782653046875,4.22865134546875,3.6399701093046875Q4.30108606546875,3.6255619525946874,4.37493991546875,3.6255619525946874Q4.52409422546875,3.6255619525946874,4.66189500546875,3.6826408733046874Q4.79969580546875,3.7397197973046876,4.9051642054687505,3.8451879073046875L4.90527010546875,3.8450819273046877L6.99993900546875,5.9397511873046875L9.094607805468751,3.8450819273046877L9.094713705468749,3.8451879073046875Q9.20018200546875,3.7397197973046876,9.33798220546875,3.6826408733046874Q9.475783305468749,3.6255619525946874,9.62493800546875,3.6255619525946874Q9.698791505468751,3.6255619525946874,9.77122590546875,3.6399701093046875Q9.843660805468751,3.6543782633046873,9.91189290546875,3.6826408803046875Q9.980124505468751,3.7109034953046875,10.04153160546875,3.7519344573046873Q10.10293910546875,3.7929654073046875,10.15516190546875,3.8451879273046874Q10.207384105468751,3.8974104273046875,10.24841500546875,3.9588175973046873Q10.28944590546875,4.020224747304687,10.317708505468751,4.088456747304687Q10.345971105468749,4.156688747304687,10.36037970546875,4.229123477304688Q10.374787805468749,4.301558197304687,10.374788305468751,4.3754119873046875Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14" height="14" viewBox="0 0 14 14"><g><g><path d="M14,7Q14,7.1718402,13.991568,7.3434739Q13.983135,7.5151072,13.966292,7.68612Q13.949449,7.8571329,13.924234,8.027113Q13.899019,8.197093,13.865496,8.3656311Q13.83197,8.5341702,13.790217,8.700861Q13.748464,8.8675518,13.698582,9.0319929Q13.648699,9.196434,13.590806,9.3582287Q13.532915,9.5200233,13.467155,9.6787834Q13.401394,9.8375435,13.327923,9.9928856Q13.254452,10.148228,13.173448,10.299777Q13.092443,10.451326,13.004099,10.598719Q12.915755,10.746111,12.820286,10.88899Q12.724816,11.03187,12.622452,11.169893Q12.520086,11.307918,12.411073,11.440753Q12.302058,11.573587,12.186657,11.700912Q12.071257,11.828238,11.949747,11.949747Q11.828238,12.071257,11.700912,12.186658Q11.573587,12.302058,11.440753,12.411073Q11.307918,12.520086,11.169893,12.622451Q11.03187,12.724816,10.88899,12.820286Q10.746111,12.915755,10.598719,13.004099Q10.451326,13.092443,10.299777,13.173449Q10.148228,13.254454,9.9928856,13.327925Q9.8375435,13.401396,9.6787834,13.467155Q9.5200233,13.532916,9.3582287,13.590808Q9.196434,13.648699,9.0319929,13.698583Q8.8675518,13.748465,8.700861,13.790218Q8.5341702,13.831971,8.3656311,13.865496Q8.197093,13.899019,8.027113,13.924234Q7.8571329,13.94945,7.68612,13.966293Q7.5151072,13.983136,7.3434734,13.991568Q7.1718402,14,7,14Q6.8281598,14,6.6565266,13.991568Q6.4848933,13.983135,6.3138804,13.966292Q6.1428671,13.949449,5.9728866,13.924234Q5.802906,13.899019,5.6343675,13.865496Q5.4658289,13.83197,5.2991385,13.790217Q5.1324482,13.748464,4.9680071,13.698582Q4.803566,13.648699,4.6417708,13.590806Q4.4799757,13.532915,4.3212156,13.467155Q4.1624556,13.401394,4.0071144,13.327923Q3.8517723,13.254452,3.700223,13.173448Q3.5486732,13.092443,3.4012804,13.004099Q3.2538881,12.915755,3.1110082,12.820286Q2.9681282,12.724816,2.8301048,12.622452Q2.6920815,12.520086,2.559247,12.411073Q2.4264126,12.302058,2.299087,12.186657Q2.171762,12.071257,2.0502524,11.949747Q1.9287429,11.828238,1.813342,11.700912Q1.6979411,11.573587,1.5889268,11.440753Q1.4799124,11.307918,1.3775473,11.169893Q1.275182,11.03187,1.1797127,10.88899Q1.0842432,10.746111,0.99589968,10.598719Q0.90755606,10.451326,0.82655108,10.299777Q0.74554604,10.148228,0.67207485,9.9928856Q0.59860361,9.8375435,0.53284317,9.6787834Q0.46708274,9.5200233,0.40919149,9.3582287Q0.35130021,9.196434,0.30141759,9.0319929Q0.25153497,8.8675518,0.20978118,8.700861Q0.16802739,8.5341702,0.13450301,8.3656311Q0.10097862,8.197093,0.075764418,8.027113Q0.0505502,7.8571329,0.033706907,7.68612Q0.016863609,7.5151072,0.0084318044,7.3434734Q0,7.1718402,0,7Q0,6.8281598,0.0084318044,6.6565266Q0.016863609,6.4848933,0.033706907,6.3138804Q0.0505502,6.1428671,0.07576441,5.9728866Q0.10097862,5.802906,0.13450301,5.6343675Q0.16802739,5.4658289,0.20978117,5.2991385Q0.25153497,5.1324482,0.30141759,4.9680071Q0.35130021,4.803566,0.40919146,4.6417708Q0.46708274,4.4799757,0.53284317,4.3212156Q0.59860361,4.1624556,0.67207479,4.0071144Q0.74554598,3.8517723,0.82655102,3.700223Q0.90755594,3.5486732,0.99589956,3.4012804Q1.0842431,3.2538881,1.1797125,3.1110082Q1.2751819,2.9681282,1.3775471,2.8301048Q1.4799123,2.6920815,1.5889268,2.559247Q1.6979411,2.4264126,1.8133421,2.299087Q1.9287429,2.171762,2.0502524,2.0502524Q2.171762,1.9287429,2.299087,1.813342Q2.4264126,1.6979411,2.559247,1.5889268Q2.6920815,1.4799124,2.8301048,1.3775473Q2.9681282,1.275182,3.1110082,1.1797127Q3.2538881,1.0842432,3.4012806,0.99589968Q3.5486729,0.90755606,3.7002227,0.82655108Q3.8517723,0.74554604,4.0071139,0.67207485Q4.1624556,0.59860361,4.3212156,0.53284317Q4.4799757,0.46708274,4.6417708,0.40919149Q4.803566,0.35130021,4.9680071,0.30141759Q5.1324482,0.25153497,5.2991385,0.20978118Q5.4658289,0.16802739,5.6343675,0.13450301Q5.802906,0.10097862,5.9728866,0.075764418Q6.1428671,0.0505502,6.31388,0.033706907Q6.4848928,0.016863609,6.6565266,0.0084318044Q6.8281598,0,7,0Q7.1718402,0,7.3434739,0.0084318044Q7.5151072,0.016863609,7.68612,0.033706907Q7.8571329,0.0505502,8.027113,0.07576441Q8.197093,0.10097862,8.3656311,0.13450301Q8.5341702,0.16802739,8.700861,0.20978117Q8.8675518,0.25153497,9.0319929,0.30141759Q9.196434,0.35130021,9.3582287,0.40919146Q9.5200233,0.46708274,9.6787834,0.53284317Q9.8375435,0.59860361,9.9928856,0.67207479Q10.148228,0.74554598,10.299777,0.82655102Q10.451326,0.90755594,10.598719,0.99589956Q10.746111,1.0842431,10.88899,1.1797125Q11.03187,1.2751819,11.169893,1.3775471Q11.307918,1.4799123,11.440753,1.5889268Q11.573587,1.6979411,11.700912,1.8133421Q11.828238,1.9287429,11.949747,2.0502524Q12.071257,2.171762,12.186658,2.299087Q12.302058,2.4264126,12.411073,2.559247Q12.520086,2.6920815,12.622451,2.8301048Q12.724816,2.9681282,12.820286,3.1110082Q12.915755,3.2538881,13.004099,3.4012806Q13.092443,3.5486729,13.173449,3.7002227Q13.254454,3.8517723,13.327925,4.0071139Q13.401396,4.1624556,13.467155,4.3212156Q13.532916,4.4799757,13.590808,4.6417708Q13.648699,4.803566,13.698583,4.9680071Q13.748465,5.1324482,13.790218,5.2991385Q13.831971,5.4658289,13.865496,5.6343675Q13.899019,5.802906,13.924234,5.9728866Q13.94945,6.1428671,13.966293,6.31388Q13.983136,6.4848928,13.991568,6.6565266Q14,6.8281598,14,7ZM6.9999456,8.5557728C6.5703907,8.5557728,6.222168,8.20755,6.222168,7.7779951L6.222168,3.8891058C6.222168,3.4595511,6.5703907,3.1113281,6.9999456,3.1113281C7.4295006,3.1113281,7.7777233,3.4595511,7.7777233,3.8891058L7.7777233,7.7779951C7.7777233,8.20755,7.4295006,8.5557728,6.9999456,8.5557728ZM7.7777233,10.889106Q7.7777228,10.96571,7.7627783,11.040842Q7.7478328,11.115973,7.7185173,11.186747Q7.6892023,11.25752,7.6466436,11.321214Q7.604085,11.384909,7.5499172,11.439076Q7.4957495,11.493243,7.432055,11.535803Q7.3683605,11.578362,7.2975874,11.607677Q7.2268143,11.636992,7.1516819,11.651937Q7.0765495,11.666883,6.9999456,11.666883Q6.9233408,11.666883,6.8482084,11.651937Q6.7730756,11.636992,6.7023025,11.607677Q6.6315289,11.578362,6.5678344,11.535803Q6.5041404,11.493244,6.4499731,11.439077Q6.3958054,11.384909,6.3532467,11.321215Q6.3106875,11.25752,6.2813725,11.186747Q6.2520571,11.115973,6.2371125,11.040841Q6.222168,10.96571,6.222168,10.889106Q6.222168,10.8125,6.237113,10.737368Q6.2520571,10.662235,6.2813725,10.591462Q6.3106875,10.520689,6.3532462,10.456995Q6.3958054,10.3933,6.4499731,10.339133Q6.5041404,10.284966,6.5678349,10.242407Q6.6315289,10.199847,6.702302,10.170532Q6.7730751,10.141217,6.848208,10.126272Q6.9233408,10.111328,6.9999456,10.111328Q7.0765495,10.111328,7.1516819,10.126272Q7.2268143,10.141217,7.2975874,10.170532Q7.3683605,10.199847,7.432055,10.242407Q7.4957495,10.284966,7.5499167,10.339133Q7.604084,10.3933,7.6466436,10.456994Q7.6892023,10.520688,7.7185178,10.591461Q7.7478333,10.662235,7.7627783,10.737368Q7.7777228,10.8125,7.7777233,10.889106Z" fill-rule="evenodd" fill="#F29655" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import './index.scss';
3
+ export interface MessageProps {
4
+ /**
5
+ * 类型
6
+ */
7
+ type?: "error" | "warning" | "success";
8
+ title: string;
9
+ text: string;
10
+ goBack?: () => void;
11
+ retry?: () => void;
12
+ skip?: () => void;
13
+ close: () => void;
14
+ }
15
+ declare const Message: React.FC<MessageProps>;
16
+ export default Message;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var React = _interopRequireWildcard(require("react"));
7
+ var _icon_error = _interopRequireDefault(require("./icons/icon_error.svg"));
8
+ var _icon_warning = _interopRequireDefault(require("./icons/icon_warning.svg"));
9
+ require("./index.scss");
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
11
+ var Message = function Message(_ref) {
12
+ var _ref$type = _ref.type,
13
+ type = _ref$type === void 0 ? 'error' : _ref$type,
14
+ title = _ref.title,
15
+ text = _ref.text,
16
+ goBack = _ref.goBack,
17
+ retry = _ref.retry,
18
+ skip = _ref.skip,
19
+ close = _ref.close;
20
+ console.log('goBack', goBack, type);
21
+ var icon = type === 'error' ? _icon_error["default"] : _icon_warning["default"];
22
+ return /*#__PURE__*/React.createElement("div", {
23
+ className: "message"
24
+ }, /*#__PURE__*/React.createElement("div", {
25
+ className: "content"
26
+ }, /*#__PURE__*/React.createElement("img", {
27
+ className: "icon",
28
+ src: icon,
29
+ alt: "",
30
+ onClick: function onClick() {
31
+ return goBack();
32
+ }
33
+ }), /*#__PURE__*/React.createElement("div", {
34
+ className: "title"
35
+ }, title), /*#__PURE__*/React.createElement("div", {
36
+ className: "text"
37
+ }, text), /*#__PURE__*/React.createElement("div", {
38
+ className: "btns"
39
+ }, goBack && /*#__PURE__*/React.createElement("div", {
40
+ className: "blue_btn btn",
41
+ onClick: goBack
42
+ }, "\u8FD4\u56DE\u4FEE\u6539"), retry && skip && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
43
+ className: "black_btn",
44
+ onClick: retry
45
+ }, "\u518D\u8BD5\u4E00\u6B21"), /*#__PURE__*/React.createElement("div", {
46
+ className: "blue_btn",
47
+ onClick: skip
48
+ }, "\u4EBA\u5DE5\u5BA1\u6838")), skip && close && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
49
+ className: "black_btn btn",
50
+ onClick: skip
51
+ }, "\u5FFD\u7565\uFF0C\u7EE7\u7EED\u63D0\u4EA4"), /*#__PURE__*/React.createElement("div", {
52
+ className: "blue_btn btn",
53
+ onClick: close
54
+ }, "\u6211\u518D\u60F3\u60F3")))));
55
+ };
56
+ Message.displayName = 'Message';
57
+ var _default = exports["default"] = Message;
@@ -0,0 +1,67 @@
1
+ .message {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ background: rgba(0, 0, 0, 0.5);
8
+ z-index: 9999;
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+
13
+ .content {
14
+ width: 320px;
15
+ border-radius: 8px;
16
+ background-color: #fff;
17
+ display: flex;
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ align-items: center;
21
+
22
+ .icon {
23
+ width: 32px;
24
+ height: 32px;
25
+ margin-bottom: 8px;
26
+ margin-top: 32px;
27
+ }
28
+
29
+ .title {
30
+ font-size: 16px;
31
+ color: #FF6237;
32
+ margin-bottom: 16px;
33
+ }
34
+
35
+ .text {
36
+ font-size: 14px;
37
+ color: #333333;
38
+ margin: 0 29px 17px;
39
+ text-align: center;
40
+ }
41
+
42
+ .btns {
43
+ border-top: 1px solid rgba(0, 0, 0, 0.102);
44
+ width: 100%;
45
+ display: flex;
46
+ flex: 1;
47
+ height: 56px;
48
+
49
+ .btn {
50
+ font-size: 16px;
51
+ width: 100%;
52
+ height: 56px;
53
+ line-height: 56px;
54
+ text-align: center;
55
+ }
56
+
57
+ .blue_btn {
58
+ color: #1678FF;
59
+ }
60
+
61
+ .left_btn {
62
+ border-right: 1px solid rgba(0, 0, 0, 0.102);
63
+ }
64
+ }
65
+
66
+ }
67
+ }
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import './index.scss';
3
+ export interface StatsticProps {
4
+ /**
5
+ * 类型
6
+ */
7
+ type?: "error" | "warning" | "success";
8
+ number: number;
9
+ text: string;
10
+ }
11
+ declare const Statstic: React.FC<StatsticProps>;
12
+ export default Statstic;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports["default"] = void 0;
5
+ var React = _interopRequireWildcard(require("react"));
6
+ require("./index.scss");
7
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
8
+ var Statstic = function Statstic(_ref) {
9
+ var _ref$type = _ref.type,
10
+ type = _ref$type === void 0 ? 'error' : _ref$type,
11
+ number = _ref.number,
12
+ text = _ref.text;
13
+ var bgColor = {
14
+ error: '#FBF3F4',
15
+ warning: '#FFF8ED',
16
+ success: '#EFF9F5'
17
+ }[type];
18
+ var color = {
19
+ error: '#C83E42',
20
+ warning: '#C38A38',
21
+ success: '#1D9C70'
22
+ }[type];
23
+ return /*#__PURE__*/React.createElement("div", {
24
+ className: "statstic",
25
+ style: {
26
+ background: bgColor,
27
+ color: color
28
+ }
29
+ }, /*#__PURE__*/React.createElement("div", {
30
+ className: "count"
31
+ }, /*#__PURE__*/React.createElement("div", {
32
+ className: "num"
33
+ }, number), /*#__PURE__*/React.createElement("div", {
34
+ className: "unit"
35
+ }, "\u9879")), /*#__PURE__*/React.createElement("div", {
36
+ className: "text",
37
+ style: {
38
+ color: color
39
+ }
40
+ }, text));
41
+ };
42
+ Statstic.displayName = 'Statstic';
43
+ var _default = exports["default"] = Statstic;
@@ -0,0 +1,30 @@
1
+ .statstic {
2
+ border-radius: 4px;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+ height: 72px;
8
+
9
+ .count {
10
+ display: flex;
11
+ align-items: flex-end;
12
+ margin-bottom: 9px;
13
+
14
+ .num {
15
+ font-size: 24px;
16
+ font-weight: 500;
17
+ line-height: 26px;
18
+ margin-right: 1px;
19
+ }
20
+ .unit {
21
+ font-size: 12px;
22
+ }
23
+ }
24
+
25
+ .text {
26
+ color: #C83E42;
27
+ font-size: 13px;
28
+ font-weight: 500;
29
+ }
30
+ }
@@ -6,6 +6,7 @@ export interface TipsProps {
6
6
  */
7
7
  text: string;
8
8
  type: 'success' | 'warning' | 'error';
9
+ style?: object;
9
10
  }
10
11
  declare const Tips: React.FC<TipsProps>;
11
12
  export default Tips;
@@ -12,7 +12,9 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
12
12
  var Tips = function Tips(_ref) {
13
13
  var _ref$text = _ref.text,
14
14
  text = _ref$text === void 0 ? '文案' : _ref$text,
15
- type = _ref.type;
15
+ type = _ref.type,
16
+ _ref$style = _ref.style,
17
+ style = _ref$style === void 0 ? {} : _ref$style;
16
18
  var color = '#333333';
17
19
  if (type === 'warning') {
18
20
  color = '#F29655';
@@ -26,7 +28,8 @@ var Tips = function Tips(_ref) {
26
28
  icon = _icon_error["default"];
27
29
  }
28
30
  return /*#__PURE__*/React.createElement("div", {
29
- className: "tips"
31
+ className: "tips",
32
+ style: style
30
33
  }, /*#__PURE__*/React.createElement("img", {
31
34
  className: "icon",
32
35
  src: icon
package/lib/index.d.ts CHANGED
@@ -9,5 +9,11 @@ export type { CheckResProps } from './components/check-res';
9
9
  export { default as CheckRes } from './components/check-res';
10
10
  export type { TipsProps } from './components/tips';
11
11
  export { default as Tips } from './components/tips';
12
+ export type { FileItemProps } from './components/file-item';
13
+ export { default as FileItem } from './components/file-item';
14
+ export type { MessageProps } from './components/message';
15
+ export { default as Message } from './components/message';
16
+ export type { StatsticProps } from './components/statistic';
17
+ export { default as Statstic } from './components/statistic';
12
18
  declare const bizCssPrefix = "bizpack";
13
19
  export { bizCssPrefix };
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  exports.__esModule = true;
5
- exports.bizCssPrefix = exports.Tips = exports.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = exports.CardTitle = void 0;
5
+ exports.bizCssPrefix = exports.Tips = exports.Statstic = exports.Message = exports.FileItem = exports.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = exports.CardTitle = void 0;
6
6
  var _colorfulButton = _interopRequireDefault(require("./components/colorful-button"));
7
7
  exports.ColorfulButton = _colorfulButton["default"];
8
8
  var _colorfulInput = _interopRequireDefault(require("./components/colorful-input"));
@@ -15,4 +15,10 @@ var _checkRes = _interopRequireDefault(require("./components/check-res"));
15
15
  exports.CheckRes = _checkRes["default"];
16
16
  var _tips = _interopRequireDefault(require("./components/tips"));
17
17
  exports.Tips = _tips["default"];
18
+ var _fileItem = _interopRequireDefault(require("./components/file-item"));
19
+ exports.FileItem = _fileItem["default"];
20
+ var _message = _interopRequireDefault(require("./components/message"));
21
+ exports.Message = _message["default"];
22
+ var _statistic = _interopRequireDefault(require("./components/statistic"));
23
+ exports.Statstic = _statistic["default"];
18
24
  var bizCssPrefix = exports.bizCssPrefix = 'bizpack';
package/lib/style.js CHANGED
@@ -1,4 +1,6 @@
1
1
  require('@alifd/next/lib/button/style');
2
2
  require('@alifd/next/lib/input/style');
3
3
  require('@alifd/next/lib/icon/style');
4
+ require('@alifd/next/lib/message/style');
5
+ require('@alifd/next/lib/radio/style');
4
6
  require('./index.scss');