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/sdk/dark-ie11.css
CHANGED
@@ -23443,7 +23443,7 @@ readers do not read off random characters that represent icons */
|
|
23443
23443
|
background: #333538;
|
23444
23444
|
left: 0;
|
23445
23445
|
bottom: 0;
|
23446
|
-
z-index:
|
23446
|
+
z-index: 3000;
|
23447
23447
|
padding: 0;
|
23448
23448
|
margin: 0;
|
23449
23449
|
font-weight: 400;
|
@@ -26118,6 +26118,7 @@ readers do not read off random characters that represent icons */
|
|
26118
26118
|
|
26119
26119
|
.amis-scope .dark-CalendarMobile {
|
26120
26120
|
height: 100%;
|
26121
|
+
width: 100%;
|
26121
26122
|
overflow: scroll;
|
26122
26123
|
}
|
26123
26124
|
|
@@ -26300,6 +26301,10 @@ readers do not read off random characters that represent icons */
|
|
26300
26301
|
margin: 0 1.5625rem;
|
26301
26302
|
}
|
26302
26303
|
|
26304
|
+
.amis-scope .dark-CalendarMobile-footer .dark-DatePicker-shortcuts {
|
26305
|
+
width: auto;
|
26306
|
+
}
|
26307
|
+
|
26303
26308
|
.amis-scope .dark-CalendarMobile-calendar-wrap {
|
26304
26309
|
padding: 0.5rem 0;
|
26305
26310
|
}
|
@@ -35815,6 +35820,36 @@ readers do not read off random characters that represent icons */
|
|
35815
35820
|
border-radius: 0.142rem;
|
35816
35821
|
}
|
35817
35822
|
|
35823
|
+
.amis-scope .dark-DateRangePicker.is-mobile {
|
35824
|
+
border: 0;
|
35825
|
+
justify-content: flex-end;
|
35826
|
+
}
|
35827
|
+
|
35828
|
+
.amis-scope .dark-DateRangePicker.is-mobile span:focus,
|
35829
|
+
.amis-scope .dark-DateRangePicker.is-mobile a:focus {
|
35830
|
+
outline: unset;
|
35831
|
+
}
|
35832
|
+
|
35833
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-value,
|
35834
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-clear {
|
35835
|
+
display: inline-flex;
|
35836
|
+
justify-content: flex-end;
|
35837
|
+
padding: 0 0;
|
35838
|
+
}
|
35839
|
+
|
35840
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-value {
|
35841
|
+
margin-right: 0.25rem;
|
35842
|
+
}
|
35843
|
+
|
35844
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-placeholder {
|
35845
|
+
flex-grow: unset;
|
35846
|
+
flex-basis: unset;
|
35847
|
+
}
|
35848
|
+
|
35849
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-toggler {
|
35850
|
+
margin-top: -3px;
|
35851
|
+
}
|
35852
|
+
|
35818
35853
|
.amis-scope .dark-ImageControl {
|
35819
35854
|
position: relative;
|
35820
35855
|
}
|
@@ -38823,6 +38858,8 @@ readers do not read off random characters that represent icons */
|
|
38823
38858
|
font-weight: 400;
|
38824
38859
|
margin-bottom: 0.25rem;
|
38825
38860
|
position: relative;
|
38861
|
+
font-size: 0.875rem;
|
38862
|
+
color: #f3f1f1;
|
38826
38863
|
}
|
38827
38864
|
|
38828
38865
|
.amis-scope .dark-Form-label > span {
|
@@ -40149,6 +40186,179 @@ readers do not read off random characters that represent icons */
|
|
40149
40186
|
border-radius: var(--TimelineItem--icon-radius);
|
40150
40187
|
}
|
40151
40188
|
|
40189
|
+
/**
|
40190
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
40191
|
+
*/
|
40192
|
+
|
40193
|
+
.amis-scope .AMISDebug {
|
40194
|
+
position: fixed;
|
40195
|
+
z-index: 4000;
|
40196
|
+
top: 0;
|
40197
|
+
right: 0;
|
40198
|
+
height: 100vh;
|
40199
|
+
width: 24px;
|
40200
|
+
}
|
40201
|
+
|
40202
|
+
.amis-scope .AMISDebug h3 {
|
40203
|
+
color: inherit;
|
40204
|
+
}
|
40205
|
+
|
40206
|
+
.amis-scope .AMISDebug .primary {
|
40207
|
+
color: #009fff;
|
40208
|
+
}
|
40209
|
+
|
40210
|
+
.amis-scope .AMISDebug-header {
|
40211
|
+
padding: 0.75rem;
|
40212
|
+
background: #333538;
|
40213
|
+
border-bottom: 0.0625rem solid #dfe2e6;
|
40214
|
+
}
|
40215
|
+
|
40216
|
+
.amis-scope .AMISDebug-hoverBox {
|
40217
|
+
pointer-events: none;
|
40218
|
+
position: absolute;
|
40219
|
+
outline: 1px dashed #1c76c4;
|
40220
|
+
}
|
40221
|
+
|
40222
|
+
.amis-scope .AMISDebug-activeBox {
|
40223
|
+
pointer-events: none;
|
40224
|
+
position: absolute;
|
40225
|
+
outline: 1px #1c76c4;
|
40226
|
+
}
|
40227
|
+
|
40228
|
+
.amis-scope .AMISDebug-tab {
|
40229
|
+
overflow: hidden;
|
40230
|
+
}
|
40231
|
+
|
40232
|
+
.amis-scope .AMISDebug-tab > button {
|
40233
|
+
color: inherit;
|
40234
|
+
background: inherit;
|
40235
|
+
float: left;
|
40236
|
+
border: none;
|
40237
|
+
outline: none;
|
40238
|
+
cursor: pointer;
|
40239
|
+
padding: 0.5rem 1rem;
|
40240
|
+
transition: 0.3s;
|
40241
|
+
border-bottom: 1px solid transparent;
|
40242
|
+
}
|
40243
|
+
|
40244
|
+
.amis-scope .AMISDebug-tab > button:hover {
|
40245
|
+
color: #e7e7e7;
|
40246
|
+
}
|
40247
|
+
|
40248
|
+
.amis-scope .AMISDebug-tab > button.active {
|
40249
|
+
color: #e7e7e7;
|
40250
|
+
border-bottom-color: #e7e7e7;
|
40251
|
+
}
|
40252
|
+
|
40253
|
+
.amis-scope .AMISDebug-toggle {
|
40254
|
+
background: #333538;
|
40255
|
+
position: fixed;
|
40256
|
+
top: 50%;
|
40257
|
+
right: 0;
|
40258
|
+
width: 24px;
|
40259
|
+
height: 48px;
|
40260
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
40261
|
+
border-top-left-radius: 12px;
|
40262
|
+
border-bottom-left-radius: 12px;
|
40263
|
+
padding-top: 14px;
|
40264
|
+
padding-left: 6px;
|
40265
|
+
cursor: pointer;
|
40266
|
+
}
|
40267
|
+
|
40268
|
+
.amis-scope .AMISDebug-toggle i {
|
40269
|
+
color: #f3f1f1;
|
40270
|
+
}
|
40271
|
+
|
40272
|
+
.amis-scope .AMISDebug-toggle:hover i {
|
40273
|
+
color: #0983ff;
|
40274
|
+
}
|
40275
|
+
|
40276
|
+
.amis-scope .AMISDebug-content {
|
40277
|
+
display: none;
|
40278
|
+
}
|
40279
|
+
|
40280
|
+
.amis-scope .AMISDebug-resize {
|
40281
|
+
position: absolute;
|
40282
|
+
width: 4px;
|
40283
|
+
top: 0;
|
40284
|
+
left: 0;
|
40285
|
+
bottom: 0;
|
40286
|
+
cursor: col-resize;
|
40287
|
+
}
|
40288
|
+
|
40289
|
+
.amis-scope .AMISDebug-resize:hover {
|
40290
|
+
background: #75715e;
|
40291
|
+
}
|
40292
|
+
|
40293
|
+
.amis-scope .AMISDebug-changePosition {
|
40294
|
+
position: absolute;
|
40295
|
+
font-size: 18px;
|
40296
|
+
right: 40px;
|
40297
|
+
top: 0.5rem;
|
40298
|
+
cursor: pointer;
|
40299
|
+
}
|
40300
|
+
|
40301
|
+
.amis-scope .AMISDebug-close {
|
40302
|
+
position: absolute;
|
40303
|
+
font-size: 18px;
|
40304
|
+
right: 0.5rem;
|
40305
|
+
top: 0.5rem;
|
40306
|
+
cursor: pointer;
|
40307
|
+
}
|
40308
|
+
|
40309
|
+
.amis-scope .AMISDebug.is-expanded {
|
40310
|
+
width: 420px;
|
40311
|
+
overflow: auto;
|
40312
|
+
background: #272821;
|
40313
|
+
color: #cccccc;
|
40314
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
40315
|
+
}
|
40316
|
+
|
40317
|
+
.amis-scope .AMISDebug.is-expanded .AMISDebug-toggle {
|
40318
|
+
display: none;
|
40319
|
+
}
|
40320
|
+
|
40321
|
+
.amis-scope .AMISDebug.is-expanded .AMISDebug-content {
|
40322
|
+
display: block;
|
40323
|
+
}
|
40324
|
+
|
40325
|
+
.amis-scope .AMISDebug.is-left {
|
40326
|
+
left: 0;
|
40327
|
+
}
|
40328
|
+
|
40329
|
+
.amis-scope .AMISDebug.is-left .AMISDebug-resize {
|
40330
|
+
left: unset;
|
40331
|
+
right: 0;
|
40332
|
+
}
|
40333
|
+
|
40334
|
+
.amis-scope .AMISDebug-log {
|
40335
|
+
padding: 0.5rem;
|
40336
|
+
}
|
40337
|
+
|
40338
|
+
.amis-scope .AMISDebug-log button {
|
40339
|
+
cursor: pointer;
|
40340
|
+
background: #0e639c;
|
40341
|
+
flex-grow: 1;
|
40342
|
+
box-sizing: border-box;
|
40343
|
+
display: inline-flex;
|
40344
|
+
justify-content: center;
|
40345
|
+
align-items: center;
|
40346
|
+
padding: 6px 11px;
|
40347
|
+
outline: none;
|
40348
|
+
text-decoration: none;
|
40349
|
+
color: inherit;
|
40350
|
+
max-width: 300px;
|
40351
|
+
border: none;
|
40352
|
+
}
|
40353
|
+
|
40354
|
+
.amis-scope .AMISDebug-log button:hover {
|
40355
|
+
background: #1177bb;
|
40356
|
+
}
|
40357
|
+
|
40358
|
+
.amis-scope .AMISDebug-inspect {
|
40359
|
+
padding: 0.5rem;
|
40360
|
+
}
|
40361
|
+
|
40152
40362
|
/*
|
40153
40363
|
* utilities
|
40154
40364
|
*/
|
package/sdk/dark.css
CHANGED
@@ -20306,6 +20306,8 @@ readers do not read off random characters that represent icons */
|
|
20306
20306
|
--Form-description-color: white;
|
20307
20307
|
--Form-description-fontSize: var(--fontSizeSm);
|
20308
20308
|
--Form-fontSize: var(--fontSizeBase);
|
20309
|
+
--Form-item-fontSize: var(--Form-fontSize);
|
20310
|
+
--Form-item-fontColor: #5e626a;
|
20309
20311
|
--Form-group--lg-gutterWidth: 2.5rem;
|
20310
20312
|
--Form-group--md-gutterWidth: 1.875rem;
|
20311
20313
|
--Form-group--sm-gutterWidth: var(--gap-md);
|
@@ -21045,6 +21047,8 @@ readers do not read off random characters that represent icons */
|
|
21045
21047
|
--DropDown-menu-bg: var(--background);
|
21046
21048
|
--Drawer-header-bg: var(--background);
|
21047
21049
|
--Fieldset-legend-bgColor: var(--background);
|
21050
|
+
--Form-item-fontSize: var(--fontSizeBase);
|
21051
|
+
--Form-item-fontColor: var(--body-color);
|
21048
21052
|
--Form-input-addOnBg: var(--Form-input-bg);
|
21049
21053
|
--Form-input-bg: #3c3c3c;
|
21050
21054
|
--Form-input-color: var(--text-color);
|
@@ -24792,7 +24796,7 @@ readers do not read off random characters that represent icons */
|
|
24792
24796
|
background: var(--PopOver-bg);
|
24793
24797
|
left: 0;
|
24794
24798
|
bottom: 0;
|
24795
|
-
z-index:
|
24799
|
+
z-index: 3000;
|
24796
24800
|
padding: 0;
|
24797
24801
|
margin: 0;
|
24798
24802
|
font-weight: var(--fontWeightNormal);
|
@@ -27447,6 +27451,7 @@ readers do not read off random characters that represent icons */
|
|
27447
27451
|
|
27448
27452
|
.amis-scope .dark-CalendarMobile {
|
27449
27453
|
height: 100%;
|
27454
|
+
width: 100%;
|
27450
27455
|
overflow: scroll;
|
27451
27456
|
}
|
27452
27457
|
|
@@ -27629,6 +27634,10 @@ readers do not read off random characters that represent icons */
|
|
27629
27634
|
margin: 0 1.5625rem;
|
27630
27635
|
}
|
27631
27636
|
|
27637
|
+
.amis-scope .dark-CalendarMobile-footer .dark-DatePicker-shortcuts {
|
27638
|
+
width: auto;
|
27639
|
+
}
|
27640
|
+
|
27632
27641
|
.amis-scope .dark-CalendarMobile-calendar-wrap {
|
27633
27642
|
padding: var(--gap-sm) 0;
|
27634
27643
|
}
|
@@ -37037,6 +37046,36 @@ readers do not read off random characters that represent icons */
|
|
37037
37046
|
border-radius: var(--DatePicker-borderRadius);
|
37038
37047
|
}
|
37039
37048
|
|
37049
|
+
.amis-scope .dark-DateRangePicker.is-mobile {
|
37050
|
+
border: 0;
|
37051
|
+
justify-content: flex-end;
|
37052
|
+
}
|
37053
|
+
|
37054
|
+
.amis-scope .dark-DateRangePicker.is-mobile span:focus,
|
37055
|
+
.amis-scope .dark-DateRangePicker.is-mobile a:focus {
|
37056
|
+
outline: unset;
|
37057
|
+
}
|
37058
|
+
|
37059
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-value,
|
37060
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-clear {
|
37061
|
+
display: inline-flex;
|
37062
|
+
justify-content: flex-end;
|
37063
|
+
padding: 0 0;
|
37064
|
+
}
|
37065
|
+
|
37066
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-value {
|
37067
|
+
margin-right: var(--gap-xs);
|
37068
|
+
}
|
37069
|
+
|
37070
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-placeholder {
|
37071
|
+
flex-grow: unset;
|
37072
|
+
flex-basis: unset;
|
37073
|
+
}
|
37074
|
+
|
37075
|
+
.amis-scope .dark-DateRangePicker.is-mobile .dark-DateRangePicker-toggler {
|
37076
|
+
margin-top: -3px;
|
37077
|
+
}
|
37078
|
+
|
37040
37079
|
.amis-scope .dark-ImageControl {
|
37041
37080
|
position: relative;
|
37042
37081
|
}
|
@@ -39954,6 +39993,8 @@ readers do not read off random characters that represent icons */
|
|
39954
39993
|
font-weight: var(--fontWeightNormal);
|
39955
39994
|
margin-bottom: var(--gap-xs);
|
39956
39995
|
position: relative;
|
39996
|
+
font-size: var(--Form-item-fontSize);
|
39997
|
+
color: var(--Form-item-fontColor);
|
39957
39998
|
}
|
39958
39999
|
|
39959
40000
|
.amis-scope .dark-Form-label > span {
|
@@ -41250,6 +41291,179 @@ readers do not read off random characters that represent icons */
|
|
41250
41291
|
border-radius: var(--TimelineItem--icon-radius);
|
41251
41292
|
}
|
41252
41293
|
|
41294
|
+
/**
|
41295
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
41296
|
+
*/
|
41297
|
+
|
41298
|
+
.amis-scope .AMISDebug {
|
41299
|
+
position: fixed;
|
41300
|
+
z-index: 4000;
|
41301
|
+
top: 0;
|
41302
|
+
right: 0;
|
41303
|
+
height: 100vh;
|
41304
|
+
width: 24px;
|
41305
|
+
}
|
41306
|
+
|
41307
|
+
.amis-scope .AMISDebug h3 {
|
41308
|
+
color: inherit;
|
41309
|
+
}
|
41310
|
+
|
41311
|
+
.amis-scope .AMISDebug .primary {
|
41312
|
+
color: #009fff;
|
41313
|
+
}
|
41314
|
+
|
41315
|
+
.amis-scope .AMISDebug-header {
|
41316
|
+
padding: var(--Drawer-header-padding);
|
41317
|
+
background: var(--Drawer-header-bg);
|
41318
|
+
border-bottom: var(--Drawer-content-borderWidth) solid var(--Drawer-header-borderColor);
|
41319
|
+
}
|
41320
|
+
|
41321
|
+
.amis-scope .AMISDebug-hoverBox {
|
41322
|
+
pointer-events: none;
|
41323
|
+
position: absolute;
|
41324
|
+
outline: 1px dashed #1c76c4;
|
41325
|
+
}
|
41326
|
+
|
41327
|
+
.amis-scope .AMISDebug-activeBox {
|
41328
|
+
pointer-events: none;
|
41329
|
+
position: absolute;
|
41330
|
+
outline: 1px #1c76c4;
|
41331
|
+
}
|
41332
|
+
|
41333
|
+
.amis-scope .AMISDebug-tab {
|
41334
|
+
overflow: hidden;
|
41335
|
+
}
|
41336
|
+
|
41337
|
+
.amis-scope .AMISDebug-tab > button {
|
41338
|
+
color: inherit;
|
41339
|
+
background: inherit;
|
41340
|
+
float: left;
|
41341
|
+
border: none;
|
41342
|
+
outline: none;
|
41343
|
+
cursor: pointer;
|
41344
|
+
padding: var(--gap-sm) var(--gap-md);
|
41345
|
+
transition: 0.3s;
|
41346
|
+
border-bottom: 1px solid transparent;
|
41347
|
+
}
|
41348
|
+
|
41349
|
+
.amis-scope .AMISDebug-tab > button:hover {
|
41350
|
+
color: #e7e7e7;
|
41351
|
+
}
|
41352
|
+
|
41353
|
+
.amis-scope .AMISDebug-tab > button.active {
|
41354
|
+
color: #e7e7e7;
|
41355
|
+
border-bottom-color: #e7e7e7;
|
41356
|
+
}
|
41357
|
+
|
41358
|
+
.amis-scope .AMISDebug-toggle {
|
41359
|
+
background: var(--body-bg);
|
41360
|
+
position: fixed;
|
41361
|
+
top: 50%;
|
41362
|
+
right: 0;
|
41363
|
+
width: 24px;
|
41364
|
+
height: 48px;
|
41365
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
41366
|
+
border-top-left-radius: 12px;
|
41367
|
+
border-bottom-left-radius: 12px;
|
41368
|
+
padding-top: 14px;
|
41369
|
+
padding-left: 6px;
|
41370
|
+
cursor: pointer;
|
41371
|
+
}
|
41372
|
+
|
41373
|
+
.amis-scope .AMISDebug-toggle i {
|
41374
|
+
color: var(--text-color);
|
41375
|
+
}
|
41376
|
+
|
41377
|
+
.amis-scope .AMISDebug-toggle:hover i {
|
41378
|
+
color: var(--primary);
|
41379
|
+
}
|
41380
|
+
|
41381
|
+
.amis-scope .AMISDebug-content {
|
41382
|
+
display: none;
|
41383
|
+
}
|
41384
|
+
|
41385
|
+
.amis-scope .AMISDebug-resize {
|
41386
|
+
position: absolute;
|
41387
|
+
width: 4px;
|
41388
|
+
top: 0;
|
41389
|
+
left: 0;
|
41390
|
+
bottom: 0;
|
41391
|
+
cursor: col-resize;
|
41392
|
+
}
|
41393
|
+
|
41394
|
+
.amis-scope .AMISDebug-resize:hover {
|
41395
|
+
background: #75715e;
|
41396
|
+
}
|
41397
|
+
|
41398
|
+
.amis-scope .AMISDebug-changePosition {
|
41399
|
+
position: absolute;
|
41400
|
+
font-size: 18px;
|
41401
|
+
right: 40px;
|
41402
|
+
top: var(--gap-sm);
|
41403
|
+
cursor: pointer;
|
41404
|
+
}
|
41405
|
+
|
41406
|
+
.amis-scope .AMISDebug-close {
|
41407
|
+
position: absolute;
|
41408
|
+
font-size: 18px;
|
41409
|
+
right: var(--gap-sm);
|
41410
|
+
top: var(--gap-sm);
|
41411
|
+
cursor: pointer;
|
41412
|
+
}
|
41413
|
+
|
41414
|
+
.amis-scope .AMISDebug.is-expanded {
|
41415
|
+
width: 420px;
|
41416
|
+
overflow: auto;
|
41417
|
+
background: #272821;
|
41418
|
+
color: #cccccc;
|
41419
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
41420
|
+
}
|
41421
|
+
|
41422
|
+
.amis-scope .AMISDebug.is-expanded .AMISDebug-toggle {
|
41423
|
+
display: none;
|
41424
|
+
}
|
41425
|
+
|
41426
|
+
.amis-scope .AMISDebug.is-expanded .AMISDebug-content {
|
41427
|
+
display: block;
|
41428
|
+
}
|
41429
|
+
|
41430
|
+
.amis-scope .AMISDebug.is-left {
|
41431
|
+
left: 0;
|
41432
|
+
}
|
41433
|
+
|
41434
|
+
.amis-scope .AMISDebug.is-left .AMISDebug-resize {
|
41435
|
+
left: unset;
|
41436
|
+
right: 0;
|
41437
|
+
}
|
41438
|
+
|
41439
|
+
.amis-scope .AMISDebug-log {
|
41440
|
+
padding: var(--gap-sm);
|
41441
|
+
}
|
41442
|
+
|
41443
|
+
.amis-scope .AMISDebug-log button {
|
41444
|
+
cursor: pointer;
|
41445
|
+
background: #0e639c;
|
41446
|
+
flex-grow: 1;
|
41447
|
+
box-sizing: border-box;
|
41448
|
+
display: inline-flex;
|
41449
|
+
justify-content: center;
|
41450
|
+
align-items: center;
|
41451
|
+
padding: 6px 11px;
|
41452
|
+
outline: none;
|
41453
|
+
text-decoration: none;
|
41454
|
+
color: inherit;
|
41455
|
+
max-width: 300px;
|
41456
|
+
border: none;
|
41457
|
+
}
|
41458
|
+
|
41459
|
+
.amis-scope .AMISDebug-log button:hover {
|
41460
|
+
background: #1177bb;
|
41461
|
+
}
|
41462
|
+
|
41463
|
+
.amis-scope .AMISDebug-inspect {
|
41464
|
+
padding: var(--gap-sm);
|
41465
|
+
}
|
41466
|
+
|
41253
41467
|
/*
|
41254
41468
|
* utilities
|
41255
41469
|
*/
|
package/sdk/exceljs.js
CHANGED