amis 1.9.1-beta.0 → 1.9.1-beta.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/RootRenderer.js +10 -2
- package/lib/RootRenderer.js.map +2 -2
- package/lib/Schema.d.ts +3 -2
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.js +6 -9
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/actions/CmptAction.js +4 -4
- package/lib/actions/CmptAction.js.map +2 -2
- package/lib/components/Button.d.ts +11 -10
- package/lib/components/Button.js +2 -2
- package/lib/components/Button.js.map +2 -2
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/Checkbox.js.map +2 -2
- package/lib/components/ContextMenu.d.ts +4 -0
- package/lib/components/ContextMenu.js +23 -7
- package/lib/components/ContextMenu.js.map +2 -2
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/Form.d.ts +22 -0
- package/lib/components/Form.js +44 -0
- package/lib/components/Form.js.map +13 -0
- package/lib/components/FormField.d.ts +65 -0
- package/lib/components/FormField.js +48 -0
- package/lib/components/FormField.js.map +13 -0
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +4 -3
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +280 -0
- package/lib/components/InputBoxWithSuggestion.js +65 -0
- package/lib/components/InputBoxWithSuggestion.js.map +13 -0
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/PickerContainer.d.ts +4 -2
- package/lib/components/PickerContainer.js +28 -5
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/Select.d.ts +195 -202
- package/lib/components/Select.js +7 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Textarea.d.ts +568 -2
- package/lib/components/Textarea.js +129 -1
- package/lib/components/Textarea.js.map +2 -2
- package/lib/components/Toast.js +11 -9
- package/lib/components/Toast.js.map +2 -2
- package/lib/components/UserSelect.d.ts +500 -0
- package/lib/components/UserSelect.js +559 -0
- package/lib/components/UserSelect.js.map +13 -0
- package/lib/components/UserTabSelect.d.ts +320 -0
- package/lib/components/UserTabSelect.js +163 -0
- package/lib/components/UserTabSelect.js.map +13 -0
- package/lib/components/WithRemoteConfig.d.ts +7 -0
- package/lib/components/WithRemoteConfig.js +22 -13
- package/lib/components/WithRemoteConfig.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +26 -1
- package/lib/components/calendar/DaysView.js +60 -19
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/calendar/TimeView.d.ts +1 -1
- package/lib/components/calendar/TimeView.js +10 -3
- package/lib/components/calendar/TimeView.js.map +2 -2
- package/lib/components/formula/Picker.js +4 -4
- package/lib/components/formula/Picker.js.map +2 -2
- package/lib/components/icons.d.ts +7 -1
- package/lib/components/icons.js +17 -1
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +3 -1
- package/lib/components/index.js.map +2 -2
- package/lib/components/json-schema/Array.d.ts +3 -0
- package/lib/components/json-schema/Array.js +125 -0
- package/lib/components/json-schema/Array.js.map +13 -0
- package/lib/components/json-schema/Item.d.ts +3 -0
- package/lib/components/json-schema/Item.js +34 -0
- package/lib/components/json-schema/Item.js.map +13 -0
- package/lib/components/json-schema/Object.d.ts +3 -0
- package/lib/components/json-schema/Object.js +178 -0
- package/lib/components/json-schema/Object.js.map +13 -0
- package/lib/components/json-schema/index.d.ts +279 -0
- package/lib/components/json-schema/index.js +16 -0
- package/lib/components/json-schema/index.js.map +13 -0
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Array.js.map +2 -2
- package/lib/components/schema-editor/Common.d.ts +2 -0
- package/lib/components/schema-editor/Common.js +39 -3
- package/lib/components/schema-editor/Common.js.map +2 -2
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/Object.js.map +2 -2
- package/lib/components/schema-editor/index.d.ts +45 -41
- package/lib/components/schema-editor/index.js +5 -5
- package/lib/components/schema-editor/index.js.map +2 -2
- package/lib/components/table/ItemActionsWrapper.d.ts +10 -0
- package/lib/components/table/ItemActionsWrapper.js +25 -0
- package/lib/components/table/ItemActionsWrapper.js.map +13 -0
- package/lib/components/table/index.d.ts +48 -41
- package/lib/components/table/index.js +46 -18
- package/lib/components/table/index.js.map +2 -2
- package/lib/helper.css +125 -124
- package/lib/helper.css.map +1 -1
- package/lib/hooks/use-validation-resolver.d.ts +1 -0
- package/lib/hooks/use-validation-resolver.js +49 -0
- package/lib/hooks/use-validation-resolver.js.map +13 -0
- package/lib/icons/department.js +17 -0
- package/lib/icons/menu.js +9 -0
- package/lib/icons/post.js +15 -0
- package/lib/icons/role.js +14 -0
- package/lib/icons/user-remove.js +12 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +11 -1
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +12 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +14 -3
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.js +25 -11
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/CRUD.js +5 -1
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Dialog.js +9 -3
- package/lib/renderers/Dialog.js.map +2 -2
- package/lib/renderers/Drawer.js +5 -1
- package/lib/renderers/Drawer.js.map +2 -2
- package/lib/renderers/Form/InputDate.d.ts +2 -2
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/JSONSchema.d.ts +23 -0
- package/lib/renderers/Form/JSONSchema.js +44 -0
- package/lib/renderers/Form/JSONSchema.js.map +13 -0
- package/lib/renderers/Form/JSONSchemaEditor.d.ts +2 -3
- package/lib/renderers/Form/JSONSchemaEditor.js +9 -24
- package/lib/renderers/Form/JSONSchemaEditor.js.map +2 -2
- package/lib/renderers/Form/Options.js +11 -5
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Textarea.d.ts +1 -8
- package/lib/renderers/Form/Textarea.js +11 -75
- package/lib/renderers/Form/Textarea.js.map +2 -2
- package/lib/renderers/Form/UserSelect.d.ts +54 -0
- package/lib/renderers/Form/UserSelect.js +197 -0
- package/lib/renderers/Form/UserSelect.js.map +13 -0
- package/lib/renderers/Form/index.d.ts +1 -1
- package/lib/renderers/Form/index.js +88 -42
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/Log.d.ts +28 -0
- package/lib/renderers/Log.js +110 -20
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Page.js +5 -1
- package/lib/renderers/Page.js.map +2 -2
- package/lib/renderers/Service.js +5 -1
- package/lib/renderers/Service.js.map +2 -2
- package/lib/renderers/Table-v2/index.d.ts +14 -2
- package/lib/renderers/Table-v2/index.js +33 -3
- package/lib/renderers/Table-v2/index.js.map +2 -2
- package/lib/renderers/Wizard.js +37 -14
- package/lib/renderers/Wizard.js.map +2 -2
- package/lib/store/form.js +65 -45
- package/lib/store/form.js.map +2 -2
- package/lib/themes/ang-ie11.css +576 -24
- package/lib/themes/ang.css +553 -12
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +576 -24
- package/lib/themes/antd.css +553 -12
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +576 -24
- package/lib/themes/cxd.css +553 -12
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +576 -24
- package/lib/themes/dark.css +553 -12
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +576 -24
- package/lib/themes/default.css +553 -12
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/renderer-event.js.map +2 -2
- package/package.json +2 -1
- package/schema.json +552 -5
- package/scss/_properties.scss +20 -8
- package/scss/components/_input-box.scss +22 -1
- package/scss/components/_json-schema.scss +124 -0
- package/scss/components/_log.scss +37 -5
- package/scss/components/form/_date-range.scss +1 -0
- package/scss/components/form/_select.scss +9 -0
- package/scss/components/form/_transfer.scss +19 -3
- package/scss/components/form/_user-select.scss +422 -0
- package/scss/helper/background/_background-color.scss +125 -124
- package/scss/themes/_common.scss +2 -0
- package/sdk/ang-ie11.css +670 -24
- package/sdk/ang.css +647 -12
- package/sdk/antd-ie11.css +670 -24
- package/sdk/antd.css +647 -12
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +670 -24
- package/sdk/cxd.css +647 -12
- package/sdk/dark-ie11.css +670 -24
- package/sdk/dark.css +647 -12
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css +125 -124
- package/sdk/helper.css.map +1 -1
- package/sdk/locale/de-DE.js +11 -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 +16 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +670 -24
- package/sdk/sdk.css +647 -12
- package/sdk/sdk.js +1653 -1637
- 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 -15
- package/src/Schema.ts +5 -1
- package/src/SchemaRenderer.tsx +1 -4
- package/src/actions/CmptAction.ts +4 -4
- package/src/components/Button.tsx +3 -0
- package/src/components/Checkbox.tsx +2 -1
- package/src/components/ContextMenu.tsx +25 -7
- package/src/components/Form.tsx +70 -0
- package/src/components/FormField.tsx +127 -0
- package/src/components/InputBox.tsx +4 -1
- package/src/components/InputBoxWithSuggestion.tsx +113 -0
- package/src/components/PickerContainer.tsx +20 -5
- package/src/components/Select.tsx +18 -10
- package/src/components/Textarea.tsx +234 -2
- package/src/components/Toast.tsx +19 -18
- package/src/components/UserSelect.tsx +850 -0
- package/src/components/UserTabSelect.tsx +261 -0
- package/src/components/WithRemoteConfig.tsx +35 -11
- package/src/components/calendar/DaysView.tsx +117 -49
- package/src/components/calendar/TimeView.tsx +11 -6
- package/src/components/formula/Picker.tsx +2 -1
- package/src/components/icons.tsx +17 -1
- package/src/components/index.tsx +3 -1
- package/src/components/json-schema/Array.tsx +216 -0
- package/src/components/json-schema/Item.tsx +47 -0
- package/src/components/json-schema/Object.tsx +339 -0
- package/src/components/json-schema/index.tsx +44 -0
- package/src/components/schema-editor/Array.tsx +3 -1
- package/src/components/schema-editor/Common.tsx +61 -4
- package/src/components/schema-editor/Object.tsx +3 -1
- package/src/components/schema-editor/index.tsx +12 -5
- package/src/components/table/ItemActionsWrapper.tsx +32 -0
- package/src/components/table/index.tsx +115 -58
- package/src/hooks/use-validation-resolver.ts +45 -0
- package/src/icons/department.svg +17 -0
- package/src/icons/menu.svg +2 -0
- package/src/icons/post.svg +15 -0
- package/src/icons/role.svg +14 -0
- package/src/icons/user-remove.svg +12 -0
- package/src/index.tsx +2 -0
- package/src/locale/de-DE.ts +11 -1
- package/src/locale/en-US.ts +12 -1
- package/src/locale/zh-CN.ts +14 -3
- package/src/renderers/Action.tsx +10 -9
- package/src/renderers/CRUD.tsx +5 -1
- package/src/renderers/Dialog.tsx +9 -3
- package/src/renderers/Drawer.tsx +5 -1
- package/src/renderers/Form/InputDate.tsx +9 -4
- package/src/renderers/Form/JSONSchema.tsx +56 -0
- package/src/renderers/Form/JSONSchemaEditor.tsx +8 -27
- package/src/renderers/Form/Options.tsx +17 -7
- package/src/renderers/Form/Textarea.tsx +7 -117
- package/src/renderers/Form/UserSelect.tsx +263 -0
- package/src/renderers/Form/index.tsx +28 -18
- package/src/renderers/Form/wrapControl.tsx +0 -1
- package/src/renderers/Log.tsx +213 -19
- package/src/renderers/Page.tsx +6 -1
- package/src/renderers/Service.tsx +5 -1
- package/src/renderers/Table-v2/index.tsx +65 -2
- package/src/renderers/Wizard.tsx +24 -10
- package/src/store/form.ts +24 -17
- package/src/utils/api.ts +1 -1
- package/src/utils/renderer-event.ts +0 -2
package/scss/_properties.scss
CHANGED
@@ -1031,8 +1031,8 @@
|
|
1031
1031
|
--ListMenu-item-height: #{px2rem(34px)};
|
1032
1032
|
|
1033
1033
|
--Log-bg: #222;
|
1034
|
-
--Log-padding: var(--gap-
|
1035
|
-
--Log-line-padding: 0 var(--gap-
|
1034
|
+
--Log-padding: var(--gap-sm) 0;
|
1035
|
+
--Log-line-padding: 0 var(--gap-sm);
|
1036
1036
|
--Log-color: #f1f1f1;
|
1037
1037
|
--Log-line--onHover-bg: #444;
|
1038
1038
|
|
@@ -1335,16 +1335,22 @@
|
|
1335
1335
|
2
|
1336
1336
|
);
|
1337
1337
|
--TableCell-paddingY-default: calc(
|
1338
|
-
(
|
1339
|
-
|
1338
|
+
(
|
1339
|
+
var(--TableCell-height-default) - var(--Table-fontSize) *
|
1340
|
+
var(--Table-lineHeight)
|
1341
|
+
) / 2
|
1340
1342
|
);
|
1341
1343
|
--TableCell-paddingY-large: calc(
|
1342
|
-
(
|
1343
|
-
|
1344
|
+
(
|
1345
|
+
var(--TableCell-height-large) - var(--Table-fontSize) *
|
1346
|
+
var(--Table-lineHeight)
|
1347
|
+
) / 2
|
1344
1348
|
);
|
1345
1349
|
--TableCell-paddingY-small: calc(
|
1346
|
-
(
|
1347
|
-
|
1350
|
+
(
|
1351
|
+
var(--TableCell-height-small) - var(--Table-fontSize) *
|
1352
|
+
var(--Table-lineHeight)
|
1353
|
+
) / 2
|
1348
1354
|
);
|
1349
1355
|
--TableCell-searchBtn--onActive-color: var(--primary);
|
1350
1356
|
--TableCell-searchBtn-width: #{px2rem(16px)};
|
@@ -1643,6 +1649,12 @@
|
|
1643
1649
|
--Timeline--warning-bg: var(--warning);
|
1644
1650
|
--Timeline--danger-bg: var(--danger);
|
1645
1651
|
|
1652
|
+
--UserSelect--post-bg: #528eff;
|
1653
|
+
--UserSelect--department-bg: #ffab52;
|
1654
|
+
--UserSelect--role-bg: #0bc286;
|
1655
|
+
--UserSelect--border-color: #f7f7f9;
|
1656
|
+
--UserSelect--content-bg: #f5f7f8;
|
1657
|
+
--UserSelect--bread-color: #2468f2;
|
1646
1658
|
// tag
|
1647
1659
|
--Tag-content-fontSize: var(--fontSizeSm);
|
1648
1660
|
--Tag-height: #{px2rem(24px)};
|
@@ -10,7 +10,8 @@
|
|
10
10
|
cursor: inherit;
|
11
11
|
}
|
12
12
|
|
13
|
-
&.is-error
|
13
|
+
&.is-error,
|
14
|
+
.is-error > & {
|
14
15
|
border-color: var(--Form-input-onError-borderColor);
|
15
16
|
background: var(--Form-input-onError-bg);
|
16
17
|
}
|
@@ -50,4 +51,24 @@
|
|
50
51
|
> a {
|
51
52
|
cursor: pointer;
|
52
53
|
}
|
54
|
+
|
55
|
+
&-caret {
|
56
|
+
transition: transform var(--animation-duration) ease-out;
|
57
|
+
margin: 5px;
|
58
|
+
display: flex;
|
59
|
+
color: var(--Form-select-caret-iconColor);
|
60
|
+
&:hover {
|
61
|
+
color: var(--Form-select-caret-onHover-iconColor);
|
62
|
+
}
|
63
|
+
|
64
|
+
> svg {
|
65
|
+
width: px2rem(10px);
|
66
|
+
height: px2rem(10px);
|
67
|
+
top: 0;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&.is-active &-caret {
|
72
|
+
transform: rotate(180deg);
|
73
|
+
}
|
53
74
|
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
.#{$ns}JSONSchemaMember {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: row;
|
4
|
+
flex-wrap: nowrap;
|
5
|
+
gap: var(--gap-sm);
|
6
|
+
|
7
|
+
&-key {
|
8
|
+
min-width: 80px;
|
9
|
+
max-width: 150px;
|
10
|
+
flex: 1;
|
11
|
+
|
12
|
+
& > span {
|
13
|
+
display: flex;
|
14
|
+
background: var(--Form-input-bg);
|
15
|
+
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
|
16
|
+
border-radius: var(--Form-input-borderRadius);
|
17
|
+
// height: var(--Form-input-height);
|
18
|
+
line-height: var(--Form-input-lineHeight);
|
19
|
+
padding: var(--Form-input-paddingY) var(--Form-input-paddingX);
|
20
|
+
font-size: var(--Form-input-fontSize);
|
21
|
+
flex-wrap: wrap;
|
22
|
+
justify-content: flex-start;
|
23
|
+
align-items: center;
|
24
|
+
|
25
|
+
color: var(--Form-input-color);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
&-value {
|
30
|
+
flex: 1;
|
31
|
+
margin-left: auto;
|
32
|
+
display: flex;
|
33
|
+
gap: var(--gap-sm);
|
34
|
+
|
35
|
+
> a {
|
36
|
+
display: inline-block;
|
37
|
+
}
|
38
|
+
|
39
|
+
> div {
|
40
|
+
flex: 1;
|
41
|
+
flex-wrap: nowrap;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
& + & {
|
46
|
+
margin-top: var(--gap-sm);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
.#{$ns}JSONSchemaObject {
|
51
|
+
&-caret {
|
52
|
+
display: inline-block;
|
53
|
+
height: px2rem(24px);
|
54
|
+
text-align: center;
|
55
|
+
line-height: px2rem(24px);
|
56
|
+
vertical-align: middle;
|
57
|
+
cursor: pointer;
|
58
|
+
transform: rotate(0deg);
|
59
|
+
transition: transform var(--animation-duration);
|
60
|
+
color: var(--icon-color);
|
61
|
+
margin-top: calc((var(--Form-input-height) - var(--Switch-height)) / 2);
|
62
|
+
|
63
|
+
> svg {
|
64
|
+
width: 10px;
|
65
|
+
height: 10px;
|
66
|
+
top: 0;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
&-caret.is-collapsed {
|
71
|
+
transform: rotate(-90deg);
|
72
|
+
}
|
73
|
+
|
74
|
+
&.is-expanded {
|
75
|
+
position: relative;
|
76
|
+
margin-left: px2rem(20px);
|
77
|
+
|
78
|
+
&:before {
|
79
|
+
width: 1px;
|
80
|
+
content: '';
|
81
|
+
display: block;
|
82
|
+
position: absolute;
|
83
|
+
top: 30px;
|
84
|
+
bottom: 10px;
|
85
|
+
left: -33px;
|
86
|
+
border-left: dashed 1px var(--icon-color);
|
87
|
+
}
|
88
|
+
|
89
|
+
& .#{$ns}JSONSchemaMember {
|
90
|
+
position: relative;
|
91
|
+
}
|
92
|
+
|
93
|
+
& .#{$ns}JSONSchemaMember:before {
|
94
|
+
height: 1px;
|
95
|
+
content: '';
|
96
|
+
display: block;
|
97
|
+
position: absolute;
|
98
|
+
top: 17px;
|
99
|
+
width: 25px;
|
100
|
+
left: -33px;
|
101
|
+
border-top: dashed 1px var(--icon-color);
|
102
|
+
}
|
103
|
+
|
104
|
+
& .#{$ns}JSONSchemaMember:first-child:before {
|
105
|
+
left: -20px;
|
106
|
+
width: 12px;
|
107
|
+
}
|
108
|
+
|
109
|
+
& > button {
|
110
|
+
position: relative;
|
111
|
+
|
112
|
+
&:before {
|
113
|
+
height: 1px;
|
114
|
+
content: '';
|
115
|
+
display: block;
|
116
|
+
position: absolute;
|
117
|
+
top: 10px;
|
118
|
+
width: 25px;
|
119
|
+
left: -33px;
|
120
|
+
border-top: dashed 1px var(--icon-color);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
@@ -1,9 +1,14 @@
|
|
1
1
|
.#{$ns}Log {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
position: relative;
|
3
|
+
|
4
|
+
&-body {
|
5
|
+
background: var(--Log-bg);
|
6
|
+
color: var(--Log-color);
|
7
|
+
padding: var(--Log-padding);
|
8
|
+
overflow-y: auto;
|
9
|
+
font-family: var(--fontFamilyMonospace);
|
10
|
+
}
|
11
|
+
|
7
12
|
&-line {
|
8
13
|
padding: var(--Log-line-padding);
|
9
14
|
white-space: pre-wrap;
|
@@ -16,6 +21,33 @@
|
|
16
21
|
&:hover {
|
17
22
|
background: var(--Log-line--onHover-bg);
|
18
23
|
}
|
24
|
+
&-number {
|
25
|
+
color: #999;
|
26
|
+
font-style: italic;
|
27
|
+
margin-right: 5px;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
&-operation {
|
32
|
+
position: absolute;
|
33
|
+
top: 0;
|
34
|
+
left: -16px;
|
35
|
+
.#{$ns}Button {
|
36
|
+
margin-right: var(--gap-xs);
|
37
|
+
}
|
38
|
+
&-hidden {
|
39
|
+
background: #f0f2f5;
|
40
|
+
width: 24px;
|
41
|
+
height: 48px;
|
42
|
+
box-shadow: 0 4px 6px 0 rgb(8 14 26 / 4%), 0 1px 10px 0 rgb(8 14 26 / 5%),
|
43
|
+
0 2px 4px -1px rgb(8 14 26 / 6%);
|
44
|
+
border-radius: 0 2px 2px 0;
|
45
|
+
padding-top: 14px;
|
46
|
+
padding-left: 6px;
|
47
|
+
cursor: pointer;
|
48
|
+
color: #000;
|
49
|
+
transition: all 0.3s;
|
50
|
+
}
|
19
51
|
}
|
20
52
|
|
21
53
|
.ansi-bold {
|
@@ -1,5 +1,9 @@
|
|
1
1
|
.#{$ns}Select {
|
2
2
|
display: inline-flex;
|
3
|
+
|
4
|
+
&--block {
|
5
|
+
display: flex;
|
6
|
+
}
|
3
7
|
vertical-align: middle;
|
4
8
|
text-align: left;
|
5
9
|
align-items: center;
|
@@ -397,6 +401,11 @@
|
|
397
401
|
}
|
398
402
|
}
|
399
403
|
|
404
|
+
.#{$ns}Select.is-error {
|
405
|
+
border-color: var(--Form-input-onError-borderColor);
|
406
|
+
background: var(--Form-input-onError-bg);
|
407
|
+
}
|
408
|
+
|
400
409
|
// 需要能撑开
|
401
410
|
@include media-breakpoint-up(sm) {
|
402
411
|
.#{$ns}Form-control--sizeXs > .#{$ns}Select,
|
@@ -35,6 +35,10 @@
|
|
35
35
|
}
|
36
36
|
}
|
37
37
|
|
38
|
+
&-select {
|
39
|
+
overflow: hidden;
|
40
|
+
}
|
41
|
+
|
38
42
|
&-select,
|
39
43
|
&-result {
|
40
44
|
width: 0;
|
@@ -55,12 +59,24 @@
|
|
55
59
|
position: relative; // 貌似不加 relative 会有 bug。
|
56
60
|
}
|
57
61
|
|
58
|
-
&-select >
|
59
|
-
|
62
|
+
&-select > .#{$ns}ChainedSelection {
|
63
|
+
min-height: unset;
|
64
|
+
overflow: hidden;
|
65
|
+
|
66
|
+
.#{$ns}ChainedSelection-col {
|
67
|
+
height: 100%;
|
68
|
+
overflow: auto;
|
69
|
+
min-width: px2rem(130px);
|
70
|
+
}
|
60
71
|
}
|
61
72
|
|
62
|
-
|
73
|
+
.#{$ns}AssociatedSelection {
|
63
74
|
overflow: hidden;
|
75
|
+
|
76
|
+
&-left,
|
77
|
+
&-right {
|
78
|
+
min-height: unset;
|
79
|
+
}
|
64
80
|
}
|
65
81
|
|
66
82
|
&-search + &-selection {
|