@zat-design/sisyphus-react 3.1.5 → 3.2.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/dist/index.esm.css +176 -250
- package/es/ProAction/index.js +7 -5
- package/es/ProAction/index.less +3 -2
- package/es/ProConfigProvider/index.d.ts +2 -0
- package/es/ProConfigProvider/index.js +23 -2
- package/es/ProDownload/utils.js +6 -3
- package/es/ProDrawerForm/components/ProDrawer/index.js +6 -4
- package/es/ProDrawerForm/index.js +5 -3
- package/es/ProDrawerForm/style/index.less +15 -11
- package/es/ProEditLabel/style/index.less +2 -2
- package/es/ProEditTable/components/ActionButton/index.js +3 -2
- package/es/ProEditTable/components/RenderField/index.js +2 -1
- package/es/ProEditTable/index.js +7 -6
- package/es/ProEditTable/style/index.less +15 -8
- package/es/ProEditTable/utils/config.d.ts +8 -8
- package/es/ProEditTable/utils/config.js +20 -12
- package/es/ProEditTable/utils/index.js +3 -2
- package/es/ProEnum/hooks/useEnumRequest.js +17 -10
- package/es/ProEnum/index.js +9 -4
- package/es/ProEnum/style/index.less +1 -1
- package/es/ProForm/components/FormFooter/index.js +16 -20
- package/es/ProForm/components/base/Input/index.js +4 -3
- package/es/ProForm/components/base/InputNumber/index.js +4 -3
- package/es/ProForm/components/base/RangePicker/index.js +0 -3
- package/es/ProForm/components/base/Select/index.js +2 -1
- package/es/ProForm/components/base/Switch/index.js +9 -5
- package/es/ProForm/components/base/SwitchCheckbox/index.js +2 -1
- package/es/ProForm/components/base/TextArea/index.js +4 -2
- package/es/ProForm/components/base/TextArea/index.less +1 -1
- package/es/ProForm/components/combination/Container/style/index.less +0 -1
- package/es/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
- package/es/ProForm/components/combination/FormList/style/index.less +20 -19
- package/es/ProForm/components/combination/Group/index.js +2 -2
- package/es/ProForm/components/combination/ProAddressBar/index.js +83 -63
- package/es/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
- package/es/ProForm/components/combination/ProModalSelect/index.js +76 -15
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
- package/es/ProForm/components/combination/ProNumberRange/index.js +3 -2
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
- package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProRangeLimit/index.js +3 -7
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
- package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -11
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +18 -1
- package/es/ProForm/components/old/EnumSelect/style/index.less +7 -8
- package/es/ProForm/components/render/Render.js +4 -2
- package/es/ProForm/components/render/RenderFields.js +10 -6
- package/es/ProForm/components/render/propsType.d.ts +5 -4
- package/es/ProForm/index.js +14 -2
- package/es/ProForm/style/index.less +77 -169
- package/es/ProForm/utils/index.d.ts +1 -1
- package/es/ProForm/utils/index.js +7 -2
- package/es/ProForm/utils/rulesCreator.js +2 -1
- package/es/ProForm/utils/useRules.js +4 -3
- package/es/ProForm/utils/useShouldUpdate.js +16 -16
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +2 -2
- package/es/ProLayout/components/Layout/Notice/index.js +3 -2
- package/es/ProLayout/components/ProCollapse/style/index.less +4 -4
- package/es/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
- package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +2 -1
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
- package/es/ProLayout/components/ProHeader/components/index.d.ts +1 -0
- package/es/ProLayout/components/ProHeader/components/index.js +2 -1
- package/es/ProLayout/components/ProHeader/index.js +9 -6
- package/es/ProLayout/components/ProHeader/style/index.less +16 -7
- package/es/ProLayout/utils/index.js +1 -1
- package/es/ProSelect/index.d.ts +3 -3
- package/es/ProSelect/index.js +4 -2
- package/es/ProStep/components/Step/index.js +3 -1
- package/es/ProStep/style/index.less +0 -1
- package/es/ProTable/components/RenderColumn/index.d.ts +5 -5
- package/es/ProTable/components/RenderColumn/index.js +41 -25
- package/es/ProTable/index.js +10 -8
- package/es/ProTable/propsType.d.ts +2 -0
- package/es/ProTable/style/index.less +14 -1
- package/es/ProTable/useAntdTable.d.ts +12 -4
- package/es/ProTable/useAntdTable.js +18 -6
- package/es/ProTable/utils.d.ts +1 -1
- package/es/ProTable/utils.js +258 -201
- package/es/ProTabs/style/index.less +1 -1
- package/es/ProThemeTools/component/PrdTools/index.js +1 -1
- package/es/ProThemeTools/component/PrdTools/style/index.less +3 -3
- package/es/ProThemeTools/index.d.ts +2 -2
- package/es/ProThemeTools/index.js +24 -17
- package/es/ProThemeTools/propsType.d.ts +8 -6
- package/es/ProThemeTools/style/index.less +2 -2
- package/es/ProThemeTools/utils/index.d.ts +7 -0
- package/es/ProThemeTools/utils/index.js +19 -1
- package/es/ProTree/components/ProTree.js +6 -5
- package/es/ProTree/components/SearchTitle.d.ts +2 -2
- package/es/ProTree/components/SearchTitle.js +11 -1
- package/es/ProTree/components/Tree.js +9 -2
- package/es/ProTree/style/index.less +193 -141
- package/es/ProTreeModal/components/List.js +0 -14
- package/es/ProTreeModal/components/Trigger.js +9 -3
- package/es/ProTreeModal/index.js +29 -13
- package/es/ProTreeModal/style/index.less +2 -6
- package/es/ProUpload/components/ButtonRender.js +5 -2
- package/es/ProUpload/components/DragRender.js +8 -8
- package/es/ProUpload/components/Example.js +3 -1
- package/es/ProUpload/components/ImageRender.js +8 -6
- package/es/ProUpload/index.js +8 -6
- package/es/ProUpload/style/index.less +41 -39
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/es/locale/en_US.d.ts +138 -0
- package/es/locale/en_US.js +137 -0
- package/es/locale/index.d.ts +13 -0
- package/es/locale/index.js +32 -0
- package/es/locale/zh_CN.d.ts +137 -0
- package/es/locale/zh_CN.js +136 -0
- package/es/old/ProEditableTable/style/index.less +1 -2
- package/es/style/components.less +0 -1
- package/es/style/core/normalize.less +1 -2
- package/es/style/theme/antd.less +3 -4
- package/es/style/theme/index.less +80 -79
- package/es/style/theme/tokens.less +1 -0
- package/lib/ProAction/index.js +7 -5
- package/lib/ProAction/index.less +3 -2
- package/lib/ProConfigProvider/index.d.ts +2 -0
- package/lib/ProConfigProvider/index.js +22 -2
- package/lib/ProDownload/utils.js +4 -3
- package/lib/ProDrawerForm/components/ProDrawer/index.js +6 -4
- package/lib/ProDrawerForm/index.js +5 -3
- package/lib/ProDrawerForm/style/index.less +15 -11
- package/lib/ProEditLabel/style/index.less +2 -2
- package/lib/ProEditTable/components/ActionButton/index.js +3 -2
- package/lib/ProEditTable/components/RenderField/index.js +4 -1
- package/lib/ProEditTable/index.js +7 -6
- package/lib/ProEditTable/style/index.less +15 -8
- package/lib/ProEditTable/utils/config.d.ts +8 -8
- package/lib/ProEditTable/utils/config.js +20 -12
- package/lib/ProEditTable/utils/index.js +3 -2
- package/lib/ProEnum/hooks/useEnumRequest.js +17 -10
- package/lib/ProEnum/index.js +9 -4
- package/lib/ProEnum/style/index.less +1 -1
- package/lib/ProForm/components/FormFooter/index.js +16 -19
- package/lib/ProForm/components/base/Input/index.js +4 -3
- package/lib/ProForm/components/base/InputNumber/index.js +4 -3
- package/lib/ProForm/components/base/RangePicker/index.js +1 -4
- package/lib/ProForm/components/base/Select/index.js +2 -1
- package/lib/ProForm/components/base/Switch/index.js +8 -5
- package/lib/ProForm/components/base/SwitchCheckbox/index.js +2 -1
- package/lib/ProForm/components/base/TextArea/index.js +4 -2
- package/lib/ProForm/components/base/TextArea/index.less +1 -1
- package/lib/ProForm/components/combination/Container/style/index.less +0 -1
- package/lib/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
- package/lib/ProForm/components/combination/FormList/style/index.less +20 -19
- package/lib/ProForm/components/combination/Group/index.js +2 -2
- package/lib/ProForm/components/combination/ProAddressBar/index.js +78 -60
- package/lib/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
- package/lib/ProForm/components/combination/ProModalSelect/index.js +76 -15
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
- package/lib/ProForm/components/combination/ProNumberRange/index.js +3 -2
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +3 -7
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -11
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +18 -1
- package/lib/ProForm/components/old/EnumSelect/style/index.less +7 -8
- package/lib/ProForm/components/old/InputRange/index.js +0 -1
- package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
- package/lib/ProForm/components/render/Render.js +5 -2
- package/lib/ProForm/components/render/RenderFields.js +9 -5
- package/lib/ProForm/components/render/propsType.d.ts +5 -4
- package/lib/ProForm/index.js +14 -2
- package/lib/ProForm/style/index.less +77 -169
- package/lib/ProForm/utils/index.d.ts +1 -1
- package/lib/ProForm/utils/index.js +7 -2
- package/lib/ProForm/utils/rulesCreator.js +2 -1
- package/lib/ProForm/utils/useRules.js +4 -3
- package/lib/ProForm/utils/useShouldUpdate.js +16 -16
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +2 -2
- package/lib/ProLayout/components/Layout/Notice/index.js +3 -2
- package/lib/ProLayout/components/ProCollapse/style/index.less +4 -4
- package/lib/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
- package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +3 -1
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
- package/lib/ProLayout/components/ProHeader/components/index.d.ts +1 -0
- package/lib/ProLayout/components/ProHeader/components/index.js +8 -1
- package/lib/ProLayout/components/ProHeader/index.js +9 -6
- package/lib/ProLayout/components/ProHeader/style/index.less +16 -7
- package/lib/ProLayout/utils/index.js +1 -1
- package/lib/ProSelect/index.d.ts +3 -3
- package/lib/ProSelect/index.js +4 -2
- package/lib/ProStep/components/Step/index.js +3 -1
- package/lib/ProStep/style/index.less +0 -1
- package/lib/ProTable/components/RenderColumn/index.d.ts +5 -5
- package/lib/ProTable/components/RenderColumn/index.js +38 -24
- package/lib/ProTable/components/TableResizable/index.js +8 -0
- package/lib/ProTable/index.js +10 -8
- package/lib/ProTable/propsType.d.ts +2 -0
- package/lib/ProTable/style/index.less +14 -1
- package/lib/ProTable/useAntdTable.d.ts +12 -4
- package/lib/ProTable/useAntdTable.js +19 -6
- package/lib/ProTable/utils.d.ts +1 -1
- package/lib/ProTable/utils.js +258 -201
- package/lib/ProTabs/index.js +1 -0
- package/lib/ProTabs/style/index.less +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.js +1 -1
- package/lib/ProThemeTools/component/PrdTools/style/index.less +3 -3
- package/lib/ProThemeTools/index.d.ts +2 -2
- package/lib/ProThemeTools/index.js +24 -16
- package/lib/ProThemeTools/propsType.d.ts +8 -6
- package/lib/ProThemeTools/style/index.less +2 -2
- package/lib/ProThemeTools/utils/index.d.ts +7 -0
- package/lib/ProThemeTools/utils/index.js +20 -2
- package/lib/ProTree/components/ProTree.js +6 -5
- package/lib/ProTree/components/SearchTitle.d.ts +2 -2
- package/lib/ProTree/components/SearchTitle.js +11 -1
- package/lib/ProTree/components/Tree.js +16 -2
- package/lib/ProTree/index.js +0 -1
- package/lib/ProTree/style/index.less +193 -141
- package/lib/ProTreeModal/components/List.js +0 -14
- package/lib/ProTreeModal/components/Tree.js +1 -0
- package/lib/ProTreeModal/components/Trigger.js +10 -3
- package/lib/ProTreeModal/index.js +29 -13
- package/lib/ProTreeModal/style/index.less +2 -6
- package/lib/ProUpload/components/ButtonRender.js +5 -2
- package/lib/ProUpload/components/DragRender.js +8 -8
- package/lib/ProUpload/components/Example.js +3 -1
- package/lib/ProUpload/components/ImageRender.js +8 -6
- package/lib/ProUpload/index.js +14 -5
- package/lib/ProUpload/style/index.less +41 -39
- package/lib/index.d.ts +2 -1
- package/lib/index.js +13 -1
- package/lib/locale/en_US.d.ts +138 -0
- package/lib/locale/en_US.js +143 -0
- package/lib/locale/index.d.ts +13 -0
- package/lib/locale/index.js +41 -0
- package/lib/locale/zh_CN.d.ts +137 -0
- package/lib/locale/zh_CN.js +142 -0
- package/lib/old/ProCertValidity/index.js +1 -1
- package/lib/old/ProEditableTable/style/index.less +1 -2
- package/lib/style/components.less +0 -1
- package/lib/style/core/normalize.less +1 -2
- package/lib/style/theme/antd.less +3 -4
- package/lib/style/theme/index.less +80 -79
- package/lib/style/theme/tokens.less +1 -0
- package/package.json +1 -1
- package/typings.d.ts +2 -0
- package/es/old/ProBackBtn/style/index.less +0 -19
- package/lib/old/ProBackBtn/style/index.less +0 -19
- /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
- /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
- /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
- /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
- /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
- /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
|
@@ -11,6 +11,28 @@
|
|
|
11
11
|
@import '../components/old/EnumSelect/style/index.less';
|
|
12
12
|
|
|
13
13
|
.pro-form {
|
|
14
|
+
&.ant-form-vertical {
|
|
15
|
+
.ant-form-item .ant-form-item-label {
|
|
16
|
+
flex: none !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pro-form-custom-footer {
|
|
20
|
+
display : flex;
|
|
21
|
+
align-items : center;
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
height : auto;
|
|
24
|
+
padding-top : 6px;
|
|
25
|
+
|
|
26
|
+
.ant-space-align-center {
|
|
27
|
+
align-items: normal;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.ant-form {
|
|
33
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
34
|
+
}
|
|
35
|
+
|
|
14
36
|
.pro-collapse-level2 {
|
|
15
37
|
.ant-collapse-item {
|
|
16
38
|
margin-bottom: 0 !important;
|
|
@@ -23,17 +45,17 @@
|
|
|
23
45
|
}
|
|
24
46
|
|
|
25
47
|
span.ant-input-clear-icon {
|
|
26
|
-
display: unset;
|
|
48
|
+
display : unset;
|
|
27
49
|
visibility: hidden;
|
|
28
50
|
}
|
|
29
51
|
|
|
30
52
|
.ant-input-affix-wrapper:hover span.ant-input-clear-icon {
|
|
31
|
-
display: unset;
|
|
53
|
+
display : unset;
|
|
32
54
|
visibility: unset;
|
|
33
55
|
}
|
|
34
56
|
|
|
35
57
|
.ant-input-affix-wrapper:hover span.ant-input-clear-icon[class~='ant-input-clear-icon-hidden'] {
|
|
36
|
-
display: unset;
|
|
58
|
+
display : unset;
|
|
37
59
|
visibility: hidden;
|
|
38
60
|
}
|
|
39
61
|
|
|
@@ -67,8 +89,8 @@
|
|
|
67
89
|
|
|
68
90
|
// 展开折叠按钮
|
|
69
91
|
.expand-button {
|
|
70
|
-
line-height:
|
|
71
|
-
cursor: pointer;
|
|
92
|
+
line-height: @zaui-space-card;
|
|
93
|
+
cursor : pointer;
|
|
72
94
|
|
|
73
95
|
.rotate-to-top {
|
|
74
96
|
transform: rotate(90deg);
|
|
@@ -80,40 +102,39 @@
|
|
|
80
102
|
}
|
|
81
103
|
|
|
82
104
|
.ant-form-item {
|
|
83
|
-
margin-bottom:
|
|
105
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1)) !important;
|
|
106
|
+
|
|
107
|
+
&.pro-form-item-width-auto {
|
|
108
|
+
.ant-form-item-control-input {
|
|
109
|
+
flex-grow: inherit;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ant-form-item-control-input-content {
|
|
113
|
+
flex: initial;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
84
116
|
|
|
85
117
|
.ant-form-item-tooltip {
|
|
86
118
|
svg {
|
|
87
|
-
width: 14px;
|
|
88
|
-
height: 14px;
|
|
119
|
+
width : 14px;
|
|
120
|
+
height : 14px;
|
|
89
121
|
vertical-align: bottom;
|
|
90
|
-
fill:
|
|
122
|
+
fill : @zaui-aide-text;
|
|
91
123
|
}
|
|
92
124
|
}
|
|
93
125
|
|
|
94
126
|
// 比较原始值场景下 不同时候的样式
|
|
95
127
|
&.pro-form-item-changed {
|
|
128
|
+
|
|
96
129
|
span.ant-input-affix-wrapper,
|
|
97
130
|
.ant-select-selector,
|
|
98
131
|
.ant-picker {
|
|
99
|
-
background:
|
|
132
|
+
background: @zaui-contract-bg;
|
|
100
133
|
|
|
101
134
|
input {
|
|
102
|
-
background:
|
|
135
|
+
background: @zaui-contract-bg;
|
|
103
136
|
}
|
|
104
137
|
}
|
|
105
|
-
|
|
106
|
-
#switch {
|
|
107
|
-
background: #bfbfbf;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// 自定义label宽度场景
|
|
112
|
-
&.label-width {
|
|
113
|
-
.ant-form-item-label {
|
|
114
|
-
width: auto !important;
|
|
115
|
-
max-width: fit-content !important;
|
|
116
|
-
}
|
|
117
138
|
}
|
|
118
139
|
|
|
119
140
|
.ant-row {
|
|
@@ -147,9 +168,9 @@
|
|
|
147
168
|
}
|
|
148
169
|
|
|
149
170
|
.range-right {
|
|
150
|
-
width: 100%;
|
|
151
|
-
border: 1px solid
|
|
152
|
-
border-top-left-radius: 0;
|
|
171
|
+
width : 100%;
|
|
172
|
+
border : 1px solid @zaui-form-control-line;
|
|
173
|
+
border-top-left-radius : 0;
|
|
153
174
|
border-bottom-left-radius: 0;
|
|
154
175
|
}
|
|
155
176
|
}
|
|
@@ -160,149 +181,36 @@
|
|
|
160
181
|
display: none;
|
|
161
182
|
}
|
|
162
183
|
|
|
163
|
-
// 查看模式
|
|
164
|
-
&.mode-view {
|
|
165
|
-
// 查看模式样式覆盖
|
|
166
|
-
.ant-input[disabled] {
|
|
167
|
-
.noDisabled();
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.ant-input-disabled {
|
|
171
|
-
.noDisabled();
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.ant-picker.ant-picker-disabled {
|
|
175
|
-
.noDisabled();
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.ant-picker-input > input[disabled] {
|
|
179
|
-
.noDisabled();
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.ant-picker-suffix {
|
|
183
|
-
display: none;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.ant-input-textarea.ant-input-textarea-show-count::after {
|
|
187
|
-
display: none;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
191
|
-
.noDisabled();
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.ant-select-arrow {
|
|
195
|
-
display: none;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.ant-upload.ant-upload-disabled {
|
|
199
|
-
display: none;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.ant-switch-loading,
|
|
203
|
-
.ant-switch-disabled {
|
|
204
|
-
.ant-switch-inner {
|
|
205
|
-
.noDisabled();
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.ant-switch-handle {
|
|
209
|
-
display: none;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
background-color: #fff;
|
|
213
|
-
cursor: default;
|
|
214
|
-
opacity: 1;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.ant-radio-wrapper.ant-radio-wrapper-checked.ant-radio-wrapper-disabled {
|
|
218
|
-
display: block;
|
|
219
|
-
|
|
220
|
-
.ant-radio.ant-radio-checked.ant-radio-disabled {
|
|
221
|
-
display: none;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
> span {
|
|
225
|
-
.noDisabled();
|
|
226
|
-
position: relative;
|
|
227
|
-
top: -3px;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.ant-radio-wrapper.ant-radio-wrapper-disabled {
|
|
232
|
-
display: none;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.ant-checkbox-wrapper.ant-checkbox-wrapper-checked.ant-checkbox-wrapper-disabled {
|
|
236
|
-
display: block;
|
|
237
|
-
|
|
238
|
-
.ant-checkbox.ant-checkbox-checked.ant-checkbox-disabled {
|
|
239
|
-
display: none;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
> span {
|
|
243
|
-
.noDisabled();
|
|
244
|
-
position: relative;
|
|
245
|
-
top: -3px;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled {
|
|
250
|
-
display: none;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.ant-form-item-has-error {
|
|
254
|
-
.ant-form-item-explain.ant-form-item-explain-error {
|
|
255
|
-
display: none;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
::placeholder {
|
|
260
|
-
font-size: 0px;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.ant-input-affix-wrapper-disabled {
|
|
264
|
-
background-color: transparent;
|
|
265
|
-
border: none;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.ant-select-selection-placeholder {
|
|
269
|
-
display: none;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.ant-input-suffix {
|
|
273
|
-
display: none;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
184
|
.ant-form-item-label {
|
|
278
|
-
>
|
|
185
|
+
>label {
|
|
279
186
|
white-space: pre-wrap;
|
|
280
187
|
}
|
|
281
188
|
}
|
|
282
189
|
|
|
283
190
|
.suffix-value {
|
|
284
|
-
margin-left:
|
|
191
|
+
margin-left: @zaui-space-size-sm;
|
|
285
192
|
}
|
|
286
193
|
|
|
287
194
|
.ant-form-item-has-error {
|
|
288
195
|
.group-separator {
|
|
289
|
-
color: var(--ant-error-color);
|
|
196
|
+
color : var(--ant-error-color);
|
|
290
197
|
border-color: var(--ant-error-color);
|
|
291
198
|
}
|
|
292
199
|
|
|
293
200
|
.site-input-split {
|
|
294
|
-
border-color:
|
|
201
|
+
border-color: @zaui-danger;
|
|
295
202
|
}
|
|
296
203
|
}
|
|
297
204
|
|
|
298
205
|
.site-input-group-wrapper {
|
|
206
|
+
|
|
299
207
|
// 范围值表单样式
|
|
300
208
|
& .site-input-split {
|
|
301
|
-
text-align: center;
|
|
302
|
-
background-color:
|
|
209
|
+
text-align : center;
|
|
210
|
+
background-color: @zaui-table-strip-bg;
|
|
303
211
|
|
|
304
212
|
&.site-input-split-disabled {
|
|
305
|
-
background-color:
|
|
213
|
+
background-color: @zaui-disabled-bg;
|
|
306
214
|
}
|
|
307
215
|
}
|
|
308
216
|
|
|
@@ -344,33 +252,33 @@
|
|
|
344
252
|
}
|
|
345
253
|
}
|
|
346
254
|
|
|
347
|
-
&.ant-input-group.ant-input-group-compact
|
|
255
|
+
&.ant-input-group.ant-input-group-compact>*:not(:last-child) {
|
|
348
256
|
margin-right: 0;
|
|
349
257
|
}
|
|
350
258
|
|
|
351
|
-
|
|
352
|
-
border-top-right-radius: 0 !important;
|
|
259
|
+
>*:first-child {
|
|
260
|
+
border-top-right-radius : 0 !important;
|
|
353
261
|
border-bottom-right-radius: 0 !important;
|
|
354
262
|
|
|
355
|
-
|
|
356
|
-
border-top-right-radius: 0 !important;
|
|
263
|
+
>.ant-select-selector {
|
|
264
|
+
border-top-right-radius : 0 !important;
|
|
357
265
|
border-bottom-right-radius: 0 !important;
|
|
358
266
|
}
|
|
359
267
|
}
|
|
360
268
|
|
|
361
|
-
|
|
362
|
-
border-top-left-radius: 0 !important;
|
|
269
|
+
>*:last-child {
|
|
270
|
+
border-top-left-radius : 0 !important;
|
|
363
271
|
border-bottom-left-radius: 0 !important;
|
|
364
272
|
|
|
365
|
-
|
|
366
|
-
border-top-left-radius: 0 !important;
|
|
273
|
+
>.ant-select-selector {
|
|
274
|
+
border-top-left-radius : 0 !important;
|
|
367
275
|
border-bottom-left-radius: 0 !important;
|
|
368
276
|
}
|
|
369
277
|
}
|
|
370
278
|
}
|
|
371
279
|
|
|
372
|
-
.ant-input-group.ant-input-group-compact
|
|
373
|
-
float: none;
|
|
280
|
+
.ant-input-group.ant-input-group-compact>* {
|
|
281
|
+
float : none;
|
|
374
282
|
vertical-align: top;
|
|
375
283
|
}
|
|
376
284
|
|
|
@@ -379,17 +287,17 @@
|
|
|
379
287
|
}
|
|
380
288
|
|
|
381
289
|
.noDisabled {
|
|
382
|
-
color:
|
|
383
|
-
font-size: 14px;
|
|
290
|
+
color : @zaui-disabled-text;
|
|
291
|
+
font-size : var(--zaui-font-size, 14px);
|
|
384
292
|
background-color: transparent;
|
|
385
|
-
border: none;
|
|
386
|
-
cursor: default;
|
|
387
|
-
opacity: 1;
|
|
293
|
+
border : none;
|
|
294
|
+
cursor : default;
|
|
295
|
+
opacity : 1;
|
|
388
296
|
}
|
|
389
297
|
|
|
390
298
|
div.pro-form-custom-footer {
|
|
391
|
-
width: unset !important;
|
|
392
|
-
height:
|
|
299
|
+
width : unset !important;
|
|
300
|
+
height : @zaui-space-card;
|
|
393
301
|
margin-bottom: calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1));
|
|
394
302
|
|
|
395
303
|
&.pro-form-custom-footer-hidden {
|
|
@@ -398,14 +306,14 @@
|
|
|
398
306
|
}
|
|
399
307
|
|
|
400
308
|
.pro-form-view-container {
|
|
401
|
-
display: inline-block;
|
|
402
|
-
color: var(--zaui-text, #343434);
|
|
309
|
+
display : inline-block;
|
|
310
|
+
color : var(--zaui-text, #343434);
|
|
403
311
|
word-break: break-all;
|
|
404
312
|
}
|
|
405
313
|
|
|
406
314
|
.pro-form-view-container_nowrap {
|
|
407
|
-
overflow: hidden;
|
|
408
|
-
white-space: nowrap;
|
|
315
|
+
overflow : hidden;
|
|
316
|
+
white-space : nowrap;
|
|
409
317
|
text-overflow: ellipsis;
|
|
410
318
|
}
|
|
411
319
|
|
|
@@ -17,7 +17,7 @@ export declare const isSelect: (props: any) => any;
|
|
|
17
17
|
* @param trim 是否移除前后空格
|
|
18
18
|
* @returns {}
|
|
19
19
|
*/
|
|
20
|
-
export declare const isTrim: (type: string, trim: boolean) => any;
|
|
20
|
+
export declare const isTrim: (type: string, trim: boolean, configData: any) => any;
|
|
21
21
|
/**
|
|
22
22
|
* Input TextArea 小写自动转大写
|
|
23
23
|
* @param type 组件类型
|
|
@@ -78,9 +78,14 @@ var isSelect = exports.isSelect = function isSelect(props) {
|
|
|
78
78
|
* @param trim 是否移除前后空格
|
|
79
79
|
* @returns {}
|
|
80
80
|
*/
|
|
81
|
-
var isTrim = exports.isTrim = function isTrim(type, trim) {
|
|
81
|
+
var isTrim = exports.isTrim = function isTrim(type, trim, configData) {
|
|
82
|
+
var _state$type;
|
|
82
83
|
var result = {};
|
|
83
|
-
|
|
84
|
+
var _ref = configData || {},
|
|
85
|
+
_ref$state = _ref.state,
|
|
86
|
+
state = _ref$state === void 0 ? {} : _ref$state;
|
|
87
|
+
var _trim = trim || (state === null || state === void 0 ? void 0 : (_state$type = state[type]) === null || _state$type === void 0 ? void 0 : _state$type.trim);
|
|
88
|
+
if (['Input', 'TextArea', 'ProCombination'].includes(type) && _trim) {
|
|
84
89
|
result.getValueFromEvent = function (event) {
|
|
85
90
|
var _event$target$value;
|
|
86
91
|
if (Array.isArray(event)) {
|
|
@@ -8,9 +8,10 @@ exports.rulesCreator = void 0;
|
|
|
8
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
9
|
var _utils = require("@zat-design/utils");
|
|
10
10
|
var _index = require("./index");
|
|
11
|
+
var _locale = _interopRequireDefault(require("../../locale"));
|
|
11
12
|
var rulesCreator = exports.rulesCreator = function rulesCreator(rules, label, isSelect) {
|
|
12
13
|
var _result;
|
|
13
|
-
var message = "".concat(isSelect ?
|
|
14
|
+
var message = "".concat(isSelect ? "".concat(_locale.default.ProForm.selectPlaceHolder) : "".concat(_locale.default.ProForm.inputPlaceholder)).concat(_locale.default.ProForm.ruleText).concat(label || '');
|
|
14
15
|
var result = [];
|
|
15
16
|
result = rules.map(function (ruleItem) {
|
|
16
17
|
var rule = (0, _objectSpread2.default)({}, ruleItem);
|
|
@@ -10,6 +10,7 @@ var _react = require("react");
|
|
|
10
10
|
var _lodash = require("lodash");
|
|
11
11
|
var _rulesCreator = require("./rulesCreator");
|
|
12
12
|
var _index = require("./index");
|
|
13
|
+
var _locale = _interopRequireDefault(require("../../locale"));
|
|
13
14
|
var useRules = function useRules(props) {
|
|
14
15
|
var rules = props.rules,
|
|
15
16
|
required = props.required,
|
|
@@ -28,7 +29,7 @@ var useRules = function useRules(props) {
|
|
|
28
29
|
return 'required' in rule;
|
|
29
30
|
}));
|
|
30
31
|
if (!requiredRule) {
|
|
31
|
-
var message = isSelect ? "
|
|
32
|
+
var message = isSelect ? "".concat(_locale.default.ProForm.selectPlaceHolder).concat(label || '') : "".concat(_locale.default.ProForm.inputPlaceholder).concat(label || '');
|
|
32
33
|
var rule = {
|
|
33
34
|
required: required,
|
|
34
35
|
message: message
|
|
@@ -37,7 +38,7 @@ var useRules = function useRules(props) {
|
|
|
37
38
|
if (names === null || names === void 0 ? void 0 : names.length) {
|
|
38
39
|
rule.validator = function (_, value) {
|
|
39
40
|
if (!value || (0, _index.isNullArray)(value)) {
|
|
40
|
-
return Promise.reject(new Error("
|
|
41
|
+
return Promise.reject(new Error("".concat(_locale.default.ProForm.inputPlaceholder).concat(label)));
|
|
41
42
|
}
|
|
42
43
|
return Promise.resolve();
|
|
43
44
|
};
|
|
@@ -56,7 +57,7 @@ var useRules = function useRules(props) {
|
|
|
56
57
|
validator: function validator(rules, value) {
|
|
57
58
|
// 完整性校验, 空数组不校验, 数组有值且值不完整则校验不通过
|
|
58
59
|
if (Array.isArray(value) && !(0, _index.isNullArray)(value) && (0, _index.isNotFullArray)(value, names.length)) {
|
|
59
|
-
return Promise.reject(new Error("
|
|
60
|
+
return Promise.reject(new Error("".concat(_locale.default.ProForm.completeText).concat(label || '')));
|
|
60
61
|
}
|
|
61
62
|
return Promise.resolve();
|
|
62
63
|
}
|
|
@@ -11,16 +11,16 @@ var _react = require("react");
|
|
|
11
11
|
var _lodash = require("lodash");
|
|
12
12
|
var _index = require("./index");
|
|
13
13
|
// 代理shouldUpdate事件, 执行函数值的[show, disabled], 当[show, disabled]与上一次值不相同时更新状态
|
|
14
|
-
var useShouldUpdate = function useShouldUpdate(
|
|
15
|
-
var show =
|
|
16
|
-
formItemProps =
|
|
17
|
-
form =
|
|
18
|
-
disabled =
|
|
19
|
-
rules =
|
|
20
|
-
required =
|
|
21
|
-
fieldProps =
|
|
22
|
-
component =
|
|
23
|
-
originComponent =
|
|
14
|
+
var useShouldUpdate = function useShouldUpdate(props) {
|
|
15
|
+
var show = props.show,
|
|
16
|
+
formItemProps = props.formItemProps,
|
|
17
|
+
form = props.form,
|
|
18
|
+
disabled = props.disabled,
|
|
19
|
+
rules = props.rules,
|
|
20
|
+
required = props.required,
|
|
21
|
+
fieldProps = props.fieldProps,
|
|
22
|
+
component = props.component,
|
|
23
|
+
originComponent = props.originComponent;
|
|
24
24
|
var _shouldUpdate = formItemProps.shouldUpdate,
|
|
25
25
|
name = formItemProps.name,
|
|
26
26
|
clearNotShow = formItemProps.clearNotShow,
|
|
@@ -39,12 +39,6 @@ var useShouldUpdate = function useShouldUpdate(_ref) {
|
|
|
39
39
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
40
40
|
reRender = _useState2[1];
|
|
41
41
|
var values = {};
|
|
42
|
-
if (namePath) {
|
|
43
|
-
// formList场景values取当前行数据
|
|
44
|
-
values = form.getFieldValue(namePath) || {};
|
|
45
|
-
} else {
|
|
46
|
-
values = form.getFieldsValue(true);
|
|
47
|
-
}
|
|
48
42
|
// 不是动态函数直接返回
|
|
49
43
|
if (!(0, _lodash.isFunction)(show) && !(0, _lodash.isFunction)(disabled) && !(0, _lodash.isFunction)(required) && !(0, _lodash.isFunction)(rules) && !(0, _lodash.isFunction)(fieldProps) && !(0, _lodash.isFunction)(originComponent)) {
|
|
50
44
|
return {
|
|
@@ -57,6 +51,12 @@ var useShouldUpdate = function useShouldUpdate(_ref) {
|
|
|
57
51
|
component: newComponent
|
|
58
52
|
};
|
|
59
53
|
}
|
|
54
|
+
if (namePath) {
|
|
55
|
+
// formList场景values取当前行数据
|
|
56
|
+
values = form.getFieldValue(namePath) || {};
|
|
57
|
+
} else {
|
|
58
|
+
values = form.getFieldsValue(true);
|
|
59
|
+
}
|
|
60
60
|
if ((0, _lodash.isFunction)(show)) {
|
|
61
61
|
showRef.current = Boolean(show(values, {
|
|
62
62
|
form: form,
|
|
@@ -128,6 +128,12 @@ var OpenMenu = function OpenMenu(props) {
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
}, [sideMenu]);
|
|
131
|
+
(0, _react.useEffect)(function () {
|
|
132
|
+
// 同步路由,解决进入详情页后router没有变化,点击相同router菜单无效问题
|
|
133
|
+
setState({
|
|
134
|
+
router: window.location.pathname
|
|
135
|
+
});
|
|
136
|
+
}, [window.location.pathname]);
|
|
131
137
|
(0, _react.useEffect)(function () {
|
|
132
138
|
// 路由变更,且不再demo文档中
|
|
133
139
|
if (router && !window.location.href.includes('~demos/prolayout')) {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
&>.ant-menu-item-only-child {
|
|
25
25
|
min-height : 48px;
|
|
26
26
|
padding-top : 12px;
|
|
27
|
-
padding-bottom:
|
|
27
|
+
padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1) - var(--zaui-space-size-xs; 4px) * var(--zaui-size; 1));
|
|
28
28
|
margin : 0;
|
|
29
29
|
height : auto;
|
|
30
30
|
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
height : auto !important;
|
|
95
95
|
margin : 0;
|
|
96
96
|
padding-top : 12px;
|
|
97
|
-
padding-bottom:
|
|
97
|
+
padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1) - var(--zaui-space-size-xs; 4px) * var(--zaui-size; 1));
|
|
98
98
|
min-height : 48px;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
9
|
var _tipMsg = _interopRequireDefault(require("../../../images/tipMsg.png"));
|
|
10
10
|
var _close = _interopRequireDefault(require("../../../images/close.png"));
|
|
11
|
+
var _locale = _interopRequireDefault(require("../../../../locale"));
|
|
11
12
|
var Notice = function Notice(props) {
|
|
12
13
|
var headerHeight = props.headerHeight,
|
|
13
14
|
notice = props.notice,
|
|
@@ -22,13 +23,13 @@ var Notice = function Notice(props) {
|
|
|
22
23
|
},
|
|
23
24
|
children: [(0, _jsxRuntime.jsx)("img", {
|
|
24
25
|
src: _tipMsg.default,
|
|
25
|
-
alt: "
|
|
26
|
+
alt: "".concat(_locale.default.ProLayout.tipAlt)
|
|
26
27
|
}), " ", notice, (0, _jsxRuntime.jsx)("span", {
|
|
27
28
|
className: "pro-layout-header-notice-close",
|
|
28
29
|
onClick: onCancel,
|
|
29
30
|
children: (0, _jsxRuntime.jsx)("img", {
|
|
30
31
|
src: _close.default,
|
|
31
|
-
alt: "
|
|
32
|
+
alt: "".concat(_locale.default.ProLayout.closeAlt)
|
|
32
33
|
})
|
|
33
34
|
})]
|
|
34
35
|
});
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
&.ant-collapse {
|
|
11
11
|
.pro-collapse-panel {
|
|
12
|
-
margin-bottom: var(--zaui-space-size-md
|
|
12
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ant-collapse-header {
|
|
17
17
|
align-items: center !important;
|
|
18
|
-
padding :
|
|
18
|
+
padding : 12px var(--zaui-space-size-md, 16px) !important;
|
|
19
19
|
background : var(--zaui-area, #fafafa);
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
background : var(--zaui-base-bg, #ffffff);
|
|
50
50
|
|
|
51
51
|
.ant-collapse-header {
|
|
52
|
-
margin-bottom: var(--zaui-space-size-md
|
|
52
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
53
53
|
padding : 0 !important;
|
|
54
54
|
background : var(--zaui-base-bg, #ffffff);
|
|
55
55
|
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.ant-descriptions {
|
|
157
|
-
margin-bottom: var(--zaui-space-size-md
|
|
157
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
}
|
|
@@ -10,6 +10,7 @@ var _antd = require("antd");
|
|
|
10
10
|
var _reactSvg = require("react-svg");
|
|
11
11
|
var _icons = require("@ant-design/icons");
|
|
12
12
|
var _copy = _interopRequireDefault(require("../../../../../assets/copy.svg"));
|
|
13
|
+
var _locale = _interopRequireDefault(require("../../../../../locale"));
|
|
13
14
|
var Paragraph = _antd.Typography.Paragraph;
|
|
14
15
|
var Copy = function Copy(_ref) {
|
|
15
16
|
var text = _ref.text;
|
|
@@ -21,7 +22,7 @@ var Copy = function Copy(_ref) {
|
|
|
21
22
|
className: "drag-icon",
|
|
22
23
|
src: _copy.default
|
|
23
24
|
}, "copy-icon"), (0, _jsxRuntime.jsx)(_icons.CheckOutlined, {}, "copied-icon")],
|
|
24
|
-
tooltips: [
|
|
25
|
+
tooltips: ["".concat(_locale.default.ProHeader.copyTooltips[0]), "".concat(_locale.default.ProHeader.copyTooltips[1])]
|
|
25
26
|
}
|
|
26
27
|
});
|
|
27
28
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -7,6 +8,7 @@ exports.default = void 0;
|
|
|
7
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
9
|
var _icons = require("@ant-design/icons");
|
|
9
10
|
var _antd = require("antd");
|
|
11
|
+
var _locale = _interopRequireDefault(require("../../../../../locale"));
|
|
10
12
|
/**
|
|
11
13
|
* 页面返回按钮
|
|
12
14
|
* @param onBack 自定义返回方法
|
|
@@ -15,7 +17,7 @@ var _antd = require("antd");
|
|
|
15
17
|
var ProBackBtn = function ProBackBtn(_ref) {
|
|
16
18
|
var onBack = _ref.onBack,
|
|
17
19
|
_ref$text = _ref.text,
|
|
18
|
-
text = _ref$text === void 0 ?
|
|
20
|
+
text = _ref$text === void 0 ? "".concat(_locale.default.ProHeader.backText) : _ref$text;
|
|
19
21
|
var handleClick = function handleClick() {
|
|
20
22
|
if (onBack) {
|
|
21
23
|
onBack();
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.back-button-container {
|
|
2
|
+
&.ant-btn {
|
|
3
|
+
color : var(--zaui-text);
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
background : var(--zaui-disabled-bg);
|
|
6
|
+
border : none;
|
|
7
|
+
|
|
8
|
+
&:hover {
|
|
9
|
+
color : var(--zaui-aide-text);
|
|
10
|
+
background: var(--zaui-disabled-bg);
|
|
11
|
+
border : none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:active,
|
|
15
|
+
&:focus {
|
|
16
|
+
color : var(--zaui-text);
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
background : var(--zaui-disabled-bg);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -10,4 +10,11 @@ Object.defineProperty(exports, "Copy", {
|
|
|
10
10
|
return _Copy.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
Object.defineProperty(exports, "ProBackBtn", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _ProBackBtn.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var _Copy = _interopRequireDefault(require("./Copy"));
|
|
20
|
+
var _ProBackBtn = _interopRequireDefault(require("./ProBackBtn"));
|