@cloudtower/eagle 0.26.12 → 0.26.13
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/dist/components/Button/index.d.ts +1 -1
- package/dist/components.css +260 -251
- package/dist/esm/index.js +7 -6
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +1 -1
- package/dist/style.css +934 -925
- package/dist/umd/index.js +5 -4
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
|
@@ -12,5 +12,5 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
12
12
|
} & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
13
13
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
15
|
-
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "icon" | "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default Button;
|
package/dist/components.css
CHANGED
|
@@ -29831,7 +29831,14 @@ html body {
|
|
|
29831
29831
|
font-family: "Inter var", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
|
|
29832
29832
|
}
|
|
29833
29833
|
}
|
|
29834
|
+
.buj61ew.ant-btn-icon-only {
|
|
29835
|
+
justify-content: center;
|
|
29836
|
+
}
|
|
29837
|
+
.buj61ew.ant-btn.ant-btn-link {
|
|
29838
|
+
padding: 0;
|
|
29839
|
+
}
|
|
29834
29840
|
.buj61ew.ant-btn {
|
|
29841
|
+
padding: 5px 12px;
|
|
29835
29842
|
height: 32px;
|
|
29836
29843
|
border-radius: 6px;
|
|
29837
29844
|
line-height: 22px;
|
|
@@ -29841,8 +29848,10 @@ html body {
|
|
|
29841
29848
|
.buj61ew.ant-btn.ant-btn-lg {
|
|
29842
29849
|
height: 40px;
|
|
29843
29850
|
line-height: 24px;
|
|
29851
|
+
padding: 8px 16px;
|
|
29844
29852
|
}
|
|
29845
29853
|
.buj61ew.ant-btn.ant-btn-sm {
|
|
29854
|
+
padding: 2px 8px;
|
|
29846
29855
|
height: 24px;
|
|
29847
29856
|
line-height: 20px;
|
|
29848
29857
|
}
|
|
@@ -30061,13 +30070,14 @@ html body {
|
|
|
30061
30070
|
.buj61ew.has-icon {
|
|
30062
30071
|
display: inline-flex;
|
|
30063
30072
|
align-items: center;
|
|
30073
|
+
justify-content: center;
|
|
30064
30074
|
}
|
|
30065
30075
|
.buj61ew .button-prefix-icon {
|
|
30066
|
-
margin-right:
|
|
30076
|
+
margin-right: 8px;
|
|
30067
30077
|
display: inline-flex;
|
|
30068
30078
|
}
|
|
30069
30079
|
.buj61ew .button-suffix-icon {
|
|
30070
|
-
margin-left:
|
|
30080
|
+
margin-left: 8px;
|
|
30071
30081
|
display: inline-flex;
|
|
30072
30082
|
}
|
|
30073
30083
|
.buj61ew .icon-wrapper {
|
|
@@ -30126,7 +30136,6 @@ html body {
|
|
|
30126
30136
|
.i1mrf09m {
|
|
30127
30137
|
display: inline-flex;
|
|
30128
30138
|
align-items: center;
|
|
30129
|
-
vertical-align: middle;
|
|
30130
30139
|
}
|
|
30131
30140
|
.i1mrf09m .icon-inner {
|
|
30132
30141
|
display: inline-flex;
|
|
@@ -30155,15 +30164,6 @@ html body {
|
|
|
30155
30164
|
margin-right: 4px;
|
|
30156
30165
|
}
|
|
30157
30166
|
|
|
30158
|
-
.obf05yr {
|
|
30159
|
-
display: inline-block;
|
|
30160
|
-
}
|
|
30161
|
-
|
|
30162
|
-
.hsms1n6 {
|
|
30163
|
-
visibility: hidden;
|
|
30164
|
-
position: absolute;
|
|
30165
|
-
}
|
|
30166
|
-
|
|
30167
30167
|
.p12gwtiw {
|
|
30168
30168
|
display: flex;
|
|
30169
30169
|
justify-content: space-between;
|
|
@@ -30221,142 +30221,13 @@ html body {
|
|
|
30221
30221
|
line-height: 18px;
|
|
30222
30222
|
}
|
|
30223
30223
|
|
|
30224
|
-
.
|
|
30225
|
-
|
|
30226
|
-
height: 24px;
|
|
30227
|
-
background: rgba(172, 186, 211, 0.6);
|
|
30228
|
-
overflow: hidden;
|
|
30229
|
-
}
|
|
30230
|
-
.s34f1qb.ant-switch:focus {
|
|
30231
|
-
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
30232
|
-
}
|
|
30233
|
-
.s34f1qb.ant-switch-small {
|
|
30234
|
-
min-width: 26px;
|
|
30235
|
-
height: 16px;
|
|
30236
|
-
}
|
|
30237
|
-
.s34f1qb.ant-switch-large {
|
|
30238
|
-
min-width: 52px;
|
|
30239
|
-
height: 32px;
|
|
30240
|
-
}
|
|
30241
|
-
.s34f1qb.ant-switch .ant-switch-handle {
|
|
30242
|
-
height: 20px;
|
|
30243
|
-
width: 20px;
|
|
30244
|
-
}
|
|
30245
|
-
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
30246
|
-
border-radius: 10px;
|
|
30247
|
-
transition-delay: 120ms;
|
|
30248
|
-
}
|
|
30249
|
-
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
30250
|
-
height: 14px;
|
|
30251
|
-
width: 14px;
|
|
30252
|
-
top: 1px;
|
|
30253
|
-
left: 1px;
|
|
30254
|
-
}
|
|
30255
|
-
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
30256
|
-
height: 28px;
|
|
30257
|
-
width: 28px;
|
|
30258
|
-
}
|
|
30259
|
-
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
30260
|
-
border-radius: 14px;
|
|
30261
|
-
}
|
|
30262
|
-
.s34f1qb.ant-switch-checked {
|
|
30263
|
-
background-color: #00ba5d;
|
|
30264
|
-
}
|
|
30265
|
-
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
30266
|
-
left: calc(100% - 20px - 2px);
|
|
30267
|
-
}
|
|
30268
|
-
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
30269
|
-
left: calc(100% - 14px - 1px);
|
|
30270
|
-
}
|
|
30271
|
-
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
30272
|
-
left: calc(100% - 28px - 2px);
|
|
30273
|
-
}
|
|
30274
|
-
|
|
30275
|
-
.c1to9vb9 {
|
|
30276
|
-
margin-left: 5px;
|
|
30224
|
+
.obf05yr {
|
|
30225
|
+
display: inline-block;
|
|
30277
30226
|
}
|
|
30278
30227
|
|
|
30279
|
-
.
|
|
30280
|
-
|
|
30281
|
-
justify-content: stretch;
|
|
30282
|
-
}
|
|
30283
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
|
|
30284
|
-
padding: 0;
|
|
30285
|
-
margin-right: 4px;
|
|
30286
|
-
flex: 1;
|
|
30287
|
-
overflow: visible;
|
|
30288
|
-
}
|
|
30289
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
|
|
30290
|
-
display: none;
|
|
30291
|
-
}
|
|
30292
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
|
|
30293
|
-
width: 100%;
|
|
30294
|
-
min-height: unset;
|
|
30295
|
-
}
|
|
30296
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
|
|
30297
|
-
height: 26px;
|
|
30298
|
-
line-height: 26px;
|
|
30299
|
-
width: 100%;
|
|
30300
|
-
text-align: center;
|
|
30301
|
-
padding: 0;
|
|
30302
|
-
font-size: 12px;
|
|
30303
|
-
font-weight: normal;
|
|
30304
|
-
}
|
|
30305
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
|
|
30306
|
-
margin-right: 10px;
|
|
30307
|
-
}
|
|
30308
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
|
|
30309
|
-
display: none;
|
|
30310
|
-
}
|
|
30311
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
|
|
30312
|
-
border-radius: 4px 0 0 4px;
|
|
30313
|
-
}
|
|
30314
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
|
|
30315
|
-
margin-right: 0;
|
|
30316
|
-
}
|
|
30317
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
|
|
30318
|
-
border-radius: 0 4px 4px 0;
|
|
30319
|
-
}
|
|
30320
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child)::after {
|
|
30321
|
-
content: "";
|
|
30322
|
-
width: 0;
|
|
30323
|
-
height: 0;
|
|
30324
|
-
border: 13px solid transparent;
|
|
30325
|
-
position: absolute;
|
|
30326
|
-
top: 0;
|
|
30327
|
-
border-left: 8px solid rgba(237, 241, 250, 0.6);
|
|
30328
|
-
right: -21px;
|
|
30329
|
-
z-index: 2;
|
|
30330
|
-
}
|
|
30331
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child)::before {
|
|
30332
|
-
content: "";
|
|
30333
|
-
width: 0;
|
|
30334
|
-
height: 0;
|
|
30335
|
-
border: 13px solid transparent;
|
|
30228
|
+
.hsms1n6 {
|
|
30229
|
+
visibility: hidden;
|
|
30336
30230
|
position: absolute;
|
|
30337
|
-
top: 0;
|
|
30338
|
-
border-left: 8px solid #fff;
|
|
30339
|
-
left: 0;
|
|
30340
|
-
}
|
|
30341
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
|
|
30342
|
-
background-color: rgba(0, 136, 255, 0.1);
|
|
30343
|
-
}
|
|
30344
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
|
|
30345
|
-
border-left-color: rgba(0, 136, 255, 0.1) !important;
|
|
30346
|
-
}
|
|
30347
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
|
|
30348
|
-
color: #005ed1;
|
|
30349
|
-
}
|
|
30350
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
|
|
30351
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
|
|
30352
|
-
background-color: rgba(237, 241, 250, 0.6);
|
|
30353
|
-
}
|
|
30354
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
|
|
30355
|
-
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
|
|
30356
|
-
color: rgba(44, 56, 82, 0.6);
|
|
30357
|
-
}
|
|
30358
|
-
.s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
|
|
30359
|
-
padding: 0;
|
|
30360
30231
|
}
|
|
30361
30232
|
|
|
30362
30233
|
.rxbeqvl.ant-radio-wrapper {
|
|
@@ -30505,6 +30376,89 @@ html body {
|
|
|
30505
30376
|
width: 36px;
|
|
30506
30377
|
}
|
|
30507
30378
|
|
|
30379
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
|
|
30380
|
+
flex-direction: row;
|
|
30381
|
+
justify-content: stretch;
|
|
30382
|
+
}
|
|
30383
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
|
|
30384
|
+
padding: 0;
|
|
30385
|
+
margin-right: 4px;
|
|
30386
|
+
flex: 1;
|
|
30387
|
+
overflow: visible;
|
|
30388
|
+
}
|
|
30389
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
|
|
30390
|
+
display: none;
|
|
30391
|
+
}
|
|
30392
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
|
|
30393
|
+
width: 100%;
|
|
30394
|
+
min-height: unset;
|
|
30395
|
+
}
|
|
30396
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
|
|
30397
|
+
height: 26px;
|
|
30398
|
+
line-height: 26px;
|
|
30399
|
+
width: 100%;
|
|
30400
|
+
text-align: center;
|
|
30401
|
+
padding: 0;
|
|
30402
|
+
font-size: 12px;
|
|
30403
|
+
font-weight: normal;
|
|
30404
|
+
}
|
|
30405
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
|
|
30406
|
+
margin-right: 10px;
|
|
30407
|
+
}
|
|
30408
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
|
|
30409
|
+
display: none;
|
|
30410
|
+
}
|
|
30411
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
|
|
30412
|
+
border-radius: 4px 0 0 4px;
|
|
30413
|
+
}
|
|
30414
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
|
|
30415
|
+
margin-right: 0;
|
|
30416
|
+
}
|
|
30417
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
|
|
30418
|
+
border-radius: 0 4px 4px 0;
|
|
30419
|
+
}
|
|
30420
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child)::after {
|
|
30421
|
+
content: "";
|
|
30422
|
+
width: 0;
|
|
30423
|
+
height: 0;
|
|
30424
|
+
border: 13px solid transparent;
|
|
30425
|
+
position: absolute;
|
|
30426
|
+
top: 0;
|
|
30427
|
+
border-left: 8px solid rgba(237, 241, 250, 0.6);
|
|
30428
|
+
right: -21px;
|
|
30429
|
+
z-index: 2;
|
|
30430
|
+
}
|
|
30431
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child)::before {
|
|
30432
|
+
content: "";
|
|
30433
|
+
width: 0;
|
|
30434
|
+
height: 0;
|
|
30435
|
+
border: 13px solid transparent;
|
|
30436
|
+
position: absolute;
|
|
30437
|
+
top: 0;
|
|
30438
|
+
border-left: 8px solid #fff;
|
|
30439
|
+
left: 0;
|
|
30440
|
+
}
|
|
30441
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
|
|
30442
|
+
background-color: rgba(0, 136, 255, 0.1);
|
|
30443
|
+
}
|
|
30444
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
|
|
30445
|
+
border-left-color: rgba(0, 136, 255, 0.1) !important;
|
|
30446
|
+
}
|
|
30447
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
|
|
30448
|
+
color: #005ed1;
|
|
30449
|
+
}
|
|
30450
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
|
|
30451
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
|
|
30452
|
+
background-color: rgba(237, 241, 250, 0.6);
|
|
30453
|
+
}
|
|
30454
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
|
|
30455
|
+
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
|
|
30456
|
+
color: rgba(44, 56, 82, 0.6);
|
|
30457
|
+
}
|
|
30458
|
+
.s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
|
|
30459
|
+
padding: 0;
|
|
30460
|
+
}
|
|
30461
|
+
|
|
30508
30462
|
.cz04yix {
|
|
30509
30463
|
display: flex;
|
|
30510
30464
|
flex-direction: column;
|
|
@@ -31170,6 +31124,61 @@ input.rrg1fkn.ant-input {
|
|
|
31170
31124
|
border-bottom-left-radius: 0;
|
|
31171
31125
|
}
|
|
31172
31126
|
|
|
31127
|
+
.s34f1qb.ant-switch {
|
|
31128
|
+
min-width: 40px;
|
|
31129
|
+
height: 24px;
|
|
31130
|
+
background: rgba(172, 186, 211, 0.6);
|
|
31131
|
+
overflow: hidden;
|
|
31132
|
+
}
|
|
31133
|
+
.s34f1qb.ant-switch:focus {
|
|
31134
|
+
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
31135
|
+
}
|
|
31136
|
+
.s34f1qb.ant-switch-small {
|
|
31137
|
+
min-width: 26px;
|
|
31138
|
+
height: 16px;
|
|
31139
|
+
}
|
|
31140
|
+
.s34f1qb.ant-switch-large {
|
|
31141
|
+
min-width: 52px;
|
|
31142
|
+
height: 32px;
|
|
31143
|
+
}
|
|
31144
|
+
.s34f1qb.ant-switch .ant-switch-handle {
|
|
31145
|
+
height: 20px;
|
|
31146
|
+
width: 20px;
|
|
31147
|
+
}
|
|
31148
|
+
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
31149
|
+
border-radius: 10px;
|
|
31150
|
+
transition-delay: 120ms;
|
|
31151
|
+
}
|
|
31152
|
+
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
31153
|
+
height: 14px;
|
|
31154
|
+
width: 14px;
|
|
31155
|
+
top: 1px;
|
|
31156
|
+
left: 1px;
|
|
31157
|
+
}
|
|
31158
|
+
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
31159
|
+
height: 28px;
|
|
31160
|
+
width: 28px;
|
|
31161
|
+
}
|
|
31162
|
+
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
31163
|
+
border-radius: 14px;
|
|
31164
|
+
}
|
|
31165
|
+
.s34f1qb.ant-switch-checked {
|
|
31166
|
+
background-color: #00ba5d;
|
|
31167
|
+
}
|
|
31168
|
+
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
31169
|
+
left: calc(100% - 20px - 2px);
|
|
31170
|
+
}
|
|
31171
|
+
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
31172
|
+
left: calc(100% - 14px - 1px);
|
|
31173
|
+
}
|
|
31174
|
+
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
31175
|
+
left: calc(100% - 28px - 2px);
|
|
31176
|
+
}
|
|
31177
|
+
|
|
31178
|
+
.c1to9vb9 {
|
|
31179
|
+
margin-left: 5px;
|
|
31180
|
+
}
|
|
31181
|
+
|
|
31173
31182
|
.t1upn1sz {
|
|
31174
31183
|
height: 100%;
|
|
31175
31184
|
}
|
|
@@ -31534,6 +31543,10 @@ input.rrg1fkn.ant-input {
|
|
|
31534
31543
|
background: #fff;
|
|
31535
31544
|
}
|
|
31536
31545
|
|
|
31546
|
+
.i1e4sgug {
|
|
31547
|
+
display: inline-block;
|
|
31548
|
+
}
|
|
31549
|
+
|
|
31537
31550
|
.s1fc623g {
|
|
31538
31551
|
width: 430px !important;
|
|
31539
31552
|
}
|
|
@@ -32090,10 +32103,6 @@ input.rrg1fkn.ant-input {
|
|
|
32090
32103
|
line-height: 12px;
|
|
32091
32104
|
}
|
|
32092
32105
|
|
|
32093
|
-
.i1e4sgug {
|
|
32094
|
-
display: inline-block;
|
|
32095
|
-
}
|
|
32096
|
-
|
|
32097
32106
|
.m15dvk92 {
|
|
32098
32107
|
display: flex;
|
|
32099
32108
|
justify-content: space-between;
|
|
@@ -32485,34 +32494,8 @@ input.rrg1fkn.ant-input {
|
|
|
32485
32494
|
margin-left: 8px;
|
|
32486
32495
|
}
|
|
32487
32496
|
|
|
32488
|
-
.
|
|
32489
|
-
|
|
32490
|
-
}
|
|
32491
|
-
.t1gz6wqf .table-loading-item {
|
|
32492
|
-
padding: 12px 4px;
|
|
32493
|
-
border-bottom: 1px solid rgba(204, 212, 227, 0.18);
|
|
32494
|
-
display: flex;
|
|
32495
|
-
}
|
|
32496
|
-
.t1gz6wqf .table-loading-item > * {
|
|
32497
|
-
height: 16px;
|
|
32498
|
-
margin: 4px;
|
|
32499
|
-
background: rgba(204, 212, 227, 0.18);
|
|
32500
|
-
border-radius: 2px;
|
|
32501
|
-
}
|
|
32502
|
-
.t1gz6wqf .table-loading-item .checkbox-loading {
|
|
32503
|
-
width: 16px;
|
|
32504
|
-
}
|
|
32505
|
-
.t1gz6wqf .table-loading-item .td-loading {
|
|
32506
|
-
flex: 1;
|
|
32507
|
-
}
|
|
32508
|
-
.t1gz6wqf :nth-child(1) {
|
|
32509
|
-
padding: 8px 4px;
|
|
32510
|
-
}
|
|
32511
|
-
.t1gz6wqf :nth-child(1) > * {
|
|
32512
|
-
background: rgba(107, 125, 153, 0.18);
|
|
32513
|
-
}
|
|
32514
|
-
.t1gz6wqf :nth-child(1) > * {
|
|
32515
|
-
background: rgba(163, 180, 204, 0.18);
|
|
32497
|
+
.c1k4vanq {
|
|
32498
|
+
padding: 0 16px 14px 16px;
|
|
32516
32499
|
}
|
|
32517
32500
|
|
|
32518
32501
|
.c1udgdh2 {
|
|
@@ -32555,8 +32538,34 @@ input.rrg1fkn.ant-input {
|
|
|
32555
32538
|
margin-right: 2px;
|
|
32556
32539
|
}
|
|
32557
32540
|
|
|
32558
|
-
.
|
|
32559
|
-
|
|
32541
|
+
.t1gz6wqf {
|
|
32542
|
+
height: 100%;
|
|
32543
|
+
}
|
|
32544
|
+
.t1gz6wqf .table-loading-item {
|
|
32545
|
+
padding: 12px 4px;
|
|
32546
|
+
border-bottom: 1px solid rgba(204, 212, 227, 0.18);
|
|
32547
|
+
display: flex;
|
|
32548
|
+
}
|
|
32549
|
+
.t1gz6wqf .table-loading-item > * {
|
|
32550
|
+
height: 16px;
|
|
32551
|
+
margin: 4px;
|
|
32552
|
+
background: rgba(204, 212, 227, 0.18);
|
|
32553
|
+
border-radius: 2px;
|
|
32554
|
+
}
|
|
32555
|
+
.t1gz6wqf .table-loading-item .checkbox-loading {
|
|
32556
|
+
width: 16px;
|
|
32557
|
+
}
|
|
32558
|
+
.t1gz6wqf .table-loading-item .td-loading {
|
|
32559
|
+
flex: 1;
|
|
32560
|
+
}
|
|
32561
|
+
.t1gz6wqf :nth-child(1) {
|
|
32562
|
+
padding: 8px 4px;
|
|
32563
|
+
}
|
|
32564
|
+
.t1gz6wqf :nth-child(1) > * {
|
|
32565
|
+
background: rgba(107, 125, 153, 0.18);
|
|
32566
|
+
}
|
|
32567
|
+
.t1gz6wqf :nth-child(1) > * {
|
|
32568
|
+
background: rgba(163, 180, 204, 0.18);
|
|
32560
32569
|
}
|
|
32561
32570
|
|
|
32562
32571
|
.bab9xum {
|
|
@@ -32568,28 +32577,35 @@ input.rrg1fkn.ant-input {
|
|
|
32568
32577
|
background-color: white;
|
|
32569
32578
|
}
|
|
32570
32579
|
|
|
32571
|
-
.
|
|
32572
|
-
|
|
32573
|
-
|
|
32580
|
+
.f1p9ti6d {
|
|
32581
|
+
width: 100%;
|
|
32582
|
+
margin-bottom: 0 !important;
|
|
32583
|
+
flex-flow: nowrap !important;
|
|
32584
|
+
line-break: auto;
|
|
32574
32585
|
}
|
|
32575
|
-
|
|
32576
|
-
|
|
32577
|
-
padding: 0
|
|
32578
|
-
height: 18px;
|
|
32586
|
+
.f1p9ti6d > .ant-form-item-label {
|
|
32587
|
+
text-align: left !important;
|
|
32588
|
+
padding-bottom: 0 !important;
|
|
32579
32589
|
}
|
|
32580
|
-
|
|
32581
|
-
|
|
32582
|
-
|
|
32583
|
-
|
|
32590
|
+
.f1p9ti6d > .ant-form-item-label > label {
|
|
32591
|
+
min-height: 32px;
|
|
32592
|
+
height: auto;
|
|
32593
|
+
font-size: 13px;
|
|
32594
|
+
color: rgba(44, 56, 82, 0.6);
|
|
32595
|
+
white-space: normal;
|
|
32584
32596
|
}
|
|
32585
|
-
|
|
32586
|
-
|
|
32587
|
-
margin: 0;
|
|
32597
|
+
.f1p9ti6d.ant-form-item-has-error .ant-input {
|
|
32598
|
+
border-color: #ff4d4f !important;
|
|
32588
32599
|
}
|
|
32589
|
-
|
|
32590
|
-
|
|
32591
|
-
|
|
32592
|
-
height:
|
|
32600
|
+
.f1p9ti6d .ant-form-item-explain {
|
|
32601
|
+
margin-top: 4px;
|
|
32602
|
+
font-size: 12px;
|
|
32603
|
+
min-height: 0px;
|
|
32604
|
+
}
|
|
32605
|
+
.f1p9ti6d .ant-form-item-extra {
|
|
32606
|
+
font-size: 12px;
|
|
32607
|
+
color: rgba(44, 56, 82, 0.6);
|
|
32608
|
+
min-height: 0px;
|
|
32593
32609
|
}
|
|
32594
32610
|
|
|
32595
32611
|
.tc40oxa {
|
|
@@ -32785,46 +32801,6 @@ input.rrg1fkn.ant-input {
|
|
|
32785
32801
|
margin-right: 8px;
|
|
32786
32802
|
}
|
|
32787
32803
|
|
|
32788
|
-
.f1p9ti6d {
|
|
32789
|
-
width: 100%;
|
|
32790
|
-
margin-bottom: 0 !important;
|
|
32791
|
-
flex-flow: nowrap !important;
|
|
32792
|
-
line-break: auto;
|
|
32793
|
-
}
|
|
32794
|
-
.f1p9ti6d > .ant-form-item-label {
|
|
32795
|
-
text-align: left !important;
|
|
32796
|
-
padding-bottom: 0 !important;
|
|
32797
|
-
}
|
|
32798
|
-
.f1p9ti6d > .ant-form-item-label > label {
|
|
32799
|
-
min-height: 32px;
|
|
32800
|
-
height: auto;
|
|
32801
|
-
font-size: 13px;
|
|
32802
|
-
color: rgba(44, 56, 82, 0.6);
|
|
32803
|
-
white-space: normal;
|
|
32804
|
-
}
|
|
32805
|
-
.f1p9ti6d.ant-form-item-has-error .ant-input {
|
|
32806
|
-
border-color: #ff4d4f !important;
|
|
32807
|
-
}
|
|
32808
|
-
.f1p9ti6d .ant-form-item-explain {
|
|
32809
|
-
margin-top: 4px;
|
|
32810
|
-
font-size: 12px;
|
|
32811
|
-
min-height: 0px;
|
|
32812
|
-
}
|
|
32813
|
-
.f1p9ti6d .ant-form-item-extra {
|
|
32814
|
-
font-size: 12px;
|
|
32815
|
-
color: rgba(44, 56, 82, 0.6);
|
|
32816
|
-
min-height: 0px;
|
|
32817
|
-
}
|
|
32818
|
-
|
|
32819
|
-
.w1xcixj5.outside-tag {
|
|
32820
|
-
padding-left: 0;
|
|
32821
|
-
}
|
|
32822
|
-
.w1xcixj5.outside-tag .inside-tag {
|
|
32823
|
-
border-radius: 4px 0 0 4px;
|
|
32824
|
-
padding-right: 4px;
|
|
32825
|
-
margin-right: 4px;
|
|
32826
|
-
}
|
|
32827
|
-
|
|
32828
32804
|
.at4ovwe .ant-input-number-handler-wrap {
|
|
32829
32805
|
display: var(--at4ovwe-0);
|
|
32830
32806
|
}
|
|
@@ -32871,23 +32847,37 @@ input.rrg1fkn.ant-input {
|
|
|
32871
32847
|
font-size: inherit;
|
|
32872
32848
|
}
|
|
32873
32849
|
|
|
32874
|
-
.
|
|
32875
|
-
margin-
|
|
32850
|
+
.iwsze0q {
|
|
32851
|
+
margin-right: 4px;
|
|
32852
|
+
height: 16px;
|
|
32876
32853
|
}
|
|
32877
|
-
|
|
32878
|
-
|
|
32879
|
-
|
|
32880
|
-
|
|
32881
|
-
font-family: "Inter";
|
|
32882
|
-
font-weight: 400;
|
|
32883
|
-
font-size: 12px;
|
|
32884
|
-
line-height: 18px;
|
|
32854
|
+
|
|
32855
|
+
.sut42l0 {
|
|
32856
|
+
padding: 0 8px;
|
|
32857
|
+
height: 18px;
|
|
32885
32858
|
}
|
|
32886
|
-
|
|
32887
|
-
|
|
32859
|
+
|
|
32860
|
+
.mfsz1jz {
|
|
32861
|
+
padding: 2px 8px;
|
|
32862
|
+
height: 24px;
|
|
32888
32863
|
}
|
|
32889
|
-
|
|
32890
|
-
|
|
32864
|
+
|
|
32865
|
+
.tnd6h4m {
|
|
32866
|
+
margin: 0;
|
|
32867
|
+
}
|
|
32868
|
+
|
|
32869
|
+
.i1qw4clm {
|
|
32870
|
+
margin-right: 4px;
|
|
32871
|
+
height: 16px;
|
|
32872
|
+
}
|
|
32873
|
+
|
|
32874
|
+
.w1xcixj5.outside-tag {
|
|
32875
|
+
padding-left: 0;
|
|
32876
|
+
}
|
|
32877
|
+
.w1xcixj5.outside-tag .inside-tag {
|
|
32878
|
+
border-radius: 4px 0 0 4px;
|
|
32879
|
+
padding-right: 4px;
|
|
32880
|
+
margin-right: 4px;
|
|
32891
32881
|
}
|
|
32892
32882
|
|
|
32893
32883
|
.a6dbbkm .ant-input-number-handler-wrap {
|
|
@@ -32919,4 +32909,23 @@ input.rrg1fkn.ant-input {
|
|
|
32919
32909
|
margin: 0;
|
|
32920
32910
|
height: auto;
|
|
32921
32911
|
font-size: inherit;
|
|
32912
|
+
}
|
|
32913
|
+
|
|
32914
|
+
.feau332.ant-form-item {
|
|
32915
|
+
margin-bottom: 0;
|
|
32916
|
+
}
|
|
32917
|
+
.feau332 .ant-form-item-explain {
|
|
32918
|
+
display: none;
|
|
32919
|
+
min-height: 18px;
|
|
32920
|
+
margin-top: 5px;
|
|
32921
|
+
font-family: "Inter";
|
|
32922
|
+
font-weight: 400;
|
|
32923
|
+
font-size: 12px;
|
|
32924
|
+
line-height: 18px;
|
|
32925
|
+
}
|
|
32926
|
+
.feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) {
|
|
32927
|
+
white-space: pre-wrap;
|
|
32928
|
+
}
|
|
32929
|
+
.feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) .ant-form-item-explain {
|
|
32930
|
+
display: block;
|
|
32922
32931
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -10,11 +10,11 @@ export * from '@cloudtower/parrot';
|
|
|
10
10
|
import { useTranslation, withTranslation } from 'react-i18next';
|
|
11
11
|
import { cx } from '@linaria/core';
|
|
12
12
|
import { styled } from '@linaria/react';
|
|
13
|
-
import { ArrowRightGrayIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
13
|
+
import { ArrowRightGrayIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
14
14
|
import moment from 'moment';
|
|
15
15
|
import { findDOMNode } from 'react-dom';
|
|
16
16
|
import { isElement } from 'react-is';
|
|
17
|
-
import { CloseCircleFilled, CheckOutlined, SearchOutlined,
|
|
17
|
+
import { CloseCircleFilled, CheckOutlined, SearchOutlined, EyeOutlined, EyeInvisibleOutlined } from '@ant-design/icons';
|
|
18
18
|
import CheckCircleFilled from '@ant-design/icons/CheckCircleFilled';
|
|
19
19
|
import CloseCircleFilled$1 from '@ant-design/icons/CloseCircleFilled';
|
|
20
20
|
import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
|
@@ -974,9 +974,10 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
974
974
|
const [status, setStatus] = useState("normal");
|
|
975
975
|
const hasIcon = prefixIcon || suffixIcon;
|
|
976
976
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
977
|
+
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
977
978
|
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$K({
|
|
978
979
|
ref,
|
|
979
|
-
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`,
|
|
980
|
+
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, onlyIcon && "ant-btn-icon-only"),
|
|
980
981
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
981
982
|
onMouseEnter: e => {
|
|
982
983
|
onMouseEnter == null ? void 0 : onMouseEnter(e);
|
|
@@ -995,12 +996,12 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
995
996
|
icon: prefixIcon,
|
|
996
997
|
hoverEle: hoverPrefixIcon,
|
|
997
998
|
hover: status === "hover",
|
|
998
|
-
className: "button-prefix-icon"
|
|
999
|
+
className: !onlyIcon ? "button-prefix-icon" : ""
|
|
999
1000
|
}), children, suffixIcon && /* @__PURE__ */React__default.createElement(HoverableElement, {
|
|
1000
1001
|
icon: suffixIcon,
|
|
1001
1002
|
hoverEle: hoverSuffixIcon,
|
|
1002
1003
|
hover: status === "hover",
|
|
1003
|
-
className: "button-suffix-icon"
|
|
1004
|
+
className: !onlyIcon ? "button-suffix-icon" : ""
|
|
1004
1005
|
}));
|
|
1005
1006
|
});
|
|
1006
1007
|
|
|
@@ -3982,7 +3983,7 @@ const AddRowButton = (props) => {
|
|
|
3982
3983
|
__spreadProps$b(__spreadValues$b({}, restButtonProps), {
|
|
3983
3984
|
type: restButtonProps.type || "ordinary",
|
|
3984
3985
|
size: restButtonProps.size || "small",
|
|
3985
|
-
|
|
3986
|
+
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
|
|
3986
3987
|
className: cx(Typo.Label.l3_regular, restButtonProps.className),
|
|
3987
3988
|
onClick: (e) => {
|
|
3988
3989
|
onAdd(e, data);
|