@firestitch/system 12.0.0 → 12.1.2

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 (107) hide show
  1. package/app/components/api-log/api-log.component.d.ts +13 -13
  2. package/app/components/api-log/index.d.ts +1 -1
  3. package/app/components/api-logs/api-logs.component.d.ts +21 -23
  4. package/app/components/api-logs/index.d.ts +1 -1
  5. package/app/components/cron/cron.component.d.ts +24 -24
  6. package/app/components/cron/index.d.ts +1 -1
  7. package/app/components/cron-log/cron-log.component.d.ts +12 -12
  8. package/app/components/cron-log/index.d.ts +1 -1
  9. package/app/components/crons/crons.component.d.ts +36 -38
  10. package/app/components/crons/index.d.ts +1 -1
  11. package/app/components/dashboard/dashboard.component.d.ts +28 -30
  12. package/app/components/dashboard/index.d.ts +1 -1
  13. package/app/components/file-manager/file-manager.component.d.ts +17 -17
  14. package/app/components/file-manager/index.d.ts +1 -1
  15. package/app/components/info/index.d.ts +1 -1
  16. package/app/components/info/info.component.d.ts +11 -11
  17. package/app/components/process/index.d.ts +1 -1
  18. package/app/components/process/process.component.d.ts +16 -16
  19. package/app/components/processes/index.d.ts +1 -1
  20. package/app/components/processes/processes.component.d.ts +34 -36
  21. package/app/components/server-log/index.d.ts +1 -1
  22. package/app/components/server-log/server-log.component.d.ts +10 -10
  23. package/app/components/server-logs/index.d.ts +1 -1
  24. package/app/components/server-logs/server-logs.component.d.ts +21 -23
  25. package/app/components/settings/index.d.ts +1 -1
  26. package/app/components/settings/settings.component.d.ts +30 -32
  27. package/app/components/upgrade-logs/index.d.ts +1 -1
  28. package/app/components/upgrade-logs/upgrade-logs.component.d.ts +17 -20
  29. package/app/consts/api-log-states.const.d.ts +5 -5
  30. package/app/consts/cron-log-states.const.d.ts +6 -6
  31. package/app/consts/cron-states.const.d.ts +5 -5
  32. package/app/consts/index.d.ts +3 -3
  33. package/app/consts/process-states.const.d.ts +5 -5
  34. package/app/enums/api-log-state.enum.d.ts +5 -5
  35. package/app/enums/cron-log-state.enum.d.ts +13 -13
  36. package/app/enums/cron-state.enum.d.ts +7 -7
  37. package/app/enums/index.d.ts +5 -5
  38. package/app/enums/process-state.enum.d.ts +8 -8
  39. package/app/enums/setting-interface-type.enum.d.ts +14 -11
  40. package/app/fs-system.module.d.ts +47 -46
  41. package/app/helpers/index-name-value.d.ts +1 -1
  42. package/app/injectors/system-config.injector.d.ts +2 -2
  43. package/app/interfaces/dashboard-action.d.ts +5 -5
  44. package/app/interfaces/index.d.ts +3 -3
  45. package/app/interfaces/process-action.d.ts +6 -6
  46. package/app/interfaces/system-config.d.ts +2 -3
  47. package/app/pipes/key-name-value.pipe.d.ts +8 -8
  48. package/bundles/firestitch-system.umd.js +1534 -1577
  49. package/bundles/firestitch-system.umd.js.map +1 -1
  50. package/esm2015/app/components/api-log/api-log.component.js +38 -38
  51. package/esm2015/app/components/api-log/index.js +2 -2
  52. package/esm2015/app/components/api-logs/api-logs.component.js +72 -75
  53. package/esm2015/app/components/api-logs/index.js +2 -2
  54. package/esm2015/app/components/cron/cron.component.js +103 -103
  55. package/esm2015/app/components/cron/index.js +2 -2
  56. package/esm2015/app/components/cron-log/cron-log.component.js +41 -41
  57. package/esm2015/app/components/cron-log/index.js +2 -2
  58. package/esm2015/app/components/crons/crons.component.js +188 -191
  59. package/esm2015/app/components/crons/index.js +2 -2
  60. package/esm2015/app/components/dashboard/dashboard.component.js +91 -94
  61. package/esm2015/app/components/dashboard/index.js +2 -2
  62. package/esm2015/app/components/file-manager/file-manager.component.js +54 -54
  63. package/esm2015/app/components/file-manager/index.js +2 -2
  64. package/esm2015/app/components/info/index.js +2 -2
  65. package/esm2015/app/components/info/info.component.js +36 -36
  66. package/esm2015/app/components/process/index.js +2 -2
  67. package/esm2015/app/components/process/process.component.js +49 -49
  68. package/esm2015/app/components/processes/index.js +2 -2
  69. package/esm2015/app/components/processes/processes.component.js +164 -167
  70. package/esm2015/app/components/server-log/index.js +2 -2
  71. package/esm2015/app/components/server-log/server-log.component.js +42 -42
  72. package/esm2015/app/components/server-logs/index.js +2 -2
  73. package/esm2015/app/components/server-logs/server-logs.component.js +57 -60
  74. package/esm2015/app/components/settings/index.js +2 -2
  75. package/esm2015/app/components/settings/settings.component.js +134 -130
  76. package/esm2015/app/components/upgrade-logs/index.js +2 -2
  77. package/esm2015/app/components/upgrade-logs/upgrade-logs.component.js +48 -51
  78. package/esm2015/app/consts/api-log-states.const.js +7 -7
  79. package/esm2015/app/consts/cron-log-states.const.js +14 -14
  80. package/esm2015/app/consts/cron-states.const.js +9 -9
  81. package/esm2015/app/consts/index.js +4 -4
  82. package/esm2015/app/consts/process-states.const.js +10 -10
  83. package/esm2015/app/enums/api-log-state.enum.js +7 -7
  84. package/esm2015/app/enums/cron-log-state.enum.js +14 -14
  85. package/esm2015/app/enums/cron-state.enum.js +9 -9
  86. package/esm2015/app/enums/index.js +6 -6
  87. package/esm2015/app/enums/process-state.enum.js +10 -10
  88. package/esm2015/app/enums/setting-interface-type.enum.js +16 -13
  89. package/esm2015/app/fs-system.module.js +181 -183
  90. package/esm2015/app/helpers/index-name-value.js +8 -8
  91. package/esm2015/app/injectors/system-config.injector.js +3 -3
  92. package/esm2015/app/interfaces/dashboard-action.js +2 -2
  93. package/esm2015/app/interfaces/index.js +4 -4
  94. package/esm2015/app/interfaces/process-action.js +2 -2
  95. package/esm2015/app/interfaces/system-config.js +2 -2
  96. package/esm2015/app/pipes/key-name-value.pipe.js +21 -21
  97. package/esm2015/firestitch-system.js +4 -4
  98. package/esm2015/public_api.js +19 -19
  99. package/fesm2015/firestitch-system.js +1172 -1209
  100. package/fesm2015/firestitch-system.js.map +1 -1
  101. package/firestitch-system.d.ts +5 -5
  102. package/package.json +1 -1
  103. package/public_api.d.ts +20 -20
  104. package/app/services/index.d.ts +0 -1
  105. package/app/services/system.service.d.ts +0 -10
  106. package/esm2015/app/services/index.js +0 -2
  107. package/esm2015/app/services/system.service.js +0 -42
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@firestitch/system" />
5
- export * from './public_api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@firestitch/system" />
5
+ export * from './public_api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestitch/system",
3
- "version": "12.0.0",
3
+ "version": "12.1.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-system"
package/public_api.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- export { FsSystemModule } from './app/fs-system.module';
2
- export { DashboardComponent } from './app/components/dashboard';
3
- export { CronsComponent } from './app/components/crons';
4
- export { SettingsComponent } from './app/components/settings';
5
- export { KeyNameValuePipe } from './app/pipes/key-name-value.pipe';
6
- export { FileManagerComponent } from './app/components/file-manager';
7
- export { ProcessesComponent } from './app/components/processes';
8
- export { ServerLogComponent } from './app/components/server-log';
9
- export { ServerLogsComponent } from './app/components/server-logs';
10
- export { UpgradeLogsComponent } from './app/components/upgrade-logs';
11
- export { ApiLogsComponent } from './app/components/api-logs';
12
- export { ApiLogComponent } from './app/components/api-log';
13
- export { InfoComponent } from './app/components/info';
14
- export { ProcessComponent } from './app/components/process';
15
- export { CronComponent } from './app/components/cron';
16
- export { CronLogComponent } from './app/components/cron-log';
17
- export { ApiLogState, CronState, ProcessState } from './app/enums';
18
- export { ApiLogStates, CronStates, ProcessStates } from './app/consts';
19
- export { FsSystemConfig, DashboardAction, ProcessAction } from './app/interfaces';
20
- export { FS_SYSTEM_CONFIG } from './app/injectors/system-config.injector';
1
+ export { FsSystemModule } from './app/fs-system.module';
2
+ export { DashboardComponent } from './app/components/dashboard';
3
+ export { CronsComponent } from './app/components/crons';
4
+ export { SettingsComponent } from './app/components/settings';
5
+ export { KeyNameValuePipe } from './app/pipes/key-name-value.pipe';
6
+ export { FileManagerComponent } from './app/components/file-manager';
7
+ export { ProcessesComponent } from './app/components/processes';
8
+ export { ServerLogComponent } from './app/components/server-log';
9
+ export { ServerLogsComponent } from './app/components/server-logs';
10
+ export { UpgradeLogsComponent } from './app/components/upgrade-logs';
11
+ export { ApiLogsComponent } from './app/components/api-logs';
12
+ export { ApiLogComponent } from './app/components/api-log';
13
+ export { InfoComponent } from './app/components/info';
14
+ export { ProcessComponent } from './app/components/process';
15
+ export { CronComponent } from './app/components/cron';
16
+ export { CronLogComponent } from './app/components/cron-log';
17
+ export { ApiLogState, CronState, ProcessState } from './app/enums';
18
+ export { ApiLogStates, CronStates, ProcessStates } from './app/consts';
19
+ export { FsSystemConfig, DashboardAction, ProcessAction } from './app/interfaces';
20
+ export { FS_SYSTEM_CONFIG } from './app/injectors/system-config.injector';
@@ -1 +0,0 @@
1
- export * from './system.service';
@@ -1,10 +0,0 @@
1
- import { FsSystemConfig } from './../interfaces/system-config';
2
- import * as i0 from "@angular/core";
3
- export declare class SystemService {
4
- private _config;
5
- constructor(_config: FsSystemConfig);
6
- input(data: any): any;
7
- output(data: any): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SystemService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<SystemService>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './system.service';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N5c3RlbS5zZXJ2aWNlJztcbiJdfQ==
@@ -1,42 +0,0 @@
1
- import { Injectable, Inject } from '@angular/core';
2
- import * as _snakecaseKeys from 'snakecase-keys';
3
- import * as _camelcaseKeys from 'camelcase-keys';
4
- import { isArray } from 'lodash-es';
5
- import { FS_SYSTEM_CONFIG } from '../injectors/system-config.injector';
6
- import * as i0 from "@angular/core";
7
- const snakecaseKeys = _snakecaseKeys;
8
- const camelcaseKeys = _camelcaseKeys;
9
- export class SystemService {
10
- constructor(_config) {
11
- this._config = _config;
12
- }
13
- input(data) {
14
- if (isArray(data)) {
15
- return data.map(item => {
16
- return this._config.case === 'snake' ? camelcaseKeys(item, { deep: true }) : item;
17
- });
18
- }
19
- else {
20
- return this._config.case === 'snake' ? camelcaseKeys(data, { deep: true }) : data;
21
- }
22
- }
23
- output(data) {
24
- if (isArray(data)) {
25
- return data.map(item => {
26
- return this._config.case === 'snake' ? snakecaseKeys(item, { deep: true }) : item;
27
- });
28
- }
29
- else {
30
- return this._config.case === 'snake' ? snakecaseKeys(data, { deep: true }) : data;
31
- }
32
- }
33
- }
34
- SystemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SystemService, deps: [{ token: FS_SYSTEM_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
35
- SystemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SystemService });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SystemService, decorators: [{
37
- type: Injectable
38
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
39
- type: Inject,
40
- args: [FS_SYSTEM_CONFIG]
41
- }] }]; } });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3lzdGVtLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3NlcnZpY2VzL3N5c3RlbS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxD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