@lambo-design/shared 1.0.0-beta.32 → 1.0.0-beta.320

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