amis 1.5.2 → 1.5.6-beta.0

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 (171) hide show
  1. package/README.md +5 -0
  2. package/lib/RootRenderer.d.ts +1 -1
  3. package/lib/RootRenderer.js +4 -3
  4. package/lib/RootRenderer.js.map +2 -2
  5. package/lib/components/Card.d.ts +96 -0
  6. package/lib/components/Card.js +85 -0
  7. package/lib/components/Card.js.map +13 -0
  8. package/lib/components/Collapse.js +1 -1
  9. package/lib/components/Collapse.js.map +2 -2
  10. package/lib/components/DatePicker.d.ts +179 -84
  11. package/lib/components/DatePicker.js +25 -4
  12. package/lib/components/DatePicker.js.map +2 -2
  13. package/lib/components/DateRangePicker.d.ts +84 -84
  14. package/lib/components/MonthRangePicker.d.ts +84 -84
  15. package/lib/components/Picker.d.ts +503 -0
  16. package/lib/components/Picker.js +65 -0
  17. package/lib/components/Picker.js.map +13 -0
  18. package/lib/components/PickerColumn.d.ts +29 -459
  19. package/lib/components/PickerColumn.js +35 -44
  20. package/lib/components/PickerColumn.js.map +2 -2
  21. package/lib/components/Progress.js +1 -1
  22. package/lib/components/Progress.js.map +2 -2
  23. package/lib/components/Select.d.ts +238 -238
  24. package/lib/components/Select.js +9 -2
  25. package/lib/components/Select.js.map +2 -2
  26. package/lib/components/Selection.js +1 -4
  27. package/lib/components/Selection.js.map +2 -2
  28. package/lib/components/Switch.d.ts +6 -6
  29. package/lib/components/Switch.js.map +2 -2
  30. package/lib/components/calendar/Calendar.d.ts +8 -0
  31. package/lib/components/calendar/Calendar.js +19 -1
  32. package/lib/components/calendar/Calendar.js.map +2 -2
  33. package/lib/components/calendar/DaysView.d.ts +8 -0
  34. package/lib/components/calendar/DaysView.js +71 -0
  35. package/lib/components/calendar/DaysView.js.map +2 -2
  36. package/lib/components/calendar/TimeView.d.ts +10 -0
  37. package/lib/components/calendar/TimeView.js +55 -2
  38. package/lib/components/calendar/TimeView.js.map +2 -2
  39. package/lib/components/calendar/YearsView.d.ts +9 -0
  40. package/lib/components/calendar/YearsView.js +19 -0
  41. package/lib/components/calendar/YearsView.js.map +2 -2
  42. package/lib/index.js +1 -1
  43. package/lib/renderers/CRUD.d.ts +1 -1
  44. package/lib/renderers/CRUD.js +4 -3
  45. package/lib/renderers/CRUD.js.map +2 -2
  46. package/lib/renderers/Card.d.ts +81 -13
  47. package/lib/renderers/Card.js +178 -81
  48. package/lib/renderers/Card.js.map +2 -2
  49. package/lib/renderers/Dialog.d.ts +2 -2
  50. package/lib/renderers/Dialog.js +7 -7
  51. package/lib/renderers/Dialog.js.map +2 -2
  52. package/lib/renderers/Drawer.js +2 -2
  53. package/lib/renderers/Drawer.js.map +2 -2
  54. package/lib/renderers/Form/DiffEditor.d.ts +145 -37
  55. package/lib/renderers/Form/Editor.d.ts +144 -36
  56. package/lib/renderers/Form/Formula.js +5 -5
  57. package/lib/renderers/Form/Formula.js.map +2 -2
  58. package/lib/renderers/Form/InputCity.d.ts +84 -84
  59. package/lib/renderers/Form/InputDate.d.ts +25 -0
  60. package/lib/renderers/Form/InputDate.js +48 -3
  61. package/lib/renderers/Form/InputDate.js.map +2 -2
  62. package/lib/renderers/Form/InputFile.js +3 -3
  63. package/lib/renderers/Form/InputFile.js.map +2 -2
  64. package/lib/renderers/Form/InputImage.js +1 -1
  65. package/lib/renderers/Form/InputImage.js.map +2 -2
  66. package/lib/renderers/Form/Item.d.ts +1 -1
  67. package/lib/renderers/Form/Item.js +4 -3
  68. package/lib/renderers/Form/Item.js.map +2 -2
  69. package/lib/renderers/Form/index.d.ts +1 -1
  70. package/lib/renderers/Form/index.js +13 -2
  71. package/lib/renderers/Form/index.js.map +2 -2
  72. package/lib/renderers/Form/wrapControl.js +3 -2
  73. package/lib/renderers/Form/wrapControl.js.map +2 -2
  74. package/lib/renderers/Page.d.ts +3 -3
  75. package/lib/renderers/Page.js +4 -3
  76. package/lib/renderers/Page.js.map +2 -2
  77. package/lib/renderers/Status.js +1 -1
  78. package/lib/renderers/Status.js.map +2 -2
  79. package/lib/renderers/Wizard.d.ts +1 -1
  80. package/lib/renderers/Wizard.js +93 -36
  81. package/lib/renderers/Wizard.js.map +2 -2
  82. package/lib/store/combo.d.ts +160 -40
  83. package/lib/store/form.d.ts +64 -16
  84. package/lib/store/formItem.d.ts +4 -2
  85. package/lib/store/formItem.js +11 -6
  86. package/lib/store/formItem.js.map +2 -2
  87. package/lib/store/table.d.ts +128 -32
  88. package/lib/themes/ang-ie11.css +255 -31
  89. package/lib/themes/ang.css +255 -31
  90. package/lib/themes/ang.css.map +1 -1
  91. package/lib/themes/antd-ie11.css +255 -32
  92. package/lib/themes/antd.css +255 -32
  93. package/lib/themes/antd.css.map +1 -1
  94. package/lib/themes/cxd-ie11.css +263 -31
  95. package/lib/themes/cxd.css +263 -31
  96. package/lib/themes/cxd.css.map +1 -1
  97. package/lib/themes/dark-ie11.css +255 -31
  98. package/lib/themes/dark.css +255 -31
  99. package/lib/themes/dark.css.map +1 -1
  100. package/lib/themes/default.css +263 -31
  101. package/lib/themes/default.css.map +1 -1
  102. package/lib/utils/helper.d.ts +7 -0
  103. package/lib/utils/helper.js +33 -1
  104. package/lib/utils/helper.js.map +2 -2
  105. package/package.json +2 -2
  106. package/schema.json +209 -20
  107. package/scss/_properties.scss +14 -3
  108. package/scss/components/_calendar.scss +81 -0
  109. package/scss/components/_card.scss +155 -15
  110. package/scss/components/_nav.scss +1 -1
  111. package/scss/components/_picker-columns.scss +20 -14
  112. package/scss/components/_toast.scss +3 -0
  113. package/scss/components/form/_file.scss +2 -2
  114. package/scss/components/form/_selection.scss +4 -0
  115. package/scss/components/form/_switch.scss +6 -0
  116. package/scss/themes/_antd-variables.scss +0 -2
  117. package/scss/themes/_common.scss +1 -0
  118. package/scss/themes/_cxd-variables.scss +9 -0
  119. package/sdk/ang-ie11.css +296 -33
  120. package/sdk/ang.css +306 -33
  121. package/sdk/antd-ie11.css +295 -32
  122. package/sdk/antd.css +306 -34
  123. package/sdk/charts.js +13 -13
  124. package/sdk/color-picker.js +65 -65
  125. package/sdk/cropperjs.js +2 -2
  126. package/sdk/cxd-ie11.css +296 -33
  127. package/sdk/cxd.css +314 -33
  128. package/sdk/dark-ie11.css +296 -33
  129. package/sdk/dark.css +306 -33
  130. package/sdk/exceljs.js +1 -1
  131. package/sdk/markdown.js +69 -69
  132. package/sdk/papaparse.js +1 -1
  133. package/sdk/renderers/Form/CityDB.js +1 -1
  134. package/sdk/rest.js +18 -18
  135. package/sdk/rich-text.js +62 -62
  136. package/sdk/sdk-ie11.css +296 -33
  137. package/sdk/sdk.css +314 -33
  138. package/sdk/sdk.js +1190 -1186
  139. package/sdk/thirds/hls.js/hls.js +1 -1
  140. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  141. package/sdk/tinymce.js +57 -57
  142. package/src/RootRenderer.tsx +3 -3
  143. package/src/components/Card.tsx +203 -0
  144. package/src/components/Collapse.tsx +1 -1
  145. package/src/components/DatePicker.tsx +44 -3
  146. package/src/components/Picker.tsx +145 -0
  147. package/src/components/PickerColumn.tsx +58 -95
  148. package/src/components/Progress.tsx +1 -1
  149. package/src/components/Select.tsx +17 -12
  150. package/src/components/Selection.tsx +1 -4
  151. package/src/components/Switch.tsx +7 -7
  152. package/src/components/calendar/Calendar.tsx +30 -1
  153. package/src/components/calendar/DaysView.tsx +91 -0
  154. package/src/components/calendar/TimeView.tsx +80 -5
  155. package/src/components/calendar/YearsView.tsx +44 -1
  156. package/src/renderers/CRUD.tsx +3 -3
  157. package/src/renderers/Card.tsx +299 -191
  158. package/src/renderers/Dialog.tsx +8 -8
  159. package/src/renderers/Drawer.tsx +2 -2
  160. package/src/renderers/Form/Formula.tsx +7 -5
  161. package/src/renderers/Form/InputDate.tsx +83 -2
  162. package/src/renderers/Form/InputFile.tsx +7 -3
  163. package/src/renderers/Form/InputImage.tsx +1 -1
  164. package/src/renderers/Form/Item.tsx +2 -2
  165. package/src/renderers/Form/index.tsx +14 -2
  166. package/src/renderers/Form/wrapControl.tsx +5 -2
  167. package/src/renderers/Page.tsx +11 -10
  168. package/src/renderers/Status.tsx +3 -1
  169. package/src/renderers/Wizard.tsx +52 -12
  170. package/src/store/formItem.ts +12 -6
  171. package/src/utils/helper.ts +34 -0
package/sdk/antd.css CHANGED
@@ -19188,6 +19188,7 @@ readers do not read off random characters that represent icons */
19188
19188
  --borderWidth: 0.0625rem;
19189
19189
  --fontWeightNormal: 400;
19190
19190
  --fontWeightBase: var(--fontWeightNormal);
19191
+ --fontWeightMd: 500;
19191
19192
  --fontWeightBold: 700;
19192
19193
  --background: var(--white);
19193
19194
  --code-color: var(--danger);
@@ -19505,6 +19506,14 @@ readers do not read off random characters that represent icons */
19505
19506
  --Calendar-shortcuts-bg: transparent;
19506
19507
  --Calendar-shortcuts-height: 1.875rem;
19507
19508
  --Calendar-wLabel-color: #999;
19509
+ --Calendar-icon-bottom: -0.25rem;
19510
+ --Calendar-icon-width: 0.625rem;
19511
+ --Calendar-icon-height: 0.625rem;
19512
+ --Calendar-borderWidth: 0.0625rem;
19513
+ --Calendar-rdt-day: 6.25rem;
19514
+ --Calendar-schedule-content-padding: 0 0.25rem;
19515
+ --Calendar-schedule-content-height: 1.25rem;
19516
+ --Calendar-schedule-content-color: #fff;
19508
19517
  --Card-actions-borderColor: #dfe2e6;
19509
19518
  --Card-actions-fontSize: var(--fontSizeBase);
19510
19519
  --Card-actions-onChecked-onHover-bg: #c2ecf9;
@@ -19515,6 +19524,7 @@ readers do not read off random characters that represent icons */
19515
19524
  --Card-borderColor: var(--borderColor);
19516
19525
  --Card-borderRadius: var(--borderRadius);
19517
19526
  --Card-borderWidth: var(--borderWidth);
19527
+ --Card-secondary-color: #83868c;
19518
19528
  --Card-onChecked-bg: #d9f3fb;
19519
19529
  --Card-onChecked-borderColor: #abe4f6;
19520
19530
  --Card-onChecked-color: #20b9e8;
@@ -19665,7 +19675,7 @@ readers do not read off random characters that represent icons */
19665
19675
  );
19666
19676
  --DatePicker-placeholderColor: var(--Form-input-placeholderColor);
19667
19677
  --LocationPicker-borderRadius: var(--Form-input-borderWidth);
19668
- --Divider-borderStyle: dashed;
19678
+ --Divider-borderStyle: solid;
19669
19679
  --Drawer-bg: var(--background);
19670
19680
  --Drawer-body-padding: var(--gap-base);
19671
19681
  --Drawer-close-color: rgba(255, 255, 255, 0.8);
@@ -20128,8 +20138,8 @@ readers do not read off random characters that represent icons */
20128
20138
  --PickerColumns-title-lineHeight: 1.5;
20129
20139
  --PickerColumns-action-padding: 0 var(--gap-sm);
20130
20140
  --PickerColumns-action-fontSize: var(--fontSizeMd);
20131
- --PickerColumns-confirmAction-color: var(--Button--info-bg);
20132
- --PickerColumns-cancelAction-color: var(--Button--light-bg);
20141
+ --PickerColumns-confirmAction-color: rgba(64, 64, 64, 0.85);
20142
+ --PickerColumns-cancelAction-color: rgba(128, 128, 128, 0.85);
20133
20143
  --PickerColumns-option-fontSize: var(--fontSizeLg);
20134
20144
  --PickerColumns-optionText-color: var(--text-color);
20135
20145
  --PickerColumns-optionDisabled-opacity: 0.3;
@@ -20475,7 +20485,6 @@ readers do not read off random characters that represent icons */
20475
20485
  --Radio-onDisabled-bg: #f5f5f5;
20476
20486
  --Radio-onFocus-boxShadow: 0 0 0 3px rgb(24 144 255 / 8%);
20477
20487
  --Rating-onActive-color: #fadb14;
20478
- --Divider-borderStyle: solid;
20479
20488
  --Panel--default-bg: #fff;
20480
20489
  --Layout-aside-bg: #001529;
20481
20490
  --Layout-brand-bg: #001529;
@@ -24156,14 +24165,9 @@ readers do not read off random characters that represent icons */
24156
24165
  position: relative;
24157
24166
  background-color: var(--PickerColumns-bg);
24158
24167
  user-select: none;
24159
- }
24160
-
24161
- .amis-scope .antd-PickerColumns-popOver {
24162
- position: fixed;
24163
- bottom: 0;
24164
- left: 0;
24165
- width: 100%;
24166
- padding: 0 var(--gap-sm);
24168
+ flex: 1;
24169
+ overflow: hidden;
24170
+ font-size: var(--PickerColumns-option-fontSize);
24167
24171
  }
24168
24172
 
24169
24173
  .amis-scope .antd-PickerColumns-toolbar {
@@ -24188,6 +24192,11 @@ readers do not read off random characters that represent icons */
24188
24192
  opacity: 0.7;
24189
24193
  }
24190
24194
 
24195
+ .amis-scope .antd-PickerColumns-cancel:hover,
24196
+ .amis-scope .antd-PickerColumns-confirm:hover {
24197
+ background-color: none !important;
24198
+ }
24199
+
24191
24200
  .amis-scope .antd-PickerColumns-confirm {
24192
24201
  color: var(--PickerColumns-confirmAction-color);
24193
24202
  }
@@ -24235,6 +24244,18 @@ readers do not read off random characters that represent icons */
24235
24244
  pointer-events: none;
24236
24245
  }
24237
24246
 
24247
+ .amis-scope .antd-PickerColumns-frame::after {
24248
+ position: absolute;
24249
+ content: "";
24250
+ border-bottom: 1px solid var(--borderColor);
24251
+ border-top: 1px solid var(--borderColor);
24252
+ top: -50%;
24253
+ right: -50%;
24254
+ left: -50%;
24255
+ bottom: -50%;
24256
+ transform: scale(0.5);
24257
+ }
24258
+
24238
24259
  .amis-scope .antd-PickerColumns-mask {
24239
24260
  position: absolute;
24240
24261
  top: 0;
@@ -24249,12 +24270,6 @@ readers do not read off random characters that represent icons */
24249
24270
  pointer-events: none;
24250
24271
  }
24251
24272
 
24252
- .amis-scope .antd-PickerColumns-column {
24253
- flex: 1;
24254
- overflow: hidden;
24255
- font-size: var(--PickerColumns-option-fontSize);
24256
- }
24257
-
24258
24273
  .amis-scope .antd-PickerColumns-columnWrapper {
24259
24274
  margin: 0;
24260
24275
  padding: 0;
@@ -24409,6 +24424,10 @@ readers do not read off random characters that represent icons */
24409
24424
  line-height: var(--gap-xl);
24410
24425
  }
24411
24426
 
24427
+ .amis-scope .antd-Toast-content .antd-Toast-body .antd-Html {
24428
+ word-break: break-word;
24429
+ }
24430
+
24412
24431
  .amis-scope .antd-Toast-icon {
24413
24432
  display: inline-flex;
24414
24433
  text-rendering: auto;
@@ -25457,7 +25476,7 @@ readers do not read off random characters that represent icons */
25457
25476
  .amis-scope .antd-Nav .antd-Nav-list--stacked .antd-Badge.is-active > .antd-Badge > a {
25458
25477
  color: var(--Nav-item-onActive-color);
25459
25478
  position: relative;
25460
- background: var(--Nav-item-onActive-bg);
25479
+ background: var(--Nav-item-onActive-bg) !important;
25461
25480
  }
25462
25481
 
25463
25482
  .amis-scope .antd-Nav .antd-Nav-list--stacked .antd-Nav-item.active > a::after,
@@ -26494,6 +26513,91 @@ readers do not read off random characters that represent icons */
26494
26513
  padding: var(--gap-sm);
26495
26514
  }
26496
26515
 
26516
+ .amis-scope .antd-ScheduleCalendar-icon {
26517
+ position: absolute;
26518
+ bottom: var(--Calendar-icon-bottom);
26519
+ left: 50%;
26520
+ transform: translateX(-50%);
26521
+ display: block;
26522
+ width: var(--Calendar-icon-width);
26523
+ height: var(--Calendar-icon-height);
26524
+ border-radius: 50%;
26525
+ z-index: 10;
26526
+ }
26527
+
26528
+ .amis-scope .antd-ScheduleCalendar-action {
26529
+ display: block;
26530
+ padding: 0;
26531
+ width: 100%;
26532
+ height: 100%;
26533
+ border: none;
26534
+ background: transparent;
26535
+ color: inherit;
26536
+ }
26537
+
26538
+ .amis-scope .antd-ScheduleCalendar-action:not(:disabled):not(.is-disabled):hover {
26539
+ color: inherit;
26540
+ background: transparent;
26541
+ border-color: transparent;
26542
+ }
26543
+
26544
+ .amis-scope .antd-ScheduleCalendar .rdtDay {
26545
+ position: relative;
26546
+ }
26547
+
26548
+ .amis-scope .antd-ScheduleCalendar-text-overflow {
26549
+ white-space: nowrap;
26550
+ overflow: hidden;
26551
+ text-overflow: ellipsis;
26552
+ position: absolute;
26553
+ width: 100%;
26554
+ }
26555
+
26556
+ .amis-scope .antd-ScheduleCalendar-large {
26557
+ width: 100%;
26558
+ }
26559
+
26560
+ .amis-scope .antd-ScheduleCalendar-large .rdtPicker {
26561
+ width: 100%;
26562
+ }
26563
+
26564
+ .amis-scope .antd-ScheduleCalendar-large .rdtPicker table {
26565
+ border-collapse: collapse;
26566
+ border-spacing: 0;
26567
+ }
26568
+
26569
+ .amis-scope .antd-ScheduleCalendar-large .rdtPicker table td {
26570
+ border: var(--Calendar-borderWidth) solid var(--borderColor);
26571
+ }
26572
+
26573
+ .amis-scope .antd-ScheduleCalendar-large .rdtDay {
26574
+ height: var(--Calendar-rdt-day);
26575
+ vertical-align: top;
26576
+ }
26577
+
26578
+ .amis-scope .antd-ScheduleCalendar-large .antd-ScheduleCalendar-large-day-wrap {
26579
+ position: absolute;
26580
+ top: 0;
26581
+ left: 0;
26582
+ min-width: 100%;
26583
+ height: 100%;
26584
+ }
26585
+
26586
+ .amis-scope .antd-ScheduleCalendar-large .antd-ScheduleCalendar-large-day-wrap .antd-ScheduleCalendar-large-schedule-content {
26587
+ position: relative;
26588
+ z-index: 10;
26589
+ border-radius: var(--borderRadius);
26590
+ text-align: left;
26591
+ padding: var(--Calendar-schedule-content-padding);
26592
+ height: var(--Calendar-schedule-content-height);
26593
+ color: var(--Calendar-schedule-content-color);
26594
+ }
26595
+
26596
+ .amis-scope .antd-ScheduleCalendar-large .antd-ScheduleCalendar-action {
26597
+ z-index: 20;
26598
+ position: relative;
26599
+ }
26600
+
26497
26601
  .amis-scope .antd-Collapse {
26498
26602
  border: var(--Collapse-border);
26499
26603
  padding: 0;
@@ -29933,8 +30037,9 @@ readers do not read off random characters that represent icons */
29933
30037
  }
29934
30038
 
29935
30039
  .amis-scope .antd-Card-title {
29936
- color: var(--text--loud-color);
30040
+ color: var(--text-color);
29937
30041
  font-size: var(--fontSizeMd);
30042
+ font-weight: var(--fontWeightMd);
29938
30043
  white-space: nowrap;
29939
30044
  overflow: hidden;
29940
30045
  text-overflow: ellipsis;
@@ -29955,15 +30060,14 @@ readers do not read off random characters that represent icons */
29955
30060
  }
29956
30061
 
29957
30062
  .amis-scope .antd-Card-dragBtn {
30063
+ display: inline-block;
29958
30064
  cursor: pointer;
29959
- float: right;
29960
- margin: var(--gap-sm);
30065
+ padding: 0 var(--gap-sm);
29961
30066
  }
29962
30067
 
29963
30068
  .amis-scope .antd-Card-heading {
29964
30069
  display: flex;
29965
- flex-direction: row;
29966
- padding: var(--gap-sm) var(--gap-base);
30070
+ padding: var(--gap-md);
29967
30071
  flex: 1 0 auto;
29968
30072
  }
29969
30073
 
@@ -29990,7 +30094,7 @@ readers do not read off random characters that represent icons */
29990
30094
  float: left;
29991
30095
  margin-right: var(--gap-base);
29992
30096
  font-size: var(--fontSizeXl);
29993
- text-transform: uppercase;
30097
+ text-transform: uppercase();
29994
30098
  }
29995
30099
 
29996
30100
  .amis-scope .antd-Card-meta {
@@ -29998,11 +30102,14 @@ readers do not read off random characters that represent icons */
29998
30102
  flex-grow: 1;
29999
30103
  height: 100%;
30000
30104
  position: relative;
30001
- margin-right: var(--gap-md);
30105
+ }
30106
+
30107
+ .amis-scope .antd-Card-meta + .antd-Card-toolbar {
30108
+ margin-left: var(--gap-md);
30002
30109
  }
30003
30110
 
30004
30111
  .amis-scope .antd-Card-toolbar {
30005
- margin-right: calc(-1 * var(--gap-base));
30112
+ line-height: normal;
30006
30113
  text-align: right;
30007
30114
  }
30008
30115
 
@@ -30012,18 +30119,16 @@ readers do not read off random characters that represent icons */
30012
30119
  height: 0.5rem;
30013
30120
  border-radius: 100%;
30014
30121
  display: inline-block;
30015
- position: absolute;
30016
- top: var(--gap-xs);
30017
- right: 0.125rem;
30122
+ margin: 0 var(--gap-sm);
30018
30123
  }
30019
30124
 
30020
30125
  .amis-scope .antd-Card-body {
30021
- padding: var(--gap-base);
30126
+ padding: var(--gap-md);
30022
30127
  flex: 1 0 auto;
30023
30128
  }
30024
30129
 
30025
30130
  .amis-scope .antd-Card-heading + .antd-Card-body {
30026
- padding-top: var(--gap-xs);
30131
+ padding-top: 0;
30027
30132
  }
30028
30133
 
30029
30134
  .amis-scope .antd-Card-field {
@@ -30052,6 +30157,7 @@ readers do not read off random characters that represent icons */
30052
30157
  flex-direction: row;
30053
30158
  width: 100%;
30054
30159
  table-layout: fixed;
30160
+ white-space: nowrap;
30055
30161
  }
30056
30162
 
30057
30163
  .amis-scope .antd-Card-actions > a {
@@ -30139,6 +30245,160 @@ readers do not read off random characters that represent icons */
30139
30245
  opacity: var(--Card-onDragging-opacity);
30140
30246
  }
30141
30247
 
30248
+ .amis-scope .antd-Card-footer-wrapper {
30249
+ display: flex;
30250
+ align-items: center;
30251
+ justify-content: space-between;
30252
+ }
30253
+
30254
+ .amis-scope .antd-Card-actions-wrapper {
30255
+ flex: 1;
30256
+ display: flex;
30257
+ align-items: center;
30258
+ justify-content: flex-end;
30259
+ flex-wrap: wrap;
30260
+ }
30261
+
30262
+ .amis-scope .antd-Card-checkbox {
30263
+ margin: 0 var(--gap-sm) !important;
30264
+ }
30265
+
30266
+ .amis-scope .antd-Card-secondary {
30267
+ max-width: 12.5rem;
30268
+ color: var(--Card-secondary-color);
30269
+ padding: 0 var(--gap-md);
30270
+ font-size: var(--fontSizeMd);
30271
+ font-weight: var(--fontWeightBase);
30272
+ white-space: nowrap;
30273
+ overflow: hidden;
30274
+ text-overflow: ellipsis;
30275
+ }
30276
+
30277
+ .amis-scope .antd-Card-secondary + .antd-Card-actions-wrapper .antd-Card-actions {
30278
+ margin-left: unset;
30279
+ border: none;
30280
+ width: unset;
30281
+ }
30282
+
30283
+ .amis-scope .antd-Card-secondary + .antd-Card-actions-wrapper .antd-Card-actions > a {
30284
+ border: none;
30285
+ }
30286
+
30287
+ .amis-scope .antd-Card-multiMedia--top .antd-Card-actions-wrapper .antd-Card-actions,
30288
+ .amis-scope .antd-Card-multiMedia--bottom .antd-Card-actions-wrapper .antd-Card-actions,
30289
+ .amis-scope .antd-Card-multiMedia--left .antd-Card-actions-wrapper .antd-Card-actions,
30290
+ .amis-scope .antd-Card-multiMedia--right .antd-Card-actions-wrapper .antd-Card-actions {
30291
+ margin-left: unset;
30292
+ border: none;
30293
+ width: unset;
30294
+ }
30295
+
30296
+ .amis-scope .antd-Card-multiMedia--top .antd-Card-actions-wrapper .antd-Card-actions > a,
30297
+ .amis-scope .antd-Card-multiMedia--bottom .antd-Card-actions-wrapper .antd-Card-actions > a,
30298
+ .amis-scope .antd-Card-multiMedia--left .antd-Card-actions-wrapper .antd-Card-actions > a,
30299
+ .amis-scope .antd-Card-multiMedia--right .antd-Card-actions-wrapper .antd-Card-actions > a {
30300
+ border: none;
30301
+ }
30302
+
30303
+ .amis-scope .antd-Card-multiMedia--top {
30304
+ display: block;
30305
+ }
30306
+
30307
+ .amis-scope .antd-Card-multiMedia--top .antd-Card-multiMedia-img {
30308
+ border-bottom-left-radius: unset;
30309
+ border-bottom-right-radius: unset;
30310
+ }
30311
+
30312
+ .amis-scope .antd-Card-multiMedia--bottom {
30313
+ display: flex;
30314
+ flex-direction: column-reverse;
30315
+ }
30316
+
30317
+ .amis-scope .antd-Card-multiMedia--bottom .antd-Card-actions {
30318
+ border-bottom: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30319
+ }
30320
+
30321
+ .amis-scope .antd-Card-multiMedia--bottom .antd-Card-multiMedia-img {
30322
+ border-top-left-radius: unset;
30323
+ border-top-right-radius: unset;
30324
+ }
30325
+
30326
+ .amis-scope .antd-Card-multiMedia--top .antd-Card-body,
30327
+ .amis-scope .antd-Card-multiMedia--bottom .antd-Card-body {
30328
+ padding-bottom: var(--gap-md);
30329
+ }
30330
+
30331
+ .amis-scope .antd-Card-multiMedia--left {
30332
+ display: flex;
30333
+ align-items: center;
30334
+ }
30335
+
30336
+ .amis-scope .antd-Card-multiMedia--left .antd-Card-actions {
30337
+ margin-left: var(--gap-md);
30338
+ border-left: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30339
+ }
30340
+
30341
+ .amis-scope .antd-Card-multiMedia--left .antd-Card-multiMedia-img,
30342
+ .amis-scope .antd-Card-multiMedia--left .antd-Card-multiMedia-video {
30343
+ margin: var(--gap-md) 0 var(--gap-md) var(--gap-md);
30344
+ }
30345
+
30346
+ .amis-scope .antd-Card-multiMedia--right {
30347
+ display: flex;
30348
+ align-items: center;
30349
+ justify-content: space-between;
30350
+ flex-direction: row-reverse;
30351
+ }
30352
+
30353
+ .amis-scope .antd-Card-multiMedia--right .antd-Card-actions {
30354
+ margin-right: var(--gap-md);
30355
+ border-right: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30356
+ }
30357
+
30358
+ .amis-scope .antd-Card-multiMedia--right .antd-Card-multiMedia-img,
30359
+ .amis-scope .antd-Card-multiMedia--right .antd-Card-multiMedia-video {
30360
+ margin: var(--gap-md) var(--gap-md) var(--gap-md) 0;
30361
+ }
30362
+
30363
+ .amis-scope .antd-Card-multiMedia-flex {
30364
+ flex: 1;
30365
+ display: flex;
30366
+ flex-direction: column;
30367
+ justify-content: center;
30368
+ }
30369
+
30370
+ .amis-scope .antd-Card-multiMedia-img {
30371
+ display: block;
30372
+ width: 100%;
30373
+ height: auto;
30374
+ object-fit: cover;
30375
+ border-radius: var(--Card-borderRadius);
30376
+ }
30377
+
30378
+ .amis-scope .antd-Card-multiMedia-video {
30379
+ width: 11.25rem;
30380
+ height: 7.5rem;
30381
+ }
30382
+
30383
+ .amis-scope .antd-Card-multiMedia-video .antd-Video {
30384
+ width: 100%;
30385
+ height: 100%;
30386
+ min-width: unset;
30387
+ border-radius: var(--Card-borderRadius);
30388
+ overflow: hidden;
30389
+ }
30390
+
30391
+ .amis-scope .antd-Card-multiMedia-video .antd-Video .antd-Video-player {
30392
+ width: 100%;
30393
+ height: 100%;
30394
+ }
30395
+
30396
+ .amis-scope .antd-Card-multiMedia-video .antd-Video .antd-Video-player .video-react {
30397
+ width: 100%;
30398
+ height: 100%;
30399
+ padding-top: unset !important;
30400
+ }
30401
+
30142
30402
  .amis-scope .antd-Field-quickEditBtn {
30143
30403
  color: var(--QuickEdit-iconColor);
30144
30404
  margin-left: var(--gap-xs);
@@ -33331,6 +33591,12 @@ readers do not read off random characters that represent icons */
33331
33591
  margin-right: var(--Checkbox-gap);
33332
33592
  }
33333
33593
 
33594
+ .amis-scope .antd-GroupedSelection {
33595
+ max-height: 18.75rem;
33596
+ overflow: auto;
33597
+ user-select: none;
33598
+ }
33599
+
33334
33600
  .amis-scope .antd-GroupedSelection-group:not(:first-child) > .antd-GroupedSelection-itemLabel {
33335
33601
  border-top: 0.0625rem solid var(--ListMenu-divider-color);
33336
33602
  }
@@ -33694,6 +33960,12 @@ readers do not read off random characters that represent icons */
33694
33960
  transition: all var(--animation-duration);
33695
33961
  }
33696
33962
 
33963
+ .amis-scope .antd-Switch .text > svg {
33964
+ width: var(--fontSizeSm);
33965
+ height: var(--fontSizeSm);
33966
+ margin-top: calc((var(--Switch-height) - var(--fontSizeSm)) / 2);
33967
+ }
33968
+
33697
33969
  .amis-scope .antd-Switch .slider:before {
33698
33970
  content: "";
33699
33971
  position: absolute;
@@ -35706,8 +35978,9 @@ readers do not read off random characters that represent icons */
35706
35978
  }
35707
35979
 
35708
35980
  .amis-scope .antd-FileControl-selectBtn {
35709
- display: flex;
35981
+ display: inline-flex;
35710
35982
  align-items: center;
35983
+ margin-right: 10px;
35711
35984
  }
35712
35985
 
35713
35986
  .amis-scope .antd-FileControl-selectBtn > svg {
@@ -35716,7 +35989,6 @@ readers do not read off random characters that represent icons */
35716
35989
  }
35717
35990
 
35718
35991
  .amis-scope .antd-FileControl-description {
35719
- margin-left: 10px;
35720
35992
  color: #999;
35721
35993
  font-size: 12px;
35722
35994
  }