@aplus-frontend/ui 0.0.1-beta.34 → 0.0.1-beta.35
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/es/src/modal/basic.vue2.mjs +10 -11
- package/es/src/modal/style/index.css +0 -103
- package/es/src/pro-form/style/index.css +0 -3
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -82
- package/es/src/theme/antd-global-overwrite/admin/alert.css +16 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +26 -3
- package/es/src/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/es/src/theme/antd-global-overwrite/admin/steps.css +2 -2
- package/es/src/theme/antd-global-overwrite/admin/table.css +7 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +16 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +10 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +37 -3
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +2 -2
- package/es/src/theme/antd-global-overwrite/aplus/table.css +8 -0
- package/es/src/theme/modal/index.css +0 -103
- package/es/src/theme/pro-form/form.css +0 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +28 -26
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/style/index.css +0 -103
- package/lib/src/pro-form/style/index.css +0 -3
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -82
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +16 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +26 -3
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +2 -2
- package/lib/src/theme/antd-global-overwrite/admin/table.css +7 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +16 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +10 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +37 -3
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +2 -2
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +8 -0
- package/lib/src/theme/modal/index.css +0 -103
- package/lib/src/theme/pro-form/form.css +0 -3
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +0 -343
- package/es/src/ap-field/select/index.vue.d.ts +0 -235
- package/es/src/ap-form/modal-form/index.vue.d.ts +0 -378
- package/es/src/ap-table/constants.d.ts +0 -5666
- package/es/src/config-provider/config-provider-props.d.ts +0 -152
- package/es/src/config-provider/config-provider.d.ts +0 -323
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -154
- package/es/src/config-provider/index.d.ts +0 -691
- package/es/src/modal/basic.vue.d.ts +0 -465
- package/es/src/modal/components/modal-footer.vue.d.ts +0 -457
- package/es/src/modal/components/modal.d.ts +0 -443
- package/es/src/modal/index.d.ts +0 -963
- package/es/src/modal/props.d.ts +0 -283
- package/es/src/pro-form/hooks/use-label-width.d.ts +0 -312
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +0 -343
- package/lib/src/ap-field/select/index.vue.d.ts +0 -235
- package/lib/src/ap-form/modal-form/index.vue.d.ts +0 -378
- package/lib/src/ap-table/constants.d.ts +0 -5666
- package/lib/src/config-provider/config-provider-props.d.ts +0 -152
- package/lib/src/config-provider/config-provider.d.ts +0 -323
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -154
- package/lib/src/config-provider/index.d.ts +0 -691
- package/lib/src/modal/basic.vue.d.ts +0 -465
- package/lib/src/modal/components/modal-footer.vue.d.ts +0 -457
- package/lib/src/modal/components/modal.d.ts +0 -443
- package/lib/src/modal/index.d.ts +0 -963
- package/lib/src/modal/props.d.ts +0 -283
- package/lib/src/pro-form/hooks/use-label-width.d.ts +0 -312
|
@@ -10,13 +10,12 @@ import { omit as g } from "lodash-unified";
|
|
|
10
10
|
import { deepMerge as oe } from "@aplus-frontend/utils";
|
|
11
11
|
import { isFunction as te } from "@fruits-chain/utils";
|
|
12
12
|
import "../config-provider/index.mjs";
|
|
13
|
-
import "./style/index.css";
|
|
14
13
|
import { useNamespace as ne } from "../config-provider/hooks/use-namespace.mjs";
|
|
15
14
|
import le from "./components/modal-wrapper.vue2.mjs";
|
|
16
15
|
import ae from "./components/modal-close.vue2.mjs";
|
|
17
16
|
import re from "./components/modal-header.vue2.mjs";
|
|
18
17
|
import se from "./components/modal-footer.vue2.mjs";
|
|
19
|
-
const
|
|
18
|
+
const be = /* @__PURE__ */ q({
|
|
20
19
|
name: "BasicModal",
|
|
21
20
|
inheritAttrs: !1,
|
|
22
21
|
__name: "basic",
|
|
@@ -39,9 +38,9 @@ const Me = /* @__PURE__ */ q({
|
|
|
39
38
|
o(i) && o(i).setModalHeight();
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
const
|
|
41
|
+
}, f = J();
|
|
42
|
+
f && r("register", F, f.uid);
|
|
43
|
+
const p = d(() => ({
|
|
45
44
|
...t,
|
|
46
45
|
...o(v)
|
|
47
46
|
})), {
|
|
@@ -51,10 +50,10 @@ const Me = /* @__PURE__ */ q({
|
|
|
51
50
|
} = ee({
|
|
52
51
|
modalWrapperRef: i,
|
|
53
52
|
extHeightRef: w,
|
|
54
|
-
wrapClassName: K(
|
|
53
|
+
wrapClassName: K(p.value, "wrapClassName")
|
|
55
54
|
}), l = d(() => ({
|
|
56
55
|
...{
|
|
57
|
-
...o(
|
|
56
|
+
...o(p),
|
|
58
57
|
open: o(n),
|
|
59
58
|
okButtonProps: void 0,
|
|
60
59
|
cancelButtonProps: void 0,
|
|
@@ -64,7 +63,7 @@ const Me = /* @__PURE__ */ q({
|
|
|
64
63
|
})), b = d(() => {
|
|
65
64
|
const e = {
|
|
66
65
|
...B,
|
|
67
|
-
...o(
|
|
66
|
+
...o(p),
|
|
68
67
|
open: o(n)
|
|
69
68
|
};
|
|
70
69
|
return e.wrapClassName = `${(e == null ? void 0 : e.wrapClassName) || ""} ${o(P)}vben-basic-modal-wrap`, o(c) ? g(e, ["height", "title"]) : g(e, "title");
|
|
@@ -77,7 +76,7 @@ const Me = /* @__PURE__ */ q({
|
|
|
77
76
|
}), U(
|
|
78
77
|
() => o(n),
|
|
79
78
|
(e) => {
|
|
80
|
-
r("open-change", e), r("update:open", e),
|
|
79
|
+
r("open-change", e), r("update:open", e), f && F.emitOpen && F.emitOpen(e, f.uid), S(() => {
|
|
81
80
|
t.scrollTop && e && o(i) && o(i).scrollTop();
|
|
82
81
|
});
|
|
83
82
|
},
|
|
@@ -164,7 +163,7 @@ const Me = /* @__PURE__ */ q({
|
|
|
164
163
|
fn: s(() => [
|
|
165
164
|
h(re, {
|
|
166
165
|
helpMessage: l.value.helpMessage,
|
|
167
|
-
title:
|
|
166
|
+
title: p.value.title,
|
|
168
167
|
onDblclick: z
|
|
169
168
|
}, null, 8, ["helpMessage", "title"])
|
|
170
169
|
]),
|
|
@@ -197,5 +196,5 @@ const Me = /* @__PURE__ */ q({
|
|
|
197
196
|
}
|
|
198
197
|
});
|
|
199
198
|
export {
|
|
200
|
-
|
|
199
|
+
be as default
|
|
201
200
|
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
.fullscreen-modal {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
}
|
|
4
|
-
.fullscreen-modal .ant-modal {
|
|
5
|
-
inset: 0 !important;
|
|
6
|
-
width: 100% !important;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
.fullscreen-modal .ant-modal-content {
|
|
11
|
-
height: 100%;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
.fullscreen-modal .ant-modal-footer {
|
|
15
|
-
margin-top: 0;
|
|
16
|
-
}
|
|
17
|
-
.aplus-basic-modal {
|
|
18
|
-
width: 520px;
|
|
19
|
-
padding-bottom: 0;
|
|
20
|
-
}
|
|
21
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar {
|
|
22
|
-
padding: 20px;
|
|
23
|
-
padding-bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
.aplus-basic-modal .ant-modal-title {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
}
|
|
29
|
-
.aplus-basic-modal .ant-modal-title .aplus-basic-title {
|
|
30
|
-
cursor: move !important;
|
|
31
|
-
padding-left: 0;
|
|
32
|
-
}
|
|
33
|
-
.aplus-basic-modal .ant-modal-body {
|
|
34
|
-
padding: 0;
|
|
35
|
-
}
|
|
36
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar > .aplus-scrollbar__bar.is-horizontal {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
.aplus-basic-modal .ant-modal-large {
|
|
40
|
-
top: 60px;
|
|
41
|
-
}
|
|
42
|
-
.aplus-basic-modal .ant-modal-large .ant-modal--mini {
|
|
43
|
-
top: 16px;
|
|
44
|
-
}
|
|
45
|
-
.aplus-basic-modal .ant-modal-header {
|
|
46
|
-
padding: 15px 20px;
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
border-bottom: 1px solid #dee4ed;
|
|
49
|
-
}
|
|
50
|
-
.aplus-basic-modal .ant-modal-content {
|
|
51
|
-
padding: 0 !important;
|
|
52
|
-
}
|
|
53
|
-
.aplus-basic-modal .ant-modal-footer {
|
|
54
|
-
padding: 20px;
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
}
|
|
57
|
-
.aplus-basic-modal .ant-modal-footer button + button {
|
|
58
|
-
margin-left: 10px;
|
|
59
|
-
}
|
|
60
|
-
.aplus-basic-modal .ant-modal-close {
|
|
61
|
-
top: 0 !important;
|
|
62
|
-
right: 0 !important;
|
|
63
|
-
width: auto !important;
|
|
64
|
-
outline: none;
|
|
65
|
-
background: transparent !important;
|
|
66
|
-
font-weight: normal;
|
|
67
|
-
}
|
|
68
|
-
.aplus-basic-modal .ant-modal-close-x {
|
|
69
|
-
display: inline-block;
|
|
70
|
-
width: 96px;
|
|
71
|
-
height: 56px;
|
|
72
|
-
line-height: 56px !important;
|
|
73
|
-
}
|
|
74
|
-
.aplus-basic-modal .ant-modal-confirm-body .ant-modal-confirm-content > * {
|
|
75
|
-
color: #909399;
|
|
76
|
-
}
|
|
77
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
|
78
|
-
color: #ed6f6f;
|
|
79
|
-
}
|
|
80
|
-
.aplus-basic-modal .ant-modal-confirm-btns .ant-btn:last-child {
|
|
81
|
-
margin-right: 0;
|
|
82
|
-
}
|
|
83
|
-
.aplus-basic-modal .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
84
|
-
color: #efbd47;
|
|
85
|
-
}
|
|
86
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.success .ant-modal-confirm-body > .anticon {
|
|
87
|
-
color: #34b77c;
|
|
88
|
-
}
|
|
89
|
-
@media screen and (height <= 600px) {
|
|
90
|
-
.ant-modal {
|
|
91
|
-
top: 60px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
@media screen and (height <= 540px) {
|
|
95
|
-
.ant-modal {
|
|
96
|
-
top: 30px;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
@media screen and (height <= 480px) {
|
|
100
|
-
.ant-modal {
|
|
101
|
-
top: 10px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,84 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BasicColumn } from '../../types/table';
|
|
3
|
-
import { Recordable } from '../../../type';
|
|
4
|
-
import { ComponentType } from '../../component-map';
|
|
1
|
+
import { DefineSetupFnComponent, PublicProps } from 'vue';
|
|
5
2
|
|
|
6
|
-
declare const _default:
|
|
7
|
-
value: {
|
|
8
|
-
type: PropType<string | number | boolean | Record<string, any>>;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
record: {
|
|
12
|
-
type: any;
|
|
13
|
-
};
|
|
14
|
-
column: {
|
|
15
|
-
type: PropType<BasicColumn>;
|
|
16
|
-
default: () => {};
|
|
17
|
-
};
|
|
18
|
-
index: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
isEdit: Ref<boolean>;
|
|
24
|
-
ns: {
|
|
25
|
-
namespace: ComputedRef<string>;
|
|
26
|
-
b: (blockSuffix?: string) => string;
|
|
27
|
-
e: (element?: string | undefined) => string;
|
|
28
|
-
m: (modifier?: string | undefined) => string;
|
|
29
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
30
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
31
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
32
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
33
|
-
is: {
|
|
34
|
-
(name: string, state: boolean | undefined): string;
|
|
35
|
-
(name: string): string;
|
|
36
|
-
};
|
|
37
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
38
|
-
cssVarName: (name: string) => string;
|
|
39
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
40
|
-
cssVarBlockName: (name: string) => string;
|
|
41
|
-
};
|
|
42
|
-
handleEdit: (e: Event) => void;
|
|
43
|
-
currentValueRef: Ref<any>;
|
|
44
|
-
handleSubmit: (needEmit?: boolean, valid?: boolean) => Promise<false | undefined>;
|
|
45
|
-
handleChange: (e: any) => Promise<void>;
|
|
46
|
-
handleCancel: () => void;
|
|
47
|
-
elRef: Ref<any>;
|
|
48
|
-
getComponent: ComputedRef<ComponentType>;
|
|
49
|
-
getRule: ComputedRef<boolean | ((text: string, record: Recordable<any>) => Promise<string>) | undefined>;
|
|
50
|
-
onClickOutside: () => void;
|
|
51
|
-
ruleMessage: Ref<string>;
|
|
52
|
-
getRuleVisible: ComputedRef<boolean | "">;
|
|
53
|
-
getComponentProps: ComputedRef<any>;
|
|
54
|
-
handleOptionsChange: (options: any) => void;
|
|
55
|
-
getWrapperStyle: ComputedRef<CSSProperties>;
|
|
56
|
-
getWrapperClass: ComputedRef<string>;
|
|
57
|
-
getRowEditable: ComputedRef<boolean>;
|
|
58
|
-
getValues: ComputedRef<any>;
|
|
59
|
-
handleEnter: () => Promise<void>;
|
|
60
|
-
handleSubmitClick: () => void;
|
|
61
|
-
spinning: Ref<boolean>;
|
|
62
|
-
getDisable: ComputedRef<boolean>;
|
|
63
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
64
|
-
value: {
|
|
65
|
-
type: PropType<string | number | boolean | Record<string, any>>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
record: {
|
|
69
|
-
type: any;
|
|
70
|
-
};
|
|
71
|
-
column: {
|
|
72
|
-
type: PropType<BasicColumn>;
|
|
73
|
-
default: () => {};
|
|
74
|
-
};
|
|
75
|
-
index: {
|
|
76
|
-
type: NumberConstructor;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
}>>, {
|
|
80
|
-
value: string | number | boolean | Record<string, any>;
|
|
81
|
-
column: BasicColumn;
|
|
82
|
-
record: any;
|
|
83
|
-
}, {}>;
|
|
3
|
+
declare const _default: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
84
4
|
export default _default;
|
|
@@ -29,3 +29,19 @@
|
|
|
29
29
|
margin-bottom: 4px;
|
|
30
30
|
font-weight: bold !important;
|
|
31
31
|
}
|
|
32
|
+
.ant-alert-warning {
|
|
33
|
+
background: rgba(250, 173, 20, 0.1);
|
|
34
|
+
border: 1px solid rgba(250, 173, 20, 0.4);
|
|
35
|
+
}
|
|
36
|
+
.ant-alert-info {
|
|
37
|
+
background: rgba(24, 144, 255, 0.1);
|
|
38
|
+
border: 1px solid rgba(24, 144, 255, 0.4);
|
|
39
|
+
}
|
|
40
|
+
.ant-alert-success {
|
|
41
|
+
background: rgba(52, 183, 124, 0.1);
|
|
42
|
+
border: 1px solid rgba(52, 183, 124, 0.4);
|
|
43
|
+
}
|
|
44
|
+
.ant-alert-error {
|
|
45
|
+
background: rgba(255, 77, 79, 0.1);
|
|
46
|
+
border: 1px solid rgba(255, 77, 79, 0.4);
|
|
47
|
+
}
|
|
@@ -29,6 +29,22 @@
|
|
|
29
29
|
margin-bottom: 4px;
|
|
30
30
|
font-weight: bold !important;
|
|
31
31
|
}
|
|
32
|
+
.ant-alert-warning {
|
|
33
|
+
background: rgba(250, 173, 20, 0.1);
|
|
34
|
+
border: 1px solid rgba(250, 173, 20, 0.4);
|
|
35
|
+
}
|
|
36
|
+
.ant-alert-info {
|
|
37
|
+
background: rgba(24, 144, 255, 0.1);
|
|
38
|
+
border: 1px solid rgba(24, 144, 255, 0.4);
|
|
39
|
+
}
|
|
40
|
+
.ant-alert-success {
|
|
41
|
+
background: rgba(52, 183, 124, 0.1);
|
|
42
|
+
border: 1px solid rgba(52, 183, 124, 0.4);
|
|
43
|
+
}
|
|
44
|
+
.ant-alert-error {
|
|
45
|
+
background: rgba(255, 77, 79, 0.1);
|
|
46
|
+
border: 1px solid rgba(255, 77, 79, 0.4);
|
|
47
|
+
}
|
|
32
48
|
.ant-btn {
|
|
33
49
|
min-width: 88px;
|
|
34
50
|
box-shadow: none;
|
|
@@ -222,7 +238,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
222
238
|
min-width: 88px;
|
|
223
239
|
}
|
|
224
240
|
.ant-modal-root .ant-modal-confirm .ant-modal-body {
|
|
225
|
-
padding:
|
|
241
|
+
padding: 32px 32px 28px !important;
|
|
226
242
|
}
|
|
227
243
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
228
244
|
margin-inline-end: 16px;
|
|
@@ -343,7 +359,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
343
359
|
.ant-steps .ant-steps-item-icon {
|
|
344
360
|
width: 28px;
|
|
345
361
|
height: 28px;
|
|
346
|
-
margin-top:
|
|
362
|
+
margin-top: 3px;
|
|
347
363
|
display: flex;
|
|
348
364
|
justify-content: center;
|
|
349
365
|
align-items: center;
|
|
@@ -428,7 +444,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
428
444
|
.ant-steps.ant-steps-vertical .ant-steps-item-icon {
|
|
429
445
|
width: 28px;
|
|
430
446
|
height: 28px;
|
|
431
|
-
margin-top:
|
|
447
|
+
margin-top: 3px;
|
|
432
448
|
display: flex;
|
|
433
449
|
justify-content: center;
|
|
434
450
|
align-items: center;
|
|
@@ -491,6 +507,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
491
507
|
.ant-table-wrapper .ant-table-footer td {
|
|
492
508
|
padding: 12px 8px;
|
|
493
509
|
}
|
|
510
|
+
[class$='-basic-table'] {
|
|
511
|
+
max-width: 100%;
|
|
512
|
+
height: 100%;
|
|
513
|
+
}
|
|
494
514
|
[class$='-basic-table-form-container'] {
|
|
495
515
|
padding: 16px;
|
|
496
516
|
}
|
|
@@ -510,3 +530,6 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
510
530
|
[class$='-basic-table--inset'] .ant-table-wrapper {
|
|
511
531
|
padding: 0;
|
|
512
532
|
}
|
|
533
|
+
[class$='-basic-table-row__striped'] td {
|
|
534
|
+
background-color: #fafafa;
|
|
535
|
+
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
min-width: 88px;
|
|
72
72
|
}
|
|
73
73
|
.ant-modal-root .ant-modal-confirm .ant-modal-body {
|
|
74
|
-
padding:
|
|
74
|
+
padding: 32px 32px 28px !important;
|
|
75
75
|
}
|
|
76
76
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
77
77
|
margin-inline-end: 16px;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.ant-steps .ant-steps-item-icon {
|
|
8
8
|
width: 28px;
|
|
9
9
|
height: 28px;
|
|
10
|
-
margin-top:
|
|
10
|
+
margin-top: 3px;
|
|
11
11
|
display: flex;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
.ant-steps.ant-steps-vertical .ant-steps-item-icon {
|
|
93
93
|
width: 28px;
|
|
94
94
|
height: 28px;
|
|
95
|
-
margin-top:
|
|
95
|
+
margin-top: 3px;
|
|
96
96
|
display: flex;
|
|
97
97
|
justify-content: center;
|
|
98
98
|
align-items: center;
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
.ant-table-wrapper .ant-table-footer td {
|
|
53
53
|
padding: 12px 8px;
|
|
54
54
|
}
|
|
55
|
+
[class$='-basic-table'] {
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
55
59
|
[class$='-basic-table-form-container'] {
|
|
56
60
|
padding: 16px;
|
|
57
61
|
}
|
|
@@ -71,3 +75,6 @@
|
|
|
71
75
|
[class$='-basic-table--inset'] .ant-table-wrapper {
|
|
72
76
|
padding: 0;
|
|
73
77
|
}
|
|
78
|
+
[class$='-basic-table-row__striped'] td {
|
|
79
|
+
background-color: #fafafa;
|
|
80
|
+
}
|
|
@@ -29,3 +29,19 @@
|
|
|
29
29
|
margin-bottom: 4px;
|
|
30
30
|
font-weight: bold !important;
|
|
31
31
|
}
|
|
32
|
+
.ant-alert-warning {
|
|
33
|
+
background: rgba(255, 169, 64, 0.1);
|
|
34
|
+
border: 1px solid rgba(255, 169, 64, 0.4);
|
|
35
|
+
}
|
|
36
|
+
.ant-alert-info {
|
|
37
|
+
background: rgba(0, 112, 255, 0.1);
|
|
38
|
+
border: 1px solid rgba(0, 112, 255, 0.4);
|
|
39
|
+
}
|
|
40
|
+
.ant-alert-success {
|
|
41
|
+
background: rgba(46, 209, 163, 0.1);
|
|
42
|
+
border: 1px solid rgba(46, 209, 163, 0.4);
|
|
43
|
+
}
|
|
44
|
+
.ant-alert-error {
|
|
45
|
+
background: rgba(255, 77, 79, 0.1);
|
|
46
|
+
border: 1px solid rgba(255, 77, 79, 0.4);
|
|
47
|
+
}
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
18
18
|
background-color: #0070ff;
|
|
19
19
|
}
|
|
20
|
+
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
21
|
+
color: #526a90;
|
|
22
|
+
background-color: #f2f6f9;
|
|
23
|
+
}
|
|
20
24
|
.ant-input::-moz-placeholder {
|
|
21
25
|
color: #abb7cc;
|
|
22
26
|
}
|
|
@@ -38,6 +42,12 @@
|
|
|
38
42
|
.ant-input-number .ant-input-number-input-wrap > input::placeholder {
|
|
39
43
|
color: #abb7cc;
|
|
40
44
|
}
|
|
45
|
+
input.ant-input[disabled] {
|
|
46
|
+
color: #526a90;
|
|
47
|
+
}
|
|
48
|
+
span.ant-input-affix-wrapper-disabled {
|
|
49
|
+
background-color: #f2f6f9;
|
|
50
|
+
}
|
|
41
51
|
div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item {
|
|
42
52
|
margin-bottom: 16px;
|
|
43
53
|
/** 适配Aplus UI */
|
|
@@ -29,6 +29,22 @@
|
|
|
29
29
|
margin-bottom: 4px;
|
|
30
30
|
font-weight: bold !important;
|
|
31
31
|
}
|
|
32
|
+
.ant-alert-warning {
|
|
33
|
+
background: rgba(255, 169, 64, 0.1);
|
|
34
|
+
border: 1px solid rgba(255, 169, 64, 0.4);
|
|
35
|
+
}
|
|
36
|
+
.ant-alert-info {
|
|
37
|
+
background: rgba(0, 112, 255, 0.1);
|
|
38
|
+
border: 1px solid rgba(0, 112, 255, 0.4);
|
|
39
|
+
}
|
|
40
|
+
.ant-alert-success {
|
|
41
|
+
background: rgba(46, 209, 163, 0.1);
|
|
42
|
+
border: 1px solid rgba(46, 209, 163, 0.4);
|
|
43
|
+
}
|
|
44
|
+
.ant-alert-error {
|
|
45
|
+
background: rgba(255, 77, 79, 0.1);
|
|
46
|
+
border: 1px solid rgba(255, 77, 79, 0.4);
|
|
47
|
+
}
|
|
32
48
|
.ant-btn {
|
|
33
49
|
min-width: 88px;
|
|
34
50
|
box-shadow: none;
|
|
@@ -86,6 +102,10 @@
|
|
|
86
102
|
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
87
103
|
background-color: #0070ff;
|
|
88
104
|
}
|
|
105
|
+
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
106
|
+
color: #526a90;
|
|
107
|
+
background-color: #f2f6f9;
|
|
108
|
+
}
|
|
89
109
|
.ant-input::-moz-placeholder {
|
|
90
110
|
color: #abb7cc;
|
|
91
111
|
}
|
|
@@ -107,6 +127,12 @@
|
|
|
107
127
|
.ant-input-number .ant-input-number-input-wrap > input::placeholder {
|
|
108
128
|
color: #abb7cc;
|
|
109
129
|
}
|
|
130
|
+
input.ant-input[disabled] {
|
|
131
|
+
color: #526a90;
|
|
132
|
+
}
|
|
133
|
+
span.ant-input-affix-wrapper-disabled {
|
|
134
|
+
background-color: #f2f6f9;
|
|
135
|
+
}
|
|
110
136
|
div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item {
|
|
111
137
|
margin-bottom: 16px;
|
|
112
138
|
/** 适配Aplus UI */
|
|
@@ -231,7 +257,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
231
257
|
min-width: 88px;
|
|
232
258
|
}
|
|
233
259
|
.ant-modal-root .ant-modal-confirm .ant-modal-body {
|
|
234
|
-
padding:
|
|
260
|
+
padding: 32px 32px 28px !important;
|
|
235
261
|
}
|
|
236
262
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
237
263
|
margin-inline-end: 16px;
|
|
@@ -365,7 +391,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
365
391
|
.ant-steps .ant-steps-item-icon {
|
|
366
392
|
width: 28px;
|
|
367
393
|
height: 28px;
|
|
368
|
-
margin-top:
|
|
394
|
+
margin-top: 3px;
|
|
369
395
|
display: flex;
|
|
370
396
|
justify-content: center;
|
|
371
397
|
align-items: center;
|
|
@@ -453,7 +479,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
453
479
|
justify-content: center;
|
|
454
480
|
width: 28px;
|
|
455
481
|
height: 28px;
|
|
456
|
-
margin-top:
|
|
482
|
+
margin-top: 3px;
|
|
457
483
|
}
|
|
458
484
|
.ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-tail {
|
|
459
485
|
inset-inline-start: 13px;
|
|
@@ -503,6 +529,7 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
503
529
|
font-style: normal;
|
|
504
530
|
text-align: left;
|
|
505
531
|
text-transform: none;
|
|
532
|
+
transition: unset;
|
|
506
533
|
}
|
|
507
534
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
508
535
|
padding: 12px 16px;
|
|
@@ -528,3 +555,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
528
555
|
padding: 10.5px 16px;
|
|
529
556
|
line-height: 18px;
|
|
530
557
|
}
|
|
558
|
+
[class$='-basic-table'] {
|
|
559
|
+
max-width: 100%;
|
|
560
|
+
height: 100%;
|
|
561
|
+
}
|
|
562
|
+
[class$='-basic-table-row__striped'] td {
|
|
563
|
+
background-color: #f6f9fa;
|
|
564
|
+
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
min-width: 88px;
|
|
66
66
|
}
|
|
67
67
|
.ant-modal-root .ant-modal-confirm .ant-modal-body {
|
|
68
|
-
padding:
|
|
68
|
+
padding: 32px 32px 28px !important;
|
|
69
69
|
}
|
|
70
70
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
71
71
|
margin-inline-end: 16px;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.ant-steps .ant-steps-item-icon {
|
|
8
8
|
width: 28px;
|
|
9
9
|
height: 28px;
|
|
10
|
-
margin-top:
|
|
10
|
+
margin-top: 3px;
|
|
11
11
|
display: flex;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
justify-content: center;
|
|
96
96
|
width: 28px;
|
|
97
97
|
height: 28px;
|
|
98
|
-
margin-top:
|
|
98
|
+
margin-top: 3px;
|
|
99
99
|
}
|
|
100
100
|
.ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-tail {
|
|
101
101
|
inset-inline-start: 13px;
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
font-style: normal;
|
|
43
43
|
text-align: left;
|
|
44
44
|
text-transform: none;
|
|
45
|
+
transition: unset;
|
|
45
46
|
}
|
|
46
47
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
47
48
|
padding: 12px 16px;
|
|
@@ -67,3 +68,10 @@
|
|
|
67
68
|
padding: 10.5px 16px;
|
|
68
69
|
line-height: 18px;
|
|
69
70
|
}
|
|
71
|
+
[class$='-basic-table'] {
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
height: 100%;
|
|
74
|
+
}
|
|
75
|
+
[class$='-basic-table-row__striped'] td {
|
|
76
|
+
background-color: #f6f9fa;
|
|
77
|
+
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
.fullscreen-modal {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
}
|
|
4
|
-
.fullscreen-modal .ant-modal {
|
|
5
|
-
inset: 0 !important;
|
|
6
|
-
width: 100% !important;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
.fullscreen-modal .ant-modal-content {
|
|
11
|
-
height: 100%;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
.fullscreen-modal .ant-modal-footer {
|
|
15
|
-
margin-top: 0;
|
|
16
|
-
}
|
|
17
|
-
.aplus-basic-modal {
|
|
18
|
-
width: 520px;
|
|
19
|
-
padding-bottom: 0;
|
|
20
|
-
}
|
|
21
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar {
|
|
22
|
-
padding: 20px;
|
|
23
|
-
padding-bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
.aplus-basic-modal .ant-modal-title {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
}
|
|
29
|
-
.aplus-basic-modal .ant-modal-title .aplus-basic-title {
|
|
30
|
-
cursor: move !important;
|
|
31
|
-
padding-left: 0;
|
|
32
|
-
}
|
|
33
|
-
.aplus-basic-modal .ant-modal-body {
|
|
34
|
-
padding: 0;
|
|
35
|
-
}
|
|
36
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar > .aplus-scrollbar__bar.is-horizontal {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
.aplus-basic-modal .ant-modal-large {
|
|
40
|
-
top: 60px;
|
|
41
|
-
}
|
|
42
|
-
.aplus-basic-modal .ant-modal-large .ant-modal--mini {
|
|
43
|
-
top: 16px;
|
|
44
|
-
}
|
|
45
|
-
.aplus-basic-modal .ant-modal-header {
|
|
46
|
-
padding: 15px 20px;
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
border-bottom: 1px solid #dee4ed;
|
|
49
|
-
}
|
|
50
|
-
.aplus-basic-modal .ant-modal-content {
|
|
51
|
-
padding: 0 !important;
|
|
52
|
-
}
|
|
53
|
-
.aplus-basic-modal .ant-modal-footer {
|
|
54
|
-
padding: 20px;
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
}
|
|
57
|
-
.aplus-basic-modal .ant-modal-footer button + button {
|
|
58
|
-
margin-left: 10px;
|
|
59
|
-
}
|
|
60
|
-
.aplus-basic-modal .ant-modal-close {
|
|
61
|
-
top: 0 !important;
|
|
62
|
-
right: 0 !important;
|
|
63
|
-
width: auto !important;
|
|
64
|
-
outline: none;
|
|
65
|
-
background: transparent !important;
|
|
66
|
-
font-weight: normal;
|
|
67
|
-
}
|
|
68
|
-
.aplus-basic-modal .ant-modal-close-x {
|
|
69
|
-
display: inline-block;
|
|
70
|
-
width: 96px;
|
|
71
|
-
height: 56px;
|
|
72
|
-
line-height: 56px !important;
|
|
73
|
-
}
|
|
74
|
-
.aplus-basic-modal .ant-modal-confirm-body .ant-modal-confirm-content > * {
|
|
75
|
-
color: #909399;
|
|
76
|
-
}
|
|
77
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
|
78
|
-
color: #ed6f6f;
|
|
79
|
-
}
|
|
80
|
-
.aplus-basic-modal .ant-modal-confirm-btns .ant-btn:last-child {
|
|
81
|
-
margin-right: 0;
|
|
82
|
-
}
|
|
83
|
-
.aplus-basic-modal .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
84
|
-
color: #efbd47;
|
|
85
|
-
}
|
|
86
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.success .ant-modal-confirm-body > .anticon {
|
|
87
|
-
color: #34b77c;
|
|
88
|
-
}
|
|
89
|
-
@media screen and (height <= 600px) {
|
|
90
|
-
.ant-modal {
|
|
91
|
-
top: 60px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
@media screen and (height <= 540px) {
|
|
95
|
-
.ant-modal {
|
|
96
|
-
top: 30px;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
@media screen and (height <= 480px) {
|
|
100
|
-
.ant-modal {
|
|
101
|
-
top: 10px;
|
|
102
|
-
}
|
|
103
|
-
}
|