@lambo-design/shared 1.0.0-beta.35 → 1.0.0-beta.350

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