@indfnd/common 1.1.45 → 1.1.48

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indfnd/common",
3
- "version": "1.1.45",
3
+ "version": "1.1.48",
4
4
  "author": "huxuetong",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,16 +55,17 @@
55
55
  "file-saver": "^2.0.5",
56
56
  "signature_pad": "^4.1.7",
57
57
  "vuedraggable": "^2.24.3",
58
+ "wangeditor": "^3.1.1",
58
59
  "xe-utils": "3",
59
60
  "xlsx": "^0.17.2",
60
- "xlsx-populate": "^1.11.0",
61
- "wangeditor": "^3.1.1"
61
+ "xlsx-populate": "^1.11.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@indfnd/utils": "^0.1.33",
65
65
  "ag-grid-community": "^30.1.0",
66
66
  "ag-grid-enterprise": "^30.1.0",
67
67
  "ag-grid-vue": "^30.1.0",
68
+ "axios": "^0.24.0",
68
69
  "eslint": "^3.19.0",
69
70
  "eslint-config-prettier": "^8.5.0",
70
71
  "eslint-plugin-prettier": "^4.2.1",
@@ -89,8 +90,7 @@
89
90
  "vue-router": "^3.5.3",
90
91
  "vue-template-compiler": "^2.6.12",
91
92
  "vue-tsc": "^1.8.8",
92
- "vuex": "^3.6.2",
93
- "axios": "^0.24.0"
93
+ "vuex": "^3.6.2"
94
94
  },
95
95
  "engines": {
96
96
  "node": ">= 16"
@@ -5,7 +5,72 @@
5
5
  height: 100%;
6
6
  border-radius: 4px;
7
7
  background: #ffffff;
8
-
8
+ &.mini-theme {
9
+ --input-height-table-self: 18px;
10
+ .ag-button {
11
+ .ivu-btn-small {
12
+ line-height: var(--input-height-table-self) !important;
13
+ height: var(--input-height-table-self) !important;
14
+ }
15
+ }
16
+ .ag-date {
17
+ input,
18
+ .ivu-input-suffix,
19
+ .ivu-input-prefix i,
20
+ .ivu-input-suffix i {
21
+ height: calc(var(--input-height-table-self) - 1px) !important;
22
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
23
+ // top: -2px !important;
24
+ }
25
+ }
26
+ .ag-input {
27
+ input {
28
+ // text-align: right;
29
+ height: calc(var(--input-height-table-self) - 1px) !important;
30
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
31
+ background-color: #dae8ff;
32
+ // top: -2px !important;
33
+ }
34
+ }
35
+ .ag-ind-select {
36
+ width: 100%;
37
+ .ivu-select-single,
38
+ .ivu-select-input,
39
+ .ivu-select-selection,
40
+ .ivu-select-selected-value,
41
+ .ivu-select-placeholder,
42
+ .ivu-select-default.ivu-select-multiple .ivu-select-selection {
43
+ width: 100%;
44
+ height: calc(var(--input-height-table-self) - 1px) !important;
45
+ min-height: calc(var(--input-height-table-self) - 1px) !important;
46
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
47
+ // top: -2px !important;
48
+ }
49
+ .ivu-tag {
50
+ height: calc(var(--input-height-table-self) - 4px) !important;
51
+ line-height: calc(var(--input-height-table-self) - 4px) !important;
52
+ }
53
+ .ivu-select-selection > div .ivu-tag {
54
+ margin-top: 0 !important;
55
+ }
56
+ }
57
+ .ag-tree-select {
58
+ width: 100%;
59
+ .ivu-input-wrapper {
60
+ // top: -2px;
61
+ }
62
+ input {
63
+ width: 100%;
64
+ }
65
+ input,
66
+ .ivu-input-icon {
67
+ height: calc(var(--input-height-table-self) - 1px) !important;
68
+ min-height: calc(var(--input-height-table-self) - 1px) !important;
69
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
70
+ // top: -2px !important;
71
+ }
72
+ }
73
+ }
9
74
  &.fullscreen-fixed {
10
75
  padding: var(--ind-table-padding);
11
76
  }
@@ -362,3 +362,21 @@ body > .ivu-tooltip-popper {
362
362
  .ivu-tree-arrow i {
363
363
  font-size: 20px !important;
364
364
  }
365
+
366
+ // checkbox 默认选中 湖北客户要求加深颜色
367
+ .ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after
368
+ {
369
+ border-color: var(--ivu-tree-disabled-check-color,#ccc) !important;
370
+ }
371
+
372
+ .ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner
373
+ {
374
+ background-color: var(--ivu-tree-disabled-background-color,#f3f3f3) !important;
375
+
376
+ }
377
+
378
+ .ivu-checkbox-indeterminate.ivu-checkbox-disabled .ivu-checkbox-inner
379
+ {
380
+ background-color: var(--ivu-tree-disabled-background-color,#f3f3f3) !important;
381
+
382
+ }