@lambo-design/shared 1.0.0-beta.36 → 1.0.0-beta.361

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 (259) hide show
  1. package/config/config.js +20 -3
  2. package/config/index.js +7 -2
  3. package/config/locale.js +61 -0
  4. package/config/themes/atrovirens/atrovirens.css +590 -0
  5. package/config/themes/atrovirens/atrovirens.css.map +1 -0
  6. package/config/themes/atrovirens/atrovirens.less +681 -0
  7. package/config/themes/atrovirens/var.css +29 -0
  8. package/config/themes/atrovirens/var.css.map +1 -0
  9. package/config/themes/atrovirens/var.less +689 -0
  10. package/config/themes/blue/blue.css +590 -0
  11. package/config/themes/blue/blue.css.map +1 -0
  12. package/config/themes/blue/blue.less +684 -0
  13. package/config/themes/blue/var.less +692 -0
  14. package/config/themes/blue-208/blue-208.css +590 -0
  15. package/config/themes/blue-208/blue-208.css.map +1 -0
  16. package/config/themes/blue-208/blue-208.less +685 -0
  17. package/config/themes/blue-208/var.less +691 -0
  18. package/config/themes/blue-digital/blue-digital.css +590 -0
  19. package/config/themes/blue-digital/blue-digital.css.map +1 -0
  20. package/config/themes/blue-digital/blue-digital.less +684 -0
  21. package/config/themes/blue-digital/var.less +692 -0
  22. package/config/themes/blue-leaf/blue-leaf.css +590 -0
  23. package/config/themes/blue-leaf/blue-leaf.css.map +1 -0
  24. package/config/themes/blue-leaf/blue-leaf.less +685 -0
  25. package/config/themes/blue-leaf/var.less +691 -0
  26. package/config/themes/blue-white/blue-white.css +590 -0
  27. package/config/themes/blue-white/blue-white.css.map +1 -0
  28. package/config/themes/blue-white/blue-white.less +685 -0
  29. package/config/themes/blue-white/var.less +691 -0
  30. package/config/themes/blue-white-big/blue-white-big.css +590 -0
  31. package/config/themes/blue-white-big/blue-white-big.css.map +1 -0
  32. package/config/themes/blue-white-big/blue-white-big.less +685 -0
  33. package/config/themes/blue-white-big/var.less +691 -0
  34. package/config/themes/blue-white-tight/blue-white-tight.css +591 -0
  35. package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -0
  36. package/config/themes/blue-white-tight/blue-white-tight.less +685 -0
  37. package/config/themes/blue-white-tight/var.less +693 -0
  38. package/config/themes/canglan/canglan.css +590 -0
  39. package/config/themes/canglan/canglan.css.map +1 -0
  40. package/config/themes/canglan/canglan.less +682 -0
  41. package/config/themes/canglan/var.less +693 -0
  42. package/config/themes/cuiwei/cuiwei.css +590 -0
  43. package/config/themes/cuiwei/cuiwei.css.map +1 -0
  44. package/config/themes/cuiwei/cuiwei.less +682 -0
  45. package/config/themes/cuiwei/var.less +691 -0
  46. package/config/themes/danqing/danqing.css +590 -0
  47. package/config/themes/danqing/danqing.css.map +1 -0
  48. package/config/themes/danqing/danqing.less +682 -0
  49. package/config/themes/danqing/danqing.wxss +576 -0
  50. package/config/themes/danqing/var.less +696 -0
  51. package/config/themes/deep/deep.css +590 -0
  52. package/config/themes/deep/deep.css.map +1 -0
  53. package/config/themes/deep/deep.less +682 -0
  54. package/config/themes/deep/var.less +694 -0
  55. package/config/themes/default/default.css +404 -57
  56. package/config/themes/default/default.css.map +1 -1
  57. package/config/themes/default/default.less +381 -16
  58. package/config/themes/default/var.less +390 -11
  59. package/config/themes/eap/eap.css +590 -0
  60. package/config/themes/eap/eap.css.map +1 -0
  61. package/config/themes/eap/eap.less +685 -0
  62. package/config/themes/eap/var.less +693 -0
  63. package/config/themes/gold/gold.css +590 -0
  64. package/config/themes/gold/gold.css.map +1 -0
  65. package/config/themes/gold/gold.less +685 -0
  66. package/config/themes/gold/var.css +0 -0
  67. package/config/themes/gold/var.css.map +0 -0
  68. package/config/themes/gold/var.less +386 -5
  69. package/config/themes/index.js +32 -4
  70. package/config/themes/lime/lime.css +590 -0
  71. package/config/themes/lime/lime.css.map +1 -0
  72. package/config/themes/lime/lime.less +685 -0
  73. package/config/themes/lime/var.less +385 -5
  74. package/config/themes/orange/orange.css +354 -7
  75. package/config/themes/orange/orange.css.map +1 -1
  76. package/config/themes/orange/orange.less +366 -0
  77. package/config/themes/orange/var.less +386 -5
  78. package/config/themes/red/red.css +354 -7
  79. package/config/themes/red/red.css.map +1 -1
  80. package/config/themes/red/red.less +366 -0
  81. package/config/themes/red/var.less +386 -5
  82. package/config/themes/sichuan/sichuan.css +590 -0
  83. package/config/themes/sichuan/sichuan.css.map +1 -0
  84. package/config/themes/sichuan/sichuan.less +685 -0
  85. package/config/themes/sichuan/var.less +691 -0
  86. package/config/themes/theme-atrovirens.js +572 -0
  87. package/config/themes/theme-b208.js +572 -0
  88. package/config/themes/theme-bd.js +572 -0
  89. package/config/themes/theme-bl.js +572 -0
  90. package/config/themes/theme-blue.js +572 -0
  91. package/config/themes/theme-bw.js +572 -0
  92. package/config/themes/theme-bwb.js +572 -0
  93. package/config/themes/theme-bwt.js +573 -0
  94. package/config/themes/theme-canglan.js +574 -0
  95. package/config/themes/theme-cuiwei.js +574 -0
  96. package/config/themes/theme-danqing.js +575 -0
  97. package/config/themes/theme-deep.js +572 -0
  98. package/config/themes/theme-default.js +379 -60
  99. package/config/themes/theme-eap.js +572 -0
  100. package/config/themes/theme-gold.js +327 -8
  101. package/config/themes/theme-lime.js +327 -8
  102. package/config/themes/theme-orange.js +561 -29
  103. package/config/themes/theme-red.js +564 -33
  104. package/config/themes/theme-sichuan.js +572 -0
  105. package/config/themes/theme-white.js +572 -0
  106. package/config/themes/white/var.less +692 -0
  107. package/config/themes/white/white.css +590 -0
  108. package/config/themes/white/white.css.map +1 -0
  109. package/config/themes/white/white.less +685 -0
  110. package/directives/module/print.js +1 -0
  111. package/directives/module/vue-print-nb/README.md +63 -0
  112. package/directives/module/vue-print-nb/print.js +94 -0
  113. package/directives/module/vue-print-nb/printarea.js +532 -0
  114. package/index.js +7 -1
  115. package/nstyles/common.less +197 -0
  116. package/nstyles/components/404.less +46 -0
  117. package/nstyles/components/button.less +34 -0
  118. package/nstyles/components/date-picker.less +41 -0
  119. package/nstyles/components/drawer.less +20 -0
  120. package/nstyles/components/dropdown.less +18 -0
  121. package/nstyles/components/excel-flow.less +72 -0
  122. package/nstyles/components/form.less +314 -0
  123. package/nstyles/components/index.less +23 -0
  124. package/nstyles/components/layout/collect.less +10 -0
  125. package/nstyles/components/layout/detail-view.less +107 -0
  126. package/nstyles/components/layout/full-screen.less +7 -0
  127. package/nstyles/components/layout/index.less +7 -0
  128. package/nstyles/components/layout/other-menu.less +142 -0
  129. package/nstyles/components/layout/page-view.less +101 -0
  130. package/nstyles/components/layout/sider-trigger.less +41 -0
  131. package/nstyles/components/layout/tags-nav.less +113 -0
  132. package/nstyles/components/modal.less +90 -0
  133. package/nstyles/components/n-button.less +131 -0
  134. package/nstyles/components/n-image-preview.less +131 -0
  135. package/nstyles/components/n-model/index.less +19 -0
  136. package/nstyles/components/n-model/report-index.less +43 -0
  137. package/nstyles/components/n-panel.less +41 -0
  138. package/nstyles/components/n-picker.less +37 -0
  139. package/nstyles/components/n-sign.less +17 -0
  140. package/nstyles/components/n-tooltip.less +10 -0
  141. package/nstyles/components/panel.less +31 -0
  142. package/nstyles/components/select.less +3 -0
  143. package/nstyles/components/sign.less +27 -0
  144. package/nstyles/components/table.less +523 -0
  145. package/nstyles/components/tree.less +166 -0
  146. package/nstyles/components/upload.less +174 -0
  147. package/nstyles/index.css +2676 -0
  148. package/nstyles/index.css.map +1 -0
  149. package/nstyles/index.less +5 -0
  150. package/nstyles/reset.less +73 -0
  151. package/nstyles/third/ag.less +226 -0
  152. package/nstyles/third/icons/sort-desc.svg +1 -0
  153. package/nstyles/third/icons/sort-up.svg +1 -0
  154. package/nstyles/third/icons/sorting.svg +1 -0
  155. package/nstyles/third/index.less +11 -0
  156. package/nstyles/third/view-design.less +402 -0
  157. package/nstyles/variables/base.less +143 -0
  158. package/nstyles/variables/index.less +4 -0
  159. package/nstyles/variables/theme/default/button.less +7 -0
  160. package/nstyles/variables/theme/default/common.less +60 -0
  161. package/nstyles/variables/theme/default/index.less +7 -0
  162. package/nstyles/variables/theme/default/layout.less +40 -0
  163. package/nstyles/variables/theme/default/table.less +37 -0
  164. package/nstyles/variables/theme/default/tag.less +3 -0
  165. package/nstyles/variables/theme/default/upload.less +3 -0
  166. package/nstyles/variables/theme/index.less +13 -0
  167. package/nstyles/variables/theme/lsv/button.less +7 -0
  168. package/nstyles/variables/theme/lsv/common.less +39 -0
  169. package/nstyles/variables/theme/lsv/index.less +5 -0
  170. package/nstyles/variables/theme/lsv/layout.less +21 -0
  171. package/nstyles/variables/theme/lsv/table.less +20 -0
  172. package/nstyles/variables/theme/lsv/tag.less +3 -0
  173. package/nstyles/variables/theme/small/button.less +7 -0
  174. package/nstyles/variables/theme/small/common.less +41 -0
  175. package/nstyles/variables/theme/small/index.less +5 -0
  176. package/nstyles/variables/theme/small/layout.less +21 -0
  177. package/nstyles/variables/theme/small/table.less +17 -0
  178. package/nstyles/variables/theme/small/tag.less +3 -0
  179. package/package.json +28 -7
  180. package/plugin/index.js +12 -0
  181. package/plugin/module/date-format.js +30 -0
  182. package/plugin/module/loading.js +26 -0
  183. package/plugin/module/warn-handler.js +11 -0
  184. package/styles/image/indicator-card-header.png +0 -0
  185. package/styles/image/inspur.png +0 -0
  186. package/styles/image/lan_navigator.png +0 -0
  187. package/styles/image/layout-header-bg-canglan.png +0 -0
  188. package/styles/image/layout-header-bg-cuiwei.png +0 -0
  189. package/styles/image/lv_navigator.png +0 -0
  190. package/utils/ajax/abort-controller.js +70 -0
  191. package/utils/ajax/cancel-reason.js +25 -0
  192. package/utils/ajax/cancel-token.js +83 -0
  193. package/utils/ajax/content-type.js +30 -0
  194. package/utils/ajax/headers.js +11 -0
  195. package/utils/ajax/interceptors.js +45 -10
  196. package/utils/ajax/sseFetchUtil.js +118 -0
  197. package/utils/ajax/throttle.js +49 -0
  198. package/utils/assist.js +155 -27
  199. package/utils/base64.js +126 -0
  200. package/utils/blob.js +47 -0
  201. package/utils/context-menu.js +264 -0
  202. package/utils/crypto/aes.js +23 -0
  203. package/utils/crypto/index.js +10 -0
  204. package/utils/crypto/rsa.js +23 -0
  205. package/utils/date.js +334 -305
  206. package/utils/dict/built-in-dict.js +20 -0
  207. package/utils/dict/index.js +191 -0
  208. package/utils/event.js +72 -0
  209. package/utils/excel.js +504 -290
  210. package/utils/file.js +19 -0
  211. package/utils/form/validate.js +29 -0
  212. package/utils/getChild.js +87 -0
  213. package/utils/half-year.js +68 -0
  214. package/utils/index.js +37 -0
  215. package/utils/json.js +44 -0
  216. package/utils/locale/en-US.js +179 -0
  217. package/utils/locale/zh-CN.js +183 -0
  218. package/utils/lodop.js +5 -0
  219. package/utils/menu/generatorDynamicRouter.js +301 -0
  220. package/utils/menu/index.js +426 -15
  221. package/utils/mime_type.js +67 -0
  222. package/utils/modelerUtil.js +4 -1
  223. package/utils/n/api.js +42 -0
  224. package/utils/n/date.js +57 -0
  225. package/utils/n/index.js +10 -0
  226. package/utils/n/is-type.js +176 -0
  227. package/utils/n/number.js +144 -0
  228. package/utils/n/permission-cache.js +11 -0
  229. package/utils/n/reuqest/axiosN.js +17 -0
  230. package/utils/n/reuqest/content-type.js +19 -0
  231. package/utils/n/reuqest/interceptors.js +95 -0
  232. package/utils/n/reuqest/url-params.js +12 -0
  233. package/utils/n/storage.js +51 -0
  234. package/utils/n/token.js +51 -0
  235. package/utils/n/user-cache.js +11 -0
  236. package/utils/n/user.js +34 -0
  237. package/utils/n/uuid.js +16 -0
  238. package/utils/n-generator-routers.js +208 -0
  239. package/utils/n-router.js +205 -0
  240. package/utils/n-theme.js +30 -0
  241. package/utils/number.js +72 -15
  242. package/utils/oss.js +57 -0
  243. package/utils/platform.js +951 -31
  244. package/utils/quarter.js +58 -0
  245. package/utils/storage.js +198 -0
  246. package/utils/style.js +24 -0
  247. package/utils/theme.js +98 -3
  248. package/utils/transfer-queue.js +7 -0
  249. package/utils/transform.js +205 -0
  250. package/utils/type.js +102 -0
  251. package/utils/util.js +795 -0
  252. package/utils/vForm.js +349 -0
  253. package/utils/validator.js +181 -0
  254. package/config/themes/gold/default.css +0 -243
  255. package/config/themes/gold/default.css.map +0 -1
  256. package/config/themes/gold/default.less +0 -320
  257. package/config/themes/lime/default.css +0 -243
  258. package/config/themes/lime/default.css.map +0 -1
  259. package/config/themes/lime/default.less +0 -320
@@ -0,0 +1,27 @@
1
+ :root,
2
+ :host {
3
+ --ind-sign-padding: var(--ind-padding-xs);
4
+ --ind-sign-content-height: 200px;
5
+ --ind-sign-content-background: var(--ind-white);
6
+ --ind-sign-content-border: 1px solid var(--ind-border-color);
7
+ }
8
+
9
+ .ind-sign {
10
+ padding: var(--ind-sign-padding);
11
+
12
+ &__content {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ height: var(--ind-sign-content-height);
17
+ background-color: var(--ind-sign-content-background);
18
+ border: var(--ind-sign-content-border);
19
+ border-radius: var(--ind-border-radius-md);
20
+ overflow: hidden;
21
+
22
+ canvas {
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,523 @@
1
+ .lambo-grid-table {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: flex-start;
5
+ width: 100%;
6
+ height: 100%;
7
+ border-radius: 4px;
8
+ background: #ffffff;
9
+ &.mini-theme {
10
+ --input-height-table-self: 18px;
11
+ .ag-button {
12
+ .ivu-btn-small {
13
+ line-height: var(--input-height-table-self) !important;
14
+ height: var(--input-height-table-self) !important;
15
+ }
16
+ }
17
+ .ag-date {
18
+ input,
19
+ .ivu-input-suffix,
20
+ .ivu-input-prefix i,
21
+ .ivu-input-suffix i {
22
+ height: calc(var(--input-height-table-self) - 1px) !important;
23
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
24
+ // top: -2px !important;
25
+ }
26
+ }
27
+ .ag-input {
28
+ input {
29
+ // text-align: right;
30
+ height: calc(var(--input-height-table-self) - 1px) !important;
31
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
32
+ background-color: #dae8ff;
33
+ // top: -2px !important;
34
+ }
35
+ }
36
+ .ag-ind-select {
37
+ width: 100%;
38
+ .ivu-select-single,
39
+ .ivu-select-input,
40
+ .ivu-select-selection,
41
+ .ivu-select-selected-value,
42
+ .ivu-select-placeholder,
43
+ .ivu-select-default.ivu-select-multiple .ivu-select-selection {
44
+ width: 100%;
45
+ height: calc(var(--input-height-table-self) - 1px) !important;
46
+ min-height: calc(var(--input-height-table-self) - 1px) !important;
47
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
48
+ // top: -2px !important;
49
+ }
50
+ .ivu-tag {
51
+ height: calc(var(--input-height-table-self) - 4px) !important;
52
+ line-height: calc(var(--input-height-table-self) - 4px) !important;
53
+ }
54
+ .ivu-select-selection > div .ivu-tag {
55
+ margin-top: 0 !important;
56
+ }
57
+ }
58
+ .ag-tree-select {
59
+ width: 100%;
60
+ .ivu-input-wrapper {
61
+ // top: -2px;
62
+ }
63
+ input {
64
+ width: 100%;
65
+ }
66
+ input,
67
+ .ivu-input-icon {
68
+ height: calc(var(--input-height-table-self) - 1px) !important;
69
+ min-height: calc(var(--input-height-table-self) - 1px) !important;
70
+ line-height: calc(var(--input-height-table-self) - 1px) !important;
71
+ // top: -2px !important;
72
+ }
73
+ }
74
+ }
75
+
76
+ &.ind-ag-replicate-pattern {
77
+ .ag-row-selected::before {
78
+ display: none !important;
79
+ background-color: unset !important;
80
+ }
81
+ .ag-row.replicate-selected-row {
82
+ // 当 .ag-row 包含 .replicate-selected-row 子元素时,为 .ag-row 添加 ::before
83
+ &::after {
84
+ content: "";
85
+ background-color: var(--ag-selected-row-background-color);
86
+ display: block;
87
+ position: absolute;
88
+ top: 0;
89
+ left: 0;
90
+ right: 0;
91
+ bottom: 0;
92
+ }
93
+ .ag-cell {
94
+ z-index: 1;
95
+ }
96
+ }
97
+ }
98
+
99
+ // 新主题样式
100
+ &.new-theme {
101
+ .new-theme-search {
102
+ border: 2px solid var(--ind-search-border-color, #bd444c);
103
+ //border-radius: 4px;
104
+ margin-bottom: 10px;
105
+ padding: 10px;
106
+
107
+ // 添加横条样式
108
+ &::before {
109
+ content: "查询条件";
110
+ display: block;
111
+ height: var(--ind-search-header-height, 30px);
112
+ line-height: var(--ind-search-header-height, 30px);
113
+ background-color: var(--ind-search-border-color, #bd444c);
114
+ color: white;
115
+ padding: 0 10px;
116
+ margin: -10px -10px 10px -10px;
117
+ //border-radius: 4px 4px 0 0;
118
+ font-size: var(--ind-search-header-font-size, 16px);
119
+ font-weight: bold;
120
+ }
121
+ }
122
+
123
+ .black-table-wrapper {
124
+ .ag-header,
125
+ .ag-header-cell {
126
+ background-color: black !important;
127
+ color: white !important;
128
+ }
129
+
130
+ .ag-header-cell-text,
131
+ .ag-header-group-text {
132
+ color: white !important;
133
+ }
134
+
135
+ .ag-root-wrapper {
136
+ background-color: black !important;
137
+ }
138
+
139
+ .ag-row {
140
+ background-color: black !important;
141
+ color: white !important;
142
+ }
143
+
144
+ .ag-row-even {
145
+ background-color: #1a1a1a !important;
146
+ }
147
+
148
+ .ag-row-odd {
149
+ background-color: black !important;
150
+ }
151
+ }
152
+
153
+ .new-theme-table-wrapper {
154
+ border: 2px solid var(--ind-table-border-color, #1048af);
155
+ //border-radius: 4px;
156
+ padding: 0;
157
+ height: 100%;
158
+ display: flex;
159
+ flex-direction: column;
160
+
161
+ // 添加横条样式
162
+ &::before {
163
+ content: attr(table-bar-text, "数据列表");
164
+ display: block;
165
+ height: var(--ind-table-header-height, 30px);
166
+ line-height: var(--ind-table-header-height, 30px);
167
+ background-color: var(--ind-table-border-color, #1048af);
168
+ color: white;
169
+ padding: 0 10px;
170
+ //border-radius: 4px 4px 0 0;
171
+ font-size: var(--ind-table-header-font-size, 16px);
172
+ font-weight: bold;
173
+ }
174
+
175
+ // 添加内容容器
176
+ & > div {
177
+ flex: 1;
178
+ // 减去横条高度和边框
179
+ height: calc(
180
+ 100% - (var(--ind-table-header-height, 30px) + 4px)
181
+ ); // 横条高度 + 边框
182
+ }
183
+ }
184
+
185
+ .new-theme-buttons {
186
+ margin-bottom: 10px;
187
+ }
188
+ }
189
+
190
+ &.fullscreen-fixed {
191
+ padding: var(--ind-table-padding);
192
+ }
193
+
194
+ .ind-loading-panel {
195
+ height: 100% !important;
196
+ }
197
+
198
+ .other-button {
199
+ margin-top: var(
200
+ --ind-other-button-top
201
+ ); // var(--ind-unit-switch-bottom); // 10px;
202
+ .ivu-btn-small {
203
+ height: var(--ind-button-height-md);
204
+ }
205
+ }
206
+
207
+ .ind-button-group--mb > * {
208
+ margin-bottom: var(--ind-table-button-padding);
209
+ }
210
+
211
+ .ag-cell {
212
+ user-select: text;
213
+ // overflow: unset;
214
+ }
215
+
216
+ // .ag-cell-value:has('.ivu-select') {
217
+ // overflow: unset;
218
+ // }
219
+ // .ag-cell.ag-wrap-cell {
220
+ // overflow: visible;
221
+ // }
222
+
223
+ .ag-theme-balham
224
+ .ag-ltr
225
+ .ag-has-focus
226
+ .ag-cell-focus:not(.ag-cell-range-selected),
227
+ .ag-theme-balham
228
+ .ag-ltr
229
+ .ag-context-menu-open
230
+ .ag-cell-focus:not(.ag-cell-range-selected),
231
+ .ag-theme-balham
232
+ .ag-ltr
233
+ .ag-has-focus
234
+ .ag-full-width-row.ag-row-focus
235
+ .ag-cell-wrapper.ag-row-group,
236
+ .ag-theme-balham .ag-ltr .ag-cell-range-single-cell,
237
+ .ag-theme-balham .ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,
238
+ .ag-theme-balham
239
+ .ag-rtl
240
+ .ag-has-focus
241
+ .ag-cell-focus:not(.ag-cell-range-selected),
242
+ .ag-theme-balham
243
+ .ag-rtl
244
+ .ag-context-menu-open
245
+ .ag-cell-focus:not(.ag-cell-range-selected),
246
+ .ag-theme-balham
247
+ .ag-rtl
248
+ .ag-has-focus
249
+ .ag-full-width-row.ag-row-focus
250
+ .ag-cell-wrapper.ag-row-group,
251
+ .ag-theme-balham .ag-rtl .ag-cell-range-single-cell,
252
+ .ag-theme-balham .ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle {
253
+ border-right: 1px solid
254
+ var(
255
+ --ag-range-selection-border-color,
256
+ var(--ag-balham-active-color, #0091ea)
257
+ ) !important;
258
+ }
259
+
260
+ .ag-theme-balham .ag-ltr .ag-cell {
261
+ border-right-color: var(--ag-row-border-color, #d9dcde) !important;
262
+ }
263
+
264
+ .ag-theme-balham .ag-header-cell::after,
265
+ .ag-theme-balham .ag-header-group-cell::after {
266
+ height: 100% !important;
267
+ top: 0 !important;
268
+ }
269
+
270
+ .ag-header-group-cell-label,
271
+ .ag-header-cell-label {
272
+ justify-content: center !important;
273
+ }
274
+
275
+ .buttons {
276
+ /deep/ .ivu-btn {
277
+ margin-right: 5px;
278
+ }
279
+ }
280
+
281
+ /deep/ .ivu-checkbox-inner {
282
+ border: 1px solid var(--check-border);
283
+ }
284
+
285
+ /deep/ .ivu-form-item {
286
+ margin-bottom: 0;
287
+ }
288
+ .i-crud-toolbar-btn,
289
+ .i-crud-toolbar-btn:hover,
290
+ .i-crud-toolbar-btn:focus {
291
+ border-color: transparent !important;
292
+ box-shadow: unset !important;
293
+ }
294
+ .ag-button {
295
+ .ivu-btn-small,
296
+ .ivu-btn {
297
+ line-height: var(--input-height-table) !important;
298
+ height: var(--input-height-table) !important;
299
+ }
300
+ }
301
+ .ag-date {
302
+ input,
303
+ .ivu-input-suffix,
304
+ .ivu-input-prefix i,
305
+ .ivu-input-suffix i {
306
+ height: calc(var(--input-height-table) - 1px) !important;
307
+ line-height: calc(var(--input-height-table) - 1px) !important;
308
+ // top: -2px !important;
309
+ }
310
+ }
311
+ .ag-right-aligned-cell {
312
+ .ag-input {
313
+ input {
314
+ text-align: right;
315
+ }
316
+ }
317
+ }
318
+ .ag-input {
319
+ input {
320
+ // text-align: right;
321
+ height: calc(var(--input-height-table) - 1px) !important;
322
+ line-height: calc(var(--input-height-table) - 1px) !important;
323
+ background-color: #dae8ff;
324
+ // top: -2px !important;
325
+ }
326
+ }
327
+ .ag-ind-select {
328
+ width: 100%;
329
+ .ivu-select-single,
330
+ .ivu-select-input,
331
+ .ivu-select-selection,
332
+ .ivu-select-selected-value,
333
+ .ivu-select-placeholder,
334
+ .ivu-select-default.ivu-select-multiple .ivu-select-selection {
335
+ width: 100%;
336
+ height: calc(var(--input-height-table) - 1px) !important;
337
+ min-height: calc(var(--input-height-table) - 1px) !important;
338
+ line-height: calc(var(--input-height-table) - 1px) !important;
339
+ // top: -2px !important;
340
+ }
341
+ .ivu-tag {
342
+ height: calc(var(--input-height-table) - 4px) !important;
343
+ line-height: calc(var(--input-height-table) - 4px) !important;
344
+ }
345
+ .ivu-select-selection > div .ivu-tag {
346
+ margin-top: 0 !important;
347
+ }
348
+ }
349
+ .ag-tree-select {
350
+ width: 100%;
351
+ .ivu-input-wrapper {
352
+ // top: -2px;
353
+ }
354
+ input {
355
+ width: 100%;
356
+ }
357
+ input,
358
+ .ivu-input-icon {
359
+ height: calc(var(--input-height-table) - 1px) !important;
360
+ min-height: calc(var(--input-height-table) - 1px) !important;
361
+ line-height: calc(var(--input-height-table) - 1px) !important;
362
+ // top: -2px !important;
363
+ }
364
+ }
365
+ }
366
+
367
+ .cell-span {
368
+ background-color: var(--ind-white);
369
+ border-bottom: 1px solid var(--ag-row-border-color, #d9dcde) !important;
370
+ &:focus-within {
371
+ border-bottom: var(--ag-range-selection-border-style);
372
+ }
373
+ }
374
+
375
+ .fullscreen-fixed {
376
+ position: fixed;
377
+ z-index: 999;
378
+ width: 100vw;
379
+ height: 100vh;
380
+ top: 0;
381
+ left: 0;
382
+ background-color: var(--ind-white);
383
+ }
384
+ .ivu-tabs .ivu-tabs-tabpane .lambo-grid-table.fullscreen-fixed {
385
+ left: auto;
386
+ }
387
+
388
+ .ag-header-select-all {
389
+ width: 100%;
390
+ flex-shrink: 0;
391
+ justify-content: center;
392
+ }
393
+
394
+ .tip {
395
+ flex-shrink: 0;
396
+ margin-top: 5px;
397
+ width: -webkit-fill-available;
398
+ min-height: 24px;
399
+ line-height: 24px;
400
+ background-color: var(--ind-bg-color-dark);
401
+ }
402
+ //全局样式,重要消息提醒区-2022年11月11日
403
+ .important-tip {
404
+ flex-shrink: 0;
405
+ margin-top: 5px;
406
+ width: -webkit-fill-available;
407
+ height: 24px;
408
+ line-height: 24px;
409
+ background-color: var(--ind-bg-color-dark);
410
+ .ivu-icon-md-information-circle {
411
+ float: left;
412
+ margin-right: 5px;
413
+ margin-left: 5px;
414
+ line-height: 24px;
415
+ transform: scale(1.5);
416
+ color: #ff9900;
417
+ }
418
+ }
419
+
420
+ .index-manager-drag-title,
421
+ .index-manager-drag-item {
422
+ .manage-col1 {
423
+ flex-shrink: 0;
424
+ width: 80px;
425
+ cursor: pointer;
426
+ }
427
+ .manage-col2 {
428
+ width: 100%;
429
+ }
430
+ .manage-col3 {
431
+ flex-shrink: 0;
432
+ width: 80px;
433
+ }
434
+ .manage-col4 {
435
+ flex-shrink: 0;
436
+ width: 80px;
437
+ }
438
+ .manage-col5 {
439
+ flex-shrink: 0;
440
+ width: 100px;
441
+ }
442
+ .manage-col6 {
443
+ flex-shrink: 0;
444
+ width: 80px;
445
+ cursor: pointer;
446
+ }
447
+ }
448
+
449
+ .index-manager-drag-title {
450
+ text-align: left;
451
+ padding: 10px 0;
452
+ }
453
+
454
+ .index-manager-drag-item {
455
+ margin-bottom: 5px;
456
+ .manage-col1,
457
+ .manage-col2,
458
+ .manage-col3,
459
+ .manage-col4,
460
+ .manage-col6 {
461
+ padding-top: 6px;
462
+ }
463
+ .manage-col6 {
464
+ text-align: right;
465
+ }
466
+ }
467
+
468
+ .index-manager-preset {
469
+ .ag-wrapper.ag-input-wrapper.ag-checkbox-input-wrapper.ag-disabled:after {
470
+ content: "\f106";
471
+ }
472
+ }
473
+
474
+ .index-manager-height100-card {
475
+ .ivu-card-body {
476
+ height: calc(100% - 49px);
477
+ }
478
+ }
479
+
480
+ .detail-view-table() {
481
+ .lambo-grid-table {
482
+ & > .ivu-row {
483
+ margin-top: 0 !important;
484
+ }
485
+ // .other-button {
486
+ // margin-top: 0;
487
+ // }
488
+ }
489
+ }
490
+
491
+ .ind-detail-view {
492
+ .content {
493
+ .detail-view-table;
494
+ }
495
+ }
496
+
497
+ .ivu-drawer {
498
+ .ivu-drawer-content {
499
+ .detail-view-table;
500
+ }
501
+ }
502
+
503
+ .ag-layout-auto-height .ag-center-cols-viewport,
504
+ .ag-layout-auto-height .ag-center-cols-container,
505
+ .ag-layout-print .ag-center-cols-viewport,
506
+ .ag-layout-print .ag-center-cols-container {
507
+ min-height: unset !important;
508
+ }
509
+
510
+ .ag-ltr .ag-header-cell:after,
511
+ .ag-ltr .ag-header-group-cell:after {
512
+ width: 0 !important;
513
+ border-right: 1px solid var(--ag-header-column-separator-color) !important;
514
+ }
515
+
516
+ .ag-tooltip {
517
+ background-color: rgb(232, 233, 234) !important;
518
+ color: #333 !important;
519
+ border: var(--ag-borders) var(--ag-border-color) !important;
520
+ border-radius: 4px;
521
+ padding: 4px 8px;
522
+ white-space: pre-wrap;
523
+ }
@@ -0,0 +1,166 @@
1
+ .tree-wrapper {
2
+ background: white;
3
+ border-radius: 4px;
4
+ // padding: 10px 0 10px 0;
5
+ width: var(--ind-tree-wrapper-width); //98%;
6
+ height: 100%;
7
+
8
+ .header {
9
+ position: sticky;
10
+ padding: 10px 10px 10px 10px;
11
+ top: 0;
12
+ background: white;
13
+ // z-index: 999;
14
+ border-bottom: 1px solid var(--ind-border-color);
15
+ .title {
16
+ font-size: var(--ind-font-size-lg);
17
+ font-weight: bold;
18
+ // margin-left: 10px;
19
+ vertical-align: middle;
20
+ }
21
+ }
22
+ .content {
23
+ // padding: 10px 10px;
24
+ padding: var(--tree-content-padding);
25
+
26
+ .ivu-input-wrapper {
27
+ margin-bottom: 8px;
28
+ }
29
+
30
+ .ivu-tree {
31
+ height: 10px;
32
+ overflow: auto;
33
+ }
34
+ }
35
+ }
36
+
37
+ .ivu-tree-title-selected,
38
+ .ivu-tree-title-selected:hover {
39
+ color: var(--ind-white);
40
+ background: var(--ind-primary-color);
41
+ }
42
+
43
+ .custom-title {
44
+ &.important {
45
+ &::after {
46
+ content: '*';
47
+ font-size: 16px;
48
+ font-weight: bold;
49
+ line-height: 1;
50
+ vertical-align: middle;
51
+ color: var(--ind-red);
52
+ display: none;
53
+ }
54
+ }
55
+
56
+ &.weak {
57
+ color: var(--ind-gray);
58
+ }
59
+
60
+ .title-status {
61
+ color: var(--ind-gray);
62
+
63
+ &.red {
64
+ color: var(--ind-red);
65
+ }
66
+
67
+ &.blue {
68
+ color: var(--ind-blue);
69
+ }
70
+
71
+ &.green {
72
+ color: var(--ind-green);
73
+ }
74
+
75
+ &.orange {
76
+ color: var(--ind-orange);
77
+ }
78
+
79
+ &.yellow {
80
+ color: var(--ind-yellow);
81
+ }
82
+
83
+ &.gray {
84
+ color: var(--ind-gray);
85
+ }
86
+ }
87
+ }
88
+
89
+ // 所有的状态,选中以后都是白色字体,绿色、红色在蓝色背景下字体识别困难
90
+ .ivu-tree-title-selected .title-status
91
+ // .blue
92
+ {
93
+ color: var(--ind-white) !important;
94
+ }
95
+
96
+ .emp-tree-box {
97
+ .main {
98
+ display: flex;
99
+ .panel {
100
+ .content-box {
101
+ margin-top: 10px;
102
+ height: calc(100vh - 300px) !important;
103
+ border: 2px var(--ind-border-color) solid;
104
+ border-radius: 4px;
105
+ overflow: auto;
106
+ .content {
107
+ height: 100%;
108
+ padding: 10px;
109
+ overflow: auto;
110
+ }
111
+ }
112
+ &.emp-tree {
113
+ flex: 5;
114
+ }
115
+ &.checked-list {
116
+ margin-left: 20px;
117
+ flex: 4;
118
+ .content {
119
+ line-height: 1;
120
+ .node,
121
+ .tip {
122
+ padding: 5px 10px;
123
+ }
124
+ .tip {
125
+ color: var(--ind-desc-color);
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ .tree-select-wrapper {
134
+ .tree-wrapper {
135
+ min-width: 180px;
136
+ width: 100%;
137
+
138
+ .content {
139
+ padding-right: 0;
140
+ }
141
+ }
142
+
143
+ .global-desc-text {
144
+ margin-top: 10px;
145
+ }
146
+ }
147
+ .tree-select-poptip {
148
+ width: 100%;
149
+ .ivu-poptip-rel {
150
+ width: 100%;
151
+ }
152
+ }
153
+
154
+ // from emp
155
+ .global-desc-text {
156
+ font-size: var(--ind-font-size-sm);
157
+ color: var(--ind-desc-color);
158
+ }
159
+
160
+ .ivu-tree ul li {
161
+ margin: var(--ivu-tree-margin);
162
+ }
163
+
164
+ .ivu-tree li ul {
165
+ padding: var(--ivu-tree-ul-padding);
166
+ }