@lambo-design/shared 1.0.0-beta.330 → 1.0.0-beta.332

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.
@@ -26,7 +26,6 @@ vxe-table
26
26
  /*select*/
27
27
  /*switch*/
28
28
  /*pulldown*/
29
- /*indicator-card*/
30
29
  :root {
31
30
  --primary-color: #258b73;
32
31
  --primary-color-tint-20: #51a28f;
@@ -223,13 +222,8 @@ vxe-table
223
222
  --layout-sider-search-active-color: #fff;
224
223
  --layout-sider-search-active-background: rgba(255, 255, 255, 0.2);
225
224
  --layout-sider-line-color: #000;
226
- --layout-sider-menuitem-active-margin: 0;
227
- --layout-sider-menuitem-active-border-radius: 0;
228
- --layout-sider-menuitem-active-font-weight: normal;
229
225
  --layout-menuitem-padding: 14px 24px;
230
226
  --layout-menu-title-icon-right: 24px;
231
- --layout-menu-item-hover-bottom-border-width: 0px;
232
- --layout-menu-item-horizontal-line-height: 50px;
233
227
  --legend-color: #333333;
234
228
  --input-height-base: 26px;
235
229
  --input-height-large: 40px;
@@ -321,9 +315,9 @@ vxe-table
321
315
  --table-cell-padding-right: 9px;
322
316
  --table-header-text-align: center;
323
317
  --table-data-text-align: left;
324
- --table-border-color-base: #E5E8EF;
325
- --table-border-bottom-color-base: #E5E8EF;
326
- --table-border-width-base: 1px;
318
+ --table-border-color-base: #fff;
319
+ --table-border-bottom-color-base: #F3F3F3;
320
+ --table-border-width-base: 0;
327
321
  --select-dropdown-max-height: 400px;
328
322
  --tab-card-bg: #EEF6F4;
329
323
  --form-item-label-font-weight: normal;
@@ -388,7 +382,7 @@ vxe-table
388
382
  --vxe-table-header-font-color: #899D98;
389
383
  --vxe-table-footer-font-color: #333333;
390
384
  --vxe-table-border-radius: 12px;
391
- --vxe-table-border-width: 1px;
385
+ --vxe-table-border-width: 0;
392
386
  --vxe-table-border-style: solid;
393
387
  --vxe-table-border-color: #C2D1CC;
394
388
  --vxe-table-resizable-line-color: #e0e0e0;
@@ -399,7 +393,7 @@ vxe-table
399
393
  --vxe-table-tree-node-line-color: #909399;
400
394
  --vxe-table-tree-node-line-style: dotted;
401
395
  --vxe-table-header-font-weight: bold;
402
- --vxe-table-border-bottom-width: 0px;
396
+ --vxe-table-border-bottom-width: 1px;
403
397
  --vxe-table-row-height-default: 48px;
404
398
  --vxe-table-row-height-medium: 44px;
405
399
  --vxe-table-row-height-small: 40px;
@@ -422,7 +416,7 @@ vxe-table
422
416
  --vxe-table-column-current-background-color: #F8FBFB;
423
417
  --vxe-table-column-icon-border-color: #c0c4cc;
424
418
  --vxe-table-column-icon-border-hover-color: #515A6E;
425
- --vxe-table-column-background-image: linear-gradient(#fff, #fff), linear-gradient(#C2D1CC, #C2D1CC);
419
+ --vxe-table-column-background-image: linear-gradient(#C2D1CC, #C2D1CC), linear-gradient(#C2D1CC, #C2D1CC);
426
420
  --vxe-table-cell-placeholder-color: #c5c8ce;
427
421
  --vxe-table-cell-padding-left: 9px;
428
422
  --vxe-table-cell-padding-right: 9px;
@@ -581,9 +575,4 @@ vxe-table
581
575
  --page-container-title-font-size: 18px;
582
576
  --content-header-bg-color: #F5F9F9;
583
577
  --content-header-font-weight: bold;
584
- /*indicator-card*/
585
- --indicator-card-header-background: #fff;
586
- --indicator-card-header-color: #333333;
587
- --indicator-card-header-background-color: transparent;
588
578
  }
589
- /*# sourceMappingURL=danqing.css.map */
@@ -495,7 +495,7 @@ vxe-table
495
495
  @vxe-table-column-current-background-color : @table-td-highlight-bg;
496
496
  @vxe-table-column-icon-border-color : #c0c4cc;
497
497
  @vxe-table-column-icon-border-hover-color : #515A6E;
498
- @vxe-table-column-background-image : linear-gradient(#fff, #fff), linear-gradient(@vxe-table-border-color, @vxe-table-border-color);
498
+ @vxe-table-column-background-image : linear-gradient(@vxe-table-border-color, @vxe-table-border-color), linear-gradient(@vxe-table-border-color, @vxe-table-border-color);
499
499
 
500
500
 
501
501
  @vxe-table-cell-placeholder-color : @input-placeholder-color;
@@ -401,7 +401,7 @@ export default {
401
401
  --vxe-table-column-current-background-color: #F8FBFB;
402
402
  --vxe-table-column-icon-border-color: #c0c4cc;
403
403
  --vxe-table-column-icon-border-hover-color: #515A6E;
404
- --vxe-table-column-background-image: linear-gradient(#fff, #fff), linear-gradient(#C2D1CC, #C2D1CC);
404
+ --vxe-table-column-background-image: linear-gradient(#C2D1CC, #C2D1CC), linear-gradient(#C2D1CC, #C2D1CC);
405
405
  --vxe-table-cell-placeholder-color: #c5c8ce;
406
406
  --vxe-table-cell-padding-left: 9px;
407
407
  --vxe-table-cell-padding-right: 9px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/shared",
3
- "version": "1.0.0-beta.330",
3
+ "version": "1.0.0-beta.332",
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 }