@firestitch/system 9.1.6 → 9.2.0

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 (50) hide show
  1. package/app/components/api-logs/api-logs.component.d.ts +1 -3
  2. package/app/components/crons/crons.component.d.ts +2 -3
  3. package/app/components/dashboard/dashboard.component.d.ts +1 -3
  4. package/app/components/processes/processes.component.d.ts +1 -3
  5. package/app/components/server-logs/server-logs.component.d.ts +1 -3
  6. package/app/components/settings/settings.component.d.ts +1 -3
  7. package/app/components/upgrade-logs/upgrade-logs.component.d.ts +0 -3
  8. package/app/enums/setting-interface-type.enum.d.ts +2 -1
  9. package/app/interfaces/system-config.d.ts +0 -1
  10. package/bundles/firestitch-system.umd.js +77 -114
  11. package/bundles/firestitch-system.umd.js.map +1 -1
  12. package/bundles/firestitch-system.umd.min.js +2 -2
  13. package/bundles/firestitch-system.umd.min.js.map +1 -1
  14. package/esm2015/app/components/api-logs/api-logs.component.js +5 -9
  15. package/esm2015/app/components/crons/crons.component.js +38 -13
  16. package/esm2015/app/components/dashboard/dashboard.component.js +3 -7
  17. package/esm2015/app/components/processes/processes.component.js +4 -8
  18. package/esm2015/app/components/server-logs/server-logs.component.js +6 -10
  19. package/esm2015/app/components/settings/settings.component.js +5 -8
  20. package/esm2015/app/components/upgrade-logs/upgrade-logs.component.js +4 -10
  21. package/esm2015/app/enums/setting-interface-type.enum.js +3 -2
  22. package/esm2015/app/fs-system.module.js +1 -5
  23. package/esm2015/app/interfaces/system-config.js +1 -1
  24. package/esm2015/app/pipes/key-name-value.pipe.js +2 -2
  25. package/esm2015/firestitch-system.js +15 -17
  26. package/esm5/app/components/api-logs/api-logs.component.js +5 -9
  27. package/esm5/app/components/crons/crons.component.js +38 -13
  28. package/esm5/app/components/dashboard/dashboard.component.js +3 -7
  29. package/esm5/app/components/processes/processes.component.js +4 -8
  30. package/esm5/app/components/server-logs/server-logs.component.js +6 -10
  31. package/esm5/app/components/settings/settings.component.js +5 -8
  32. package/esm5/app/components/upgrade-logs/upgrade-logs.component.js +4 -10
  33. package/esm5/app/enums/setting-interface-type.enum.js +3 -2
  34. package/esm5/app/fs-system.module.js +1 -5
  35. package/esm5/app/interfaces/system-config.js +1 -1
  36. package/esm5/app/pipes/key-name-value.pipe.js +1 -1
  37. package/esm5/firestitch-system.js +15 -17
  38. package/fesm2015/firestitch-system.js +65 -98
  39. package/fesm2015/firestitch-system.js.map +1 -1
  40. package/fesm5/firestitch-system.js +64 -100
  41. package/fesm5/firestitch-system.js.map +1 -1
  42. package/firestitch-system.d.ts +14 -17
  43. package/firestitch-system.metadata.json +1 -1
  44. package/package.json +1 -1
  45. package/app/services/index.d.ts +0 -1
  46. package/app/services/system.service.d.ts +0 -7
  47. package/esm2015/app/services/index.js +0 -2
  48. package/esm2015/app/services/system.service.js +0 -43
  49. package/esm5/app/services/index.js +0 -2
  50. package/esm5/app/services/system.service.js +0 -46
@@ -1,11 +1,9 @@
1
- import { SystemService } from './../../services/system.service';
2
1
  import { OnInit } from '@angular/core';
3
2
  import { FsListConfig, FsListComponent } from '@firestitch/list';
4
3
  import { MatDialog } from '@angular/material/dialog';
5
4
  import { Observable } from 'rxjs';
6
5
  export declare class ApiLogsComponent implements OnInit {
7
6
  private _dialog;
8
- private _systemService;
9
7
  list: FsListComponent;
10
8
  loadApiLogs: (data: any) => Observable<{
11
9
  data: any[];
@@ -13,7 +11,7 @@ export declare class ApiLogsComponent implements OnInit {
13
11
  }>;
14
12
  config: FsListConfig;
15
13
  apiLogStates: {};
16
- constructor(_dialog: MatDialog, _systemService: SystemService);
14
+ constructor(_dialog: MatDialog);
17
15
  ngOnInit(): void;
18
16
  private _configList;
19
17
  open(apiLog: any): void;
@@ -3,10 +3,8 @@ import { MatDialog } from '@angular/material/dialog';
3
3
  import { FsMessage } from '@firestitch/message';
4
4
  import { FsListConfig, FsListComponent } from '@firestitch/list';
5
5
  import { Observable } from 'rxjs';
6
- import { SystemService } from './../../services';
7
6
  export declare class CronsComponent implements OnInit {
8
7
  private _message;
9
- private _systemService;
10
8
  private _dialog;
11
9
  list: FsListComponent;
12
10
  enable: (data: any) => Observable<any>;
@@ -20,9 +18,10 @@ export declare class CronsComponent implements OnInit {
20
18
  data: any[];
21
19
  paging: any;
22
20
  }>;
21
+ bulk: (actionName: string, data: any[]) => Observable<any>;
23
22
  config: FsListConfig;
24
23
  cronStates: {};
25
- constructor(_message: FsMessage, _systemService: SystemService, _dialog: MatDialog);
24
+ constructor(_message: FsMessage, _dialog: MatDialog);
26
25
  ngOnInit(): void;
27
26
  private _configList;
28
27
  open(cron: any): void;
@@ -2,11 +2,9 @@ import { OnInit, ChangeDetectorRef } from '@angular/core';
2
2
  import { FsMessage } from '@firestitch/message';
3
3
  import { BuildData, FsBuildService } from '@firestitch/build';
4
4
  import { DashboardAction } from './../../interfaces/dashboard-action';
5
- import { SystemService } from './../../services/system.service';
6
5
  export declare class DashboardComponent implements OnInit {
7
6
  private _message;
8
7
  private _cdRef;
9
- private _systemService;
10
8
  private _buildService;
11
9
  dashboard: any;
12
10
  buttonActions: DashboardAction[];
@@ -17,7 +15,7 @@ export declare class DashboardComponent implements OnInit {
17
15
  upgrade: Function;
18
16
  load: Function;
19
17
  actions: DashboardAction[];
20
- constructor(_message: FsMessage, _cdRef: ChangeDetectorRef, _systemService: SystemService, _buildService: FsBuildService);
18
+ constructor(_message: FsMessage, _cdRef: ChangeDetectorRef, _buildService: FsBuildService);
21
19
  ngOnInit(): void;
22
20
  private _load;
23
21
  ngOnDestroy(): void;
@@ -1,13 +1,11 @@
1
1
  import { ProcessState } from '../../enums';
2
2
  import { FsMessage } from '@firestitch/message';
3
3
  import { ProcessAction } from './../../interfaces/process-action';
4
- import { SystemService } from './../../services/system.service';
5
4
  import { OnInit, OnDestroy } from '@angular/core';
6
5
  import { FsListComponent, FsListConfig } from '@firestitch/list';
7
6
  import { MatDialog } from '@angular/material/dialog';
8
7
  import { Observable } from 'rxjs';
9
8
  export declare class ProcessesComponent implements OnInit, OnDestroy {
10
- private _systemService;
11
9
  private _dialog;
12
10
  private _message;
13
11
  list: FsListComponent;
@@ -25,7 +23,7 @@ export declare class ProcessesComponent implements OnInit, OnDestroy {
25
23
  ProcessStates: {};
26
24
  ProcessState: typeof ProcessState;
27
25
  private _destroy$;
28
- constructor(_systemService: SystemService, _dialog: MatDialog, _message: FsMessage);
26
+ constructor(_dialog: MatDialog, _message: FsMessage);
29
27
  ngOnInit(): void;
30
28
  private _configList;
31
29
  open(process: any): void;
@@ -1,11 +1,9 @@
1
- import { SystemService } from './../../services/system.service';
2
1
  import { OnInit } from '@angular/core';
3
2
  import { FsListConfig, FsListComponent } from '@firestitch/list';
4
3
  import { MatDialog } from '@angular/material/dialog';
5
4
  import { Observable } from 'rxjs';
6
5
  export declare class ServerLogsComponent implements OnInit {
7
6
  private _dialog;
8
- private _systemService;
9
7
  list: FsListComponent;
10
8
  loadLogs: (data: any) => Observable<{
11
9
  data: any[];
@@ -13,7 +11,7 @@ export declare class ServerLogsComponent implements OnInit {
13
11
  }>;
14
12
  config: FsListConfig;
15
13
  logTypes: any[];
16
- constructor(_dialog: MatDialog, _systemService: SystemService);
14
+ constructor(_dialog: MatDialog);
17
15
  ngOnInit(): void;
18
16
  private _configList;
19
17
  open(log: any): void;
@@ -2,12 +2,10 @@ import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { FsPrompt } from '@firestitch/prompt';
3
3
  import { FsMessage } from '@firestitch/message';
4
4
  import { ClipboardService } from 'ngx-clipboard';
5
- import { SystemService } from './../../services/system.service';
6
5
  import { SettingInterfaceType } from '../../enums';
7
6
  import { Observable } from 'rxjs';
8
7
  export declare class SettingsComponent implements OnInit {
9
8
  private _message;
10
- private _systemService;
11
9
  private _clipboardService;
12
10
  private _prompt;
13
11
  private _cdRef;
@@ -21,7 +19,7 @@ export declare class SettingsComponent implements OnInit {
21
19
  groupedSettings: any[];
22
20
  groups: any[];
23
21
  SettingInterfaceType: typeof SettingInterfaceType;
24
- constructor(_message: FsMessage, _systemService: SystemService, _clipboardService: ClipboardService, _prompt: FsPrompt, _cdRef: ChangeDetectorRef);
22
+ constructor(_message: FsMessage, _clipboardService: ClipboardService, _prompt: FsPrompt, _cdRef: ChangeDetectorRef);
25
23
  ngOnInit(): void;
26
24
  export(event: UIEvent, settings: any): void;
27
25
  import(event: UIEvent, group: any): void;
@@ -1,9 +1,7 @@
1
- import { SystemService } from './../../services/system.service';
2
1
  import { OnInit } from '@angular/core';
3
2
  import { FsListConfig, FsListComponent } from '@firestitch/list';
4
3
  import { Observable } from 'rxjs';
5
4
  export declare class UpgradeLogsComponent implements OnInit {
6
- private _systemService;
7
5
  list: FsListComponent;
8
6
  loadUpgradeLogs: (data: any) => Observable<{
9
7
  data: any[];
@@ -11,7 +9,6 @@ export declare class UpgradeLogsComponent implements OnInit {
11
9
  }>;
12
10
  config: FsListConfig;
13
11
  logTypes: any[];
14
- constructor(_systemService: SystemService);
15
12
  ngOnInit(): void;
16
13
  private _configList;
17
14
  }
@@ -2,7 +2,8 @@ export declare enum SettingInterfaceType {
2
2
  RadioButton = "R",
3
3
  InputBox = "I",
4
4
  Textarea = "T",
5
- DropDown = "D",
5
+ Select = "D",
6
+ SelectMultiple = "W",
6
7
  Date = "A",
7
8
  File = "F",
8
9
  Static = "S",
@@ -1,3 +1,2 @@
1
1
  export interface FsSystemConfig {
2
- case: 'camel' | 'snake';
3
2
  }