upp-platform-core 1.0.52 → 1.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 2023-11-17 v1.0.53
2
+
3
+ commonDialog组件按钮添加disable参数控制是否禁用
4
+
5
+ 修复当前用户无租户用户表却有currenttenantcode字段
6
+
1
7
  # 2023-11-16 v1.0.52
2
8
 
3
9
  处理动态路由时,将外部链接路由放在第一级,以免父级的path污染数据
package/lib/index.css CHANGED
@@ -1,3 +1,213 @@
1
+ .is-in-iframe .tdesign-starter-content-layout,
2
+ .is-in-full-screen .tdesign-starter-content-layout {
3
+ padding: 0 !important;
4
+ }
5
+ .is-in-iframe .t-layout__content,
6
+ .is-in-full-screen .t-layout__content,
7
+ .is-in-iframe .tdesign-starter-layout,
8
+ .is-in-full-screen .tdesign-starter-layout,
9
+ .is-in-iframe .iframe-content .iframe-view,
10
+ .is-in-full-screen .iframe-content .iframe-view {
11
+ height: 100vh;
12
+ }
13
+ .is-in-full-screen .t-layout__header,
14
+ .is-in-full-screen .tdesign-starter-layout-tabs-nav,
15
+ .is-in-full-screen .t-layout__sider,
16
+ .is-in-full-screen .tdesign-starter-sidebar-layout {
17
+ display: none;
18
+ }
19
+ .is-in-full-screen div > section.t-layout {
20
+ height: 100vh;
21
+ }
22
+ .tdesign-starter-side-nav-mix-fixed .t-menu__logo {
23
+ display: none !important;
24
+ }
25
+ .el-dialog.file-uplaod__preview-image .el-dialog__header {
26
+ border: none;
27
+ }
28
+
29
+ .project__unshow-type .t-menu__logo {
30
+ display: flex;
31
+ justify-content: center;
32
+ background-color: #263455;
33
+ }
34
+ .project__unshow-type .t-menu__logo .tdesign-starter-side-nav-logo-wrapper {
35
+ width: 20%;
36
+ }
37
+ .project__unshow-type .t-menu__logo span {
38
+ color: #FFFFFF !important;
39
+ font-size: 16px;
40
+ }
41
+ .project__unshow-type .t-default-menu__inner {
42
+ height: 100%;
43
+ }
44
+ .project__unshow-type .header-logo-container {
45
+ width: 216px;
46
+ margin-left: 16px;
47
+ }
48
+ .project__unshow-type .t-menu {
49
+ padding: 0;
50
+ }
51
+ .project__unshow-type .t-menu .t-head-menu__inner {
52
+ background-color: #FFFFFF !important;
53
+ border: none;
54
+ }
55
+ .project__unshow-type .t-menu--scroll {
56
+ background-color: #17233D;
57
+ }
58
+ .project__unshow-type .t-menu__content,
59
+ .project__unshow-type .svg-icon,
60
+ .project__unshow-type .t-fake-arrow {
61
+ color: #A9AEB7;
62
+ }
63
+ .project__unshow-type .operations-container .t-button {
64
+ background-color: #FFFFFF;
65
+ border: 1px solid #C9C9C9;
66
+ }
67
+ .project__unshow-type .operations-container .t-button:hover {
68
+ background-color: #C9C9C9;
69
+ color: #FFFFFF !important;
70
+ }
71
+ .project__unshow-type .operations-container .svg-icon,
72
+ .project__unshow-type .operations-container .t-icon,
73
+ .project__unshow-type .operations-container .header-user-account,
74
+ .project__unshow-type .operations-container span {
75
+ color: #000000 !important;
76
+ }
77
+ .project__unshow-type .t-is-opened .t-menu__item .svg-icon,
78
+ .project__unshow-type .t-is-opened .t-menu__item .t-menu__content {
79
+ color: #8B919E !important;
80
+ }
81
+ .project__unshow-type .t-menu__item.t-is-opened.t-is-active .svg-icon,
82
+ .project__unshow-type .t-menu__item.t-is-opened.t-is-active .t-menu__content {
83
+ color: #FFFFFF !important;
84
+ }
85
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) {
86
+ margin-left: 20px;
87
+ padding-left: 38px;
88
+ border-radius: 0;
89
+ border-top-left-radius: 4px;
90
+ border-bottom-left-radius: 4px;
91
+ }
92
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened)::before {
93
+ content: "";
94
+ position: absolute;
95
+ left: -20px;
96
+ width: 5px;
97
+ height: 100%;
98
+ background-color: #296DF1;
99
+ border-top-right-radius: 4px;
100
+ border-bottom-right-radius: 4px;
101
+ }
102
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .svg-icon,
103
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .t-menu__content {
104
+ font-weight: 700;
105
+ color: #17233D !important;
106
+ }
107
+ .project__unshow-type .el-pagination__total {
108
+ position: absolute;
109
+ left: 0;
110
+ }
111
+ .project__unshow-type .el-table__header-wrapper th,
112
+ .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th {
113
+ padding: 0;
114
+ }
115
+ .project__unshow-type .el-table__header-wrapper th .cell,
116
+ .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th .cell {
117
+ background-color: #E9F3FF;
118
+ color: #3172F1;
119
+ padding: 2px 10px;
120
+ }
121
+ .project__unshow-type .el-icon-check::before {
122
+ color: var(--primary-btn);
123
+ }
124
+ .project__unshow-type .el-icon-check::before:hover {
125
+ background-color: #84CAFD !important;
126
+ }
127
+ .project__unshow-type .el-button.common-btn:not(:hover),
128
+ .project__unshow-type .el-button--primary.is-plain {
129
+ color: var(--primary-btn);
130
+ border-color: var(--primary-btn) !important;
131
+ background-color: #FFFFFF;
132
+ }
133
+ .project__unshow-type .el-button.common-btn:not(:hover):not(.common-btn):hover,
134
+ .project__unshow-type .el-button--primary.is-plain:not(.common-btn):hover {
135
+ color: #FFFFFF !important;
136
+ background-color: var(--light-blue-color) !important;
137
+ border-color: var(--light-blue-color) !important;
138
+ }
139
+ .project__unshow-type .el-button--primary:not(.is-plain) {
140
+ color: #FFFFFF !important;
141
+ background-color: var(--primary-btn) !important;
142
+ }
143
+ .project__unshow-type .el-button--primary:not(.is-plain) .el-icon-check::before {
144
+ color: #FFFFFF;
145
+ }
146
+ .project__unshow-type .el-button--primary:not(.is-plain):hover {
147
+ background-color: var(--light-blue-color) !important;
148
+ border-color: var(--light-blue-color) !important;
149
+ }
150
+ .project__unshow-type .el-button--warning {
151
+ color: #F7BF17 !important;
152
+ background-color: #FFFFFF !important;
153
+ }
154
+ .project__unshow-type .el-button--warning:hover {
155
+ color: #FFFFFF !important;
156
+ background-color: #F7BF17 !important;
157
+ border-color: #F7BF17 !important;
158
+ }
159
+ .project__unshow-type .el-button--danger {
160
+ color: #F56C6C !important;
161
+ background-color: #FFFFFF !important;
162
+ }
163
+ .project__unshow-type .el-button--danger:hover {
164
+ color: #FFFFFF !important;
165
+ background-color: #F56C6C !important;
166
+ border-color: #F56C6C !important;
167
+ }
168
+ .project__unshow-type .el-button--success {
169
+ color: #67C23A !important;
170
+ background-color: #FFFFFF !important;
171
+ }
172
+ .project__unshow-type .el-button--success:hover {
173
+ color: #FFFFFF !important;
174
+ background-color: #67C23A !important;
175
+ border-color: #67C23A !important;
176
+ }
177
+ .project__unshow-type .el-tag {
178
+ border-color: var(--light-blue-color);
179
+ }
180
+ .project__unshow-type .el-tag.el-tag--danger {
181
+ border-color: #F56C6C;
182
+ }
183
+ .project__unshow-type .user-info > .el-card__header {
184
+ background-color: #17233D !important;
185
+ }
186
+ .project__unshow-type .login-container-normal .login-form-normal.login-form {
187
+ width: 562px;
188
+ }
189
+ :root[theme-mode="dark"] .project__unshow-type .t-menu .t-head-menu__inner {
190
+ background-color: #17233D !important;
191
+ }
192
+ :root[theme-mode="dark"] .project__unshow-type .svg-icon,
193
+ :root[theme-mode="dark"] .project__unshow-type .t-icon,
194
+ :root[theme-mode="dark"] .project__unshow-type .header-user-account,
195
+ :root[theme-mode="dark"] .project__unshow-type span {
196
+ color: #FFFFFF !important;
197
+ }
198
+ :root[theme-mode="dark"] .project__unshow-type .operations-container .t-button {
199
+ background-color: transparent;
200
+ }
201
+ :root[theme-mode="dark"] .el-button.common-btn:not(:hover),
202
+ :root[theme-mode="dark"] .el-button--primary.is-plain {
203
+ color: #FFFFFF;
204
+ border-color: var(--primary-btn) !important;
205
+ }
206
+ :root[theme-mode="dark"] .el-button--primary.is-plain:hover {
207
+ color: var(--primary-btn) !important;
208
+ border-color: var(--light-blue-color) !important;
209
+ }
210
+
1
211
  .form-layout {
2
212
  display: flex;
3
213
  flex-wrap: wrap;
@@ -270,216 +480,6 @@
270
480
  margin-left: 10px;
271
481
  }
272
482
 
273
- .is-in-iframe .tdesign-starter-content-layout,
274
- .is-in-full-screen .tdesign-starter-content-layout {
275
- padding: 0 !important;
276
- }
277
- .is-in-iframe .t-layout__content,
278
- .is-in-full-screen .t-layout__content,
279
- .is-in-iframe .tdesign-starter-layout,
280
- .is-in-full-screen .tdesign-starter-layout,
281
- .is-in-iframe .iframe-content .iframe-view,
282
- .is-in-full-screen .iframe-content .iframe-view {
283
- height: 100vh;
284
- }
285
- .is-in-full-screen .t-layout__header,
286
- .is-in-full-screen .tdesign-starter-layout-tabs-nav,
287
- .is-in-full-screen .t-layout__sider,
288
- .is-in-full-screen .tdesign-starter-sidebar-layout {
289
- display: none;
290
- }
291
- .is-in-full-screen div > section.t-layout {
292
- height: 100vh;
293
- }
294
- .tdesign-starter-side-nav-mix-fixed .t-menu__logo {
295
- display: none !important;
296
- }
297
- .el-dialog.file-uplaod__preview-image .el-dialog__header {
298
- border: none;
299
- }
300
-
301
- .project__unshow-type .t-menu__logo {
302
- display: flex;
303
- justify-content: center;
304
- background-color: #263455;
305
- }
306
- .project__unshow-type .t-menu__logo .tdesign-starter-side-nav-logo-wrapper {
307
- width: 20%;
308
- }
309
- .project__unshow-type .t-menu__logo span {
310
- color: #FFFFFF !important;
311
- font-size: 16px;
312
- }
313
- .project__unshow-type .t-default-menu__inner {
314
- height: 100%;
315
- }
316
- .project__unshow-type .header-logo-container {
317
- width: 216px;
318
- margin-left: 16px;
319
- }
320
- .project__unshow-type .t-menu {
321
- padding: 0;
322
- }
323
- .project__unshow-type .t-menu .t-head-menu__inner {
324
- background-color: #FFFFFF !important;
325
- border: none;
326
- }
327
- .project__unshow-type .t-menu--scroll {
328
- background-color: #17233D;
329
- }
330
- .project__unshow-type .t-menu__content,
331
- .project__unshow-type .svg-icon,
332
- .project__unshow-type .t-fake-arrow {
333
- color: #A9AEB7;
334
- }
335
- .project__unshow-type .operations-container .t-button {
336
- background-color: #FFFFFF;
337
- border: 1px solid #C9C9C9;
338
- }
339
- .project__unshow-type .operations-container .t-button:hover {
340
- background-color: #C9C9C9;
341
- color: #FFFFFF !important;
342
- }
343
- .project__unshow-type .operations-container .svg-icon,
344
- .project__unshow-type .operations-container .t-icon,
345
- .project__unshow-type .operations-container .header-user-account,
346
- .project__unshow-type .operations-container span {
347
- color: #000000 !important;
348
- }
349
- .project__unshow-type .t-is-opened .t-menu__item .svg-icon,
350
- .project__unshow-type .t-is-opened .t-menu__item .t-menu__content {
351
- color: #8B919E !important;
352
- }
353
- .project__unshow-type .t-menu__item.t-is-opened.t-is-active .svg-icon,
354
- .project__unshow-type .t-menu__item.t-is-opened.t-is-active .t-menu__content {
355
- color: #FFFFFF !important;
356
- }
357
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) {
358
- margin-left: 20px;
359
- padding-left: 38px;
360
- border-radius: 0;
361
- border-top-left-radius: 4px;
362
- border-bottom-left-radius: 4px;
363
- }
364
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened)::before {
365
- content: "";
366
- position: absolute;
367
- left: -20px;
368
- width: 5px;
369
- height: 100%;
370
- background-color: #296DF1;
371
- border-top-right-radius: 4px;
372
- border-bottom-right-radius: 4px;
373
- }
374
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .svg-icon,
375
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .t-menu__content {
376
- font-weight: 700;
377
- color: #17233D !important;
378
- }
379
- .project__unshow-type .el-pagination__total {
380
- position: absolute;
381
- left: 0;
382
- }
383
- .project__unshow-type .el-table__header-wrapper th,
384
- .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th {
385
- padding: 0;
386
- }
387
- .project__unshow-type .el-table__header-wrapper th .cell,
388
- .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th .cell {
389
- background-color: #E9F3FF;
390
- color: #3172F1;
391
- padding: 2px 10px;
392
- }
393
- .project__unshow-type .el-icon-check::before {
394
- color: var(--primary-btn);
395
- }
396
- .project__unshow-type .el-icon-check::before:hover {
397
- background-color: #84CAFD !important;
398
- }
399
- .project__unshow-type .el-button.common-btn:not(:hover),
400
- .project__unshow-type .el-button--primary.is-plain {
401
- color: var(--primary-btn);
402
- border-color: var(--primary-btn) !important;
403
- background-color: #FFFFFF;
404
- }
405
- .project__unshow-type .el-button.common-btn:not(:hover):not(.common-btn):hover,
406
- .project__unshow-type .el-button--primary.is-plain:not(.common-btn):hover {
407
- color: #FFFFFF !important;
408
- background-color: var(--light-blue-color) !important;
409
- border-color: var(--light-blue-color) !important;
410
- }
411
- .project__unshow-type .el-button--primary:not(.is-plain) {
412
- color: #FFFFFF !important;
413
- background-color: var(--primary-btn) !important;
414
- }
415
- .project__unshow-type .el-button--primary:not(.is-plain) .el-icon-check::before {
416
- color: #FFFFFF;
417
- }
418
- .project__unshow-type .el-button--primary:not(.is-plain):hover {
419
- background-color: var(--light-blue-color) !important;
420
- border-color: var(--light-blue-color) !important;
421
- }
422
- .project__unshow-type .el-button--warning {
423
- color: #F7BF17 !important;
424
- background-color: #FFFFFF !important;
425
- }
426
- .project__unshow-type .el-button--warning:hover {
427
- color: #FFFFFF !important;
428
- background-color: #F7BF17 !important;
429
- border-color: #F7BF17 !important;
430
- }
431
- .project__unshow-type .el-button--danger {
432
- color: #F56C6C !important;
433
- background-color: #FFFFFF !important;
434
- }
435
- .project__unshow-type .el-button--danger:hover {
436
- color: #FFFFFF !important;
437
- background-color: #F56C6C !important;
438
- border-color: #F56C6C !important;
439
- }
440
- .project__unshow-type .el-button--success {
441
- color: #67C23A !important;
442
- background-color: #FFFFFF !important;
443
- }
444
- .project__unshow-type .el-button--success:hover {
445
- color: #FFFFFF !important;
446
- background-color: #67C23A !important;
447
- border-color: #67C23A !important;
448
- }
449
- .project__unshow-type .el-tag {
450
- border-color: var(--light-blue-color);
451
- }
452
- .project__unshow-type .el-tag.el-tag--danger {
453
- border-color: #F56C6C;
454
- }
455
- .project__unshow-type .user-info > .el-card__header {
456
- background-color: #17233D !important;
457
- }
458
- .project__unshow-type .login-container-normal .login-form-normal.login-form {
459
- width: 562px;
460
- }
461
- :root[theme-mode="dark"] .project__unshow-type .t-menu .t-head-menu__inner {
462
- background-color: #17233D !important;
463
- }
464
- :root[theme-mode="dark"] .project__unshow-type .svg-icon,
465
- :root[theme-mode="dark"] .project__unshow-type .t-icon,
466
- :root[theme-mode="dark"] .project__unshow-type .header-user-account,
467
- :root[theme-mode="dark"] .project__unshow-type span {
468
- color: #FFFFFF !important;
469
- }
470
- :root[theme-mode="dark"] .project__unshow-type .operations-container .t-button {
471
- background-color: transparent;
472
- }
473
- :root[theme-mode="dark"] .el-button.common-btn:not(:hover),
474
- :root[theme-mode="dark"] .el-button--primary.is-plain {
475
- color: #FFFFFF;
476
- border-color: var(--primary-btn) !important;
477
- }
478
- :root[theme-mode="dark"] .el-button--primary.is-plain:hover {
479
- color: var(--primary-btn) !important;
480
- border-color: var(--light-blue-color) !important;
481
- }
482
-
483
483
  :root,
484
484
  :root[theme-mode="light"] {
485
485
  --td-brand-color-1: #E0EBFF;