@lambo-design/workflow-approve 1.0.0-beta.2 → 1.0.0-beta.4

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.
@@ -0,0 +1,221 @@
1
+ .containers {
2
+ /*position: absolute;*/
3
+ background-color: #ffffff;
4
+ width: 100%;
5
+
6
+ .done-line .djs-visual > :nth-child(1) {
7
+ stroke: rgb(218, 246, 209) !important;
8
+ }
9
+
10
+ .done-point .djs-visual > :nth-child(1) {
11
+ fill: rgb(218, 246, 209) !important;
12
+ }
13
+
14
+ .done-task .djs-visual > :nth-child(1) {
15
+ fill: rgb(218, 246, 209) !important;
16
+ }
17
+
18
+ .todo-point .djs-visual > :nth-child(1) {
19
+ fill: rgb(258, 227, 180) !important;
20
+ }
21
+
22
+ .bjs-powered-by {
23
+ display: none;
24
+ }
25
+ }
26
+
27
+ .canvas {
28
+ width: 100%;
29
+ height: 100%;
30
+ margin-top: 0%;
31
+ }
32
+
33
+ .tooltip-text {
34
+ overflow: hidden;
35
+ text-overflow: ellipsis;
36
+ white-space: nowrap;
37
+ display: inline-block;
38
+ max-width: 130px; /* 限制文本宽度 */
39
+ }
40
+
41
+ .portrait-lambo-indicator-card{
42
+ height: 100%;
43
+ position: relative;
44
+ overflow-y: auto;
45
+ margin-bottom: -10px;
46
+ }
47
+ .portrait-lambo-indicator-card::-webkit-scrollbar {
48
+ width: 5px;
49
+ height: 5px;
50
+ }
51
+
52
+ .portrait-lambo-indicator-card::-webkit-scrollbar-thumb {
53
+ background: linear-gradient(to bottom right, #bbbbbb 0%, #bbbbbb 100%);
54
+ border-radius: 5px;
55
+ }
56
+ .header-text {
57
+ display: flex;
58
+ font-size: 18px;
59
+ font-weight: bold;
60
+ color: black;
61
+ }
62
+
63
+ .process-history {
64
+ height: 40vh;
65
+ width: 100%;
66
+ overflow-y: auto;
67
+ }
68
+
69
+ .process-history::-webkit-scrollbar {
70
+ width: 5px;
71
+ height: 5px;
72
+ }
73
+
74
+ .process-history::-webkit-scrollbar-thumb {
75
+ background: linear-gradient(to bottom right, #bbbbbb 0%, #bbbbbb 100%);
76
+ border-radius: 5px;
77
+ }
78
+
79
+ .box {
80
+ overflow: hidden;
81
+ transition: height 0.3s ease;
82
+ height: auto;
83
+ width: auto;
84
+ margin-left: -15px;
85
+ }
86
+
87
+ .draw-enter-active, .draw-leave-active {
88
+
89
+ }
90
+
91
+ .draw-enter, .draw-leave-to {
92
+ height: 0;
93
+ }
94
+ .attach-name-style {
95
+ margin-bottom: -5px;
96
+ white-space: nowrap;
97
+ display: inline-block;
98
+ width: auto;
99
+ font-size: 14px;
100
+ color: #17233d;
101
+ overflow: hidden;
102
+ text-overflow: ellipsis;
103
+ }
104
+
105
+ .arrow-button-container {
106
+ position: absolute;
107
+ z-index: 50;
108
+ width: 12px;
109
+ height: 50px;
110
+ border-radius: 4px;
111
+ border: none;
112
+ background-color: #cccccc;
113
+ color: white;
114
+ display: inline-block;
115
+ transition: 0.5s;
116
+ top: 50%;
117
+ transform: translateX(0)
118
+ }
119
+ .icon-class{
120
+ margin-top: 18px;
121
+ }
122
+ .attach-card{
123
+ border:solid;
124
+ border-width: thin;
125
+ border-color: #f1f1f1;
126
+ width: auto;
127
+ border-radius: 10px;
128
+ margin: 10px 0 10px 10px
129
+ }
130
+ .attach-avatar{
131
+ margin-right: 5px;
132
+ zoom: 150%
133
+ }
134
+ .arrow {
135
+ display: flex;
136
+ justify-content: center;
137
+ align-items: center;
138
+ }
139
+
140
+ .history-title {
141
+ font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
142
+ font-weight: bold;
143
+ color: #515a6e;
144
+ font-size: 14px;
145
+ margin: 0 1vh 0 -2vh;
146
+ }
147
+
148
+ .cicle{
149
+ margin-left: 12px;
150
+ width: 15px;
151
+ height: 15px;
152
+ border-radius: 50%;
153
+ }
154
+
155
+ .audit-name-style {
156
+ margin-bottom: -5px;
157
+ white-space: nowrap;
158
+ display: inline-block;
159
+ max-width: 100px;
160
+ font-size: 14px;
161
+ color: #17233d;
162
+ overflow: hidden;
163
+ text-overflow: ellipsis;
164
+ }
165
+
166
+ .audit-date-style {
167
+ white-space: nowrap;
168
+ display: inline-block;
169
+ max-width: 100px;
170
+ font-size: 14px;
171
+ color: #808695;
172
+ margin-left: 10px;
173
+ }
174
+
175
+ .portrait-timeline-item {
176
+ margin-bottom: -10px !important;
177
+ }
178
+
179
+ .portrait-timeline {
180
+ margin: 0 0 0 0
181
+ }
182
+
183
+ .portrait-card {
184
+ background-color: #f1f1f1;
185
+ border-radius: 10px;
186
+ width: auto;
187
+ margin-left: -15px;
188
+ margin-right: -25px;
189
+ margin-bottom: 5px;
190
+ }
191
+
192
+ .portrait-avatar-large {
193
+ background-color: #005aff;
194
+ margin: -15px 10px 0 10px;
195
+ zoom: 150%
196
+ }
197
+
198
+ .portrait-avatar-small {
199
+ background-color: #005aff;
200
+ margin: -30px 10px 0 5px;
201
+ zoom: 150%
202
+ }
203
+
204
+ .urging{
205
+ margin-top: -3px;
206
+ font-size: small;
207
+ }
208
+
209
+ .attach{
210
+ margin-top: -3px;
211
+ font-size: small;
212
+ margin-left: 130px
213
+ }
214
+
215
+ .portrait-audit-date-style{
216
+ white-space: nowrap;
217
+ max-width: 100px;
218
+ margin-top: 5px;
219
+ font-size: 12px;
220
+ color: #808695;
221
+ }
@@ -83,9 +83,8 @@
83
83
  </template>
84
84
 
85
85
  <script>
86
- import ajax from "packages/shared/utils/ajax";
87
- import zoomScroll from "packages/shared/utils/zoomScroll";
88
- // import validators from "../libs/validators";
86
+ import ajax from "@lambo-design/shared/utils/ajax";
87
+ import zoomScroll from "@lambo-design/shared/utils/zoomScroll";
89
88
  import BpmnViewer from "bpmn-js/lib/Viewer";
90
89
  import ModelingModule from 'bpmn-js/lib/features/modeling';
91
90
  import MoveCanvasModule from 'diagram-js/lib/navigation/movecanvas';
@@ -329,46 +328,5 @@ export default {
329
328
  </script>
330
329
 
331
330
  <style lang="less">
332
- .containers {
333
- /*position: absolute;*/
334
- background-color: #ffffff;
335
- width: 100%;
336
-
337
- .done-line .djs-visual > :nth-child(1) {
338
- stroke: rgb(218, 246, 209) !important;
339
- }
340
-
341
- .done-point .djs-visual > :nth-child(1) {
342
- // stroke: rgb(218, 246, 209) !important;
343
- fill: rgb(218, 246, 209) !important;
344
- }
345
-
346
- .done-task .djs-visual > :nth-child(1) {
347
- // stroke: rgb(218, 246, 209) !important;
348
- fill: rgb(218, 246, 209) !important;
349
- }
350
-
351
- .todo-point .djs-visual > :nth-child(1) {
352
- // stroke: rgba(258,227,180) !important;
353
- fill: rgb(258, 227, 180) !important;
354
- }
355
-
356
- .bjs-powered-by {
357
- display: none;
358
- }
359
- }
360
-
361
- .canvas {
362
- width: 100%;
363
- height: 100%;
364
- margin-top: 0%;
365
- }
366
-
367
- .tooltip-text {
368
- overflow: hidden;
369
- text-overflow: ellipsis;
370
- white-space: nowrap;
371
- display: inline-block;
372
- max-width: 130px; /* 限制文本宽度 */
373
- }
331
+ @import "./styles/css/index.less";
374
332
  </style>