nubomed-ui 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. package/{nubomed-ui/nubomed-ui.es.js → nubomed-ui.es.js} +547 -581
  2. package/{nubomed-ui/nubomed-ui.umd.js → nubomed-ui.umd.js} +1 -1
  3. package/package.json +7 -18
  4. package/.env.bi +0 -13
  5. package/.env.terminal +0 -13
  6. package/.vscode/extensions.json +0 -3
  7. package/README.md +0 -17
  8. package/index.html +0 -13
  9. package/src/App.vue +0 -31
  10. package/src/bi-demos/Header.vue +0 -29
  11. package/src/bi-demos/Table.vue +0 -69
  12. package/src/bi-demos/index.vue +0 -132
  13. package/src/bi-packages/components/Box/images/corner-error.png +0 -0
  14. package/src/bi-packages/components/Box/images/corner-warning.png +0 -0
  15. package/src/bi-packages/components/Box/images/corner.png +0 -0
  16. package/src/bi-packages/components/Box/index.scss +0 -86
  17. package/src/bi-packages/components/Box/index.vue +0 -53
  18. package/src/bi-packages/components/Carousel/CarouselItem.vue +0 -0
  19. package/src/bi-packages/components/Carousel/index.vue +0 -0
  20. package/src/bi-packages/components/Header/images/left-bg.png +0 -0
  21. package/src/bi-packages/components/Header/images/logo.png +0 -0
  22. package/src/bi-packages/components/Header/images/right-bg.png +0 -0
  23. package/src/bi-packages/components/Header/index.scss +0 -50
  24. package/src/bi-packages/components/Header/index.vue +0 -54
  25. package/src/bi-packages/components/Table/TableColgroup.vue +0 -43
  26. package/src/bi-packages/components/Table/index copy.vue +0 -107
  27. package/src/bi-packages/components/Table/index.scss +0 -118
  28. package/src/bi-packages/components/Table/index.vue +0 -108
  29. package/src/bi-packages/components/TableColumn/index.scss +0 -7
  30. package/src/bi-packages/components/TableColumn/index.vue +0 -60
  31. package/src/bi-packages/fonts/OPPOSans-B.ttf +0 -0
  32. package/src/bi-packages/fonts/OPPOSans-M.ttf +0 -0
  33. package/src/bi-packages/fonts/font.scss +0 -11
  34. package/src/bi-packages/iconfont-svg/demo.css +0 -539
  35. package/src/bi-packages/iconfont-svg/demo_index.html +0 -4811
  36. package/src/bi-packages/iconfont-svg/iconfont.css +0 -819
  37. package/src/bi-packages/iconfont-svg/iconfont.js +0 -1
  38. package/src/bi-packages/iconfont-svg/iconfont.json +0 -1416
  39. package/src/bi-packages/iconfont-svg/iconfont.ttf +0 -0
  40. package/src/bi-packages/iconfont-svg/iconfont.woff +0 -0
  41. package/src/bi-packages/iconfont-svg/iconfont.woff2 +0 -0
  42. package/src/bi-packages/index.js +0 -34
  43. package/src/bi-packages/styles/mixin.scss +0 -12
  44. package/src/bi-packages/styles/var.scss +0 -11
  45. package/src/demos/ActionBar.vue +0 -59
  46. package/src/demos/Badge.vue +0 -28
  47. package/src/demos/Button copy.vue +0 -302
  48. package/src/demos/Button.vue +0 -116
  49. package/src/demos/ButtonGroup.vue +0 -40
  50. package/src/demos/Check.vue +0 -29
  51. package/src/demos/Dialog.vue +0 -255
  52. package/src/demos/Empty.vue +0 -38
  53. package/src/demos/FooterMenu.vue +0 -49
  54. package/src/demos/Header.vue +0 -71
  55. package/src/demos/Icons.vue +0 -314
  56. package/src/demos/Input.vue +0 -87
  57. package/src/demos/InputKeyboard.vue +0 -30
  58. package/src/demos/InputNumber.vue +0 -34
  59. package/src/demos/LeftMenu.vue +0 -128
  60. package/src/demos/Menus.vue +0 -106
  61. package/src/demos/OpenCabinetBall.vue +0 -37
  62. package/src/demos/Statusbar.vue +0 -146
  63. package/src/demos/Steps.vue +0 -45
  64. package/src/demos/Tost.vue +0 -35
  65. package/src/demos/button/button.md +0 -19
  66. package/src/demos/data/terList.json +0 -145
  67. package/src/demos/images/cabinets/H3000-D.png +0 -0
  68. package/src/demos/images/cabinets/H3000-R.png +0 -0
  69. package/src/demos/images/cabinets/H3000-Rh.png +0 -0
  70. package/src/demos/images/cabinets/H3000-Rh2.png +0 -0
  71. package/src/demos/images/cabinets/H3010-R.png +0 -0
  72. package/src/demos/index.vue +0 -348
  73. package/src/docs/icons/Icon.vue +0 -72
  74. package/src/docs/icons/icon.md +0 -21
  75. package/src/docs/index.html +0 -15
  76. package/src/docs/index.vue +0 -301
  77. package/src/main.js +0 -23
  78. package/src/packages/components/ActionBar/images/error.png +0 -0
  79. package/src/packages/components/ActionBar/images/loading.gif +0 -0
  80. package/src/packages/components/ActionBar/images/success.png +0 -0
  81. package/src/packages/components/ActionBar/images/warning.png +0 -0
  82. package/src/packages/components/ActionBar/images/warning_yellow.png +0 -0
  83. package/src/packages/components/ActionBar/index.scss +0 -81
  84. package/src/packages/components/ActionBar/index.vue +0 -100
  85. package/src/packages/components/Badge/index.scss +0 -50
  86. package/src/packages/components/Badge/index.vue +0 -75
  87. package/src/packages/components/Button/index.scss +0 -241
  88. package/src/packages/components/Button/index.vue +0 -111
  89. package/src/packages/components/ButtonGroup/index.scss +0 -54
  90. package/src/packages/components/ButtonGroup/index.vue +0 -75
  91. package/src/packages/components/Check/Cate.vue +0 -138
  92. package/src/packages/components/Check/index.scss +0 -47
  93. package/src/packages/components/Check/index.vue +0 -105
  94. package/src/packages/components/Dialog/images/error.png +0 -0
  95. package/src/packages/components/Dialog/images/success.png +0 -0
  96. package/src/packages/components/Dialog/images/warning-red.png +0 -0
  97. package/src/packages/components/Dialog/images/warning-yellow.png +0 -0
  98. package/src/packages/components/Dialog/index.scss +0 -154
  99. package/src/packages/components/Dialog/index.vue +0 -305
  100. package/src/packages/components/Empty/images/empty-abnormal.png +0 -0
  101. package/src/packages/components/Empty/images/empty-data.png +0 -0
  102. package/src/packages/components/Empty/images/empty-search.png +0 -0
  103. package/src/packages/components/Empty/index.vue +0 -68
  104. package/src/packages/components/Form/FormItem.vue +0 -73
  105. package/src/packages/components/Form/index.vue +0 -76
  106. package/src/packages/components/Icon/index.vue +0 -30
  107. package/src/packages/components/Input/index.scss +0 -184
  108. package/src/packages/components/Input/index.vue +0 -189
  109. package/src/packages/components/InputKeyboard/index.scss +0 -63
  110. package/src/packages/components/InputKeyboard/index.vue +0 -117
  111. package/src/packages/components/InputNumber/index.scss +0 -103
  112. package/src/packages/components/InputNumber/index.vue +0 -160
  113. package/src/packages/components/Menu/index.scss +0 -559
  114. package/src/packages/components/Menu/index.vue +0 -211
  115. package/src/packages/components/OpenCabinetBall/CabinetStatus.vue +0 -94
  116. package/src/packages/components/OpenCabinetBall/index.scss +0 -204
  117. package/src/packages/components/OpenCabinetBall/index.vue +0 -113
  118. package/src/packages/components/Statusbar/CabinetList.vue +0 -125
  119. package/src/packages/components/Statusbar/CabinetListStatus.vue +0 -75
  120. package/src/packages/components/Statusbar/CabinetListTempHum.vue +0 -108
  121. package/src/packages/components/Statusbar/index.scss +0 -205
  122. package/src/packages/components/Statusbar/index.vue +0 -83
  123. package/src/packages/components/Steps/index.scss +0 -104
  124. package/src/packages/components/Steps/index.vue +0 -66
  125. package/src/packages/components/SvgIcon/index.vue +0 -41
  126. package/src/packages/components/Toast/index.vue +0 -72
  127. package/src/packages/fonts/OPPOSans-B.ttf +0 -0
  128. package/src/packages/fonts/OPPOSans-M.ttf +0 -0
  129. package/src/packages/fonts/font.scss +0 -11
  130. package/src/packages/iconfont-svg/demo.css +0 -539
  131. package/src/packages/iconfont-svg/demo_index.html +0 -4811
  132. package/src/packages/iconfont-svg/iconfont.css +0 -819
  133. package/src/packages/iconfont-svg/iconfont.js +0 -1
  134. package/src/packages/iconfont-svg/iconfont.json +0 -1416
  135. package/src/packages/iconfont-svg/iconfont.ttf +0 -0
  136. package/src/packages/iconfont-svg/iconfont.woff +0 -0
  137. package/src/packages/iconfont-svg/iconfont.woff2 +0 -0
  138. package/src/packages/index.js +0 -64
  139. package/src/packages/styles/var.scss +0 -24
  140. package/src/utils/create.js +0 -48
  141. package/src/utils/index.js +0 -13
  142. package/src/utils/validate.js +0 -3
  143. package/vite.config.js +0 -47
  144. /package/{nubomed-ui/style.css → style.css} +0 -0
@@ -1,559 +0,0 @@
1
- :root {
2
- --nb-menu-left-width: 360px;
3
- --nb-menu-footer-height: 96px;
4
- --nb-menu-header-height: 80px;
5
- --nb-menu-gird-width: 1000px;
6
- --nb-menu-gird-height: 640px;
7
- }
8
-
9
- .nb-menu--left {
10
- width: var(--nb-menu-left-width);
11
- height: 100%;
12
- display: flex;
13
- flex-direction: column;
14
- border-right: 1px solid #cad0e0;
15
- overflow-x: hidden;
16
- overflow-y: auto;
17
- padding: 24px 0;
18
- background-color: #f4f6f9;
19
-
20
- .nb-menu__title {
21
- text-align: left;
22
- font-size: 36px;
23
- line-height: 47px;
24
- margin-bottom: 24px;
25
- padding: 0 30px;
26
- }
27
-
28
- .nb-menu__group {
29
- width: 100%;
30
- }
31
-
32
- .nb-menu__group + .nb-menu__group {
33
- margin-top: 24px;
34
- }
35
-
36
- .nb-menu__item {
37
- min-height: 88px;
38
- padding: 0 32px;
39
- background-color: #fff;
40
- position: relative;
41
- overflow: hidden;
42
- display: flex;
43
- align-items: center;
44
-
45
- &__icon {
46
- width: 40px;
47
- height: 40px;
48
- margin-right: 16px;
49
- color: inherit;
50
- }
51
-
52
- &__text {
53
- flex: 1;
54
- font-size: 28px;
55
- line-height: 42px;
56
- padding: 16px 16px 16px 0;
57
- word-break: break-all;
58
- }
59
-
60
- &__count {
61
- font-size: 28px;
62
- line-height: 42px;
63
- color: var(--nb-font-color-5);
64
- }
65
-
66
- &__arrow {
67
- position: absolute;
68
- top: 28px;
69
- right: 16px;
70
- width: 32px;
71
- height: 32px;
72
- color: #cad0e0;
73
- }
74
-
75
- // 选中
76
- &--active {
77
- background-color: var(--nb-theme-color);
78
- color: #fff;
79
-
80
- .nb-menu__item__count,
81
- .nb-menu__item__arrow {
82
- color: #ffffff !important;
83
- }
84
- }
85
-
86
- // 选中且异常
87
- &--abnormal {
88
- background-color: var(--nb-abnormal-color);
89
- }
90
- }
91
-
92
- .nb-menu__item + .nb-menu__item {
93
- &::before {
94
- content: '';
95
- position: absolute;
96
- left: 32px;
97
- right: 0;
98
- top: 0;
99
- background-color: #f4f6f9;
100
- height: 1px;
101
- }
102
- }
103
- }
104
-
105
- .nb-menu--footer {
106
- width: 100%;
107
- height: var(--nb-menu-footer-height);
108
- background-color: var(--nb-font-color);
109
- color: #ffffff;
110
- display: flex;
111
- align-items: center;
112
- justify-content: center;
113
- overflow-y: hidden;
114
- overflow-x: auto;
115
-
116
- .nb-menu__item {
117
- height: 100%;
118
- display: flex;
119
- align-items: center;
120
- justify-content: center;
121
-
122
- &__text {
123
- height: 100%;
124
- display: flex;
125
- flex-direction: column;
126
- justify-content: center;
127
-
128
- span {
129
- background-color: #0f377a;
130
- padding: 0 30px;
131
- min-width: 200px;
132
- height: 56px;
133
- border-radius: 32px;
134
- text-align: center;
135
- font-size: 28px;
136
- line-height: 56px;
137
- box-sizing: border-box;
138
- position: relative;
139
- }
140
-
141
- i {
142
- position: absolute;
143
- top: -8px;
144
- right: -8px;
145
- min-width: 32px;
146
- height: 32px;
147
- text-align: center;
148
- line-height: 32px;
149
- border-radius: 16px;
150
- color: #fff;
151
- background-color: var(--nb-abnormal-color);
152
- font-style: normal;
153
- font-size: 24px;
154
- padding: 0 4px;
155
- }
156
- }
157
-
158
- &__arrow {
159
- width: 32px;
160
- height: 32px;
161
- margin: 0 16px;
162
- color: #cad0e0;
163
- }
164
-
165
- &--active {
166
- .nb-menu__item__text span {
167
- background-color: var(--nb-theme-color);
168
- font-family: var(--nb-font-bold-family);
169
- }
170
- }
171
-
172
- &--disabled {
173
- cursor: not-allowed;
174
-
175
- .nb-menu__item__text span {
176
- background-color: #122e67;
177
- color: rgba(#ffffff, 0.2);
178
- }
179
- }
180
-
181
- &--import {
182
- .nb-menu__item__text span {
183
- color: #f98900;
184
- font-family: var(--nb-font-bold-family);
185
- }
186
- }
187
- }
188
- }
189
-
190
- .nb-menu--header {
191
- width: 100%;
192
- height: var(--nb-menu-header-height);
193
- background-color: var(--nb-font-color);
194
- color: #ffffff;
195
- display: flex;
196
- align-items: center;
197
- justify-content: space-between;
198
- overflow-y: hidden;
199
- overflow-x: auto;
200
- color: #ffffff;
201
- position: relative;
202
- overflow: hidden;
203
-
204
- .nb-menu__back {
205
- padding: 0 20px 0 32px;
206
- height: 100%;
207
- display: flex;
208
- align-items: center;
209
- justify-content: center;
210
-
211
- .svg-icon {
212
- width: 40px;
213
- height: 40px;
214
- margin-right: 4px;
215
- }
216
-
217
- &__text {
218
- font-size: 32px;
219
- line-height: 42px;
220
- font-family: var(--nb-font-bold-family);
221
- }
222
- }
223
-
224
- .nb-menu__logout {
225
- padding: 0 32px 0 34px;
226
- height: 100%;
227
- display: flex;
228
- align-items: center;
229
- justify-content: center;
230
-
231
- .svg-icon {
232
- width: 40px;
233
- height: 40px;
234
- margin-right: 4px;
235
- }
236
-
237
- &__text {
238
- font-size: 32px;
239
- line-height: 42px;
240
- font-family: var(--nb-font-bold-family);
241
- }
242
- }
243
-
244
- .nb-menu__title,
245
- .nb-menu__menus {
246
- height: 100%;
247
- position: absolute;
248
- top: 50%;
249
- left: 50%;
250
- transform: translate(-50%, -50%);
251
- z-index: 1;
252
- }
253
-
254
- .nb-menu__title {
255
- width: fit-content;
256
- text-align: center;
257
- font-size: 32px;
258
- line-height: 42px;
259
- font-family: var(--nb-font-bold-family);
260
- display: flex;
261
- align-items: center;
262
- justify-content: center;
263
- }
264
-
265
- .nb-menu__menus {
266
- display: flex;
267
- align-items: center;
268
- justify-content: center;
269
-
270
- .nb-menu__item {
271
- height: 100%;
272
- display: flex;
273
- align-items: center;
274
- justify-content: center;
275
-
276
- &__text {
277
- height: 48px;
278
- display: flex;
279
- flex-direction: column;
280
- justify-content: center;
281
- background-color: #0f377a;
282
- overflow: hidden;
283
-
284
- span {
285
- padding: 0 30px;
286
- min-width: 200px;
287
- height: 48px;
288
- text-align: center;
289
- font-size: 28px;
290
- line-height: 48px;
291
- box-sizing: border-box;
292
- position: relative;
293
- }
294
-
295
- i {
296
- position: absolute;
297
- top: -8px;
298
- right: -8px;
299
- min-width: 32px;
300
- height: 32px;
301
- text-align: center;
302
- line-height: 32px;
303
- border-radius: 16px;
304
- color: #fff;
305
- background-color: var(--nb-abnormal-color);
306
- font-style: normal;
307
- font-size: 24px;
308
- padding: 0 4px;
309
- }
310
- }
311
-
312
- &--active {
313
- .nb-menu__item__text span {
314
- background-color: var(--nb-theme-color);
315
- border-radius: 24px !important;
316
- }
317
- }
318
-
319
- &--disabled {
320
- cursor: not-allowed;
321
-
322
- .nb-menu__item__text span {
323
- background-color: #122e67;
324
- color: rgba(#ffffff, 0.2);
325
- }
326
- }
327
- }
328
-
329
- .nb-menu__item:first-child .nb-menu__item__text {
330
- border-radius: 24px 0 0 24px;
331
- }
332
-
333
- .nb-menu__item:last-child .nb-menu__item__text {
334
- border-radius: 0 24px 24px 0;
335
- }
336
- }
337
- }
338
-
339
- .nb-menu--grid {
340
- display: inline-flex;
341
- flex-wrap: wrap;
342
- width: var(--nb-menu-gird-width);
343
- height: var(--nb-menu-gird-height);
344
- overflow: hidden;
345
- .nb-menu__item {
346
- border-radius: 12px;
347
- color: #fff;
348
- position: relative;
349
- display: flex;
350
- flex-direction: column;
351
- justify-content: space-between;
352
- padding: 30px 30px 22px 30px;
353
- box-sizing: border-box;
354
- &__icon {
355
- width: 56px;
356
- height: 56px;
357
- }
358
- &__name {
359
- font-size: 40px;
360
- line-height: 60px;
361
- word-break: break-all;
362
- }
363
- &__desc {
364
- font-size: 18px;
365
- line-height: 28px;
366
- color: rgba(255, 255, 255, 0.7);
367
- }
368
- }
369
- // 1个菜单
370
- &--1 {
371
- .nb-menu__item:nth-child(1) {
372
- width: 480px;
373
- height: 240px;
374
- background: #009a82;
375
- margin-right: 40px;
376
- }
377
- }
378
- // 2个菜单
379
- &--2 {
380
- .nb-menu__item:nth-child(1) {
381
- width: 480px;
382
- height: 240px;
383
- background: #009a82;
384
- margin-right: 40px;
385
- }
386
- .nb-menu__item:nth-child(2) {
387
- width: 480px;
388
- height: 240px;
389
- background: #B0529F;
390
- }
391
- }
392
- // 3个菜单
393
- &--3 {
394
- .nb-menu__item:nth-child(1) {
395
- width: 480px;
396
- height: 240px;
397
- background: #009a82;
398
- margin-right: 40px;
399
- }
400
- .nb-menu__item:nth-child(2) {
401
- width: 480px;
402
- height: 240px;
403
- background: #B0529F;
404
- }
405
- .nb-menu__item:nth-child(3) {
406
- width: 420px;
407
- height: 360px;
408
- background: #5963AE;
409
- margin-top: 40px;
410
- }
411
- }
412
- // 4个菜单
413
- &--4 {
414
- .nb-menu__item:nth-child(1) {
415
- width: 480px;
416
- height: 240px;
417
- background: #009a82;
418
- margin-right: 40px;
419
- }
420
- .nb-menu__item:nth-child(2) {
421
- width: 480px;
422
- height: 360px;
423
- background: #B0529F;
424
- }
425
- .nb-menu__item:nth-child(3) {
426
- width: 480px;
427
- height: 360px;
428
- background: #5963AE;
429
- margin-top: -80px;
430
- margin-right: 40px;
431
- }
432
- .nb-menu__item:nth-child(4) {
433
- width: 480px;
434
- height: 240px;
435
- background: #E5A354;
436
- margin-top: 40px;
437
- }
438
- }
439
- // 5个菜单
440
- &--5 {
441
- .nb-menu__item:nth-child(1) {
442
- width: 480px;
443
- height: 240px;
444
- background: #009a82;
445
- margin-right: 40px;
446
- }
447
- .nb-menu__item:nth-child(2) {
448
- width: 220px;
449
- height: 360px;
450
- background: #B0529F;
451
- margin-right: 40px;
452
- }
453
- .nb-menu__item:nth-child(3) {
454
- width: 220px;
455
- height: 360px;
456
- background: #5963AE;
457
- }
458
- .nb-menu__item:nth-child(4) {
459
- width: 480px;
460
- height: 360px;
461
- background: #E5A354;
462
- margin-top: -80px;
463
- margin-right: 40px;
464
- }
465
- .nb-menu__item:nth-child(5) {
466
- width: 480px;
467
- height: 240px;
468
- background: #00A3B3;
469
- margin-top: 40px;
470
- }
471
- }
472
- // 6个菜单
473
- &--6 {
474
- .nb-menu__item:nth-child(1) {
475
- width: 480px;
476
- height: 240px;
477
- background: #009a82;
478
- margin-right: 40px;
479
- }
480
- .nb-menu__item:nth-child(2) {
481
- width: 220px;
482
- height: 360px;
483
- background: #B0529F;
484
- margin-right: 40px;
485
- }
486
- .nb-menu__item:nth-child(3) {
487
- width: 220px;
488
- height: 360px;
489
- background: #5963AE;
490
- }
491
- .nb-menu__item:nth-child(4) {
492
- width: 220px;
493
- height: 360px;
494
- background: #E5A354;
495
- margin-top: -80px;
496
- margin-right: 40px;
497
- }
498
- .nb-menu__item:nth-child(5) {
499
- width: 220px;
500
- height: 360px;
501
- background: #5963AE;
502
- margin-top: -80px;
503
- margin-right: 40px;
504
- }
505
- .nb-menu__item:nth-child(6) {
506
- width: 480px;
507
- height: 240px;
508
- background: #00A3B3;
509
- margin-top: 40px;
510
- }
511
- }
512
- // 7个菜单
513
- &--7 {
514
- .nb-menu__item:nth-child(1) {
515
- width: 480px;
516
- height: 240px;
517
- background: #009a82;
518
- margin-right: 40px;
519
- }
520
- .nb-menu__item:nth-child(2) {
521
- width: 220px;
522
- height: 360px;
523
- background: #B0529F;
524
- margin-right: 40px;
525
- }
526
- .nb-menu__item:nth-child(3) {
527
- width: 220px;
528
- height: 360px;
529
- background: #5963AE;
530
- }
531
- .nb-menu__item:nth-child(4) {
532
- width: 220px;
533
- height: 360px;
534
- background: #E5A354;
535
- margin-top: -80px;
536
- margin-right: 40px;
537
- }
538
- .nb-menu__item:nth-child(5) {
539
- width: 220px;
540
- height: 360px;
541
- background: #5963AE;
542
- margin-top: -80px;
543
- margin-right: 40px;
544
- }
545
- .nb-menu__item:nth-child(6) {
546
- width: 220px;
547
- height: 240px;
548
- background: #00A3B3;
549
- margin-top: 40px;
550
- margin-right: 40px;
551
- }
552
- .nb-menu__item:nth-child(7) {
553
- width: 220px;
554
- height: 240px;
555
- background: #009A82;
556
- margin-top: 40px;
557
- }
558
- }
559
- }