@zat-design/sisyphus-react 4.2.0-beta.3 → 4.2.0-beta.4
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 +16 -5
- package/dist/index.esm.css +1 -1
- package/dist/less.esm.css +1 -1
- package/es/ProAction/index.less +0 -1
- package/es/ProDownload/style/index.less +0 -1
- package/es/ProDrawerForm/style/index.less +2 -1
- package/es/ProEditLabel/style/index.less +0 -1
- package/es/ProEditTable/components/Summary/index.d.ts +1 -1
- package/es/ProEditTable/style/index.less +150 -114
- package/es/ProEditTable/utils/config.d.ts +2 -2
- package/es/ProEditTable/utils/tools.d.ts +1 -1
- package/es/ProEditTable/utils/useEditTableError.d.ts +1 -1
- package/es/ProEnum/hooks/useEnum.js +22 -71
- package/es/ProEnum/hooks/useEnumRequest.js +9 -10
- package/es/ProEnum/hooks/useFrequentEnumRequest.js +2 -1
- package/es/ProEnum/index.d.ts +2 -0
- package/es/ProEnum/index.js +4 -2
- package/es/ProEnum/style/index.less +0 -1
- package/es/ProEnum/utils/frequentEnum.d.ts +1 -2
- package/es/ProEnum/utils/frequentEnum.js +2 -2
- package/es/ProEnum/utils/getEnum.d.ts +47 -0
- package/es/ProEnum/utils/getEnum.js +151 -0
- package/es/ProEnum/utils/index.d.ts +13 -3
- package/es/ProEnum/utils/index.js +44 -10
- package/es/ProForm/components/base/SwitchCheckbox/style/index.less +4 -5
- package/es/ProForm/components/base/TimePicker/style/index.less +0 -1
- package/es/ProForm/components/combination/Container/style/index.less +18 -19
- package/es/ProForm/components/combination/FormList/style/index.less +4 -4
- package/es/ProForm/components/combination/Group/style/index.less +43 -50
- package/es/ProForm/components/combination/Group/utils/index.d.ts +27 -27
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +20 -16
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +3 -3
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
- package/es/ProForm/style/index.less +39 -44
- package/es/ProLayout/components/Layout/Header/style/index.less +224 -222
- package/es/ProLayout/components/Layout/Icon/style/index.less +1 -1
- package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +4 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +9 -7
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +3 -5
- package/es/ProLayout/components/Layout/Menu/style/index.less +9 -5
- package/es/ProLayout/components/Layout/index.less +4 -4
- package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +45 -45
- package/es/ProLayout/components/ProCollapse/style/index.less +30 -32
- package/es/ProLayout/components/ProFooter/style/index.less +0 -1
- package/es/ProLayout/components/ProHeader/PropTypes.d.ts +31 -31
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +7 -7
- package/es/ProLayout/components/ProHeader/style/index.less +8 -9
- package/es/ProLayout/components/TabsManager/style/index.less +9 -11
- package/es/ProLayout/style/index.less +197 -201
- package/es/ProLayout/utils/index.d.ts +1 -1
- package/es/ProSelect/style/index.less +0 -1
- package/es/ProSelect/utils/index.d.ts +1 -1
- package/es/ProStep/components/Item/index.js +1 -1
- package/es/ProStep/components/LazyLoad/index.d.ts +19 -0
- package/es/ProStep/components/LazyLoad/index.js +55 -0
- package/es/ProStep/components/Listener/index.js +1 -1
- package/es/ProStep/propsType.d.ts +1 -1
- package/es/ProStep/style/index.less +7 -9
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +1 -1
- package/es/ProTable/propsType.d.ts +1 -1
- package/es/ProTable/style/index.less +24 -22
- package/es/ProTooltip/style/index.less +0 -1
- package/es/ProTree/components/ProTreeSelect/style/index.less +102 -99
- package/es/ProTree/style/index.less +108 -109
- package/es/ProTreeModal/style/index.less +10 -9
- package/es/ProUpload/style/index.less +20 -22
- package/es/global.less +1 -1
- package/es/index.d.ts +2 -2
- package/es/style/core/normalize.less +11 -2
- package/es/style/index.less +2 -2
- package/es/style/less.less +2 -2
- package/es/style/theme/antd.less +19 -23
- package/es/style/theme/base.less +81 -81
- package/es/style/theme/tokens.less +13 -14
- package/es/style/variables.less +1 -1
- package/package.json +23 -20
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
@import '../../../../../style/variables.less';
|
|
2
2
|
|
|
3
3
|
.pro-container {
|
|
4
|
-
&.pro-container-empty{
|
|
5
|
-
.@{ant-prefix}-collapse-content{
|
|
4
|
+
&.pro-container-empty {
|
|
5
|
+
.@{ant-prefix}-collapse-content {
|
|
6
6
|
display: none;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
&.pro-container-diy {
|
|
10
10
|
.pro-container-content {
|
|
11
|
-
display
|
|
12
|
-
flex-flow
|
|
13
|
-
min-width
|
|
14
|
-
margin-left
|
|
15
|
-
margin-right
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-flow: row wrap;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
margin-left: -12px;
|
|
15
|
+
margin-right: -12px;
|
|
16
16
|
margin-bottom: -22px;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
padding-left
|
|
18
|
+
& > .@{ant-prefix}-col {
|
|
19
|
+
padding-left: 12px;
|
|
20
20
|
padding-right: 12px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.pro-collapse-content {
|
|
27
|
-
display
|
|
28
|
-
flex-flow
|
|
29
|
-
min-width
|
|
30
|
-
margin-left
|
|
31
|
-
margin-right
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-flow: row wrap;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
margin-left: -12px;
|
|
30
|
+
margin-right: -12px;
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
padding-left
|
|
32
|
+
& > .@{ant-prefix}-col {
|
|
33
|
+
padding-left: 12px;
|
|
35
34
|
padding-right: 12px;
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
|
-
.pro-collapse{
|
|
39
|
-
.@{ant-prefix}-collapse-panel{
|
|
37
|
+
.pro-collapse {
|
|
38
|
+
.@{ant-prefix}-collapse-panel {
|
|
40
39
|
background: #fff;
|
|
41
40
|
}
|
|
42
41
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.pro-form-list {
|
|
13
13
|
display: flex;
|
|
14
14
|
padding-bottom: 0;
|
|
15
|
-
.drag-icon{
|
|
15
|
+
.drag-icon {
|
|
16
16
|
font-size: 18px;
|
|
17
17
|
color: #949599;
|
|
18
18
|
}
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.pro-form-list-tool-btn-less{
|
|
84
|
-
&:hover{
|
|
83
|
+
.pro-form-list-tool-btn-less {
|
|
84
|
+
&:hover {
|
|
85
85
|
background: transparent !important;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
|
|
136
136
|
// 左侧标题布局样式
|
|
137
137
|
.pro-form-list-mode-block.pro-form-list-title-left {
|
|
138
|
-
.@{ant-prefix}-collapse-title{
|
|
138
|
+
.@{ant-prefix}-collapse-title {
|
|
139
139
|
display: none;
|
|
140
140
|
}
|
|
141
141
|
.pro-form-list-left-title-wrapper {
|
|
@@ -7,14 +7,12 @@
|
|
|
7
7
|
&.pro-group-view {
|
|
8
8
|
.pro-group-form-item {
|
|
9
9
|
flex: 0 0 auto !important;
|
|
10
|
-
|
|
11
10
|
}
|
|
12
|
-
.@{ant-prefix}-space-compact .pro-group-separator-compact{
|
|
11
|
+
.@{ant-prefix}-space-compact .pro-group-separator-compact {
|
|
13
12
|
color: #333 !important;
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
18
16
|
&.pro-group-view {
|
|
19
17
|
.@{ant-prefix}-space {
|
|
20
18
|
gap: 0 !important;
|
|
@@ -75,7 +73,6 @@
|
|
|
75
73
|
cursor: default;
|
|
76
74
|
margin-inline-start: -2px;
|
|
77
75
|
border-radius: 0;
|
|
78
|
-
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
.pro-modal-select {
|
|
@@ -271,7 +268,7 @@
|
|
|
271
268
|
.pro-group-form-item {
|
|
272
269
|
flex: 1;
|
|
273
270
|
margin-left: 0 !important;
|
|
274
|
-
&.@{ant-prefix}-form-item-has-error{
|
|
271
|
+
&.@{ant-prefix}-form-item-has-error {
|
|
275
272
|
margin-left: -1px !important;
|
|
276
273
|
}
|
|
277
274
|
}
|
|
@@ -324,7 +321,7 @@
|
|
|
324
321
|
.@{ant-prefix}-select .@{ant-prefix}-select-selector,
|
|
325
322
|
.@{ant-prefix}-input-number,
|
|
326
323
|
.@{ant-prefix}-input-number-input,
|
|
327
|
-
.@{ant-prefix}-picker{
|
|
324
|
+
.@{ant-prefix}-picker {
|
|
328
325
|
// 重置z-index确保正确的层级关系
|
|
329
326
|
position: relative;
|
|
330
327
|
// 重置圆角
|
|
@@ -348,7 +345,7 @@
|
|
|
348
345
|
.@{ant-prefix}-select .@{ant-prefix}-select-selector,
|
|
349
346
|
.@{ant-prefix}-input-number,
|
|
350
347
|
.@{ant-prefix}-input-number-input,
|
|
351
|
-
.@{ant-prefix}-picker{
|
|
348
|
+
.@{ant-prefix}-picker {
|
|
352
349
|
border-top-right-radius: 6px;
|
|
353
350
|
border-bottom-right-radius: 6px;
|
|
354
351
|
}
|
|
@@ -425,44 +422,43 @@
|
|
|
425
422
|
}
|
|
426
423
|
}
|
|
427
424
|
|
|
428
|
-
|
|
429
|
-
.@{ant-prefix}-form-item-has-error{
|
|
425
|
+
.@{ant-prefix}-form-item-has-error {
|
|
430
426
|
&:not(.pro-group-flexible) {
|
|
431
|
-
|
|
427
|
+
// 错误状态:确保边框变红(优先级要高于上面的 border-left-width: 0)
|
|
428
|
+
.@{ant-prefix}-input,
|
|
429
|
+
.@{ant-prefix}-select .@{ant-prefix}-select-selector,
|
|
430
|
+
.@{ant-prefix}-input-number,
|
|
431
|
+
.@{ant-prefix}-input-number-input {
|
|
432
|
+
border-color: #ff4d4f !important;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// 错误状态下,中间元素也需要恢复左边框并设置为红色
|
|
436
|
+
&:not(:first-child) {
|
|
432
437
|
.@{ant-prefix}-input,
|
|
433
438
|
.@{ant-prefix}-select .@{ant-prefix}-select-selector,
|
|
434
|
-
.@{ant-prefix}-input-number
|
|
435
|
-
|
|
436
|
-
border-
|
|
439
|
+
.@{ant-prefix}-input-number {
|
|
440
|
+
border-left-color: #ff4d4f !important;
|
|
441
|
+
border-left-width: 1px !important;
|
|
437
442
|
}
|
|
438
443
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
.@{ant-prefix}-input,
|
|
442
|
-
.@{ant-prefix}-select .@{ant-prefix}-select-selector,
|
|
443
|
-
.@{ant-prefix}-input-number {
|
|
444
|
-
border-left-color: #ff4d4f !important;
|
|
445
|
-
border-left-width: 1px !important;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.@{ant-prefix}-input-number-input {
|
|
449
|
-
border-left: 0 !important;
|
|
450
|
-
}
|
|
444
|
+
.@{ant-prefix}-input-number-input {
|
|
445
|
+
border-left: 0 !important;
|
|
451
446
|
}
|
|
447
|
+
}
|
|
452
448
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
449
|
+
// 聚焦时保持红色边框
|
|
450
|
+
.@{ant-prefix}-input:focus,
|
|
451
|
+
.@{ant-prefix}-select:focus .@{ant-prefix}-select-selector,
|
|
452
|
+
.@{ant-prefix}-input-number:focus,
|
|
453
|
+
.@{ant-prefix}-input-number:focus .@{ant-prefix}-input-number-input {
|
|
454
|
+
border-color: #ff4d4f !important;
|
|
455
|
+
}
|
|
460
456
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}
|
|
457
|
+
// Select 组件的错误状态处理
|
|
458
|
+
.@{ant-prefix}-select.@{ant-prefix}-select-status-error .@{ant-prefix}-select-selector {
|
|
459
|
+
border-color: #ff4d4f !important;
|
|
465
460
|
}
|
|
461
|
+
}
|
|
466
462
|
}
|
|
467
463
|
|
|
468
464
|
// compact模式容器, 修复antd6定制模式下,Group组件内嵌套Form.Item时,表单样式问题
|
|
@@ -476,10 +472,10 @@
|
|
|
476
472
|
.@{ant-prefix}-input,
|
|
477
473
|
.@{ant-prefix}-select,
|
|
478
474
|
.@{ant-prefix}-input-number {
|
|
479
|
-
|
|
475
|
+
margin-left: -1px;
|
|
480
476
|
}
|
|
481
477
|
}
|
|
482
|
-
.pro-group-separator-compact{
|
|
478
|
+
.pro-group-separator-compact {
|
|
483
479
|
margin-left: -1px;
|
|
484
480
|
}
|
|
485
481
|
|
|
@@ -492,12 +488,11 @@
|
|
|
492
488
|
color: #999 !important;
|
|
493
489
|
}
|
|
494
490
|
|
|
495
|
-
|
|
496
491
|
/* 1. 处理第一个子元素:左上、左下圆角 */
|
|
497
|
-
> .pro-group-form-item:first-child{
|
|
498
|
-
.pro-select .@{ant-prefix}-select,
|
|
499
|
-
.@{ant-prefix}-select,
|
|
500
|
-
.@{ant-prefix}-input-number
|
|
492
|
+
> .pro-group-form-item:first-child {
|
|
493
|
+
.pro-select .@{ant-prefix}-select,
|
|
494
|
+
.@{ant-prefix}-select,
|
|
495
|
+
.@{ant-prefix}-input-number {
|
|
501
496
|
border-top-left-radius: 6px;
|
|
502
497
|
border-bottom-left-radius: 6px;
|
|
503
498
|
}
|
|
@@ -505,21 +500,19 @@
|
|
|
505
500
|
|
|
506
501
|
/* 2. 处理最后一个子元素:右上、右下圆角 */
|
|
507
502
|
> .pro-group-form-item:last-child {
|
|
508
|
-
.pro-select .@{ant-prefix}-select,
|
|
509
|
-
.@{ant-prefix}-select,
|
|
510
|
-
.@{ant-prefix}-input-number
|
|
503
|
+
.pro-select .@{ant-prefix}-select,
|
|
504
|
+
.@{ant-prefix}-select,
|
|
505
|
+
.@{ant-prefix}-input-number {
|
|
511
506
|
border-top-right-radius: 6px;
|
|
512
507
|
border-bottom-right-radius: 6px;
|
|
513
508
|
}
|
|
514
509
|
}
|
|
515
510
|
}
|
|
516
|
-
.@{ant-prefix}-form-item-has-error
|
|
517
|
-
.pro-group-compact-container{
|
|
511
|
+
.@{ant-prefix}-form-item-has-error {
|
|
512
|
+
.pro-group-compact-container {
|
|
518
513
|
.@{ant-prefix}-select {
|
|
519
514
|
border-color: var(--zaui-danger);
|
|
520
515
|
}
|
|
521
516
|
}
|
|
522
|
-
|
|
523
517
|
}
|
|
524
518
|
// compact模式容器 结束
|
|
525
|
-
|
|
@@ -75,33 +75,45 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
75
75
|
confirm?: boolean | import("antd").ModalFuncProps | import("../../../render/propsType").FunctionArgs<any, boolean | import("antd").ModalFuncProps>;
|
|
76
76
|
show?: boolean | ReactiveFunction<any, boolean>;
|
|
77
77
|
component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
|
|
78
|
+
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
79
|
+
status?: "" | "warning" | "error" | "success" | "validating";
|
|
80
|
+
isView?: boolean;
|
|
78
81
|
id?: string;
|
|
82
|
+
prefixCls?: string;
|
|
79
83
|
className?: string;
|
|
80
|
-
hidden?: boolean;
|
|
81
84
|
style?: React.CSSProperties;
|
|
82
|
-
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
83
|
-
onReset?: () => void;
|
|
84
|
-
prefixCls?: string;
|
|
85
|
-
status?: "" | "warning" | "error" | "success" | "validating";
|
|
86
85
|
rootClassName?: string;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
87
|
+
trim?: boolean;
|
|
88
|
+
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
89
|
+
vertical?: boolean;
|
|
90
|
+
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
91
|
+
hidden?: boolean;
|
|
92
|
+
trigger?: string;
|
|
93
|
+
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
form: FormInstance<any>;
|
|
96
|
+
index?: number;
|
|
97
|
+
}) => string | React.ReactElement<any, any>;
|
|
98
|
+
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
99
|
+
onReset?: () => void;
|
|
100
|
+
viewType?: import("../../../render/propsType").ViewType;
|
|
101
|
+
validateTrigger?: string | false | string[];
|
|
102
|
+
preserve?: boolean;
|
|
103
|
+
clearNotShow?: boolean;
|
|
90
104
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
105
|
+
colon?: boolean;
|
|
106
|
+
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
91
107
|
labelCol?: import("antd").ColProps;
|
|
92
|
-
|
|
108
|
+
wrapperCol?: import("antd").ColProps;
|
|
109
|
+
htmlFor?: string;
|
|
93
110
|
getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
|
|
94
|
-
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
95
111
|
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
96
|
-
trigger?: string;
|
|
97
|
-
validateTrigger?: string | false | string[];
|
|
98
112
|
validateDebounce?: number;
|
|
99
113
|
valuePropName?: string;
|
|
100
|
-
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
101
114
|
messageVariables?: Record<string, string>;
|
|
102
115
|
initialValue?: any;
|
|
103
116
|
onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
|
|
104
|
-
preserve?: boolean;
|
|
105
117
|
isListField?: boolean;
|
|
106
118
|
isList?: boolean;
|
|
107
119
|
noStyle?: boolean;
|
|
@@ -109,24 +121,12 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
109
121
|
icons: import("antd/es/form/FormItem").FeedbackIcons;
|
|
110
122
|
};
|
|
111
123
|
validateStatus?: "" | "warning" | "error" | "success" | "validating";
|
|
112
|
-
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
113
|
-
wrapperCol?: import("antd").ColProps;
|
|
114
124
|
help?: React.ReactNode;
|
|
115
125
|
fieldId?: string;
|
|
116
|
-
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
117
126
|
switchValue?: [any, any];
|
|
118
|
-
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
119
|
-
[key: string]: any;
|
|
120
|
-
form: FormInstance<any>;
|
|
121
|
-
index?: number;
|
|
122
|
-
}) => string | React.ReactElement<any, any>;
|
|
123
|
-
viewType?: import("../../../render/propsType").ViewType;
|
|
124
|
-
trim?: boolean;
|
|
125
127
|
upperCase?: boolean;
|
|
126
128
|
toISOString?: boolean;
|
|
127
129
|
toCSTString?: boolean;
|
|
128
|
-
clearNotShow?: boolean;
|
|
129
|
-
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
130
130
|
name: any;
|
|
131
131
|
dependencies: any[];
|
|
132
132
|
tooltip: string | {
|
|
@@ -141,7 +141,7 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
141
141
|
* 创建组件属性
|
|
142
142
|
*/
|
|
143
143
|
export declare const createComponentProps: (column: FlexibleGroupColumnType, formItemProps: any) => {
|
|
144
|
-
componentProps: import("lodash").Omit<any, "
|
|
144
|
+
componentProps: import("lodash").Omit<any, "valueType" | "format" | "precision" | "clearNotShow" | "switchValue" | "dependNames" | "toISOString" | "toCSTString">;
|
|
145
145
|
formItemTransform: {
|
|
146
146
|
getValueProps: any;
|
|
147
147
|
normalize: any;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.pro-modal-select-view-button{
|
|
55
|
+
.pro-modal-select-view-button {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
justify-content: center;
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
.@{ant-prefix}-input-affix-wrapper {
|
|
63
63
|
border-top-right-radius: 0;
|
|
64
64
|
border-bottom-right-radius: 0;
|
|
65
|
-
&.@{ant-prefix}-input-affix-wrapper-status-error{
|
|
66
|
-
|
|
65
|
+
&.@{ant-prefix}-input-affix-wrapper-status-error {
|
|
66
|
+
& + .@{ant-prefix}-btn {
|
|
67
67
|
border: 1px solid #ff4d4f;
|
|
68
|
-
|
|
68
|
+
> .viewSvg {
|
|
69
69
|
color: #ff4d4f;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -79,21 +79,25 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.@{ant-prefix}-input-compact-item:not(.@{ant-prefix}-input-compact-last-item):not(
|
|
82
|
+
.@{ant-prefix}-input-compact-item:not(.@{ant-prefix}-input-compact-last-item):not(
|
|
83
|
+
.@{ant-prefix}-input-compact-item-rtl
|
|
84
|
+
) {
|
|
83
85
|
margin-right: 0;
|
|
84
86
|
}
|
|
85
87
|
|
|
86
|
-
.@{ant-prefix}-btn-compact-item.@{ant-prefix}-btn.@{ant-prefix}-btn-compact-last-item:not(
|
|
87
|
-
|
|
88
|
+
.@{ant-prefix}-btn-compact-item.@{ant-prefix}-btn.@{ant-prefix}-btn-compact-last-item:not(
|
|
89
|
+
.@{ant-prefix}-btn-compact-first-item
|
|
90
|
+
):not(.@{ant-prefix}-btn-compact-item-rtl) {
|
|
91
|
+
&:hover {
|
|
88
92
|
position: relative;
|
|
89
93
|
z-index: 1;
|
|
90
94
|
transition: none;
|
|
91
95
|
border-color: var(--ant-primary-color-hover, #1677ff) !important;
|
|
92
|
-
&::before{
|
|
96
|
+
&::before {
|
|
93
97
|
opacity: 1;
|
|
94
98
|
}
|
|
95
99
|
}
|
|
96
|
-
&::before{
|
|
100
|
+
&::before {
|
|
97
101
|
content: '';
|
|
98
102
|
position: absolute;
|
|
99
103
|
top: -1px;
|
|
@@ -146,12 +150,12 @@
|
|
|
146
150
|
border-top: 1px solid #ff4d4f;
|
|
147
151
|
border-right: 1px solid #ff4d4f;
|
|
148
152
|
border-bottom: 1px solid #ff4d4f;
|
|
149
|
-
|
|
153
|
+
> .viewSvg {
|
|
150
154
|
color: #ff4d4f;
|
|
151
155
|
}
|
|
152
156
|
}
|
|
153
157
|
}
|
|
154
|
-
.@{ant-prefix}-btn-compact-last-item{
|
|
158
|
+
.@{ant-prefix}-btn-compact-last-item {
|
|
155
159
|
border-left: none !important;
|
|
156
160
|
}
|
|
157
161
|
}
|
|
@@ -169,13 +173,13 @@
|
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
// 报错信息
|
|
172
|
-
.@{ant-prefix}-form-item-has-error{
|
|
173
|
-
.pro-modal-select{
|
|
174
|
-
.@{ant-prefix}-btn-compact-last-item{
|
|
176
|
+
.@{ant-prefix}-form-item-has-error {
|
|
177
|
+
.pro-modal-select {
|
|
178
|
+
.@{ant-prefix}-btn-compact-last-item {
|
|
175
179
|
color: @zaui-danger;
|
|
176
180
|
border-color: @zaui-danger;
|
|
177
|
-
&::before{
|
|
178
|
-
|
|
181
|
+
&::before {
|
|
182
|
+
background: @zaui-danger !important;
|
|
179
183
|
}
|
|
180
184
|
}
|
|
181
185
|
}
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.@{ant-prefix}-input-number.@{ant-prefix}-input-number-status-error.@{ant-prefix}-input-number-compact-item{
|
|
20
|
-
.@{ant-prefix}-input-number-input{
|
|
21
|
-
|
|
19
|
+
.@{ant-prefix}-input-number.@{ant-prefix}-input-number-status-error.@{ant-prefix}-input-number-compact-item {
|
|
20
|
+
.@{ant-prefix}-input-number-input {
|
|
21
|
+
border-left: 0 !important;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-color: var(--ant-error-color-hover, #ff7875);
|
|
15
15
|
border-right-width: 1px;
|
|
16
16
|
outline: 0;
|
|
17
|
-
box-shadow: 0 0 0 2px var(--ant-error-color-outline, rgba(255,77,79,0.2));
|
|
17
|
+
box-shadow: 0 0 0 2px var(--ant-error-color-outline, rgba(255, 77, 79, 0.2));
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|