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.
- package/README.md +1 -0
- package/lib/RootRenderer.d.ts +2 -0
- package/lib/RootRenderer.js +19 -1
- package/lib/RootRenderer.js.map +2 -2
- package/lib/SchemaRenderer.js +52 -1
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +27 -1
- package/lib/Scoped.js.map +2 -2
- package/lib/actions/Action.d.ts +33 -0
- package/lib/actions/Action.js +100 -0
- package/lib/actions/Action.js.map +13 -0
- package/lib/actions/AjaxAction.d.ts +14 -0
- package/lib/actions/AjaxAction.js +68 -0
- package/lib/actions/AjaxAction.js.map +13 -0
- package/lib/actions/BreakAction.d.ts +12 -0
- package/lib/actions/BreakAction.js +28 -0
- package/lib/actions/BreakAction.js.map +13 -0
- package/lib/actions/BroadcastAction.d.ts +12 -0
- package/lib/actions/BroadcastAction.js +40 -0
- package/lib/actions/BroadcastAction.js.map +13 -0
- package/lib/actions/CmptAction.d.ts +12 -0
- package/lib/actions/CmptAction.js +40 -0
- package/lib/actions/CmptAction.js.map +13 -0
- package/lib/actions/ContinueAction.d.ts +12 -0
- package/lib/actions/ContinueAction.js +28 -0
- package/lib/actions/ContinueAction.js.map +13 -0
- package/lib/actions/CopyAction.d.ts +12 -0
- package/lib/actions/CopyAction.js +35 -0
- package/lib/actions/CopyAction.js.map +13 -0
- package/lib/actions/CustomAction.d.ts +12 -0
- package/lib/actions/CustomAction.js +43 -0
- package/lib/actions/CustomAction.js.map +13 -0
- package/lib/actions/DialogAction.d.ts +12 -0
- package/lib/actions/DialogAction.js +31 -0
- package/lib/actions/DialogAction.js.map +13 -0
- package/lib/actions/DrawerAction.d.ts +12 -0
- package/lib/actions/DrawerAction.js +31 -0
- package/lib/actions/DrawerAction.js.map +13 -0
- package/lib/actions/EmailAction.d.ts +12 -0
- package/lib/actions/EmailAction.js +37 -0
- package/lib/actions/EmailAction.js.map +13 -0
- package/lib/actions/LoopAction.d.ts +12 -0
- package/lib/actions/LoopAction.js +93 -0
- package/lib/actions/LoopAction.js.map +13 -0
- package/lib/actions/OpenPageAction.d.ts +12 -0
- package/lib/actions/OpenPageAction.js +33 -0
- package/lib/actions/OpenPageAction.js.map +13 -0
- package/lib/actions/ParallelAction.d.ts +5 -0
- package/lib/actions/ParallelAction.js +33 -0
- package/lib/actions/ParallelAction.js.map +13 -0
- package/lib/actions/SwitchAction.d.ts +8 -0
- package/lib/actions/SwitchAction.js +45 -0
- package/lib/actions/SwitchAction.js.map +13 -0
- package/lib/actions/index.d.ts +18 -0
- package/lib/actions/index.js +22 -0
- package/lib/actions/index.js.map +13 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/CalendarMobile.d.ts +112 -86
- package/lib/components/CalendarMobile.js +85 -31
- package/lib/components/CalendarMobile.js.map +2 -2
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/DatePicker.js +9 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.js +1 -0
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/InputBox.d.ts +21 -21
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ListMenu.d.ts +84 -84
- package/lib/components/MonthRangePicker.js +2 -1
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/Select.d.ts +238 -238
- package/lib/components/Select.js +4 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/Timeline.js.map +2 -2
- package/lib/components/TimelineItem.d.ts +3 -2
- package/lib/components/TimelineItem.js +8 -9
- package/lib/components/TimelineItem.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/formula/plugin.js +0 -1
- package/lib/components/formula/plugin.js.map +2 -2
- package/lib/env.d.ts +4 -0
- package/lib/env.js.map +2 -2
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +78 -0
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/Action.d.ts +1 -1
- package/lib/renderers/Action.js +26 -10
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Custom.d.ts +1 -1
- package/lib/renderers/Custom.js +1 -1
- package/lib/renderers/Custom.js.map +1 -1
- package/lib/renderers/Form/DiffEditor.d.ts +6 -0
- package/lib/renderers/Form/Editor.d.ts +6 -0
- package/lib/renderers/Form/Options.js +9 -7
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.js +3 -3
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/index.js +8 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +27 -6
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Nav.d.ts +21 -21
- package/lib/renderers/Remark.d.ts +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +180 -1
- package/lib/themes/ang.css +180 -1
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +184 -2
- package/lib/themes/antd.css +184 -2
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +182 -8
- package/lib/themes/cxd.css +182 -8
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +182 -1
- package/lib/themes/dark.css +182 -1
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +182 -8
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +14 -3
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/debug.d.ts +26 -0
- package/lib/utils/debug.js +351 -0
- package/lib/utils/debug.js.map +13 -0
- package/lib/utils/renderer-event.d.ts +38 -0
- package/lib/utils/renderer-event.js +28 -0
- package/lib/utils/renderer-event.js.map +13 -0
- package/package.json +1 -1
- package/scss/_properties.scss +2 -0
- package/scss/_variables.scss +1 -0
- package/scss/components/_calendar.scss +4 -0
- package/scss/components/_debug.scss +167 -0
- package/scss/components/_popup.scss +1 -1
- package/scss/components/form/_date-range.scss +33 -0
- package/scss/components/form/_form.scss +2 -0
- package/scss/themes/_antd-variables.scss +4 -1
- package/scss/themes/_common.scss +2 -0
- package/scss/themes/_cxd-variables.scss +2 -0
- package/scss/themes/_dark-variables.scss +3 -0
- package/scss/themes/cxd.scss +0 -7
- package/sdk/ang-ie11.css +211 -1
- package/sdk/ang.css +213 -1
- package/sdk/antd-ie11.css +213 -2
- package/sdk/antd.css +217 -2
- package/sdk/charts.js +16 -16
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +211 -8
- package/sdk/cxd.css +215 -8
- package/sdk/dark-ie11.css +211 -1
- package/sdk/dark.css +215 -1
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +211 -8
- package/sdk/sdk.css +215 -8
- package/sdk/sdk.js +1293 -1257
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/RootRenderer.tsx +27 -1
- package/src/SchemaRenderer.tsx +70 -4
- package/src/Scoped.tsx +46 -4
- package/src/actions/Action.ts +138 -0
- package/src/actions/AjaxAction.ts +58 -0
- package/src/actions/BreakAction.ts +27 -0
- package/src/actions/BroadcastAction.ts +41 -0
- package/src/actions/CmptAction.ts +36 -0
- package/src/actions/ContinueAction.ts +27 -0
- package/src/actions/CopyAction.ts +41 -0
- package/src/actions/CustomAction.ts +46 -0
- package/src/actions/DialogAction.ts +28 -0
- package/src/actions/DrawerAction.ts +28 -0
- package/src/actions/EmailAction.ts +38 -0
- package/src/actions/LoopAction.ts +77 -0
- package/src/actions/OpenPageAction.ts +39 -0
- package/src/actions/ParallelAction.ts +26 -0
- package/src/actions/SwitchAction.ts +35 -0
- package/src/actions/index.ts +20 -0
- package/src/components/CalendarMobile.tsx +127 -32
- package/src/components/DatePicker.tsx +32 -2
- package/src/components/DateRangePicker.tsx +2 -1
- package/src/components/MonthRangePicker.tsx +2 -1
- package/src/components/Select.tsx +4 -3
- package/src/components/Timeline.tsx +9 -4
- package/src/components/TimelineItem.tsx +62 -29
- package/src/components/formula/plugin.ts +0 -2
- package/src/env.tsx +22 -0
- package/src/factory.tsx +87 -1
- package/src/index.tsx +4 -0
- package/src/renderers/Action.tsx +11 -2
- package/src/renderers/Custom.tsx +1 -1
- package/src/renderers/Form/Options.tsx +15 -7
- package/src/renderers/Form/Select.tsx +7 -3
- package/src/renderers/Form/index.tsx +7 -1
- package/src/renderers/Link.tsx +18 -3
- package/src/store/formItem.ts +1 -1
- package/src/utils/api.ts +15 -2
- package/src/utils/debug.tsx +438 -0
- package/src/utils/renderer-event.ts +75 -0
package/lib/themes/antd-ie11.css
CHANGED
@@ -609,6 +609,8 @@
|
|
609
609
|
--Form-description-color: rgba(26, 26, 26, 0.85);
|
610
610
|
--Form-description-fontSize: var(--fontSizeSm);
|
611
611
|
--Form-fontSize: var(--fontSizeBase);
|
612
|
+
--Form-item-fontSize: var(--Form-fontSize);
|
613
|
+
--Form-item-fontColor: #5e626a;
|
612
614
|
--Form-group--lg-gutterWidth: 2.5rem;
|
613
615
|
--Form-group--md-gutterWidth: 1.875rem;
|
614
616
|
--Form-group--sm-gutterWidth: var(--gap-md);
|
@@ -1379,6 +1381,8 @@
|
|
1379
1381
|
--Nav-item-onActive-borderLeft: 0;
|
1380
1382
|
--Modal-header-bg: #fff;
|
1381
1383
|
--Modal-title-fontWeight: 500;
|
1384
|
+
--Form-item-fontSize: var(--fontSizeBase);
|
1385
|
+
--Form-item-fontColor: var(--body-color);
|
1382
1386
|
--Form-input-onFocused-borderColor: #40a9ff;
|
1383
1387
|
--Form-input-borderColor: #d9d9d9;
|
1384
1388
|
--Form-input-boxShadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
@@ -1448,7 +1452,8 @@
|
|
1448
1452
|
--TimelineItem--icon-radius: 50%;
|
1449
1453
|
--TimelineItem--round-radius: 50%;
|
1450
1454
|
--TimelineItem--content-radius: 0.125rem;
|
1451
|
-
--TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0
|
1455
|
+
--TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0
|
1456
|
+
rgba(0 0 0 / 10%);
|
1452
1457
|
--TimelineItem--font-size: 0.75rem;
|
1453
1458
|
--TimelineItem--text-primary-color: #151a26;
|
1454
1459
|
--TimelineItem--text-secondary-color: #83868c;
|
@@ -4711,7 +4716,7 @@ input[type=button].antd-Button--block {
|
|
4711
4716
|
background: var(--PopOver-bg);
|
4712
4717
|
left: 0;
|
4713
4718
|
bottom: 0;
|
4714
|
-
z-index:
|
4719
|
+
z-index: 3000;
|
4715
4720
|
padding: 0;
|
4716
4721
|
margin: 0;
|
4717
4722
|
font-weight: var(--fontWeightNormal);
|
@@ -6884,6 +6889,7 @@ input[type=button].antd-Button--block {
|
|
6884
6889
|
|
6885
6890
|
.antd-CalendarMobile {
|
6886
6891
|
height: 100%;
|
6892
|
+
width: 100%;
|
6887
6893
|
overflow: scroll;
|
6888
6894
|
}
|
6889
6895
|
.antd-CalendarMobile-pop {
|
@@ -7034,6 +7040,9 @@ input[type=button].antd-Button--block {
|
|
7034
7040
|
.antd-CalendarMobile-footer .antd-DateRangePicker-rangers .antd-DateRangePicker-ranger {
|
7035
7041
|
margin: 0 1.5625rem;
|
7036
7042
|
}
|
7043
|
+
.antd-CalendarMobile-footer .antd-DatePicker-shortcuts {
|
7044
|
+
width: auto;
|
7045
|
+
}
|
7037
7046
|
.antd-CalendarMobile-calendar-wrap {
|
7038
7047
|
padding: var(--gap-sm) 0;
|
7039
7048
|
}
|
@@ -14817,6 +14826,31 @@ td.rdtQuarter.rdtDisabled > span {
|
|
14817
14826
|
border-radius: var(--DatePicker-borderRadius);
|
14818
14827
|
}
|
14819
14828
|
|
14829
|
+
.antd-DateRangePicker.is-mobile {
|
14830
|
+
border: 0;
|
14831
|
+
justify-content: flex-end;
|
14832
|
+
}
|
14833
|
+
.antd-DateRangePicker.is-mobile span:focus,
|
14834
|
+
.antd-DateRangePicker.is-mobile a:focus {
|
14835
|
+
outline: unset;
|
14836
|
+
}
|
14837
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-value,
|
14838
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-clear {
|
14839
|
+
display: inline-flex;
|
14840
|
+
justify-content: flex-end;
|
14841
|
+
padding: 0 0;
|
14842
|
+
}
|
14843
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-value {
|
14844
|
+
margin-right: var(--gap-xs);
|
14845
|
+
}
|
14846
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-placeholder {
|
14847
|
+
flex-grow: unset;
|
14848
|
+
flex-basis: unset;
|
14849
|
+
}
|
14850
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-toggler {
|
14851
|
+
margin-top: -3px;
|
14852
|
+
}
|
14853
|
+
|
14820
14854
|
.antd-ImageControl {
|
14821
14855
|
position: relative;
|
14822
14856
|
}
|
@@ -17261,6 +17295,8 @@ td.rdtQuarter.rdtDisabled > span {
|
|
17261
17295
|
font-weight: var(--fontWeightNormal);
|
17262
17296
|
margin-bottom: var(--gap-xs);
|
17263
17297
|
position: relative;
|
17298
|
+
font-size: var(--Form-item-fontSize);
|
17299
|
+
color: var(--Form-item-fontColor);
|
17264
17300
|
}
|
17265
17301
|
.antd-Form-label > span {
|
17266
17302
|
position: relative;
|
@@ -18364,6 +18400,152 @@ td.rdtQuarter.rdtDisabled > span {
|
|
18364
18400
|
border-radius: var(--TimelineItem--icon-radius);
|
18365
18401
|
}
|
18366
18402
|
|
18403
|
+
/**
|
18404
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
18405
|
+
*/
|
18406
|
+
.AMISDebug {
|
18407
|
+
position: fixed;
|
18408
|
+
z-index: 4000;
|
18409
|
+
top: 0;
|
18410
|
+
right: 0;
|
18411
|
+
height: 100vh;
|
18412
|
+
width: 24px;
|
18413
|
+
}
|
18414
|
+
.AMISDebug h3 {
|
18415
|
+
color: inherit;
|
18416
|
+
}
|
18417
|
+
.AMISDebug .primary {
|
18418
|
+
color: #009fff;
|
18419
|
+
}
|
18420
|
+
.AMISDebug-header {
|
18421
|
+
padding: var(--Drawer-header-padding);
|
18422
|
+
background: var(--Drawer-header-bg);
|
18423
|
+
border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
|
18424
|
+
}
|
18425
|
+
.AMISDebug-hoverBox {
|
18426
|
+
pointer-events: none;
|
18427
|
+
position: absolute;
|
18428
|
+
outline: 1px dashed #1c76c4;
|
18429
|
+
}
|
18430
|
+
.AMISDebug-activeBox {
|
18431
|
+
pointer-events: none;
|
18432
|
+
position: absolute;
|
18433
|
+
outline: 1px #1c76c4;
|
18434
|
+
}
|
18435
|
+
.AMISDebug-tab {
|
18436
|
+
overflow: hidden;
|
18437
|
+
}
|
18438
|
+
.AMISDebug-tab > button {
|
18439
|
+
color: inherit;
|
18440
|
+
background: inherit;
|
18441
|
+
float: left;
|
18442
|
+
border: none;
|
18443
|
+
outline: none;
|
18444
|
+
cursor: pointer;
|
18445
|
+
padding: var(--gap-sm) var(--gap-md);
|
18446
|
+
transition: 0.3s;
|
18447
|
+
border-bottom: 1px solid transparent;
|
18448
|
+
}
|
18449
|
+
.AMISDebug-tab > button:hover {
|
18450
|
+
color: #e7e7e7;
|
18451
|
+
}
|
18452
|
+
.AMISDebug-tab > button.active {
|
18453
|
+
color: #e7e7e7;
|
18454
|
+
border-bottom-color: #e7e7e7;
|
18455
|
+
}
|
18456
|
+
.AMISDebug-toggle {
|
18457
|
+
background: var(--body-bg);
|
18458
|
+
position: fixed;
|
18459
|
+
top: 50%;
|
18460
|
+
right: 0;
|
18461
|
+
width: 24px;
|
18462
|
+
height: 48px;
|
18463
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
18464
|
+
border-top-left-radius: 12px;
|
18465
|
+
border-bottom-left-radius: 12px;
|
18466
|
+
padding-top: 14px;
|
18467
|
+
padding-left: 6px;
|
18468
|
+
cursor: pointer;
|
18469
|
+
}
|
18470
|
+
.AMISDebug-toggle i {
|
18471
|
+
color: var(--text-color);
|
18472
|
+
}
|
18473
|
+
.AMISDebug-toggle:hover i {
|
18474
|
+
color: var(--primary);
|
18475
|
+
}
|
18476
|
+
.AMISDebug-content {
|
18477
|
+
display: none;
|
18478
|
+
}
|
18479
|
+
.AMISDebug-resize {
|
18480
|
+
position: absolute;
|
18481
|
+
width: 4px;
|
18482
|
+
top: 0;
|
18483
|
+
left: 0;
|
18484
|
+
bottom: 0;
|
18485
|
+
cursor: col-resize;
|
18486
|
+
}
|
18487
|
+
.AMISDebug-resize:hover {
|
18488
|
+
background: #75715e;
|
18489
|
+
}
|
18490
|
+
.AMISDebug-changePosition {
|
18491
|
+
position: absolute;
|
18492
|
+
font-size: 18px;
|
18493
|
+
right: 40px;
|
18494
|
+
top: var(--gap-sm);
|
18495
|
+
cursor: pointer;
|
18496
|
+
}
|
18497
|
+
.AMISDebug-close {
|
18498
|
+
position: absolute;
|
18499
|
+
font-size: 18px;
|
18500
|
+
right: var(--gap-sm);
|
18501
|
+
top: var(--gap-sm);
|
18502
|
+
cursor: pointer;
|
18503
|
+
}
|
18504
|
+
.AMISDebug.is-expanded {
|
18505
|
+
width: 420px;
|
18506
|
+
overflow: auto;
|
18507
|
+
background: #272821;
|
18508
|
+
color: #cccccc;
|
18509
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
18510
|
+
}
|
18511
|
+
.AMISDebug.is-expanded .AMISDebug-toggle {
|
18512
|
+
display: none;
|
18513
|
+
}
|
18514
|
+
.AMISDebug.is-expanded .AMISDebug-content {
|
18515
|
+
display: block;
|
18516
|
+
}
|
18517
|
+
.AMISDebug.is-left {
|
18518
|
+
left: 0;
|
18519
|
+
}
|
18520
|
+
.AMISDebug.is-left .AMISDebug-resize {
|
18521
|
+
left: unset;
|
18522
|
+
right: 0;
|
18523
|
+
}
|
18524
|
+
.AMISDebug-log {
|
18525
|
+
padding: var(--gap-sm);
|
18526
|
+
}
|
18527
|
+
.AMISDebug-log button {
|
18528
|
+
cursor: pointer;
|
18529
|
+
background: #0e639c;
|
18530
|
+
flex-grow: 1;
|
18531
|
+
box-sizing: border-box;
|
18532
|
+
display: inline-flex;
|
18533
|
+
justify-content: center;
|
18534
|
+
align-items: center;
|
18535
|
+
padding: 6px 11px;
|
18536
|
+
outline: none;
|
18537
|
+
text-decoration: none;
|
18538
|
+
color: inherit;
|
18539
|
+
max-width: 300px;
|
18540
|
+
border: none;
|
18541
|
+
}
|
18542
|
+
.AMISDebug-log button:hover {
|
18543
|
+
background: #1177bb;
|
18544
|
+
}
|
18545
|
+
.AMISDebug-inspect {
|
18546
|
+
padding: var(--gap-sm);
|
18547
|
+
}
|
18548
|
+
|
18367
18549
|
/*
|
18368
18550
|
* utilities
|
18369
18551
|
*/
|
package/lib/themes/antd.css
CHANGED
@@ -609,6 +609,8 @@
|
|
609
609
|
--Form-description-color: rgba(26, 26, 26, 0.85);
|
610
610
|
--Form-description-fontSize: var(--fontSizeSm);
|
611
611
|
--Form-fontSize: var(--fontSizeBase);
|
612
|
+
--Form-item-fontSize: var(--Form-fontSize);
|
613
|
+
--Form-item-fontColor: #5e626a;
|
612
614
|
--Form-group--lg-gutterWidth: 2.5rem;
|
613
615
|
--Form-group--md-gutterWidth: 1.875rem;
|
614
616
|
--Form-group--sm-gutterWidth: var(--gap-md);
|
@@ -1379,6 +1381,8 @@
|
|
1379
1381
|
--Nav-item-onActive-borderLeft: 0;
|
1380
1382
|
--Modal-header-bg: #fff;
|
1381
1383
|
--Modal-title-fontWeight: 500;
|
1384
|
+
--Form-item-fontSize: var(--fontSizeBase);
|
1385
|
+
--Form-item-fontColor: var(--body-color);
|
1382
1386
|
--Form-input-onFocused-borderColor: #40a9ff;
|
1383
1387
|
--Form-input-borderColor: #d9d9d9;
|
1384
1388
|
--Form-input-boxShadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
@@ -1448,7 +1452,8 @@
|
|
1448
1452
|
--TimelineItem--icon-radius: 50%;
|
1449
1453
|
--TimelineItem--round-radius: 50%;
|
1450
1454
|
--TimelineItem--content-radius: 0.125rem;
|
1451
|
-
--TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0
|
1455
|
+
--TimelineItem-detail-visible-shadow: 0 0.0625rem 0.625rem 0
|
1456
|
+
rgba(0 0 0 / 10%);
|
1452
1457
|
--TimelineItem--font-size: 0.75rem;
|
1453
1458
|
--TimelineItem--text-primary-color: #151a26;
|
1454
1459
|
--TimelineItem--text-secondary-color: #83868c;
|
@@ -4711,7 +4716,7 @@ input[type=button].antd-Button--block {
|
|
4711
4716
|
background: var(--PopOver-bg);
|
4712
4717
|
left: 0;
|
4713
4718
|
bottom: 0;
|
4714
|
-
z-index:
|
4719
|
+
z-index: 3000;
|
4715
4720
|
padding: 0;
|
4716
4721
|
margin: 0;
|
4717
4722
|
font-weight: var(--fontWeightNormal);
|
@@ -6884,6 +6889,7 @@ input[type=button].antd-Button--block {
|
|
6884
6889
|
|
6885
6890
|
.antd-CalendarMobile {
|
6886
6891
|
height: 100%;
|
6892
|
+
width: 100%;
|
6887
6893
|
overflow: scroll;
|
6888
6894
|
}
|
6889
6895
|
.antd-CalendarMobile-pop {
|
@@ -7034,6 +7040,9 @@ input[type=button].antd-Button--block {
|
|
7034
7040
|
.antd-CalendarMobile-footer .antd-DateRangePicker-rangers .antd-DateRangePicker-ranger {
|
7035
7041
|
margin: 0 1.5625rem;
|
7036
7042
|
}
|
7043
|
+
.antd-CalendarMobile-footer .antd-DatePicker-shortcuts {
|
7044
|
+
width: auto;
|
7045
|
+
}
|
7037
7046
|
.antd-CalendarMobile-calendar-wrap {
|
7038
7047
|
padding: var(--gap-sm) 0;
|
7039
7048
|
}
|
@@ -14817,6 +14826,31 @@ td.rdtQuarter.rdtDisabled > span {
|
|
14817
14826
|
border-radius: var(--DatePicker-borderRadius);
|
14818
14827
|
}
|
14819
14828
|
|
14829
|
+
.antd-DateRangePicker.is-mobile {
|
14830
|
+
border: 0;
|
14831
|
+
justify-content: flex-end;
|
14832
|
+
}
|
14833
|
+
.antd-DateRangePicker.is-mobile span:focus,
|
14834
|
+
.antd-DateRangePicker.is-mobile a:focus {
|
14835
|
+
outline: unset;
|
14836
|
+
}
|
14837
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-value,
|
14838
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-clear {
|
14839
|
+
display: inline-flex;
|
14840
|
+
justify-content: flex-end;
|
14841
|
+
padding: 0 0;
|
14842
|
+
}
|
14843
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-value {
|
14844
|
+
margin-right: var(--gap-xs);
|
14845
|
+
}
|
14846
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-placeholder {
|
14847
|
+
flex-grow: unset;
|
14848
|
+
flex-basis: unset;
|
14849
|
+
}
|
14850
|
+
.antd-DateRangePicker.is-mobile .antd-DateRangePicker-toggler {
|
14851
|
+
margin-top: -3px;
|
14852
|
+
}
|
14853
|
+
|
14820
14854
|
.antd-ImageControl {
|
14821
14855
|
position: relative;
|
14822
14856
|
}
|
@@ -17261,6 +17295,8 @@ td.rdtQuarter.rdtDisabled > span {
|
|
17261
17295
|
font-weight: var(--fontWeightNormal);
|
17262
17296
|
margin-bottom: var(--gap-xs);
|
17263
17297
|
position: relative;
|
17298
|
+
font-size: var(--Form-item-fontSize);
|
17299
|
+
color: var(--Form-item-fontColor);
|
17264
17300
|
}
|
17265
17301
|
.antd-Form-label > span {
|
17266
17302
|
position: relative;
|
@@ -18364,6 +18400,152 @@ td.rdtQuarter.rdtDisabled > span {
|
|
18364
18400
|
border-radius: var(--TimelineItem--icon-radius);
|
18365
18401
|
}
|
18366
18402
|
|
18403
|
+
/**
|
18404
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
18405
|
+
*/
|
18406
|
+
.AMISDebug {
|
18407
|
+
position: fixed;
|
18408
|
+
z-index: 4000;
|
18409
|
+
top: 0;
|
18410
|
+
right: 0;
|
18411
|
+
height: 100vh;
|
18412
|
+
width: 24px;
|
18413
|
+
}
|
18414
|
+
.AMISDebug h3 {
|
18415
|
+
color: inherit;
|
18416
|
+
}
|
18417
|
+
.AMISDebug .primary {
|
18418
|
+
color: #009fff;
|
18419
|
+
}
|
18420
|
+
.AMISDebug-header {
|
18421
|
+
padding: var(--Drawer-header-padding);
|
18422
|
+
background: var(--Drawer-header-bg);
|
18423
|
+
border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
|
18424
|
+
}
|
18425
|
+
.AMISDebug-hoverBox {
|
18426
|
+
pointer-events: none;
|
18427
|
+
position: absolute;
|
18428
|
+
outline: 1px dashed #1c76c4;
|
18429
|
+
}
|
18430
|
+
.AMISDebug-activeBox {
|
18431
|
+
pointer-events: none;
|
18432
|
+
position: absolute;
|
18433
|
+
outline: 1px #1c76c4;
|
18434
|
+
}
|
18435
|
+
.AMISDebug-tab {
|
18436
|
+
overflow: hidden;
|
18437
|
+
}
|
18438
|
+
.AMISDebug-tab > button {
|
18439
|
+
color: inherit;
|
18440
|
+
background: inherit;
|
18441
|
+
float: left;
|
18442
|
+
border: none;
|
18443
|
+
outline: none;
|
18444
|
+
cursor: pointer;
|
18445
|
+
padding: var(--gap-sm) var(--gap-md);
|
18446
|
+
transition: 0.3s;
|
18447
|
+
border-bottom: 1px solid transparent;
|
18448
|
+
}
|
18449
|
+
.AMISDebug-tab > button:hover {
|
18450
|
+
color: #e7e7e7;
|
18451
|
+
}
|
18452
|
+
.AMISDebug-tab > button.active {
|
18453
|
+
color: #e7e7e7;
|
18454
|
+
border-bottom-color: #e7e7e7;
|
18455
|
+
}
|
18456
|
+
.AMISDebug-toggle {
|
18457
|
+
background: var(--body-bg);
|
18458
|
+
position: fixed;
|
18459
|
+
top: 50%;
|
18460
|
+
right: 0;
|
18461
|
+
width: 24px;
|
18462
|
+
height: 48px;
|
18463
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
18464
|
+
border-top-left-radius: 12px;
|
18465
|
+
border-bottom-left-radius: 12px;
|
18466
|
+
padding-top: 14px;
|
18467
|
+
padding-left: 6px;
|
18468
|
+
cursor: pointer;
|
18469
|
+
}
|
18470
|
+
.AMISDebug-toggle i {
|
18471
|
+
color: var(--text-color);
|
18472
|
+
}
|
18473
|
+
.AMISDebug-toggle:hover i {
|
18474
|
+
color: var(--primary);
|
18475
|
+
}
|
18476
|
+
.AMISDebug-content {
|
18477
|
+
display: none;
|
18478
|
+
}
|
18479
|
+
.AMISDebug-resize {
|
18480
|
+
position: absolute;
|
18481
|
+
width: 4px;
|
18482
|
+
top: 0;
|
18483
|
+
left: 0;
|
18484
|
+
bottom: 0;
|
18485
|
+
cursor: col-resize;
|
18486
|
+
}
|
18487
|
+
.AMISDebug-resize:hover {
|
18488
|
+
background: #75715e;
|
18489
|
+
}
|
18490
|
+
.AMISDebug-changePosition {
|
18491
|
+
position: absolute;
|
18492
|
+
font-size: 18px;
|
18493
|
+
right: 40px;
|
18494
|
+
top: var(--gap-sm);
|
18495
|
+
cursor: pointer;
|
18496
|
+
}
|
18497
|
+
.AMISDebug-close {
|
18498
|
+
position: absolute;
|
18499
|
+
font-size: 18px;
|
18500
|
+
right: var(--gap-sm);
|
18501
|
+
top: var(--gap-sm);
|
18502
|
+
cursor: pointer;
|
18503
|
+
}
|
18504
|
+
.AMISDebug.is-expanded {
|
18505
|
+
width: 420px;
|
18506
|
+
overflow: auto;
|
18507
|
+
background: #272821;
|
18508
|
+
color: #cccccc;
|
18509
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
18510
|
+
}
|
18511
|
+
.AMISDebug.is-expanded .AMISDebug-toggle {
|
18512
|
+
display: none;
|
18513
|
+
}
|
18514
|
+
.AMISDebug.is-expanded .AMISDebug-content {
|
18515
|
+
display: block;
|
18516
|
+
}
|
18517
|
+
.AMISDebug.is-left {
|
18518
|
+
left: 0;
|
18519
|
+
}
|
18520
|
+
.AMISDebug.is-left .AMISDebug-resize {
|
18521
|
+
left: unset;
|
18522
|
+
right: 0;
|
18523
|
+
}
|
18524
|
+
.AMISDebug-log {
|
18525
|
+
padding: var(--gap-sm);
|
18526
|
+
}
|
18527
|
+
.AMISDebug-log button {
|
18528
|
+
cursor: pointer;
|
18529
|
+
background: #0e639c;
|
18530
|
+
flex-grow: 1;
|
18531
|
+
box-sizing: border-box;
|
18532
|
+
display: inline-flex;
|
18533
|
+
justify-content: center;
|
18534
|
+
align-items: center;
|
18535
|
+
padding: 6px 11px;
|
18536
|
+
outline: none;
|
18537
|
+
text-decoration: none;
|
18538
|
+
color: inherit;
|
18539
|
+
max-width: 300px;
|
18540
|
+
border: none;
|
18541
|
+
}
|
18542
|
+
.AMISDebug-log button:hover {
|
18543
|
+
background: #1177bb;
|
18544
|
+
}
|
18545
|
+
.AMISDebug-inspect {
|
18546
|
+
padding: var(--gap-sm);
|
18547
|
+
}
|
18548
|
+
|
18367
18549
|
/*
|
18368
18550
|
* utilities
|
18369
18551
|
*/
|