cnhis-design-vue 3.1.9-beta.2 → 3.1.9-beta.3

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 (47) hide show
  1. package/README.md +22 -22
  2. package/es/packages/big-table/style/index.less +557 -557
  3. package/es/packages/bpmn-workflow/style/index.less +29 -29
  4. package/es/packages/button-print/style/index.less +30 -30
  5. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +4 -6
  6. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +0 -3
  7. package/es/packages/chunk-upload/style/index.less +394 -394
  8. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +5 -8
  9. package/es/packages/drag-layout/style/index.less +208 -208
  10. package/es/packages/field-set/style/index.less +157 -157
  11. package/es/packages/form-render/index.d.ts +1 -2
  12. package/es/packages/form-render/index.mjs +1 -1
  13. package/es/packages/form-render/src/FormRender.vue.d.ts +1 -2
  14. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.mjs +11 -6
  15. package/es/packages/form-render/src/components/cascader.d.ts +6 -2
  16. package/es/packages/form-render/src/components/cascader.mjs +11 -5
  17. package/es/packages/form-render/src/components/select.d.ts +2 -0
  18. package/es/packages/form-render/src/components/select.mjs +16 -10
  19. package/es/packages/form-render/src/constants/index.d.ts +2 -1
  20. package/es/packages/form-render/src/constants/index.mjs +2 -1
  21. package/es/packages/form-render/src/hooks/index.d.ts +1 -1
  22. package/es/packages/form-render/src/hooks/index.mjs +1 -1
  23. package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +3 -1
  24. package/es/packages/form-render/src/hooks/useBusinessBinding.mjs +15 -15
  25. package/es/packages/form-render/src/hooks/useFormField.d.ts +1 -0
  26. package/es/packages/form-render/src/hooks/useFormField.mjs +7 -1
  27. package/es/packages/form-render/src/hooks/useFormItemDeps.d.ts +8 -0
  28. package/es/packages/form-render/src/hooks/useFormItemDeps.mjs +29 -0
  29. package/es/packages/form-render/src/utils/index.d.ts +5 -3
  30. package/es/packages/form-render/src/utils/index.mjs +13 -1
  31. package/es/packages/form-table/style/index.less +301 -301
  32. package/es/packages/grid/style/index.less +12 -12
  33. package/es/packages/index.less +2945 -2945
  34. package/es/packages/index.mjs +1 -1
  35. package/es/packages/info-header/style/index.less +153 -153
  36. package/es/packages/map/style/index.less +59 -59
  37. package/es/packages/scale-view/style/index.less +748 -748
  38. package/es/packages/select-label/src/LabelFormContent.vue.d.ts +0 -3
  39. package/es/packages/select-label/style/index.less +151 -151
  40. package/es/packages/select-person/style/index.less +229 -229
  41. package/es/packages/time-line/style/index.less +34 -34
  42. package/es/src/types/index.d.ts +1 -0
  43. package/global.d.ts +8 -8
  44. package/package.json +1 -1
  45. package/yarn-error.log +8659 -103
  46. package/es/packages/form-render/src/hooks/useUrlDeps.d.ts +0 -1
  47. package/es/packages/form-render/src/hooks/useUrlDeps.mjs +0 -4
@@ -1,229 +1,229 @@
1
- @primary-color: #5585f5;
2
- .people-tree {
3
- display: flex;
4
-
5
- .people-tree-item {
6
- width: 50%;
7
- padding: 22px 12px 0;
8
- max-height: 376px;
9
- height: 376px;
10
- overflow-y: auto;
11
-
12
- &.people-tree-left {
13
- display: flex;
14
- flex-direction: column;
15
- }
16
-
17
- &:first-child {
18
- border-right: 1px solid #e8e8e8;
19
- }
20
-
21
- .tag-item {
22
- &.isRoot {
23
- background: rgba(@primary-color, 0.08);
24
- border: 1px solid rgba(@primary-color, 0.5);
25
- color: @primary-color;
26
-
27
- .tag-close {
28
- color: @primary-color;
29
-
30
- &:hover {
31
- color: rgba(@primary-color, 0.6);
32
- }
33
- }
34
-
35
- }
36
-
37
- box-sizing: border-box;
38
- color: #212121;
39
- font-size: 14px;
40
- list-style: none;
41
- display: inline-flex;
42
- align-items: center;
43
- height: 24px;
44
- line-height: 24px;
45
- margin-right: 8px;
46
- margin-bottom: 4px;
47
- padding: 0 6px;
48
- white-space: nowrap;
49
- background: rgba(#d5d5d5, 0.2);
50
- border: 1px solid rgba(#000000, 0.14);
51
- border-radius: 4px;
52
- transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
53
-
54
- .tag-close {
55
- &:hover {
56
- color: rgba(@primary-color, 0.6);
57
- }
58
-
59
- &:active {
60
- color: #fff;
61
- }
62
-
63
- display: inline-block;
64
- font-size: 14px;
65
- margin-left: 3px;
66
- color: #969696;
67
- font-weight: 700;
68
- cursor: pointer;
69
- transition: all 0.3s;
70
- }
71
- }
72
-
73
- .no-data-tips {
74
- height: 200px;
75
- width: 100%;
76
- display: flex;
77
- justify-content: center;
78
- align-items: center;
79
- font-size: 16px;
80
- font-weight: 700;
81
- }
82
-
83
- .c-title {
84
- font-size: 14px;
85
- font-family: PingFangSC-Regular, PingFang SC;
86
- font-weight: 400;
87
- color: #212121;
88
- }
89
-
90
- .c-sub-title {
91
- font-size: 12px;
92
- font-family: PingFangSC-Regular, PingFang SC;
93
- color: #4e4e4e;
94
- }
95
-
96
- .p-title {
97
- font-size: 14px;
98
- font-family: PingFangSC-Medium, PingFang SC;
99
- font-weight: 500;
100
- color: #212121;
101
- }
102
-
103
- &.tags-box {
104
- display: flex;
105
- flex-wrap: wrap;
106
- justify-content: flex-start;
107
- align-items: flex-start;
108
- align-content: flex-start;
109
- }
110
- }
111
- }
112
-
113
- .df {
114
- display: flex;
115
- }
116
-
117
- .search-input-icon {
118
- color: rgba(0, 0, 0, 0.4);
119
- margin-bottom: -2px;
120
- }
121
-
122
- .main-tree-container {
123
- overflow-y: auto;
124
- }
125
-
126
- .df {
127
- display: flex;
128
- }
129
-
130
- .search-tree-wrap {
131
- .search-tree-item {
132
- display: flex;
133
- align-items: center;
134
- }
135
-
136
- .name-wrap {
137
- width: 48px;
138
- height: 48px;
139
- background: #7d88b5;
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- border-radius: 50%;
144
- margin-right: 13px;
145
-
146
- .name {
147
- font-size: 16px;
148
- color: #ffffff;
149
- margin-bottom: 0;
150
- line-height: 16px;
151
- }
152
- }
153
-
154
- .info-wrap {
155
- overflow: hidden;
156
- text-overflow: ellipsis;
157
- white-space: nowrap;
158
- display: flex;
159
- flex-direction: column;
160
- }
161
-
162
- .info-wrap-top {
163
- align-items: flex-end;
164
- margin: 0;
165
- margin-bottom: 1px;
166
- overflow: hidden;
167
- text-overflow: ellipsis;
168
- white-space: nowrap;
169
- }
170
-
171
- .info-wrap-title {
172
- margin-bottom: 0;
173
- font-size: 16px;
174
- font-family: PingFangSC-Regular, PingFang SC;
175
- font-weight: 400;
176
- color: #4e4e4e;
177
- line-height: 16px;
178
-
179
- .c-title {
180
- font-size: 14px;
181
- font-family: PingFangSC-Regular, PingFang SC;
182
- font-weight: 400;
183
- color: #212121;
184
- }
185
-
186
- .c-sub-title {
187
- font-size: 12px;
188
- font-family: PingFangSC-Regular, PingFang SC;
189
- color: #4e4e4e;
190
- }
191
- }
192
-
193
- .info-wrap-desc {
194
- margin-left: 10px;
195
- margin-bottom: 0;
196
- font-size: 12px;
197
- line-height: 17px;
198
- color: #aeaeae;
199
- }
200
-
201
- .info-wrap-position {
202
- margin-bottom: 0;
203
- font-size: 12px;
204
- color: #7d88b5;
205
- line-height: 17px;
206
- }
207
- }
208
-
209
- .load-more-btn-wrap {
210
- display: flex;
211
- justify-content: center;
212
- height: 35px;
213
- line-height: 35px;
214
- cursor: pointer;
215
- padding-top: 10px;
216
- box-sizing: border-box;
217
-
218
- .search-input-icon {
219
- font-size: 16px;
220
- color: rgba(0, 0, 0, 0.4);
221
- margin-right: 14px;
222
- }
223
-
224
- .load-more-btn {
225
- font-size: 12px;
226
- color: #747c8e;
227
- line-height: 12px;
228
- }
229
- }
1
+ @primary-color: #5585f5;
2
+ .people-tree {
3
+ display: flex;
4
+
5
+ .people-tree-item {
6
+ width: 50%;
7
+ padding: 22px 12px 0;
8
+ max-height: 376px;
9
+ height: 376px;
10
+ overflow-y: auto;
11
+
12
+ &.people-tree-left {
13
+ display: flex;
14
+ flex-direction: column;
15
+ }
16
+
17
+ &:first-child {
18
+ border-right: 1px solid #e8e8e8;
19
+ }
20
+
21
+ .tag-item {
22
+ &.isRoot {
23
+ background: rgba(@primary-color, 0.08);
24
+ border: 1px solid rgba(@primary-color, 0.5);
25
+ color: @primary-color;
26
+
27
+ .tag-close {
28
+ color: @primary-color;
29
+
30
+ &:hover {
31
+ color: rgba(@primary-color, 0.6);
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+ box-sizing: border-box;
38
+ color: #212121;
39
+ font-size: 14px;
40
+ list-style: none;
41
+ display: inline-flex;
42
+ align-items: center;
43
+ height: 24px;
44
+ line-height: 24px;
45
+ margin-right: 8px;
46
+ margin-bottom: 4px;
47
+ padding: 0 6px;
48
+ white-space: nowrap;
49
+ background: rgba(#d5d5d5, 0.2);
50
+ border: 1px solid rgba(#000000, 0.14);
51
+ border-radius: 4px;
52
+ transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
53
+
54
+ .tag-close {
55
+ &:hover {
56
+ color: rgba(@primary-color, 0.6);
57
+ }
58
+
59
+ &:active {
60
+ color: #fff;
61
+ }
62
+
63
+ display: inline-block;
64
+ font-size: 14px;
65
+ margin-left: 3px;
66
+ color: #969696;
67
+ font-weight: 700;
68
+ cursor: pointer;
69
+ transition: all 0.3s;
70
+ }
71
+ }
72
+
73
+ .no-data-tips {
74
+ height: 200px;
75
+ width: 100%;
76
+ display: flex;
77
+ justify-content: center;
78
+ align-items: center;
79
+ font-size: 16px;
80
+ font-weight: 700;
81
+ }
82
+
83
+ .c-title {
84
+ font-size: 14px;
85
+ font-family: PingFangSC-Regular, PingFang SC;
86
+ font-weight: 400;
87
+ color: #212121;
88
+ }
89
+
90
+ .c-sub-title {
91
+ font-size: 12px;
92
+ font-family: PingFangSC-Regular, PingFang SC;
93
+ color: #4e4e4e;
94
+ }
95
+
96
+ .p-title {
97
+ font-size: 14px;
98
+ font-family: PingFangSC-Medium, PingFang SC;
99
+ font-weight: 500;
100
+ color: #212121;
101
+ }
102
+
103
+ &.tags-box {
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ justify-content: flex-start;
107
+ align-items: flex-start;
108
+ align-content: flex-start;
109
+ }
110
+ }
111
+ }
112
+
113
+ .df {
114
+ display: flex;
115
+ }
116
+
117
+ .search-input-icon {
118
+ color: rgba(0, 0, 0, 0.4);
119
+ margin-bottom: -2px;
120
+ }
121
+
122
+ .main-tree-container {
123
+ overflow-y: auto;
124
+ }
125
+
126
+ .df {
127
+ display: flex;
128
+ }
129
+
130
+ .search-tree-wrap {
131
+ .search-tree-item {
132
+ display: flex;
133
+ align-items: center;
134
+ }
135
+
136
+ .name-wrap {
137
+ width: 48px;
138
+ height: 48px;
139
+ background: #7d88b5;
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: center;
143
+ border-radius: 50%;
144
+ margin-right: 13px;
145
+
146
+ .name {
147
+ font-size: 16px;
148
+ color: #ffffff;
149
+ margin-bottom: 0;
150
+ line-height: 16px;
151
+ }
152
+ }
153
+
154
+ .info-wrap {
155
+ overflow: hidden;
156
+ text-overflow: ellipsis;
157
+ white-space: nowrap;
158
+ display: flex;
159
+ flex-direction: column;
160
+ }
161
+
162
+ .info-wrap-top {
163
+ align-items: flex-end;
164
+ margin: 0;
165
+ margin-bottom: 1px;
166
+ overflow: hidden;
167
+ text-overflow: ellipsis;
168
+ white-space: nowrap;
169
+ }
170
+
171
+ .info-wrap-title {
172
+ margin-bottom: 0;
173
+ font-size: 16px;
174
+ font-family: PingFangSC-Regular, PingFang SC;
175
+ font-weight: 400;
176
+ color: #4e4e4e;
177
+ line-height: 16px;
178
+
179
+ .c-title {
180
+ font-size: 14px;
181
+ font-family: PingFangSC-Regular, PingFang SC;
182
+ font-weight: 400;
183
+ color: #212121;
184
+ }
185
+
186
+ .c-sub-title {
187
+ font-size: 12px;
188
+ font-family: PingFangSC-Regular, PingFang SC;
189
+ color: #4e4e4e;
190
+ }
191
+ }
192
+
193
+ .info-wrap-desc {
194
+ margin-left: 10px;
195
+ margin-bottom: 0;
196
+ font-size: 12px;
197
+ line-height: 17px;
198
+ color: #aeaeae;
199
+ }
200
+
201
+ .info-wrap-position {
202
+ margin-bottom: 0;
203
+ font-size: 12px;
204
+ color: #7d88b5;
205
+ line-height: 17px;
206
+ }
207
+ }
208
+
209
+ .load-more-btn-wrap {
210
+ display: flex;
211
+ justify-content: center;
212
+ height: 35px;
213
+ line-height: 35px;
214
+ cursor: pointer;
215
+ padding-top: 10px;
216
+ box-sizing: border-box;
217
+
218
+ .search-input-icon {
219
+ font-size: 16px;
220
+ color: rgba(0, 0, 0, 0.4);
221
+ margin-right: 14px;
222
+ }
223
+
224
+ .load-more-btn {
225
+ font-size: 12px;
226
+ color: #747c8e;
227
+ line-height: 12px;
228
+ }
229
+ }
@@ -1,35 +1,35 @@
1
- @border-width: 5px;
2
- .c-time-line {
3
- &.n-timeline .n-timeline-item .n-timeline-item-timeline .n-timeline-item-timeline__circle {
4
- width: 10px;
5
- height: 10px;
6
- border-left-width: @border-width;
7
- border-right-width: @border-width;
8
- border-top-width: @border-width;
9
- border-bottom-width: @border-width;
10
- margin-left: 2px;
11
- }
12
- .content {
13
- width: 245px;
14
- padding: 10px;
15
- box-sizing: border-box;
16
- border: 1px solid #D5D5D5;
17
- border-radius: 4px;
18
- background-color: #FAFAFA;
19
- color: #212121;
20
- font-size: 14px;
21
- margin-bottom: 10px;
22
- &-name {
23
- font-size: 16px;
24
- font-weight: 600;
25
- &+span {
26
- color: #666;
27
- }
28
- }
29
- p {
30
- margin: 5px 0 0;
31
- line-height: 20px;
32
- text-align: left;
33
- }
34
- }
1
+ @border-width: 5px;
2
+ .c-time-line {
3
+ &.n-timeline .n-timeline-item .n-timeline-item-timeline .n-timeline-item-timeline__circle {
4
+ width: 10px;
5
+ height: 10px;
6
+ border-left-width: @border-width;
7
+ border-right-width: @border-width;
8
+ border-top-width: @border-width;
9
+ border-bottom-width: @border-width;
10
+ margin-left: 2px;
11
+ }
12
+ .content {
13
+ width: 245px;
14
+ padding: 10px;
15
+ box-sizing: border-box;
16
+ border: 1px solid #D5D5D5;
17
+ border-radius: 4px;
18
+ background-color: #FAFAFA;
19
+ color: #212121;
20
+ font-size: 14px;
21
+ margin-bottom: 10px;
22
+ &-name {
23
+ font-size: 16px;
24
+ font-weight: 600;
25
+ &+span {
26
+ color: #666;
27
+ }
28
+ }
29
+ p {
30
+ margin: 5px 0 0;
31
+ line-height: 20px;
32
+ text-align: left;
33
+ }
34
+ }
35
35
  }
@@ -6,3 +6,4 @@ export declare type AnyObject = Record<string, any>;
6
6
  export declare type Func<T extends Array<any> = any[], P = any> = (...args: T) => P;
7
7
  export declare type WithNull<T> = T | null;
8
8
  export declare type WithUndefined<T> = T | undefined;
9
+ export declare type ArrayAble<T> = T | T[];
package/global.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import * as NaiveUI from 'naive-ui';
2
-
3
- declare module 'naive-ui' {
4
- // @ts-ignore
5
- export const NTree: any;
6
- }
7
-
8
- export {};
1
+ import * as NaiveUI from 'naive-ui';
2
+
3
+ declare module 'naive-ui' {
4
+ // @ts-ignore
5
+ export const NTree: any;
6
+ }
7
+
8
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
3
  "private": false,
4
- "version": "3.1.9-beta.2",
4
+ "version": "3.1.9-beta.3",
5
5
  "license": "ISC",
6
6
  "module": "es/packages/index.mjs",
7
7
  "main": "es/packages/index.mjs",