@aplus-frontend/ui 0.0.3 → 0.0.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.
Files changed (33) hide show
  1. package/es/src/ap-table/ap-table.vue.mjs +77 -81
  2. package/es/src/ap-table/components/interface.d.ts +12 -0
  3. package/es/src/ap-table/components/status/index.vue.d.ts +14 -0
  4. package/es/src/ap-table/components/status/index.vue.mjs +4 -0
  5. package/es/src/ap-table/components/status/index.vue2.mjs +17 -0
  6. package/es/src/ap-table/constants.d.ts +20 -25
  7. package/es/src/ap-table/constants.mjs +19 -16
  8. package/es/src/ap-table/interface.d.ts +16 -3
  9. package/es/src/ap-table/utils.d.ts +174 -1
  10. package/es/src/ap-table/utils.mjs +75 -48
  11. package/es/src/theme/antd-global-overwrite/admin/index.css +69 -29
  12. package/es/src/theme/antd-global-overwrite/admin/pagination.css +30 -14
  13. package/es/src/theme/antd-global-overwrite/admin/steps.css +39 -15
  14. package/es/src/theme/antd-global-overwrite/aplus/index.css +75 -33
  15. package/es/src/theme/antd-global-overwrite/aplus/pagination.css +38 -18
  16. package/es/src/theme/antd-global-overwrite/aplus/steps.css +37 -15
  17. package/lib/src/ap-table/ap-table.vue.js +1 -1
  18. package/lib/src/ap-table/components/interface.d.ts +12 -0
  19. package/lib/src/ap-table/components/status/index.vue.d.ts +14 -0
  20. package/lib/src/ap-table/components/status/index.vue.js +1 -0
  21. package/lib/src/ap-table/components/status/index.vue2.js +1 -0
  22. package/lib/src/ap-table/constants.d.ts +20 -25
  23. package/lib/src/ap-table/constants.js +1 -1
  24. package/lib/src/ap-table/interface.d.ts +16 -3
  25. package/lib/src/ap-table/utils.d.ts +174 -1
  26. package/lib/src/ap-table/utils.js +1 -1
  27. package/lib/src/theme/antd-global-overwrite/admin/index.css +69 -29
  28. package/lib/src/theme/antd-global-overwrite/admin/pagination.css +30 -14
  29. package/lib/src/theme/antd-global-overwrite/admin/steps.css +39 -15
  30. package/lib/src/theme/antd-global-overwrite/aplus/index.css +75 -33
  31. package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +38 -18
  32. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +37 -15
  33. package/package.json +1 -1
@@ -1,5 +1,16 @@
1
1
  import { ApColumnType, ApTableValueFields, ValueEnum, ValueEnumType } from './interface';
2
2
  import { Translator } from '../config-provider';
3
+ import { AlignType, FixedType, Key, CellEllipsisType, DataIndex, ColumnType, GetComponentProps, ColumnGroupType } from 'ant-design-vue/es/vc-table/interface';
4
+ import { ColumnTitle, CompareFn, SortOrder, FilterDropdownProps, FilterValue, FilterSearchType, ColumnFilterItem } from 'ant-design-vue/es/table/interface';
5
+ import { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
6
+ import { ExtractPropTypes, PropType, CSSProperties } from 'vue';
7
+ import { VueTypeValidableDef } from '../../node_modules/vue-types';
8
+ import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
9
+ import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
10
+ import { LiteralUnion, VueNode } from 'ant-design-vue/es/_util/type';
11
+ import { PresetColorType } from 'ant-design-vue/es/_util/colors';
12
+ import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
13
+ import { TableColumnType } from 'ant-design-vue';
3
14
 
4
15
  export type FieldValueType = 'multiple' | 'multipleNumber' | 'dayjs' | 'dayjsRange' | 'dayjsDayRange' | 'number' | 'boolean' | 'object';
5
16
  export declare const formatParamsValueType: (type: FieldValueType | Record<string, FieldValueType>, value: any, cb: (t: FieldValueType, value: any) => any) => any;
@@ -29,7 +40,7 @@ export declare const objectToMap: (value: ValueEnum | undefined) => ValueEnumMap
29
40
  * @param valueEnumParams
30
41
  * @returns
31
42
  */
32
- export declare const valueEnumToArray: (valueEnumParams: ValueEnum) => OptionType;
43
+ export declare const valueEnumToArray: (valueEnumParams: ValueEnum) => Partial<OptionType>[];
33
44
  /**
34
45
  * 获取列在查询表单中的排序
35
46
  * @param order
@@ -58,4 +69,166 @@ export declare function getFieldProps<RecordType = any>(fieldProps: ApColumnType
58
69
  renderIndex: number;
59
70
  column: ApColumnType<any, RecordType>;
60
71
  }): any;
72
+ /**
73
+ * 获取表格的渲染类型
74
+ * @param item
75
+ * @returns
76
+ */
77
+ export declare function getTableRenderType(item: ApColumnType<any, any>): "number" | "text" | "select" | "switch" | "index" | "status" | "checkbox" | "radio" | "date" | "action" | "dateRange" | "textArea";
78
+ /**
79
+ * 处理表格render组件的props
80
+ * @param item
81
+ * @param renderOption
82
+ * @returns
83
+ */
84
+ export declare function getTableRenderProps(item: ApColumnType<any, any>, renderOption: any): any;
85
+ /**
86
+ * 将apColumn转化为column
87
+ * @param column
88
+ * @returns
89
+ */
90
+ export declare function apColumnToColumn(column: ApColumnType<any>): {
91
+ align?: AlignType | undefined;
92
+ class?: string | undefined;
93
+ title?: ColumnTitle<any>;
94
+ width?: string | number | undefined;
95
+ slots?: {
96
+ filterIcon?: string | undefined;
97
+ filterDropdown?: string | undefined;
98
+ customRender?: string | undefined;
99
+ title?: string | undefined;
100
+ } | undefined;
101
+ fixed?: FixedType | undefined;
102
+ key?: Key | undefined;
103
+ responsive?: Breakpoint[] | undefined;
104
+ maxWidth?: number | undefined;
105
+ minWidth?: number | undefined;
106
+ ellipsis?: CellEllipsisType | undefined;
107
+ colSpan?: number | undefined;
108
+ dataIndex?: DataIndex | undefined;
109
+ customRender?: ((opt: {
110
+ value: any;
111
+ text: any;
112
+ record: any;
113
+ index: number;
114
+ renderIndex: number;
115
+ column: ColumnType<any>;
116
+ }) => any) | undefined;
117
+ rowSpan?: number | undefined;
118
+ resizable?: boolean | undefined;
119
+ customCell?: GetComponentProps<any> | undefined;
120
+ onCellClick?: ((record: any, e: MouseEvent) => void) | undefined;
121
+ className?: string | undefined;
122
+ customHeaderCell?: GetComponentProps< ColumnType<any> | ColumnGroupType<any>> | undefined;
123
+ customFilterDropdown?: boolean | undefined;
124
+ __originColumn__?: any;
125
+ sorter?: ((boolean | CompareFn<any> | {
126
+ compare?: CompareFn<any> | undefined;
127
+ multiple?: number | undefined;
128
+ }) & (string | boolean | CompareFn<any> | {
129
+ compare?: CompareFn<any> | undefined;
130
+ multiple?: number | undefined;
131
+ })) | undefined;
132
+ sortOrder?: SortOrder | undefined;
133
+ defaultSortOrder?: SortOrder | undefined;
134
+ sortDirections?: SortOrder[] | undefined;
135
+ showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
136
+ title: VueTypeValidableDef<any>;
137
+ trigger: PropType< TriggerType | TriggerType[]>;
138
+ open: {
139
+ type: BooleanConstructor;
140
+ default: any;
141
+ };
142
+ visible: {
143
+ type: BooleanConstructor;
144
+ default: any;
145
+ };
146
+ placement: PropType<TooltipPlacement>;
147
+ color: PropType<LiteralUnion<PresetColorType>>;
148
+ transitionName: StringConstructor;
149
+ overlayStyle: {
150
+ type: PropType<CSSProperties>;
151
+ default: CSSProperties;
152
+ };
153
+ overlayInnerStyle: {
154
+ type: PropType<CSSProperties>;
155
+ default: CSSProperties;
156
+ };
157
+ overlayClassName: StringConstructor;
158
+ openClassName: StringConstructor;
159
+ prefixCls: StringConstructor;
160
+ mouseEnterDelay: NumberConstructor;
161
+ mouseLeaveDelay: NumberConstructor;
162
+ getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
163
+ arrowPointAtCenter: {
164
+ type: BooleanConstructor;
165
+ default: any;
166
+ };
167
+ arrow: {
168
+ type: PropType<boolean | {
169
+ pointAtCenter?: boolean | undefined;
170
+ }>;
171
+ default: boolean | {
172
+ pointAtCenter?: boolean | undefined;
173
+ };
174
+ };
175
+ autoAdjustOverflow: {
176
+ type: PropType<boolean | AdjustOverflow>;
177
+ default: boolean | AdjustOverflow;
178
+ };
179
+ destroyTooltipOnHide: {
180
+ type: BooleanConstructor;
181
+ default: any;
182
+ };
183
+ align: {
184
+ type: PropType<AlignType>;
185
+ default: AlignType;
186
+ };
187
+ builtinPlacements: {
188
+ type: PropType<BuildInPlacements>;
189
+ default: BuildInPlacements;
190
+ };
191
+ children: ArrayConstructor;
192
+ onVisibleChange: PropType<(vis: boolean) => void>;
193
+ 'onUpdate:visible': PropType<(vis: boolean) => void>;
194
+ onOpenChange: PropType<(vis: boolean) => void>;
195
+ 'onUpdate:open': PropType<(vis: boolean) => void>;
196
+ }>> | undefined;
197
+ filtered?: boolean | undefined;
198
+ filterDropdown?: VueNode | ((props: FilterDropdownProps<any>) => VueNode);
199
+ filterMultiple?: boolean | undefined;
200
+ filteredValue?: FilterValue | null | undefined;
201
+ defaultFilteredValue?: FilterValue | null | undefined;
202
+ filterIcon?: VueNode | ((opt: {
203
+ filtered: boolean;
204
+ column: TableColumnType<any>;
205
+ }) => VueNode);
206
+ filterMode?: "menu" | "tree" | undefined;
207
+ filterSearch?: FilterSearchType<ColumnFilterItem> | undefined;
208
+ onFilter?: ((value: string | number | boolean, record: any) => boolean) | undefined;
209
+ filterDropdownOpen?: boolean | undefined;
210
+ onFilterDropdownOpenChange?: ((visible: boolean) => void) | undefined;
211
+ filterResetToDefaultFilteredValue?: boolean | undefined;
212
+ filterDropdownVisible?: boolean | undefined;
213
+ onFilterDropdownVisibleChange?: ((visible: boolean) => void) | undefined;
214
+ children?: ApColumnType<any, any>[] | undefined;
215
+ span?: number | undefined;
216
+ tooltip?: string | undefined;
217
+ copyable?: boolean | undefined;
218
+ hideInSearch?: boolean | undefined;
219
+ hideInTable?: boolean | undefined;
220
+ valueEnum?: ValueEnum | undefined;
221
+ customRenderFormItem?: ((config: ApColumnType<"text", any>) => any) | undefined;
222
+ valueType?: keyof ApTableValueFields | undefined;
223
+ fieldProps?: any;
224
+ order?: number | undefined;
225
+ filters?: true | ColumnFilterItem[] | undefined;
226
+ };
227
+ /**
228
+ * 更新查询表单的的props
229
+ * @param item
230
+ * @param fieldProps
231
+ * @returns
232
+ */
233
+ export declare function updateFormProps(item: ApColumnType<any, any>, fieldProps: any): any;
61
234
  export {};
@@ -1,83 +1,110 @@
1
- import { isObject as c, isArray as u, isUndefined as i, isFunction as a } from "lodash-unified";
2
- const f = (t, e, n) => {
3
- let s = {};
4
- return c(t) ? Object.keys(t).forEach((o) => {
5
- c(t[o]) ? s[o] = f(t[o], e[o], n) : s[o] = n(t[o], e);
6
- }) : s = n(t, e), s;
7
- }, p = (t, e) => {
8
- switch (t) {
1
+ import { isObject as s, isArray as c, isUndefined as f, isFunction as l, omit as d, isBoolean as p } from "lodash-unified";
2
+ const m = (e, t, n) => {
3
+ let o = {};
4
+ return s(e) ? Object.keys(e).forEach((u) => {
5
+ s(e[u]) ? o[u] = m(e[u], t[u], n) : o[u] = n(e[u], t);
6
+ }) : o = n(e, t), o;
7
+ }, h = (e, t) => {
8
+ switch (e) {
9
9
  case "dayjs":
10
- return e.valueOf();
10
+ return t.valueOf();
11
11
  case "dayjsRange":
12
- return e.map((n) => n.valueOf());
12
+ return t.map((n) => n.valueOf());
13
13
  case "dayjsDayRange": {
14
- const [n, s] = e;
15
- return [n.startOf("day").valueOf(), s.endOf("day").valueOf()];
14
+ const [n, o] = t;
15
+ return [n.startOf("day").valueOf(), o.endOf("day").valueOf()];
16
16
  }
17
17
  case "multiple":
18
18
  case "multipleNumber":
19
- return u(e) ? e : [e];
19
+ return c(t) ? t : [t];
20
20
  case "boolean":
21
- return e;
21
+ return t;
22
22
  case "object":
23
- return e;
23
+ return t;
24
24
  default:
25
- return e;
25
+ return t;
26
26
  }
27
27
  };
28
- function b(t) {
29
- return u(t) ? t.join(".") : t;
28
+ function y(e) {
29
+ return c(e) ? e.join(".") : e;
30
30
  }
31
- function d(t) {
32
- const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
33
- return e === "string" && typeof t == "object" ? "object" : t === null ? "null" : t === void 0 ? "undefined" : e;
31
+ function x(e) {
32
+ const t = Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();
33
+ return t === "string" && typeof e == "object" ? "object" : e === null ? "null" : e === void 0 ? "undefined" : t;
34
34
  }
35
- const l = (t) => d(t) === "map" ? t : new Map(Object.entries(t || {})), g = (t) => {
36
- const e = [], n = l(t);
37
- return n.forEach((s, o) => {
38
- const r = n.get(o) || n.get(`${o}`);
35
+ const T = (e) => x(e) === "map" ? e : new Map(Object.entries(e || {})), a = (e) => {
36
+ const t = [], n = T(e);
37
+ return n.forEach((o, u) => {
38
+ const r = n.get(u) || n.get(`${u}`);
39
39
  if (r) {
40
40
  if (typeof r == "object" && (r != null && r.text)) {
41
- e.push({
41
+ t.push({
42
42
  text: r == null ? void 0 : r.text,
43
- value: o,
43
+ value: u,
44
44
  label: r == null ? void 0 : r.text,
45
45
  disabled: r.disabled
46
46
  });
47
47
  return;
48
48
  }
49
- e.push({
49
+ t.push({
50
50
  text: r,
51
51
  label: r,
52
- value: o
52
+ value: u
53
53
  });
54
54
  }
55
- }), e;
56
- }, j = (t) => i(t) || t < 0 ? 0 : t, x = (t, e, n) => {
55
+ }), t;
56
+ }, E = (e) => f(e) || e < 0 ? 0 : e, j = (e, t, n) => {
57
57
  if (n)
58
58
  return n;
59
- const s = ["select", "date"], o = [
59
+ const o = ["select", "date"], u = [
60
60
  "text",
61
61
  "textArea",
62
62
  "number"
63
63
  ];
64
- if (e === "dateRange")
65
- return [t("ap.common.chooseText"), t("ap.common.chooseText")];
66
- if (s.includes(e))
67
- return t("ap.common.chooseText");
68
- if (o.includes(e))
69
- return t("ap.common.inputText");
64
+ if (t === "dateRange")
65
+ return [e("ap.common.chooseText"), e("ap.common.chooseText")];
66
+ if (o.includes(t))
67
+ return e("ap.common.chooseText");
68
+ if (u.includes(t))
69
+ return e("ap.common.inputText");
70
70
  };
71
- function O(t, e) {
72
- return !t || !a(t) ? t : t(e);
71
+ function b(e, t) {
72
+ return !e || !l(e) ? e : e(t);
73
+ }
74
+ function O(e) {
75
+ let t = e.valueType || "text";
76
+ return e.valueEnum && (t = "status"), t;
77
+ }
78
+ function F(e, t) {
79
+ const n = b(e.fieldProps, t), o = (n == null ? void 0 : n.field) || n || {}, u = e.valueType === "switch", r = e.valueType === "index", i = u ? { checked: t.value } : { value: r ? t.index + 1 : t.value };
80
+ return e.valueEnum && (o.valueEnum = e.valueEnum), {
81
+ ...d(o, ["request"]),
82
+ ...i
83
+ };
84
+ }
85
+ function v(e) {
86
+ const t = { ...e };
87
+ return p(e.filters) && e.filters && e.valueEnum && (t.filters = a(e.valueEnum)), t;
88
+ }
89
+ function w(e, t) {
90
+ var o;
91
+ const n = t || {};
92
+ return e.valueEnum && !((o = n.field) != null && o.options) && (n.field = {
93
+ ...n.field,
94
+ options: a(e.valueEnum)
95
+ }), n;
73
96
  }
74
97
  export {
75
- b as dataIndexToStr,
76
- f as formatParamsValueType,
77
- j as getColumnOrder,
78
- O as getFieldProps,
79
- x as getPlaceholder,
80
- l as objectToMap,
81
- p as parseFieldValue,
82
- g as valueEnumToArray
98
+ v as apColumnToColumn,
99
+ y as dataIndexToStr,
100
+ m as formatParamsValueType,
101
+ E as getColumnOrder,
102
+ b as getFieldProps,
103
+ j as getPlaceholder,
104
+ F as getTableRenderProps,
105
+ O as getTableRenderType,
106
+ T as objectToMap,
107
+ h as parseFieldValue,
108
+ w as updateFormProps,
109
+ a as valueEnumToArray
83
110
  };
@@ -271,19 +271,23 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
271
271
  .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
272
272
  color: #ff4d4f;
273
273
  }
274
- .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
274
+ [class$='-basic-table'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
275
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
275
276
  margin: 16px 0 0;
276
277
  }
277
- .ant-table-wrapper .ant-pagination {
278
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination,
279
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination {
278
280
  position: relative;
279
281
  }
280
- .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
282
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
283
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
281
284
  position: absolute;
282
285
  left: 0;
283
286
  height: 30px;
284
287
  line-height: 30px;
285
288
  }
286
- .ant-table-wrapper .ant-pagination .ant-pagination-item {
289
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
290
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item {
287
291
  box-sizing: border-box;
288
292
  min-width: 30px;
289
293
  height: 30px;
@@ -294,45 +298,57 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
294
298
  text-align: center;
295
299
  border-radius: 4px;
296
300
  }
297
- .ant-table-wrapper .ant-pagination .ant-pagination-item:not(.ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
301
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
302
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
303
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
304
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
298
305
  border: 1px solid #d9d9d9;
299
306
  }
300
- .ant-table-wrapper .ant-pagination .ant-pagination-prev {
307
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
308
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev {
301
309
  width: 30px;
302
310
  height: 30px;
303
311
  margin: 0 4px;
304
312
  line-height: 28px;
305
313
  border: 1px solid #d9d9d9;
306
314
  }
307
- .ant-table-wrapper .ant-pagination .ant-pagination-next {
315
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
316
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next {
308
317
  width: 30px;
309
318
  height: 30px;
310
319
  margin: 0 4px;
311
320
  line-height: 28px;
312
321
  border: 1px solid #d9d9d9;
313
322
  }
314
- .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
323
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled,
324
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
315
325
  border: 1px solid #d9d9d9;
316
326
  }
317
- .ant-table-wrapper .ant-pagination .ant-pagination-options {
327
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
328
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options {
318
329
  margin-left: 4px;
319
330
  }
320
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
331
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
332
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
321
333
  min-width: 90px;
322
334
  height: 30px;
323
335
  }
324
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
336
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
337
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
325
338
  line-height: 28px;
326
339
  }
327
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
340
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
341
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
328
342
  color: #333333;
329
343
  }
330
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
344
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
345
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
331
346
  margin-left: 20px;
332
347
  color: #333333;
333
348
  font-size: 14px;
334
349
  }
335
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
350
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
351
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
336
352
  min-width: 60px;
337
353
  height: 30px;
338
354
  margin: 0 8px;
@@ -346,35 +362,43 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
346
362
  display: flex;
347
363
  }
348
364
  .ant-steps .ant-steps-item-icon {
365
+ line-height: 27px;
349
366
  width: 28px;
350
367
  height: 28px;
351
368
  margin-top: 3px;
352
- display: flex;
353
- justify-content: center;
354
- align-items: center;
355
369
  flex-shrink: 0;
356
370
  }
371
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
372
+ font-weight: 500;
373
+ font-size: 16px;
374
+ }
375
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-container .ant-steps-item-description {
376
+ min-height: 16px;
377
+ margin-top: 5px;
378
+ color: #999999;
379
+ font-weight: 400;
380
+ font-size: 12px;
381
+ line-height: 1.2rem;
382
+ }
357
383
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-icon {
358
384
  background-color: #ffffff;
359
385
  border-color: #34b77c;
360
- border-radius: 0;
361
386
  }
362
387
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon {
363
388
  width: 12px;
364
389
  height: 12px;
365
390
  }
366
391
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon svg {
367
- display: none;
368
392
  width: 12px;
369
393
  height: 12px;
370
394
  }
371
395
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
372
396
  min-height: 16px;
373
- margin-top: 6px;
397
+ margin-top: 5px;
374
398
  color: #999999;
375
399
  font-weight: 400;
376
400
  font-size: 12px;
377
- line-height: 1rem;
401
+ line-height: 1.2rem;
378
402
  }
379
403
  .ant-steps .ant-steps-item-title {
380
404
  height: 24px;
@@ -398,11 +422,11 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
398
422
  }
399
423
  .ant-steps .ant-steps-item-active .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
400
424
  min-height: 16px;
401
- margin-top: 6px;
425
+ margin-top: 5px;
402
426
  color: #999999;
403
427
  font-weight: 400;
404
428
  font-size: 12px;
405
- line-height: 1rem;
429
+ line-height: 1.2rem;
406
430
  }
407
431
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-icon {
408
432
  background-color: #ffffff;
@@ -415,11 +439,15 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
415
439
  }
416
440
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-description {
417
441
  min-height: 16px;
418
- margin-top: 6px;
442
+ margin-top: 5px;
419
443
  color: #999999;
420
444
  font-weight: 400;
421
445
  font-size: 12px;
422
- line-height: 1rem;
446
+ line-height: 1.2rem;
447
+ }
448
+ .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-tail {
449
+ inset-inline-start: 13px;
450
+ margin: 4px 0;
423
451
  }
424
452
  .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-icon {
425
453
  background-color: #ffffff;
@@ -434,13 +462,25 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
434
462
  width: 28px;
435
463
  height: 28px;
436
464
  margin-top: 3px;
437
- display: flex;
438
- justify-content: center;
439
- align-items: center;
465
+ }
466
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-icon {
467
+ line-height: 25px;
468
+ width: 24px;
469
+ height: 24px;
470
+ margin-top: 3px;
471
+ }
472
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-content {
473
+ margin-top: 2px;
440
474
  }
441
475
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-tail {
442
476
  inset-inline-start: 13px;
443
- margin: 6px 0;
477
+ margin: 3px -1px;
478
+ }
479
+ .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
480
+ line-height: 25px;
481
+ width: 24px;
482
+ height: 24px;
483
+ flex-shrink: 0;
444
484
  }
445
485
  [class$='-basic-table'],
446
486
  [class$='-basic-table-form-container'] {
@@ -1,16 +1,20 @@
1
- .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
1
+ [class$='-basic-table'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
2
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
2
3
  margin: 16px 0 0;
3
4
  }
4
- .ant-table-wrapper .ant-pagination {
5
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination,
6
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination {
5
7
  position: relative;
6
8
  }
7
- .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
9
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
10
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
8
11
  position: absolute;
9
12
  left: 0;
10
13
  height: 30px;
11
14
  line-height: 30px;
12
15
  }
13
- .ant-table-wrapper .ant-pagination .ant-pagination-item {
16
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
17
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item {
14
18
  box-sizing: border-box;
15
19
  min-width: 30px;
16
20
  height: 30px;
@@ -21,45 +25,57 @@
21
25
  text-align: center;
22
26
  border-radius: 4px;
23
27
  }
24
- .ant-table-wrapper .ant-pagination .ant-pagination-item:not(.ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
28
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
29
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
30
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
31
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
25
32
  border: 1px solid #d9d9d9;
26
33
  }
27
- .ant-table-wrapper .ant-pagination .ant-pagination-prev {
34
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
35
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev {
28
36
  width: 30px;
29
37
  height: 30px;
30
38
  margin: 0 4px;
31
39
  line-height: 28px;
32
40
  border: 1px solid #d9d9d9;
33
41
  }
34
- .ant-table-wrapper .ant-pagination .ant-pagination-next {
42
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
43
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next {
35
44
  width: 30px;
36
45
  height: 30px;
37
46
  margin: 0 4px;
38
47
  line-height: 28px;
39
48
  border: 1px solid #d9d9d9;
40
49
  }
41
- .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
50
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled,
51
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
42
52
  border: 1px solid #d9d9d9;
43
53
  }
44
- .ant-table-wrapper .ant-pagination .ant-pagination-options {
54
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
55
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options {
45
56
  margin-left: 4px;
46
57
  }
47
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
58
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
59
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
48
60
  min-width: 90px;
49
61
  height: 30px;
50
62
  }
51
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
63
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
64
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
52
65
  line-height: 28px;
53
66
  }
54
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
67
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
68
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
55
69
  color: #333333;
56
70
  }
57
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
71
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
72
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
58
73
  margin-left: 20px;
59
74
  color: #333333;
60
75
  font-size: 14px;
61
76
  }
62
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
77
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
78
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
63
79
  min-width: 60px;
64
80
  height: 30px;
65
81
  margin: 0 8px;