bfg-common 1.4.671 → 1.4.673

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.
@@ -1,351 +1,355 @@
1
- @import 'mixins';
2
- * {
3
- box-sizing: border-box;
4
- }
5
-
6
- html:not(.is-new-view) {
7
- &.dark-theme body {
8
- *:not(svg, path, rect, line, defs, g, clipPath, .alert-text) {
9
- color: #e9ecef;
10
- }
11
- select option {
12
- color: var(--select-color);
13
- }
14
- .main-container {
15
- background: #1b2a32;
16
- }
17
- }
18
-
19
- input,
20
- textarea {
21
- font-family: sans-serif!important;
22
- }
23
- }
24
-
25
- * button:focus {
26
- outline: none;
27
- }
28
- body span,
29
- body p,
30
- body *,
31
- body {
32
- @include text();
33
- }
34
- h1,
35
- h2,
36
- h3,
37
- h4,
38
- h5,
39
- h6,
40
- body p {
41
- margin: 0;
42
- }
43
- html:not(.is-new-view) {
44
- h1,
45
- h2,
46
- h3,
47
- h4,
48
- h5,
49
- h6,
50
- body p {
51
- color: #565656;
52
- }
53
- }
54
-
55
- b {
56
- font-weight: bolder;
57
- }
58
- .font-weight-bold {
59
- font-weight: 700;
60
- }
61
-
62
- .flex {
63
- display: flex;
64
- }
65
- .inline-block {
66
- display: inline-block;
67
- }
68
- .table-row {
69
- display: table-row;
70
- }
71
- .table-cell {
72
- display: table-cell;
73
- }
74
-
75
- .flex-1 {
76
- flex: 1;
77
- }
78
-
79
- .flex-align-center {
80
- @include flex($align: center);
81
- }
82
- .flex-align-start {
83
- @include flex($align: flex-start);
84
- }
85
- .flex-space-between {
86
- @include flex($just: space-between);
87
- }
88
- .flex-justify-end {
89
- @include flex($just: flex-end);
90
- }
91
- .flex-justify-center {
92
- @include flex($just: center);
93
- }
94
- .flex-direction-column {
95
- @include flex($dir: column);
96
- }
97
-
98
- .z-index-1 {
99
- z-index: 1;
100
- }
101
- .z-index-10 {
102
- z-index: 10;
103
- }
104
- .z-index-100 {
105
- z-index: 100;
106
- }
107
- .z-index-1000 {
108
- z-index: 1000;
109
- }
110
- .z-index-10000 {
111
- z-index: 10000;
112
- }
113
- .z-index-100000 {
114
- z-index: 100000;
115
- }
116
- .z-index-1000000 {
117
- z-index: 1000000;
118
- }
119
-
120
- .relative {
121
- position: relative;
122
- }
123
- .absolute-center {
124
- position: absolute;
125
- top: 50%;
126
- left: 50%;
127
- transform: translateX(-50%) translateY(-50%);
128
- }
129
- .absolute-cover {
130
- position: absolute;
131
- top: 0;
132
- left: 0;
133
- right: 0;
134
- bottom: 0;
135
- }
136
-
137
- .text-ellipsis {
138
- text-overflow: ellipsis;
139
- white-space: nowrap;
140
- overflow: hidden;
141
- }
142
-
143
- .pre-line {
144
- white-space: pre-line;
145
- }
146
-
147
- .word-break-all {
148
- word-break: break-all;
149
- }
150
-
151
- .color-red {
152
- color: red;
153
- }
154
-
155
- .div-disabled {
156
- pointer-events: none;
157
- cursor: not-allowed;
158
- opacity: 0.6;
159
- }
160
-
161
- .pointer {
162
- cursor: pointer !important;
163
- }
164
-
165
- .default {
166
- cursor: default !important;
167
- }
168
-
169
- .text-decoration-none {
170
- text-decoration: none !important;
171
- }
172
- //
173
- //a.active,
174
- //a.router-link-active {
175
- // pointer-events: none;
176
- //}
177
-
178
- .no-selection {
179
- user-select: none;
180
- -webkit-user-select: none;
181
- -moz-user-select: none;
182
- -khtml-user-select: none;
183
- -ms-user-select: none;
184
- }
185
-
186
- .fill-parent {
187
- display: flex;
188
- height: 100%;
189
- width: 100%;
190
- overflow: visible;
191
- }
192
- .horizontal {
193
- flex-direction: row;
194
- }
195
- .vertical {
196
- flex-direction: column;
197
- }
198
- .gutter {
199
- background-color: #eee;
200
- transition-property: background-color;
201
- transition-delay: 0.25s;
202
- transition-duration: 0.25s;
203
- }
204
-
205
- .clr-icon {
206
- display: inline-block;
207
- margin: 0;
208
- height: 16px;
209
- width: 16px;
210
- vertical-align: middle;
211
- }
212
-
213
- .select {
214
- select {
215
- appearance: none;
216
- margin: 0;
217
- border: 0;
218
- border-radius: 0;
219
- box-shadow: none;
220
- background: 0 0;
221
- height: 1.2rem;
222
- color: #000;
223
- display: inline-block;
224
- min-width: 3rem;
225
- border-bottom: 1px solid #9a9a9a;
226
- background: linear-gradient(180deg, transparent 95%, #0095d3 0) no-repeat;
227
- background-size: 0 100%;
228
- transition: background-size 0.2s ease;
229
- position: relative;
230
- padding: 0 1.1rem 0 0.3rem;
231
- cursor: pointer;
232
- width: 100%;
233
- z-index: 2;
234
- }
235
-
236
- &:after {
237
- position: absolute;
238
- content: '';
239
- height: 0.5rem;
240
- width: 0.5rem;
241
- top: 0.3499998rem;
242
- right: 0.3rem;
243
- //top: 2px;
244
- //right: -16px;
245
- background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cstyle%3E.cls-1%7Bfill%3A%239a9a9a%3B%7D%3C%2Fstyle%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Ctitle%3ECaret%3C%2Ftitle%3E%0A%20%20%20%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M6%2C9L1.2%2C4.2a0.68%2C0.68%2C0%2C0%2C1%2C1-1L6%2C7.08%2C9.84%2C3.24a0.68%2C0.68%2C0%2C1%2C1%2C1%2C1Z%22%2F%3E%0A%3C%2Fsvg%3E%0A);
246
- background-repeat: no-repeat;
247
- background-size: contain;
248
- vertical-align: middle;
249
- margin: 0;
250
- }
251
- }
252
-
253
- .signpost-trigger {
254
- position: relative;
255
- overflow: unset;
256
- }
257
-
258
- .tooltip-content {
259
- position: absolute;
260
- top: calc(100% + 12px);
261
- left: 50%;
262
- background-color: var(--tooltip-content-bg-color);
263
- color: var(--tooltip-content-text-color) !important;
264
- border-radius: 3px;
265
- padding: 4px 6px;
266
- z-index: 9999;
267
- &.right {
268
- left: inherit;
269
- right: 50%;
270
- &::before {
271
- left: inherit;
272
- right: 0;
273
- border-left: 5px solid transparent;
274
- border-right: 5px solid var(--tooltip-content-bg-color);
275
- }
276
- }
277
-
278
- &::before {
279
- content: '';
280
- position: absolute;
281
- top: -8px;
282
- left: 0;
283
- border-left: 5px solid var(--tooltip-content-bg-color);
284
- border-bottom: 6px solid var(--tooltip-content-bg-color);
285
- border-top: 6px solid transparent;
286
- border-right: 5px solid transparent;
287
- }
288
- }
289
- .tooltip {
290
- .tooltip-content {
291
- &.tooltip-top-left {
292
- &.error {
293
- background-color: var(--tooltip-content-error-bg-color);
294
- color: white;
295
- &::before {
296
- border-left: 5px solid transparent;
297
- border-bottom: 6px solid transparent;
298
- border-top: 6px solid var(--tooltip-content-error-bg-color);
299
- border-right: 5px solid var(--tooltip-content-error-bg-color);
300
- }
301
- }
302
- }
303
- &.tooltip-top-right {
304
- &.error {
305
- }
306
- }
307
- }
308
- }
309
-
310
- li {
311
- list-style-type: none;
312
- &::marker {
313
- content: '';
314
- }
315
- }
316
-
317
- //.main-container:has(.notification-bar) {
318
- // height: calc(100vh - 36px);
319
- //}
320
- .dropdown-menu {
321
- &.position-right {
322
- left: auto;
323
- right: 0;
324
- min-width: 30ch;
325
- }
326
- }
327
- .description {
328
- color: var(--global-font-color) !important;
329
- }
330
-
331
- /* after refactoring */
332
-
333
- .related-objects {
334
- &__list {
335
- }
336
- &__item {
337
- display: grid;
338
- grid-template-columns: 1fr 1fr;
339
- }
340
- &__heading {
341
- color: var(--global-text-color3) !important;
342
- }
343
- &__link {
344
- cursor: pointer;
345
- color: var(--global-text-color2) !important;
346
- margin-left: 4px;
347
- }
348
- .footer {
349
- height: 30px;
350
- }
351
- }
1
+ @import 'mixins';
2
+ * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ html:not(.is-new-view) {
7
+ &.dark-theme body {
8
+ *:not(select, option, svg, path, rect, line, defs, g, clipPath, .alert-text) {
9
+ color: #e9ecef;
10
+ }
11
+ select {
12
+ color: #adbbc4;
13
+
14
+ option {
15
+ color: #000000;
16
+ }
17
+ }
18
+ .main-container {
19
+ background: #1b2a32;
20
+ }
21
+ }
22
+
23
+ input,
24
+ textarea {
25
+ font-family: sans-serif !important;
26
+ }
27
+ }
28
+
29
+ * button:focus {
30
+ outline: none;
31
+ }
32
+ body span,
33
+ body p,
34
+ body *,
35
+ body {
36
+ @include text();
37
+ }
38
+ h1,
39
+ h2,
40
+ h3,
41
+ h4,
42
+ h5,
43
+ h6,
44
+ body p {
45
+ margin: 0;
46
+ }
47
+ html:not(.is-new-view) {
48
+ h1,
49
+ h2,
50
+ h3,
51
+ h4,
52
+ h5,
53
+ h6,
54
+ body p {
55
+ color: #565656;
56
+ }
57
+ }
58
+
59
+ b {
60
+ font-weight: bolder;
61
+ }
62
+ .font-weight-bold {
63
+ font-weight: 700;
64
+ }
65
+
66
+ .flex {
67
+ display: flex;
68
+ }
69
+ .inline-block {
70
+ display: inline-block;
71
+ }
72
+ .table-row {
73
+ display: table-row;
74
+ }
75
+ .table-cell {
76
+ display: table-cell;
77
+ }
78
+
79
+ .flex-1 {
80
+ flex: 1;
81
+ }
82
+
83
+ .flex-align-center {
84
+ @include flex($align: center);
85
+ }
86
+ .flex-align-start {
87
+ @include flex($align: flex-start);
88
+ }
89
+ .flex-space-between {
90
+ @include flex($just: space-between);
91
+ }
92
+ .flex-justify-end {
93
+ @include flex($just: flex-end);
94
+ }
95
+ .flex-justify-center {
96
+ @include flex($just: center);
97
+ }
98
+ .flex-direction-column {
99
+ @include flex($dir: column);
100
+ }
101
+
102
+ .z-index-1 {
103
+ z-index: 1;
104
+ }
105
+ .z-index-10 {
106
+ z-index: 10;
107
+ }
108
+ .z-index-100 {
109
+ z-index: 100;
110
+ }
111
+ .z-index-1000 {
112
+ z-index: 1000;
113
+ }
114
+ .z-index-10000 {
115
+ z-index: 10000;
116
+ }
117
+ .z-index-100000 {
118
+ z-index: 100000;
119
+ }
120
+ .z-index-1000000 {
121
+ z-index: 1000000;
122
+ }
123
+
124
+ .relative {
125
+ position: relative;
126
+ }
127
+ .absolute-center {
128
+ position: absolute;
129
+ top: 50%;
130
+ left: 50%;
131
+ transform: translateX(-50%) translateY(-50%);
132
+ }
133
+ .absolute-cover {
134
+ position: absolute;
135
+ top: 0;
136
+ left: 0;
137
+ right: 0;
138
+ bottom: 0;
139
+ }
140
+
141
+ .text-ellipsis {
142
+ text-overflow: ellipsis;
143
+ white-space: nowrap;
144
+ overflow: hidden;
145
+ }
146
+
147
+ .pre-line {
148
+ white-space: pre-line;
149
+ }
150
+
151
+ .word-break-all {
152
+ word-break: break-all;
153
+ }
154
+
155
+ .color-red {
156
+ color: red;
157
+ }
158
+
159
+ .div-disabled {
160
+ pointer-events: none;
161
+ cursor: not-allowed;
162
+ opacity: 0.6;
163
+ }
164
+
165
+ .pointer {
166
+ cursor: pointer !important;
167
+ }
168
+
169
+ .default {
170
+ cursor: default !important;
171
+ }
172
+
173
+ .text-decoration-none {
174
+ text-decoration: none !important;
175
+ }
176
+ //
177
+ //a.active,
178
+ //a.router-link-active {
179
+ // pointer-events: none;
180
+ //}
181
+
182
+ .no-selection {
183
+ user-select: none;
184
+ -webkit-user-select: none;
185
+ -moz-user-select: none;
186
+ -khtml-user-select: none;
187
+ -ms-user-select: none;
188
+ }
189
+
190
+ .fill-parent {
191
+ display: flex;
192
+ height: 100%;
193
+ width: 100%;
194
+ overflow: visible;
195
+ }
196
+ .horizontal {
197
+ flex-direction: row;
198
+ }
199
+ .vertical {
200
+ flex-direction: column;
201
+ }
202
+ .gutter {
203
+ background-color: #eee;
204
+ transition-property: background-color;
205
+ transition-delay: 0.25s;
206
+ transition-duration: 0.25s;
207
+ }
208
+
209
+ .clr-icon {
210
+ display: inline-block;
211
+ margin: 0;
212
+ height: 16px;
213
+ width: 16px;
214
+ vertical-align: middle;
215
+ }
216
+
217
+ .select {
218
+ select {
219
+ appearance: none;
220
+ margin: 0;
221
+ border: 0;
222
+ border-radius: 0;
223
+ box-shadow: none;
224
+ background: 0 0;
225
+ height: 1.2rem;
226
+ color: #000;
227
+ display: inline-block;
228
+ min-width: 3rem;
229
+ border-bottom: 1px solid #9a9a9a;
230
+ background: linear-gradient(180deg, transparent 95%, #0095d3 0) no-repeat;
231
+ background-size: 0 100%;
232
+ transition: background-size 0.2s ease;
233
+ position: relative;
234
+ padding: 0 1.1rem 0 0.3rem;
235
+ cursor: pointer;
236
+ width: 100%;
237
+ z-index: 2;
238
+ }
239
+
240
+ &:after {
241
+ position: absolute;
242
+ content: '';
243
+ height: 0.5rem;
244
+ width: 0.5rem;
245
+ top: 0.3499998rem;
246
+ right: 0.3rem;
247
+ //top: 2px;
248
+ //right: -16px;
249
+ background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cstyle%3E.cls-1%7Bfill%3A%239a9a9a%3B%7D%3C%2Fstyle%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Ctitle%3ECaret%3C%2Ftitle%3E%0A%20%20%20%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M6%2C9L1.2%2C4.2a0.68%2C0.68%2C0%2C0%2C1%2C1-1L6%2C7.08%2C9.84%2C3.24a0.68%2C0.68%2C0%2C1%2C1%2C1%2C1Z%22%2F%3E%0A%3C%2Fsvg%3E%0A);
250
+ background-repeat: no-repeat;
251
+ background-size: contain;
252
+ vertical-align: middle;
253
+ margin: 0;
254
+ }
255
+ }
256
+
257
+ .signpost-trigger {
258
+ position: relative;
259
+ overflow: unset;
260
+ }
261
+
262
+ .tooltip-content {
263
+ position: absolute;
264
+ top: calc(100% + 12px);
265
+ left: 50%;
266
+ background-color: var(--tooltip-content-bg-color);
267
+ color: var(--tooltip-content-text-color) !important;
268
+ border-radius: 3px;
269
+ padding: 4px 6px;
270
+ z-index: 9999;
271
+ &.right {
272
+ left: inherit;
273
+ right: 50%;
274
+ &::before {
275
+ left: inherit;
276
+ right: 0;
277
+ border-left: 5px solid transparent;
278
+ border-right: 5px solid var(--tooltip-content-bg-color);
279
+ }
280
+ }
281
+
282
+ &::before {
283
+ content: '';
284
+ position: absolute;
285
+ top: -8px;
286
+ left: 0;
287
+ border-left: 5px solid var(--tooltip-content-bg-color);
288
+ border-bottom: 6px solid var(--tooltip-content-bg-color);
289
+ border-top: 6px solid transparent;
290
+ border-right: 5px solid transparent;
291
+ }
292
+ }
293
+ .tooltip {
294
+ .tooltip-content {
295
+ &.tooltip-top-left {
296
+ &.error {
297
+ background-color: var(--tooltip-content-error-bg-color);
298
+ color: white;
299
+ &::before {
300
+ border-left: 5px solid transparent;
301
+ border-bottom: 6px solid transparent;
302
+ border-top: 6px solid var(--tooltip-content-error-bg-color);
303
+ border-right: 5px solid var(--tooltip-content-error-bg-color);
304
+ }
305
+ }
306
+ }
307
+ &.tooltip-top-right {
308
+ &.error {
309
+ }
310
+ }
311
+ }
312
+ }
313
+
314
+ li {
315
+ list-style-type: none;
316
+ &::marker {
317
+ content: '';
318
+ }
319
+ }
320
+
321
+ //.main-container:has(.notification-bar) {
322
+ // height: calc(100vh - 36px);
323
+ //}
324
+ .dropdown-menu {
325
+ &.position-right {
326
+ left: auto;
327
+ right: 0;
328
+ min-width: 30ch;
329
+ }
330
+ }
331
+ .description {
332
+ color: var(--global-font-color) !important;
333
+ }
334
+
335
+ /* after refactoring */
336
+
337
+ .related-objects {
338
+ &__list {
339
+ }
340
+ &__item {
341
+ display: grid;
342
+ grid-template-columns: 1fr 1fr;
343
+ }
344
+ &__heading {
345
+ color: var(--global-text-color3) !important;
346
+ }
347
+ &__link {
348
+ cursor: pointer;
349
+ color: var(--global-text-color2) !important;
350
+ margin-left: 4px;
351
+ }
352
+ .footer {
353
+ height: 30px;
354
+ }
355
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.671",
4
+ "version": "1.4.673",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -17,14 +17,14 @@ export const tasksConstructor = (
17
17
  return {
18
18
  // relatedEvents: task?.RelatedEvents || '',
19
19
  relatedEvents: '',
20
- completion: task.completion || '-',
20
+ completion: task.completion || '--',
21
21
  queuedFor: task.start_time - task.creation_time,
22
22
  execution: Math.abs(task.start_time - task.completion),
23
23
  details: task.details,
24
24
  error: task.error,
25
25
  initiator: task.initiator,
26
26
  server: task.server,
27
- startTime: task.start_time || '-',
27
+ startTime: task.start_time || '--',
28
28
  statusIcon: UI_E_IconNameByTaskStatus[task.status],
29
29
  statusText: task.error || UI_E_TaskStatus[task.status],
30
30
  status: task.status,