amis 1.5.4 → 1.5.6-beta.5

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 (231) hide show
  1. package/lib/Root.js +1 -1
  2. package/lib/Root.js.map +2 -2
  3. package/lib/RootRenderer.d.ts +1 -1
  4. package/lib/RootRenderer.js +4 -3
  5. package/lib/RootRenderer.js.map +2 -2
  6. package/lib/Schema.d.ts +1 -1
  7. package/lib/Schema.js.map +1 -1
  8. package/lib/SchemaRenderer.js +4 -4
  9. package/lib/SchemaRenderer.js.map +2 -2
  10. package/lib/components/AsideNav.d.ts +1 -1
  11. package/lib/components/AsideNav.js.map +1 -1
  12. package/lib/components/Card.d.ts +20 -20
  13. package/lib/components/CodeMirror.d.ts +26 -0
  14. package/lib/components/CodeMirror.js +104 -0
  15. package/lib/components/CodeMirror.js.map +13 -0
  16. package/lib/components/Collapse.d.ts +22 -21
  17. package/lib/components/Collapse.js +4 -6
  18. package/lib/components/Collapse.js.map +2 -2
  19. package/lib/components/CollapseGroup.d.ts +20 -20
  20. package/lib/components/CollapseGroup.js +5 -3
  21. package/lib/components/CollapseGroup.js.map +2 -2
  22. package/lib/components/ColorPicker.d.ts +85 -84
  23. package/lib/components/ColorPicker.js +15 -3
  24. package/lib/components/ColorPicker.js.map +2 -2
  25. package/lib/components/DatePicker.d.ts +84 -84
  26. package/lib/components/DatePicker.js +7 -3
  27. package/lib/components/DatePicker.js.map +2 -2
  28. package/lib/components/DateRangePicker.d.ts +85 -84
  29. package/lib/components/DateRangePicker.js +5 -3
  30. package/lib/components/DateRangePicker.js.map +2 -2
  31. package/lib/components/LocationPicker.d.ts +84 -84
  32. package/lib/components/MonthRangePicker.d.ts +85 -84
  33. package/lib/components/MonthRangePicker.js +5 -3
  34. package/lib/components/MonthRangePicker.js.map +2 -2
  35. package/lib/components/PickerContainer.d.ts +2 -1
  36. package/lib/components/PickerContainer.js +3 -3
  37. package/lib/components/PickerContainer.js.map +2 -2
  38. package/lib/components/PopUp.d.ts +93 -0
  39. package/lib/components/PopUp.js +58 -0
  40. package/lib/components/PopUp.js.map +13 -0
  41. package/lib/components/Progress.js +1 -1
  42. package/lib/components/Progress.js.map +2 -2
  43. package/lib/components/Select.d.ts +237 -237
  44. package/lib/components/Steps.d.ts +1 -0
  45. package/lib/components/Steps.js +5 -3
  46. package/lib/components/Steps.js.map +2 -2
  47. package/lib/components/Tabs.d.ts +20 -20
  48. package/lib/components/TabsTransferPicker.js +1 -1
  49. package/lib/components/TabsTransferPicker.js.map +2 -2
  50. package/lib/components/TransferPicker.d.ts +0 -1
  51. package/lib/components/TransferPicker.js +2 -15
  52. package/lib/components/TransferPicker.js.map +2 -2
  53. package/lib/components/formula/Editor.d.ts +560 -0
  54. package/lib/components/formula/Editor.js +186 -0
  55. package/lib/components/formula/Editor.js.map +13 -0
  56. package/lib/components/formula/FuncList.d.ts +67 -0
  57. package/lib/components/formula/FuncList.js +35 -0
  58. package/lib/components/formula/FuncList.js.map +13 -0
  59. package/lib/components/formula/Picker.d.ts +493 -0
  60. package/lib/components/formula/Picker.js +48 -0
  61. package/lib/components/formula/Picker.js.map +13 -0
  62. package/lib/components/formula/VariableList.d.ts +9 -0
  63. package/lib/components/formula/VariableList.js +15 -0
  64. package/lib/components/formula/VariableList.js.map +13 -0
  65. package/lib/components/formula/plugin.d.ts +18 -0
  66. package/lib/components/formula/plugin.js +136 -0
  67. package/lib/components/formula/plugin.js.map +13 -0
  68. package/lib/components/index.d.ts +2 -1
  69. package/lib/components/index.js +4 -2
  70. package/lib/components/index.js.map +2 -2
  71. package/lib/helper.css +57 -57
  72. package/lib/helper.css.map +1 -1
  73. package/lib/index.d.ts +1 -0
  74. package/lib/index.js +2 -1
  75. package/lib/index.js.map +2 -2
  76. package/lib/renderers/CRUD.d.ts +1 -1
  77. package/lib/renderers/CRUD.js +4 -3
  78. package/lib/renderers/CRUD.js.map +2 -2
  79. package/lib/renderers/Collapse.js +8 -2
  80. package/lib/renderers/Collapse.js.map +2 -2
  81. package/lib/renderers/CollapseGroup.js.map +2 -2
  82. package/lib/renderers/Dialog.d.ts +2 -2
  83. package/lib/renderers/Dialog.js +7 -7
  84. package/lib/renderers/Dialog.js.map +2 -2
  85. package/lib/renderers/Drawer.js +2 -2
  86. package/lib/renderers/Drawer.js.map +2 -2
  87. package/lib/renderers/Form/InputCity.d.ts +84 -84
  88. package/lib/renderers/Form/InputColor.d.ts +84 -84
  89. package/lib/renderers/Form/InputColor.js +2 -2
  90. package/lib/renderers/Form/InputColor.js.map +2 -2
  91. package/lib/renderers/Form/InputDate.js +2 -2
  92. package/lib/renderers/Form/InputDate.js.map +2 -2
  93. package/lib/renderers/Form/InputDateRange.js +2 -2
  94. package/lib/renderers/Form/InputDateRange.js.map +2 -2
  95. package/lib/renderers/Form/InputFile.js +1 -1
  96. package/lib/renderers/Form/InputFile.js.map +2 -2
  97. package/lib/renderers/Form/InputFormula.d.ts +35 -0
  98. package/lib/renderers/Form/InputFormula.js +25 -0
  99. package/lib/renderers/Form/InputFormula.js.map +13 -0
  100. package/lib/renderers/Form/InputImage.js +1 -1
  101. package/lib/renderers/Form/InputImage.js.map +2 -2
  102. package/lib/renderers/Form/InputMonthRange.js +2 -2
  103. package/lib/renderers/Form/InputMonthRange.js.map +2 -2
  104. package/lib/renderers/Form/InputQuarterRange.js +2 -2
  105. package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
  106. package/lib/renderers/Form/InputYearRange.js +2 -2
  107. package/lib/renderers/Form/InputYearRange.js.map +2 -2
  108. package/lib/renderers/Form/Item.d.ts +1 -1
  109. package/lib/renderers/Form/Item.js +4 -3
  110. package/lib/renderers/Form/Item.js.map +2 -2
  111. package/lib/renderers/Form/TreeSelect.d.ts +1 -0
  112. package/lib/renderers/Form/TreeSelect.js +11 -8
  113. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  114. package/lib/renderers/Form/index.d.ts +1 -1
  115. package/lib/renderers/Form/index.js +3 -2
  116. package/lib/renderers/Form/index.js.map +2 -2
  117. package/lib/renderers/Page.d.ts +3 -3
  118. package/lib/renderers/Page.js +4 -3
  119. package/lib/renderers/Page.js.map +2 -2
  120. package/lib/renderers/Steps.js +2 -2
  121. package/lib/renderers/Steps.js.map +2 -2
  122. package/lib/renderers/Wizard.d.ts +1 -1
  123. package/lib/renderers/Wizard.js +93 -36
  124. package/lib/renderers/Wizard.js.map +2 -2
  125. package/lib/store/formItem.js +11 -1
  126. package/lib/store/formItem.js.map +2 -2
  127. package/lib/themes/ang-ie11.css +261 -0
  128. package/lib/themes/ang.css +261 -0
  129. package/lib/themes/ang.css.map +1 -1
  130. package/lib/themes/antd-ie11.css +261 -0
  131. package/lib/themes/antd.css +261 -0
  132. package/lib/themes/antd.css.map +1 -1
  133. package/lib/themes/cxd-ie11.css +261 -0
  134. package/lib/themes/cxd.css +261 -0
  135. package/lib/themes/cxd.css.map +1 -1
  136. package/lib/themes/dark-ie11.css +261 -0
  137. package/lib/themes/dark.css +261 -0
  138. package/lib/themes/dark.css.map +1 -1
  139. package/lib/themes/default.css +261 -0
  140. package/lib/themes/default.css.map +1 -1
  141. package/lib/utils/api.js +2 -2
  142. package/lib/utils/api.js.map +2 -2
  143. package/lib/utils/helper.js +2 -7
  144. package/lib/utils/helper.js.map +2 -2
  145. package/package.json +5 -3
  146. package/scss/_variables.scss +1 -1
  147. package/scss/components/_formula.scss +122 -0
  148. package/scss/components/_popup.scss +123 -0
  149. package/scss/components/_steps.scss +60 -0
  150. package/scss/components/form/_color.scss +4 -0
  151. package/scss/components/form/_date-range.scss +4 -0
  152. package/scss/components/form/_date.scss +3 -0
  153. package/scss/components/form/_tree-select.scss +4 -0
  154. package/scss/helper/background/_background-color.scss +1 -1
  155. package/scss/helper/border/_border-color.scss +1 -1
  156. package/scss/helper/typography/_text-color.scss +1 -1
  157. package/scss/themes/_common.scss +2 -0
  158. package/sdk/ang-ie11.css +875 -0
  159. package/sdk/ang.css +875 -0
  160. package/sdk/antd-ie11.css +875 -0
  161. package/sdk/antd.css +875 -0
  162. package/sdk/charts.js +18 -18
  163. package/sdk/codemirror.js +14 -0
  164. package/sdk/color-picker.js +65 -65
  165. package/sdk/cropperjs.js +3 -3
  166. package/sdk/cxd-ie11.css +875 -0
  167. package/sdk/cxd.css +875 -0
  168. package/sdk/dark-ie11.css +875 -0
  169. package/sdk/dark.css +875 -0
  170. package/sdk/exceljs.js +1 -1
  171. package/sdk/helper.css +57 -57
  172. package/sdk/helper.css.map +1 -1
  173. package/sdk/markdown.js +69 -69
  174. package/sdk/papaparse.js +1 -1
  175. package/sdk/renderers/Form/CityDB.js +1 -1
  176. package/sdk/rest.js +18 -18
  177. package/sdk/rich-text.js +62 -62
  178. package/sdk/sdk-ie11.css +875 -0
  179. package/sdk/sdk.css +875 -0
  180. package/sdk/sdk.js +1315 -1207
  181. package/sdk/thirds/hls.js/hls.js +18 -18
  182. package/sdk/thirds/mpegts.js/mpegts.js +2 -2
  183. package/sdk/tinymce.js +57 -57
  184. package/src/Root.tsx +1 -0
  185. package/src/RootRenderer.tsx +3 -3
  186. package/src/Schema.ts +1 -0
  187. package/src/SchemaRenderer.tsx +4 -0
  188. package/src/components/AsideNav.tsx +1 -1
  189. package/src/components/CodeMirror.tsx +99 -0
  190. package/src/components/Collapse.tsx +21 -13
  191. package/src/components/CollapseGroup.tsx +9 -11
  192. package/src/components/ColorPicker.tsx +45 -3
  193. package/src/components/DatePicker.tsx +33 -3
  194. package/src/components/DateRangePicker.tsx +17 -3
  195. package/src/components/MonthRangePicker.tsx +18 -4
  196. package/src/components/PickerContainer.tsx +10 -6
  197. package/src/components/PopUp.tsx +133 -0
  198. package/src/components/Progress.tsx +1 -1
  199. package/src/components/Steps.tsx +8 -3
  200. package/src/components/TabsTransferPicker.tsx +1 -1
  201. package/src/components/TransferPicker.tsx +1 -11
  202. package/src/components/formula/Editor.tsx +261 -0
  203. package/src/components/formula/FuncList.tsx +82 -0
  204. package/src/components/formula/Picker.tsx +86 -0
  205. package/src/components/formula/VariableList.tsx +49 -0
  206. package/src/components/formula/plugin.ts +177 -0
  207. package/src/components/index.tsx +2 -0
  208. package/src/index.tsx +1 -0
  209. package/src/renderers/CRUD.tsx +3 -3
  210. package/src/renderers/Collapse.tsx +27 -27
  211. package/src/renderers/CollapseGroup.tsx +13 -12
  212. package/src/renderers/Dialog.tsx +8 -8
  213. package/src/renderers/Drawer.tsx +2 -2
  214. package/src/renderers/Form/InputColor.tsx +2 -3
  215. package/src/renderers/Form/InputDate.tsx +2 -0
  216. package/src/renderers/Form/InputDateRange.tsx +2 -0
  217. package/src/renderers/Form/InputFile.tsx +1 -1
  218. package/src/renderers/Form/InputFormula.tsx +75 -0
  219. package/src/renderers/Form/InputImage.tsx +1 -1
  220. package/src/renderers/Form/InputMonthRange.tsx +2 -0
  221. package/src/renderers/Form/InputQuarterRange.tsx +2 -0
  222. package/src/renderers/Form/InputYearRange.tsx +2 -0
  223. package/src/renderers/Form/Item.tsx +2 -2
  224. package/src/renderers/Form/TreeSelect.tsx +82 -63
  225. package/src/renderers/Form/index.tsx +2 -2
  226. package/src/renderers/Page.tsx +11 -10
  227. package/src/renderers/Steps.tsx +4 -2
  228. package/src/renderers/Wizard.tsx +52 -12
  229. package/src/store/formItem.ts +15 -0
  230. package/src/utils/api.ts +5 -2
  231. package/src/utils/helper.ts +5 -14
package/sdk/ang-ie11.css CHANGED
@@ -249,6 +249,575 @@
249
249
  cursor: default;
250
250
  }
251
251
 
252
+ /* BASICS */
253
+
254
+ .amis-scope .CodeMirror {
255
+ /* Set height, width, borders, and global font properties here */
256
+ font-family: monospace;
257
+ height: 300px;
258
+ color: black;
259
+ direction: ltr;
260
+ }
261
+
262
+ /* PADDING */
263
+
264
+ .amis-scope .CodeMirror-lines {
265
+ padding: 4px 0;
266
+ /* Vertical padding around content */
267
+ }
268
+
269
+ .amis-scope .CodeMirror pre.CodeMirror-line,
270
+ .amis-scope .CodeMirror pre.CodeMirror-line-like {
271
+ padding: 0 4px;
272
+ /* Horizontal padding of content */
273
+ }
274
+
275
+ .amis-scope .CodeMirror-scrollbar-filler,
276
+ .amis-scope .CodeMirror-gutter-filler {
277
+ background-color: white;
278
+ /* The little square between H and V scrollbars */
279
+ }
280
+
281
+ /* GUTTER */
282
+
283
+ .amis-scope .CodeMirror-gutters {
284
+ border-right: 1px solid #ddd;
285
+ background-color: #f7f7f7;
286
+ white-space: nowrap;
287
+ }
288
+
289
+
290
+
291
+ .amis-scope .CodeMirror-linenumber {
292
+ padding: 0 3px 0 5px;
293
+ min-width: 20px;
294
+ text-align: right;
295
+ color: #999;
296
+ white-space: nowrap;
297
+ }
298
+
299
+ .amis-scope .CodeMirror-guttermarker {
300
+ color: black;
301
+ }
302
+
303
+ .amis-scope .CodeMirror-guttermarker-subtle {
304
+ color: #999;
305
+ }
306
+
307
+ /* CURSOR */
308
+
309
+ .amis-scope .CodeMirror-cursor {
310
+ border-left: 1px solid black;
311
+ border-right: none;
312
+ width: 0;
313
+ }
314
+
315
+ /* Shown when moving in bi-directional text */
316
+
317
+ .amis-scope .CodeMirror div.CodeMirror-secondarycursor {
318
+ border-left: 1px solid silver;
319
+ }
320
+
321
+ .amis-scope .cm-fat-cursor .CodeMirror-cursor {
322
+ width: auto;
323
+ border: 0 !important;
324
+ background: #7e7;
325
+ }
326
+
327
+ .amis-scope .cm-fat-cursor div.CodeMirror-cursors {
328
+ z-index: 1;
329
+ }
330
+
331
+ .amis-scope .cm-fat-cursor .CodeMirror-line::selection,
332
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span::selection,
333
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span > span::selection {
334
+ background: transparent;
335
+ }
336
+
337
+ .amis-scope .cm-fat-cursor .CodeMirror-line::-moz-selection,
338
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span::-moz-selection,
339
+ .amis-scope .cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
340
+ background: transparent;
341
+ }
342
+
343
+ .amis-scope .cm-fat-cursor {
344
+ caret-color: transparent;
345
+ }
346
+
347
+ @-moz-keyframes blink {
348
+ 0% {
349
+
350
+ }
351
+
352
+ 50% {
353
+ background-color: transparent;
354
+ }
355
+
356
+ 100% {
357
+
358
+ }
359
+ }
360
+
361
+ @-webkit-keyframes blink {
362
+ 0% {
363
+
364
+ }
365
+
366
+ 50% {
367
+ background-color: transparent;
368
+ }
369
+
370
+ 100% {
371
+
372
+ }
373
+ }
374
+
375
+ @keyframes blink {
376
+ 0% {
377
+
378
+ }
379
+
380
+ 50% {
381
+ background-color: transparent;
382
+ }
383
+
384
+ 100% {
385
+
386
+ }
387
+ }
388
+
389
+ /* Can style cursor different in overwrite (non-insert) mode */
390
+
391
+
392
+
393
+ .amis-scope .cm-tab {
394
+ display: inline-block;
395
+ text-decoration: inherit;
396
+ }
397
+
398
+ .amis-scope .CodeMirror-rulers {
399
+ position: absolute;
400
+ left: 0;
401
+ right: 0;
402
+ top: -50px;
403
+ bottom: 0;
404
+ overflow: hidden;
405
+ }
406
+
407
+ .amis-scope .CodeMirror-ruler {
408
+ border-left: 1px solid #ccc;
409
+ top: 0;
410
+ bottom: 0;
411
+ position: absolute;
412
+ }
413
+
414
+ /* DEFAULT THEME */
415
+
416
+ .amis-scope .cm-s-default .cm-header {
417
+ color: blue;
418
+ }
419
+
420
+ .amis-scope .cm-s-default .cm-quote {
421
+ color: #090;
422
+ }
423
+
424
+ .amis-scope .cm-negative {
425
+ color: #d44;
426
+ }
427
+
428
+ .amis-scope .cm-positive {
429
+ color: #292;
430
+ }
431
+
432
+ .amis-scope .cm-header,
433
+ .amis-scope .cm-strong {
434
+ font-weight: bold;
435
+ }
436
+
437
+ .amis-scope .cm-em {
438
+ font-style: italic;
439
+ }
440
+
441
+ .amis-scope .cm-link {
442
+ text-decoration: underline;
443
+ }
444
+
445
+ .amis-scope .cm-strikethrough {
446
+ text-decoration: line-through;
447
+ }
448
+
449
+ .amis-scope .cm-s-default .cm-keyword {
450
+ color: #708;
451
+ }
452
+
453
+ .amis-scope .cm-s-default .cm-atom {
454
+ color: #219;
455
+ }
456
+
457
+ .amis-scope .cm-s-default .cm-number {
458
+ color: #164;
459
+ }
460
+
461
+ .amis-scope .cm-s-default .cm-def {
462
+ color: #00f;
463
+ }
464
+
465
+
466
+
467
+ .amis-scope .cm-s-default .cm-variable-2 {
468
+ color: #05a;
469
+ }
470
+
471
+ .amis-scope .cm-s-default .cm-variable-3,
472
+ .amis-scope .cm-s-default .cm-type {
473
+ color: #085;
474
+ }
475
+
476
+ .amis-scope .cm-s-default .cm-comment {
477
+ color: #a50;
478
+ }
479
+
480
+ .amis-scope .cm-s-default .cm-string {
481
+ color: #a11;
482
+ }
483
+
484
+ .amis-scope .cm-s-default .cm-string-2 {
485
+ color: #f50;
486
+ }
487
+
488
+ .amis-scope .cm-s-default .cm-meta {
489
+ color: #555;
490
+ }
491
+
492
+ .amis-scope .cm-s-default .cm-qualifier {
493
+ color: #555;
494
+ }
495
+
496
+ .amis-scope .cm-s-default .cm-builtin {
497
+ color: #30a;
498
+ }
499
+
500
+ .amis-scope .cm-s-default .cm-bracket {
501
+ color: #997;
502
+ }
503
+
504
+ .amis-scope .cm-s-default .cm-tag {
505
+ color: #170;
506
+ }
507
+
508
+ .amis-scope .cm-s-default .cm-attribute {
509
+ color: #00c;
510
+ }
511
+
512
+ .amis-scope .cm-s-default .cm-hr {
513
+ color: #999;
514
+ }
515
+
516
+ .amis-scope .cm-s-default .cm-link {
517
+ color: #00c;
518
+ }
519
+
520
+ .amis-scope .cm-s-default .cm-error {
521
+ color: #f00;
522
+ }
523
+
524
+ .amis-scope .cm-invalidchar {
525
+ color: #f00;
526
+ }
527
+
528
+ .amis-scope .CodeMirror-composing {
529
+ border-bottom: 2px solid;
530
+ }
531
+
532
+ /* Default styles for common addons */
533
+
534
+ .amis-scope div.CodeMirror span.CodeMirror-matchingbracket {
535
+ color: #0b0;
536
+ }
537
+
538
+ .amis-scope div.CodeMirror span.CodeMirror-nonmatchingbracket {
539
+ color: #a22;
540
+ }
541
+
542
+ .amis-scope .CodeMirror-matchingtag {
543
+ background: rgba(255, 150, 0, .3);
544
+ }
545
+
546
+ .amis-scope .CodeMirror-activeline-background {
547
+ background: #e8f2ff;
548
+ }
549
+
550
+ /* STOP */
551
+
552
+ /* The rest of this file contains styles related to the mechanics of
553
+ the editor. You probably shouldn't touch them. */
554
+
555
+ .amis-scope .CodeMirror {
556
+ position: relative;
557
+ overflow: hidden;
558
+ background: white;
559
+ }
560
+
561
+ .amis-scope .CodeMirror-scroll {
562
+ overflow: scroll !important;
563
+ /* Things will break if this is overridden */
564
+ /* 50px is the magic margin used to hide the element's real scrollbars */
565
+ /* See overflow: hidden in .CodeMirror */
566
+ margin-bottom: -50px;
567
+ margin-right: -50px;
568
+ padding-bottom: 50px;
569
+ height: 100%;
570
+ outline: none;
571
+ /* Prevent dragging from highlighting the element */
572
+ position: relative;
573
+ }
574
+
575
+ .amis-scope .CodeMirror-sizer {
576
+ position: relative;
577
+ border-right: 50px solid transparent;
578
+ }
579
+
580
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
581
+ before actual scrolling happens, thus preventing shaking and
582
+ flickering artifacts. */
583
+
584
+ .amis-scope .CodeMirror-vscrollbar,
585
+ .amis-scope .CodeMirror-hscrollbar,
586
+ .amis-scope .CodeMirror-scrollbar-filler,
587
+ .amis-scope .CodeMirror-gutter-filler {
588
+ position: absolute;
589
+ z-index: 6;
590
+ display: none;
591
+ outline: none;
592
+ }
593
+
594
+ .amis-scope .CodeMirror-vscrollbar {
595
+ right: 0;
596
+ top: 0;
597
+ overflow-x: hidden;
598
+ overflow-y: scroll;
599
+ }
600
+
601
+ .amis-scope .CodeMirror-hscrollbar {
602
+ bottom: 0;
603
+ left: 0;
604
+ overflow-y: hidden;
605
+ overflow-x: scroll;
606
+ }
607
+
608
+ .amis-scope .CodeMirror-scrollbar-filler {
609
+ right: 0;
610
+ bottom: 0;
611
+ }
612
+
613
+ .amis-scope .CodeMirror-gutter-filler {
614
+ left: 0;
615
+ bottom: 0;
616
+ }
617
+
618
+ .amis-scope .CodeMirror-gutters {
619
+ position: absolute;
620
+ left: 0;
621
+ top: 0;
622
+ min-height: 100%;
623
+ z-index: 3;
624
+ }
625
+
626
+ .amis-scope .CodeMirror-gutter {
627
+ white-space: normal;
628
+ height: 100%;
629
+ display: inline-block;
630
+ vertical-align: top;
631
+ margin-bottom: -50px;
632
+ }
633
+
634
+ .amis-scope .CodeMirror-gutter-wrapper {
635
+ position: absolute;
636
+ z-index: 4;
637
+ background: none !important;
638
+ border: none !important;
639
+ }
640
+
641
+ .amis-scope .CodeMirror-gutter-background {
642
+ position: absolute;
643
+ top: 0;
644
+ bottom: 0;
645
+ z-index: 4;
646
+ }
647
+
648
+ .amis-scope .CodeMirror-gutter-elt {
649
+ position: absolute;
650
+ cursor: default;
651
+ z-index: 4;
652
+ }
653
+
654
+ .amis-scope .CodeMirror-gutter-wrapper ::selection {
655
+ background-color: transparent;
656
+ }
657
+
658
+ .amis-scope .CodeMirror-gutter-wrapper ::-moz-selection {
659
+ background-color: transparent;
660
+ }
661
+
662
+ .amis-scope .CodeMirror-lines {
663
+ cursor: text;
664
+ min-height: 1px;
665
+ /* prevents collapsing before first draw */
666
+ }
667
+
668
+ .amis-scope .CodeMirror pre.CodeMirror-line,
669
+ .amis-scope .CodeMirror pre.CodeMirror-line-like {
670
+ /* Reset some styles that the rest of the page might have set */
671
+ -moz-border-radius: 0;
672
+ -webkit-border-radius: 0;
673
+ border-radius: 0;
674
+ border-width: 0;
675
+ background: transparent;
676
+ font-family: inherit;
677
+ font-size: inherit;
678
+ margin: 0;
679
+ white-space: pre;
680
+ word-wrap: normal;
681
+ line-height: inherit;
682
+ color: inherit;
683
+ z-index: 2;
684
+ position: relative;
685
+ overflow: visible;
686
+ -webkit-tap-highlight-color: transparent;
687
+ -webkit-font-variant-ligatures: contextual;
688
+ font-variant-ligatures: contextual;
689
+ }
690
+
691
+ .amis-scope .CodeMirror-wrap pre.CodeMirror-line,
692
+ .amis-scope .CodeMirror-wrap pre.CodeMirror-line-like {
693
+ word-wrap: break-word;
694
+ white-space: pre-wrap;
695
+ word-break: normal;
696
+ }
697
+
698
+ .amis-scope .CodeMirror-linebackground {
699
+ position: absolute;
700
+ left: 0;
701
+ right: 0;
702
+ top: 0;
703
+ bottom: 0;
704
+ z-index: 0;
705
+ }
706
+
707
+ .amis-scope .CodeMirror-linewidget {
708
+ position: relative;
709
+ z-index: 2;
710
+ padding: 0.1px;
711
+ /* Force widget margins to stay inside of the container */
712
+ }
713
+
714
+
715
+
716
+ .amis-scope .CodeMirror-rtl pre {
717
+ direction: rtl;
718
+ }
719
+
720
+ .amis-scope .CodeMirror-code {
721
+ outline: none;
722
+ }
723
+
724
+ /* Force content-box sizing for the elements where we expect it */
725
+
726
+ .amis-scope .CodeMirror-scroll,
727
+ .amis-scope .CodeMirror-sizer,
728
+ .amis-scope .CodeMirror-gutter,
729
+ .amis-scope .CodeMirror-gutters,
730
+ .amis-scope .CodeMirror-linenumber {
731
+ -moz-box-sizing: content-box;
732
+ box-sizing: content-box;
733
+ }
734
+
735
+ .amis-scope .CodeMirror-measure {
736
+ position: absolute;
737
+ width: 100%;
738
+ height: 0;
739
+ overflow: hidden;
740
+ visibility: hidden;
741
+ }
742
+
743
+ .amis-scope .CodeMirror-cursor {
744
+ position: absolute;
745
+ pointer-events: none;
746
+ }
747
+
748
+ .amis-scope .CodeMirror-measure pre {
749
+ position: static;
750
+ }
751
+
752
+ .amis-scope div.CodeMirror-cursors {
753
+ visibility: hidden;
754
+ position: relative;
755
+ z-index: 3;
756
+ }
757
+
758
+ .amis-scope div.CodeMirror-dragcursors {
759
+ visibility: visible;
760
+ }
761
+
762
+ .amis-scope .CodeMirror-focused div.CodeMirror-cursors {
763
+ visibility: visible;
764
+ }
765
+
766
+ .amis-scope .CodeMirror-selected {
767
+ background: #d9d9d9;
768
+ }
769
+
770
+ .amis-scope .CodeMirror-focused .CodeMirror-selected {
771
+ background: #d7d4f0;
772
+ }
773
+
774
+ .amis-scope .CodeMirror-crosshair {
775
+ cursor: crosshair;
776
+ }
777
+
778
+ .amis-scope .CodeMirror-line::selection,
779
+ .amis-scope .CodeMirror-line > span::selection,
780
+ .amis-scope .CodeMirror-line > span > span::selection {
781
+ background: #d7d4f0;
782
+ }
783
+
784
+ .amis-scope .CodeMirror-line::-moz-selection,
785
+ .amis-scope .CodeMirror-line > span::-moz-selection,
786
+ .amis-scope .CodeMirror-line > span > span::-moz-selection {
787
+ background: #d7d4f0;
788
+ }
789
+
790
+ .amis-scope .cm-searching {
791
+ background-color: #ffa;
792
+ background-color: rgba(255, 255, 0, .4);
793
+ }
794
+
795
+ /* Used to force a border model for a node */
796
+
797
+ .amis-scope .cm-force-border {
798
+ padding-right: .1px;
799
+ }
800
+
801
+ @media print {
802
+ /* Hide the cursor when printing */
803
+
804
+ .amis-scope .CodeMirror div.CodeMirror-cursors {
805
+ visibility: hidden;
806
+ }
807
+ }
808
+
809
+ /* See issue #2901 */
810
+
811
+ .amis-scope .cm-tab-wrap-hack:after {
812
+ content: '';
813
+ }
814
+
815
+ /* Help users use markselection to safely style text background */
816
+
817
+ .amis-scope span.CodeMirror-selectedtext {
818
+ background: none;
819
+ }
820
+
252
821
  /*!
253
822
  * Cropper.js v1.5.12
254
823
  * https://fengyuanchen.github.io/cropperjs
@@ -22801,6 +23370,135 @@ readers do not read off random characters that represent icons */
22801
23370
  margin-top: -0.25rem;
22802
23371
  }
22803
23372
 
23373
+ @keyframes PopUpIn {
23374
+ from {
23375
+ height: 0;
23376
+ }
23377
+ }
23378
+
23379
+ @keyframes PopUpOut {
23380
+ to {
23381
+ height: 0;
23382
+ }
23383
+ }
23384
+
23385
+ @keyframes PopUpOpacityIn {
23386
+ from {
23387
+ opacity: 0;
23388
+ }
23389
+ }
23390
+
23391
+ @keyframes PopUpOpacityOut {
23392
+ to {
23393
+ opacity: 0;
23394
+ }
23395
+ }
23396
+
23397
+ .amis-scope .a-PopUp {
23398
+ width: 100%;
23399
+ position: fixed;
23400
+ background: white;
23401
+ left: 0;
23402
+ bottom: 0;
23403
+ z-index: 1300;
23404
+ padding: 0;
23405
+ margin: 0;
23406
+ font-weight: 400;
23407
+ letter-spacing: normal;
23408
+ line-height: 1.5;
23409
+ text-align: left;
23410
+ text-align: start;
23411
+ text-decoration: none;
23412
+ text-shadow: none;
23413
+ text-transform: none;
23414
+ white-space: normal;
23415
+ word-break: normal;
23416
+ word-spacing: normal;
23417
+ word-wrap: normal;
23418
+ font-size: 0.875rem;
23419
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
23420
+ border: 0.0625rem solid #d1d5db;
23421
+ border-radius: 0.142rem;
23422
+ overflow: hidden;
23423
+ }
23424
+
23425
+ .amis-scope .a-PopUp.in,
23426
+ .amis-scope .a-PopUp.out {
23427
+ animation-duration: 0s;
23428
+ animation-fill-mode: both;
23429
+ }
23430
+
23431
+ .amis-scope .a-PopUp.in {
23432
+ animation-name: PopUpIn;
23433
+ }
23434
+
23435
+ .amis-scope .a-PopUp.in .a-PopUp-overlay {
23436
+ animation-name: PopUpOpacityIn;
23437
+ }
23438
+
23439
+ .amis-scope .a-PopUp.out {
23440
+ animation-name: PopUpOut;
23441
+ }
23442
+
23443
+ .amis-scope .a-PopUp.out .a-PopUp-overlay {
23444
+ animation-name: PopUpOpacityOut;
23445
+ }
23446
+
23447
+ .amis-scope .a-PopUp-inner {
23448
+ position: relative;
23449
+ overflow: hidden;
23450
+ height: 100%;
23451
+ box-sizing: border-box;
23452
+ background: #fff;
23453
+ padding-top: 2.25rem;
23454
+ }
23455
+
23456
+ .amis-scope .a-PopUp-closeWrap {
23457
+ width: 100%;
23458
+ position: absolute !important;
23459
+ left: 0;
23460
+ top: 0;
23461
+ }
23462
+
23463
+ .amis-scope .a-PopUp-close {
23464
+ width: 2.125rem !important;
23465
+ height: 2.125rem !important;
23466
+ padding: 0.75rem;
23467
+ cursor: pointer;
23468
+ }
23469
+
23470
+ .amis-scope .a-PopUp-content {
23471
+ overflow-y: auto;
23472
+ height: 100%;
23473
+ display: flex;
23474
+ }
23475
+
23476
+ .amis-scope .a-PopUp > * {
23477
+ position: relative;
23478
+ z-index: 2;
23479
+ }
23480
+
23481
+ .amis-scope .a-PopUp-overlay {
23482
+ position: fixed !important;
23483
+ top: 0;
23484
+ left: 0;
23485
+ right: 0;
23486
+ z-index: 1;
23487
+ bottom: 0;
23488
+ background: rgba(0, 0, 0, 0.3);
23489
+ opacity: 1;
23490
+ animation-duration: 0s;
23491
+ animation-fill-mode: both;
23492
+ }
23493
+
23494
+ .amis-scope .a-PopUp--leftBottomLeftTop {
23495
+ margin-top: 0.25rem;
23496
+ }
23497
+
23498
+ .amis-scope .a-PopUp--leftTopLeftBottom {
23499
+ margin-top: -0.25rem;
23500
+ }
23501
+
22804
23502
  .amis-scope .a-PickerColumns {
22805
23503
  position: relative;
22806
23504
  background-color: white;
@@ -30928,6 +31626,42 @@ readers do not read off random characters that represent icons */
30928
31626
  border: 1px solid #23b7e5;
30929
31627
  }
30930
31628
 
31629
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerWrapper .a-StepsItem-body .a-StepsItem-title::after {
31630
+ display: none !important;
31631
+ }
31632
+
31633
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerWrapper .a-StepsItem-body .a-StepsItem-title .a-StepsItem-subTitle {
31634
+ padding-left: 0.3125rem;
31635
+ }
31636
+
31637
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon {
31638
+ position: relative;
31639
+ display: block;
31640
+ }
31641
+
31642
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon:after {
31643
+ content: "";
31644
+ position: absolute;
31645
+ right: 0;
31646
+ top: 0.9375rem;
31647
+ height: 1px;
31648
+ left: 2.5rem;
31649
+ width: 99999px;
31650
+ background-color: #b4bbc5;
31651
+ }
31652
+
31653
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon.is-success:after {
31654
+ background-color: #23b7e5;
31655
+ }
31656
+
31657
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem:last-child {
31658
+ flex: 1;
31659
+ }
31660
+
31661
+ .amis-scope .a-Steps-mobile.a-Steps--horizontal .a-StepsItem:last-child .a-StepsItem-containerIcon:after {
31662
+ display: none !important;
31663
+ }
31664
+
30931
31665
  .amis-scope .a-Portlet {
30932
31666
  border: 0.0625rem solid #d1d5db;
30933
31667
  border-radius: 0.142rem;
@@ -33643,6 +34377,10 @@ readers do not read off random characters that represent icons */
33643
34377
  border-radius: 0.142rem;
33644
34378
  }
33645
34379
 
34380
+ .amis-scope .a-ColorPicker-popup {
34381
+ height: 80vh;
34382
+ }
34383
+
33646
34384
  .amis-scope .a-ColorPicker:not(.is-disabled) {
33647
34385
  cursor: pointer;
33648
34386
  }
@@ -33907,6 +34645,10 @@ readers do not read off random characters that represent icons */
33907
34645
  margin: -0.125rem 0 0;
33908
34646
  }
33909
34647
 
34648
+ .amis-scope .a-DatePicker-popup {
34649
+ height: 80vh;
34650
+ }
34651
+
33910
34652
  .amis-scope .rdt {
33911
34653
  user-select: none;
33912
34654
  font-size: 0.875rem;
@@ -34458,6 +35200,10 @@ readers do not read off random characters that represent icons */
34458
35200
  margin: -0.125rem 0 0;
34459
35201
  }
34460
35202
 
35203
+ .amis-scope .a-DateRangePicker-popup {
35204
+ height: 90vh;
35205
+ }
35206
+
34461
35207
  @media (min-width: 576px) {
34462
35208
  .amis-scope .a-DateRangePicker-wrap {
34463
35209
  white-space: nowrap;
@@ -35802,6 +36548,10 @@ readers do not read off random characters that represent icons */
35802
36548
  background: #fff;
35803
36549
  }
35804
36550
 
36551
+ .amis-scope .a-TreeSelect-popup {
36552
+ height: 80vh;
36553
+ }
36554
+
35805
36555
  .amis-scope .a-TreeSelect-popover {
35806
36556
  background: transparent;
35807
36557
  border: none;
@@ -38137,6 +38887,131 @@ readers do not read off random characters that represent icons */
38137
38887
  margin-right: 0;
38138
38888
  }
38139
38889
 
38890
+ .amis-scope .a-FormulaEditor {
38891
+ overflow: visible;
38892
+ max-width: 100%;
38893
+ box-sizing: content-box;
38894
+ }
38895
+
38896
+ .amis-scope .a-FormulaEditor-header {
38897
+ width: 100%;
38898
+ height: 2.5rem;
38899
+ line-height: 2.5rem;
38900
+ padding-left: 0.625rem;
38901
+ box-sizing: border-box;
38902
+ background: #f3f8fb;
38903
+ }
38904
+
38905
+ .amis-scope .a-FormulaEditor-editor {
38906
+ min-height: 14.875rem;
38907
+ max-height: 20rem;
38908
+ height: auto;
38909
+ border: 0.0625rem solid #d1d5db;
38910
+ }
38911
+
38912
+ .amis-scope .a-FormulaEditor.is-error .a-FormulaEditor-editor {
38913
+ border-color: #f05050;
38914
+ }
38915
+
38916
+ .amis-scope .a-FormulaEditor.is-focused .a-FormulaEditor-editor {
38917
+ border-color: #23b7e5;
38918
+ }
38919
+
38920
+ .amis-scope .a-FormulaEditor-settings {
38921
+ display: flex;
38922
+ flex-direction: row;
38923
+ align-items: stretch;
38924
+ justify-content: space-between;
38925
+ max-height: 21.875rem;
38926
+ margin: 0 -5px;
38927
+ }
38928
+
38929
+ .amis-scope .a-FormulaEditor-settings > div {
38930
+ flex: 1;
38931
+ padding: 0 5px;
38932
+ display: flex;
38933
+ flex-direction: column;
38934
+ }
38935
+
38936
+ .amis-scope .a-FormulaEditor-settings > div > h3 {
38937
+ padding: 10px 0;
38938
+ margin: 0;
38939
+ flex-shrink: 0;
38940
+ }
38941
+
38942
+ .amis-scope .a-FormulaEditor-settings > div > div {
38943
+ flex: 1;
38944
+ min-height: 0;
38945
+ }
38946
+
38947
+ .amis-scope .a-FormulaEditor .cm-field,
38948
+ .amis-scope .a-FormulaEditor .cm-func {
38949
+ border-radius: 2px;
38950
+ color: #fff;
38951
+ margin: 0 1px;
38952
+ padding: 0 2px;
38953
+ }
38954
+
38955
+ .amis-scope .a-FormulaEditor .cm-field {
38956
+ background: #007bff;
38957
+ }
38958
+
38959
+ .amis-scope .a-FormulaEditor .cm-func {
38960
+ background: #17a2b8;
38961
+ }
38962
+
38963
+ .amis-scope .a-FormulaFuncList {
38964
+ display: flex;
38965
+ flex-direction: column;
38966
+ }
38967
+
38968
+ .amis-scope .a-FormulaFuncList > .a-FormulaFuncList-searchBox {
38969
+ display: flex;
38970
+ width: auto;
38971
+ flex-shrink: 0;
38972
+ margin-bottom: 0.5rem;
38973
+ }
38974
+
38975
+ .amis-scope .a-FormulaFuncList-columns {
38976
+ flex: 1;
38977
+ min-height: 0;
38978
+ overflow: auto;
38979
+ display: flex;
38980
+ flex-direction: row;
38981
+ justify-content: flex-start;
38982
+ }
38983
+
38984
+ .amis-scope .a-FormulaFuncList-columns > div:first-child {
38985
+ min-width: 200px;
38986
+ flex-shrink: 0;
38987
+ }
38988
+
38989
+ .amis-scope .a-FormulaFuncList-funcItem {
38990
+ padding: 0 10px;
38991
+ cursor: pointer;
38992
+ }
38993
+
38994
+ .amis-scope .a-FormulaFuncList-funcItem.is-active {
38995
+ color: #7266ba;
38996
+ }
38997
+
38998
+ .amis-scope .a-FormulaFuncList-groupTitle {
38999
+ padding: 5px 0;
39000
+ background: transparent;
39001
+ }
39002
+
39003
+ .amis-scope .a-FormulaFuncList-groupBody > div {
39004
+ padding: 5px 0;
39005
+ }
39006
+
39007
+ .amis-scope .a-FormulaFuncList-funcDetail {
39008
+ padding: 10px 20px;
39009
+ }
39010
+
39011
+ .amis-scope .a-FormulaPicker-icon {
39012
+ margin-left: auto;
39013
+ }
39014
+
38140
39015
  /*
38141
39016
  * utilities
38142
39017
  */