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/dark-ie11.css
CHANGED
@@ -606,6 +606,8 @@
|
|
606
606
|
--Form-description-color: white;
|
607
607
|
--Form-description-fontSize: var(--fontSizeSm);
|
608
608
|
--Form-fontSize: var(--fontSizeBase);
|
609
|
+
--Form-item-fontSize: var(--Form-fontSize);
|
610
|
+
--Form-item-fontColor: #5e626a;
|
609
611
|
--Form-group--lg-gutterWidth: 2.5rem;
|
610
612
|
--Form-group--md-gutterWidth: 1.875rem;
|
611
613
|
--Form-group--sm-gutterWidth: var(--gap-md);
|
@@ -1345,6 +1347,8 @@
|
|
1345
1347
|
--DropDown-menu-bg: var(--background);
|
1346
1348
|
--Drawer-header-bg: var(--background);
|
1347
1349
|
--Fieldset-legend-bgColor: var(--background);
|
1350
|
+
--Form-item-fontSize: var(--fontSizeBase);
|
1351
|
+
--Form-item-fontColor: var(--body-color);
|
1348
1352
|
--Form-input-addOnBg: var(--Form-input-bg);
|
1349
1353
|
--Form-input-bg: #3c3c3c;
|
1350
1354
|
--Form-input-color: var(--text-color);
|
@@ -4655,7 +4659,7 @@ input[type=button].dark-Button--block {
|
|
4655
4659
|
background: var(--PopOver-bg);
|
4656
4660
|
left: 0;
|
4657
4661
|
bottom: 0;
|
4658
|
-
z-index:
|
4662
|
+
z-index: 3000;
|
4659
4663
|
padding: 0;
|
4660
4664
|
margin: 0;
|
4661
4665
|
font-weight: var(--fontWeightNormal);
|
@@ -6828,6 +6832,7 @@ input[type=button].dark-Button--block {
|
|
6828
6832
|
|
6829
6833
|
.dark-CalendarMobile {
|
6830
6834
|
height: 100%;
|
6835
|
+
width: 100%;
|
6831
6836
|
overflow: scroll;
|
6832
6837
|
}
|
6833
6838
|
.dark-CalendarMobile-pop {
|
@@ -6978,6 +6983,9 @@ input[type=button].dark-Button--block {
|
|
6978
6983
|
.dark-CalendarMobile-footer .dark-DateRangePicker-rangers .dark-DateRangePicker-ranger {
|
6979
6984
|
margin: 0 1.5625rem;
|
6980
6985
|
}
|
6986
|
+
.dark-CalendarMobile-footer .dark-DatePicker-shortcuts {
|
6987
|
+
width: auto;
|
6988
|
+
}
|
6981
6989
|
.dark-CalendarMobile-calendar-wrap {
|
6982
6990
|
padding: var(--gap-sm) 0;
|
6983
6991
|
}
|
@@ -14761,6 +14769,31 @@ td.rdtQuarter.rdtDisabled > span {
|
|
14761
14769
|
border-radius: var(--DatePicker-borderRadius);
|
14762
14770
|
}
|
14763
14771
|
|
14772
|
+
.dark-DateRangePicker.is-mobile {
|
14773
|
+
border: 0;
|
14774
|
+
justify-content: flex-end;
|
14775
|
+
}
|
14776
|
+
.dark-DateRangePicker.is-mobile span:focus,
|
14777
|
+
.dark-DateRangePicker.is-mobile a:focus {
|
14778
|
+
outline: unset;
|
14779
|
+
}
|
14780
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-value,
|
14781
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-clear {
|
14782
|
+
display: inline-flex;
|
14783
|
+
justify-content: flex-end;
|
14784
|
+
padding: 0 0;
|
14785
|
+
}
|
14786
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-value {
|
14787
|
+
margin-right: var(--gap-xs);
|
14788
|
+
}
|
14789
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-placeholder {
|
14790
|
+
flex-grow: unset;
|
14791
|
+
flex-basis: unset;
|
14792
|
+
}
|
14793
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-toggler {
|
14794
|
+
margin-top: -3px;
|
14795
|
+
}
|
14796
|
+
|
14764
14797
|
.dark-ImageControl {
|
14765
14798
|
position: relative;
|
14766
14799
|
}
|
@@ -17205,6 +17238,8 @@ td.rdtQuarter.rdtDisabled > span {
|
|
17205
17238
|
font-weight: var(--fontWeightNormal);
|
17206
17239
|
margin-bottom: var(--gap-xs);
|
17207
17240
|
position: relative;
|
17241
|
+
font-size: var(--Form-item-fontSize);
|
17242
|
+
color: var(--Form-item-fontColor);
|
17208
17243
|
}
|
17209
17244
|
.dark-Form-label > span {
|
17210
17245
|
position: relative;
|
@@ -18308,6 +18343,152 @@ td.rdtQuarter.rdtDisabled > span {
|
|
18308
18343
|
border-radius: var(--TimelineItem--icon-radius);
|
18309
18344
|
}
|
18310
18345
|
|
18346
|
+
/**
|
18347
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
18348
|
+
*/
|
18349
|
+
.AMISDebug {
|
18350
|
+
position: fixed;
|
18351
|
+
z-index: 4000;
|
18352
|
+
top: 0;
|
18353
|
+
right: 0;
|
18354
|
+
height: 100vh;
|
18355
|
+
width: 24px;
|
18356
|
+
}
|
18357
|
+
.AMISDebug h3 {
|
18358
|
+
color: inherit;
|
18359
|
+
}
|
18360
|
+
.AMISDebug .primary {
|
18361
|
+
color: #009fff;
|
18362
|
+
}
|
18363
|
+
.AMISDebug-header {
|
18364
|
+
padding: var(--Drawer-header-padding);
|
18365
|
+
background: var(--Drawer-header-bg);
|
18366
|
+
border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
|
18367
|
+
}
|
18368
|
+
.AMISDebug-hoverBox {
|
18369
|
+
pointer-events: none;
|
18370
|
+
position: absolute;
|
18371
|
+
outline: 1px dashed #1c76c4;
|
18372
|
+
}
|
18373
|
+
.AMISDebug-activeBox {
|
18374
|
+
pointer-events: none;
|
18375
|
+
position: absolute;
|
18376
|
+
outline: 1px #1c76c4;
|
18377
|
+
}
|
18378
|
+
.AMISDebug-tab {
|
18379
|
+
overflow: hidden;
|
18380
|
+
}
|
18381
|
+
.AMISDebug-tab > button {
|
18382
|
+
color: inherit;
|
18383
|
+
background: inherit;
|
18384
|
+
float: left;
|
18385
|
+
border: none;
|
18386
|
+
outline: none;
|
18387
|
+
cursor: pointer;
|
18388
|
+
padding: var(--gap-sm) var(--gap-md);
|
18389
|
+
transition: 0.3s;
|
18390
|
+
border-bottom: 1px solid transparent;
|
18391
|
+
}
|
18392
|
+
.AMISDebug-tab > button:hover {
|
18393
|
+
color: #e7e7e7;
|
18394
|
+
}
|
18395
|
+
.AMISDebug-tab > button.active {
|
18396
|
+
color: #e7e7e7;
|
18397
|
+
border-bottom-color: #e7e7e7;
|
18398
|
+
}
|
18399
|
+
.AMISDebug-toggle {
|
18400
|
+
background: var(--body-bg);
|
18401
|
+
position: fixed;
|
18402
|
+
top: 50%;
|
18403
|
+
right: 0;
|
18404
|
+
width: 24px;
|
18405
|
+
height: 48px;
|
18406
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
18407
|
+
border-top-left-radius: 12px;
|
18408
|
+
border-bottom-left-radius: 12px;
|
18409
|
+
padding-top: 14px;
|
18410
|
+
padding-left: 6px;
|
18411
|
+
cursor: pointer;
|
18412
|
+
}
|
18413
|
+
.AMISDebug-toggle i {
|
18414
|
+
color: var(--text-color);
|
18415
|
+
}
|
18416
|
+
.AMISDebug-toggle:hover i {
|
18417
|
+
color: var(--primary);
|
18418
|
+
}
|
18419
|
+
.AMISDebug-content {
|
18420
|
+
display: none;
|
18421
|
+
}
|
18422
|
+
.AMISDebug-resize {
|
18423
|
+
position: absolute;
|
18424
|
+
width: 4px;
|
18425
|
+
top: 0;
|
18426
|
+
left: 0;
|
18427
|
+
bottom: 0;
|
18428
|
+
cursor: col-resize;
|
18429
|
+
}
|
18430
|
+
.AMISDebug-resize:hover {
|
18431
|
+
background: #75715e;
|
18432
|
+
}
|
18433
|
+
.AMISDebug-changePosition {
|
18434
|
+
position: absolute;
|
18435
|
+
font-size: 18px;
|
18436
|
+
right: 40px;
|
18437
|
+
top: var(--gap-sm);
|
18438
|
+
cursor: pointer;
|
18439
|
+
}
|
18440
|
+
.AMISDebug-close {
|
18441
|
+
position: absolute;
|
18442
|
+
font-size: 18px;
|
18443
|
+
right: var(--gap-sm);
|
18444
|
+
top: var(--gap-sm);
|
18445
|
+
cursor: pointer;
|
18446
|
+
}
|
18447
|
+
.AMISDebug.is-expanded {
|
18448
|
+
width: 420px;
|
18449
|
+
overflow: auto;
|
18450
|
+
background: #272821;
|
18451
|
+
color: #cccccc;
|
18452
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
18453
|
+
}
|
18454
|
+
.AMISDebug.is-expanded .AMISDebug-toggle {
|
18455
|
+
display: none;
|
18456
|
+
}
|
18457
|
+
.AMISDebug.is-expanded .AMISDebug-content {
|
18458
|
+
display: block;
|
18459
|
+
}
|
18460
|
+
.AMISDebug.is-left {
|
18461
|
+
left: 0;
|
18462
|
+
}
|
18463
|
+
.AMISDebug.is-left .AMISDebug-resize {
|
18464
|
+
left: unset;
|
18465
|
+
right: 0;
|
18466
|
+
}
|
18467
|
+
.AMISDebug-log {
|
18468
|
+
padding: var(--gap-sm);
|
18469
|
+
}
|
18470
|
+
.AMISDebug-log button {
|
18471
|
+
cursor: pointer;
|
18472
|
+
background: #0e639c;
|
18473
|
+
flex-grow: 1;
|
18474
|
+
box-sizing: border-box;
|
18475
|
+
display: inline-flex;
|
18476
|
+
justify-content: center;
|
18477
|
+
align-items: center;
|
18478
|
+
padding: 6px 11px;
|
18479
|
+
outline: none;
|
18480
|
+
text-decoration: none;
|
18481
|
+
color: inherit;
|
18482
|
+
max-width: 300px;
|
18483
|
+
border: none;
|
18484
|
+
}
|
18485
|
+
.AMISDebug-log button:hover {
|
18486
|
+
background: #1177bb;
|
18487
|
+
}
|
18488
|
+
.AMISDebug-inspect {
|
18489
|
+
padding: var(--gap-sm);
|
18490
|
+
}
|
18491
|
+
|
18311
18492
|
/*
|
18312
18493
|
* utilities
|
18313
18494
|
*/
|
package/lib/themes/dark.css
CHANGED
@@ -606,6 +606,8 @@
|
|
606
606
|
--Form-description-color: white;
|
607
607
|
--Form-description-fontSize: var(--fontSizeSm);
|
608
608
|
--Form-fontSize: var(--fontSizeBase);
|
609
|
+
--Form-item-fontSize: var(--Form-fontSize);
|
610
|
+
--Form-item-fontColor: #5e626a;
|
609
611
|
--Form-group--lg-gutterWidth: 2.5rem;
|
610
612
|
--Form-group--md-gutterWidth: 1.875rem;
|
611
613
|
--Form-group--sm-gutterWidth: var(--gap-md);
|
@@ -1345,6 +1347,8 @@
|
|
1345
1347
|
--DropDown-menu-bg: var(--background);
|
1346
1348
|
--Drawer-header-bg: var(--background);
|
1347
1349
|
--Fieldset-legend-bgColor: var(--background);
|
1350
|
+
--Form-item-fontSize: var(--fontSizeBase);
|
1351
|
+
--Form-item-fontColor: var(--body-color);
|
1348
1352
|
--Form-input-addOnBg: var(--Form-input-bg);
|
1349
1353
|
--Form-input-bg: #3c3c3c;
|
1350
1354
|
--Form-input-color: var(--text-color);
|
@@ -4655,7 +4659,7 @@ input[type=button].dark-Button--block {
|
|
4655
4659
|
background: var(--PopOver-bg);
|
4656
4660
|
left: 0;
|
4657
4661
|
bottom: 0;
|
4658
|
-
z-index:
|
4662
|
+
z-index: 3000;
|
4659
4663
|
padding: 0;
|
4660
4664
|
margin: 0;
|
4661
4665
|
font-weight: var(--fontWeightNormal);
|
@@ -6828,6 +6832,7 @@ input[type=button].dark-Button--block {
|
|
6828
6832
|
|
6829
6833
|
.dark-CalendarMobile {
|
6830
6834
|
height: 100%;
|
6835
|
+
width: 100%;
|
6831
6836
|
overflow: scroll;
|
6832
6837
|
}
|
6833
6838
|
.dark-CalendarMobile-pop {
|
@@ -6978,6 +6983,9 @@ input[type=button].dark-Button--block {
|
|
6978
6983
|
.dark-CalendarMobile-footer .dark-DateRangePicker-rangers .dark-DateRangePicker-ranger {
|
6979
6984
|
margin: 0 1.5625rem;
|
6980
6985
|
}
|
6986
|
+
.dark-CalendarMobile-footer .dark-DatePicker-shortcuts {
|
6987
|
+
width: auto;
|
6988
|
+
}
|
6981
6989
|
.dark-CalendarMobile-calendar-wrap {
|
6982
6990
|
padding: var(--gap-sm) 0;
|
6983
6991
|
}
|
@@ -14761,6 +14769,31 @@ td.rdtQuarter.rdtDisabled > span {
|
|
14761
14769
|
border-radius: var(--DatePicker-borderRadius);
|
14762
14770
|
}
|
14763
14771
|
|
14772
|
+
.dark-DateRangePicker.is-mobile {
|
14773
|
+
border: 0;
|
14774
|
+
justify-content: flex-end;
|
14775
|
+
}
|
14776
|
+
.dark-DateRangePicker.is-mobile span:focus,
|
14777
|
+
.dark-DateRangePicker.is-mobile a:focus {
|
14778
|
+
outline: unset;
|
14779
|
+
}
|
14780
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-value,
|
14781
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-clear {
|
14782
|
+
display: inline-flex;
|
14783
|
+
justify-content: flex-end;
|
14784
|
+
padding: 0 0;
|
14785
|
+
}
|
14786
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-value {
|
14787
|
+
margin-right: var(--gap-xs);
|
14788
|
+
}
|
14789
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-placeholder {
|
14790
|
+
flex-grow: unset;
|
14791
|
+
flex-basis: unset;
|
14792
|
+
}
|
14793
|
+
.dark-DateRangePicker.is-mobile .dark-DateRangePicker-toggler {
|
14794
|
+
margin-top: -3px;
|
14795
|
+
}
|
14796
|
+
|
14764
14797
|
.dark-ImageControl {
|
14765
14798
|
position: relative;
|
14766
14799
|
}
|
@@ -17205,6 +17238,8 @@ td.rdtQuarter.rdtDisabled > span {
|
|
17205
17238
|
font-weight: var(--fontWeightNormal);
|
17206
17239
|
margin-bottom: var(--gap-xs);
|
17207
17240
|
position: relative;
|
17241
|
+
font-size: var(--Form-item-fontSize);
|
17242
|
+
color: var(--Form-item-fontColor);
|
17208
17243
|
}
|
17209
17244
|
.dark-Form-label > span {
|
17210
17245
|
position: relative;
|
@@ -18308,6 +18343,152 @@ td.rdtQuarter.rdtDisabled > span {
|
|
18308
18343
|
border-radius: var(--TimelineItem--icon-radius);
|
18309
18344
|
}
|
18310
18345
|
|
18346
|
+
/**
|
18347
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
18348
|
+
*/
|
18349
|
+
.AMISDebug {
|
18350
|
+
position: fixed;
|
18351
|
+
z-index: 4000;
|
18352
|
+
top: 0;
|
18353
|
+
right: 0;
|
18354
|
+
height: 100vh;
|
18355
|
+
width: 24px;
|
18356
|
+
}
|
18357
|
+
.AMISDebug h3 {
|
18358
|
+
color: inherit;
|
18359
|
+
}
|
18360
|
+
.AMISDebug .primary {
|
18361
|
+
color: #009fff;
|
18362
|
+
}
|
18363
|
+
.AMISDebug-header {
|
18364
|
+
padding: var(--Drawer-header-padding);
|
18365
|
+
background: var(--Drawer-header-bg);
|
18366
|
+
border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
|
18367
|
+
}
|
18368
|
+
.AMISDebug-hoverBox {
|
18369
|
+
pointer-events: none;
|
18370
|
+
position: absolute;
|
18371
|
+
outline: 1px dashed #1c76c4;
|
18372
|
+
}
|
18373
|
+
.AMISDebug-activeBox {
|
18374
|
+
pointer-events: none;
|
18375
|
+
position: absolute;
|
18376
|
+
outline: 1px #1c76c4;
|
18377
|
+
}
|
18378
|
+
.AMISDebug-tab {
|
18379
|
+
overflow: hidden;
|
18380
|
+
}
|
18381
|
+
.AMISDebug-tab > button {
|
18382
|
+
color: inherit;
|
18383
|
+
background: inherit;
|
18384
|
+
float: left;
|
18385
|
+
border: none;
|
18386
|
+
outline: none;
|
18387
|
+
cursor: pointer;
|
18388
|
+
padding: var(--gap-sm) var(--gap-md);
|
18389
|
+
transition: 0.3s;
|
18390
|
+
border-bottom: 1px solid transparent;
|
18391
|
+
}
|
18392
|
+
.AMISDebug-tab > button:hover {
|
18393
|
+
color: #e7e7e7;
|
18394
|
+
}
|
18395
|
+
.AMISDebug-tab > button.active {
|
18396
|
+
color: #e7e7e7;
|
18397
|
+
border-bottom-color: #e7e7e7;
|
18398
|
+
}
|
18399
|
+
.AMISDebug-toggle {
|
18400
|
+
background: var(--body-bg);
|
18401
|
+
position: fixed;
|
18402
|
+
top: 50%;
|
18403
|
+
right: 0;
|
18404
|
+
width: 24px;
|
18405
|
+
height: 48px;
|
18406
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
18407
|
+
border-top-left-radius: 12px;
|
18408
|
+
border-bottom-left-radius: 12px;
|
18409
|
+
padding-top: 14px;
|
18410
|
+
padding-left: 6px;
|
18411
|
+
cursor: pointer;
|
18412
|
+
}
|
18413
|
+
.AMISDebug-toggle i {
|
18414
|
+
color: var(--text-color);
|
18415
|
+
}
|
18416
|
+
.AMISDebug-toggle:hover i {
|
18417
|
+
color: var(--primary);
|
18418
|
+
}
|
18419
|
+
.AMISDebug-content {
|
18420
|
+
display: none;
|
18421
|
+
}
|
18422
|
+
.AMISDebug-resize {
|
18423
|
+
position: absolute;
|
18424
|
+
width: 4px;
|
18425
|
+
top: 0;
|
18426
|
+
left: 0;
|
18427
|
+
bottom: 0;
|
18428
|
+
cursor: col-resize;
|
18429
|
+
}
|
18430
|
+
.AMISDebug-resize:hover {
|
18431
|
+
background: #75715e;
|
18432
|
+
}
|
18433
|
+
.AMISDebug-changePosition {
|
18434
|
+
position: absolute;
|
18435
|
+
font-size: 18px;
|
18436
|
+
right: 40px;
|
18437
|
+
top: var(--gap-sm);
|
18438
|
+
cursor: pointer;
|
18439
|
+
}
|
18440
|
+
.AMISDebug-close {
|
18441
|
+
position: absolute;
|
18442
|
+
font-size: 18px;
|
18443
|
+
right: var(--gap-sm);
|
18444
|
+
top: var(--gap-sm);
|
18445
|
+
cursor: pointer;
|
18446
|
+
}
|
18447
|
+
.AMISDebug.is-expanded {
|
18448
|
+
width: 420px;
|
18449
|
+
overflow: auto;
|
18450
|
+
background: #272821;
|
18451
|
+
color: #cccccc;
|
18452
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
18453
|
+
}
|
18454
|
+
.AMISDebug.is-expanded .AMISDebug-toggle {
|
18455
|
+
display: none;
|
18456
|
+
}
|
18457
|
+
.AMISDebug.is-expanded .AMISDebug-content {
|
18458
|
+
display: block;
|
18459
|
+
}
|
18460
|
+
.AMISDebug.is-left {
|
18461
|
+
left: 0;
|
18462
|
+
}
|
18463
|
+
.AMISDebug.is-left .AMISDebug-resize {
|
18464
|
+
left: unset;
|
18465
|
+
right: 0;
|
18466
|
+
}
|
18467
|
+
.AMISDebug-log {
|
18468
|
+
padding: var(--gap-sm);
|
18469
|
+
}
|
18470
|
+
.AMISDebug-log button {
|
18471
|
+
cursor: pointer;
|
18472
|
+
background: #0e639c;
|
18473
|
+
flex-grow: 1;
|
18474
|
+
box-sizing: border-box;
|
18475
|
+
display: inline-flex;
|
18476
|
+
justify-content: center;
|
18477
|
+
align-items: center;
|
18478
|
+
padding: 6px 11px;
|
18479
|
+
outline: none;
|
18480
|
+
text-decoration: none;
|
18481
|
+
color: inherit;
|
18482
|
+
max-width: 300px;
|
18483
|
+
border: none;
|
18484
|
+
}
|
18485
|
+
.AMISDebug-log button:hover {
|
18486
|
+
background: #1177bb;
|
18487
|
+
}
|
18488
|
+
.AMISDebug-inspect {
|
18489
|
+
padding: var(--gap-sm);
|
18490
|
+
}
|
18491
|
+
|
18311
18492
|
/*
|
18312
18493
|
* utilities
|
18313
18494
|
*/
|