amis 1.6.0 → 1.6.1-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 (216) hide show
  1. package/README.md +1 -0
  2. package/lib/RootRenderer.d.ts +2 -0
  3. package/lib/RootRenderer.js +19 -1
  4. package/lib/RootRenderer.js.map +2 -2
  5. package/lib/SchemaRenderer.js +52 -1
  6. package/lib/SchemaRenderer.js.map +2 -2
  7. package/lib/Scoped.d.ts +2 -0
  8. package/lib/Scoped.js +27 -1
  9. package/lib/Scoped.js.map +2 -2
  10. package/lib/actions/Action.d.ts +33 -0
  11. package/lib/actions/Action.js +100 -0
  12. package/lib/actions/Action.js.map +13 -0
  13. package/lib/actions/AjaxAction.d.ts +14 -0
  14. package/lib/actions/AjaxAction.js +68 -0
  15. package/lib/actions/AjaxAction.js.map +13 -0
  16. package/lib/actions/BreakAction.d.ts +12 -0
  17. package/lib/actions/BreakAction.js +28 -0
  18. package/lib/actions/BreakAction.js.map +13 -0
  19. package/lib/actions/BroadcastAction.d.ts +12 -0
  20. package/lib/actions/BroadcastAction.js +40 -0
  21. package/lib/actions/BroadcastAction.js.map +13 -0
  22. package/lib/actions/CmptAction.d.ts +12 -0
  23. package/lib/actions/CmptAction.js +40 -0
  24. package/lib/actions/CmptAction.js.map +13 -0
  25. package/lib/actions/ContinueAction.d.ts +12 -0
  26. package/lib/actions/ContinueAction.js +28 -0
  27. package/lib/actions/ContinueAction.js.map +13 -0
  28. package/lib/actions/CopyAction.d.ts +12 -0
  29. package/lib/actions/CopyAction.js +35 -0
  30. package/lib/actions/CopyAction.js.map +13 -0
  31. package/lib/actions/CustomAction.d.ts +12 -0
  32. package/lib/actions/CustomAction.js +43 -0
  33. package/lib/actions/CustomAction.js.map +13 -0
  34. package/lib/actions/DialogAction.d.ts +12 -0
  35. package/lib/actions/DialogAction.js +31 -0
  36. package/lib/actions/DialogAction.js.map +13 -0
  37. package/lib/actions/DrawerAction.d.ts +12 -0
  38. package/lib/actions/DrawerAction.js +31 -0
  39. package/lib/actions/DrawerAction.js.map +13 -0
  40. package/lib/actions/EmailAction.d.ts +12 -0
  41. package/lib/actions/EmailAction.js +37 -0
  42. package/lib/actions/EmailAction.js.map +13 -0
  43. package/lib/actions/LoopAction.d.ts +12 -0
  44. package/lib/actions/LoopAction.js +93 -0
  45. package/lib/actions/LoopAction.js.map +13 -0
  46. package/lib/actions/OpenPageAction.d.ts +12 -0
  47. package/lib/actions/OpenPageAction.js +33 -0
  48. package/lib/actions/OpenPageAction.js.map +13 -0
  49. package/lib/actions/ParallelAction.d.ts +5 -0
  50. package/lib/actions/ParallelAction.js +33 -0
  51. package/lib/actions/ParallelAction.js.map +13 -0
  52. package/lib/actions/SwitchAction.d.ts +8 -0
  53. package/lib/actions/SwitchAction.js +45 -0
  54. package/lib/actions/SwitchAction.js.map +13 -0
  55. package/lib/actions/index.d.ts +18 -0
  56. package/lib/actions/index.js +22 -0
  57. package/lib/actions/index.js.map +13 -0
  58. package/lib/components/AnchorNav.d.ts +20 -20
  59. package/lib/components/Button.d.ts +20 -20
  60. package/lib/components/CalendarMobile.d.ts +112 -86
  61. package/lib/components/CalendarMobile.js +85 -31
  62. package/lib/components/CalendarMobile.js.map +2 -2
  63. package/lib/components/Collapse.d.ts +20 -20
  64. package/lib/components/DatePicker.js +9 -3
  65. package/lib/components/DatePicker.js.map +2 -2
  66. package/lib/components/DateRangePicker.js +1 -0
  67. package/lib/components/DateRangePicker.js.map +2 -2
  68. package/lib/components/InputBox.d.ts +21 -21
  69. package/lib/components/ListGroup.d.ts +21 -21
  70. package/lib/components/ListMenu.d.ts +84 -84
  71. package/lib/components/MonthRangePicker.js +2 -1
  72. package/lib/components/MonthRangePicker.js.map +2 -2
  73. package/lib/components/Radios.d.ts +21 -21
  74. package/lib/components/Rating.d.ts +21 -21
  75. package/lib/components/ResultBox.d.ts +84 -84
  76. package/lib/components/Select.d.ts +238 -238
  77. package/lib/components/Select.js +4 -3
  78. package/lib/components/Select.js.map +2 -2
  79. package/lib/components/Timeline.js +1 -1
  80. package/lib/components/Timeline.js.map +2 -2
  81. package/lib/components/TimelineItem.d.ts +3 -2
  82. package/lib/components/TimelineItem.js +8 -9
  83. package/lib/components/TimelineItem.js.map +2 -2
  84. package/lib/components/Tree.d.ts +84 -84
  85. package/lib/components/formula/plugin.js +0 -1
  86. package/lib/components/formula/plugin.js.map +2 -2
  87. package/lib/env.d.ts +4 -0
  88. package/lib/env.js.map +2 -2
  89. package/lib/factory.d.ts +2 -1
  90. package/lib/factory.js +78 -0
  91. package/lib/factory.js.map +2 -2
  92. package/lib/helper.css.map +1 -1
  93. package/lib/index.d.ts +2 -0
  94. package/lib/index.js +3 -1
  95. package/lib/index.js.map +2 -2
  96. package/lib/renderers/Action.d.ts +1 -1
  97. package/lib/renderers/Action.js +26 -10
  98. package/lib/renderers/Action.js.map +2 -2
  99. package/lib/renderers/Custom.d.ts +1 -1
  100. package/lib/renderers/Custom.js +1 -1
  101. package/lib/renderers/Custom.js.map +1 -1
  102. package/lib/renderers/Form/DiffEditor.d.ts +6 -0
  103. package/lib/renderers/Form/Editor.d.ts +6 -0
  104. package/lib/renderers/Form/Options.js +9 -7
  105. package/lib/renderers/Form/Options.js.map +2 -2
  106. package/lib/renderers/Form/Select.js +3 -3
  107. package/lib/renderers/Form/Select.js.map +2 -2
  108. package/lib/renderers/Form/index.js +8 -1
  109. package/lib/renderers/Form/index.js.map +2 -2
  110. package/lib/renderers/Link.d.ts +1 -1
  111. package/lib/renderers/Link.js +27 -6
  112. package/lib/renderers/Link.js.map +2 -2
  113. package/lib/renderers/Nav.d.ts +21 -21
  114. package/lib/renderers/Remark.d.ts +1 -1
  115. package/lib/store/formItem.js +1 -1
  116. package/lib/store/formItem.js.map +2 -2
  117. package/lib/themes/ang-ie11.css +180 -1
  118. package/lib/themes/ang.css +180 -1
  119. package/lib/themes/ang.css.map +1 -1
  120. package/lib/themes/antd-ie11.css +184 -2
  121. package/lib/themes/antd.css +184 -2
  122. package/lib/themes/antd.css.map +1 -1
  123. package/lib/themes/cxd-ie11.css +182 -8
  124. package/lib/themes/cxd.css +182 -8
  125. package/lib/themes/cxd.css.map +1 -1
  126. package/lib/themes/dark-ie11.css +182 -1
  127. package/lib/themes/dark.css +182 -1
  128. package/lib/themes/dark.css.map +1 -1
  129. package/lib/themes/default.css +182 -8
  130. package/lib/themes/default.css.map +1 -1
  131. package/lib/utils/api.js +14 -3
  132. package/lib/utils/api.js.map +2 -2
  133. package/lib/utils/debug.d.ts +26 -0
  134. package/lib/utils/debug.js +351 -0
  135. package/lib/utils/debug.js.map +13 -0
  136. package/lib/utils/renderer-event.d.ts +38 -0
  137. package/lib/utils/renderer-event.js +28 -0
  138. package/lib/utils/renderer-event.js.map +13 -0
  139. package/package.json +1 -1
  140. package/scss/_properties.scss +2 -0
  141. package/scss/_variables.scss +1 -0
  142. package/scss/components/_calendar.scss +4 -0
  143. package/scss/components/_debug.scss +167 -0
  144. package/scss/components/_popup.scss +1 -1
  145. package/scss/components/form/_date-range.scss +33 -0
  146. package/scss/components/form/_form.scss +2 -0
  147. package/scss/themes/_antd-variables.scss +4 -1
  148. package/scss/themes/_common.scss +2 -0
  149. package/scss/themes/_cxd-variables.scss +2 -0
  150. package/scss/themes/_dark-variables.scss +3 -0
  151. package/scss/themes/cxd.scss +0 -7
  152. package/sdk/ang-ie11.css +211 -1
  153. package/sdk/ang.css +213 -1
  154. package/sdk/antd-ie11.css +213 -2
  155. package/sdk/antd.css +217 -2
  156. package/sdk/charts.js +16 -16
  157. package/sdk/codemirror.js +7 -7
  158. package/sdk/color-picker.js +65 -65
  159. package/sdk/cropperjs.js +2 -2
  160. package/sdk/cxd-ie11.css +211 -8
  161. package/sdk/cxd.css +215 -8
  162. package/sdk/dark-ie11.css +211 -1
  163. package/sdk/dark.css +215 -1
  164. package/sdk/exceljs.js +1 -1
  165. package/sdk/helper.css.map +1 -1
  166. package/sdk/markdown.js +69 -69
  167. package/sdk/papaparse.js +1 -1
  168. package/sdk/renderers/Form/CityDB.js +1 -1
  169. package/sdk/rest.js +18 -18
  170. package/sdk/rich-text.js +62 -62
  171. package/sdk/sdk-ie11.css +211 -8
  172. package/sdk/sdk.css +215 -8
  173. package/sdk/sdk.js +1293 -1257
  174. package/sdk/thirds/hls.js/hls.js +1 -1
  175. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  176. package/sdk/tinymce.js +57 -57
  177. package/src/RootRenderer.tsx +27 -1
  178. package/src/SchemaRenderer.tsx +70 -4
  179. package/src/Scoped.tsx +46 -4
  180. package/src/actions/Action.ts +138 -0
  181. package/src/actions/AjaxAction.ts +58 -0
  182. package/src/actions/BreakAction.ts +27 -0
  183. package/src/actions/BroadcastAction.ts +41 -0
  184. package/src/actions/CmptAction.ts +36 -0
  185. package/src/actions/ContinueAction.ts +27 -0
  186. package/src/actions/CopyAction.ts +41 -0
  187. package/src/actions/CustomAction.ts +46 -0
  188. package/src/actions/DialogAction.ts +28 -0
  189. package/src/actions/DrawerAction.ts +28 -0
  190. package/src/actions/EmailAction.ts +38 -0
  191. package/src/actions/LoopAction.ts +77 -0
  192. package/src/actions/OpenPageAction.ts +39 -0
  193. package/src/actions/ParallelAction.ts +26 -0
  194. package/src/actions/SwitchAction.ts +35 -0
  195. package/src/actions/index.ts +20 -0
  196. package/src/components/CalendarMobile.tsx +127 -32
  197. package/src/components/DatePicker.tsx +32 -2
  198. package/src/components/DateRangePicker.tsx +2 -1
  199. package/src/components/MonthRangePicker.tsx +2 -1
  200. package/src/components/Select.tsx +4 -3
  201. package/src/components/Timeline.tsx +9 -4
  202. package/src/components/TimelineItem.tsx +62 -29
  203. package/src/components/formula/plugin.ts +0 -2
  204. package/src/env.tsx +22 -0
  205. package/src/factory.tsx +87 -1
  206. package/src/index.tsx +4 -0
  207. package/src/renderers/Action.tsx +11 -2
  208. package/src/renderers/Custom.tsx +1 -1
  209. package/src/renderers/Form/Options.tsx +15 -7
  210. package/src/renderers/Form/Select.tsx +7 -3
  211. package/src/renderers/Form/index.tsx +7 -1
  212. package/src/renderers/Link.tsx +18 -3
  213. package/src/store/formItem.ts +1 -1
  214. package/src/utils/api.ts +15 -2
  215. package/src/utils/debug.tsx +438 -0
  216. package/src/utils/renderer-event.ts +75 -0
package/sdk/antd-ie11.css CHANGED
@@ -23423,7 +23423,7 @@ readers do not read off random characters that represent icons */
23423
23423
  background: white;
23424
23424
  left: 0;
23425
23425
  bottom: 0;
23426
- z-index: 1300;
23426
+ z-index: 3000;
23427
23427
  padding: 0;
23428
23428
  margin: 0;
23429
23429
  font-weight: 400;
@@ -26096,6 +26096,7 @@ readers do not read off random characters that represent icons */
26096
26096
 
26097
26097
  .amis-scope .antd-CalendarMobile {
26098
26098
  height: 100%;
26099
+ width: 100%;
26099
26100
  overflow: scroll;
26100
26101
  }
26101
26102
 
@@ -26278,6 +26279,10 @@ readers do not read off random characters that represent icons */
26278
26279
  margin: 0 1.5625rem;
26279
26280
  }
26280
26281
 
26282
+ .amis-scope .antd-CalendarMobile-footer .antd-DatePicker-shortcuts {
26283
+ width: auto;
26284
+ }
26285
+
26281
26286
  .amis-scope .antd-CalendarMobile-calendar-wrap {
26282
26287
  padding: 0.5rem 0;
26283
26288
  }
@@ -35790,6 +35795,36 @@ readers do not read off random characters that represent icons */
35790
35795
  border-radius: 2px;
35791
35796
  }
35792
35797
 
35798
+ .amis-scope .antd-DateRangePicker.is-mobile {
35799
+ border: 0;
35800
+ justify-content: flex-end;
35801
+ }
35802
+
35803
+ .amis-scope .antd-DateRangePicker.is-mobile span:focus,
35804
+ .amis-scope .antd-DateRangePicker.is-mobile a:focus {
35805
+ outline: unset;
35806
+ }
35807
+
35808
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-value,
35809
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-clear {
35810
+ display: inline-flex;
35811
+ justify-content: flex-end;
35812
+ padding: 0 0;
35813
+ }
35814
+
35815
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-value {
35816
+ margin-right: 0.25rem;
35817
+ }
35818
+
35819
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-placeholder {
35820
+ flex-grow: unset;
35821
+ flex-basis: unset;
35822
+ }
35823
+
35824
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-toggler {
35825
+ margin-top: -3px;
35826
+ }
35827
+
35793
35828
  .amis-scope .antd-ImageControl {
35794
35829
  position: relative;
35795
35830
  }
@@ -38793,6 +38828,8 @@ readers do not read off random characters that represent icons */
38793
38828
  font-weight: 400;
38794
38829
  margin-bottom: 0.25rem;
38795
38830
  position: relative;
38831
+ font-size: 0.875rem;
38832
+ color: rgba(0, 0, 0, 0.85);
38796
38833
  }
38797
38834
 
38798
38835
  .amis-scope .antd-Form-label > span {
@@ -40033,7 +40070,8 @@ readers do not read off random characters that represent icons */
40033
40070
  max-width: 18.75rem;
40034
40071
  font-size: var(--Timeline--font-size);
40035
40072
  padding: 0.625rem;
40036
- box-shadow: 0 0.0625rem 0.625rem 0 rgba(0 0 0 / 10%);
40073
+ box-shadow: 0 0.0625rem 0.625rem 0
40074
+ rgba(0 0 0 / 10%);
40037
40075
  }
40038
40076
 
40039
40077
  .amis-scope .antd-Timeline-vertical .antd-TimelineItem-content .antd-TimelineItem-detail .antd-TimelineItem-detail-invisible {
@@ -40119,6 +40157,179 @@ readers do not read off random characters that represent icons */
40119
40157
  border-radius: 50%;
40120
40158
  }
40121
40159
 
40160
+ /**
40161
+ * Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
40162
+ */
40163
+
40164
+ .amis-scope .AMISDebug {
40165
+ position: fixed;
40166
+ z-index: 4000;
40167
+ top: 0;
40168
+ right: 0;
40169
+ height: 100vh;
40170
+ width: 24px;
40171
+ }
40172
+
40173
+ .amis-scope .AMISDebug h3 {
40174
+ color: inherit;
40175
+ }
40176
+
40177
+ .amis-scope .AMISDebug .primary {
40178
+ color: #009fff;
40179
+ }
40180
+
40181
+ .amis-scope .AMISDebug-header {
40182
+ padding: 0.75rem;
40183
+ background: #f9f9f9;
40184
+ border-bottom: 0.0625rem solid #dfe2e6;
40185
+ }
40186
+
40187
+ .amis-scope .AMISDebug-hoverBox {
40188
+ pointer-events: none;
40189
+ position: absolute;
40190
+ outline: 1px dashed #1c76c4;
40191
+ }
40192
+
40193
+ .amis-scope .AMISDebug-activeBox {
40194
+ pointer-events: none;
40195
+ position: absolute;
40196
+ outline: 1px #1c76c4;
40197
+ }
40198
+
40199
+ .amis-scope .AMISDebug-tab {
40200
+ overflow: hidden;
40201
+ }
40202
+
40203
+ .amis-scope .AMISDebug-tab > button {
40204
+ color: inherit;
40205
+ background: inherit;
40206
+ float: left;
40207
+ border: none;
40208
+ outline: none;
40209
+ cursor: pointer;
40210
+ padding: 0.5rem 1rem;
40211
+ transition: 0.3s;
40212
+ border-bottom: 1px solid transparent;
40213
+ }
40214
+
40215
+ .amis-scope .AMISDebug-tab > button:hover {
40216
+ color: #e7e7e7;
40217
+ }
40218
+
40219
+ .amis-scope .AMISDebug-tab > button.active {
40220
+ color: #e7e7e7;
40221
+ border-bottom-color: #e7e7e7;
40222
+ }
40223
+
40224
+ .amis-scope .AMISDebug-toggle {
40225
+ background: #f0f2f5;
40226
+ position: fixed;
40227
+ top: 50%;
40228
+ right: 0;
40229
+ width: 24px;
40230
+ height: 48px;
40231
+ box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
40232
+ border-top-left-radius: 12px;
40233
+ border-bottom-left-radius: 12px;
40234
+ padding-top: 14px;
40235
+ padding-left: 6px;
40236
+ cursor: pointer;
40237
+ }
40238
+
40239
+ .amis-scope .AMISDebug-toggle i {
40240
+ color: rgba(0, 0, 0, 0.85);
40241
+ }
40242
+
40243
+ .amis-scope .AMISDebug-toggle:hover i {
40244
+ color: #1890ff;
40245
+ }
40246
+
40247
+ .amis-scope .AMISDebug-content {
40248
+ display: none;
40249
+ }
40250
+
40251
+ .amis-scope .AMISDebug-resize {
40252
+ position: absolute;
40253
+ width: 4px;
40254
+ top: 0;
40255
+ left: 0;
40256
+ bottom: 0;
40257
+ cursor: col-resize;
40258
+ }
40259
+
40260
+ .amis-scope .AMISDebug-resize:hover {
40261
+ background: #75715e;
40262
+ }
40263
+
40264
+ .amis-scope .AMISDebug-changePosition {
40265
+ position: absolute;
40266
+ font-size: 18px;
40267
+ right: 40px;
40268
+ top: 0.5rem;
40269
+ cursor: pointer;
40270
+ }
40271
+
40272
+ .amis-scope .AMISDebug-close {
40273
+ position: absolute;
40274
+ font-size: 18px;
40275
+ right: 0.5rem;
40276
+ top: 0.5rem;
40277
+ cursor: pointer;
40278
+ }
40279
+
40280
+ .amis-scope .AMISDebug.is-expanded {
40281
+ width: 420px;
40282
+ overflow: auto;
40283
+ background: #272821;
40284
+ color: #cccccc;
40285
+ box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
40286
+ }
40287
+
40288
+ .amis-scope .AMISDebug.is-expanded .AMISDebug-toggle {
40289
+ display: none;
40290
+ }
40291
+
40292
+ .amis-scope .AMISDebug.is-expanded .AMISDebug-content {
40293
+ display: block;
40294
+ }
40295
+
40296
+ .amis-scope .AMISDebug.is-left {
40297
+ left: 0;
40298
+ }
40299
+
40300
+ .amis-scope .AMISDebug.is-left .AMISDebug-resize {
40301
+ left: unset;
40302
+ right: 0;
40303
+ }
40304
+
40305
+ .amis-scope .AMISDebug-log {
40306
+ padding: 0.5rem;
40307
+ }
40308
+
40309
+ .amis-scope .AMISDebug-log button {
40310
+ cursor: pointer;
40311
+ background: #0e639c;
40312
+ flex-grow: 1;
40313
+ box-sizing: border-box;
40314
+ display: inline-flex;
40315
+ justify-content: center;
40316
+ align-items: center;
40317
+ padding: 6px 11px;
40318
+ outline: none;
40319
+ text-decoration: none;
40320
+ color: inherit;
40321
+ max-width: 300px;
40322
+ border: none;
40323
+ }
40324
+
40325
+ .amis-scope .AMISDebug-log button:hover {
40326
+ background: #1177bb;
40327
+ }
40328
+
40329
+ .amis-scope .AMISDebug-inspect {
40330
+ padding: 0.5rem;
40331
+ }
40332
+
40122
40333
  /*
40123
40334
  * utilities
40124
40335
  */
package/sdk/antd.css CHANGED
@@ -20310,6 +20310,8 @@ readers do not read off random characters that represent icons */
20310
20310
  --Form-description-color: rgba(26, 26, 26, 0.85);
20311
20311
  --Form-description-fontSize: var(--fontSizeSm);
20312
20312
  --Form-fontSize: var(--fontSizeBase);
20313
+ --Form-item-fontSize: var(--Form-fontSize);
20314
+ --Form-item-fontColor: #5e626a;
20313
20315
  --Form-group--lg-gutterWidth: 2.5rem;
20314
20316
  --Form-group--md-gutterWidth: 1.875rem;
20315
20317
  --Form-group--sm-gutterWidth: var(--gap-md);
@@ -21080,6 +21082,8 @@ readers do not read off random characters that represent icons */
21080
21082
  --Nav-item-onActive-borderLeft: 0;
21081
21083
  --Modal-header-bg: #fff;
21082
21084
  --Modal-title-fontWeight: 500;
21085
+ --Form-item-fontSize: var(--fontSizeBase);
21086
+ --Form-item-fontColor: var(--body-color);
21083
21087
  --Form-input-onFocused-borderColor: #40a9ff;
21084
21088
  --Form-input-borderColor: #d9d9d9;
21085
21089
  --Form-input-boxShadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
@@ -21149,7 +21153,8 @@ readers do not read off random characters that represent icons */
21149
21153
  --TimelineItem--icon-radius: 50%;
21150
21154
  --TimelineItem--round-radius: 50%;
21151
21155
  --TimelineItem--content-radius: 0.125rem;
21152
- --TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0 rgba(0 0 0 / 10%);
21156
+ --TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0
21157
+ rgba(0 0 0 / 10%);
21153
21158
  --TimelineItem--font-size: 0.75rem;
21154
21159
  --TimelineItem--text-primary-color: #151a26;
21155
21160
  --TimelineItem--text-secondary-color: #83868c;
@@ -24849,7 +24854,7 @@ readers do not read off random characters that represent icons */
24849
24854
  background: var(--PopOver-bg);
24850
24855
  left: 0;
24851
24856
  bottom: 0;
24852
- z-index: 1300;
24857
+ z-index: 3000;
24853
24858
  padding: 0;
24854
24859
  margin: 0;
24855
24860
  font-weight: var(--fontWeightNormal);
@@ -27504,6 +27509,7 @@ readers do not read off random characters that represent icons */
27504
27509
 
27505
27510
  .amis-scope .antd-CalendarMobile {
27506
27511
  height: 100%;
27512
+ width: 100%;
27507
27513
  overflow: scroll;
27508
27514
  }
27509
27515
 
@@ -27686,6 +27692,10 @@ readers do not read off random characters that represent icons */
27686
27692
  margin: 0 1.5625rem;
27687
27693
  }
27688
27694
 
27695
+ .amis-scope .antd-CalendarMobile-footer .antd-DatePicker-shortcuts {
27696
+ width: auto;
27697
+ }
27698
+
27689
27699
  .amis-scope .antd-CalendarMobile-calendar-wrap {
27690
27700
  padding: var(--gap-sm) 0;
27691
27701
  }
@@ -37094,6 +37104,36 @@ readers do not read off random characters that represent icons */
37094
37104
  border-radius: var(--DatePicker-borderRadius);
37095
37105
  }
37096
37106
 
37107
+ .amis-scope .antd-DateRangePicker.is-mobile {
37108
+ border: 0;
37109
+ justify-content: flex-end;
37110
+ }
37111
+
37112
+ .amis-scope .antd-DateRangePicker.is-mobile span:focus,
37113
+ .amis-scope .antd-DateRangePicker.is-mobile a:focus {
37114
+ outline: unset;
37115
+ }
37116
+
37117
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-value,
37118
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-clear {
37119
+ display: inline-flex;
37120
+ justify-content: flex-end;
37121
+ padding: 0 0;
37122
+ }
37123
+
37124
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-value {
37125
+ margin-right: var(--gap-xs);
37126
+ }
37127
+
37128
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-placeholder {
37129
+ flex-grow: unset;
37130
+ flex-basis: unset;
37131
+ }
37132
+
37133
+ .amis-scope .antd-DateRangePicker.is-mobile .antd-DateRangePicker-toggler {
37134
+ margin-top: -3px;
37135
+ }
37136
+
37097
37137
  .amis-scope .antd-ImageControl {
37098
37138
  position: relative;
37099
37139
  }
@@ -40011,6 +40051,8 @@ readers do not read off random characters that represent icons */
40011
40051
  font-weight: var(--fontWeightNormal);
40012
40052
  margin-bottom: var(--gap-xs);
40013
40053
  position: relative;
40054
+ font-size: var(--Form-item-fontSize);
40055
+ color: var(--Form-item-fontColor);
40014
40056
  }
40015
40057
 
40016
40058
  .amis-scope .antd-Form-label > span {
@@ -41307,6 +41349,179 @@ readers do not read off random characters that represent icons */
41307
41349
  border-radius: var(--TimelineItem--icon-radius);
41308
41350
  }
41309
41351
 
41352
+ /**
41353
+ * Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
41354
+ */
41355
+
41356
+ .amis-scope .AMISDebug {
41357
+ position: fixed;
41358
+ z-index: 4000;
41359
+ top: 0;
41360
+ right: 0;
41361
+ height: 100vh;
41362
+ width: 24px;
41363
+ }
41364
+
41365
+ .amis-scope .AMISDebug h3 {
41366
+ color: inherit;
41367
+ }
41368
+
41369
+ .amis-scope .AMISDebug .primary {
41370
+ color: #009fff;
41371
+ }
41372
+
41373
+ .amis-scope .AMISDebug-header {
41374
+ padding: var(--Drawer-header-padding);
41375
+ background: var(--Drawer-header-bg);
41376
+ border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
41377
+ }
41378
+
41379
+ .amis-scope .AMISDebug-hoverBox {
41380
+ pointer-events: none;
41381
+ position: absolute;
41382
+ outline: 1px dashed #1c76c4;
41383
+ }
41384
+
41385
+ .amis-scope .AMISDebug-activeBox {
41386
+ pointer-events: none;
41387
+ position: absolute;
41388
+ outline: 1px #1c76c4;
41389
+ }
41390
+
41391
+ .amis-scope .AMISDebug-tab {
41392
+ overflow: hidden;
41393
+ }
41394
+
41395
+ .amis-scope .AMISDebug-tab > button {
41396
+ color: inherit;
41397
+ background: inherit;
41398
+ float: left;
41399
+ border: none;
41400
+ outline: none;
41401
+ cursor: pointer;
41402
+ padding: var(--gap-sm) var(--gap-md);
41403
+ transition: 0.3s;
41404
+ border-bottom: 1px solid transparent;
41405
+ }
41406
+
41407
+ .amis-scope .AMISDebug-tab > button:hover {
41408
+ color: #e7e7e7;
41409
+ }
41410
+
41411
+ .amis-scope .AMISDebug-tab > button.active {
41412
+ color: #e7e7e7;
41413
+ border-bottom-color: #e7e7e7;
41414
+ }
41415
+
41416
+ .amis-scope .AMISDebug-toggle {
41417
+ background: var(--body-bg);
41418
+ position: fixed;
41419
+ top: 50%;
41420
+ right: 0;
41421
+ width: 24px;
41422
+ height: 48px;
41423
+ box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
41424
+ border-top-left-radius: 12px;
41425
+ border-bottom-left-radius: 12px;
41426
+ padding-top: 14px;
41427
+ padding-left: 6px;
41428
+ cursor: pointer;
41429
+ }
41430
+
41431
+ .amis-scope .AMISDebug-toggle i {
41432
+ color: var(--text-color);
41433
+ }
41434
+
41435
+ .amis-scope .AMISDebug-toggle:hover i {
41436
+ color: var(--primary);
41437
+ }
41438
+
41439
+ .amis-scope .AMISDebug-content {
41440
+ display: none;
41441
+ }
41442
+
41443
+ .amis-scope .AMISDebug-resize {
41444
+ position: absolute;
41445
+ width: 4px;
41446
+ top: 0;
41447
+ left: 0;
41448
+ bottom: 0;
41449
+ cursor: col-resize;
41450
+ }
41451
+
41452
+ .amis-scope .AMISDebug-resize:hover {
41453
+ background: #75715e;
41454
+ }
41455
+
41456
+ .amis-scope .AMISDebug-changePosition {
41457
+ position: absolute;
41458
+ font-size: 18px;
41459
+ right: 40px;
41460
+ top: var(--gap-sm);
41461
+ cursor: pointer;
41462
+ }
41463
+
41464
+ .amis-scope .AMISDebug-close {
41465
+ position: absolute;
41466
+ font-size: 18px;
41467
+ right: var(--gap-sm);
41468
+ top: var(--gap-sm);
41469
+ cursor: pointer;
41470
+ }
41471
+
41472
+ .amis-scope .AMISDebug.is-expanded {
41473
+ width: 420px;
41474
+ overflow: auto;
41475
+ background: #272821;
41476
+ color: #cccccc;
41477
+ box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
41478
+ }
41479
+
41480
+ .amis-scope .AMISDebug.is-expanded .AMISDebug-toggle {
41481
+ display: none;
41482
+ }
41483
+
41484
+ .amis-scope .AMISDebug.is-expanded .AMISDebug-content {
41485
+ display: block;
41486
+ }
41487
+
41488
+ .amis-scope .AMISDebug.is-left {
41489
+ left: 0;
41490
+ }
41491
+
41492
+ .amis-scope .AMISDebug.is-left .AMISDebug-resize {
41493
+ left: unset;
41494
+ right: 0;
41495
+ }
41496
+
41497
+ .amis-scope .AMISDebug-log {
41498
+ padding: var(--gap-sm);
41499
+ }
41500
+
41501
+ .amis-scope .AMISDebug-log button {
41502
+ cursor: pointer;
41503
+ background: #0e639c;
41504
+ flex-grow: 1;
41505
+ box-sizing: border-box;
41506
+ display: inline-flex;
41507
+ justify-content: center;
41508
+ align-items: center;
41509
+ padding: 6px 11px;
41510
+ outline: none;
41511
+ text-decoration: none;
41512
+ color: inherit;
41513
+ max-width: 300px;
41514
+ border: none;
41515
+ }
41516
+
41517
+ .amis-scope .AMISDebug-log button:hover {
41518
+ background: #1177bb;
41519
+ }
41520
+
41521
+ .amis-scope .AMISDebug-inspect {
41522
+ padding: var(--gap-sm);
41523
+ }
41524
+
41310
41525
  /*
41311
41526
  * utilities
41312
41527
  */