@aplus-frontend/ui 0.0.3 → 0.0.5

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 (67) hide show
  1. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +23 -21
  2. package/es/src/ap-form/ap-form.vue.d.ts +7 -2
  3. package/es/src/ap-form/ap-form.vue2.mjs +85 -52
  4. package/es/src/ap-form/context.d.ts +14 -0
  5. package/es/src/ap-form/hooks/use-watch.d.ts +7 -0
  6. package/es/src/ap-form/hooks/use-watch.mjs +30 -0
  7. package/es/src/ap-form/index.d.ts +2 -0
  8. package/es/src/ap-form/index.mjs +13 -11
  9. package/es/src/ap-form/interface.d.ts +17 -7
  10. package/es/src/ap-form/modal-form/index.vue.d.ts +2 -2
  11. package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
  12. package/es/src/ap-form/search-form/index.vue.mjs +27 -27
  13. package/es/src/ap-table/ap-table.vue.d.ts +2 -0
  14. package/es/src/ap-table/ap-table.vue.mjs +112 -111
  15. package/es/src/ap-table/components/interface.d.ts +12 -0
  16. package/es/src/ap-table/components/status/index.vue.d.ts +14 -0
  17. package/es/src/ap-table/components/status/index.vue.mjs +4 -0
  18. package/es/src/ap-table/components/status/index.vue2.mjs +17 -0
  19. package/es/src/ap-table/constants.d.ts +20 -25
  20. package/es/src/ap-table/constants.mjs +19 -16
  21. package/es/src/ap-table/interface.d.ts +34 -4
  22. package/es/src/ap-table/utils.d.ts +174 -1
  23. package/es/src/ap-table/utils.mjs +75 -48
  24. package/es/src/pro-form/helper.mjs +7 -7
  25. package/es/src/theme/antd-global-overwrite/admin/alert.css +3 -0
  26. package/es/src/theme/antd-global-overwrite/admin/index.css +72 -29
  27. package/es/src/theme/antd-global-overwrite/admin/pagination.css +30 -14
  28. package/es/src/theme/antd-global-overwrite/admin/steps.css +39 -15
  29. package/es/src/theme/antd-global-overwrite/aplus/alert.css +3 -0
  30. package/es/src/theme/antd-global-overwrite/aplus/index.css +78 -33
  31. package/es/src/theme/antd-global-overwrite/aplus/pagination.css +38 -18
  32. package/es/src/theme/antd-global-overwrite/aplus/steps.css +37 -15
  33. package/es/src/utils/index.mjs +32 -32
  34. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
  35. package/lib/src/ap-form/ap-form.vue.d.ts +7 -2
  36. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  37. package/lib/src/ap-form/context.d.ts +14 -0
  38. package/lib/src/ap-form/hooks/use-watch.d.ts +7 -0
  39. package/lib/src/ap-form/hooks/use-watch.js +1 -0
  40. package/lib/src/ap-form/index.d.ts +2 -0
  41. package/lib/src/ap-form/index.js +1 -1
  42. package/lib/src/ap-form/interface.d.ts +17 -7
  43. package/lib/src/ap-form/modal-form/index.vue.d.ts +2 -2
  44. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  45. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  46. package/lib/src/ap-table/ap-table.vue.d.ts +2 -0
  47. package/lib/src/ap-table/ap-table.vue.js +1 -1
  48. package/lib/src/ap-table/components/interface.d.ts +12 -0
  49. package/lib/src/ap-table/components/status/index.vue.d.ts +14 -0
  50. package/lib/src/ap-table/components/status/index.vue.js +1 -0
  51. package/lib/src/ap-table/components/status/index.vue2.js +1 -0
  52. package/lib/src/ap-table/constants.d.ts +20 -25
  53. package/lib/src/ap-table/constants.js +1 -1
  54. package/lib/src/ap-table/interface.d.ts +34 -4
  55. package/lib/src/ap-table/utils.d.ts +174 -1
  56. package/lib/src/ap-table/utils.js +1 -1
  57. package/lib/src/pro-form/helper.js +1 -1
  58. package/lib/src/theme/antd-global-overwrite/admin/alert.css +3 -0
  59. package/lib/src/theme/antd-global-overwrite/admin/index.css +72 -29
  60. package/lib/src/theme/antd-global-overwrite/admin/pagination.css +30 -14
  61. package/lib/src/theme/antd-global-overwrite/admin/steps.css +39 -15
  62. package/lib/src/theme/antd-global-overwrite/aplus/alert.css +3 -0
  63. package/lib/src/theme/antd-global-overwrite/aplus/index.css +78 -33
  64. package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +38 -18
  65. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +37 -15
  66. package/lib/src/utils/index.js +1 -1
  67. package/package.json +2 -2
@@ -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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("lodash-unified"),a=(e,t,r)=>{let s={};return c.isObject(e)?Object.keys(e).forEach(o=>{c.isObject(e[o])?s[o]=a(e[o],t[o],r):s[o]=r(e[o],t)}):s=r(e,t),s},i=(e,t)=>{switch(e){case"dayjs":return t.valueOf();case"dayjsRange":return t.map(r=>r.valueOf());case"dayjsDayRange":{const[r,s]=t;return[r.startOf("day").valueOf(),s.endOf("day").valueOf()]}case"multiple":case"multipleNumber":return c.isArray(t)?t:[t];case"boolean":return t;case"object":return t;default:return t}};function f(e){return c.isArray(e)?e.join("."):e}function l(e){const t=Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();return t==="string"&&typeof e=="object"?"object":e===null?"null":e===void 0?"undefined":t}const u=e=>l(e)==="map"?e:new Map(Object.entries(e||{})),d=e=>{const t=[],r=u(e);return r.forEach((s,o)=>{const n=r.get(o)||r.get(`${o}`);if(n){if(typeof n=="object"&&(n!=null&&n.text)){t.push({text:n==null?void 0:n.text,value:o,label:n==null?void 0:n.text,disabled:n.disabled});return}t.push({text:n,label:n,value:o})}}),t},m=e=>c.isUndefined(e)||e<0?0:e,p=(e,t,r)=>{if(r)return r;const s=["select","date"],o=["text","textArea","number"];if(t==="dateRange")return[e("ap.common.chooseText"),e("ap.common.chooseText")];if(s.includes(t))return e("ap.common.chooseText");if(o.includes(t))return e("ap.common.inputText")};function b(e,t){return!e||!c.isFunction(e)?e:e(t)}exports.dataIndexToStr=f;exports.formatParamsValueType=a;exports.getColumnOrder=m;exports.getFieldProps=b;exports.getPlaceholder=p;exports.objectToMap=u;exports.parseFieldValue=i;exports.valueEnumToArray=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("lodash-unified"),c=(e,t,n)=>{let o={};return s.isObject(e)?Object.keys(e).forEach(u=>{s.isObject(e[u])?o[u]=c(e[u],t[u],n):o[u]=n(e[u],t)}):o=n(e,t),o},d=(e,t)=>{switch(e){case"dayjs":return t.valueOf();case"dayjsRange":return t.map(n=>n.valueOf());case"dayjsDayRange":{const[n,o]=t;return[n.startOf("day").valueOf(),o.endOf("day").valueOf()]}case"multiple":case"multipleNumber":return s.isArray(t)?t:[t];case"boolean":return t;case"object":return t;default:return t}};function p(e){return s.isArray(e)?e.join("."):e}function m(e){const t=Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();return t==="string"&&typeof e=="object"?"object":e===null?"null":e===void 0?"undefined":t}const i=e=>m(e)==="map"?e:new Map(Object.entries(e||{})),a=e=>{const t=[],n=i(e);return n.forEach((o,u)=>{const r=n.get(u)||n.get(`${u}`);if(r){if(typeof r=="object"&&(r!=null&&r.text)){t.push({text:r==null?void 0:r.text,value:u,label:r==null?void 0:r.text,disabled:r.disabled});return}t.push({text:r,label:r,value:u})}}),t},T=e=>s.isUndefined(e)||e<0?0:e,b=(e,t,n)=>{if(n)return n;const o=["select","date"],u=["text","textArea","number"];if(t==="dateRange")return[e("ap.common.chooseText"),e("ap.common.chooseText")];if(o.includes(t))return e("ap.common.chooseText");if(u.includes(t))return e("ap.common.inputText")};function l(e,t){return!e||!s.isFunction(e)?e:e(t)}function g(e){let t=e.valueType||"text";return e.valueEnum&&(t="status"),t}function y(e,t){const n=l(e.fieldProps,t),o=(n==null?void 0:n.field)||n||{},u=e.valueType==="switch",r=e.valueType==="index",f=u?{checked:t.value}:{value:r?t.index+1:t.value};return e.valueEnum&&(o.valueEnum=e.valueEnum),{...s.omit(o,["request"]),...f}}function x(e){const t={...e};return s.isBoolean(e.filters)&&e.filters&&e.valueEnum&&(t.filters=a(e.valueEnum)),t}function h(e,t){var o;const n=t||{};return e.valueEnum&&!((o=n.field)!=null&&o.options)&&(n.field={...n.field,options:a(e.valueEnum)}),n}exports.apColumnToColumn=x;exports.dataIndexToStr=p;exports.formatParamsValueType=c;exports.getColumnOrder=T;exports.getFieldProps=l;exports.getPlaceholder=b;exports.getTableRenderProps=y;exports.getTableRenderType=g;exports.objectToMap=i;exports.parseFieldValue=d;exports.updateFormProps=h;exports.valueEnumToArray=a;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lodash-unified"),n=["Divider","BasicTitle"];function c(e){return n.includes(e||"")}function s(e,i,t){Reflect.has(e,"type")||(["DatePicker","MonthPicker","WeekPicker","TimePicker"].includes(i)?e.type=t?"string":"object":["RangePicker","Upload","CheckboxGroup","TimePicker"].includes(i)?e.type="array":["InputNumber"].includes(i)&&(e.type="number"))}const o=["ApiTransfer","ApiTree","ApiTreeSelect","ApiRadioGroup","ApiCascader","AutoComplete","RadioButtonGroup","ApiSelect"];function p(e,i="",t){return e.includes("Input")||e.includes("Complete")?t("ap.common.inputText")+i:e.includes("Picker")||e.includes("Select")||e.includes("Cascader")||e.includes("Checkbox")||e.includes("Radio")||e.includes("Switch")?t("ap.common.chooseText")+i:""}const a=["DatePicker","MonthPicker","WeekPicker","TimePicker"];function d(){return[...a,"RangePicker"]}const l=d(),r=["Input","InputPassword","InputNumber","InputSearch","InputTextArea"];function T(e,i){return e&&r.includes(e)&&i&&u.isNumber(i)?`${i}`:i}exports.NO_AUTO_LINK_COMPONENTS=o;exports.createPlaceholderMessage=p;exports.dateItemType=l;exports.defaultValueComponents=r;exports.handleInputNumberValue=T;exports.isIncludeSimpleComponents=c;exports.setComponentRuleType=s;exports.simpleComponents=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lodash-unified"),n=["Divider","BasicTitle"];function c(e){return n.includes(e||"")}function s(e,i,t){Reflect.has(e,"type")||(["DatePicker","MonthPicker","WeekPicker","TimePicker"].includes(i)?e.type=t?"string":"object":["RangePicker","Upload","CheckboxGroup","TimePicker"].includes(i)?e.type="array":["InputNumber"].includes(i)&&(e.type="number"))}const l=["ApiTransfer","ApiTree","ApiTreeSelect","ApiRadioGroup","ApiCascader","AutoComplete","RadioButtonGroup","ApiSelect"];function o(e,i="",t){return e.includes("Input")||e.includes("Complete")?t("ap.common.inputText"):e.includes("Picker")||e.includes("Select")||e.includes("Cascader")||e.includes("Checkbox")||e.includes("Radio")||e.includes("Switch")?t("ap.common.chooseText"):""}const a=["DatePicker","MonthPicker","WeekPicker","TimePicker"];function p(){return[...a,"RangePicker"]}const d=p(),r=["Input","InputPassword","InputNumber","InputSearch","InputTextArea"];function T(e,i){return e&&r.includes(e)&&i&&u.isNumber(i)?`${i}`:i}exports.NO_AUTO_LINK_COMPONENTS=l;exports.createPlaceholderMessage=o;exports.dateItemType=d;exports.defaultValueComponents=r;exports.handleInputNumberValue=T;exports.isIncludeSimpleComponents=c;exports.setComponentRuleType=s;exports.simpleComponents=n;
@@ -4,6 +4,9 @@
4
4
  padding: 6px 12px;
5
5
  border-radius: 4px;
6
6
  }
7
+ .ant-alert .ant-alert-close-icon {
8
+ line-height: 18px;
9
+ }
7
10
  .ant-alert .ant-alert-icon {
8
11
  font-size: 16px;
9
12
  transform: translateY(1px);
@@ -4,6 +4,9 @@
4
4
  padding: 6px 12px;
5
5
  border-radius: 4px;
6
6
  }
7
+ .ant-alert .ant-alert-close-icon {
8
+ line-height: 18px;
9
+ }
7
10
  .ant-alert .ant-alert-icon {
8
11
  font-size: 16px;
9
12
  transform: translateY(1px);
@@ -271,19 +274,23 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
271
274
  .ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
272
275
  color: #ff4d4f;
273
276
  }
274
- .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
277
+ [class$='-basic-table'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
278
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
275
279
  margin: 16px 0 0;
276
280
  }
277
- .ant-table-wrapper .ant-pagination {
281
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination,
282
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination {
278
283
  position: relative;
279
284
  }
280
- .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
285
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
286
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
281
287
  position: absolute;
282
288
  left: 0;
283
289
  height: 30px;
284
290
  line-height: 30px;
285
291
  }
286
- .ant-table-wrapper .ant-pagination .ant-pagination-item {
292
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
293
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item {
287
294
  box-sizing: border-box;
288
295
  min-width: 30px;
289
296
  height: 30px;
@@ -294,45 +301,57 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
294
301
  text-align: center;
295
302
  border-radius: 4px;
296
303
  }
297
- .ant-table-wrapper .ant-pagination .ant-pagination-item:not(.ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
304
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
305
+ [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),
306
+ [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),
307
+ [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
308
  border: 1px solid #d9d9d9;
299
309
  }
300
- .ant-table-wrapper .ant-pagination .ant-pagination-prev {
310
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
311
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev {
301
312
  width: 30px;
302
313
  height: 30px;
303
314
  margin: 0 4px;
304
315
  line-height: 28px;
305
316
  border: 1px solid #d9d9d9;
306
317
  }
307
- .ant-table-wrapper .ant-pagination .ant-pagination-next {
318
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
319
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next {
308
320
  width: 30px;
309
321
  height: 30px;
310
322
  margin: 0 4px;
311
323
  line-height: 28px;
312
324
  border: 1px solid #d9d9d9;
313
325
  }
314
- .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
326
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled,
327
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next .ant-pagination-disabled {
315
328
  border: 1px solid #d9d9d9;
316
329
  }
317
- .ant-table-wrapper .ant-pagination .ant-pagination-options {
330
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
331
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options {
318
332
  margin-left: 4px;
319
333
  }
320
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
334
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
335
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
321
336
  min-width: 90px;
322
337
  height: 30px;
323
338
  }
324
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
339
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
340
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
325
341
  line-height: 28px;
326
342
  }
327
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
343
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
344
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
328
345
  color: #333333;
329
346
  }
330
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
347
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
348
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
331
349
  margin-left: 20px;
332
350
  color: #333333;
333
351
  font-size: 14px;
334
352
  }
335
- .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
353
+ [class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
354
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
336
355
  min-width: 60px;
337
356
  height: 30px;
338
357
  margin: 0 8px;
@@ -346,35 +365,43 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
346
365
  display: flex;
347
366
  }
348
367
  .ant-steps .ant-steps-item-icon {
368
+ line-height: 27px;
349
369
  width: 28px;
350
370
  height: 28px;
351
371
  margin-top: 3px;
352
- display: flex;
353
- justify-content: center;
354
- align-items: center;
355
372
  flex-shrink: 0;
356
373
  }
374
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
375
+ font-weight: 500;
376
+ font-size: 16px;
377
+ }
378
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-container .ant-steps-item-description {
379
+ min-height: 16px;
380
+ margin-top: 5px;
381
+ color: #999999;
382
+ font-weight: 400;
383
+ font-size: 12px;
384
+ line-height: 1.2rem;
385
+ }
357
386
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-icon {
358
387
  background-color: #ffffff;
359
388
  border-color: #34b77c;
360
- border-radius: 0;
361
389
  }
362
390
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon {
363
391
  width: 12px;
364
392
  height: 12px;
365
393
  }
366
394
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon svg {
367
- display: none;
368
395
  width: 12px;
369
396
  height: 12px;
370
397
  }
371
398
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
372
399
  min-height: 16px;
373
- margin-top: 6px;
400
+ margin-top: 5px;
374
401
  color: #999999;
375
402
  font-weight: 400;
376
403
  font-size: 12px;
377
- line-height: 1rem;
404
+ line-height: 1.2rem;
378
405
  }
379
406
  .ant-steps .ant-steps-item-title {
380
407
  height: 24px;
@@ -398,11 +425,11 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
398
425
  }
399
426
  .ant-steps .ant-steps-item-active .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
400
427
  min-height: 16px;
401
- margin-top: 6px;
428
+ margin-top: 5px;
402
429
  color: #999999;
403
430
  font-weight: 400;
404
431
  font-size: 12px;
405
- line-height: 1rem;
432
+ line-height: 1.2rem;
406
433
  }
407
434
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-icon {
408
435
  background-color: #ffffff;
@@ -415,11 +442,15 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
415
442
  }
416
443
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-description {
417
444
  min-height: 16px;
418
- margin-top: 6px;
445
+ margin-top: 5px;
419
446
  color: #999999;
420
447
  font-weight: 400;
421
448
  font-size: 12px;
422
- line-height: 1rem;
449
+ line-height: 1.2rem;
450
+ }
451
+ .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-tail {
452
+ inset-inline-start: 13px;
453
+ margin: 4px 0;
423
454
  }
424
455
  .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-icon {
425
456
  background-color: #ffffff;
@@ -434,13 +465,25 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
434
465
  width: 28px;
435
466
  height: 28px;
436
467
  margin-top: 3px;
437
- display: flex;
438
- justify-content: center;
439
- align-items: center;
468
+ }
469
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-icon {
470
+ line-height: 25px;
471
+ width: 24px;
472
+ height: 24px;
473
+ margin-top: 3px;
474
+ }
475
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-content {
476
+ margin-top: 2px;
440
477
  }
441
478
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-tail {
442
479
  inset-inline-start: 13px;
443
- margin: 6px 0;
480
+ margin: 3px -1px;
481
+ }
482
+ .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
483
+ line-height: 25px;
484
+ width: 24px;
485
+ height: 24px;
486
+ flex-shrink: 0;
444
487
  }
445
488
  [class$='-basic-table'],
446
489
  [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;
@@ -5,35 +5,43 @@
5
5
  display: flex;
6
6
  }
7
7
  .ant-steps .ant-steps-item-icon {
8
+ line-height: 27px;
8
9
  width: 28px;
9
10
  height: 28px;
10
11
  margin-top: 3px;
11
- display: flex;
12
- justify-content: center;
13
- align-items: center;
14
12
  flex-shrink: 0;
15
13
  }
14
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
15
+ font-weight: 500;
16
+ font-size: 16px;
17
+ }
18
+ .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-container .ant-steps-item-description {
19
+ min-height: 16px;
20
+ margin-top: 5px;
21
+ color: #999999;
22
+ font-weight: 400;
23
+ font-size: 12px;
24
+ line-height: 1.2rem;
25
+ }
16
26
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-icon {
17
27
  background-color: #ffffff;
18
28
  border-color: #34b77c;
19
- border-radius: 0;
20
29
  }
21
30
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon {
22
31
  width: 12px;
23
32
  height: 12px;
24
33
  }
25
34
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-finish-icon svg {
26
- display: none;
27
35
  width: 12px;
28
36
  height: 12px;
29
37
  }
30
38
  .ant-steps .ant-steps-item-finish .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
31
39
  min-height: 16px;
32
- margin-top: 6px;
40
+ margin-top: 5px;
33
41
  color: #999999;
34
42
  font-weight: 400;
35
43
  font-size: 12px;
36
- line-height: 1rem;
44
+ line-height: 1.2rem;
37
45
  }
38
46
  .ant-steps .ant-steps-item-title {
39
47
  height: 24px;
@@ -57,11 +65,11 @@
57
65
  }
58
66
  .ant-steps .ant-steps-item-active .ant-steps-item-container .ant-steps-item-content .ant-steps-item-description {
59
67
  min-height: 16px;
60
- margin-top: 6px;
68
+ margin-top: 5px;
61
69
  color: #999999;
62
70
  font-weight: 400;
63
71
  font-size: 12px;
64
- line-height: 1rem;
72
+ line-height: 1.2rem;
65
73
  }
66
74
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-icon {
67
75
  background-color: #ffffff;
@@ -74,11 +82,15 @@
74
82
  }
75
83
  .ant-steps .ant-steps-item-wait .ant-steps-item-container .ant-steps-item-description {
76
84
  min-height: 16px;
77
- margin-top: 6px;
85
+ margin-top: 5px;
78
86
  color: #999999;
79
87
  font-weight: 400;
80
88
  font-size: 12px;
81
- line-height: 1rem;
89
+ line-height: 1.2rem;
90
+ }
91
+ .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-tail {
92
+ inset-inline-start: 13px;
93
+ margin: 4px 0;
82
94
  }
83
95
  .ant-steps-item.ant-steps-item-finish.ant-steps-item-active .ant-steps-item-container .ant-steps-item-icon {
84
96
  background-color: #ffffff;
@@ -93,11 +105,23 @@
93
105
  width: 28px;
94
106
  height: 28px;
95
107
  margin-top: 3px;
96
- display: flex;
97
- justify-content: center;
98
- align-items: center;
108
+ }
109
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-icon {
110
+ line-height: 25px;
111
+ width: 24px;
112
+ height: 24px;
113
+ margin-top: 3px;
114
+ }
115
+ .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-content {
116
+ margin-top: 2px;
99
117
  }
100
118
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-tail {
101
119
  inset-inline-start: 13px;
102
- margin: 6px 0;
120
+ margin: 3px -1px;
121
+ }
122
+ .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
123
+ line-height: 25px;
124
+ width: 24px;
125
+ height: 24px;
126
+ flex-shrink: 0;
103
127
  }
@@ -4,6 +4,9 @@
4
4
  padding: 6px 12px;
5
5
  border-radius: 4px;
6
6
  }
7
+ .ant-alert .ant-alert-close-icon {
8
+ line-height: 18px;
9
+ }
7
10
  .ant-alert .ant-alert-icon {
8
11
  font-size: 16px;
9
12
  transform: translateY(1px);