@jiaozhiye/qm-design-react 1.7.49 → 1.7.52

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.
@@ -1,66 +1,66 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2021-07-23 19:05:57
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2021-08-21 20:34:44
6
- */
7
- @import '../../style/common';
8
-
9
- @prefix-divider: ~'@{qm-prefix}-divider';
10
-
11
- .@{prefix-divider} {
12
- .reset-container;
13
- display: flex;
14
- align-items: center;
15
- padding: 0 @--padding-md;
16
- height: @--height-md;
17
- line-height: 1;
18
- border: 1px solid @--border-color-base;
19
- border-radius: @--border-radius-base;
20
- background-color: @--background-color-cecondary;
21
- position: relative;
22
- &::before {
23
- content: ' ';
24
- position: absolute;
25
- width: 6px;
26
- left: -1px;
27
- top: -1px;
28
- bottom: -1px;
29
- background-color: @--primary-color;
30
- }
31
- &__title {
32
- margin-left: 5px;
33
- }
34
- &__extra {
35
- .text-overflow-cut();
36
- flex: 1;
37
- margin-left: @--margin-md;
38
- }
39
- &__collapse {
40
- margin-left: @--margin-md;
41
- padding-left: 0;
42
- padding-right: 0;
43
- .anticon {
44
- margin-left: 4px !important;
45
- }
46
- }
47
- &-borderless {
48
- border: none;
49
- background-color: transparent;
50
- &::before {
51
- top: auto;
52
- bottom: auto;
53
- left: 0;
54
- height: 20px;
55
- border-radius: 3px;
56
- }
57
- }
58
- // ------ size ------
59
- // 40 32 24
60
- &--lg {
61
- height: @--height-lg;
62
- }
63
- &--sm {
64
- height: @--height-sm;
65
- }
66
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2021-07-23 19:05:57
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2021-08-21 20:34:44
6
+ */
7
+ @import '../../style/common';
8
+
9
+ @prefix-divider: ~'@{qm-prefix}-divider';
10
+
11
+ .@{prefix-divider} {
12
+ .reset-container;
13
+ display: flex;
14
+ align-items: center;
15
+ padding: 0 @--padding-md;
16
+ height: @--height-md;
17
+ line-height: 1;
18
+ border: 1px solid @--border-color-base;
19
+ border-radius: @--border-radius-base;
20
+ background-color: @--background-color-cecondary;
21
+ position: relative;
22
+ &::before {
23
+ content: ' ';
24
+ position: absolute;
25
+ width: 6px;
26
+ left: -1px;
27
+ top: -1px;
28
+ bottom: -1px;
29
+ background-color: @--primary-color;
30
+ }
31
+ &__title {
32
+ margin-left: 5px;
33
+ }
34
+ &__extra {
35
+ .text-overflow-cut();
36
+ flex: 1;
37
+ margin-left: @--margin-md;
38
+ }
39
+ &__collapse {
40
+ margin-left: @--margin-md;
41
+ padding-left: 0;
42
+ padding-right: 0;
43
+ .anticon {
44
+ margin-left: 4px !important;
45
+ }
46
+ }
47
+ &-borderless {
48
+ border: none;
49
+ background-color: transparent;
50
+ &::before {
51
+ top: auto;
52
+ bottom: auto;
53
+ left: 0;
54
+ height: 20px;
55
+ border-radius: 3px;
56
+ }
57
+ }
58
+ // ------ size ------
59
+ // 40 32 24
60
+ &--lg {
61
+ height: @--height-lg;
62
+ }
63
+ &--sm {
64
+ height: @--height-sm;
65
+ }
66
+ }
@@ -221,7 +221,7 @@ export type IFormItem = {
221
221
  closeRemoteMatch?: boolean;
222
222
  fieldAliasMap?: (() => Record<string, string>) | Record<string, string>;
223
223
  extraAliasMap?: (() => Record<string, string>) | Record<string, string>;
224
- filterAliasMap?: (() => string[]) | string[];
224
+ filterAliasMap?: (() => string[] | Record<string, (input: string) => string>) | string[] | Record<string, (input: string) => string>;
225
225
  beforeOpen?: (formData: IFormData) => void | Promise<void> | boolean;
226
226
  closed?: (rowData: Record<string, any>) => void;
227
227
  };
@@ -51,7 +51,7 @@ export declare const createShConfig: (data: any, fieldName: string, createFetch:
51
51
  closeRemoteMatch?: boolean | undefined;
52
52
  fieldAliasMap?: Record<string, string> | (() => Record<string, string>) | undefined;
53
53
  extraAliasMap?: Record<string, string> | (() => Record<string, string>) | undefined;
54
- filterAliasMap?: string[] | (() => string[]) | undefined;
54
+ filterAliasMap?: string[] | Record<string, (input: string) => string> | (() => string[] | Record<string, (input: string) => string>) | undefined;
55
55
  beforeOpen?: ((formData: import("./types").IFormData) => boolean | void | Promise<void>) | undefined;
56
56
  closed?: ((rowData: Record<string, any>) => void) | undefined;
57
57
  };