cc-core-cli 1.0.50 → 1.0.52

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,323 @@
1
+ @import "custom-antd.less";
2
+
3
+
4
+ .multiple-date-time-picker {
5
+
6
+ .icon-input-remove {
7
+ display: none;
8
+ }
9
+
10
+ .rmdp-container {
11
+ width: 100%;
12
+ min-height: 32px;
13
+ }
14
+
15
+ input {
16
+ width: 100%;
17
+ height: auto;
18
+ padding: 4px 11px 4px;
19
+ }
20
+
21
+ input::-webkit-input-placeholder {
22
+ color: #c2bfbf;
23
+ }
24
+
25
+ .icon-input {
26
+ color: #c2bfbf;
27
+ cursor:text;
28
+ }
29
+
30
+ .ant-input-affix-wrapper .ant-input-suffix {
31
+ padding-right: 0px !important;
32
+ }
33
+ }
34
+
35
+ .custom-date-panel {
36
+ min-width: 120px;
37
+ // border-left: 1px solid #cfd8e2;
38
+ }
39
+
40
+ .custom-time-picker {
41
+ border-right: 1px solid #cfd8e2;
42
+ }
43
+
44
+ .cc-custom-time-picker {
45
+ border-right: 1px solid #cfd8e2;
46
+ border-bottom: 1px solid #cfd8e2;
47
+ .dvdr {
48
+ display: flex;
49
+ flex-direction: column;
50
+ justify-content: center;
51
+ margin-top: -5px;
52
+ }
53
+ }
54
+
55
+ .cc-time-picker {
56
+ display: flex;
57
+ padding: 3px 0;
58
+ min-width: 120px;
59
+ max-height: 100px;
60
+
61
+ .box-time {
62
+ align-items: center;
63
+ display: flex;
64
+ flex: 1;
65
+ flex-direction: column;
66
+ }
67
+
68
+ .cc-arrow-container {
69
+ background: transparent;
70
+ border: none;
71
+ border-radius: 50%;
72
+ cursor: pointer;
73
+ display: flex;
74
+ height: 20px;
75
+ justify-content: center;
76
+ margin: 0 5px;
77
+ padding: 0;
78
+ width: 20px;
79
+ }
80
+
81
+ .cc-icon-up {
82
+ i {
83
+ margin-top: 7px;
84
+ -webkit-transform: rotate(-135deg);
85
+ }
86
+ }
87
+
88
+ .cc-icon-down {
89
+ margin-top: 3px;
90
+ -webkit-transform: rotate(45deg);
91
+ }
92
+
93
+ .cc-time-arrow {
94
+ border: solid #0074d9;
95
+ border-width: 0 2px 2px 0;
96
+ display: inline-block;
97
+ height: 3px;
98
+ margin-top: 5px;
99
+ padding: 2px;
100
+ width: 3px;
101
+ }
102
+
103
+ .cc-time-input {
104
+ border: none;
105
+ flex-grow: 1;
106
+ font-size: 14px;
107
+ padding: 5px 2px;
108
+ text-align: center;
109
+ width: 20px;
110
+ }
111
+ }
112
+
113
+ .cc-select-date {
114
+ margin: 10px;
115
+ }
116
+
117
+ .cc-custom-time-picker-footer {
118
+ align-items: center;
119
+ padding: 8px 10px 10px 8px;
120
+ .button-now {
121
+ cursor: pointer;
122
+ }
123
+ }
124
+
125
+ .cc-picker-time-panel {
126
+ width: auto;
127
+ min-width: auto;
128
+ display: flex;
129
+ flex-direction: column;
130
+ border-right: 1px solid #cfd8e2;
131
+
132
+ .cc-picker-header-view {
133
+ border-bottom: 1px solid #cfd8e2;
134
+ height: 46px;
135
+ align-items: center;
136
+ justify-content: center;
137
+ display: flex;
138
+ }
139
+
140
+ .cc-picker-content {
141
+ display: flex;
142
+ flex: auto;
143
+ height: 224px;
144
+
145
+ .cc-picker-time-panel-column:not(:first-child) {
146
+ border-left: 1px solid #cfd8e2;
147
+ }
148
+
149
+ .cc-picker-time-panel-column::after {
150
+ display: block;
151
+ min-height: 224px;
152
+ content: '';
153
+ }
154
+
155
+ .cc-picker-time-panel-column {
156
+ flex: 1 0 auto;
157
+ width: 56px;
158
+ margin: 0;
159
+ padding: 0;
160
+ overflow-y: scroll;
161
+ text-align: left;
162
+ list-style: none;
163
+ transition: background 0.3s;
164
+ border-collapse: collapse;
165
+
166
+ .cc-picker-time-panel-item{
167
+
168
+ .cc-picker-time-panel-cell-inner {
169
+ display: flex;
170
+ width: 100%;
171
+ height: 28px;
172
+ margin: 0;
173
+ // padding: 0 0 0 14px;
174
+ line-height: 28px;
175
+ cursor: pointer;
176
+ justify-content: center
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+
183
+ .custom-plugins-time-picker {
184
+ .cc-plugins-time-rows {
185
+ display: flex;
186
+ border-bottom: 1px solid #cfd8e2;
187
+ }
188
+
189
+ .cc-plugins-panel-column {
190
+ min-width: 125px;
191
+ width: 100%;
192
+ }
193
+
194
+ .rmdp-panel-body {
195
+ min-height: 224px;
196
+ }
197
+ }
198
+
199
+ .custom-date-picker {
200
+ .rmdp-week {
201
+ .rmdp-week-day {
202
+ color: unset;
203
+ }
204
+ }
205
+
206
+ .rmdp-calendar {
207
+ height: unset;
208
+ padding : 0px;
209
+ }
210
+
211
+ .rmdp-header {
212
+ border-bottom: 1px solid #cfd8e2;
213
+ }
214
+
215
+ .rmdp-day.rmdp-selected span:not(.highlight) {
216
+ background-color: @primary-color !important;
217
+ box-shadow: 0 0 3px @primary-color;
218
+ color: @btn-default-bg;
219
+ }
220
+
221
+ .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover {
222
+ background-color: @hover-color;
223
+ color: #fff;
224
+ }
225
+ .rmdp-header-values {
226
+ color: @text-color;
227
+ }
228
+ }
229
+
230
+ .cc-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .cc-picker-time-panel-cell-inner {
231
+ background-color: @primary-color;
232
+ opacity: .4;
233
+ }
234
+
235
+ .cc-picker-time-panel-column > li.cc-picker-time-panel-cell-disabled .cc-picker-time-panel-cell-inner {
236
+ color: rgba(0, 0, 0, 0.25);
237
+ background-color: transparent !important;
238
+ }
239
+
240
+
241
+ .cc-picker-time-panel .cc-picker-content .cc-picker-time-panel-column .cc-picker-time-panel-item .cc-picker-time-panel-cell-inner {
242
+ display: flex;
243
+ width: 100%;
244
+ height: 28px;
245
+ margin: 0;
246
+ line-height: 28px;
247
+ cursor: pointer;
248
+ justify-content: center;
249
+ }
250
+
251
+ .cc-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .cc-picker-time-panel-cell-inner:hover {
252
+ background: @hover-color;
253
+ }
254
+
255
+ .cc-picker-time-panel-column .cc-picker-time-panel-cell-inner:hover {
256
+ background: @hover-color;
257
+ }
258
+
259
+ .cc-custom-panel{
260
+ .rmdp-panel-header {
261
+ margin: unset;
262
+ border-bottom: 1px solid #cfd8e2;
263
+ height: 46px;
264
+ color: @text-color;
265
+ align-items: center;
266
+ justify-content: center;
267
+ display: flex;
268
+ }
269
+
270
+ .rmdp-panel-body li button {
271
+ color: @text-color;
272
+ }
273
+ .rmdp-panel-body li .b-deselect {
274
+ background-color: transparent !important;
275
+ }
276
+
277
+ .rmdp-panel-body li, .rmdp-panel-body li.bg-blue {
278
+ background-color: transparent !important;
279
+ }
280
+ }
281
+
282
+
283
+ .cc-popover-placement {
284
+ .ant-popover-inner-content {
285
+ padding: 0px;
286
+ }
287
+
288
+ .ant-popover-inner-content {
289
+ min-width: 350px;
290
+ }
291
+ }
292
+
293
+ .cc-multiple-date-time-input-tab {
294
+ display: flex;
295
+ align-items: center;
296
+ padding: 10px;
297
+ background: #f5f5f5 !important;
298
+ border: 1px solid #f0f0f0 !important;
299
+ border-radius: 6px;
300
+ height: 24px;
301
+ margin-top: 2px;
302
+ margin-bottom: 2px;
303
+ line-height: 22px;
304
+ margin-right: 3px;
305
+ font-size: 13px;
306
+ font-feature-settings: "tnum";
307
+ font-variant: tabular-nums;
308
+
309
+ .icon-remove {
310
+ padding-left: 5px;
311
+ cursor: pointer;
312
+ }
313
+ }
314
+
315
+ .multiple-date-time-picker :hover {
316
+ .icon-input:not(.icon-input-rmpty) {
317
+ display: none;
318
+ }
319
+
320
+ .icon-input-remove:not(.icon-input-remove-rmpty) {
321
+ display: flex;
322
+ }
323
+ }
@@ -150,6 +150,7 @@
150
150
 
151
151
  // Component Mapping Data mapping-tree
152
152
  .component-mapping-data {
153
+ padding-top: 10px;
153
154
  .mapping-data-dnd {
154
155
 
155
156
  .field-container,
@@ -43,7 +43,8 @@ html {
43
43
 
44
44
  .main-body {
45
45
  padding: 0 26px;
46
- width: calc(100% - 250px);
46
+ display :grid;
47
+ // width: calc(100% - 250px);
47
48
 
48
49
  &.collapsed {
49
50
  padding-left: 96px;
@@ -392,6 +393,8 @@ html {
392
393
 
393
394
  .header-title {
394
395
  padding-right: 0px !important;
396
+ justify-content: flex-end;
397
+ display: flex;
395
398
 
396
399
  .ant-typography {
397
400
  width: 140px;
@@ -416,11 +419,12 @@ html {
416
419
 
417
420
  &.sider-collapsed {
418
421
  z-index: 12;
419
- position: absolute;
422
+ // position: absolute;
423
+
420
424
 
421
425
  .header-title,
422
426
  .icon-collapsed {
423
- display: none;
427
+ display: none !important ;
424
428
  }
425
429
 
426
430
  .logo-collapsed {
@@ -462,19 +466,21 @@ html {
462
466
  }
463
467
 
464
468
  &:hover {
469
+
465
470
  .header-title,
471
+ .icon-collapsed {
472
+ display: inline-block !important;
473
+ justify-content: flex-end;
474
+ }
466
475
  .icon-collapsed {
467
- display: inline-block;
476
+ justify-content: flex-end;
477
+ display: flex !important;
468
478
  }
469
479
 
470
480
  .logo-collapsed {
471
481
  width: 80%;
472
482
  }
473
-
474
- .main-sider.collapsed {
475
- width: 250px;
476
- }
477
-
483
+
478
484
  .main-sider {
479
485
  .ant-menu {
480
486
  .ant-menu-submenu
@@ -525,25 +531,30 @@ html {
525
531
  }
526
532
 
527
533
  .header-title {
528
- padding-right: 0px !important;
534
+ padding: 0px !important;
535
+ padding-right: 5px !important;
529
536
 
530
- .ant-typography {
531
- width: 140px;
537
+ .label {
538
+ white-space: nowrap;
539
+ overflow: hidden;
540
+ text-overflow: ellipsis;
532
541
  font-size: 15px;
533
542
  font-weight: 500;
534
- }
543
+ }
535
544
  }
536
545
 
537
- .icon-collapsed {
538
- padding: 0px !important;
539
-
546
+ .icon-collapsed {
547
+ padding: 0px !important;
548
+ justify-content: flex-end;
549
+ display: flex;
550
+
540
551
  .anticon {
541
552
  svg {
542
553
  cursor: pointer;
543
554
  width: 26px;
544
555
  height: 26px;
545
- margin-top: 6px;
546
- margin-left: 6px;
556
+ // margin-top: 6px;
557
+ // margin-left: 6px;
547
558
  }
548
559
  }
549
560
  }
@@ -560,9 +571,9 @@ html {
560
571
  }
561
572
 
562
573
  .main-sider {
563
- height: calc(100vh - 68px);
574
+ height: calc(100vh - 68px);
564
575
  overflow: auto;
565
- width: 250px;
576
+ // width: 250px;
566
577
  transition: width 0.2s;
567
578
  z-index: 12;
568
579
 
@@ -1321,3 +1332,34 @@ html {
1321
1332
  }
1322
1333
 
1323
1334
  // ********* end custom menu Lv4-5 **********
1335
+
1336
+
1337
+ //
1338
+ .drawer-menu-resize {
1339
+ display: flex;
1340
+ position: relative;
1341
+
1342
+ .dragger {
1343
+ width: 10px;
1344
+ cursor: ew-resize;
1345
+ padding: 4px 0 0;
1346
+ position: absolute;
1347
+ top: 0;
1348
+ right: 0;
1349
+ bottom: 0;
1350
+ z-index: 100;
1351
+ }
1352
+
1353
+ .drawer-content {
1354
+ overflow: auto;
1355
+ transition: width 0.2s;
1356
+ }
1357
+ .open-drawer {
1358
+ transition: width 0.2s;
1359
+ }
1360
+
1361
+ }
1362
+
1363
+ .drawer-menu-resize-collapsed {
1364
+ transition: transform .3s cubic-bezier(0, .52, 0, 1);
1365
+ }
@@ -0,0 +1,84 @@
1
+ @import "custom-antd.less";
2
+
3
+ .pipeline-card {
4
+ border: 1px solid @border-color-split !important;
5
+ border-radius: 5px;
6
+
7
+ .pipeline-main {
8
+ height: 720px;
9
+ display: flex;
10
+
11
+ .pipeline-column-one {
12
+ border-right: 1px solid @border-color-split !important;
13
+ padding: 15px;
14
+ padding-right: 0px;
15
+ padding-left: 0px;
16
+
17
+ .pipeline-react-flow {
18
+ width: 230px;
19
+ height: 685px;
20
+ }
21
+
22
+ .pipeline-add-item {
23
+ position: absolute;
24
+ left: 0;
25
+ bottom: 0px;
26
+ z-index: 9999;
27
+ border-radius: 0px;
28
+ border: unset;
29
+ width: 100%;
30
+ }
31
+ }
32
+
33
+ .pipeline-column-two {
34
+ padding: 15px;
35
+ overflow: scroll;
36
+ height: 720px;
37
+ flex: 1;
38
+ }
39
+
40
+ .pipeline-icon-add {
41
+ position: absolute;
42
+ bottom: 0px;
43
+ right: 0px;
44
+ width: 100%;
45
+ z-index: 9999;
46
+ border-radius: 0px;
47
+ }
48
+ }
49
+
50
+ .custom-edge-react-flow-edge-path {
51
+ stroke-width: 1;
52
+ fill: none;
53
+ }
54
+
55
+ .edgebutton-body {
56
+ align-items: center;
57
+ background: transparent;
58
+ display: flex;
59
+ height: 40px;
60
+ justify-content: center;
61
+ min-height: 40px;
62
+ width: 40px;
63
+ .edgebutton {
64
+ border : none;
65
+ border-radius: 50%;
66
+ cursor: pointer;
67
+ font-size: 16px;
68
+ height: 30px;
69
+ line-height: 1;
70
+ width: 30px;
71
+ }
72
+ }
73
+
74
+ }
75
+
76
+ .pipeline-layout-detail {
77
+
78
+ .pipeline-layout-detail-button {
79
+ display: flex;
80
+ justify-content: flex-end;
81
+ padding-left: 15px !important;
82
+ padding-right: 15px !important;
83
+ }
84
+ }
@@ -25,6 +25,9 @@
25
25
  @import "date_search.less";
26
26
  @import "react-big-calendar/lib/css/react-big-calendar.css";
27
27
  @import "calendar.less";
28
+ @import "datepicker.less";
29
+ @import "pipeline.less";
30
+
28
31
  //----- Custom table ------//
29
32
  .ant-table-column-sorters {
30
33
  padding-left: 0px;
@@ -1706,10 +1709,35 @@ h4.ant-typography {
1706
1709
  position: relative;
1707
1710
  }
1708
1711
 
1712
+ .customNode-add {
1713
+ display: flex;
1714
+ justify-content: center;
1715
+ width: 200px;
1716
+ }
1717
+
1718
+ .customNode.custom-node-add {
1719
+ border: 1px dashed @text-color-disabled;
1720
+
1721
+ }
1722
+
1723
+ .custom-node-add-radius {
1724
+ padding: 4px 8px;
1725
+ border: 1px dashed @text-color-disabled;
1726
+ border-radius: 50%;
1727
+ background-color: white;
1728
+ height: 30px;
1729
+ width: 30px;
1730
+ justify-content: center;
1731
+ align-items: center;
1732
+ display: flex;
1733
+ position: relative;
1734
+ }
1735
+
1709
1736
  .customNodeIconEdit {
1710
1737
  position: absolute;
1711
1738
  top: 0px;
1712
1739
  right: 25px;
1740
+ cursor: pointer;
1713
1741
  }
1714
1742
 
1715
1743
  .customNodeIconEdit:hover {
@@ -1765,3 +1793,18 @@ h4.ant-typography {
1765
1793
  background-color: inherit !important;
1766
1794
  }
1767
1795
  }
1796
+
1797
+ .custom-node-content {
1798
+ width: 100%;
1799
+ display: flex;
1800
+ }
1801
+
1802
+ .custom-node-content-text span {
1803
+ display: flex;
1804
+ justify-content: center;
1805
+ }
1806
+
1807
+ .custom-node-content-tag {
1808
+ display: flex;
1809
+ justify-content: end;
1810
+ }
@@ -136,12 +136,12 @@ async function initial(app: NestFastifyApplication) {
136
136
 
137
137
  LIB_CUSTOM_MODULES.push(...CUSTOM_MODULES)
138
138
 
139
- await initialService(app, ApiKeyService);
140
139
  await initialService(app, SettingService);
141
140
  await initialService(app, EntitiesService);
142
141
  await initialService(app, UserRolePermissonService);
143
142
  await initialService(app, UserRoleService);
144
143
  await initialService(app, UserService);
144
+ await initialService(app, ApiKeyService);
145
145
  await initialService(app, LanguageService);
146
146
  await initialService(app, TranslateService);
147
147
  await initialService(app, ActivityLogService);