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/cxd.css CHANGED
@@ -19184,6 +19184,7 @@ readers do not read off random characters that represent icons */
19184
19184
  --borderWidth: 0.0625rem;
19185
19185
  --fontWeightNormal: 400;
19186
19186
  --fontWeightBase: var(--fontWeightNormal);
19187
+ --fontWeightMd: 500;
19187
19188
  --fontWeightBold: 700;
19188
19189
  --background: var(--white);
19189
19190
  --code-color: var(--danger);
@@ -19501,6 +19502,14 @@ readers do not read off random characters that represent icons */
19501
19502
  --Calendar-shortcuts-bg: transparent;
19502
19503
  --Calendar-shortcuts-height: 1.875rem;
19503
19504
  --Calendar-wLabel-color: #999;
19505
+ --Calendar-icon-bottom: -0.25rem;
19506
+ --Calendar-icon-width: 0.625rem;
19507
+ --Calendar-icon-height: 0.625rem;
19508
+ --Calendar-borderWidth: 0.0625rem;
19509
+ --Calendar-rdt-day: 6.25rem;
19510
+ --Calendar-schedule-content-padding: 0 0.25rem;
19511
+ --Calendar-schedule-content-height: 1.25rem;
19512
+ --Calendar-schedule-content-color: #fff;
19504
19513
  --Card-actions-borderColor: #dfe2e6;
19505
19514
  --Card-actions-fontSize: var(--fontSizeBase);
19506
19515
  --Card-actions-onChecked-onHover-bg: #c2ecf9;
@@ -19511,6 +19520,7 @@ readers do not read off random characters that represent icons */
19511
19520
  --Card-borderColor: var(--borderColor);
19512
19521
  --Card-borderRadius: var(--borderRadius);
19513
19522
  --Card-borderWidth: var(--borderWidth);
19523
+ --Card-secondary-color: #83868c;
19514
19524
  --Card-onChecked-bg: #d9f3fb;
19515
19525
  --Card-onChecked-borderColor: #abe4f6;
19516
19526
  --Card-onChecked-color: #20b9e8;
@@ -20124,8 +20134,8 @@ readers do not read off random characters that represent icons */
20124
20134
  --PickerColumns-title-lineHeight: 1.5;
20125
20135
  --PickerColumns-action-padding: 0 var(--gap-sm);
20126
20136
  --PickerColumns-action-fontSize: var(--fontSizeMd);
20127
- --PickerColumns-confirmAction-color: var(--Button--info-bg);
20128
- --PickerColumns-cancelAction-color: var(--Button--light-bg);
20137
+ --PickerColumns-confirmAction-color: #425278;
20138
+ --PickerColumns-cancelAction-color: #8191b9;
20129
20139
  --PickerColumns-option-fontSize: var(--fontSizeLg);
20130
20140
  --PickerColumns-optionText-color: var(--text-color);
20131
20141
  --PickerColumns-optionDisabled-opacity: 0.3;
@@ -24479,14 +24489,9 @@ readers do not read off random characters that represent icons */
24479
24489
  position: relative;
24480
24490
  background-color: var(--PickerColumns-bg);
24481
24491
  user-select: none;
24482
- }
24483
-
24484
- .amis-scope .cxd-PickerColumns-popOver {
24485
- position: fixed;
24486
- bottom: 0;
24487
- left: 0;
24488
- width: 100%;
24489
- padding: 0 var(--gap-sm);
24492
+ flex: 1;
24493
+ overflow: hidden;
24494
+ font-size: var(--PickerColumns-option-fontSize);
24490
24495
  }
24491
24496
 
24492
24497
  .amis-scope .cxd-PickerColumns-toolbar {
@@ -24511,6 +24516,11 @@ readers do not read off random characters that represent icons */
24511
24516
  opacity: 0.7;
24512
24517
  }
24513
24518
 
24519
+ .amis-scope .cxd-PickerColumns-cancel:hover,
24520
+ .amis-scope .cxd-PickerColumns-confirm:hover {
24521
+ background-color: none !important;
24522
+ }
24523
+
24514
24524
  .amis-scope .cxd-PickerColumns-confirm {
24515
24525
  color: var(--PickerColumns-confirmAction-color);
24516
24526
  }
@@ -24558,6 +24568,18 @@ readers do not read off random characters that represent icons */
24558
24568
  pointer-events: none;
24559
24569
  }
24560
24570
 
24571
+ .amis-scope .cxd-PickerColumns-frame::after {
24572
+ position: absolute;
24573
+ content: "";
24574
+ border-bottom: 1px solid var(--borderColor);
24575
+ border-top: 1px solid var(--borderColor);
24576
+ top: -50%;
24577
+ right: -50%;
24578
+ left: -50%;
24579
+ bottom: -50%;
24580
+ transform: scale(0.5);
24581
+ }
24582
+
24561
24583
  .amis-scope .cxd-PickerColumns-mask {
24562
24584
  position: absolute;
24563
24585
  top: 0;
@@ -24572,12 +24594,6 @@ readers do not read off random characters that represent icons */
24572
24594
  pointer-events: none;
24573
24595
  }
24574
24596
 
24575
- .amis-scope .cxd-PickerColumns-column {
24576
- flex: 1;
24577
- overflow: hidden;
24578
- font-size: var(--PickerColumns-option-fontSize);
24579
- }
24580
-
24581
24597
  .amis-scope .cxd-PickerColumns-columnWrapper {
24582
24598
  margin: 0;
24583
24599
  padding: 0;
@@ -25784,7 +25800,7 @@ readers do not read off random characters that represent icons */
25784
25800
  .amis-scope .cxd-Nav .cxd-Nav-list--stacked .cxd-Badge.is-active > .cxd-Badge > a {
25785
25801
  color: var(--Nav-item-onActive-color);
25786
25802
  position: relative;
25787
- background: var(--Nav-item-onActive-bg);
25803
+ background: var(--Nav-item-onActive-bg) !important;
25788
25804
  }
25789
25805
 
25790
25806
  .amis-scope .cxd-Nav .cxd-Nav-list--stacked .cxd-Nav-item.active > a::after,
@@ -30345,8 +30361,9 @@ readers do not read off random characters that represent icons */
30345
30361
  }
30346
30362
 
30347
30363
  .amis-scope .cxd-Card-title {
30348
- color: var(--text--loud-color);
30364
+ color: var(--text-color);
30349
30365
  font-size: var(--fontSizeMd);
30366
+ font-weight: var(--fontWeightMd);
30350
30367
  white-space: nowrap;
30351
30368
  overflow: hidden;
30352
30369
  text-overflow: ellipsis;
@@ -30367,15 +30384,14 @@ readers do not read off random characters that represent icons */
30367
30384
  }
30368
30385
 
30369
30386
  .amis-scope .cxd-Card-dragBtn {
30387
+ display: inline-block;
30370
30388
  cursor: pointer;
30371
- float: right;
30372
- margin: var(--gap-sm);
30389
+ padding: 0 var(--gap-sm);
30373
30390
  }
30374
30391
 
30375
30392
  .amis-scope .cxd-Card-heading {
30376
30393
  display: flex;
30377
- flex-direction: row;
30378
- padding: var(--gap-sm) var(--gap-base);
30394
+ padding: var(--gap-md);
30379
30395
  flex: 1 0 auto;
30380
30396
  }
30381
30397
 
@@ -30402,7 +30418,7 @@ readers do not read off random characters that represent icons */
30402
30418
  float: left;
30403
30419
  margin-right: var(--gap-base);
30404
30420
  font-size: var(--fontSizeXl);
30405
- text-transform: uppercase;
30421
+ text-transform: uppercase();
30406
30422
  }
30407
30423
 
30408
30424
  .amis-scope .cxd-Card-meta {
@@ -30410,11 +30426,14 @@ readers do not read off random characters that represent icons */
30410
30426
  flex-grow: 1;
30411
30427
  height: 100%;
30412
30428
  position: relative;
30413
- margin-right: var(--gap-md);
30429
+ }
30430
+
30431
+ .amis-scope .cxd-Card-meta + .cxd-Card-toolbar {
30432
+ margin-left: var(--gap-md);
30414
30433
  }
30415
30434
 
30416
30435
  .amis-scope .cxd-Card-toolbar {
30417
- margin-right: calc(-1 * var(--gap-base));
30436
+ line-height: normal;
30418
30437
  text-align: right;
30419
30438
  }
30420
30439
 
@@ -30424,18 +30443,16 @@ readers do not read off random characters that represent icons */
30424
30443
  height: 0.5rem;
30425
30444
  border-radius: 100%;
30426
30445
  display: inline-block;
30427
- position: absolute;
30428
- top: var(--gap-xs);
30429
- right: 0.125rem;
30446
+ margin: 0 var(--gap-sm);
30430
30447
  }
30431
30448
 
30432
30449
  .amis-scope .cxd-Card-body {
30433
- padding: var(--gap-base);
30450
+ padding: var(--gap-md);
30434
30451
  flex: 1 0 auto;
30435
30452
  }
30436
30453
 
30437
30454
  .amis-scope .cxd-Card-heading + .cxd-Card-body {
30438
- padding-top: var(--gap-xs);
30455
+ padding-top: 0;
30439
30456
  }
30440
30457
 
30441
30458
  .amis-scope .cxd-Card-field {
@@ -30464,6 +30481,7 @@ readers do not read off random characters that represent icons */
30464
30481
  flex-direction: row;
30465
30482
  width: 100%;
30466
30483
  table-layout: fixed;
30484
+ white-space: nowrap;
30467
30485
  }
30468
30486
 
30469
30487
  .amis-scope .cxd-Card-actions > a {
@@ -30551,6 +30569,160 @@ readers do not read off random characters that represent icons */
30551
30569
  opacity: var(--Card-onDragging-opacity);
30552
30570
  }
30553
30571
 
30572
+ .amis-scope .cxd-Card-footer-wrapper {
30573
+ display: flex;
30574
+ align-items: center;
30575
+ justify-content: space-between;
30576
+ }
30577
+
30578
+ .amis-scope .cxd-Card-actions-wrapper {
30579
+ flex: 1;
30580
+ display: flex;
30581
+ align-items: center;
30582
+ justify-content: flex-end;
30583
+ flex-wrap: wrap;
30584
+ }
30585
+
30586
+ .amis-scope .cxd-Card-checkbox {
30587
+ margin: 0 var(--gap-sm) !important;
30588
+ }
30589
+
30590
+ .amis-scope .cxd-Card-secondary {
30591
+ max-width: 12.5rem;
30592
+ color: var(--Card-secondary-color);
30593
+ padding: 0 var(--gap-md);
30594
+ font-size: var(--fontSizeMd);
30595
+ font-weight: var(--fontWeightBase);
30596
+ white-space: nowrap;
30597
+ overflow: hidden;
30598
+ text-overflow: ellipsis;
30599
+ }
30600
+
30601
+ .amis-scope .cxd-Card-secondary + .cxd-Card-actions-wrapper .cxd-Card-actions {
30602
+ margin-left: unset;
30603
+ border: none;
30604
+ width: unset;
30605
+ }
30606
+
30607
+ .amis-scope .cxd-Card-secondary + .cxd-Card-actions-wrapper .cxd-Card-actions > a {
30608
+ border: none;
30609
+ }
30610
+
30611
+ .amis-scope .cxd-Card-multiMedia--top .cxd-Card-actions-wrapper .cxd-Card-actions,
30612
+ .amis-scope .cxd-Card-multiMedia--bottom .cxd-Card-actions-wrapper .cxd-Card-actions,
30613
+ .amis-scope .cxd-Card-multiMedia--left .cxd-Card-actions-wrapper .cxd-Card-actions,
30614
+ .amis-scope .cxd-Card-multiMedia--right .cxd-Card-actions-wrapper .cxd-Card-actions {
30615
+ margin-left: unset;
30616
+ border: none;
30617
+ width: unset;
30618
+ }
30619
+
30620
+ .amis-scope .cxd-Card-multiMedia--top .cxd-Card-actions-wrapper .cxd-Card-actions > a,
30621
+ .amis-scope .cxd-Card-multiMedia--bottom .cxd-Card-actions-wrapper .cxd-Card-actions > a,
30622
+ .amis-scope .cxd-Card-multiMedia--left .cxd-Card-actions-wrapper .cxd-Card-actions > a,
30623
+ .amis-scope .cxd-Card-multiMedia--right .cxd-Card-actions-wrapper .cxd-Card-actions > a {
30624
+ border: none;
30625
+ }
30626
+
30627
+ .amis-scope .cxd-Card-multiMedia--top {
30628
+ display: block;
30629
+ }
30630
+
30631
+ .amis-scope .cxd-Card-multiMedia--top .cxd-Card-multiMedia-img {
30632
+ border-bottom-left-radius: unset;
30633
+ border-bottom-right-radius: unset;
30634
+ }
30635
+
30636
+ .amis-scope .cxd-Card-multiMedia--bottom {
30637
+ display: flex;
30638
+ flex-direction: column-reverse;
30639
+ }
30640
+
30641
+ .amis-scope .cxd-Card-multiMedia--bottom .cxd-Card-actions {
30642
+ border-bottom: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30643
+ }
30644
+
30645
+ .amis-scope .cxd-Card-multiMedia--bottom .cxd-Card-multiMedia-img {
30646
+ border-top-left-radius: unset;
30647
+ border-top-right-radius: unset;
30648
+ }
30649
+
30650
+ .amis-scope .cxd-Card-multiMedia--top .cxd-Card-body,
30651
+ .amis-scope .cxd-Card-multiMedia--bottom .cxd-Card-body {
30652
+ padding-bottom: var(--gap-md);
30653
+ }
30654
+
30655
+ .amis-scope .cxd-Card-multiMedia--left {
30656
+ display: flex;
30657
+ align-items: center;
30658
+ }
30659
+
30660
+ .amis-scope .cxd-Card-multiMedia--left .cxd-Card-actions {
30661
+ margin-left: var(--gap-md);
30662
+ border-left: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30663
+ }
30664
+
30665
+ .amis-scope .cxd-Card-multiMedia--left .cxd-Card-multiMedia-img,
30666
+ .amis-scope .cxd-Card-multiMedia--left .cxd-Card-multiMedia-video {
30667
+ margin: var(--gap-md) 0 var(--gap-md) var(--gap-md);
30668
+ }
30669
+
30670
+ .amis-scope .cxd-Card-multiMedia--right {
30671
+ display: flex;
30672
+ align-items: center;
30673
+ justify-content: space-between;
30674
+ flex-direction: row-reverse;
30675
+ }
30676
+
30677
+ .amis-scope .cxd-Card-multiMedia--right .cxd-Card-actions {
30678
+ margin-right: var(--gap-md);
30679
+ border-right: var(--Card-borderWidth) solid var(--Card-actions-borderColor);
30680
+ }
30681
+
30682
+ .amis-scope .cxd-Card-multiMedia--right .cxd-Card-multiMedia-img,
30683
+ .amis-scope .cxd-Card-multiMedia--right .cxd-Card-multiMedia-video {
30684
+ margin: var(--gap-md) var(--gap-md) var(--gap-md) 0;
30685
+ }
30686
+
30687
+ .amis-scope .cxd-Card-multiMedia-flex {
30688
+ flex: 1;
30689
+ display: flex;
30690
+ flex-direction: column;
30691
+ justify-content: center;
30692
+ }
30693
+
30694
+ .amis-scope .cxd-Card-multiMedia-img {
30695
+ display: block;
30696
+ width: 100%;
30697
+ height: auto;
30698
+ object-fit: cover;
30699
+ border-radius: var(--Card-borderRadius);
30700
+ }
30701
+
30702
+ .amis-scope .cxd-Card-multiMedia-video {
30703
+ width: 11.25rem;
30704
+ height: 7.5rem;
30705
+ }
30706
+
30707
+ .amis-scope .cxd-Card-multiMedia-video .cxd-Video {
30708
+ width: 100%;
30709
+ height: 100%;
30710
+ min-width: unset;
30711
+ border-radius: var(--Card-borderRadius);
30712
+ overflow: hidden;
30713
+ }
30714
+
30715
+ .amis-scope .cxd-Card-multiMedia-video .cxd-Video .cxd-Video-player {
30716
+ width: 100%;
30717
+ height: 100%;
30718
+ }
30719
+
30720
+ .amis-scope .cxd-Card-multiMedia-video .cxd-Video .cxd-Video-player .video-react {
30721
+ width: 100%;
30722
+ height: 100%;
30723
+ padding-top: unset !important;
30724
+ }
30725
+
30554
30726
  .amis-scope .cxd-Field-quickEditBtn {
30555
30727
  color: var(--QuickEdit-iconColor);
30556
30728
  margin-left: var(--gap-xs);
@@ -33743,6 +33915,12 @@ readers do not read off random characters that represent icons */
33743
33915
  margin-right: var(--Checkbox-gap);
33744
33916
  }
33745
33917
 
33918
+ .amis-scope .cxd-GroupedSelection {
33919
+ max-height: 18.75rem;
33920
+ overflow: auto;
33921
+ user-select: none;
33922
+ }
33923
+
33746
33924
  .amis-scope .cxd-GroupedSelection-group:not(:first-child) > .cxd-GroupedSelection-itemLabel {
33747
33925
  border-top: 0.0625rem solid var(--ListMenu-divider-color);
33748
33926
  }
@@ -34106,6 +34284,12 @@ readers do not read off random characters that represent icons */
34106
34284
  transition: all var(--animation-duration);
34107
34285
  }
34108
34286
 
34287
+ .amis-scope .cxd-Switch .text > svg {
34288
+ width: var(--fontSizeSm);
34289
+ height: var(--fontSizeSm);
34290
+ margin-top: calc((var(--Switch-height) - var(--fontSizeSm)) / 2);
34291
+ }
34292
+
34109
34293
  .amis-scope .cxd-Switch .slider:before {
34110
34294
  content: "";
34111
34295
  position: absolute;
@@ -36118,8 +36302,9 @@ readers do not read off random characters that represent icons */
36118
36302
  }
36119
36303
 
36120
36304
  .amis-scope .cxd-FileControl-selectBtn {
36121
- display: flex;
36305
+ display: inline-flex;
36122
36306
  align-items: center;
36307
+ margin-right: 10px;
36123
36308
  }
36124
36309
 
36125
36310
  .amis-scope .cxd-FileControl-selectBtn > svg {
@@ -36128,7 +36313,6 @@ readers do not read off random characters that represent icons */
36128
36313
  }
36129
36314
 
36130
36315
  .amis-scope .cxd-FileControl-description {
36131
- margin-left: 10px;
36132
36316
  color: #999;
36133
36317
  font-size: 12px;
36134
36318
  }