amis 1.5.6-beta.5 → 1.5.6
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/lib/components/Card.js +1 -1
- package/lib/components/Card.js.map +2 -2
- package/lib/components/Collapse.js +1 -1
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/Rating.d.ts +203 -73
- package/lib/components/Rating.js +147 -31
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/icons/star.js +12 -0
- package/lib/index.js +1 -1
- package/lib/renderers/Form/InputRating.d.ts +37 -0
- package/lib/renderers/Form/InputRating.js +6 -2
- package/lib/renderers/Form/InputRating.js.map +2 -2
- package/lib/renderers/Json.js +7 -0
- package/lib/renderers/Json.js.map +2 -2
- package/lib/themes/ang-ie11.css +44 -10
- package/lib/themes/ang.css +44 -10
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +44 -10
- package/lib/themes/antd.css +44 -10
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +45 -10
- package/lib/themes/cxd.css +45 -10
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +44 -10
- package/lib/themes/dark.css +44 -10
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +45 -10
- package/lib/themes/default.css.map +1 -1
- package/package.json +2 -2
- package/schema.json +59 -7
- package/scss/_properties.scss +3 -1
- package/scss/components/form/_rating.scss +60 -21
- package/scss/themes/_cxd-variables.scss +2 -0
- package/sdk/ang-ie11.css +47 -8
- package/sdk/ang.css +51 -10
- package/sdk/antd-ie11.css +47 -8
- package/sdk/antd.css +51 -10
- package/sdk/charts.js +13 -13
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +47 -8
- package/sdk/cxd.css +52 -10
- package/sdk/dark-ie11.css +47 -8
- package/sdk/dark.css +51 -10
- package/sdk/exceljs.js +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 +47 -8
- package/sdk/sdk.css +52 -10
- package/sdk/sdk.js +1213 -1211
- 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/components/Card.tsx +2 -2
- package/src/components/Collapse.tsx +1 -1
- package/src/components/Rating.tsx +235 -47
- package/src/components/icons.tsx +2 -0
- package/src/icons/star.svg +12 -0
- package/src/renderers/Form/InputRating.tsx +66 -3
- package/src/renderers/Json.tsx +5 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "amis",
|
3
|
-
"version": "1.5.6
|
3
|
+
"version": "1.5.6",
|
4
4
|
"description": "一种MIS页面生成工具",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"scripts": {
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"dependencies": {
|
41
|
-
"amis-formula": "^1.3.
|
41
|
+
"amis-formula": "^1.3.3",
|
42
42
|
"ansi-to-react": "^6.1.6",
|
43
43
|
"async": "2.6.0",
|
44
44
|
"attr-accept": "2.2.2",
|
package/schema.json
CHANGED
@@ -30615,6 +30615,51 @@
|
|
30615
30615
|
"allowClear": {
|
30616
30616
|
"type": "boolean",
|
30617
30617
|
"description": "是否允许再次点击后清除"
|
30618
|
+
},
|
30619
|
+
"readonly": {
|
30620
|
+
"type": "boolean",
|
30621
|
+
"description": "是否只读"
|
30622
|
+
},
|
30623
|
+
"colors": {
|
30624
|
+
"anyOf": [
|
30625
|
+
{
|
30626
|
+
"type": "string"
|
30627
|
+
},
|
30628
|
+
{
|
30629
|
+
"type": "object",
|
30630
|
+
"additionalProperties": {
|
30631
|
+
"type": "string"
|
30632
|
+
}
|
30633
|
+
}
|
30634
|
+
],
|
30635
|
+
"description": "星星被选中的颜色"
|
30636
|
+
},
|
30637
|
+
"inactiveColor": {
|
30638
|
+
"type": "string",
|
30639
|
+
"description": "未被选中的星星的颜色"
|
30640
|
+
},
|
30641
|
+
"texts": {
|
30642
|
+
"type": "object",
|
30643
|
+
"additionalProperties": {
|
30644
|
+
"type": "string"
|
30645
|
+
},
|
30646
|
+
"description": "星星被选中时的提示文字"
|
30647
|
+
},
|
30648
|
+
"textPosition": {
|
30649
|
+
"$ref": "#/definitions/textPositionType",
|
30650
|
+
"description": "文字的位置"
|
30651
|
+
},
|
30652
|
+
"char": {
|
30653
|
+
"type": "string",
|
30654
|
+
"description": "自定义字符"
|
30655
|
+
},
|
30656
|
+
"charClassName": {
|
30657
|
+
"type": "string",
|
30658
|
+
"description": "自定义字符类名"
|
30659
|
+
},
|
30660
|
+
"textClassName": {
|
30661
|
+
"type": "string",
|
30662
|
+
"description": "自定义文字类名"
|
30618
30663
|
}
|
30619
30664
|
},
|
30620
30665
|
"required": [
|
@@ -30623,6 +30668,13 @@
|
|
30623
30668
|
"additionalProperties": false,
|
30624
30669
|
"description": "Rating 文档:https://baidu.gitee.io/amis/docs/components/form/rating"
|
30625
30670
|
},
|
30671
|
+
"textPositionType": {
|
30672
|
+
"type": "string",
|
30673
|
+
"enum": [
|
30674
|
+
"left",
|
30675
|
+
"right"
|
30676
|
+
]
|
30677
|
+
},
|
30626
30678
|
"RichTextControlSchema": {
|
30627
30679
|
"type": "object",
|
30628
30680
|
"properties": {
|
@@ -40564,7 +40616,7 @@
|
|
40564
40616
|
"$ref": "#/definitions/RatingControlSchema",
|
40565
40617
|
"additionalProperties": false,
|
40566
40618
|
"patternProperties": {
|
40567
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|popOver|quickEdit|copyable)$": {}
|
40619
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|popOver|quickEdit|copyable)$": {}
|
40568
40620
|
}
|
40569
40621
|
},
|
40570
40622
|
{
|
@@ -41351,7 +41403,7 @@
|
|
41351
41403
|
"$ref": "#/definitions/RatingControlSchema",
|
41352
41404
|
"additionalProperties": false,
|
41353
41405
|
"patternProperties": {
|
41354
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|popOver|quickEdit|copyable)$": {}
|
41406
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|popOver|quickEdit|copyable)$": {}
|
41355
41407
|
}
|
41356
41408
|
},
|
41357
41409
|
{
|
@@ -42138,7 +42190,7 @@
|
|
42138
42190
|
"$ref": "#/definitions/RatingControlSchema",
|
42139
42191
|
"additionalProperties": false,
|
42140
42192
|
"patternProperties": {
|
42141
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|fixed|popOver|quickEdit|quickEditOnUpdate|copyable|sortable|searchable|toggled|width|align|classNameExpr|filterable|breakpoint|unique)$": {}
|
42193
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|fixed|popOver|quickEdit|quickEditOnUpdate|copyable|sortable|searchable|toggled|width|align|classNameExpr|filterable|breakpoint|unique)$": {}
|
42142
42194
|
}
|
42143
42195
|
},
|
42144
42196
|
{
|
@@ -42925,7 +42977,7 @@
|
|
42925
42977
|
"$ref": "#/definitions/RatingControlSchema",
|
42926
42978
|
"additionalProperties": false,
|
42927
42979
|
"patternProperties": {
|
42928
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|x|y|w|h|width|height|align|valign|gridClassName)$": {}
|
42980
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|x|y|w|h|width|height|align|valign|gridClassName)$": {}
|
42929
42981
|
}
|
42930
42982
|
},
|
42931
42983
|
{
|
@@ -43712,7 +43764,7 @@
|
|
43712
43764
|
"$ref": "#/definitions/RatingControlSchema",
|
43713
43765
|
"additionalProperties": false,
|
43714
43766
|
"patternProperties": {
|
43715
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|rowClassName|cellClassName)$": {}
|
43767
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|rowClassName|cellClassName)$": {}
|
43716
43768
|
}
|
43717
43769
|
},
|
43718
43770
|
{
|
@@ -44499,7 +44551,7 @@
|
|
44499
44551
|
"$ref": "#/definitions/RatingControlSchema",
|
44500
44552
|
"additionalProperties": false,
|
44501
44553
|
"patternProperties": {
|
44502
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|unique|columnClassName)$": {}
|
44554
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|unique|columnClassName)$": {}
|
44503
44555
|
}
|
44504
44556
|
},
|
44505
44557
|
{
|
@@ -45286,7 +45338,7 @@
|
|
45286
45338
|
"$ref": "#/definitions/RatingControlSchema",
|
45287
45339
|
"additionalProperties": false,
|
45288
45340
|
"patternProperties": {
|
45289
|
-
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|columnClassName|columnRatio)$": {}
|
45341
|
+
"^(className|$ref|disabled|disabledOn|hidden|hiddenOn|visible|visibleOn|type|size|label|labelClassName|name|remark|labelRemark|hint|submitOnChange|readOnly|validateOnChange|description|desc|descriptionClassName|mode|horizontal|inline|inputClassName|placeholder|required|validationErrors|validations|value|clearValueOnHidden|validateApi|count|half|allowClear|readonly|colors|inactiveColor|texts|textPosition|char|charClassName|textClassName|columnClassName|columnRatio)$": {}
|
45290
45342
|
}
|
45291
45343
|
},
|
45292
45344
|
{
|
package/scss/_properties.scss
CHANGED
@@ -1144,7 +1144,9 @@
|
|
1144
1144
|
--ResultBox-value-bg: #f5f5f5;
|
1145
1145
|
--ResultBox-value-color: #000;
|
1146
1146
|
|
1147
|
-
--Rating-
|
1147
|
+
--Rating-inactive-color: #e6e6e8;
|
1148
|
+
--Rating-star-margin: #{px2rem(8px)};
|
1149
|
+
--Rating-star-size: #{px2rem(24px)};
|
1148
1150
|
|
1149
1151
|
--Satus-icon-width: var(--gap-lg);
|
1150
1152
|
--Satus-icon-height: var(--Satus-icon-width);
|
@@ -1,31 +1,70 @@
|
|
1
1
|
.#{$ns}Rating {
|
2
|
+
display: flex;
|
2
3
|
position: relative;
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
font-size: px2rem(24px);
|
7
|
-
color: var(--dark);
|
8
|
-
cursor: pointer;
|
9
|
-
|
10
|
-
&.is-active {
|
11
|
-
color: var(--Rating-onActive-color);
|
12
|
-
}
|
4
|
+
align-items: center;
|
5
|
+
justify-content: flex-start;
|
6
|
+
flex-flow: row wrap;
|
13
7
|
|
14
|
-
|
15
|
-
|
16
|
-
|
8
|
+
& > ul {
|
9
|
+
display: flex;
|
10
|
+
padding: unset;
|
11
|
+
margin: unset;
|
12
|
+
align-items: center;
|
13
|
+
justify-content: flex-start;
|
14
|
+
flex-flow: row wrap;
|
17
15
|
}
|
18
16
|
|
19
|
-
&-
|
20
|
-
position:
|
17
|
+
&-star {
|
18
|
+
position: relative;
|
19
|
+
margin-right: var(--Rating-star-margin);
|
21
20
|
overflow: hidden;
|
22
21
|
display: block;
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
font-size: var(--Rating-star-size);
|
23
|
+
line-height: 1;
|
24
|
+
cursor: pointer;
|
25
|
+
user-select: none;
|
26
|
+
color: var(--Rating-inactive-color);
|
27
|
+
|
28
|
+
&-half > svg.icon,
|
29
|
+
& > svg.icon {
|
30
|
+
display: block;
|
31
|
+
width: px2rem(24px);
|
32
|
+
height: px2rem(24px);
|
33
|
+
top: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:last-of-type {
|
37
|
+
margin-right: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
&.is-disabled {
|
41
|
+
cursor: not-allowed;
|
42
|
+
pointer-events: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
&-half {
|
46
|
+
position: absolute;
|
47
|
+
overflow: hidden;
|
48
|
+
display: block;
|
49
|
+
z-index: 1;
|
50
|
+
top: 0;
|
51
|
+
left: 0;
|
52
|
+
width: 50%;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
&-text {
|
57
|
+
font-size: var(--fontSizeSm);
|
58
|
+
color: var(--text-color);
|
59
|
+
font-weight: var(--fontWeightNormal);
|
60
|
+
|
61
|
+
&--left {
|
62
|
+
margin-right: var(--Rating-star-margin);
|
63
|
+
}
|
64
|
+
|
65
|
+
&--right {
|
66
|
+
margin-left: var(--Rating-star-margin);
|
67
|
+
}
|
29
68
|
}
|
30
69
|
}
|
31
70
|
|
package/sdk/ang-ie11.css
CHANGED
@@ -37410,25 +37410,52 @@ readers do not read off random characters that represent icons */
|
|
37410
37410
|
}
|
37411
37411
|
|
37412
37412
|
.amis-scope .a-Rating {
|
37413
|
+
display: flex;
|
37413
37414
|
position: relative;
|
37415
|
+
align-items: center;
|
37416
|
+
justify-content: flex-start;
|
37417
|
+
flex-flow: row wrap;
|
37418
|
+
}
|
37419
|
+
|
37420
|
+
.amis-scope .a-Rating > ul {
|
37421
|
+
display: flex;
|
37422
|
+
padding: unset;
|
37423
|
+
margin: unset;
|
37424
|
+
align-items: center;
|
37425
|
+
justify-content: flex-start;
|
37426
|
+
flex-flow: row wrap;
|
37427
|
+
}
|
37428
|
+
|
37429
|
+
.amis-scope .a-Rating-star {
|
37430
|
+
position: relative;
|
37431
|
+
margin-right: 0.5rem;
|
37414
37432
|
overflow: hidden;
|
37415
37433
|
display: block;
|
37416
|
-
float: left;
|
37417
37434
|
font-size: 1.5rem;
|
37418
|
-
|
37435
|
+
line-height: 1;
|
37419
37436
|
cursor: pointer;
|
37437
|
+
user-select: none;
|
37438
|
+
color: #e6e6e8;
|
37420
37439
|
}
|
37421
37440
|
|
37422
|
-
.amis-scope .a-Rating
|
37423
|
-
|
37441
|
+
.amis-scope .a-Rating-star-half > svg.icon,
|
37442
|
+
.amis-scope .a-Rating-star > svg.icon {
|
37443
|
+
display: block;
|
37444
|
+
width: 1.5rem;
|
37445
|
+
height: 1.5rem;
|
37446
|
+
top: 0;
|
37424
37447
|
}
|
37425
37448
|
|
37426
|
-
.amis-scope .a-Rating
|
37449
|
+
.amis-scope .a-Rating-star:last-of-type {
|
37450
|
+
margin-right: 0;
|
37451
|
+
}
|
37452
|
+
|
37453
|
+
.amis-scope .a-Rating-star.is-disabled {
|
37427
37454
|
cursor: not-allowed;
|
37428
37455
|
pointer-events: none;
|
37429
37456
|
}
|
37430
37457
|
|
37431
|
-
.amis-scope .a-Rating-half
|
37458
|
+
.amis-scope .a-Rating-star-half {
|
37432
37459
|
position: absolute;
|
37433
37460
|
overflow: hidden;
|
37434
37461
|
display: block;
|
@@ -37436,8 +37463,20 @@ readers do not read off random characters that represent icons */
|
|
37436
37463
|
top: 0;
|
37437
37464
|
left: 0;
|
37438
37465
|
width: 50%;
|
37439
|
-
|
37440
|
-
|
37466
|
+
}
|
37467
|
+
|
37468
|
+
.amis-scope .a-Rating-text {
|
37469
|
+
font-size: 0.75rem;
|
37470
|
+
color: #58666e;
|
37471
|
+
font-weight: 400;
|
37472
|
+
}
|
37473
|
+
|
37474
|
+
.amis-scope .a-Rating-text--left {
|
37475
|
+
margin-right: 0.5rem;
|
37476
|
+
}
|
37477
|
+
|
37478
|
+
.amis-scope .a-Rating-text--right {
|
37479
|
+
margin-left: 0.5rem;
|
37441
37480
|
}
|
37442
37481
|
|
37443
37482
|
.amis-scope .a-RatingControl {
|
package/sdk/ang.css
CHANGED
@@ -20748,7 +20748,9 @@ readers do not read off random characters that represent icons */
|
|
20748
20748
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
20749
20749
|
--ResultBox-value-bg: #f5f5f5;
|
20750
20750
|
--ResultBox-value-color: #000;
|
20751
|
-
--Rating-
|
20751
|
+
--Rating-inactive-color: #e6e6e8;
|
20752
|
+
--Rating-star-margin: 0.5rem;
|
20753
|
+
--Rating-star-size: 1.5rem;
|
20752
20754
|
--Satus-icon-width: var(--gap-lg);
|
20753
20755
|
--Satus-icon-height: var(--Satus-icon-width);
|
20754
20756
|
--Sparkline-line-color: var(--info);
|
@@ -38485,25 +38487,52 @@ readers do not read off random characters that represent icons */
|
|
38485
38487
|
}
|
38486
38488
|
|
38487
38489
|
.amis-scope .a-Rating {
|
38490
|
+
display: flex;
|
38491
|
+
position: relative;
|
38492
|
+
align-items: center;
|
38493
|
+
justify-content: flex-start;
|
38494
|
+
flex-flow: row wrap;
|
38495
|
+
}
|
38496
|
+
|
38497
|
+
.amis-scope .a-Rating > ul {
|
38498
|
+
display: flex;
|
38499
|
+
padding: unset;
|
38500
|
+
margin: unset;
|
38501
|
+
align-items: center;
|
38502
|
+
justify-content: flex-start;
|
38503
|
+
flex-flow: row wrap;
|
38504
|
+
}
|
38505
|
+
|
38506
|
+
.amis-scope .a-Rating-star {
|
38488
38507
|
position: relative;
|
38508
|
+
margin-right: var(--Rating-star-margin);
|
38489
38509
|
overflow: hidden;
|
38490
38510
|
display: block;
|
38491
|
-
|
38492
|
-
|
38493
|
-
color: var(--dark);
|
38511
|
+
font-size: var(--Rating-star-size);
|
38512
|
+
line-height: 1;
|
38494
38513
|
cursor: pointer;
|
38514
|
+
user-select: none;
|
38515
|
+
color: var(--Rating-inactive-color);
|
38495
38516
|
}
|
38496
38517
|
|
38497
|
-
.amis-scope .a-Rating
|
38498
|
-
|
38518
|
+
.amis-scope .a-Rating-star-half > svg.icon,
|
38519
|
+
.amis-scope .a-Rating-star > svg.icon {
|
38520
|
+
display: block;
|
38521
|
+
width: 1.5rem;
|
38522
|
+
height: 1.5rem;
|
38523
|
+
top: 0;
|
38524
|
+
}
|
38525
|
+
|
38526
|
+
.amis-scope .a-Rating-star:last-of-type {
|
38527
|
+
margin-right: 0;
|
38499
38528
|
}
|
38500
38529
|
|
38501
|
-
.amis-scope .a-Rating.is-disabled {
|
38530
|
+
.amis-scope .a-Rating-star.is-disabled {
|
38502
38531
|
cursor: not-allowed;
|
38503
38532
|
pointer-events: none;
|
38504
38533
|
}
|
38505
38534
|
|
38506
|
-
.amis-scope .a-Rating-half
|
38535
|
+
.amis-scope .a-Rating-star-half {
|
38507
38536
|
position: absolute;
|
38508
38537
|
overflow: hidden;
|
38509
38538
|
display: block;
|
@@ -38511,8 +38540,20 @@ readers do not read off random characters that represent icons */
|
|
38511
38540
|
top: 0;
|
38512
38541
|
left: 0;
|
38513
38542
|
width: 50%;
|
38514
|
-
|
38515
|
-
|
38543
|
+
}
|
38544
|
+
|
38545
|
+
.amis-scope .a-Rating-text {
|
38546
|
+
font-size: var(--fontSizeSm);
|
38547
|
+
color: var(--text-color);
|
38548
|
+
font-weight: var(--fontWeightNormal);
|
38549
|
+
}
|
38550
|
+
|
38551
|
+
.amis-scope .a-Rating-text--left {
|
38552
|
+
margin-right: var(--Rating-star-margin);
|
38553
|
+
}
|
38554
|
+
|
38555
|
+
.amis-scope .a-Rating-text--right {
|
38556
|
+
margin-left: var(--Rating-star-margin);
|
38516
38557
|
}
|
38517
38558
|
|
38518
38559
|
.amis-scope .a-RatingControl {
|
package/sdk/antd-ie11.css
CHANGED
@@ -37379,25 +37379,52 @@ readers do not read off random characters that represent icons */
|
|
37379
37379
|
}
|
37380
37380
|
|
37381
37381
|
.amis-scope .antd-Rating {
|
37382
|
+
display: flex;
|
37383
|
+
position: relative;
|
37384
|
+
align-items: center;
|
37385
|
+
justify-content: flex-start;
|
37386
|
+
flex-flow: row wrap;
|
37387
|
+
}
|
37388
|
+
|
37389
|
+
.amis-scope .antd-Rating > ul {
|
37390
|
+
display: flex;
|
37391
|
+
padding: unset;
|
37392
|
+
margin: unset;
|
37393
|
+
align-items: center;
|
37394
|
+
justify-content: flex-start;
|
37395
|
+
flex-flow: row wrap;
|
37396
|
+
}
|
37397
|
+
|
37398
|
+
.amis-scope .antd-Rating-star {
|
37382
37399
|
position: relative;
|
37400
|
+
margin-right: 0.5rem;
|
37383
37401
|
overflow: hidden;
|
37384
37402
|
display: block;
|
37385
|
-
float: left;
|
37386
37403
|
font-size: 1.5rem;
|
37387
|
-
|
37404
|
+
line-height: 1;
|
37388
37405
|
cursor: pointer;
|
37406
|
+
user-select: none;
|
37407
|
+
color: #e6e6e8;
|
37389
37408
|
}
|
37390
37409
|
|
37391
|
-
.amis-scope .antd-Rating
|
37392
|
-
|
37410
|
+
.amis-scope .antd-Rating-star-half > svg.icon,
|
37411
|
+
.amis-scope .antd-Rating-star > svg.icon {
|
37412
|
+
display: block;
|
37413
|
+
width: 1.5rem;
|
37414
|
+
height: 1.5rem;
|
37415
|
+
top: 0;
|
37393
37416
|
}
|
37394
37417
|
|
37395
|
-
.amis-scope .antd-Rating
|
37418
|
+
.amis-scope .antd-Rating-star:last-of-type {
|
37419
|
+
margin-right: 0;
|
37420
|
+
}
|
37421
|
+
|
37422
|
+
.amis-scope .antd-Rating-star.is-disabled {
|
37396
37423
|
cursor: not-allowed;
|
37397
37424
|
pointer-events: none;
|
37398
37425
|
}
|
37399
37426
|
|
37400
|
-
.amis-scope .antd-Rating-half
|
37427
|
+
.amis-scope .antd-Rating-star-half {
|
37401
37428
|
position: absolute;
|
37402
37429
|
overflow: hidden;
|
37403
37430
|
display: block;
|
@@ -37405,8 +37432,20 @@ readers do not read off random characters that represent icons */
|
|
37405
37432
|
top: 0;
|
37406
37433
|
left: 0;
|
37407
37434
|
width: 50%;
|
37408
|
-
|
37409
|
-
|
37435
|
+
}
|
37436
|
+
|
37437
|
+
.amis-scope .antd-Rating-text {
|
37438
|
+
font-size: 0.75rem;
|
37439
|
+
color: rgba(0, 0, 0, 0.85);
|
37440
|
+
font-weight: 400;
|
37441
|
+
}
|
37442
|
+
|
37443
|
+
.amis-scope .antd-Rating-text--left {
|
37444
|
+
margin-right: 0.5rem;
|
37445
|
+
}
|
37446
|
+
|
37447
|
+
.amis-scope .antd-Rating-text--right {
|
37448
|
+
margin-left: 0.5rem;
|
37410
37449
|
}
|
37411
37450
|
|
37412
37451
|
.amis-scope .antd-RatingControl {
|
package/sdk/antd.css
CHANGED
@@ -20752,7 +20752,9 @@ readers do not read off random characters that represent icons */
|
|
20752
20752
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
20753
20753
|
--ResultBox-value-bg: #f5f5f5;
|
20754
20754
|
--ResultBox-value-color: #000;
|
20755
|
-
--Rating-
|
20755
|
+
--Rating-inactive-color: #e6e6e8;
|
20756
|
+
--Rating-star-margin: 0.5rem;
|
20757
|
+
--Rating-star-size: 1.5rem;
|
20756
20758
|
--Satus-icon-width: var(--gap-lg);
|
20757
20759
|
--Satus-icon-height: var(--Satus-icon-width);
|
20758
20760
|
--Sparkline-line-color: var(--info);
|
@@ -38592,25 +38594,52 @@ readers do not read off random characters that represent icons */
|
|
38592
38594
|
}
|
38593
38595
|
|
38594
38596
|
.amis-scope .antd-Rating {
|
38597
|
+
display: flex;
|
38598
|
+
position: relative;
|
38599
|
+
align-items: center;
|
38600
|
+
justify-content: flex-start;
|
38601
|
+
flex-flow: row wrap;
|
38602
|
+
}
|
38603
|
+
|
38604
|
+
.amis-scope .antd-Rating > ul {
|
38605
|
+
display: flex;
|
38606
|
+
padding: unset;
|
38607
|
+
margin: unset;
|
38608
|
+
align-items: center;
|
38609
|
+
justify-content: flex-start;
|
38610
|
+
flex-flow: row wrap;
|
38611
|
+
}
|
38612
|
+
|
38613
|
+
.amis-scope .antd-Rating-star {
|
38595
38614
|
position: relative;
|
38615
|
+
margin-right: var(--Rating-star-margin);
|
38596
38616
|
overflow: hidden;
|
38597
38617
|
display: block;
|
38598
|
-
|
38599
|
-
|
38600
|
-
color: var(--dark);
|
38618
|
+
font-size: var(--Rating-star-size);
|
38619
|
+
line-height: 1;
|
38601
38620
|
cursor: pointer;
|
38621
|
+
user-select: none;
|
38622
|
+
color: var(--Rating-inactive-color);
|
38602
38623
|
}
|
38603
38624
|
|
38604
|
-
.amis-scope .antd-Rating
|
38605
|
-
|
38625
|
+
.amis-scope .antd-Rating-star-half > svg.icon,
|
38626
|
+
.amis-scope .antd-Rating-star > svg.icon {
|
38627
|
+
display: block;
|
38628
|
+
width: 1.5rem;
|
38629
|
+
height: 1.5rem;
|
38630
|
+
top: 0;
|
38631
|
+
}
|
38632
|
+
|
38633
|
+
.amis-scope .antd-Rating-star:last-of-type {
|
38634
|
+
margin-right: 0;
|
38606
38635
|
}
|
38607
38636
|
|
38608
|
-
.amis-scope .antd-Rating.is-disabled {
|
38637
|
+
.amis-scope .antd-Rating-star.is-disabled {
|
38609
38638
|
cursor: not-allowed;
|
38610
38639
|
pointer-events: none;
|
38611
38640
|
}
|
38612
38641
|
|
38613
|
-
.amis-scope .antd-Rating-half
|
38642
|
+
.amis-scope .antd-Rating-star-half {
|
38614
38643
|
position: absolute;
|
38615
38644
|
overflow: hidden;
|
38616
38645
|
display: block;
|
@@ -38618,8 +38647,20 @@ readers do not read off random characters that represent icons */
|
|
38618
38647
|
top: 0;
|
38619
38648
|
left: 0;
|
38620
38649
|
width: 50%;
|
38621
|
-
|
38622
|
-
|
38650
|
+
}
|
38651
|
+
|
38652
|
+
.amis-scope .antd-Rating-text {
|
38653
|
+
font-size: var(--fontSizeSm);
|
38654
|
+
color: var(--text-color);
|
38655
|
+
font-weight: var(--fontWeightNormal);
|
38656
|
+
}
|
38657
|
+
|
38658
|
+
.amis-scope .antd-Rating-text--left {
|
38659
|
+
margin-right: var(--Rating-star-margin);
|
38660
|
+
}
|
38661
|
+
|
38662
|
+
.amis-scope .antd-Rating-text--right {
|
38663
|
+
margin-left: var(--Rating-star-margin);
|
38623
38664
|
}
|
38624
38665
|
|
38625
38666
|
.amis-scope .antd-RatingControl {
|