@lambo-design/shared 1.0.0-beta.29 → 1.0.0-beta.291

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