@cloudtower/eagle 0.26.15 → 0.26.17

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/style.css CHANGED
@@ -29918,35 +29918,6 @@ html body {
29918
29918
  font-family: "Inter var", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
29919
29919
  }
29920
29920
  }
29921
- .bpq0js6 {
29922
- padding: 4px 11px;
29923
- }
29924
-
29925
- .b15sn34c {
29926
- white-space: nowrap;
29927
- filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
29928
- }
29929
- .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
29930
- --color: #0080ff;
29931
- }
29932
- .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
29933
- --color: #0080ff;
29934
- }
29935
- .b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
29936
- margin-left: 1px;
29937
- }
29938
- .b15sn34c > .ant-btn:not(:only-child):first-child {
29939
- border-top-right-radius: 0;
29940
- border-bottom-right-radius: 0;
29941
- }
29942
- .b15sn34c > .ant-btn:not(:only-child):last-child {
29943
- border-top-left-radius: 0;
29944
- border-bottom-left-radius: 0;
29945
- }
29946
- .b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
29947
- border-radius: unset;
29948
- }
29949
-
29950
29921
  .buj61ew.ant-btn-icon-only {
29951
29922
  justify-content: center;
29952
29923
  }
@@ -30205,6 +30176,35 @@ html body {
30205
30176
  padding: 0;
30206
30177
  }
30207
30178
 
30179
+ .bpq0js6 {
30180
+ padding: 4px 11px;
30181
+ }
30182
+
30183
+ .b15sn34c {
30184
+ white-space: nowrap;
30185
+ filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
30186
+ }
30187
+ .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
30188
+ --color: #0080ff;
30189
+ }
30190
+ .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
30191
+ --color: #0080ff;
30192
+ }
30193
+ .b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
30194
+ margin-left: 1px;
30195
+ }
30196
+ .b15sn34c > .ant-btn:not(:only-child):first-child {
30197
+ border-top-right-radius: 0;
30198
+ border-bottom-right-radius: 0;
30199
+ }
30200
+ .b15sn34c > .ant-btn:not(:only-child):last-child {
30201
+ border-top-left-radius: 0;
30202
+ border-bottom-left-radius: 0;
30203
+ }
30204
+ .b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
30205
+ border-radius: unset;
30206
+ }
30207
+
30208
30208
  .fde5mpd {
30209
30209
  width: 100%;
30210
30210
  height: 100%;
@@ -30220,19 +30220,6 @@ html body {
30220
30220
  font-size: 18px;
30221
30221
  }
30222
30222
 
30223
- .iap75of {
30224
- height: 18px;
30225
- line-height: 18px;
30226
- padding: 0 4px;
30227
- border-radius: 4px;
30228
- background: rgba(235, 239, 245, 0.6);
30229
- border: 1px solid rgba(223, 228, 235, 0.6);
30230
- display: flex;
30231
- align-items: center;
30232
- white-space: nowrap;
30233
- margin-right: 4px;
30234
- }
30235
-
30236
30223
  .i1mrf09m {
30237
30224
  display: inline-flex;
30238
30225
  align-items: center;
@@ -30251,6 +30238,19 @@ html body {
30251
30238
  animation: rotate 680ms linear infinite;
30252
30239
  }
30253
30240
 
30241
+ .iap75of {
30242
+ height: 18px;
30243
+ line-height: 18px;
30244
+ padding: 0 4px;
30245
+ border-radius: 4px;
30246
+ background: rgba(235, 239, 245, 0.6);
30247
+ border: 1px solid rgba(223, 228, 235, 0.6);
30248
+ display: flex;
30249
+ align-items: center;
30250
+ white-space: nowrap;
30251
+ margin-right: 4px;
30252
+ }
30253
+
30254
30254
  .obf05yr {
30255
30255
  display: inline-block;
30256
30256
  }
@@ -30260,87 +30260,61 @@ html body {
30260
30260
  position: absolute;
30261
30261
  }
30262
30262
 
30263
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
30264
- flex-direction: row;
30265
- justify-content: stretch;
30266
- }
30267
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
30268
- padding: 0;
30269
- margin-right: 4px;
30270
- flex: 1;
30271
- overflow: visible;
30272
- }
30273
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
30274
- display: none;
30275
- }
30276
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
30277
- width: 100%;
30278
- min-height: unset;
30279
- }
30280
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
30281
- height: 26px;
30282
- line-height: 26px;
30283
- width: 100%;
30284
- text-align: center;
30285
- padding: 0;
30263
+ .p12gwtiw {
30264
+ display: flex;
30265
+ justify-content: space-between;
30266
+ align-items: center;
30267
+ padding: 10px 0;
30268
+ color: rgba(44, 56, 82, 0.6);
30286
30269
  font-size: 12px;
30287
- font-weight: normal;
30288
- }
30289
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
30290
- margin-right: 10px;
30291
- }
30292
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
30293
- display: none;
30270
+ line-height: 24px;
30294
30271
  }
30295
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
30296
- border-radius: 4px 0 0 4px;
30272
+ .p12gwtiw .pagination-left {
30273
+ padding: 2px 8px;
30297
30274
  }
30298
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
30299
- margin-right: 0;
30275
+ .p12gwtiw .dropdown-trigger {
30276
+ display: flex;
30277
+ align-items: center;
30278
+ border-radius: 6px;
30279
+ cursor: pointer;
30280
+ transition: all 0.3s ease;
30300
30281
  }
30301
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
30302
- border-radius: 0 4px 4px 0;
30282
+ .p12gwtiw .dropdown-trigger:hover {
30283
+ background: rgba(211, 218, 235, 0.6);
30284
+ color: #0080ff;
30303
30285
  }
30304
- .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 {
30305
- content: "";
30306
- width: 0;
30307
- height: 0;
30308
- border: 13px solid transparent;
30309
- position: absolute;
30310
- top: 0;
30311
- border-left: 8px solid rgba(237, 241, 250, 0.6);
30312
- right: -21px;
30313
- z-index: 2;
30286
+ .p12gwtiw .dropdown-trigger .icon-inner {
30287
+ margin-left: 4px;
30314
30288
  }
30315
- .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 {
30316
- content: "";
30317
- width: 0;
30318
- height: 0;
30319
- border: 13px solid transparent;
30320
- position: absolute;
30321
- top: 0;
30322
- border-left: 8px solid #fff;
30323
- left: 0;
30289
+ .p12gwtiw .pagination-right {
30290
+ display: flex;
30291
+ align-items: center;
30292
+ color: #0080ff;
30293
+ font-weight: bold;
30324
30294
  }
30325
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
30326
- background-color: rgba(0, 136, 255, 0.1);
30295
+ .p12gwtiw .pagination-right .icon-inner {
30296
+ margin-left: 4px;
30327
30297
  }
30328
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
30329
- border-left-color: rgba(0, 136, 255, 0.1) !important;
30298
+ .p12gwtiw .pagination-right .prev-btn,
30299
+ .p12gwtiw .pagination-right .next-btn {
30300
+ padding: 0 8px;
30330
30301
  }
30331
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
30332
- color: #005ed1;
30302
+ .p12gwtiw .pagination-right .prev-btn > span,
30303
+ .p12gwtiw .pagination-right .next-btn > span {
30304
+ color: #0080ff;
30333
30305
  }
30334
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
30335
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
30336
- background-color: rgba(237, 241, 250, 0.6);
30306
+ .p12gwtiw .pagination-right .next-btn .icon-inner {
30307
+ transform: rotate(180deg);
30337
30308
  }
30338
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
30339
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
30340
- color: rgba(44, 56, 82, 0.6);
30309
+
30310
+ .d1bnu0in.ant-dropdown .ant-dropdown-menu {
30311
+ max-height: calc(100vh - 128px);
30312
+ overflow-y: auto;
30341
30313
  }
30342
- .s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
30343
- padding: 0;
30314
+ .d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
30315
+ padding: 4px 20px;
30316
+ font-size: 12px;
30317
+ line-height: 18px;
30344
30318
  }
30345
30319
 
30346
30320
  .rxbeqvl.ant-radio-wrapper {
@@ -31154,63 +31128,6 @@ input.rrg1fkn.ant-input {
31154
31128
  border-bottom-left-radius: 0;
31155
31129
  }
31156
31130
 
31157
- .p12gwtiw {
31158
- display: flex;
31159
- justify-content: space-between;
31160
- align-items: center;
31161
- padding: 10px 0;
31162
- color: rgba(44, 56, 82, 0.6);
31163
- font-size: 12px;
31164
- line-height: 24px;
31165
- }
31166
- .p12gwtiw .pagination-left {
31167
- padding: 2px 8px;
31168
- }
31169
- .p12gwtiw .dropdown-trigger {
31170
- display: flex;
31171
- align-items: center;
31172
- border-radius: 6px;
31173
- cursor: pointer;
31174
- transition: all 0.3s ease;
31175
- }
31176
- .p12gwtiw .dropdown-trigger:hover {
31177
- background: rgba(211, 218, 235, 0.6);
31178
- color: #0080ff;
31179
- }
31180
- .p12gwtiw .dropdown-trigger .icon-inner {
31181
- margin-left: 4px;
31182
- }
31183
- .p12gwtiw .pagination-right {
31184
- display: flex;
31185
- align-items: center;
31186
- color: #0080ff;
31187
- font-weight: bold;
31188
- }
31189
- .p12gwtiw .pagination-right .icon-inner {
31190
- margin-left: 4px;
31191
- }
31192
- .p12gwtiw .pagination-right .prev-btn,
31193
- .p12gwtiw .pagination-right .next-btn {
31194
- padding: 0 8px;
31195
- }
31196
- .p12gwtiw .pagination-right .prev-btn > span,
31197
- .p12gwtiw .pagination-right .next-btn > span {
31198
- color: #0080ff;
31199
- }
31200
- .p12gwtiw .pagination-right .next-btn .icon-inner {
31201
- transform: rotate(180deg);
31202
- }
31203
-
31204
- .d1bnu0in.ant-dropdown .ant-dropdown-menu {
31205
- max-height: calc(100vh - 128px);
31206
- overflow-y: auto;
31207
- }
31208
- .d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
31209
- padding: 4px 20px;
31210
- font-size: 12px;
31211
- line-height: 18px;
31212
- }
31213
-
31214
31131
  .s34f1qb.ant-switch {
31215
31132
  min-width: 40px;
31216
31133
  height: 24px;
@@ -31266,6 +31183,89 @@ input.rrg1fkn.ant-input {
31266
31183
  margin-left: 5px;
31267
31184
  }
31268
31185
 
31186
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
31187
+ flex-direction: row;
31188
+ justify-content: stretch;
31189
+ }
31190
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
31191
+ padding: 0;
31192
+ margin-right: 4px;
31193
+ flex: 1;
31194
+ overflow: visible;
31195
+ }
31196
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
31197
+ display: none;
31198
+ }
31199
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
31200
+ width: 100%;
31201
+ min-height: unset;
31202
+ }
31203
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
31204
+ height: 26px;
31205
+ line-height: 26px;
31206
+ width: 100%;
31207
+ text-align: center;
31208
+ padding: 0;
31209
+ font-size: 12px;
31210
+ font-weight: normal;
31211
+ }
31212
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
31213
+ margin-right: 10px;
31214
+ }
31215
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
31216
+ display: none;
31217
+ }
31218
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
31219
+ border-radius: 4px 0 0 4px;
31220
+ }
31221
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
31222
+ margin-right: 0;
31223
+ }
31224
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
31225
+ border-radius: 0 4px 4px 0;
31226
+ }
31227
+ .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 {
31228
+ content: "";
31229
+ width: 0;
31230
+ height: 0;
31231
+ border: 13px solid transparent;
31232
+ position: absolute;
31233
+ top: 0;
31234
+ border-left: 8px solid rgba(237, 241, 250, 0.6);
31235
+ right: -21px;
31236
+ z-index: 2;
31237
+ }
31238
+ .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 {
31239
+ content: "";
31240
+ width: 0;
31241
+ height: 0;
31242
+ border: 13px solid transparent;
31243
+ position: absolute;
31244
+ top: 0;
31245
+ border-left: 8px solid #fff;
31246
+ left: 0;
31247
+ }
31248
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
31249
+ background-color: rgba(0, 136, 255, 0.1);
31250
+ }
31251
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
31252
+ border-left-color: rgba(0, 136, 255, 0.1) !important;
31253
+ }
31254
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
31255
+ color: #005ed1;
31256
+ }
31257
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
31258
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
31259
+ background-color: rgba(237, 241, 250, 0.6);
31260
+ }
31261
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
31262
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
31263
+ color: rgba(44, 56, 82, 0.6);
31264
+ }
31265
+ .s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
31266
+ padding: 0;
31267
+ }
31268
+
31269
31269
  .t1upn1sz {
31270
31270
  height: 100%;
31271
31271
  }
@@ -32942,25 +32942,6 @@ input.rrg1fkn.ant-input {
32942
32942
  margin-right: 4px;
32943
32943
  }
32944
32944
 
32945
- .sut42l0 {
32946
- padding: 0 8px;
32947
- height: 18px;
32948
- }
32949
-
32950
- .mfsz1jz {
32951
- padding: 2px 8px;
32952
- height: 24px;
32953
- }
32954
-
32955
- .tnd6h4m {
32956
- margin: 0;
32957
- }
32958
-
32959
- .i1qw4clm {
32960
- margin-right: 4px;
32961
- height: 16px;
32962
- }
32963
-
32964
32945
  .at4ovwe .ant-input-number-handler-wrap {
32965
32946
  display: var(--at4ovwe-0);
32966
32947
  }
@@ -33007,6 +32988,25 @@ input.rrg1fkn.ant-input {
33007
32988
  font-size: inherit;
33008
32989
  }
33009
32990
 
32991
+ .sut42l0 {
32992
+ padding: 0 8px;
32993
+ height: 18px;
32994
+ }
32995
+
32996
+ .mfsz1jz {
32997
+ padding: 2px 8px;
32998
+ height: 24px;
32999
+ }
33000
+
33001
+ .tnd6h4m {
33002
+ margin: 0;
33003
+ }
33004
+
33005
+ .i1qw4clm {
33006
+ margin-right: 4px;
33007
+ height: 16px;
33008
+ }
33009
+
33010
33010
  .iwsze0q {
33011
33011
  margin-right: 4px;
33012
33012
  height: 16px;
package/dist/umd/index.js CHANGED
@@ -5298,6 +5298,23 @@
5298
5298
  }, Text);
5299
5299
  };
5300
5300
 
5301
+ const Time = (props) => {
5302
+ const {
5303
+ className,
5304
+ date,
5305
+ dateTemplate = "YYYY-MM-DD",
5306
+ timeTemplate = "HH:mm",
5307
+ plainText
5308
+ } = props;
5309
+ if (!date)
5310
+ return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, "-");
5311
+ const time = dayjs__default.default(date);
5312
+ if (plainText) {
5313
+ return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, dateTemplate !== null && time.format(dateTemplate), " ", timeTemplate !== null && time.format(timeTemplate));
5314
+ }
5315
+ return /* @__PURE__ */ React__namespace.default.createElement("span", { className: `time-wrapper ${className || ""}` }, dateTemplate !== null && /* @__PURE__ */ React__namespace.default.createElement("span", { className: "date" }, " ", time.format(dateTemplate)), timeTemplate !== null && /* @__PURE__ */ React__namespace.default.createElement("span", { className: "time" }, " ", time.format(timeTemplate)));
5316
+ };
5317
+
5301
5318
  function getAntdKit() {
5302
5319
  const kit = {
5303
5320
  loading: Loading,
@@ -5393,7 +5410,8 @@
5393
5410
  expandableList: {
5394
5411
  ExpandableContainer,
5395
5412
  ExpandableItem
5396
- }
5413
+ },
5414
+ time: Time
5397
5415
  };
5398
5416
  kit.option.isSelectOption = true;
5399
5417
  kit.button.__ANT_BUTTON = true;