cc-core-cli 1.0.90 → 1.0.92
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.
package/package.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
@import "datepicker.less";
|
|
29
29
|
@import "pipeline.less";
|
|
30
30
|
@import "tree_theme_minimal.less";
|
|
31
|
+
@import "matrix.less";
|
|
31
32
|
|
|
32
33
|
//----- Custom table ------//
|
|
33
34
|
.ant-table-column-sorters {
|
|
@@ -1859,7 +1860,7 @@ h4.ant-typography {
|
|
|
1859
1860
|
}
|
|
1860
1861
|
|
|
1861
1862
|
.custom-node-distribution-img {
|
|
1862
|
-
background-image: url(
|
|
1863
|
+
background-image: url("/static/images/split.svg");
|
|
1863
1864
|
background-size: 18px 18px;
|
|
1864
1865
|
height: 22px;
|
|
1865
1866
|
width: 22px;
|
|
@@ -1913,7 +1914,7 @@ h4.ant-typography {
|
|
|
1913
1914
|
display: block;
|
|
1914
1915
|
}
|
|
1915
1916
|
|
|
1916
|
-
.buttonvariable{
|
|
1917
|
+
.buttonvariable {
|
|
1917
1918
|
min-width: 180px;
|
|
1918
1919
|
max-width: 100%;
|
|
1919
1920
|
overflow: hidden;
|
|
@@ -1922,10 +1923,10 @@ h4.ant-typography {
|
|
|
1922
1923
|
justify-content: center;
|
|
1923
1924
|
color: var(--text-color-var) !important;
|
|
1924
1925
|
background-color: var(--background-color-var) !important;
|
|
1925
|
-
margin-top: var(--align-bottom) !important
|
|
1926
|
+
margin-top: var(--align-bottom) !important;
|
|
1926
1927
|
}
|
|
1927
1928
|
|
|
1928
|
-
.buttonvariable:hover{
|
|
1929
|
+
.buttonvariable:hover {
|
|
1929
1930
|
background-color: var(--background-color-hover-var) !important;
|
|
1930
1931
|
color: var(--text-color-hover-var) !important;
|
|
1931
|
-
}
|
|
1932
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@import '../public/static/styles/restful.less';
|
|
14
14
|
@import '../public/static/styles/setting.less';
|
|
15
15
|
@import '../public/static/styles/system.less';
|
|
16
|
+
@import '../public/static/styles/matrix.less';
|
|
16
17
|
@import '../public/static/styles/rabbitmq.less';
|
|
17
18
|
|
|
18
19
|
@primary-color : @primary-color;
|
|
@@ -59,7 +59,8 @@ import {
|
|
|
59
59
|
NotificationMessageQueueService,
|
|
60
60
|
PipelineService,
|
|
61
61
|
PipelineJobService,
|
|
62
|
-
PipelineLogService
|
|
62
|
+
PipelineLogService,
|
|
63
|
+
PrintLogService,
|
|
63
64
|
} from '@shopstack/cc-core-lib/core'
|
|
64
65
|
|
|
65
66
|
const SPECIFY_CUSTOM_MODULES =
|
|
@@ -183,6 +184,8 @@ export class CoreService implements OnModuleInit {
|
|
|
183
184
|
private readonly _importExportService: ImportExportService;
|
|
184
185
|
@Inject(ImportExportLogService)
|
|
185
186
|
private readonly _importExportLogService: ImportExportLogService;
|
|
187
|
+
@Inject(PrintLogService)
|
|
188
|
+
private readonly _printLogService: PrintLogService;
|
|
186
189
|
@Inject(LanguageService)
|
|
187
190
|
private readonly _languageService: LanguageService;
|
|
188
191
|
@Inject(LayoutShareWidgetService)
|
|
@@ -334,6 +337,8 @@ export class CoreService implements OnModuleInit {
|
|
|
334
337
|
return this._smsService;
|
|
335
338
|
case "sms_log":
|
|
336
339
|
return this._smsLogService;
|
|
340
|
+
case "print_log":
|
|
341
|
+
return this._printLogService;
|
|
337
342
|
case "subdistrict":
|
|
338
343
|
return this._subdistrictService;
|
|
339
344
|
case "template":
|
|
@@ -645,6 +650,8 @@ export class CoreLogService implements OnModuleInit {
|
|
|
645
650
|
private readonly _executionLogService: ExecutionLogService;
|
|
646
651
|
@Inject(ImportExportLogService)
|
|
647
652
|
private readonly _importExportLogService: ImportExportLogService;
|
|
653
|
+
@Inject(PrintLogService)
|
|
654
|
+
private readonly _printLogService: PrintLogService;
|
|
648
655
|
@Inject(MailLogService)
|
|
649
656
|
private readonly _mailLogService: MailLogService;
|
|
650
657
|
@Inject(NotificationLogService)
|
|
@@ -677,6 +684,8 @@ export class CoreLogService implements OnModuleInit {
|
|
|
677
684
|
return this._mailLogService;
|
|
678
685
|
case "sms_log":
|
|
679
686
|
return this._smsLogService;
|
|
687
|
+
case "print_log":
|
|
688
|
+
return this._printLogService;
|
|
680
689
|
case "execution_log":
|
|
681
690
|
return this._executionLogService;
|
|
682
691
|
case "notification_log":
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
SmsService,
|
|
52
52
|
ReasonDataService,
|
|
53
53
|
ReasonMasterService,
|
|
54
|
-
ReasonOptionService,
|
|
54
|
+
ReasonOptionService,
|
|
55
55
|
WidgetService,
|
|
56
56
|
VersionDataService,
|
|
57
57
|
ScheduleActionService,
|
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
PipelineService,
|
|
81
81
|
PipelineJobService,
|
|
82
82
|
PipelineLogService,
|
|
83
|
+
PrintLogService,
|
|
83
84
|
redisCache
|
|
84
85
|
} from '@shopstack/cc-core-lib/core'
|
|
85
86
|
|
|
@@ -201,6 +202,8 @@ async function initial(app: NestFastifyApplication) {
|
|
|
201
202
|
await initialService(app, ImportExportService);
|
|
202
203
|
await initialService(app, ImportExportLogService);
|
|
203
204
|
|
|
205
|
+
await initialService(app, PrintLogService);
|
|
206
|
+
|
|
204
207
|
await initialService(app, PipelineService);
|
|
205
208
|
await initialService(app, PipelineJobService);
|
|
206
209
|
await initialService(app, PipelineLogService);
|
|
@@ -256,7 +259,7 @@ async function bootstrap() {
|
|
|
256
259
|
|
|
257
260
|
_.set(CONST, "app", app);
|
|
258
261
|
await initial(app);
|
|
259
|
-
|
|
262
|
+
|
|
260
263
|
const reflector = app.get(Reflector);
|
|
261
264
|
const auth = app.get(AuthService);
|
|
262
265
|
app.useGlobalGuards(new JWTAuthGuard(reflector, auth));
|