@lambo-design/shared 1.0.0-beta.321 → 1.0.0-beta.326

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.
@@ -15,6 +15,7 @@ import themeWhite from "./theme-white";
15
15
  import themeCuiWei from "./theme-cuiwei";
16
16
  import themeBwb from "./theme-bwb";
17
17
  import themeCL from "./theme-canglan";
18
+ import themeBlueDigital from "./theme-blue-digital";
18
19
  export default [
19
20
  themeDefault,
20
21
  themeGold,
@@ -32,5 +33,6 @@ export default [
32
33
  themeWhite,
33
34
  themeCuiWei,
34
35
  themeBwb,
35
- themeCL
36
+ themeCL,
37
+ themeBlueDigital
36
38
  ]
@@ -0,0 +1,571 @@
1
+ import {getLocale} from '../locale'
2
+ export default {
3
+ key: "blue-digital",
4
+ title: getLocale('theme.bd'),//"数字深蓝",
5
+ primaryColor: "#306BE3",
6
+ vars: `
7
+ --primary-color: #0D48CE;
8
+ --primary-color-tint-20: #3d6dd8;
9
+ --primary-color-tint-90: #e7edfa;
10
+ --primary-color-tint-80: #cfdaf5;
11
+ --primary-color-tint-5: #1951d0;
12
+ --primary-color-tint-95-fade-50: rgba(243, 246, 253, 0.5);
13
+ --primary-color-fade-20: rgba(13, 72, 206, 0.2);
14
+ --primary-color-shade-5: #0c44c4;
15
+ --info-color: #2db7f5;
16
+ --info-color-tint-20: #57c5f7;
17
+ --info-color-tint-90: #eaf8fe;
18
+ --info-color-tint-80: #d5f1fd;
19
+ --info-color-tint-5: #38bbf6;
20
+ --info-color-tint-95-fade-50: rgba(245, 251, 254, 0.5);
21
+ --info-color-fade-20: rgba(45, 183, 245, 0.2);
22
+ --info-color-shade-5: #2baee9;
23
+ --success-color: #19be6b;
24
+ --success-color-tint-20: #47cb89;
25
+ --success-color-tint-90: #e8f9f0;
26
+ --success-color-tint-80: #d1f2e1;
27
+ --success-color-tint-5: #25c172;
28
+ --success-color-tint-95-fade-50: rgba(244, 252, 248, 0.5);
29
+ --success-color-fade-20: rgba(25, 190, 107, 0.2);
30
+ --success-color-shade-5: #18b566;
31
+ --processing-color: #2d8cf0;
32
+ --warning-color: #ff9900;
33
+ --warning-color-tint-20: #ffad33;
34
+ --warning-color-tint-90: #fff5e6;
35
+ --warning-color-tint-5: #ff9e0d;
36
+ --warning-color-tint-80: #ffebcc;
37
+ --warning-color-tint-95-fade-50: rgba(255, 250, 242, 0.5);
38
+ --warning-color-fade-20: rgba(255, 153, 0, 0.2);
39
+ --warning-color-shade-5: #f29100;
40
+ --error-color: #ed4014;
41
+ --error-color-tint-20: #f16643;
42
+ --error-color-tint-90: #fdece8;
43
+ --error-color-tint-5: #ee4a20;
44
+ --error-color-tint-80: #fbd9d0;
45
+ --error-color-tint-95-fade-50: rgba(254, 245, 243, 0.5);
46
+ --error-color-fade-20: rgba(237, 64, 20, 0.2);
47
+ --error-color-shade-5: #e13d13;
48
+ --normal-color: #e6ebf1;
49
+ --link-color: #2d8cf0;
50
+ --link-hover-color: #57a3f3;
51
+ --link-active-color: #2b85e4;
52
+ --selected-color: rgba(13, 72, 206, 0.9);
53
+ --selected-color-shade-10: rgba(11, 63, 181, 0.91);
54
+ --tooltip-color: #fff;
55
+ --subsidiary-color: #808695;
56
+ --rate-star-color: #f5a623;
57
+ --rate-star-color-tint-20: #f7b84f;
58
+ --white: #fff;
59
+ --black: #000;
60
+ --body-background: #fff;
61
+ --component-background: #fff;
62
+ --font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
63
+ --code-family: Consolas, Menlo, Courier, monospace;
64
+ --title-color: #02234c;
65
+ --text-color: #515a6e;
66
+ --text-color-secondary: rgba(0, 0, 0, 0.45);
67
+ --heading-color: rgba(0, 0, 0, 0.85);
68
+ --heading-color-dark: #ffffff;
69
+ --font-size-base: 14px;
70
+ --font-size-small: 12px;
71
+ --font-size-large: 16px;
72
+ --line-height-base: 1.5;
73
+ --line-height-computed: 21px;
74
+ --border-radius-base: 6px;
75
+ --border-radius-small: 4px;
76
+ --cursor-disabled: not-allowed;
77
+ --padding-lg: 24px;
78
+ --padding-md: 16px;
79
+ --padding-sm: 12px;
80
+ --padding-xs: 8px;
81
+ --border-color-base: #dcdee2;
82
+ --border-color-split: #e8eaec;
83
+ --border-width-base: 1px;
84
+ --border-style-base: solid;
85
+ --background-color-base: #f7f7f7;
86
+ --background-color-select-hover: #f3f3f3;
87
+ --tooltip-bg: rgba(70, 76, 91, 0.9);
88
+ --head-bg: #f9fafc;
89
+ --table-thead-bg: #f8f8f9;
90
+ --table-td-stripe-bg: #f8f8f9;
91
+ --table-td-hover-bg: #ebf7ff;
92
+ --table-td-highlight-bg: #ebf7ff;
93
+ --menu-dark-title: #306BE3;
94
+ --menu-dark-active-bg: #002c6b;
95
+ --menu-user-subsidiary-color: rgba(255, 255, 255, 0.7);
96
+ --menu-dark-subsidiary-color: rgba(255, 255, 255, 0.7);
97
+ --menu-dark-group-title-color: rgba(255, 255, 255, 0.36);
98
+ --date-picker-cell-hover-bg: #e1f0fe;
99
+ --shadow-color: rgba(0, 0, 0, 0.2);
100
+ --shadow-base: 0 1px 6px rgba(0, 0, 0, 0.2);
101
+ --shadow-card: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
102
+ --shadow-up: 0 -1px 6px rgba(0, 0, 0, 0.2);
103
+ --shadow-down: 0 1px 6px rgba(0, 0, 0, 0.2);
104
+ --shadow-left: -1px 0 6px rgba(0, 0, 0, 0.2);
105
+ --shadow-right: 1px 0 6px rgba(0, 0, 0, 0.2);
106
+ --btn-height-base: 32px;
107
+ --btn-height-large: 40px;
108
+ --btn-height-small: 24px;
109
+ --btn-padding-base: 0 15px;
110
+ --btn-padding-large: 0 15px;
111
+ --btn-padding-small: 0 7px;
112
+ --btn-font-weight: normal;
113
+ --btn-padding-base-icon: 5px 15px 6px;
114
+ --btn-padding-large-icon: 6px 15px 6px 15px;
115
+ --btn-padding-small-icon: 1px 7px 2px;
116
+ --btn-font-size: 14px;
117
+ --btn-font-size-large: 16px;
118
+ --btn-font-size-small: 14px;
119
+ --btn-border-radius: 4px;
120
+ --btn-border-radius-small: 3px;
121
+ --btn-group-border: #0c44c4;
122
+ --btn-disable-color: #c5c8ce;
123
+ --btn-disable-bg: #f7f7f7;
124
+ --btn-disable-border: #dcdee2;
125
+ --btn-default-color: #515a6e;
126
+ --btn-default-color-tint-20: #747b8b;
127
+ --btn-default-color-shade-5: #4d5669;
128
+ --btn-default-bg: #fff;
129
+ --btn-default-bg-tint-20: #ffffff;
130
+ --btn-default-bg-shade-5: #f2f2f2;
131
+ --btn-default-border: #dcdee2;
132
+ --btn-default-border-tint-20: #e3e5e8;
133
+ --btn-default-border-shade-5: #d1d3d7;
134
+ --btn-primary-color: #fff;
135
+ --btn-primary-color-tint-20: #ffffff;
136
+ --btn-primary-color-tint-5: #ffffff;
137
+ --btn-primary-color-shade-5: #f2f2f2;
138
+ --btn-primary-bg: #0D48CE;
139
+ --btn-primary-bg-tint-20: #3d6dd8;
140
+ --btn-primary-bg-tint-5: #1951d0;
141
+ --btn-primary-bg-shade-5: #0c44c4;
142
+ --btn-ghost-color: #515a6e;
143
+ --btn-ghost-color-tint-20: #747b8b;
144
+ --btn-ghost-color-shade-5: #4d5669;
145
+ --btn-ghost-bg: #fff;
146
+ --btn-ghost-bg-tint-20: #ffffff;
147
+ --btn-ghost-bg-shade-5: #f2f2f2;
148
+ --btn-ghost-border: #dcdee2;
149
+ --btn-ghost-border-tint-20: #e3e5e8;
150
+ --btn-ghost-border-shade-5: #d1d3d7;
151
+ --btn-circle-size: 32px;
152
+ --btn-circle-size-large: 40px;
153
+ --btn-circle-size-small: 24px;
154
+ --btn-square-size: 32px;
155
+ --btn-square-size-large: 40px;
156
+ --btn-square-size-small: 24px;
157
+ --grid-columns: 24;
158
+ --grid-gutter-width: 0;
159
+ --layout-body-background: #f5f7f9;
160
+ --layout-header-background: #0D48CE;
161
+ --layout-header-height: 64px;
162
+ --layout-header-padding: 0 50px;
163
+ --layout-footer-padding: 24px 50px;
164
+ --layout-footer-background: #f5f7f9;
165
+ --layout-sider-background: #002C6B;
166
+ --layout-sider-background-tint-10: #19417a;
167
+ --layout-trigger-height: 48px;
168
+ --layout-trigger-color: #fff;
169
+ --layout-zero-trigger-width: 36px;
170
+ --layout-zero-trigger-height: 42px;
171
+ --layout-color: #fff;
172
+ --layout-active-color: #0D48CE;
173
+ --layout-header-color: rgba(255, 255, 255, 0.7);
174
+ --layout-header-active-color: #fff;
175
+ --layout-header-nav-fontSize: 14px;
176
+ --layout-header-nav-color: rgba(255, 255, 255, 0.7);
177
+ --layout-header-nav-active-color: #fff;
178
+ --layout-header-nav-active-font-weight: normal;
179
+ --layout-header-nav-active-background-begin: rgba(255, 255, 255, 0.4);
180
+ --layout-header-nav-active-background-end: rgba(255, 255, 255, 0);
181
+ --layout-header-drop-color: rgba(255, 255, 255, 0.7);
182
+ --layout-header-drop-active-color: #fff;
183
+ --layout-header-drop-background: #0D48CE;
184
+ --layout-header-drop-active-background: rgba(255, 255, 255, 0.2);
185
+ --layout-sider-submenu-color: rgba(255, 255, 255, 0.7);
186
+ --layout-sider-submenu-active-color: #fff;
187
+ --layout-sider-submenu-hover-color: #fff;
188
+ --layout-sider-submenu-background: #002C6B;
189
+ --layout-sider-submenu-active-background: #002C6B;
190
+ --layout-sider-submenu-hover-background: rgba(255, 255, 255, 0.2);
191
+ --layout-sider-menuitem-color: rgba(255, 255, 255, 0.7);
192
+ --layout-sider-menuitem-active-color: #fff;
193
+ --layout-sider-menuitem-hover-color: #fff;
194
+ --layout-sider-menuitem-background: #02234C;
195
+ --layout-sider-menuitem-active-background: #0D48CE;
196
+ --layout-sider-menuitem-hover-background: #0D48CE;
197
+ --layout-sider-search-color: rgba(255, 255, 255, 0.7);
198
+ --layout-sider-search-background: #002C6B;
199
+ --layout-sider-search-active-color: #fff;
200
+ --layout-sider-search-active-background: rgba(255, 255, 255, 0.2);
201
+ --layout-sider-line-color: #19417a;
202
+ --layout-sider-menuitem-active-margin: 0;
203
+ --layout-sider-menuitem-active-border-radius: 0;
204
+ --layout-sider-menuitem-active-font-weight: normal;
205
+ --layout-menuitem-padding: 14px 24px;
206
+ --layout-menu-title-icon-right: 24px;
207
+ --layout-menu-item-hover-bottom-border-width: 3.35px;
208
+ --layout-menu-item-horizontal-line-height: 46px;
209
+ --legend-color: #023785;
210
+ --input-height-base: 32px;
211
+ --input-height-large: 40px;
212
+ --input-height-small: 24px;
213
+ --input-padding-horizontal: 7px;
214
+ --input-padding-vertical-base: 4px;
215
+ --input-padding-vertical-small: 1px;
216
+ --input-padding-vertical-large: 6px;
217
+ --input-placeholder-color: #c5c8ce;
218
+ --input-color: #515a6e;
219
+ --input-border-color: #dcdee2;
220
+ --input-border-color-tint-20: #e3e5e8;
221
+ --input-border-radius: 4px;
222
+ --input-border-radius-small: 3px;
223
+ --input-bg: #fff;
224
+ --input-group-bg: #f8f8f9;
225
+ --input-hover-border-color: #0D48CE;
226
+ --input-hover-border-color-tint-20: #3d6dd8;
227
+ --input-hover-border-color-fade-20: rgba(13, 72, 206, 0.2);
228
+ --input-focus-border-color: #0D48CE;
229
+ --input-disabled-bg: #f3f3f3;
230
+ --input-disabled-color: #ccc;
231
+ --tag-font-size: 12px;
232
+ --screen-xs: 480px;
233
+ --screen-xs-min: 480px;
234
+ --screen-xs-max: 479px;
235
+ --screen-sm: 576px;
236
+ --screen-sm-min: 576px;
237
+ --screen-sm-max: 575px;
238
+ --screen-md: 768px;
239
+ --screen-md-min: 768px;
240
+ --screen-md-max: 767px;
241
+ --screen-lg: 992px;
242
+ --screen-lg-min: 992px;
243
+ --screen-lg-max: 991px;
244
+ --screen-xl: 1200px;
245
+ --screen-xl-min: 1200px;
246
+ --screen-xl-max: 1199px;
247
+ --screen-xxl: 1600px;
248
+ --screen-xxl-min: 1600px;
249
+ --screen-xxl-max: 1599px;
250
+ --zindex-spin: 8;
251
+ --zindex-affix: 10;
252
+ --zindex-back-top: 10;
253
+ --zindex-select: 900;
254
+ --zindex-modal: 1000;
255
+ --zindex-drawer: 1000;
256
+ --zindex-message: 1010;
257
+ --zindex-notification: 1010;
258
+ --zindex-tooltip: 1060;
259
+ --zindex-transfer: 1060;
260
+ --zindex-loading-bar: 2000;
261
+ --zindex-spin-fullscreen: 2010;
262
+ --animation-time: 0.3s;
263
+ --animation-time-quick: 0.15s;
264
+ --transition-time: 0.2s;
265
+ --ease-in-out: ease-in-out;
266
+ --slider-color: #3d6dd8;
267
+ --slider-height: 4px;
268
+ --slider-margin: 16px 0;
269
+ --slider-button-wrap-size: 18px;
270
+ --slider-button-wrap-offset: -5px;
271
+ --slider-disabled-color: #ccc;
272
+ --avatar-size-base: 32px;
273
+ --avatar-size-lg: 40px;
274
+ --avatar-size-sm: 24px;
275
+ --avatar-font-size-base: 18px;
276
+ --avatar-font-size-lg: 24px;
277
+ --avatar-font-size-sm: 14px;
278
+ --avatar-bg: #ccc;
279
+ --avatar-color: #2a61c8;
280
+ --avatar-border-radius: 4px;
281
+ --anchor-border-width: 2px;
282
+ --list-header-background: transparent;
283
+ --list-footer-background: transparent;
284
+ --list-empty-text-padding: 16px;
285
+ --list-item-padding: 12px 0;
286
+ --list-item-meta-margin-bottom: 16px;
287
+ --list-item-meta-avatar-margin-right: 16px;
288
+ --list-item-meta-title-margin-bottom: 12px;
289
+ --table-border-style-base: solid;
290
+ --table-header-color: #515a6e;
291
+ --table-header-font-weight: bold;
292
+ --table-header-padding-horizontal: 8px;
293
+ --table-header-padding-vertical: 0;
294
+ --table-cell-height: 48px;
295
+ --table-cell-white-space: normal;
296
+ --table-cell-padding-left: 9px;
297
+ --table-cell-padding-right: 9px;
298
+ --table-header-text-align: left;
299
+ --table-data-text-align: left;
300
+ --table-border-color-base: #dcdee2;
301
+ --table-border-bottom-color-base: #e8eaec;
302
+ --table-border-width-base: 1px;
303
+ --select-dropdown-max-height: 400px;
304
+ --tab-card-bg: #f8f8f9;
305
+ --form-item-label-font-weight: normal;
306
+ --form-item-label-text-color: rgba(0, 0, 0, 0.85);
307
+ --form-item-detail-bg-color: #fff;
308
+ --form-item-error-tip-top: 100%;
309
+ --form-item-tip-font-size: 14px;
310
+ --input-wrapper-width: 95%;
311
+ --select-width: 95%;
312
+ --date-picker-width: 95%;
313
+ /*vxe-table*/
314
+ /*font*/
315
+ --vxe-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
316
+ --vxe-font-size: 14px;
317
+ --vxe-font-size-medium: 14px;
318
+ --vxe-font-size-small: 13px;
319
+ --vxe-font-size-mini: 12px;
320
+ /*size*/
321
+ --vxe-border-radius: 6px;
322
+ --vxe-border-width: 1px;
323
+ --vxe-border-style: solid;
324
+ --vxe-border-color: #dcdee2;
325
+ /*icon*/
326
+ --vxe-icon-font-family: Verdana, Arial, Tahoma;
327
+ --vxe-icon-background-color: #fff;
328
+ /*color*/
329
+ --vxe-font-color: #515a6e;
330
+ --vxe-primary-color: #0D48CE;
331
+ --vxe-success-color: #19be6b;
332
+ --vxe-info-color: #2db7f5;
333
+ --vxe-warning-color: #ff9900;
334
+ --vxe-danger-color: #ed4014;
335
+ --vxe-font-lighten-color: #67728b;
336
+ --vxe-font-lighten-color-20: #828ca3;
337
+ --vxe-primary-lighten-color: #1d5ef1;
338
+ --vxe-success-lighten-color: #27e384;
339
+ --vxe-info-lighten-color: #5ec8f7;
340
+ --vxe-warning-lighten-color: #ffad33;
341
+ --vxe-danger-lighten-color: #f16743;
342
+ --vxe-font-darken-color: #3b4251;
343
+ --vxe-primary-darken-color: #0a379e;
344
+ --vxe-success-darken-color: #139152;
345
+ --vxe-info-darken-color: #0ba1e4;
346
+ --vxe-warning-darken-color: #cc7a00;
347
+ --vxe-danger-darken-color: #bf320f;
348
+ --vxe-font-disabled-color: #c5c8ce;
349
+ --vxe-primary-disabled-color: #4d80f4;
350
+ --vxe-success-disabled-color: #54e99e;
351
+ --vxe-info-disabled-color: #8ed8fa;
352
+ --vxe-warning-disabled-color: #ffc266;
353
+ --vxe-danger-disabled-color: #f48d73;
354
+ /*input/radio/checkbox*/
355
+ --vxe-input-border-color: #dcdee2;
356
+ --vxe-input-disabled-color: #c5c8ce;
357
+ --vxe-input-disabled-background-color: #f3f3f3;
358
+ --vxe-input-placeholder-color: #c5c8ce;
359
+ /*popup*/
360
+ --vxe-table-popup-border-color: #dcdee2;
361
+ /*table*/
362
+ --vxe-table-font-color: #515a6e;
363
+ --vxe-table-font-lighten-color-20: #828ca3;
364
+ --vxe-table-header-font-color: #515a6e;
365
+ --vxe-table-footer-font-color: #515a6e;
366
+ --vxe-table-border-radius: 6px;
367
+ --vxe-table-border-width: 1px;
368
+ --vxe-table-border-style: solid;
369
+ --vxe-table-border-color: #dcdee2;
370
+ --vxe-table-resizable-line-color: #e8eaec;
371
+ --vxe-table-resizable-drag-line-color: #0D48CE;
372
+ --vxe-table-header-background-color: #f8f8f9;
373
+ --vxe-table-body-background-color: #fff;
374
+ --vxe-table-footer-background-color: #fff;
375
+ --vxe-table-tree-node-line-color: #909399;
376
+ --vxe-table-tree-node-line-style: dotted;
377
+ --vxe-table-header-font-weight: bold;
378
+ --vxe-table-border-bottom-width: 0;
379
+ --vxe-table-row-height-default: 48px;
380
+ --vxe-table-row-height-medium: 44px;
381
+ --vxe-table-row-height-small: 40px;
382
+ --vxe-table-row-height-mini: 36px;
383
+ --vxe-table-row-line-height: 1.5;
384
+ --vxe-table-row-hover-background-color: #ebf7ff;
385
+ --vxe-table-row-striped-background-color: #f8f8f9;
386
+ --vxe-table-row-hover-striped-background-color: #ebf7ff;
387
+ --vxe-table-row-radio-checked-background-color: #ebf7ff;
388
+ --vxe-table-row-hover-radio-checked-background-color: #ebf7ff;
389
+ --vxe-table-row-checkbox-checked-background-color: #ebf7ff;
390
+ --vxe-table-row-hover-checkbox-checked-background-color: #ebf7ff;
391
+ --vxe-table-row-current-background-color: #ebf7ff;
392
+ --vxe-table-row-hover-current-background-color: #ebf7ff;
393
+ --vxe-table-column-padding-default: 8px 0;
394
+ --vxe-table-column-padding-medium: 6px 0;
395
+ --vxe-table-column-padding-small: 4px 0;
396
+ --vxe-table-column-padding-mini: 2px 0;
397
+ --vxe-table-column-hover-background-color: #ebf7ff;
398
+ --vxe-table-column-current-background-color: #ebf7ff;
399
+ --vxe-table-column-icon-border-color: #c0c4cc;
400
+ --vxe-table-column-icon-border-hover-color: #515A6E;
401
+ --vxe-table-column-background-image: linear-gradient(#dcdee2, #dcdee2), linear-gradient(#dcdee2, #dcdee2);
402
+ --vxe-table-cell-placeholder-color: #c5c8ce;
403
+ --vxe-table-cell-padding-left: 9px;
404
+ --vxe-table-cell-padding-right: 9px;
405
+ --vxe-table-cell-input-height-default: 42px;
406
+ --vxe-table-cell-input-height-medium: 38px;
407
+ --vxe-table-cell-input-height-small: 34px;
408
+ --vxe-table-cell-input-height-mini: 30px;
409
+ --vxe-table-cell-dirty-width: 5px;
410
+ --vxe-table-cell-dirty-update-color: #f56c6c;
411
+ --vxe-table-cell-dirty-insert-color: #19A15F;
412
+ --vxe-table-cell-area-border-color: #0D48CE;
413
+ --vxe-table-cell-area-border-width: 1px;
414
+ --vxe-table-cell-main-area-extension-border-color: #fff;
415
+ --vxe-table-cell-main-area-extension-background-color: #0D48CE;
416
+ --vxe-table-cell-extend-area-border-width: 2px;
417
+ --vxe-table-cell-copy-area-border-width: 3px;
418
+ --vxe-table-cell-active-area-border-width: 2px;
419
+ --vxe-table-cell-copy-area-border-color: #0D48CE;
420
+ --vxe-table-cell-extend-area-border-color: #0D48CE;
421
+ --vxe-table-cell-active-area-border-color: #0D48CE;
422
+ --vxe-table-cell-area-background-color: rgba(64, 158, 255, 0.2);
423
+ --vxe-table-checkbox-range-border-width: 1px;
424
+ --vxe-table-checkbox-range-border-color: #006af1;
425
+ --vxe-table-checkbox-range-background-color: rgba(50, 128, 252, 0.2);
426
+ --vxe-table-fixed-left-scrolling-box-shadow: 8px 0px 10px -5px rgba(0, 0, 0, 0.12);
427
+ --vxe-table-fixed-right-scrolling-box-shadow: -8px 0px 10px -5px rgba(0, 0, 0, 0.12);
428
+ /*filter*/
429
+ --vxe-table-filter-panel-background-color: #fff;
430
+ /*menu*/
431
+ --vxe-table-menu-item-width: 178px;
432
+ --vxe-table-menu-background-color: #fff;
433
+ /*loading*/
434
+ --vxe-loading-color: #0D48CE;
435
+ --vxe-loading-background-color: rgba(255, 255, 255, 0.5);
436
+ --vxe-loading-z-index: 999;
437
+ /*validate*/
438
+ --vxe-table-validate-error-color: #f56c6c;
439
+ --vxe-table-validate-tooltip-error-color: #fff;
440
+ --vxe-table-validate-tooltip-error-background-color: #f56c6c;
441
+ /*grid*/
442
+ --vxe-grid-maximize-background-color: #fff;
443
+ /*toolbar*/
444
+ --vxe-toolbar-background-color: #fff;
445
+ --vxe-toolbar-custom-active-background-color: #D9DADB;
446
+ --vxe-toolbar-panel-background-color: #fff;
447
+ /*tooltip*/
448
+ --vxe-tooltip-dark-color: #fff;
449
+ --vxe-tooltip-dark-background-color: #303133;
450
+ --vxe-tooltip-light-background-color: #fff;
451
+ /*pager*/
452
+ --vxe-pager-background-color: #fff;
453
+ --vxe-pager-perfect-background-color: #fff;
454
+ --vxe-pager-perfect-button-background-color: #f4f4f5;
455
+ /*modal*/
456
+ --vxe-modal-header-background-color: #F8F8F8;
457
+ --vxe-modal-body-background-color: #fff;
458
+ --vxe-modal-border-color: #ebeef5;
459
+ /*checkbox*/
460
+ --vxe-checkbox-font-size-default: 15px;
461
+ --vxe-checkbox-font-size-medium: 14px;
462
+ --vxe-checkbox-font-size-small: 13px;
463
+ --vxe-checkbox-font-size-mini: 12px;
464
+ --vxe-checkbox-checked-width: 0.32em;
465
+ --vxe-checkbox-checked-height: 0.64em;
466
+ --vxe-checkbox-indeterminate-width: 0.6em;
467
+ --vxe-checkbox-indeterminate-height: 2px;
468
+ --vxe-checkbox-border-width: 2px;
469
+ --vxe-checkbox-border-radius: 2px;
470
+ --vxe-checkbox-icon-background-color: #fff;
471
+ --vxe-checkbox-checked-icon-border-color: #fff;
472
+ --vxe-checkbox-indeterminate-icon-background-color: #fff;
473
+ /*radio*/
474
+ --vxe-radio-font-size-default: 15px;
475
+ --vxe-radio-font-size-medium: 14px;
476
+ --vxe-radio-font-size-small: 13px;
477
+ --vxe-radio-font-size-mini: 12px;
478
+ --vxe-radio-border-width: 2px;
479
+ --vxe-radio-icon-background-color: #fff;
480
+ --vxe-radio-checked-icon-background-color: #fff;
481
+ --vxe-radio-indeterminate-icon-background-color: #fff;
482
+ --vxe-radio-button-default-background-color: #fff;
483
+ /*button*/
484
+ --vxe-button-max-width: 500px;
485
+ --vxe-button-default-background-color: #fff;
486
+ --vxe-button-dropdown-panel-background-color: #fff;
487
+ --vxe-button-height-default: 34px;
488
+ --vxe-button-height-medium: 32px;
489
+ --vxe-button-height-small: 30px;
490
+ --vxe-button-height-mini: 28px;
491
+ --vxe-button-round-border-radius-default: 17px;
492
+ --vxe-button-round-border-radius-medium: 16px;
493
+ --vxe-button-round-border-radius-small: 15px;
494
+ --vxe-button-round-border-radius-mini: 14px;
495
+ /*input*/
496
+ --vxe-input-background-color: #fff;
497
+ --vxe-input-panel-background-color: #fff;
498
+ --vxe-input-number-disabled-color: #e4e7ed;
499
+ --vxe-input-date-festival-color: #999999;
500
+ --vxe-input-date-festival-important-color: #0D48CE;
501
+ --vxe-input-date-notice-background-color: #FF0000;
502
+ --vxe-input-date-picker-hover-background-color: #f2f6fc;
503
+ --vxe-input-date-picker-selected-color: #fff;
504
+ --vxe-input-date-time-confirm-button-color: #fff;
505
+ --vxe-input-date-picker-festival-selected-color: #fff;
506
+ --vxe-input-date-picker-notice-selected-background-color: #fff;
507
+ --vxe-input-date-extra-color: #67c23a;
508
+ --vxe-input-date-extra-important-color: #fd2222;
509
+ --vxe-input-date-title-height-default: 30px;
510
+ --vxe-input-date-title-height-medium: 29px;
511
+ --vxe-input-date-title-height-small: 28px;
512
+ --vxe-input-date-title-height-mini: 26px;
513
+ --vxe-input-date-time-week-row-height-default: 38px;
514
+ --vxe-input-date-time-week-row-height-medium: 36px;
515
+ --vxe-input-date-time-week-row-height-small: 34px;
516
+ --vxe-input-date-time-week-row-height-mini: 32px;
517
+ --vxe-input-date-month-year-row-height-default: 48px;
518
+ --vxe-input-date-month-year-row-height-medium: 46px;
519
+ --vxe-input-date-month-year-row-height-small: 44px;
520
+ --vxe-input-date-month-year-row-height-mini: 42px;
521
+ --vxe-input-date-quarter-row-height-default: 60px;
522
+ --vxe-input-date-quarter-row-height-medium: 58px;
523
+ --vxe-input-date-quarter-row-height-small: 56px;
524
+ --vxe-input-date-quarter-row-height-mini: 54px;
525
+ --vxe-input-height-default: 34px;
526
+ --vxe-input-height-medium: 32px;
527
+ --vxe-input-height-small: 30px;
528
+ --vxe-input-height-mini: 28px;
529
+ /*textarea*/
530
+ --vxe-textarea-line-height: 1.5715;
531
+ --vxe-textarea-background-color: #fff;
532
+ /*form*/
533
+ --vxe-form-item-min-height-default: 36px;
534
+ --vxe-form-item-min-height-medium: 34px;
535
+ --vxe-form-item-min-height-small: 32px;
536
+ --vxe-form-item-min-height-mini: 30px;
537
+ --vxe-form-background-color: #fff;
538
+ --vxe-form-validate-error-color: #f56c6c;
539
+ --vxe-form-validate-error-background-color: inherit;
540
+ /*select*/
541
+ --vxe-select-option-height-default: 30px;
542
+ --vxe-select-option-height-medium: 28px;
543
+ --vxe-select-option-height-small: 26px;
544
+ --vxe-select-option-height-mini: 24px;
545
+ --vxe-select-option-hover-background-color: #f5f7fa;
546
+ --vxe-select-panel-background-color: #fff;
547
+ --vxe-select-empty-color: #C0C4CC;
548
+ --vxe-optgroup-title-color: #909399;
549
+ /*switch*/
550
+ --vxe-switch-font-color: #fff;
551
+ --vxe-switch-icon-background-color: #fff;
552
+ --vxe-switch-open-background-color: #0D48CE;
553
+ --vxe-switch-close-background-color: rgba(0, 0, 0, 0.35);
554
+ --vxe-switch-disabled-background-color: rgba(0, 0, 0, 0.15);
555
+ /*pulldown*/
556
+ --vxe-pulldown-panel-background-color: #fff;
557
+ --page-container-title-font-size: 16px;
558
+ --content-header-bg-color: #fff;
559
+ --content-header-font-weight: 500;
560
+ /*indicator-card*/
561
+ --indicator-card-header-background: #fff;
562
+ --indicator-card-header-color: rgba(0, 0, 0, 0.85);
563
+ --indicator-card-header-background-color: transparent;
564
+ `,
565
+ style:`
566
+ html {
567
+ padding:0;
568
+ margin:0;
569
+ }
570
+ `
571
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/shared",
3
- "version": "1.0.0-beta.321",
3
+ "version": "1.0.0-beta.326",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -26,8 +26,8 @@
26
26
  "nanoid": "^3.3.7",
27
27
  "node-rsa": "^1.1.1",
28
28
  "qs": "^6.11.0",
29
- "@lambo-design/xlsx": "^1.0.0-beta.2",
30
- "@lambo-design/xlsx-style": "^1.0.0-beta.9"
29
+ "@lambo-design/xlsx-style": "^1.0.0-beta.9",
30
+ "@lambo-design/xlsx": "^1.0.0-beta.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "vue": "^2.6.12"
package/utils/style.js CHANGED
@@ -1,24 +1,24 @@
1
- const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g
2
- const MOZ_HACK_REGEXP = /^moz([A-Z])/
3
-
4
- function camelCase(name) {
5
- return name
6
- .replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
7
- return offset ? letter.toUpperCase() : letter
8
- })
9
- .replace(MOZ_HACK_REGEXP, 'Moz$1')
10
- }
11
- // getStyle
12
- export function getStyle(element, styleName) {
13
- if (!element || !styleName) return null
14
- styleName = camelCase(styleName)
15
- if (styleName === 'float') {
16
- styleName = 'cssFloat'
17
- }
18
- try {
19
- const computed = document.defaultView.getComputedStyle(element, '')
20
- return element.style[styleName] || computed ? computed[styleName] : null
21
- } catch (e) {
22
- return element.style[styleName]
23
- }
24
- }
1
+ const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g
2
+ const MOZ_HACK_REGEXP = /^moz([A-Z])/
3
+
4
+ function camelCase(name) {
5
+ return name
6
+ .replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
7
+ return offset ? letter.toUpperCase() : letter
8
+ })
9
+ .replace(MOZ_HACK_REGEXP, 'Moz$1')
10
+ }
11
+ // getStyle
12
+ export function getStyle(element, styleName) {
13
+ if (!element || !styleName) return null
14
+ styleName = camelCase(styleName)
15
+ if (styleName === 'float') {
16
+ styleName = 'cssFloat'
17
+ }
18
+ try {
19
+ const computed = document.defaultView.getComputedStyle(element, '')
20
+ return element.style[styleName] || computed ? computed[styleName] : null
21
+ } catch (e) {
22
+ return element.style[styleName]
23
+ }
24
+ }
@@ -1,7 +1,7 @@
1
- let transferIndex = 1000
2
-
3
- function transferIncrease() {
4
- transferIndex++
5
- }
6
-
7
- export { transferIndex, transferIncrease }
1
+ let transferIndex = 1000
2
+
3
+ function transferIncrease() {
4
+ transferIndex++
5
+ }
6
+
7
+ export { transferIndex, transferIncrease }