@lambo-design/shared 1.0.0-beta.26 → 1.0.0-beta.261

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 (209) hide show
  1. package/config/config.js +17 -2
  2. package/config/index.js +7 -2
  3. package/config/themes/atrovirens/atrovirens.css +578 -0
  4. package/config/themes/atrovirens/atrovirens.css.map +1 -0
  5. package/config/themes/atrovirens/atrovirens.less +670 -0
  6. package/config/themes/atrovirens/var.less +677 -0
  7. package/config/themes/blue/blue.css +578 -0
  8. package/config/themes/blue/blue.css.map +1 -0
  9. package/config/themes/blue/blue.less +672 -0
  10. package/config/themes/blue/var.less +680 -0
  11. package/config/themes/blue-white/blue-white.css +582 -0
  12. package/config/themes/blue-white/blue-white.css.map +1 -0
  13. package/config/themes/blue-white/blue-white.less +672 -0
  14. package/config/themes/blue-white/var.less +679 -0
  15. package/config/themes/blue-white-tight/blue-white-tight.css +579 -0
  16. package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -0
  17. package/config/themes/blue-white-tight/blue-white-tight.less +674 -0
  18. package/config/themes/blue-white-tight/var.less +680 -0
  19. package/config/themes/cuiwei/cuiwei.css +578 -0
  20. package/config/themes/cuiwei/cuiwei.css.map +10 -0
  21. package/config/themes/cuiwei/cuiwei.less +671 -0
  22. package/config/themes/cuiwei/var.less +682 -0
  23. package/config/themes/danqing/danqing.css +578 -0
  24. package/config/themes/danqing/danqing.css.map +1 -0
  25. package/config/themes/danqing/danqing.less +671 -0
  26. package/config/themes/danqing/danqing.wxss +576 -0
  27. package/config/themes/danqing/var.less +682 -0
  28. package/config/themes/deep/deep.css +578 -0
  29. package/config/themes/deep/deep.css.map +1 -0
  30. package/config/themes/deep/deep.less +672 -0
  31. package/config/themes/deep/var.less +680 -0
  32. package/config/themes/default/default.css +578 -243
  33. package/config/themes/default/default.css.map +1 -1
  34. package/config/themes/default/default.less +370 -16
  35. package/config/themes/default/var.less +377 -11
  36. package/config/themes/eap/eap.css +578 -0
  37. package/config/themes/eap/eap.css.map +1 -0
  38. package/config/themes/eap/eap.less +674 -0
  39. package/config/themes/eap/var.less +680 -0
  40. package/config/themes/gold/gold.css +578 -0
  41. package/config/themes/gold/gold.css.map +1 -0
  42. package/config/themes/gold/gold.less +674 -0
  43. package/config/themes/gold/var.less +371 -5
  44. package/config/themes/index.js +20 -3
  45. package/config/themes/lime/lime.css +578 -0
  46. package/config/themes/lime/lime.css.map +1 -0
  47. package/config/themes/lime/lime.less +674 -0
  48. package/config/themes/lime/var.less +372 -5
  49. package/config/themes/orange/orange.css +578 -243
  50. package/config/themes/orange/orange.css.map +1 -1
  51. package/config/themes/orange/orange.less +354 -0
  52. package/config/themes/orange/var.less +372 -5
  53. package/config/themes/red/red.css +578 -243
  54. package/config/themes/red/red.css.map +1 -1
  55. package/config/themes/red/red.less +354 -0
  56. package/config/themes/red/var.less +371 -5
  57. package/config/themes/theme-atrovirens.js +561 -0
  58. package/config/themes/theme-blue.js +561 -0
  59. package/config/themes/theme-bw.js +565 -0
  60. package/config/themes/theme-bwt.js +563 -0
  61. package/config/themes/theme-cuiwei.js +562 -0
  62. package/config/themes/theme-danqing.js +566 -0
  63. package/config/themes/theme-deep.js +561 -0
  64. package/config/themes/theme-default.js +367 -59
  65. package/config/themes/theme-eap.js +561 -0
  66. package/config/themes/theme-gold.js +315 -7
  67. package/config/themes/theme-lime.js +315 -7
  68. package/config/themes/theme-orange.js +549 -28
  69. package/config/themes/theme-red.js +553 -33
  70. package/config/themes/theme-white.js +561 -0
  71. package/config/themes/white/var.less +679 -0
  72. package/config/themes/white/white.css +578 -0
  73. package/config/themes/white/white.css.map +1 -0
  74. package/config/themes/white/white.less +672 -0
  75. package/directives/module/print.js +1 -0
  76. package/directives/module/vue-print-nb/README.md +63 -0
  77. package/directives/module/vue-print-nb/print.js +94 -0
  78. package/directives/module/vue-print-nb/printarea.js +532 -0
  79. package/index.js +7 -1
  80. package/nstyles/common.less +197 -0
  81. package/nstyles/components/404.less +46 -0
  82. package/nstyles/components/button.less +34 -0
  83. package/nstyles/components/date-picker.less +37 -0
  84. package/nstyles/components/drawer.less +20 -0
  85. package/nstyles/components/dropdown.less +18 -0
  86. package/nstyles/components/excel-flow.less +72 -0
  87. package/nstyles/components/form.less +313 -0
  88. package/nstyles/components/index.less +23 -0
  89. package/nstyles/components/layout/collect.less +10 -0
  90. package/nstyles/components/layout/detail-view.less +107 -0
  91. package/nstyles/components/layout/full-screen.less +7 -0
  92. package/nstyles/components/layout/index.less +7 -0
  93. package/nstyles/components/layout/other-menu.less +142 -0
  94. package/nstyles/components/layout/page-view.less +101 -0
  95. package/nstyles/components/layout/sider-trigger.less +41 -0
  96. package/nstyles/components/layout/tags-nav.less +113 -0
  97. package/nstyles/components/modal.less +90 -0
  98. package/nstyles/components/n-button.less +131 -0
  99. package/nstyles/components/n-image-preview.less +131 -0
  100. package/nstyles/components/n-model/index.less +19 -0
  101. package/nstyles/components/n-model/report-index.less +43 -0
  102. package/nstyles/components/n-panel.less +41 -0
  103. package/nstyles/components/n-picker.less +37 -0
  104. package/nstyles/components/n-sign.less +17 -0
  105. package/nstyles/components/n-tooltip.less +10 -0
  106. package/nstyles/components/panel.less +31 -0
  107. package/nstyles/components/select.less +3 -0
  108. package/nstyles/components/sign.less +27 -0
  109. package/nstyles/components/table.less +315 -0
  110. package/nstyles/components/tree.less +159 -0
  111. package/nstyles/components/upload.less +164 -0
  112. package/nstyles/index.less +5 -0
  113. package/nstyles/reset.less +73 -0
  114. package/nstyles/third/ag.less +174 -0
  115. package/nstyles/third/icons/sort-desc.svg +1 -0
  116. package/nstyles/third/icons/sort-up.svg +1 -0
  117. package/nstyles/third/icons/sorting.svg +1 -0
  118. package/nstyles/third/index.less +11 -0
  119. package/nstyles/third/view-design.less +375 -0
  120. package/nstyles/variables/base.less +143 -0
  121. package/nstyles/variables/index.less +4 -0
  122. package/nstyles/variables/theme/default/button.less +7 -0
  123. package/nstyles/variables/theme/default/common.less +57 -0
  124. package/nstyles/variables/theme/default/index.less +7 -0
  125. package/nstyles/variables/theme/default/layout.less +40 -0
  126. package/nstyles/variables/theme/default/table.less +37 -0
  127. package/nstyles/variables/theme/default/tag.less +3 -0
  128. package/nstyles/variables/theme/default/upload.less +3 -0
  129. package/nstyles/variables/theme/index.less +13 -0
  130. package/nstyles/variables/theme/lsv/button.less +7 -0
  131. package/nstyles/variables/theme/lsv/common.less +39 -0
  132. package/nstyles/variables/theme/lsv/index.less +5 -0
  133. package/nstyles/variables/theme/lsv/layout.less +21 -0
  134. package/nstyles/variables/theme/lsv/table.less +20 -0
  135. package/nstyles/variables/theme/lsv/tag.less +3 -0
  136. package/nstyles/variables/theme/small/button.less +7 -0
  137. package/nstyles/variables/theme/small/common.less +39 -0
  138. package/nstyles/variables/theme/small/index.less +5 -0
  139. package/nstyles/variables/theme/small/layout.less +21 -0
  140. package/nstyles/variables/theme/small/table.less +17 -0
  141. package/nstyles/variables/theme/small/tag.less +3 -0
  142. package/package.json +27 -7
  143. package/plugin/index.js +12 -0
  144. package/plugin/module/date-format.js +30 -0
  145. package/plugin/module/loading.js +26 -0
  146. package/plugin/module/warn-handler.js +11 -0
  147. package/styles/image/inspur.png +0 -0
  148. package/styles/image/lan_navigator.png +0 -0
  149. package/styles/image/layout-header-bg-cuiwei.png +0 -0
  150. package/styles/image/lv_navigator.png +0 -0
  151. package/utils/ajax/content-type.js +30 -0
  152. package/utils/ajax/headers.js +11 -0
  153. package/utils/ajax/interceptors.js +12 -4
  154. package/utils/ajax/sseFetchUtil.js +104 -0
  155. package/utils/assist.js +108 -27
  156. package/utils/base64.js +126 -0
  157. package/utils/blob.js +47 -0
  158. package/utils/crypto/index.js +10 -0
  159. package/utils/date.js +334 -305
  160. package/utils/dict/built-in-dict.js +20 -0
  161. package/utils/dict/index.js +168 -0
  162. package/utils/event.js +72 -0
  163. package/utils/excel.js +373 -241
  164. package/utils/file.js +19 -0
  165. package/utils/form/validate.js +29 -0
  166. package/utils/half-year.js +68 -0
  167. package/utils/index.js +37 -0
  168. package/utils/json.js +29 -0
  169. package/utils/lodop.js +5 -0
  170. package/utils/menu/index.js +292 -15
  171. package/utils/mime_type.js +67 -0
  172. package/utils/modelerUtil.js +4 -1
  173. package/utils/n/api.js +22 -0
  174. package/utils/n/date.js +57 -0
  175. package/utils/n/index.js +10 -0
  176. package/utils/n/is-type.js +176 -0
  177. package/utils/n/number.js +144 -0
  178. package/utils/n/permission-cache.js +11 -0
  179. package/utils/n/reuqest/axiosN.js +17 -0
  180. package/utils/n/reuqest/content-type.js +19 -0
  181. package/utils/n/reuqest/interceptors.js +95 -0
  182. package/utils/n/reuqest/url-params.js +12 -0
  183. package/utils/n/storage.js +51 -0
  184. package/utils/n/token.js +51 -0
  185. package/utils/n/user-cache.js +11 -0
  186. package/utils/n/user.js +34 -0
  187. package/utils/n/uuid.js +16 -0
  188. package/utils/n-generator-routers.js +208 -0
  189. package/utils/n-router.js +205 -0
  190. package/utils/n-theme.js +30 -0
  191. package/utils/number.js +72 -15
  192. package/utils/oss.js +57 -0
  193. package/utils/platform.js +812 -23
  194. package/utils/quarter.js +58 -0
  195. package/utils/storage.js +198 -0
  196. package/utils/style.js +24 -0
  197. package/utils/theme.js +98 -3
  198. package/utils/transfer-queue.js +7 -0
  199. package/utils/transform.js +205 -0
  200. package/utils/type.js +102 -0
  201. package/utils/util.js +795 -0
  202. package/utils/vForm.js +349 -0
  203. package/utils/validator.js +181 -0
  204. package/config/themes/gold/default.css +0 -243
  205. package/config/themes/gold/default.css.map +0 -1
  206. package/config/themes/gold/default.less +0 -320
  207. package/config/themes/lime/default.css +0 -243
  208. package/config/themes/lime/default.css.map +0 -1
  209. 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,315 @@
1
+ .lambo-grid-table {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: flex-start;
5
+ height: 100%;
6
+ border-radius: 4px;
7
+ background: #ffffff;
8
+
9
+ &.fullscreen-fixed {
10
+ padding: var(--ind-table-padding);
11
+ }
12
+
13
+ .ind-loading-panel {
14
+ height: 100% !important;
15
+ }
16
+
17
+ .other-button {
18
+ margin-top: var(--ind-other-button-top); // var(--ind-unit-switch-bottom); // 10px;
19
+ .ivu-btn-small {
20
+ height: var(--ind-button-height-md);
21
+ }
22
+ }
23
+
24
+ .ind-button-group--mb > * {
25
+ margin-bottom: var(--ind-table-button-padding);
26
+ }
27
+
28
+ .ag-cell {
29
+ user-select: text;
30
+ // overflow: unset;
31
+ }
32
+
33
+ // .ag-cell-value:has('.ivu-select') {
34
+ // overflow: unset;
35
+ // }
36
+ // .ag-cell.ag-wrap-cell {
37
+ // overflow: visible;
38
+ // }
39
+
40
+ .ag-theme-balham .ag-ltr .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected),
41
+ .ag-theme-balham .ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),
42
+ .ag-theme-balham
43
+ .ag-ltr
44
+ .ag-has-focus
45
+ .ag-full-width-row.ag-row-focus
46
+ .ag-cell-wrapper.ag-row-group,
47
+ .ag-theme-balham .ag-ltr .ag-cell-range-single-cell,
48
+ .ag-theme-balham .ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,
49
+ .ag-theme-balham .ag-rtl .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected),
50
+ .ag-theme-balham .ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),
51
+ .ag-theme-balham
52
+ .ag-rtl
53
+ .ag-has-focus
54
+ .ag-full-width-row.ag-row-focus
55
+ .ag-cell-wrapper.ag-row-group,
56
+ .ag-theme-balham .ag-rtl .ag-cell-range-single-cell,
57
+ .ag-theme-balham .ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle {
58
+ border-right: 1px solid
59
+ var(--ag-range-selection-border-color, var(--ag-balham-active-color, #0091ea)) !important;
60
+ }
61
+
62
+ .ag-theme-balham .ag-ltr .ag-cell {
63
+ border-right-color: var(--ag-row-border-color, #d9dcde) !important;
64
+ }
65
+
66
+ .ag-theme-balham .ag-header-cell::after,
67
+ .ag-theme-balham .ag-header-group-cell::after {
68
+ height: 100% !important;
69
+ top: 0 !important;
70
+ }
71
+
72
+ .ag-header-group-cell-label,
73
+ .ag-header-cell-label {
74
+ justify-content: center !important;
75
+ }
76
+
77
+ .buttons {
78
+ /deep/ .ivu-btn {
79
+ margin-right: 5px;
80
+ }
81
+ }
82
+
83
+ /deep/ .ivu-checkbox-inner {
84
+ border: 1px solid var(--check-border);
85
+ }
86
+
87
+ /deep/ .ivu-form-item {
88
+ margin-bottom: 0;
89
+ }
90
+ .i-crud-toolbar-btn,
91
+ .i-crud-toolbar-btn:hover,
92
+ .i-crud-toolbar-btn:focus {
93
+ border-color: transparent !important;
94
+ box-shadow: unset !important;
95
+ }
96
+ .ag-button {
97
+ .ivu-btn-small,.ivu-btn {
98
+ line-height: var(--input-height-table) !important;
99
+ height: var(--input-height-table) !important;
100
+ }
101
+ }
102
+ .ag-date {
103
+ input,
104
+ .ivu-input-suffix,
105
+ .ivu-input-prefix i,
106
+ .ivu-input-suffix i {
107
+ height: calc(var(--input-height-table) - 1px) !important;
108
+ line-height: calc(var(--input-height-table) - 1px) !important;
109
+ // top: -2px !important;
110
+ }
111
+ }
112
+ .ag-right-aligned-cell {
113
+ .ag-input {
114
+ input {
115
+ text-align: right;
116
+ }
117
+ }
118
+ }
119
+ .ag-input {
120
+ input {
121
+ // text-align: right;
122
+ height: calc(var(--input-height-table) - 1px) !important;
123
+ line-height: calc(var(--input-height-table) - 1px) !important;
124
+ background-color: #dae8ff;
125
+ // top: -2px !important;
126
+ }
127
+ }
128
+ .ag-ind-select {
129
+ width: 100%;
130
+ .ivu-select-single,
131
+ .ivu-select-input,
132
+ .ivu-select-selection,
133
+ .ivu-select-selected-value,
134
+ .ivu-select-placeholder,
135
+ .ivu-select-default.ivu-select-multiple .ivu-select-selection {
136
+ width: 100%;
137
+ height: calc(var(--input-height-table) - 1px) !important;
138
+ min-height: calc(var(--input-height-table) - 1px) !important;
139
+ line-height: calc(var(--input-height-table) - 1px) !important;
140
+ // top: -2px !important;
141
+ }
142
+ .ivu-tag {
143
+ height: calc(var(--input-height-table) - 4px) !important;
144
+ line-height: calc(var(--input-height-table) - 4px) !important;
145
+ }
146
+ .ivu-select-selection > div .ivu-tag {
147
+ margin-top: 0 !important;
148
+ }
149
+ }
150
+ .ag-tree-select {
151
+ width: 100%;
152
+ .ivu-input-wrapper {
153
+ // top: -2px;
154
+ }
155
+ input {
156
+ width: 100%;
157
+ }
158
+ input,
159
+ .ivu-input-icon {
160
+ height: calc(var(--input-height-table) - 1px) !important;
161
+ min-height: calc(var(--input-height-table) - 1px) !important;
162
+ line-height: calc(var(--input-height-table) - 1px) !important;
163
+ // top: -2px !important;
164
+ }
165
+ }
166
+ }
167
+
168
+ .cell-span {
169
+ background-color: var(--ind-white);
170
+ border-bottom: 1px solid var(--ag-row-border-color, #d9dcde) !important;
171
+ &:focus-within {
172
+ border-bottom: var(--ag-range-selection-border-style);
173
+ }
174
+ }
175
+
176
+ .fullscreen-fixed {
177
+ position: fixed;
178
+ z-index: 999;
179
+ width: 100vw;
180
+ height: 100vh;
181
+ top: 0;
182
+ left: 0;
183
+ background-color: var(--ind-white);
184
+ }
185
+
186
+ .ag-header-select-all {
187
+ width: 100%;
188
+ flex-shrink: 0;
189
+ justify-content: center;
190
+ }
191
+
192
+ .tip {
193
+ flex-shrink: 0;
194
+ margin-top: 5px;
195
+ width: -webkit-fill-available;
196
+ min-height: 24px;
197
+ line-height: 24px;
198
+ background-color: var(--ind-bg-color-dark);
199
+ }
200
+ //全局样式,重要消息提醒区-2022年11月11日
201
+ .important-tip {
202
+ flex-shrink: 0;
203
+ margin-top: 5px;
204
+ width: -webkit-fill-available;
205
+ height: 24px;
206
+ line-height: 24px;
207
+ background-color: var(--ind-bg-color-dark);
208
+ .ivu-icon-md-information-circle {
209
+ float: left;
210
+ margin-right: 5px;
211
+ margin-left: 5px;
212
+ line-height: 24px;
213
+ transform: scale(1.5);
214
+ color: #ff9900;
215
+ }
216
+ }
217
+
218
+ .index-manager-drag-title,
219
+ .index-manager-drag-item {
220
+ .manage-col1 {
221
+ flex-shrink: 0;
222
+ width: 80px;
223
+ cursor: pointer;
224
+ }
225
+ .manage-col2 {
226
+ width: 100%;
227
+ }
228
+ .manage-col3 {
229
+ flex-shrink: 0;
230
+ width: 80px;
231
+ }
232
+ .manage-col4 {
233
+ flex-shrink: 0;
234
+ width: 80px;
235
+ }
236
+ .manage-col5 {
237
+ flex-shrink: 0;
238
+ width: 100px;
239
+ }
240
+ .manage-col6 {
241
+ flex-shrink: 0;
242
+ width: 80px;
243
+ cursor: pointer;
244
+ }
245
+ }
246
+
247
+ .index-manager-drag-title {
248
+ text-align: left;
249
+ padding: 10px 0;
250
+ }
251
+
252
+ .index-manager-drag-item {
253
+ margin-bottom: 5px;
254
+ .manage-col1,
255
+ .manage-col2,
256
+ .manage-col3,
257
+ .manage-col4,
258
+ .manage-col6 {
259
+ padding-top: 6px;
260
+ }
261
+ .manage-col6 {
262
+ text-align: right;
263
+ }
264
+ }
265
+
266
+ .index-manager-height100-card {
267
+ .ivu-card-body {
268
+ height: calc(100% - 49px);
269
+ }
270
+ }
271
+
272
+ .detail-view-table() {
273
+ .lambo-grid-table {
274
+ & > .ivu-row {
275
+ margin-top: 0 !important;
276
+ }
277
+ // .other-button {
278
+ // margin-top: 0;
279
+ // }
280
+ }
281
+ }
282
+
283
+ .ind-detail-view {
284
+ .content {
285
+ .detail-view-table;
286
+ }
287
+ }
288
+
289
+ .ivu-drawer {
290
+ .ivu-drawer-content {
291
+ .detail-view-table;
292
+ }
293
+ }
294
+
295
+ .ag-layout-auto-height .ag-center-cols-viewport,
296
+ .ag-layout-auto-height .ag-center-cols-container,
297
+ .ag-layout-print .ag-center-cols-viewport,
298
+ .ag-layout-print .ag-center-cols-container {
299
+ min-height: unset !important;
300
+ }
301
+
302
+ .ag-ltr .ag-header-cell:after,
303
+ .ag-ltr .ag-header-group-cell:after {
304
+ width: 0 !important;
305
+ border-right: 1px solid var(--ag-header-column-separator-color) !important;
306
+ }
307
+
308
+ .ag-tooltip {
309
+ background-color: rgb(232, 233, 234) !important;
310
+ color: #333 !important;
311
+ border: var(--ag-borders) var(--ag-border-color) !important;
312
+ border-radius: 4px;
313
+ padding: 4px 8px;
314
+ white-space: pre-wrap;
315
+ }
@@ -0,0 +1,159 @@
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
+ .ivu-tree-title-selected .title-status.blue {
90
+ color: var(--ind-white);
91
+ }
92
+
93
+ .emp-tree-box {
94
+ .main {
95
+ display: flex;
96
+ .panel {
97
+ .content-box {
98
+ margin-top: 10px;
99
+ height: calc(100vh - 300px) !important;
100
+ border: 2px var(--ind-border-color) solid;
101
+ border-radius: 4px;
102
+ overflow: auto;
103
+ .content {
104
+ height: 100%;
105
+ padding: 10px;
106
+ overflow: auto;
107
+ }
108
+ }
109
+ &.emp-tree {
110
+ flex: 5;
111
+ }
112
+ &.checked-list {
113
+ margin-left: 20px;
114
+ flex: 4;
115
+ .content {
116
+ line-height: 1;
117
+ .node,
118
+ .tip {
119
+ padding: 5px 10px;
120
+ }
121
+ .tip {
122
+ color: var(--ind-desc-color);
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ .tree-select-wrapper {
131
+ .tree-wrapper {
132
+ min-width: 180px;
133
+ width: 100%;
134
+
135
+ .content {
136
+ padding-right: 0;
137
+ }
138
+ }
139
+
140
+ .global-desc-text {
141
+ margin-top: 10px;
142
+ }
143
+ }
144
+ .tree-select-poptip {
145
+ width: 100%;
146
+ .ivu-poptip-rel {
147
+ width: 100%;
148
+ }
149
+ }
150
+
151
+ // from emp
152
+ .global-desc-text {
153
+ font-size: var(--ind-font-size-sm);
154
+ color: var(--ind-desc-color);
155
+ }
156
+
157
+ .ivu-tree ul li {
158
+ margin: var(--ivu-tree-margin);
159
+ }
@@ -0,0 +1,164 @@
1
+ .upload-file {
2
+ position: relative;
3
+ min-height: 45px;
4
+
5
+ .data-panel {
6
+ padding: 5px 10px 0px 10px;
7
+ border: 1px #dee1e8 solid;
8
+ border-radius: 5px;
9
+ }
10
+
11
+ .content-item {
12
+ display: flex;
13
+ line-height: var(--file-line-height);
14
+ box-sizing: border-box;
15
+ border-bottom: 1px solid var(--ind-border-color);
16
+ // padding-left: 20px;
17
+ &:last-child {
18
+ border-bottom: none;
19
+ }
20
+
21
+ .title {
22
+ width: calc(100% - 240px);
23
+ font-size: 14px;
24
+ line-height: var(--file-line-height);
25
+ white-space: nowrap;
26
+ overflow: hidden;
27
+ text-overflow: ellipsis;
28
+ }
29
+ .preview {
30
+ width: 80px;
31
+ text-align: center;
32
+ color: var(--ind-primary-color);
33
+ cursor: pointer;
34
+ }
35
+ .download,
36
+ .delete {
37
+ display: block;
38
+ width: 80px;
39
+ line-height: var(--file-line-height);
40
+ cursor: pointer;
41
+ i {
42
+ font-size: 18px;
43
+ vertical-align: middle !important;
44
+ }
45
+ text-align: center;
46
+ color: var(--ind-primary-color);
47
+ }
48
+ }
49
+ }
50
+
51
+ .ivu-divider-horizontal {
52
+ margin: 5px 0;
53
+ }
54
+
55
+ .upload-img {
56
+ padding: 2px;
57
+ min-height: 60px;
58
+ line-height: 0px;
59
+ border: 2px var(--ind-bg-color-dark) solid;
60
+
61
+ .demo-upload-list {
62
+ display: inline-block;
63
+ width: 60px;
64
+ height: 60px;
65
+ text-align: center;
66
+ line-height: 60px;
67
+ border: 1px solid transparent;
68
+ border-radius: 4px;
69
+ overflow: hidden;
70
+ background: #fff;
71
+ position: relative;
72
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
73
+ margin-right: 4px;
74
+ }
75
+ .demo-upload-list img {
76
+ width: 100%;
77
+ height: 100%;
78
+ }
79
+ .demo-upload-list-cover {
80
+ display: none;
81
+ position: absolute;
82
+ top: 0;
83
+ bottom: 0;
84
+ left: 0;
85
+ right: 0;
86
+ background: rgba(0, 0, 0, 0.6);
87
+ cursor: pointer;
88
+ }
89
+ .demo-upload-list:hover .demo-upload-list-cover {
90
+ display: block;
91
+ }
92
+ .demo-upload-list-cover i {
93
+ margin: 0 2px;
94
+ color: var(--ind-white) !important;
95
+ font-size: 20px;
96
+ cursor: pointer;
97
+
98
+ &.delete-icon {
99
+ position: absolute;
100
+ top: 0;
101
+ right: 0;
102
+ margin: 0;
103
+ font-size: 16px;
104
+ background: rgba(255, 255, 255, 0.3);
105
+ border-radius: 0 0 0 50%;
106
+ }
107
+ }
108
+ }
109
+ .upload-img-no-border {
110
+ padding: 2px;
111
+ line-height: 0px;
112
+ }
113
+ .ivu-modal-fullscreen .ivu-modal-content {
114
+ background-color: rgba(0, 0, 0, 0) !important;
115
+ }
116
+ .ivu-modal-close .ivu-icon-ios-close {
117
+ color: white;
118
+ }
119
+ .ivu-carousel-item {
120
+ text-align: center;
121
+ }
122
+ .carouse-img {
123
+ max-width: 90vw !important;
124
+ max-height: 95vh !important;
125
+ min-block-size: -webkit-fill-available;
126
+ }
127
+ .carouse-content {
128
+ width: 100%;
129
+ height: 95vh;
130
+ text-align: center;
131
+ }
132
+
133
+ .ind-file-preview-content {
134
+ width: 90vw;
135
+ height: 85vh;
136
+ }
137
+ .ind-file-preview-modal {
138
+ .ivu-modal-wrap {
139
+ display: flex;
140
+ align-items: center;
141
+ }
142
+ .ivu-modal {
143
+ top: 0;
144
+ }
145
+ .ivu-modal-content {
146
+ background: #f2f4f7;
147
+ }
148
+ .ivu-modal-footer {
149
+ background: #f2f4f7;
150
+ border: none;
151
+ }
152
+ .ivu-icon-ios-close {
153
+ border: 3px solid white;
154
+ border-radius: 20px;
155
+ background: #999999;
156
+ color: white;
157
+ font-weight: bold;
158
+ }
159
+ .ivu-modal-close {
160
+ overflow: visible;
161
+ right: -17px;
162
+ top: -17px;
163
+ }
164
+ }
@@ -0,0 +1,5 @@
1
+ @import './variables/index.less';
2
+ @import './reset.less';
3
+ @import './common.less';
4
+ @import './components/index.less';
5
+ @import './third/index.less';