amis 1.5.3 → 1.5.6-beta.4

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 (179) hide show
  1. package/README.md +5 -0
  2. package/lib/Root.js +1 -1
  3. package/lib/Root.js.map +2 -2
  4. package/lib/RootRenderer.d.ts +1 -1
  5. package/lib/RootRenderer.js +4 -3
  6. package/lib/RootRenderer.js.map +2 -2
  7. package/lib/SchemaRenderer.js +4 -4
  8. package/lib/SchemaRenderer.js.map +2 -2
  9. package/lib/components/Card.d.ts +96 -0
  10. package/lib/components/Card.js +85 -0
  11. package/lib/components/Card.js.map +13 -0
  12. package/lib/components/Collapse.js +4 -6
  13. package/lib/components/Collapse.js.map +2 -2
  14. package/lib/components/CollapseGroup.d.ts +20 -20
  15. package/lib/components/CollapseGroup.js +5 -3
  16. package/lib/components/CollapseGroup.js.map +2 -2
  17. package/lib/components/ColorPicker.d.ts +84 -84
  18. package/lib/components/DatePicker.d.ts +85 -84
  19. package/lib/components/DatePicker.js.map +2 -2
  20. package/lib/components/DateRangePicker.d.ts +84 -84
  21. package/lib/components/LocationPicker.d.ts +84 -84
  22. package/lib/components/MonthRangePicker.d.ts +84 -84
  23. package/lib/components/Picker.d.ts +503 -0
  24. package/lib/components/Picker.js +65 -0
  25. package/lib/components/Picker.js.map +13 -0
  26. package/lib/components/PickerColumn.d.ts +29 -459
  27. package/lib/components/PickerColumn.js +35 -44
  28. package/lib/components/PickerColumn.js.map +2 -2
  29. package/lib/components/Progress.js +1 -1
  30. package/lib/components/Progress.js.map +2 -2
  31. package/lib/components/Select.d.ts +238 -238
  32. package/lib/components/Select.js +9 -2
  33. package/lib/components/Select.js.map +2 -2
  34. package/lib/components/Selection.js +1 -4
  35. package/lib/components/Selection.js.map +2 -2
  36. package/lib/components/Switch.d.ts +6 -6
  37. package/lib/components/Switch.js.map +2 -2
  38. package/lib/components/Tabs.d.ts +20 -20
  39. package/lib/components/calendar/Calendar.js +15 -0
  40. package/lib/components/calendar/Calendar.js.map +2 -2
  41. package/lib/components/calendar/DaysView.js +4 -4
  42. package/lib/components/calendar/DaysView.js.map +2 -2
  43. package/lib/components/calendar/TimeView.d.ts +10 -0
  44. package/lib/components/calendar/TimeView.js +55 -2
  45. package/lib/components/calendar/TimeView.js.map +2 -2
  46. package/lib/components/calendar/YearsView.d.ts +9 -0
  47. package/lib/components/calendar/YearsView.js +19 -0
  48. package/lib/components/calendar/YearsView.js.map +2 -2
  49. package/lib/components/index.d.ts +2 -1
  50. package/lib/components/index.js +4 -2
  51. package/lib/components/index.js.map +2 -2
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/CRUD.d.ts +1 -1
  54. package/lib/renderers/CRUD.js +4 -3
  55. package/lib/renderers/CRUD.js.map +2 -2
  56. package/lib/renderers/Card.d.ts +81 -13
  57. package/lib/renderers/Card.js +178 -81
  58. package/lib/renderers/Card.js.map +2 -2
  59. package/lib/renderers/Collapse.js +8 -2
  60. package/lib/renderers/Collapse.js.map +2 -2
  61. package/lib/renderers/CollapseGroup.js.map +2 -2
  62. package/lib/renderers/Dialog.d.ts +2 -2
  63. package/lib/renderers/Dialog.js +7 -7
  64. package/lib/renderers/Dialog.js.map +2 -2
  65. package/lib/renderers/Drawer.js +2 -2
  66. package/lib/renderers/Drawer.js.map +2 -2
  67. package/lib/renderers/Form/DiffEditor.d.ts +145 -37
  68. package/lib/renderers/Form/Editor.d.ts +144 -36
  69. package/lib/renderers/Form/Formula.js +5 -5
  70. package/lib/renderers/Form/Formula.js.map +2 -2
  71. package/lib/renderers/Form/InputCity.d.ts +84 -84
  72. package/lib/renderers/Form/InputColor.d.ts +84 -84
  73. package/lib/renderers/Form/InputFile.js +3 -3
  74. package/lib/renderers/Form/InputFile.js.map +2 -2
  75. package/lib/renderers/Form/InputImage.js +1 -1
  76. package/lib/renderers/Form/InputImage.js.map +2 -2
  77. package/lib/renderers/Form/Item.d.ts +1 -1
  78. package/lib/renderers/Form/Item.js +4 -3
  79. package/lib/renderers/Form/Item.js.map +2 -2
  80. package/lib/renderers/Form/index.d.ts +1 -1
  81. package/lib/renderers/Form/index.js +13 -2
  82. package/lib/renderers/Form/index.js.map +2 -2
  83. package/lib/renderers/Form/wrapControl.js +3 -2
  84. package/lib/renderers/Form/wrapControl.js.map +2 -2
  85. package/lib/renderers/Page.d.ts +3 -3
  86. package/lib/renderers/Page.js +4 -3
  87. package/lib/renderers/Page.js.map +2 -2
  88. package/lib/renderers/Wizard.d.ts +1 -1
  89. package/lib/renderers/Wizard.js +93 -36
  90. package/lib/renderers/Wizard.js.map +2 -2
  91. package/lib/store/combo.d.ts +160 -40
  92. package/lib/store/form.d.ts +64 -16
  93. package/lib/store/formItem.d.ts +4 -2
  94. package/lib/store/formItem.js +22 -7
  95. package/lib/store/formItem.js.map +2 -2
  96. package/lib/store/table.d.ts +128 -32
  97. package/lib/themes/ang-ie11.css +177 -30
  98. package/lib/themes/ang.css +177 -30
  99. package/lib/themes/ang.css.map +1 -1
  100. package/lib/themes/antd-ie11.css +177 -30
  101. package/lib/themes/antd.css +177 -30
  102. package/lib/themes/antd.css.map +1 -1
  103. package/lib/themes/cxd-ie11.css +177 -30
  104. package/lib/themes/cxd.css +177 -30
  105. package/lib/themes/cxd.css.map +1 -1
  106. package/lib/themes/dark-ie11.css +177 -30
  107. package/lib/themes/dark.css +177 -30
  108. package/lib/themes/dark.css.map +1 -1
  109. package/lib/themes/default.css +177 -30
  110. package/lib/themes/default.css.map +1 -1
  111. package/lib/utils/helper.d.ts +7 -0
  112. package/lib/utils/helper.js +34 -7
  113. package/lib/utils/helper.js.map +2 -2
  114. package/package.json +2 -2
  115. package/schema.json +157 -13
  116. package/scss/_properties.scss +13 -2
  117. package/scss/components/_card.scss +155 -15
  118. package/scss/components/_nav.scss +1 -1
  119. package/scss/components/_picker-columns.scss +20 -14
  120. package/scss/components/form/_file.scss +2 -2
  121. package/scss/components/form/_selection.scss +4 -0
  122. package/scss/components/form/_switch.scss +6 -0
  123. package/sdk/ang-ie11.css +214 -40
  124. package/sdk/ang.css +216 -32
  125. package/sdk/antd-ie11.css +214 -40
  126. package/sdk/antd.css +216 -32
  127. package/sdk/charts.js +17 -17
  128. package/sdk/color-picker.js +65 -65
  129. package/sdk/cropperjs.js +3 -3
  130. package/sdk/cxd-ie11.css +206 -32
  131. package/sdk/cxd.css +216 -32
  132. package/sdk/dark-ie11.css +214 -40
  133. package/sdk/dark.css +216 -32
  134. package/sdk/exceljs.js +1 -1
  135. package/sdk/markdown.js +69 -69
  136. package/sdk/papaparse.js +1 -1
  137. package/sdk/renderers/Form/CityDB.js +1 -1
  138. package/sdk/rest.js +18 -18
  139. package/sdk/rich-text.js +62 -62
  140. package/sdk/sdk-ie11.css +206 -32
  141. package/sdk/sdk.css +216 -32
  142. package/sdk/sdk.js +1302 -1208
  143. package/sdk/thirds/hls.js/hls.js +18 -18
  144. package/sdk/thirds/mpegts.js/mpegts.js +2 -2
  145. package/sdk/tinymce.js +57 -57
  146. package/src/Root.tsx +1 -0
  147. package/src/RootRenderer.tsx +3 -3
  148. package/src/SchemaRenderer.tsx +4 -0
  149. package/src/components/Card.tsx +203 -0
  150. package/src/components/Collapse.tsx +19 -12
  151. package/src/components/CollapseGroup.tsx +9 -11
  152. package/src/components/DatePicker.tsx +3 -0
  153. package/src/components/Picker.tsx +145 -0
  154. package/src/components/PickerColumn.tsx +58 -95
  155. package/src/components/Progress.tsx +1 -1
  156. package/src/components/Select.tsx +17 -12
  157. package/src/components/Selection.tsx +1 -4
  158. package/src/components/Switch.tsx +7 -7
  159. package/src/components/calendar/Calendar.tsx +18 -0
  160. package/src/components/calendar/DaysView.tsx +6 -4
  161. package/src/components/calendar/TimeView.tsx +80 -5
  162. package/src/components/calendar/YearsView.tsx +44 -1
  163. package/src/components/index.tsx +2 -0
  164. package/src/renderers/CRUD.tsx +3 -3
  165. package/src/renderers/Card.tsx +299 -191
  166. package/src/renderers/Collapse.tsx +27 -27
  167. package/src/renderers/CollapseGroup.tsx +13 -12
  168. package/src/renderers/Dialog.tsx +8 -8
  169. package/src/renderers/Drawer.tsx +2 -2
  170. package/src/renderers/Form/Formula.tsx +7 -5
  171. package/src/renderers/Form/InputFile.tsx +7 -3
  172. package/src/renderers/Form/InputImage.tsx +1 -1
  173. package/src/renderers/Form/Item.tsx +2 -2
  174. package/src/renderers/Form/index.tsx +14 -2
  175. package/src/renderers/Form/wrapControl.tsx +5 -2
  176. package/src/renderers/Page.tsx +11 -10
  177. package/src/renderers/Wizard.tsx +52 -12
  178. package/src/store/formItem.ts +27 -6
  179. package/src/utils/helper.ts +35 -10
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;
@@ -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;
@@ -24155,14 +24165,9 @@ readers do not read off random characters that represent icons */
24155
24165
  position: relative;
24156
24166
  background-color: var(--PickerColumns-bg);
24157
24167
  user-select: none;
24158
- }
24159
-
24160
- .amis-scope .antd-PickerColumns-popOver {
24161
- position: fixed;
24162
- bottom: 0;
24163
- left: 0;
24164
- width: 100%;
24165
- padding: 0 var(--gap-sm);
24168
+ flex: 1;
24169
+ overflow: hidden;
24170
+ font-size: var(--PickerColumns-option-fontSize);
24166
24171
  }
24167
24172
 
24168
24173
  .amis-scope .antd-PickerColumns-toolbar {
@@ -24187,6 +24192,11 @@ readers do not read off random characters that represent icons */
24187
24192
  opacity: 0.7;
24188
24193
  }
24189
24194
 
24195
+ .amis-scope .antd-PickerColumns-cancel:hover,
24196
+ .amis-scope .antd-PickerColumns-confirm:hover {
24197
+ background-color: none !important;
24198
+ }
24199
+
24190
24200
  .amis-scope .antd-PickerColumns-confirm {
24191
24201
  color: var(--PickerColumns-confirmAction-color);
24192
24202
  }
@@ -24234,6 +24244,18 @@ readers do not read off random characters that represent icons */
24234
24244
  pointer-events: none;
24235
24245
  }
24236
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
+
24237
24259
  .amis-scope .antd-PickerColumns-mask {
24238
24260
  position: absolute;
24239
24261
  top: 0;
@@ -24248,12 +24270,6 @@ readers do not read off random characters that represent icons */
24248
24270
  pointer-events: none;
24249
24271
  }
24250
24272
 
24251
- .amis-scope .antd-PickerColumns-column {
24252
- flex: 1;
24253
- overflow: hidden;
24254
- font-size: var(--PickerColumns-option-fontSize);
24255
- }
24256
-
24257
24273
  .amis-scope .antd-PickerColumns-columnWrapper {
24258
24274
  margin: 0;
24259
24275
  padding: 0;
@@ -25460,7 +25476,7 @@ readers do not read off random characters that represent icons */
25460
25476
  .amis-scope .antd-Nav .antd-Nav-list--stacked .antd-Badge.is-active > .antd-Badge > a {
25461
25477
  color: var(--Nav-item-onActive-color);
25462
25478
  position: relative;
25463
- background: var(--Nav-item-onActive-bg);
25479
+ background: var(--Nav-item-onActive-bg) !important;
25464
25480
  }
25465
25481
 
25466
25482
  .amis-scope .antd-Nav .antd-Nav-list--stacked .antd-Nav-item.active > a::after,
@@ -30021,8 +30037,9 @@ readers do not read off random characters that represent icons */
30021
30037
  }
30022
30038
 
30023
30039
  .amis-scope .antd-Card-title {
30024
- color: var(--text--loud-color);
30040
+ color: var(--text-color);
30025
30041
  font-size: var(--fontSizeMd);
30042
+ font-weight: var(--fontWeightMd);
30026
30043
  white-space: nowrap;
30027
30044
  overflow: hidden;
30028
30045
  text-overflow: ellipsis;
@@ -30043,15 +30060,14 @@ readers do not read off random characters that represent icons */
30043
30060
  }
30044
30061
 
30045
30062
  .amis-scope .antd-Card-dragBtn {
30063
+ display: inline-block;
30046
30064
  cursor: pointer;
30047
- float: right;
30048
- margin: var(--gap-sm);
30065
+ padding: 0 var(--gap-sm);
30049
30066
  }
30050
30067
 
30051
30068
  .amis-scope .antd-Card-heading {
30052
30069
  display: flex;
30053
- flex-direction: row;
30054
- padding: var(--gap-sm) var(--gap-base);
30070
+ padding: var(--gap-md);
30055
30071
  flex: 1 0 auto;
30056
30072
  }
30057
30073
 
@@ -30078,7 +30094,7 @@ readers do not read off random characters that represent icons */
30078
30094
  float: left;
30079
30095
  margin-right: var(--gap-base);
30080
30096
  font-size: var(--fontSizeXl);
30081
- text-transform: uppercase;
30097
+ text-transform: uppercase();
30082
30098
  }
30083
30099
 
30084
30100
  .amis-scope .antd-Card-meta {
@@ -30086,11 +30102,14 @@ readers do not read off random characters that represent icons */
30086
30102
  flex-grow: 1;
30087
30103
  height: 100%;
30088
30104
  position: relative;
30089
- margin-right: var(--gap-md);
30105
+ }
30106
+
30107
+ .amis-scope .antd-Card-meta + .antd-Card-toolbar {
30108
+ margin-left: var(--gap-md);
30090
30109
  }
30091
30110
 
30092
30111
  .amis-scope .antd-Card-toolbar {
30093
- margin-right: calc(-1 * var(--gap-base));
30112
+ line-height: normal;
30094
30113
  text-align: right;
30095
30114
  }
30096
30115
 
@@ -30100,18 +30119,16 @@ readers do not read off random characters that represent icons */
30100
30119
  height: 0.5rem;
30101
30120
  border-radius: 100%;
30102
30121
  display: inline-block;
30103
- position: absolute;
30104
- top: var(--gap-xs);
30105
- right: 0.125rem;
30122
+ margin: 0 var(--gap-sm);
30106
30123
  }
30107
30124
 
30108
30125
  .amis-scope .antd-Card-body {
30109
- padding: var(--gap-base);
30126
+ padding: var(--gap-md);
30110
30127
  flex: 1 0 auto;
30111
30128
  }
30112
30129
 
30113
30130
  .amis-scope .antd-Card-heading + .antd-Card-body {
30114
- padding-top: var(--gap-xs);
30131
+ padding-top: 0;
30115
30132
  }
30116
30133
 
30117
30134
  .amis-scope .antd-Card-field {
@@ -30140,6 +30157,7 @@ readers do not read off random characters that represent icons */
30140
30157
  flex-direction: row;
30141
30158
  width: 100%;
30142
30159
  table-layout: fixed;
30160
+ white-space: nowrap;
30143
30161
  }
30144
30162
 
30145
30163
  .amis-scope .antd-Card-actions > a {
@@ -30227,6 +30245,160 @@ readers do not read off random characters that represent icons */
30227
30245
  opacity: var(--Card-onDragging-opacity);
30228
30246
  }
30229
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
+
30230
30402
  .amis-scope .antd-Field-quickEditBtn {
30231
30403
  color: var(--QuickEdit-iconColor);
30232
30404
  margin-left: var(--gap-xs);
@@ -33419,6 +33591,12 @@ readers do not read off random characters that represent icons */
33419
33591
  margin-right: var(--Checkbox-gap);
33420
33592
  }
33421
33593
 
33594
+ .amis-scope .antd-GroupedSelection {
33595
+ max-height: 18.75rem;
33596
+ overflow: auto;
33597
+ user-select: none;
33598
+ }
33599
+
33422
33600
  .amis-scope .antd-GroupedSelection-group:not(:first-child) > .antd-GroupedSelection-itemLabel {
33423
33601
  border-top: 0.0625rem solid var(--ListMenu-divider-color);
33424
33602
  }
@@ -33782,6 +33960,12 @@ readers do not read off random characters that represent icons */
33782
33960
  transition: all var(--animation-duration);
33783
33961
  }
33784
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
+
33785
33969
  .amis-scope .antd-Switch .slider:before {
33786
33970
  content: "";
33787
33971
  position: absolute;
@@ -35794,8 +35978,9 @@ readers do not read off random characters that represent icons */
35794
35978
  }
35795
35979
 
35796
35980
  .amis-scope .antd-FileControl-selectBtn {
35797
- display: flex;
35981
+ display: inline-flex;
35798
35982
  align-items: center;
35983
+ margin-right: 10px;
35799
35984
  }
35800
35985
 
35801
35986
  .amis-scope .antd-FileControl-selectBtn > svg {
@@ -35804,7 +35989,6 @@ readers do not read off random characters that represent icons */
35804
35989
  }
35805
35990
 
35806
35991
  .amis-scope .antd-FileControl-description {
35807
- margin-left: 10px;
35808
35992
  color: #999;
35809
35993
  font-size: 12px;
35810
35994
  }