@firestitch/system 9.2.2 → 12.1.1

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 (126) hide show
  1. package/app/components/api-log/api-log.component.d.ts +3 -0
  2. package/app/components/api-log/index.d.ts +1 -0
  3. package/app/components/api-logs/api-logs.component.d.ts +3 -0
  4. package/app/components/api-logs/index.d.ts +1 -0
  5. package/app/components/cron/cron.component.d.ts +3 -0
  6. package/app/components/cron-log/cron-log.component.d.ts +3 -0
  7. package/app/components/crons/crons.component.d.ts +3 -0
  8. package/app/components/crons/index.d.ts +1 -0
  9. package/app/components/dashboard/dashboard.component.d.ts +3 -0
  10. package/app/components/dashboard/index.d.ts +1 -0
  11. package/app/components/file-manager/file-manager.component.d.ts +3 -0
  12. package/app/components/file-manager/index.d.ts +1 -0
  13. package/app/components/info/index.d.ts +1 -0
  14. package/app/components/info/info.component.d.ts +3 -0
  15. package/app/components/process/index.d.ts +1 -0
  16. package/app/components/process/process.component.d.ts +3 -0
  17. package/app/components/processes/index.d.ts +1 -0
  18. package/app/components/processes/processes.component.d.ts +3 -0
  19. package/app/components/server-log/index.d.ts +1 -0
  20. package/app/components/server-log/server-log.component.d.ts +3 -0
  21. package/app/components/server-logs/index.d.ts +1 -0
  22. package/app/components/server-logs/server-logs.component.d.ts +3 -0
  23. package/app/components/settings/index.d.ts +1 -0
  24. package/app/components/settings/settings.component.d.ts +3 -0
  25. package/app/components/upgrade-logs/index.d.ts +1 -0
  26. package/app/components/upgrade-logs/upgrade-logs.component.d.ts +3 -0
  27. package/app/fs-system.module.d.ts +41 -0
  28. package/app/pipes/key-name-value.pipe.d.ts +4 -0
  29. package/bundles/firestitch-system.umd.js +759 -612
  30. package/bundles/firestitch-system.umd.js.map +1 -1
  31. package/esm2015/app/components/api-log/api-log.component.js +24 -17
  32. package/esm2015/app/components/api-log/index.js +2 -0
  33. package/esm2015/app/components/api-logs/api-logs.component.js +23 -24
  34. package/esm2015/app/components/api-logs/index.js +2 -0
  35. package/esm2015/app/components/cron/cron.component.js +28 -21
  36. package/esm2015/app/components/cron/index.js +1 -1
  37. package/esm2015/app/components/cron-log/cron-log.component.js +24 -16
  38. package/esm2015/app/components/cron-log/index.js +1 -1
  39. package/esm2015/app/components/crons/crons.component.js +40 -58
  40. package/esm2015/app/components/crons/index.js +2 -0
  41. package/esm2015/app/components/dashboard/dashboard.component.js +37 -39
  42. package/esm2015/app/components/dashboard/index.js +2 -0
  43. package/esm2015/app/components/file-manager/file-manager.component.js +27 -37
  44. package/esm2015/app/components/file-manager/index.js +2 -0
  45. package/esm2015/app/components/info/index.js +2 -0
  46. package/esm2015/app/components/info/info.component.js +20 -21
  47. package/esm2015/app/components/process/index.js +2 -0
  48. package/esm2015/app/components/process/process.component.js +24 -17
  49. package/esm2015/app/components/processes/index.js +2 -0
  50. package/esm2015/app/components/processes/processes.component.js +36 -50
  51. package/esm2015/app/components/server-log/index.js +2 -0
  52. package/esm2015/app/components/server-log/server-log.component.js +24 -16
  53. package/esm2015/app/components/server-logs/index.js +2 -0
  54. package/esm2015/app/components/server-logs/server-logs.component.js +22 -24
  55. package/esm2015/app/components/settings/index.js +2 -0
  56. package/esm2015/app/components/settings/settings.component.js +40 -40
  57. package/esm2015/app/components/upgrade-logs/index.js +2 -0
  58. package/esm2015/app/components/upgrade-logs/upgrade-logs.component.js +21 -20
  59. package/esm2015/app/consts/api-log-states.const.js +1 -1
  60. package/esm2015/app/consts/cron-log-states.const.js +1 -1
  61. package/esm2015/app/consts/cron-states.const.js +1 -1
  62. package/esm2015/app/consts/index.js +1 -1
  63. package/esm2015/app/consts/process-states.const.js +1 -1
  64. package/esm2015/app/enums/api-log-state.enum.js +1 -1
  65. package/esm2015/app/enums/cron-log-state.enum.js +1 -1
  66. package/esm2015/app/enums/cron-state.enum.js +1 -1
  67. package/esm2015/app/enums/index.js +1 -1
  68. package/esm2015/app/enums/process-state.enum.js +1 -1
  69. package/esm2015/app/enums/setting-interface-type.enum.js +1 -1
  70. package/esm2015/app/fs-system.module.js +109 -41
  71. package/esm2015/app/helpers/index-name-value.js +1 -1
  72. package/esm2015/app/injectors/system-config.injector.js +1 -1
  73. package/esm2015/app/interfaces/dashboard-action.js +2 -1
  74. package/esm2015/app/interfaces/index.js +4 -1
  75. package/esm2015/app/interfaces/process-action.js +2 -1
  76. package/esm2015/app/interfaces/system-config.js +2 -1
  77. package/esm2015/app/pipes/key-name-value.pipe.js +15 -11
  78. package/esm2015/firestitch-system.js +1 -16
  79. package/esm2015/public_api.js +16 -1
  80. package/fesm2015/firestitch-system.js +427 -415
  81. package/fesm2015/firestitch-system.js.map +1 -1
  82. package/firestitch-system.d.ts +1 -15
  83. package/package.json +5 -9
  84. package/public_api.d.ts +15 -0
  85. package/bundles/firestitch-system.umd.min.js +0 -16
  86. package/bundles/firestitch-system.umd.min.js.map +0 -1
  87. package/esm5/app/components/api-log/api-log.component.js +0 -32
  88. package/esm5/app/components/api-logs/api-logs.component.js +0 -75
  89. package/esm5/app/components/cron/cron.component.js +0 -98
  90. package/esm5/app/components/cron/index.js +0 -2
  91. package/esm5/app/components/cron-log/cron-log.component.js +0 -34
  92. package/esm5/app/components/cron-log/index.js +0 -2
  93. package/esm5/app/components/crons/crons.component.js +0 -209
  94. package/esm5/app/components/dashboard/dashboard.component.js +0 -98
  95. package/esm5/app/components/file-manager/file-manager.component.js +0 -67
  96. package/esm5/app/components/info/info.component.js +0 -41
  97. package/esm5/app/components/process/process.component.js +0 -44
  98. package/esm5/app/components/processes/processes.component.js +0 -180
  99. package/esm5/app/components/server-log/server-log.component.js +0 -35
  100. package/esm5/app/components/server-logs/server-logs.component.js +0 -61
  101. package/esm5/app/components/settings/settings.component.js +0 -136
  102. package/esm5/app/components/upgrade-logs/upgrade-logs.component.js +0 -49
  103. package/esm5/app/consts/api-log-states.const.js +0 -7
  104. package/esm5/app/consts/cron-log-states.const.js +0 -15
  105. package/esm5/app/consts/cron-states.const.js +0 -9
  106. package/esm5/app/consts/index.js +0 -4
  107. package/esm5/app/consts/process-states.const.js +0 -10
  108. package/esm5/app/enums/api-log-state.enum.js +0 -7
  109. package/esm5/app/enums/cron-log-state.enum.js +0 -15
  110. package/esm5/app/enums/cron-state.enum.js +0 -9
  111. package/esm5/app/enums/index.js +0 -6
  112. package/esm5/app/enums/process-state.enum.js +0 -10
  113. package/esm5/app/enums/setting-interface-type.enum.js +0 -15
  114. package/esm5/app/fs-system.module.js +0 -113
  115. package/esm5/app/helpers/index-name-value.js +0 -8
  116. package/esm5/app/injectors/system-config.injector.js +0 -3
  117. package/esm5/app/interfaces/dashboard-action.js +0 -1
  118. package/esm5/app/interfaces/index.js +0 -1
  119. package/esm5/app/interfaces/process-action.js +0 -1
  120. package/esm5/app/interfaces/system-config.js +0 -1
  121. package/esm5/app/pipes/key-name-value.pipe.js +0 -20
  122. package/esm5/firestitch-system.js +0 -20
  123. package/esm5/public_api.js +0 -5
  124. package/fesm5/firestitch-system.js +0 -1286
  125. package/fesm5/firestitch-system.js.map +0 -1
  126. package/firestitch-system.metadata.json +0 -1
@@ -1,8 +1,142 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/expansion'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/dialog'), require('@angular/material/tooltip'), require('@angular/material/icon'), require('@angular/flex-layout'), require('@angular/material/button'), require('@firestitch/date'), require('@firestitch/datepicker'), require('@firestitch/skeleton'), require('@firestitch/list'), require('@firestitch/file-manager'), require('@firestitch/dialog'), require('@firestitch/label'), require('@firestitch/file'), require('@firestitch/menu'), require('@firestitch/message'), require('@firestitch/build'), require('rxjs/operators'), require('rxjs'), require('date-fns'), require('@firestitch/filter'), require('@firestitch/selection'), require('@firestitch/prompt'), require('lodash-es'), require('ngx-clipboard'), require('@angular/material/tabs')) :
3
- typeof define === 'function' && define.amd ? define('@firestitch/system', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/expansion', '@angular/material/input', '@angular/material/select', '@angular/material/dialog', '@angular/material/tooltip', '@angular/material/icon', '@angular/flex-layout', '@angular/material/button', '@firestitch/date', '@firestitch/datepicker', '@firestitch/skeleton', '@firestitch/list', '@firestitch/file-manager', '@firestitch/dialog', '@firestitch/label', '@firestitch/file', '@firestitch/menu', '@firestitch/message', '@firestitch/build', 'rxjs/operators', 'rxjs', 'date-fns', '@firestitch/filter', '@firestitch/selection', '@firestitch/prompt', 'lodash-es', 'ngx-clipboard', '@angular/material/tabs'], factory) :
4
- (global = global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.system = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.expansion, global.ng.material.input, global.ng.material.select, global.ng.material.dialog, global.ng.material.tooltip, global.ng.material.icon, global.ng.flexLayout, global.ng.material.button, global.date, global.datepicker, global.skeleton, global.list, global.fileManager, global.dialog$1, global.label, global.file, global.menu, global.message, global.build, global.rxjs.operators, global.rxjs, global.dateFns, global.filter, global.selection, global.prompt, global.lodashEs, global.ngxClipboard, global.ng.material.tabs));
5
- }(this, (function (exports, core, common, forms, formField, expansion, input, select, dialog, tooltip, icon, flexLayout, button, date, datepicker, skeleton, list, fileManager, dialog$1, label, file, menu, message, build, operators, rxjs, dateFns, filter, selection, prompt, lodashEs, ngxClipboard, tabs) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/expansion'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/dialog'), require('@angular/material/tooltip'), require('@angular/material/icon'), require('@angular/flex-layout'), require('@angular/material/button'), require('@firestitch/date'), require('@firestitch/datepicker'), require('@firestitch/skeleton'), require('@firestitch/list'), require('@firestitch/file-manager'), require('@firestitch/dialog'), require('@firestitch/label'), require('@firestitch/file'), require('@firestitch/menu'), require('rxjs/operators'), require('rxjs'), require('date-fns'), require('@firestitch/message'), require('@firestitch/build'), require('@angular/flex-layout/flex'), require('@angular/flex-layout/extended'), require('@firestitch/filter'), require('@angular/material/tabs'), require('@firestitch/selection'), require('lodash-es'), require('ngx-clipboard'), require('@firestitch/prompt'), require('@angular/material/core')) :
3
+ typeof define === 'function' && define.amd ? define('@firestitch/system', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/expansion', '@angular/material/input', '@angular/material/select', '@angular/material/dialog', '@angular/material/tooltip', '@angular/material/icon', '@angular/flex-layout', '@angular/material/button', '@firestitch/date', '@firestitch/datepicker', '@firestitch/skeleton', '@firestitch/list', '@firestitch/file-manager', '@firestitch/dialog', '@firestitch/label', '@firestitch/file', '@firestitch/menu', 'rxjs/operators', 'rxjs', 'date-fns', '@firestitch/message', '@firestitch/build', '@angular/flex-layout/flex', '@angular/flex-layout/extended', '@firestitch/filter', '@angular/material/tabs', '@firestitch/selection', 'lodash-es', 'ngx-clipboard', '@firestitch/prompt', '@angular/material/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.system = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.expansion, global.ng.material.input, global.ng.material.select, global.ng.material.dialog, global.ng.material.tooltip, global.ng.material.icon, global.ng.flexLayout, global.ng.material.button, global.i4$2, global.i10$1, global.i5, global.i3$1, global.i1$2, global.i2$2, global.i2$1, global.i11$1, global.i4$1, global.rxjs.operators, global.rxjs, global.dateFns, global.i1, global.i2, global.ng.flexLayout.flex, global.ng.flexLayout.extended, global.filter, global.ng.material.tabs, global.selection, global.lodashEs, global.i2$3, global.i3$2, global.ng.material.core));
5
+ })(this, (function (exports, i0, i9, i15, i7, i4$3, i14, i8, i1$1, i11, i6, flexLayout, i4, i4$2, i10$1, i5, i3$1, i1$2, i2$2, i2$1, i11$1, i4$1, operators, rxjs, dateFns, i1, i2, i6$1, i10, filter, i3, selection, lodashEs, i2$3, i3$2, i9$1) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
27
+ var i15__namespace = /*#__PURE__*/_interopNamespace(i15);
28
+ var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
29
+ var i4__namespace$3 = /*#__PURE__*/_interopNamespace(i4$3);
30
+ var i14__namespace = /*#__PURE__*/_interopNamespace(i14);
31
+ var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
32
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
33
+ var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
34
+ var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
35
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
36
+ var i4__namespace$2 = /*#__PURE__*/_interopNamespace(i4$2);
37
+ var i10__namespace$1 = /*#__PURE__*/_interopNamespace(i10$1);
38
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
39
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
40
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
41
+ var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
42
+ var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
43
+ var i11__namespace$1 = /*#__PURE__*/_interopNamespace(i11$1);
44
+ var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
45
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
46
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
47
+ var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
48
+ var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
49
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
50
+ var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$3);
51
+ var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$2);
52
+ var i9__namespace$1 = /*#__PURE__*/_interopNamespace(i9$1);
53
+
54
+ var FS_SYSTEM_CONFIG = new i0.InjectionToken('fs-system-config');
55
+
56
+ var DashboardComponent = /** @class */ (function () {
57
+ function DashboardComponent(_message, _cdRef, _buildService) {
58
+ this._message = _message;
59
+ this._cdRef = _cdRef;
60
+ this._buildService = _buildService;
61
+ this.buttonActions = [];
62
+ this.menuActions = [];
63
+ this._destroy$ = new rxjs.Subject();
64
+ this.actions = [];
65
+ }
66
+ DashboardComponent.prototype.ngOnInit = function () {
67
+ var _this = this;
68
+ this._load();
69
+ this.buttonActions = this.actions.filter(function (item) { return !item.menu; });
70
+ this.menuActions = this.actions.filter(function (item) { return item.menu; });
71
+ this.build = this._buildService.build;
72
+ this._buildService.buildChange$
73
+ .pipe(operators.takeUntil(this._destroy$))
74
+ .subscribe(function (build) {
75
+ _this.build = build;
76
+ _this._cdRef.markForCheck();
77
+ });
78
+ };
79
+ DashboardComponent.prototype._load = function () {
80
+ var _this = this;
81
+ this.load()
82
+ .subscribe(function (dashboard) {
83
+ _this.dashboard = dashboard;
84
+ _this.dashboard.cronRanAttention = !dashboard.cronRan ||
85
+ dateFns.differenceInMinutes(new Date(), new Date(dashboard.cronRan)) > 15;
86
+ _this._cdRef.markForCheck();
87
+ });
88
+ };
89
+ DashboardComponent.prototype.ngOnDestroy = function () {
90
+ this._destroy$.next();
91
+ this._destroy$.complete();
92
+ };
93
+ DashboardComponent.prototype.actionClick = function (action) {
94
+ action.click();
95
+ };
96
+ DashboardComponent.prototype.initClick = function () {
97
+ var _this = this;
98
+ this.init()
99
+ .subscribe(function () {
100
+ _this._message.success('Successfully initialized the system');
101
+ });
102
+ };
103
+ DashboardComponent.prototype.upgradeClick = function () {
104
+ var _this = this;
105
+ this.upgrade()
106
+ .subscribe(function () {
107
+ _this._load();
108
+ _this._message.success('Successfully upgraded the system');
109
+ });
110
+ };
111
+ return DashboardComponent;
112
+ }());
113
+ DashboardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DashboardComponent, deps: [{ token: i1__namespace.FsMessage }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.FsBuildService }], target: i0__namespace.ɵɵFactoryTarget.Component });
114
+ DashboardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DashboardComponent, selector: "fs-system-dashboard", inputs: { init: "init", upgrade: "upgrade", load: "load", actions: "actions" }, ngImport: i0__namespace, template: "<div *fsSkeleton=\"dashboard\">\r\n\r\n <div class=\"h2-container\">\r\n\r\n <div class=\"actions\">\r\n <h2>Actions</h2>\r\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayout.xs=\"column\">\r\n <button mat-raised-button (click)=\"upgradeClick()\">Run Upgrades</button>\r\n <button mat-raised-button (click)=\"initClick()\">Init System</button>\r\n\r\n <button\r\n *ngFor=\"let action of buttonActions\"\r\n mat-raised-button\r\n (click)=\"actionClick(action)\">\r\n {{action.label}}\r\n </button>\r\n\r\n <ng-container *ngIf=\"menuActions.length\">\r\n\r\n <fs-menu buttonClass=\"mat-raised-button menu-button\">\r\n <ng-template\r\n *ngFor=\"let action of menuActions\"\r\n fs-menu-item\r\n (click)=\"actionClick(action)\">\r\n {{action.label}}\r\n </ng-template>\r\n </fs-menu>\r\n\r\n\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n fxLayout=\"row wrap\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutGap.xs=\"0px\"\r\n fxLayoutAlign=\"start start\"\r\n fxLayoutGap=\"50px\">\r\n\r\n <div>\r\n <h2>Server</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Date/Time</fs-label>\r\n {{dashboard.serverTime | fsDateFormat: 'date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Timezone</fs-label>\r\n {{dashboard.serverTimezone}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Hostname</fs-label>\r\n {{dashboard.serverHostname}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Directory</fs-label>\r\n {{dashboard.appDirectory}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>System</h2>\r\n <fs-label-field>\r\n <fs-label>Mode</fs-label>\r\n {{dashboard.appMode}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Notification Recipients</fs-label>\r\n {{dashboard.notifyRecipients.join(', ')}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>Database</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Name</fs-label>\r\n {{dashboard.databaseName}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Date/Time</fs-label>\r\n {{dashboard.databaseTime | fsDateFormat: 'date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Timezone</fs-label>\r\n {{dashboard.databaseTimezone}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div *ngIf=\"build || dashboard.upgrades.length\">\r\n <h2>Build</h2>\r\n\r\n <ng-container *ngIf=\"build\">\r\n <fs-label-field>\r\n <fs-label>Version</fs-label>\r\n {{build.version}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Date</fs-label>\r\n {{ build.date | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n </ng-container>\r\n\r\n <fs-label-field *ngIf=\"dashboard.upgrades.length\">\r\n <fs-label>Pending Upgrades</fs-label>\r\n <span class=\"attention\" [ngClass]=\"{ 'needs-attention': !!dashboard.upgrades.length }\">\r\n {{dashboard.upgrades.length}}\r\n <mat-icon\r\n [matTooltip]=\"dashboard.upgrades.join('\\n')\"\r\n matTooltipClass=\"tooltip-pending-upgrades\"\r\n >\r\n warning\r\n </mat-icon>\r\n </span>\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>Cron</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Last Ran</fs-label>\r\n <span class=\"attention\" [ngClass]=\"{ 'needs-attention': dashboard.cronRanAttention }\">\r\n <span *ngIf=\"!dashboard.cronRan\">Never</span>\r\n <span *ngIf=\"dashboard.cronRan\">{{dashboard.cronRan | fsDateFormat: 'date-time'}}</span>\r\n <mat-icon>warning</mat-icon>\r\n </span>\r\n </fs-label-field>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".actions{margin-bottom:1.25em}table td{padding:3px}.attention{display:flex;align-items:center}.attention mat-icon{display:none;margin-left:2px}.attention.needs-attention{color:#c00}.attention.needs-attention mat-icon{display:inline}::ng-deep .tooltip-pending-upgrades{white-space:pre-line}@media (max-width: 600px){:host ::ng-deep .menu-button{width:100%;border-radius:4px}}@media (min-width: 600px){:host ::ng-deep .menu-button{box-shadow:none}}\n"], components: [{ type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i4__namespace$1.FsMenuComponent, selector: "fs-menu", inputs: ["class", "buttonClass"], outputs: ["opened", "closed"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i6__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i6__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6__namespace$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace$1.FsMenuItemDirective, selector: "fs-menu-group,[fs-menu-item]", inputs: ["fsClass", "class", "id", "label", "hidden", "groupHidden", "dismissAfterClick", "link", "target", "queryParams"], outputs: ["click"] }, { type: i6__namespace$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i9__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i11__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "fsDateFormat": i4__namespace$2.FsDateFormatPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
115
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DashboardComponent, decorators: [{
116
+ type: i0.Component,
117
+ args: [{
118
+ selector: 'fs-system-dashboard',
119
+ templateUrl: 'dashboard.component.html',
120
+ styleUrls: ['dashboard.component.scss'],
121
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
122
+ }]
123
+ }], ctorParameters: function () { return [{ type: i1__namespace.FsMessage }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.FsBuildService }]; }, propDecorators: { init: [{
124
+ type: i0.Input
125
+ }], upgrade: [{
126
+ type: i0.Input
127
+ }], load: [{
128
+ type: i0.Input
129
+ }], actions: [{
130
+ type: i0.Input
131
+ }] } });
132
+
133
+ function indexNameValue(arry) {
134
+ var obj = {};
135
+ arry.forEach(function (item) {
136
+ obj[item.value] = item.name;
137
+ });
138
+ return obj;
139
+ }
6
140
 
7
141
  /*! *****************************************************************************
8
142
  Copyright (c) Microsoft Corporation.
@@ -19,35 +153,38 @@
19
153
  PERFORMANCE OF THIS SOFTWARE.
20
154
  ***************************************************************************** */
21
155
  /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
156
+ var extendStatics = function (d, b) {
24
157
  extendStatics = Object.setPrototypeOf ||
25
158
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
159
+ function (d, b) { for (var p in b)
160
+ if (Object.prototype.hasOwnProperty.call(b, p))
161
+ d[p] = b[p]; };
27
162
  return extendStatics(d, b);
28
163
  };
29
-
30
164
  function __extends(d, b) {
165
+ if (typeof b !== "function" && b !== null)
166
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
31
167
  extendStatics(d, b);
32
168
  function __() { this.constructor = d; }
33
169
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
170
  }
35
-
36
- var __assign = function() {
171
+ var __assign = function () {
37
172
  __assign = Object.assign || function __assign(t) {
38
173
  for (var s, i = 1, n = arguments.length; i < n; i++) {
39
174
  s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
175
+ for (var p in s)
176
+ if (Object.prototype.hasOwnProperty.call(s, p))
177
+ t[p] = s[p];
41
178
  }
42
179
  return t;
43
180
  };
44
181
  return __assign.apply(this, arguments);
45
182
  };
46
-
47
183
  function __rest(s, e) {
48
184
  var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
185
+ for (var p in s)
186
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
187
+ t[p] = s[p];
51
188
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
189
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
190
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
@@ -55,275 +192,271 @@
55
192
  }
56
193
  return t;
57
194
  }
58
-
59
195
  function __decorate(decorators, target, key, desc) {
60
196
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
197
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
198
+ r = Reflect.decorate(decorators, target, key, desc);
199
+ else
200
+ for (var i = decorators.length - 1; i >= 0; i--)
201
+ if (d = decorators[i])
202
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
203
  return c > 3 && r && Object.defineProperty(target, key, r), r;
64
204
  }
65
-
66
205
  function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
206
+ return function (target, key) { decorator(target, key, paramIndex); };
68
207
  }
69
-
70
208
  function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
209
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
210
+ return Reflect.metadata(metadataKey, metadataValue);
72
211
  }
73
-
74
212
  function __awaiter(thisArg, _arguments, P, generator) {
75
213
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
214
  return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
215
+ function fulfilled(value) { try {
216
+ step(generator.next(value));
217
+ }
218
+ catch (e) {
219
+ reject(e);
220
+ } }
221
+ function rejected(value) { try {
222
+ step(generator["throw"](value));
223
+ }
224
+ catch (e) {
225
+ reject(e);
226
+ } }
79
227
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
228
  step((generator = generator.apply(thisArg, _arguments || [])).next());
81
229
  });
82
230
  }
83
-
84
231
  function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
232
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
233
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
234
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
87
235
  function verb(n) { return function (v) { return step([n, v]); }; }
88
236
  function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
237
+ if (f)
238
+ throw new TypeError("Generator is already executing.");
239
+ while (_)
240
+ try {
241
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
242
+ return t;
243
+ if (y = 0, t)
244
+ op = [op[0] & 2, t.value];
245
+ switch (op[0]) {
246
+ case 0:
247
+ case 1:
248
+ t = op;
249
+ break;
250
+ case 4:
251
+ _.label++;
252
+ return { value: op[1], done: false };
253
+ case 5:
254
+ _.label++;
255
+ y = op[1];
256
+ op = [0];
257
+ continue;
258
+ case 7:
259
+ op = _.ops.pop();
260
+ _.trys.pop();
261
+ continue;
262
+ default:
263
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
264
+ _ = 0;
265
+ continue;
266
+ }
267
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
268
+ _.label = op[1];
269
+ break;
270
+ }
271
+ if (op[0] === 6 && _.label < t[1]) {
272
+ _.label = t[1];
273
+ t = op;
274
+ break;
275
+ }
276
+ if (t && _.label < t[2]) {
277
+ _.label = t[2];
278
+ _.ops.push(op);
279
+ break;
280
+ }
281
+ if (t[2])
282
+ _.ops.pop();
283
+ _.trys.pop();
284
+ continue;
285
+ }
286
+ op = body.call(thisArg, _);
105
287
  }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
288
+ catch (e) {
289
+ op = [6, e];
290
+ y = 0;
291
+ }
292
+ finally {
293
+ f = t = 0;
294
+ }
295
+ if (op[0] & 5)
296
+ throw op[1];
297
+ return { value: op[0] ? op[1] : void 0, done: true };
109
298
  }
110
299
  }
111
-
112
- function __createBinding(o, m, k, k2) {
113
- if (k2 === undefined) k2 = k;
300
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
301
+ if (k2 === undefined)
302
+ k2 = k;
303
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
304
+ }) : (function (o, m, k, k2) {
305
+ if (k2 === undefined)
306
+ k2 = k;
114
307
  o[k2] = m[k];
308
+ });
309
+ function __exportStar(m, o) {
310
+ for (var p in m)
311
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
312
+ __createBinding(o, m, p);
115
313
  }
116
-
117
- function __exportStar(m, exports) {
118
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
119
- }
120
-
121
314
  function __values(o) {
122
315
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
123
- if (m) return m.call(o);
124
- if (o && typeof o.length === "number") return {
125
- next: function () {
126
- if (o && i >= o.length) o = void 0;
127
- return { value: o && o[i++], done: !o };
128
- }
129
- };
316
+ if (m)
317
+ return m.call(o);
318
+ if (o && typeof o.length === "number")
319
+ return {
320
+ next: function () {
321
+ if (o && i >= o.length)
322
+ o = void 0;
323
+ return { value: o && o[i++], done: !o };
324
+ }
325
+ };
130
326
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
131
327
  }
132
-
133
328
  function __read(o, n) {
134
329
  var m = typeof Symbol === "function" && o[Symbol.iterator];
135
- if (!m) return o;
330
+ if (!m)
331
+ return o;
136
332
  var i = m.call(o), r, ar = [], e;
137
333
  try {
138
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
334
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
335
+ ar.push(r.value);
336
+ }
337
+ catch (error) {
338
+ e = { error: error };
139
339
  }
140
- catch (error) { e = { error: error }; }
141
340
  finally {
142
341
  try {
143
- if (r && !r.done && (m = i["return"])) m.call(i);
342
+ if (r && !r.done && (m = i["return"]))
343
+ m.call(i);
344
+ }
345
+ finally {
346
+ if (e)
347
+ throw e.error;
144
348
  }
145
- finally { if (e) throw e.error; }
146
349
  }
147
350
  return ar;
148
351
  }
149
-
352
+ /** @deprecated */
150
353
  function __spread() {
151
354
  for (var ar = [], i = 0; i < arguments.length; i++)
152
355
  ar = ar.concat(__read(arguments[i]));
153
356
  return ar;
154
357
  }
155
-
358
+ /** @deprecated */
156
359
  function __spreadArrays() {
157
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
360
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
361
+ s += arguments[i].length;
158
362
  for (var r = Array(s), k = 0, i = 0; i < il; i++)
159
363
  for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
160
364
  r[k] = a[j];
161
365
  return r;
162
- };
163
-
366
+ }
367
+ function __spreadArray(to, from, pack) {
368
+ if (pack || arguments.length === 2)
369
+ for (var i = 0, l = from.length, ar; i < l; i++) {
370
+ if (ar || !(i in from)) {
371
+ if (!ar)
372
+ ar = Array.prototype.slice.call(from, 0, i);
373
+ ar[i] = from[i];
374
+ }
375
+ }
376
+ return to.concat(ar || Array.prototype.slice.call(from));
377
+ }
164
378
  function __await(v) {
165
379
  return this instanceof __await ? (this.v = v, this) : new __await(v);
166
380
  }
167
-
168
381
  function __asyncGenerator(thisArg, _arguments, generator) {
169
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
382
+ if (!Symbol.asyncIterator)
383
+ throw new TypeError("Symbol.asyncIterator is not defined.");
170
384
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
171
385
  return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
172
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
173
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
386
+ function verb(n) { if (g[n])
387
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
388
+ function resume(n, v) { try {
389
+ step(g[n](v));
390
+ }
391
+ catch (e) {
392
+ settle(q[0][3], e);
393
+ } }
174
394
  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
175
395
  function fulfill(value) { resume("next", value); }
176
396
  function reject(value) { resume("throw", value); }
177
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
397
+ function settle(f, v) { if (f(v), q.shift(), q.length)
398
+ resume(q[0][0], q[0][1]); }
178
399
  }
179
-
180
400
  function __asyncDelegator(o) {
181
401
  var i, p;
182
402
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
183
403
  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
184
404
  }
185
-
186
405
  function __asyncValues(o) {
187
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
406
+ if (!Symbol.asyncIterator)
407
+ throw new TypeError("Symbol.asyncIterator is not defined.");
188
408
  var m = o[Symbol.asyncIterator], i;
189
409
  return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
190
410
  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
191
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
411
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
192
412
  }
193
-
194
413
  function __makeTemplateObject(cooked, raw) {
195
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
414
+ if (Object.defineProperty) {
415
+ Object.defineProperty(cooked, "raw", { value: raw });
416
+ }
417
+ else {
418
+ cooked.raw = raw;
419
+ }
196
420
  return cooked;
421
+ }
422
+ ;
423
+ var __setModuleDefault = Object.create ? (function (o, v) {
424
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
425
+ }) : function (o, v) {
426
+ o["default"] = v;
197
427
  };
198
-
199
428
  function __importStar(mod) {
200
- if (mod && mod.__esModule) return mod;
429
+ if (mod && mod.__esModule)
430
+ return mod;
201
431
  var result = {};
202
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
203
- result.default = mod;
432
+ if (mod != null)
433
+ for (var k in mod)
434
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
435
+ __createBinding(result, mod, k);
436
+ __setModuleDefault(result, mod);
204
437
  return result;
205
438
  }
206
-
207
439
  function __importDefault(mod) {
208
440
  return (mod && mod.__esModule) ? mod : { default: mod };
209
441
  }
210
-
211
- function __classPrivateFieldGet(receiver, privateMap) {
212
- if (!privateMap.has(receiver)) {
213
- throw new TypeError("attempted to get private field on non-instance");
214
- }
215
- return privateMap.get(receiver);
442
+ function __classPrivateFieldGet(receiver, state, kind, f) {
443
+ if (kind === "a" && !f)
444
+ throw new TypeError("Private accessor was defined without a getter");
445
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
446
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
447
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
216
448
  }
217
-
218
- function __classPrivateFieldSet(receiver, privateMap, value) {
219
- if (!privateMap.has(receiver)) {
220
- throw new TypeError("attempted to set private field on non-instance");
221
- }
222
- privateMap.set(receiver, value);
223
- return value;
449
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
450
+ if (kind === "m")
451
+ throw new TypeError("Private method is not writable");
452
+ if (kind === "a" && !f)
453
+ throw new TypeError("Private accessor was defined without a setter");
454
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
455
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
456
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
224
457
  }
225
458
 
226
- var FS_SYSTEM_CONFIG = new core.InjectionToken('fs-system-config');
227
-
228
- var DashboardComponent = /** @class */ (function () {
229
- function DashboardComponent(_message, _cdRef, _buildService) {
230
- this._message = _message;
231
- this._cdRef = _cdRef;
232
- this._buildService = _buildService;
233
- this.buttonActions = [];
234
- this.menuActions = [];
235
- this._destroy$ = new rxjs.Subject();
236
- this.actions = [];
237
- }
238
- DashboardComponent.prototype.ngOnInit = function () {
239
- var _this = this;
240
- this._load();
241
- this.buttonActions = this.actions.filter(function (item) { return !item.menu; });
242
- this.menuActions = this.actions.filter(function (item) { return item.menu; });
243
- this.build = this._buildService.build;
244
- this._buildService.buildChange$
245
- .pipe(operators.takeUntil(this._destroy$))
246
- .subscribe(function (build) {
247
- _this.build = build;
248
- _this._cdRef.markForCheck();
249
- });
250
- };
251
- DashboardComponent.prototype._load = function () {
252
- var _this = this;
253
- this.load()
254
- .subscribe(function (dashboard) {
255
- _this.dashboard = dashboard;
256
- _this.dashboard.cronRanAttention = !dashboard.cronRan ||
257
- dateFns.differenceInMinutes(new Date(), new Date(dashboard.cronRan)) > 15;
258
- _this._cdRef.markForCheck();
259
- });
260
- };
261
- DashboardComponent.prototype.ngOnDestroy = function () {
262
- this._destroy$.next();
263
- this._destroy$.complete();
264
- };
265
- DashboardComponent.prototype.actionClick = function (action) {
266
- action.click();
267
- };
268
- DashboardComponent.prototype.initClick = function () {
269
- var _this = this;
270
- this.init()
271
- .subscribe(function () {
272
- _this._message.success('Successfully initialized the system');
273
- });
274
- };
275
- DashboardComponent.prototype.upgradeClick = function () {
276
- var _this = this;
277
- this.upgrade()
278
- .subscribe(function () {
279
- _this._load();
280
- _this._message.success('Successfully upgraded the system');
281
- });
282
- };
283
- DashboardComponent.ctorParameters = function () { return [
284
- { type: message.FsMessage },
285
- { type: core.ChangeDetectorRef },
286
- { type: build.FsBuildService }
287
- ]; };
288
- __decorate([
289
- core.Input(),
290
- __metadata("design:type", Function)
291
- ], DashboardComponent.prototype, "init", void 0);
292
- __decorate([
293
- core.Input(),
294
- __metadata("design:type", Function)
295
- ], DashboardComponent.prototype, "upgrade", void 0);
296
- __decorate([
297
- core.Input(),
298
- __metadata("design:type", Function)
299
- ], DashboardComponent.prototype, "load", void 0);
300
- __decorate([
301
- core.Input(),
302
- __metadata("design:type", Array)
303
- ], DashboardComponent.prototype, "actions", void 0);
304
- DashboardComponent = __decorate([
305
- core.Component({
306
- selector: 'fs-system-dashboard',
307
- template: "<div *fsSkeleton=\"dashboard\">\r\n\r\n <div class=\"h2-container\">\r\n\r\n <div class=\"actions\">\r\n <h2>Actions</h2>\r\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayout.xs=\"column\">\r\n <button mat-raised-button (click)=\"upgradeClick()\">Run Upgrades</button>\r\n <button mat-raised-button (click)=\"initClick()\">Init System</button>\r\n\r\n <button\r\n *ngFor=\"let action of buttonActions\"\r\n mat-raised-button\r\n (click)=\"actionClick(action)\">\r\n {{action.label}}\r\n </button>\r\n\r\n <ng-container *ngIf=\"menuActions.length\">\r\n\r\n <fs-menu buttonClass=\"mat-raised-button menu-button\">\r\n <ng-template\r\n *ngFor=\"let action of menuActions\"\r\n fs-menu-item\r\n (click)=\"actionClick(action)\">\r\n {{action.label}}\r\n </ng-template>\r\n </fs-menu>\r\n\r\n\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n fxLayout=\"row wrap\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutGap.xs=\"0px\"\r\n fxLayoutAlign=\"start start\"\r\n fxLayoutGap=\"50px\">\r\n\r\n <div>\r\n <h2>Server</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Date/Time</fs-label>\r\n {{dashboard.serverTime | fsDateFormat: 'date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Timezone</fs-label>\r\n {{dashboard.serverTimezone}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Hostname</fs-label>\r\n {{dashboard.serverHostname}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Directory</fs-label>\r\n {{dashboard.appDirectory}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>System</h2>\r\n <fs-label-field>\r\n <fs-label>Mode</fs-label>\r\n {{dashboard.appMode}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Notification Recipients</fs-label>\r\n {{dashboard.notifyRecipients.join(', ')}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>Database</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Name</fs-label>\r\n {{dashboard.databaseName}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Date/Time</fs-label>\r\n {{dashboard.databaseTime | fsDateFormat: 'date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Timezone</fs-label>\r\n {{dashboard.databaseTimezone}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div *ngIf=\"build || dashboard.upgrades.length\">\r\n <h2>Build</h2>\r\n\r\n <ng-container *ngIf=\"build\">\r\n <fs-label-field>\r\n <fs-label>Version</fs-label>\r\n {{build.version}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>Date</fs-label>\r\n {{ build.date | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n </ng-container>\r\n\r\n <fs-label-field *ngIf=\"dashboard.upgrades.length\">\r\n <fs-label>Pending Upgrades</fs-label>\r\n <span class=\"attention\" [ngClass]=\"{ 'needs-attention': !!dashboard.upgrades.length }\">\r\n {{dashboard.upgrades.length}}\r\n <mat-icon\r\n [matTooltip]=\"dashboard.upgrades.join('\\n')\"\r\n matTooltipClass=\"tooltip-pending-upgrades\"\r\n >\r\n warning\r\n </mat-icon>\r\n </span>\r\n </fs-label-field>\r\n </div>\r\n\r\n <div>\r\n <h2>Cron</h2>\r\n\r\n <fs-label-field>\r\n <fs-label>Last Ran</fs-label>\r\n <span class=\"attention\" [ngClass]=\"{ 'needs-attention': dashboard.cronRanAttention }\">\r\n <span *ngIf=\"!dashboard.cronRan\">Never</span>\r\n <span *ngIf=\"dashboard.cronRan\">{{dashboard.cronRan | fsDateFormat: 'date-time'}}</span>\r\n <mat-icon>warning</mat-icon>\r\n </span>\r\n </fs-label-field>\r\n </div>\r\n </div>\r\n</div>\r\n",
308
- changeDetection: core.ChangeDetectionStrategy.OnPush,
309
- styles: [".actions{margin-bottom:1.25em}table td{padding:3px}.attention{display:flex;align-items:center}.attention mat-icon{display:none;margin-left:2px}.attention.needs-attention{color:#c00}.attention.needs-attention mat-icon{display:inline}::ng-deep .tooltip-pending-upgrades{white-space:pre-line}@media (max-width:600px){:host ::ng-deep .menu-button{width:100%;border-radius:4px}}@media (min-width:600px){:host ::ng-deep .menu-button{box-shadow:none}}"]
310
- }),
311
- __metadata("design:paramtypes", [message.FsMessage,
312
- core.ChangeDetectorRef,
313
- build.FsBuildService])
314
- ], DashboardComponent);
315
- return DashboardComponent;
316
- }());
317
-
318
- function indexNameValue(arry) {
319
- var obj = {};
320
- arry.forEach(function (item) {
321
- obj[item.value] = item.name;
322
- });
323
- return obj;
324
- }
325
-
326
-
459
+ exports.CronState = void 0;
327
460
  (function (CronState) {
328
461
  CronState["Running"] = "running";
329
462
  CronState["Idle"] = "idle";
@@ -347,14 +480,14 @@
347
480
  SettingInterfaceType["None"] = "N";
348
481
  })(SettingInterfaceType || (SettingInterfaceType = {}));
349
482
 
350
-
483
+ exports.ApiLogState = void 0;
351
484
  (function (ApiLogState) {
352
485
  ApiLogState["Success"] = "success";
353
486
  ApiLogState["Failed"] = "failed";
354
487
  ApiLogState["Deleted"] = "deleted";
355
488
  })(exports.ApiLogState || (exports.ApiLogState = {}));
356
489
 
357
-
490
+ exports.ProcessState = void 0;
358
491
  (function (ProcessState) {
359
492
  ProcessState["Queued"] = "Q";
360
493
  ProcessState["Running"] = "R";
@@ -430,19 +563,22 @@
430
563
  return accum;
431
564
  }, {});
432
565
  };
433
- CronLogComponent.ctorParameters = function () { return [
434
- { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
435
- ]; };
436
- CronLogComponent = __decorate([
437
- core.Component({
438
- template: "<fs-dialog *fsSkeleton=\"cronLog\">\r\n <div mat-dialog-title>Cron Log</div>\r\n <mat-dialog-content>\r\n <div class=\"row\">\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n <div [ngStyle]=\"{ color: CronLogStateColors[cronLog.state]}\">\r\n {{CronLogStates[cronLog.state] || cronLog.state}}\r\n </div>\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n <fs-date-ago [date]=\"cronLog.createDate\"></fs-date-ago>\r\n </fs-label-field>\r\n </div>\r\n \r\n <fs-label-field *ngIf=\"cronLog.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n <div class=\"message\">\r\n {{cronLog.message}}\r\n </div>\r\n </fs-label-field>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n",
439
- styles: [".message{white-space:pre-line}.row{display:flex;flex-wrap:wrap}.row fs-label-field:not(:last-child){margin-right:40px}"]
440
- }),
441
- __param(0, core.Inject(dialog.MAT_DIALOG_DATA)),
442
- __metadata("design:paramtypes", [Object])
443
- ], CronLogComponent);
444
566
  return CronLogComponent;
445
- }());
567
+ }());
568
+ CronLogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronLogComponent, deps: [{ token: i1$1.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
569
+ CronLogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CronLogComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog *fsSkeleton=\"cronLog\">\r\n <div mat-dialog-title>Cron Log</div>\r\n <mat-dialog-content>\r\n <div class=\"row\">\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n <div [ngStyle]=\"{ color: CronLogStateColors[cronLog.state]}\">\r\n {{CronLogStates[cronLog.state] || cronLog.state}}\r\n </div>\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n <fs-date-ago [date]=\"cronLog.createDate\"></fs-date-ago>\r\n </fs-label-field>\r\n </div>\r\n \r\n <fs-label-field *ngIf=\"cronLog.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n <div class=\"message\">\r\n {{cronLog.message}}\r\n </div>\r\n </fs-label-field>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n", styles: [".message{white-space:pre-line}.row{display:flex;flex-wrap:wrap}.row fs-label-field:not(:last-child){margin-right:40px}\n"], components: [{ type: i2__namespace$2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i1__namespace$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i9__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i10__namespace.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
570
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronLogComponent, decorators: [{
571
+ type: i0.Component,
572
+ args: [{
573
+ templateUrl: './cron-log.component.html',
574
+ styleUrls: ['./cron-log.component.scss']
575
+ }]
576
+ }], ctorParameters: function () {
577
+ return [{ type: undefined, decorators: [{
578
+ type: i0.Inject,
579
+ args: [i1$1.MAT_DIALOG_DATA]
580
+ }] }];
581
+ } });
446
582
 
447
583
  var CronComponent = /** @class */ (function () {
448
584
  function CronComponent(_data, _dialog, _cdRef) {
@@ -484,7 +620,7 @@
484
620
  var _this = this;
485
621
  this._data.loadCron(this._data.cron)
486
622
  .subscribe(function (cron) {
487
- _this.cron = __assign(__assign({}, _this._data.cron), cron);
623
+ _this.cron = Object.assign(Object.assign({}, _this._data.cron), cron);
488
624
  if (_this._data.loadCronLogs) {
489
625
  _this.config = {
490
626
  filters: [
@@ -492,9 +628,9 @@
492
628
  type: filter.ItemType.Select,
493
629
  name: 'state',
494
630
  label: 'Status',
495
- values: __spread([
631
+ values: __spreadArray([
496
632
  { name: 'All', value: null }
497
- ], CronLogStates),
633
+ ], __read(CronLogStates)),
498
634
  },
499
635
  {
500
636
  type: filter.ItemType.DateRange,
@@ -503,7 +639,7 @@
503
639
  },
504
640
  ],
505
641
  fetch: function (query) {
506
- query = __assign(__assign({}, query), { cronId: _this.cron.id });
642
+ query = Object.assign(Object.assign({}, query), { cronId: _this.cron.id });
507
643
  return _this._data.loadCronLogs(query);
508
644
  },
509
645
  };
@@ -515,23 +651,23 @@
515
651
  _this._cdRef.markForCheck();
516
652
  });
517
653
  };
518
- CronComponent.ctorParameters = function () { return [
519
- { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
520
- { type: dialog.MatDialog },
521
- { type: core.ChangeDetectorRef }
522
- ]; };
523
- CronComponent = __decorate([
524
- core.Component({
525
- template: "<fs-dialog *fsSkeleton=\"cron\">\r\n <h1 mat-dialog-title>\r\n Cron\r\n <div class=\"small\">{{cron.name}}</div>\r\n </h1>\r\n <mat-dialog-content>\r\n <mat-tab-group (selectedIndexChange)=\"selectedIndexChange($event)\">\r\n <mat-tab label=\"Overview\">\r\n <div class=\"row\">\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{CronStates[cron.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"cron.cronSetting\">\r\n <fs-label>\r\n Run Frequency\r\n </fs-label>\r\n {{cron.cronSetting.summary}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Last Ran\r\n </fs-label>\r\n <ng-container *ngIf=\"cron.duration===null; else lastRan\">\r\n Never\r\n </ng-container>\r\n <ng-template #lastRan>\r\n <fs-date-ago [date]=\"cron.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"cron.duration\">Duration: {{ cron.duration | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </fs-label-field>\r\n </div>\r\n\r\n <fs-label-field *ngIf=\"cron.message\">\r\n <fs-label>\r\n Last Message\r\n </fs-label>\r\n <div class=\"message\">{{cron.message}}</div>\r\n </fs-label-field>\r\n </mat-tab>\r\n <mat-tab label=\"Logs\" *ngIf=\"config\">\r\n <ng-template matTabContent>\r\n <fs-list [config]=\"config\">\r\n <fs-list-column name=\"state\" title=\"Status\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a \r\n (click)=\"cronLogOpen(row)\"\r\n [ngStyle]=\"{ color: CronLogStateColors[row.state] }\">\r\n {{CronLogStates[row.state] || row.state}}\r\n </a>\r\n </ng-template>\r\n </fs-list-column>\r\n \r\n <fs-list-column title=\"Message\" class=\"col-message\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <div class=\"message\">{{row.message}}</div>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column name=\"create_date\" title=\"Date\" class=\"col-date\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list> \r\n </ng-template>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n </mat-dialog-content>\r\n <mat-dialog-actions> \r\n <button \r\n mat-button \r\n [mat-dialog-close]=\"true\" \r\n color=\"primary\">\r\n Done\r\n </button>\r\n <ng-container *ngIf=\"tabIndex === 0\">\r\n <button \r\n *ngFor=\"let cronAction of cronActions\"\r\n mat-button \r\n (click)=\"cronActionClick(cronAction)\">\r\n {{cronAction.label}}\r\n </button> \r\n </ng-container>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n",
526
- changeDetection: core.ChangeDetectionStrategy.OnPush,
527
- styles: [":host ::ng-deep .col-message .message{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}:host ::ng-deep .col-date{white-space:nowrap}h1 .small{line-height:normal}.row{display:flex;flex-wrap:wrap}.row fs-label-field:not(:last-child){margin-right:40px}.message{white-space:pre-line}"]
528
- }),
529
- __param(0, core.Inject(dialog.MAT_DIALOG_DATA)),
530
- __metadata("design:paramtypes", [Object, dialog.MatDialog,
531
- core.ChangeDetectorRef])
532
- ], CronComponent);
533
654
  return CronComponent;
534
- }());
655
+ }());
656
+ CronComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronComponent, deps: [{ token: i1$1.MAT_DIALOG_DATA }, { token: i1__namespace$1.MatDialog }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
657
+ CronComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CronComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog *fsSkeleton=\"cron\">\r\n <h1 mat-dialog-title>\r\n Cron\r\n <div class=\"small\">{{cron.name}}</div>\r\n </h1>\r\n <mat-dialog-content>\r\n <mat-tab-group (selectedIndexChange)=\"selectedIndexChange($event)\">\r\n <mat-tab label=\"Overview\">\r\n <div class=\"row\">\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{CronStates[cron.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"cron.cronSetting\">\r\n <fs-label>\r\n Run Frequency\r\n </fs-label>\r\n {{cron.cronSetting.summary}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Last Ran\r\n </fs-label>\r\n <ng-container *ngIf=\"cron.duration===null; else lastRan\">\r\n Never\r\n </ng-container>\r\n <ng-template #lastRan>\r\n <fs-date-ago [date]=\"cron.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"cron.duration\">Duration: {{ cron.duration | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </fs-label-field>\r\n </div>\r\n\r\n <fs-label-field *ngIf=\"cron.message\">\r\n <fs-label>\r\n Last Message\r\n </fs-label>\r\n <div class=\"message\">{{cron.message}}</div>\r\n </fs-label-field>\r\n </mat-tab>\r\n <mat-tab label=\"Logs\" *ngIf=\"config\">\r\n <ng-template matTabContent>\r\n <fs-list [config]=\"config\">\r\n <fs-list-column name=\"state\" title=\"Status\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a \r\n (click)=\"cronLogOpen(row)\"\r\n [ngStyle]=\"{ color: CronLogStateColors[row.state] }\">\r\n {{CronLogStates[row.state] || row.state}}\r\n </a>\r\n </ng-template>\r\n </fs-list-column>\r\n \r\n <fs-list-column title=\"Message\" class=\"col-message\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <div class=\"message\">{{row.message}}</div>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column name=\"create_date\" title=\"Date\" class=\"col-date\">\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list> \r\n </ng-template>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n </mat-dialog-content>\r\n <mat-dialog-actions> \r\n <button \r\n mat-button \r\n [mat-dialog-close]=\"true\" \r\n color=\"primary\">\r\n Done\r\n </button>\r\n <ng-container *ngIf=\"tabIndex === 0\">\r\n <button \r\n *ngFor=\"let cronAction of cronActions\"\r\n mat-button \r\n (click)=\"cronActionClick(cronAction)\">\r\n {{cronAction.label}}\r\n </button> \r\n </ng-container>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n", styles: [":host ::ng-deep .col-message .message{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}:host ::ng-deep .col-date{white-space:nowrap}h1 .small{line-height:normal}.row{display:flex;flex-wrap:wrap}.row fs-label-field:not(:last-child){margin-right:40px}.message{white-space:pre-line}\n"], components: [{ type: i2__namespace$2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i3__namespace.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby"], exportAs: ["matTab"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }, { type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i1__namespace$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.MatTabContent, selector: "[matTabContent]" }, { type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { type: i9__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i10__namespace.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i1__namespace$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "fsDateDuration": i4__namespace$2.FsDateDurationPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
658
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronComponent, decorators: [{
659
+ type: i0.Component,
660
+ args: [{
661
+ templateUrl: './cron.component.html',
662
+ styleUrls: ['./cron.component.scss'],
663
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
664
+ }]
665
+ }], ctorParameters: function () {
666
+ return [{ type: undefined, decorators: [{
667
+ type: i0.Inject,
668
+ args: [i1$1.MAT_DIALOG_DATA]
669
+ }] }, { type: i1__namespace$1.MatDialog }, { type: i0__namespace.ChangeDetectorRef }];
670
+ } });
535
671
 
536
672
  var CronsComponent = /** @class */ (function () {
537
673
  function CronsComponent(_message, _dialog) {
@@ -556,7 +692,7 @@
556
692
  ],
557
693
  rowActions: this.getCronActions()
558
694
  .map(function (rowAction) {
559
- return __assign(__assign({}, rowAction), { click: function (cron) {
695
+ return Object.assign(Object.assign({}, rowAction), { click: function (cron) {
560
696
  rowAction.action(cron)
561
697
  .subscribe();
562
698
  } });
@@ -673,61 +809,61 @@
673
809
  },
674
810
  ];
675
811
  };
676
- CronsComponent.ctorParameters = function () { return [
677
- { type: message.FsMessage },
678
- { type: dialog.MatDialog }
679
- ]; };
680
- __decorate([
681
- core.ViewChild(list.FsListComponent, { static: true }),
682
- __metadata("design:type", list.FsListComponent)
683
- ], CronsComponent.prototype, "list", void 0);
684
- __decorate([
685
- core.Input(),
686
- __metadata("design:type", Function)
687
- ], CronsComponent.prototype, "enable", void 0);
688
- __decorate([
689
- core.Input(),
690
- __metadata("design:type", Function)
691
- ], CronsComponent.prototype, "disable", void 0);
692
- __decorate([
693
- core.Input(),
694
- __metadata("design:type", Function)
695
- ], CronsComponent.prototype, "kill", void 0);
696
- __decorate([
697
- core.Input(),
698
- __metadata("design:type", Function)
699
- ], CronsComponent.prototype, "queue", void 0);
700
- __decorate([
701
- core.Input(),
702
- __metadata("design:type", Function)
703
- ], CronsComponent.prototype, "run", void 0);
704
- __decorate([
705
- core.Input(),
706
- __metadata("design:type", Function)
707
- ], CronsComponent.prototype, "loadCrons", void 0);
708
- __decorate([
709
- core.Input(),
710
- __metadata("design:type", Function)
711
- ], CronsComponent.prototype, "loadCron", void 0);
712
- __decorate([
713
- core.Input(),
714
- __metadata("design:type", Function)
715
- ], CronsComponent.prototype, "loadCronLogs", void 0);
716
- __decorate([
717
- core.Input(),
718
- __metadata("design:type", Function)
719
- ], CronsComponent.prototype, "bulk", void 0);
720
- CronsComponent = __decorate([
721
- core.Component({
722
- selector: 'fs-system-crons',
723
- template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a (click)=\"open(row)\">{{row.name}}</a>\r\n <div *ngIf=\"row.cronSetting\">\r\n <small>{{row.cronSetting.summary}}</small>\r\n </div>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{cronStates[row.state]}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Last Ran</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <ng-container *ngIf=\"row.duration===null; else lastRan\">\r\n Never\r\n </ng-container>\r\n <ng-template #lastRan>\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"row.duration\">Duration: {{ row.duration | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n",
724
- styles: [""]
725
- }),
726
- __metadata("design:paramtypes", [message.FsMessage,
727
- dialog.MatDialog])
728
- ], CronsComponent);
729
812
  return CronsComponent;
730
- }());
813
+ }());
814
+ CronsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronsComponent, deps: [{ token: i1__namespace.FsMessage }, { token: i1__namespace$1.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
815
+ CronsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CronsComponent, selector: "fs-system-crons", inputs: { enable: "enable", disable: "disable", kill: "kill", queue: "queue", run: "run", loadCrons: "loadCrons", loadCron: "loadCron", loadCronLogs: "loadCronLogs", bulk: "bulk" }, viewQueries: [{ propertyName: "list", first: true, predicate: i3$1.FsListComponent, descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a (click)=\"open(row)\">{{row.name}}</a>\r\n <div *ngIf=\"row.cronSetting\">\r\n <small>{{row.cronSetting.summary}}</small>\r\n </div>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{cronStates[row.state]}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Last Ran</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <ng-container *ngIf=\"row.duration===null; else lastRan\">\r\n Never\r\n </ng-container>\r\n <ng-template #lastRan>\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"row.duration\">Duration: {{ row.duration | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n", styles: [""], components: [{ type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], directives: [{ type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "fsDateDuration": i4__namespace$2.FsDateDurationPipe } });
816
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CronsComponent, decorators: [{
817
+ type: i0.Component,
818
+ args: [{
819
+ selector: 'fs-system-crons',
820
+ templateUrl: './crons.component.html',
821
+ styleUrls: ['./crons.component.scss'],
822
+ }]
823
+ }], ctorParameters: function () { return [{ type: i1__namespace.FsMessage }, { type: i1__namespace$1.MatDialog }]; }, propDecorators: { list: [{
824
+ type: i0.ViewChild,
825
+ args: [i3$1.FsListComponent, { static: true }]
826
+ }], enable: [{
827
+ type: i0.Input
828
+ }], disable: [{
829
+ type: i0.Input
830
+ }], kill: [{
831
+ type: i0.Input
832
+ }], queue: [{
833
+ type: i0.Input
834
+ }], run: [{
835
+ type: i0.Input
836
+ }], loadCrons: [{
837
+ type: i0.Input
838
+ }], loadCron: [{
839
+ type: i0.Input
840
+ }], loadCronLogs: [{
841
+ type: i0.Input
842
+ }], bulk: [{
843
+ type: i0.Input
844
+ }] } });
845
+
846
+ var KeyNameValuePipe = /** @class */ (function () {
847
+ function KeyNameValuePipe() {
848
+ }
849
+ KeyNameValuePipe.prototype.transform = function (values) {
850
+ return Object.keys(values).map(function (key) {
851
+ return { value: key, name: values[key] };
852
+ });
853
+ };
854
+ return KeyNameValuePipe;
855
+ }());
856
+ KeyNameValuePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KeyNameValuePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
857
+ KeyNameValuePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KeyNameValuePipe, name: "keyNameValue" });
858
+ KeyNameValuePipe.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KeyNameValuePipe });
859
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KeyNameValuePipe, decorators: [{
860
+ type: i0.Pipe,
861
+ args: [{
862
+ name: 'keyNameValue'
863
+ }]
864
+ }, {
865
+ type: i0.Injectable
866
+ }] });
731
867
 
732
868
  var SettingsComponent = /** @class */ (function () {
733
869
  function SettingsComponent(_message, _clipboardService, _prompt, _cdRef) {
@@ -735,8 +871,8 @@
735
871
  this._clipboardService = _clipboardService;
736
872
  this._prompt = _prompt;
737
873
  this._cdRef = _cdRef;
738
- this.fileRemove = new core.EventEmitter();
739
- this.fileSelect = new core.EventEmitter();
874
+ this.fileRemove = new i0.EventEmitter();
875
+ this.fileSelect = new i0.EventEmitter();
740
876
  this.groupedSettings = [];
741
877
  this.groups = [];
742
878
  this.SettingInterfaceType = SettingInterfaceType;
@@ -753,7 +889,7 @@
753
889
  switch (setting.interfaceType) {
754
890
  case SettingInterfaceType.Date:
755
891
  case SettingInterfaceType.Time:
756
- setting.value = date.parse(setting.value);
892
+ setting.value = i4$2.parse(setting.value);
757
893
  case SettingInterfaceType.SelectMultiple:
758
894
  setting.value = Array.isArray(setting.value) ? setting.value : [];
759
895
  break;
@@ -819,42 +955,27 @@
819
955
  _this._message.success('Changes Saved');
820
956
  });
821
957
  };
822
- SettingsComponent.ctorParameters = function () { return [
823
- { type: message.FsMessage },
824
- { type: ngxClipboard.ClipboardService },
825
- { type: prompt.FsPrompt },
826
- { type: core.ChangeDetectorRef }
827
- ]; };
828
- __decorate([
829
- core.Input(),
830
- __metadata("design:type", Function)
831
- ], SettingsComponent.prototype, "loadSettings", void 0);
832
- __decorate([
833
- core.Input(),
834
- __metadata("design:type", Function)
835
- ], SettingsComponent.prototype, "save", void 0);
836
- __decorate([
837
- core.Output(),
838
- __metadata("design:type", Object)
839
- ], SettingsComponent.prototype, "fileRemove", void 0);
840
- __decorate([
841
- core.Output(),
842
- __metadata("design:type", Object)
843
- ], SettingsComponent.prototype, "fileSelect", void 0);
844
- SettingsComponent = __decorate([
845
- core.Component({
846
- selector: 'fs-system-settings',
847
- template: "\r\n<mat-accordion>\r\n <mat-expansion-panel hideToggle *ngFor=\"let group of groups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n <div class=\"title-row\">\r\n <div class=\"title\">{{group || 'General'}}</div>\r\n <div class=\"actions\">\r\n <button\r\n type=\"button\"\r\n [matTooltip]=\"'Export ' + (group || 'General') + ' Settings'\"\r\n mat-icon-button\r\n (click)=\"export($event, groupedSettings[group])\">\r\n <mat-icon>cloud_download</mat-icon>\r\n </button>\r\n <button\r\n type=\"button\"\r\n [matTooltip]=\"'Import ' + (group || 'General') + ' Settings'\"\r\n mat-icon-button\r\n (click)=\"import($event, group)\">\r\n <mat-icon>cloud_upload</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <div hideToggle *ngFor=\"let setting of groupedSettings[group]\">\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\"\r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.InputBox\">\r\n <input\r\n matInput\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Textarea\">\r\n <textarea\r\n matInput\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n </textarea>\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Select || setting.interfaceType===SettingInterfaceType.SelectMultiple\">\r\n <mat-select\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [multiple]=\"setting.interfaceType===SettingInterfaceType.SelectMultiple\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-option *ngFor=\"let item of setting.values | keyNameValue\" [value]=\"item.value\">\r\n {{item.name}}\r\n </mat-option>\r\n </mat-select>\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Date\">\r\n <input\r\n matInput\r\n fsDatePicker\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Time\">\r\n <input\r\n matInput\r\n fsTimePicker\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <fs-file-picker\r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.File\"\r\n [allowRemove]=\"true\"\r\n [allowDownload]=\"true\"\r\n (select)=\"fileSelect.emit({ setting: setting, file: $event.file })\"\r\n (remove)=\"fileRemove.emit(setting)\"\r\n [url]=\"setting.value\">\r\n <div fsFileLabel>{{setting.label}}</div>\r\n </fs-file-picker>\r\n </div>\r\n\r\n <button mat-raised-button color=\"primary\" type=\"button\" (click)=\"saveGroup(group)\">Save</button>\r\n\r\n </mat-expansion-panel>\r\n\r\n</mat-accordion>\r\n",
848
- changeDetection: core.ChangeDetectionStrategy.OnPush,
849
- styles: [".mat-expansion-panel-header{font-size:19px}.full-width{width:100%}.title-row{flex-direction:row;box-sizing:border-box;display:flex;place-content:center flex-start;align-items:center;width:100%}.title-row .title{display:flex;flex:1}:host ::ng-deep .mat-expansion-panel-header-title{margin:0}:host ::ng-deep .mat-expansion-panel .actions{display:none}:host ::ng-deep .mat-expansion-panel.mat-expanded .actions{display:block}"]
850
- }),
851
- __metadata("design:paramtypes", [message.FsMessage,
852
- ngxClipboard.ClipboardService,
853
- prompt.FsPrompt,
854
- core.ChangeDetectorRef])
855
- ], SettingsComponent);
856
958
  return SettingsComponent;
857
- }());
959
+ }());
960
+ SettingsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SettingsComponent, deps: [{ token: i1__namespace.FsMessage }, { token: i2__namespace$3.ClipboardService }, { token: i3__namespace$2.FsPrompt }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
961
+ SettingsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SettingsComponent, selector: "fs-system-settings", inputs: { loadSettings: "loadSettings", save: "save" }, outputs: { fileRemove: "fileRemove", fileSelect: "fileSelect" }, ngImport: i0__namespace, template: "\r\n<mat-accordion>\r\n <mat-expansion-panel hideToggle *ngFor=\"let group of groups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n <div class=\"title-row\">\r\n <div class=\"title\">{{group || 'General'}}</div>\r\n <div class=\"actions\">\r\n <button\r\n type=\"button\"\r\n [matTooltip]=\"'Export ' + (group || 'General') + ' Settings'\"\r\n mat-icon-button\r\n (click)=\"export($event, groupedSettings[group])\">\r\n <mat-icon>cloud_download</mat-icon>\r\n </button>\r\n <button\r\n type=\"button\"\r\n [matTooltip]=\"'Import ' + (group || 'General') + ' Settings'\"\r\n mat-icon-button\r\n (click)=\"import($event, group)\">\r\n <mat-icon>cloud_upload</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <div hideToggle *ngFor=\"let setting of groupedSettings[group]\">\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\"\r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.InputBox\">\r\n <input\r\n matInput\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Textarea\">\r\n <textarea\r\n matInput\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n </textarea>\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Select || setting.interfaceType===SettingInterfaceType.SelectMultiple\">\r\n <mat-select\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [multiple]=\"setting.interfaceType===SettingInterfaceType.SelectMultiple\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-option *ngFor=\"let item of setting.values | keyNameValue\" [value]=\"item.value\">\r\n {{item.name}}\r\n </mat-option>\r\n </mat-select>\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Date\">\r\n <input\r\n matInput\r\n fsDatePicker\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <mat-form-field \r\n class=\"full-width form-field-multiline-subscript\" \r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.Time\">\r\n <input\r\n matInput\r\n fsTimePicker\r\n [placeholder]=\"setting.label\"\r\n [(ngModel)]=\"setting.value\"\r\n [name]=\"'setting' + setting.id\">\r\n <mat-hint>{{setting.instruction}}</mat-hint>\r\n </mat-form-field>\r\n\r\n <fs-file-picker\r\n *ngIf=\"setting.interfaceType===SettingInterfaceType.File\"\r\n [allowRemove]=\"true\"\r\n [allowDownload]=\"true\"\r\n (select)=\"fileSelect.emit({ setting: setting, file: $event.file })\"\r\n (remove)=\"fileRemove.emit(setting)\"\r\n [url]=\"setting.value\">\r\n <div fsFileLabel>{{setting.label}}</div>\r\n </fs-file-picker>\r\n </div>\r\n\r\n <button mat-raised-button color=\"primary\" type=\"button\" (click)=\"saveGroup(group)\">Save</button>\r\n\r\n </mat-expansion-panel>\r\n\r\n</mat-accordion>\r\n", styles: [".mat-expansion-panel-header{font-size:19px}.full-width{width:100%}.title-row{flex-direction:row;box-sizing:border-box;display:flex;place-content:center flex-start;align-items:center;width:100%}.title-row .title{display:flex;flex:1}:host ::ng-deep .mat-expansion-panel-header-title{margin:0}:host ::ng-deep .mat-expansion-panel .actions{display:none}:host ::ng-deep .mat-expansion-panel.mat-expanded .actions{display:block}\n"], components: [{ type: i4__namespace$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { type: i4__namespace$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i6__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i7__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i8__namespace.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i9__namespace$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i10__namespace$1.FsDatePickerComponent, selector: "[fsDatePicker]", inputs: ["minYear", "maxYear", "minDate", "maxDate", "startOfDay", "view", "format", "minutes"], outputs: ["change"] }, { type: i10__namespace$1.FsTimePickerComponent, selector: "[fsTimePicker]", inputs: ["view"] }, { type: i11__namespace$1.FsFilePickerComponent, selector: "fs-file-picker", inputs: ["imageWidth", "imageHeight", "imageQuality", "showFilename", "url", "file", "accept", "disabled", "width", "height", "previewWidth", "previewHeight", "allowDownload", "allowReupload", "allowRemove"], outputs: ["select", "remove"] }], directives: [{ type: i4__namespace$3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "displayMode", "togglePosition", "hideToggle"], exportAs: ["matAccordion"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { type: i11__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i15__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i15__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i15__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7__namespace.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], pipes: { "keyNameValue": KeyNameValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
962
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SettingsComponent, decorators: [{
963
+ type: i0.Component,
964
+ args: [{
965
+ selector: 'fs-system-settings',
966
+ templateUrl: './settings.component.html',
967
+ styleUrls: ['./settings.component.scss'],
968
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
969
+ }]
970
+ }], ctorParameters: function () { return [{ type: i1__namespace.FsMessage }, { type: i2__namespace$3.ClipboardService }, { type: i3__namespace$2.FsPrompt }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { loadSettings: [{
971
+ type: i0.Input
972
+ }], save: [{
973
+ type: i0.Input
974
+ }], fileRemove: [{
975
+ type: i0.Output
976
+ }], fileSelect: [{
977
+ type: i0.Output
978
+ }] } });
858
979
 
859
980
  var FileManagerComponent = /** @class */ (function () {
860
981
  function FileManagerComponent() {
@@ -885,57 +1006,30 @@
885
1006
  }
886
1007
  };
887
1008
  };
888
- __decorate([
889
- core.Input(),
890
- __metadata("design:type", Function)
891
- ], FileManagerComponent.prototype, "fetch", void 0);
892
- __decorate([
893
- core.Input(),
894
- __metadata("design:type", Function)
895
- ], FileManagerComponent.prototype, "deleteFile", void 0);
896
- __decorate([
897
- core.Input(),
898
- __metadata("design:type", Function)
899
- ], FileManagerComponent.prototype, "deleteDirectory", void 0);
900
- __decorate([
901
- core.Input(),
902
- __metadata("design:type", Function)
903
- ], FileManagerComponent.prototype, "createDirectory", void 0);
904
- __decorate([
905
- core.Input(),
906
- __metadata("design:type", Function)
907
- ], FileManagerComponent.prototype, "download", void 0);
908
- __decorate([
909
- core.Input(),
910
- __metadata("design:type", Function)
911
- ], FileManagerComponent.prototype, "upload", void 0);
912
- FileManagerComponent = __decorate([
913
- core.Component({
914
- selector: 'fs-system-file-manager',
915
- template: "<fs-file-manager [config]=\"config\"></fs-file-manager>",
916
- styles: [""]
917
- }),
918
- __metadata("design:paramtypes", [])
919
- ], FileManagerComponent);
920
1009
  return FileManagerComponent;
921
- }());
922
-
923
- var KeyNameValuePipe = /** @class */ (function () {
924
- function KeyNameValuePipe() {
925
- }
926
- KeyNameValuePipe.prototype.transform = function (values) {
927
- return Object.keys(values).map(function (key) {
928
- return { value: key, name: values[key] };
929
- });
930
- };
931
- KeyNameValuePipe = __decorate([
932
- core.Pipe({
933
- name: 'keyNameValue'
934
- }),
935
- core.Injectable()
936
- ], KeyNameValuePipe);
937
- return KeyNameValuePipe;
938
- }());
1010
+ }());
1011
+ FileManagerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileManagerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1012
+ FileManagerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileManagerComponent, selector: "fs-system-file-manager", inputs: { fetch: "fetch", deleteFile: "deleteFile", deleteDirectory: "deleteDirectory", createDirectory: "createDirectory", download: "download", upload: "upload" }, ngImport: i0__namespace, template: "<fs-file-manager [config]=\"config\"></fs-file-manager>", styles: [""], components: [{ type: i1__namespace$2.FsFileManagerComponent, selector: "fs-file-manager", inputs: ["config"] }] });
1013
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileManagerComponent, decorators: [{
1014
+ type: i0.Component,
1015
+ args: [{
1016
+ selector: 'fs-system-file-manager',
1017
+ templateUrl: './file-manager.component.html',
1018
+ styleUrls: ['./file-manager.component.scss']
1019
+ }]
1020
+ }], ctorParameters: function () { return []; }, propDecorators: { fetch: [{
1021
+ type: i0.Input
1022
+ }], deleteFile: [{
1023
+ type: i0.Input
1024
+ }], deleteDirectory: [{
1025
+ type: i0.Input
1026
+ }], createDirectory: [{
1027
+ type: i0.Input
1028
+ }], download: [{
1029
+ type: i0.Input
1030
+ }], upload: [{
1031
+ type: i0.Input
1032
+ }] } });
939
1033
 
940
1034
  var ProcessComponent = /** @class */ (function () {
941
1035
  function ProcessComponent(_dialogRef, data) {
@@ -959,20 +1053,22 @@
959
1053
  _this.process = process;
960
1054
  });
961
1055
  };
962
- ProcessComponent.ctorParameters = function () { return [
963
- { type: dialog.MatDialogRef },
964
- { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
965
- ]; };
966
- ProcessComponent = __decorate([
967
- core.Component({
968
- template: "<fs-dialog *fsSkeleton=\"process\">\r\n <div mat-dialog-title>Process</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Name\r\n </fs-label>\r\n {{process.prettyName}}\r\n </fs-label-field>\r\n\r\n <div fxLayout=\"row\" fxLayoutGap=\"20px\">\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{ProcessStates[process.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.notify\">\r\n <fs-label>\r\n Notification Email\r\n </fs-label>\r\n {{process.notify}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.pid\">\r\n <fs-label>\r\n PID\r\n </fs-label>\r\n {{process.pid}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutGap=\"20px\">\r\n <fs-label-field>\r\n <fs-label>\r\n Create Date\r\n </fs-label>\r\n {{ process.createDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.startDate\">\r\n <fs-label>\r\n Start Date\r\n </fs-label>\r\n {{ process.startDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.endDate\">\r\n <fs-label>\r\n Complete Date\r\n </fs-label>\r\n {{ process.endDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.duration\">\r\n <fs-label>\r\n Duration\r\n </fs-label>\r\n {{ process.duration | fsDateDuration: {hours: true, minutes: true, seconds: true} }}\r\n </fs-label-field>\r\n </div>\r\n\r\n <fs-label-field *ngIf=\"process.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{process.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.log\" class=\"log\">\r\n <fs-label>\r\n Log\r\n </fs-label>{{process.log}}\r\n </fs-label-field>\r\n\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n <button\r\n *ngIf=\"process.state===ProcessState.Running && data.loadProcess\"\r\n mat-button\r\n (click)=\"load()\">\r\n Reload\r\n </button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n",
969
- styles: [":host ::ng-deep .log .field-content{white-space:pre-wrap;font-family:monospace;font-size:14px}"]
970
- }),
971
- __param(1, core.Inject(dialog.MAT_DIALOG_DATA)),
972
- __metadata("design:paramtypes", [dialog.MatDialogRef, Object])
973
- ], ProcessComponent);
974
1056
  return ProcessComponent;
975
- }());
1057
+ }());
1058
+ ProcessComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ProcessComponent, deps: [{ token: i1__namespace$1.MatDialogRef }, { token: i1$1.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
1059
+ ProcessComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ProcessComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog *fsSkeleton=\"process\">\r\n <div mat-dialog-title>Process</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Name\r\n </fs-label>\r\n {{process.prettyName}}\r\n </fs-label-field>\r\n\r\n <div fxLayout=\"row\" fxLayoutGap=\"20px\">\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{ProcessStates[process.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.notify\">\r\n <fs-label>\r\n Notification Email\r\n </fs-label>\r\n {{process.notify}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.pid\">\r\n <fs-label>\r\n PID\r\n </fs-label>\r\n {{process.pid}}\r\n </fs-label-field>\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutGap=\"20px\">\r\n <fs-label-field>\r\n <fs-label>\r\n Create Date\r\n </fs-label>\r\n {{ process.createDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.startDate\">\r\n <fs-label>\r\n Start Date\r\n </fs-label>\r\n {{ process.startDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.endDate\">\r\n <fs-label>\r\n Complete Date\r\n </fs-label>\r\n {{ process.endDate | fsDateFormat: 'date-time' }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.duration\">\r\n <fs-label>\r\n Duration\r\n </fs-label>\r\n {{ process.duration | fsDateDuration: {hours: true, minutes: true, seconds: true} }}\r\n </fs-label-field>\r\n </div>\r\n\r\n <fs-label-field *ngIf=\"process.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{process.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"process.log\" class=\"log\">\r\n <fs-label>\r\n Log\r\n </fs-label>{{process.log}}\r\n </fs-label-field>\r\n\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n <button\r\n *ngIf=\"process.state===ProcessState.Running && data.loadProcess\"\r\n mat-button\r\n (click)=\"load()\">\r\n Reload\r\n </button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n", styles: [":host ::ng-deep .log .field-content{white-space:pre-wrap;font-family:monospace;font-size:14px}\n"], components: [{ type: i2__namespace$2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i1__namespace$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i6__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6__namespace$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "fsDateFormat": i4__namespace$2.FsDateFormatPipe, "fsDateDuration": i4__namespace$2.FsDateDurationPipe } });
1060
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ProcessComponent, decorators: [{
1061
+ type: i0.Component,
1062
+ args: [{
1063
+ templateUrl: './process.component.html',
1064
+ styleUrls: ['./process.component.scss']
1065
+ }]
1066
+ }], ctorParameters: function () {
1067
+ return [{ type: i1__namespace$1.MatDialogRef }, { type: undefined, decorators: [{
1068
+ type: i0.Inject,
1069
+ args: [i1$1.MAT_DIALOG_DATA]
1070
+ }] }];
1071
+ } });
976
1072
 
977
1073
  var ProcessesComponent = /** @class */ (function () {
978
1074
  function ProcessesComponent(_dialog, _message) {
@@ -1093,53 +1189,35 @@
1093
1189
  this._destroy$.next();
1094
1190
  this._destroy$.complete();
1095
1191
  };
1096
- ProcessesComponent.ctorParameters = function () { return [
1097
- { type: dialog.MatDialog },
1098
- { type: message.FsMessage }
1099
- ]; };
1100
- __decorate([
1101
- core.ViewChild(list.FsListComponent),
1102
- __metadata("design:type", list.FsListComponent)
1103
- ], ProcessesComponent.prototype, "list", void 0);
1104
- __decorate([
1105
- core.Input(),
1106
- __metadata("design:type", Function)
1107
- ], ProcessesComponent.prototype, "loadProcesses", void 0);
1108
- __decorate([
1109
- core.Input(),
1110
- __metadata("design:type", Function)
1111
- ], ProcessesComponent.prototype, "loadProcess", void 0);
1112
- __decorate([
1113
- core.Input(),
1114
- __metadata("design:type", Function)
1115
- ], ProcessesComponent.prototype, "run", void 0);
1116
- __decorate([
1117
- core.Input(),
1118
- __metadata("design:type", Function)
1119
- ], ProcessesComponent.prototype, "kill", void 0);
1120
- __decorate([
1121
- core.Input(),
1122
- __metadata("design:type", Function)
1123
- ], ProcessesComponent.prototype, "delete", void 0);
1124
- __decorate([
1125
- core.Input(),
1126
- __metadata("design:type", Function)
1127
- ], ProcessesComponent.prototype, "download", void 0);
1128
- __decorate([
1129
- core.Input(),
1130
- __metadata("design:type", Array)
1131
- ], ProcessesComponent.prototype, "actions", void 0);
1132
- ProcessesComponent = __decorate([
1133
- core.Component({
1134
- selector: 'fs-system-processes',
1135
- template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a (click)=\"open(row)\">{{row.prettyName}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{ProcessStates[row.state]}}\r\n <small>\r\n <div *ngIf=\"row.state===ProcessState.Running && row.percent\">Complete: {{ row.percent }}%</div>\r\n <div *ngIf=\"row.state===ProcessState.Completed && row.filename\">Download: <a href=\"javascript:;\" (click)=\"download(row)\">{{ row.filename }}</a></div>\r\n <div *ngIf=\"row.pid\">PID: {{ row.pid }}</div>\r\n <div *ngIf=\"row.state===ProcessState.Running && row.notify\">Notify: {{ row.notify }}</div>\r\n </small>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Duration</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{ row.duration | fsDateDuration: {hours: true, minutes: true, seconds: true} }}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.message}}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Completed</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.endDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n",
1136
- styles: [""]
1137
- }),
1138
- __metadata("design:paramtypes", [dialog.MatDialog,
1139
- message.FsMessage])
1140
- ], ProcessesComponent);
1141
1192
  return ProcessesComponent;
1142
- }());
1193
+ }());
1194
+ ProcessesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ProcessesComponent, deps: [{ token: i1__namespace$1.MatDialog }, { token: i1__namespace.FsMessage }], target: i0__namespace.ɵɵFactoryTarget.Component });
1195
+ ProcessesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ProcessesComponent, selector: "fs-system-processes", inputs: { loadProcesses: "loadProcesses", loadProcess: "loadProcess", run: "run", kill: "kill", delete: "delete", download: "download", actions: "actions" }, viewQueries: [{ propertyName: "list", first: true, predicate: i3$1.FsListComponent, descendants: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a (click)=\"open(row)\">{{row.prettyName}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{ProcessStates[row.state]}}\r\n <small>\r\n <div *ngIf=\"row.state===ProcessState.Running && row.percent\">Complete: {{ row.percent }}%</div>\r\n <div *ngIf=\"row.state===ProcessState.Completed && row.filename\">Download: <a href=\"javascript:;\" (click)=\"download(row)\">{{ row.filename }}</a></div>\r\n <div *ngIf=\"row.pid\">PID: {{ row.pid }}</div>\r\n <div *ngIf=\"row.state===ProcessState.Running && row.notify\">Notify: {{ row.notify }}</div>\r\n </small>\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Duration</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{ row.duration | fsDateDuration: {hours: true, minutes: true, seconds: true} }}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.message}}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Completed</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.endDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n", styles: [""], components: [{ type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], directives: [{ type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "fsDateDuration": i4__namespace$2.FsDateDurationPipe } });
1196
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ProcessesComponent, decorators: [{
1197
+ type: i0.Component,
1198
+ args: [{
1199
+ selector: 'fs-system-processes',
1200
+ templateUrl: './processes.component.html',
1201
+ styleUrls: ['./processes.component.scss']
1202
+ }]
1203
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.MatDialog }, { type: i1__namespace.FsMessage }]; }, propDecorators: { list: [{
1204
+ type: i0.ViewChild,
1205
+ args: [i3$1.FsListComponent]
1206
+ }], loadProcesses: [{
1207
+ type: i0.Input
1208
+ }], loadProcess: [{
1209
+ type: i0.Input
1210
+ }], run: [{
1211
+ type: i0.Input
1212
+ }], kill: [{
1213
+ type: i0.Input
1214
+ }], delete: [{
1215
+ type: i0.Input
1216
+ }], download: [{
1217
+ type: i0.Input
1218
+ }], actions: [{
1219
+ type: i0.Input
1220
+ }] } });
1143
1221
 
1144
1222
  var ServerLogComponent = /** @class */ (function () {
1145
1223
  function ServerLogComponent(data) {
@@ -1158,19 +1236,22 @@
1158
1236
  catch (e) { }
1159
1237
  }
1160
1238
  };
1161
- ServerLogComponent.ctorParameters = function () { return [
1162
- { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
1163
- ]; };
1164
- ServerLogComponent = __decorate([
1165
- core.Component({
1166
- template: "<fs-dialog *fsSkeleton=\"log\">\r\n <div mat-dialog-title>Log</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Error Type\r\n </fs-label>\r\n {{log.type}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{log.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n URL\r\n </fs-label>\r\n {{log.url}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n {{log.createDate|fsDateFormat: 'full-date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n File\r\n </fs-label>\r\n {{log.file}} @ {{log.line}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Backtrace\r\n </fs-label>\r\n <pre>{{log.backtrace|json}}</pre>\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n $_SERVER\r\n </fs-label>\r\n <pre>{{log.server|json}}</pre>\r\n </fs-label-field>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n",
1167
- styles: [""]
1168
- }),
1169
- __param(0, core.Inject(dialog.MAT_DIALOG_DATA)),
1170
- __metadata("design:paramtypes", [Object])
1171
- ], ServerLogComponent);
1172
1239
  return ServerLogComponent;
1173
- }());
1240
+ }());
1241
+ ServerLogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServerLogComponent, deps: [{ token: i1$1.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
1242
+ ServerLogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ServerLogComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog *fsSkeleton=\"log\">\r\n <div mat-dialog-title>Log</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Error Type\r\n </fs-label>\r\n {{log.type}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{log.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n URL\r\n </fs-label>\r\n {{log.url}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n {{log.createDate|fsDateFormat: 'full-date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n File\r\n </fs-label>\r\n {{log.file}} @ {{log.line}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Backtrace\r\n </fs-label>\r\n <pre>{{log.backtrace|json}}</pre>\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n $_SERVER\r\n </fs-label>\r\n <pre>{{log.server|json}}</pre>\r\n </fs-label-field>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n", styles: [""], components: [{ type: i2__namespace$2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i1__namespace$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i6__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i1__namespace$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "fsDateFormat": i4__namespace$2.FsDateFormatPipe, "json": i9__namespace.JsonPipe } });
1243
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServerLogComponent, decorators: [{
1244
+ type: i0.Component,
1245
+ args: [{
1246
+ templateUrl: './server-log.component.html',
1247
+ styleUrls: ['./server-log.component.scss']
1248
+ }]
1249
+ }], ctorParameters: function () {
1250
+ return [{ type: undefined, decorators: [{
1251
+ type: i0.Inject,
1252
+ args: [i1$1.MAT_DIALOG_DATA]
1253
+ }] }];
1254
+ } });
1174
1255
 
1175
1256
  var ServerLogsComponent = /** @class */ (function () {
1176
1257
  function ServerLogsComponent(_dialog) {
@@ -1203,27 +1284,23 @@
1203
1284
  width: '85%'
1204
1285
  });
1205
1286
  };
1206
- ServerLogsComponent.ctorParameters = function () { return [
1207
- { type: dialog.MatDialog }
1208
- ]; };
1209
- __decorate([
1210
- core.ViewChild('list', { static: true }),
1211
- __metadata("design:type", list.FsListComponent)
1212
- ], ServerLogsComponent.prototype, "list", void 0);
1213
- __decorate([
1214
- core.Input(),
1215
- __metadata("design:type", Function)
1216
- ], ServerLogsComponent.prototype, "loadLogs", void 0);
1217
- ServerLogsComponent = __decorate([
1218
- core.Component({
1219
- selector: 'fs-system-server-logs',
1220
- template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a href=\"javascript:;\" (click)=\"open(row)\">{{row.message}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Type</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.type}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list>\r\n",
1221
- styles: [""]
1222
- }),
1223
- __metadata("design:paramtypes", [dialog.MatDialog])
1224
- ], ServerLogsComponent);
1225
1287
  return ServerLogsComponent;
1226
- }());
1288
+ }());
1289
+ ServerLogsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServerLogsComponent, deps: [{ token: i1__namespace$1.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
1290
+ ServerLogsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ServerLogsComponent, selector: "fs-system-server-logs", inputs: { loadLogs: "loadLogs" }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a href=\"javascript:;\" (click)=\"open(row)\">{{row.message}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Type</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.type}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list>\r\n", styles: [""], components: [{ type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], directives: [{ type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }] });
1291
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServerLogsComponent, decorators: [{
1292
+ type: i0.Component,
1293
+ args: [{
1294
+ selector: 'fs-system-server-logs',
1295
+ templateUrl: './server-logs.component.html',
1296
+ styleUrls: ['./server-logs.component.scss']
1297
+ }]
1298
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.MatDialog }]; }, propDecorators: { list: [{
1299
+ type: i0.ViewChild,
1300
+ args: ['list', { static: true }]
1301
+ }], loadLogs: [{
1302
+ type: i0.Input
1303
+ }] } });
1227
1304
 
1228
1305
  var UpgradeLogsComponent = /** @class */ (function () {
1229
1306
  function UpgradeLogsComponent() {
@@ -1250,23 +1327,23 @@
1250
1327
  }
1251
1328
  };
1252
1329
  };
1253
- __decorate([
1254
- core.ViewChild(list.FsListComponent, { static: true }),
1255
- __metadata("design:type", list.FsListComponent)
1256
- ], UpgradeLogsComponent.prototype, "list", void 0);
1257
- __decorate([
1258
- core.Input(),
1259
- __metadata("design:type", Function)
1260
- ], UpgradeLogsComponent.prototype, "loadUpgradeLogs", void 0);
1261
- UpgradeLogsComponent = __decorate([
1262
- core.Component({
1263
- selector: 'fs-system-upgrade-logs',
1264
- template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.name}}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Function</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.function}}()\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n",
1265
- styles: [""]
1266
- })
1267
- ], UpgradeLogsComponent);
1268
1330
  return UpgradeLogsComponent;
1269
- }());
1331
+ }());
1332
+ UpgradeLogsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UpgradeLogsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1333
+ UpgradeLogsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: UpgradeLogsComponent, selector: "fs-system-upgrade-logs", inputs: { loadUpgradeLogs: "loadUpgradeLogs" }, viewQueries: [{ propertyName: "list", first: true, predicate: i3$1.FsListComponent, descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.name}}\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Function</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.function}}()\r\n </ng-template>\r\n </fs-list-column>\r\n\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n </ng-template>\r\n </fs-list-column>\r\n</fs-list>\r\n", styles: [""], components: [{ type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], directives: [{ type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }] });
1334
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UpgradeLogsComponent, decorators: [{
1335
+ type: i0.Component,
1336
+ args: [{
1337
+ selector: 'fs-system-upgrade-logs',
1338
+ templateUrl: './upgrade-logs.component.html',
1339
+ styleUrls: ['./upgrade-logs.component.scss']
1340
+ }]
1341
+ }], propDecorators: { list: [{
1342
+ type: i0.ViewChild,
1343
+ args: [i3$1.FsListComponent, { static: true }]
1344
+ }], loadUpgradeLogs: [{
1345
+ type: i0.Input
1346
+ }] } });
1270
1347
 
1271
1348
  var ApiLogComponent = /** @class */ (function () {
1272
1349
  function ApiLogComponent(_dialogRef, data) {
@@ -1279,20 +1356,22 @@
1279
1356
  this.apiLog = this.data.apiLog;
1280
1357
  }
1281
1358
  };
1282
- ApiLogComponent.ctorParameters = function () { return [
1283
- { type: dialog.MatDialogRef },
1284
- { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
1285
- ]; };
1286
- ApiLogComponent = __decorate([
1287
- core.Component({
1288
- template: "<fs-dialog *fsSkeleton=\"apiLog\">\r\n <div mat-dialog-title>API Log</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Type\r\n </fs-label>\r\n {{apiLog.type}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{apiLogStates[apiLog.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n {{apiLog.createDate|fsDateFormat: 'full-date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.length\">\r\n <fs-label>\r\n Duration\r\n </fs-label>\r\n {{ apiLog.length | fsDateDuration }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.code\">\r\n <fs-label>\r\n Code\r\n </fs-label>\r\n {{apiLog.code}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{apiLog.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.url\">\r\n <fs-label>\r\n URL\r\n </fs-label>\r\n {{apiLog.url}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.request\">\r\n <fs-label>\r\n Request\r\n </fs-label>\r\n <pre>{{apiLog.request|json}}</pre>\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.response\">\r\n <fs-label>\r\n Response\r\n </fs-label>\r\n <pre>{{apiLog.response|json}}</pre>\r\n </fs-label-field>\r\n\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n",
1289
- styles: [""]
1290
- }),
1291
- __param(1, core.Inject(dialog.MAT_DIALOG_DATA)),
1292
- __metadata("design:paramtypes", [dialog.MatDialogRef, Object])
1293
- ], ApiLogComponent);
1294
1359
  return ApiLogComponent;
1295
- }());
1360
+ }());
1361
+ ApiLogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ApiLogComponent, deps: [{ token: i1__namespace$1.MatDialogRef }, { token: i1$1.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
1362
+ ApiLogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ApiLogComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog *fsSkeleton=\"apiLog\">\r\n <div mat-dialog-title>API Log</div>\r\n <mat-dialog-content>\r\n <div fxLayout=\"column\">\r\n <fs-label-field>\r\n <fs-label>\r\n Type\r\n </fs-label>\r\n {{apiLog.type}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Status\r\n </fs-label>\r\n {{apiLogStates[apiLog.state]}}\r\n </fs-label-field>\r\n\r\n <fs-label-field>\r\n <fs-label>\r\n Date\r\n </fs-label>\r\n {{apiLog.createDate|fsDateFormat: 'full-date-time'}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.length\">\r\n <fs-label>\r\n Duration\r\n </fs-label>\r\n {{ apiLog.length | fsDateDuration }}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.code\">\r\n <fs-label>\r\n Code\r\n </fs-label>\r\n {{apiLog.code}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.message\">\r\n <fs-label>\r\n Message\r\n </fs-label>\r\n {{apiLog.message}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.url\">\r\n <fs-label>\r\n URL\r\n </fs-label>\r\n {{apiLog.url}}\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.request\">\r\n <fs-label>\r\n Request\r\n </fs-label>\r\n <pre>{{apiLog.request|json}}</pre>\r\n </fs-label-field>\r\n\r\n <fs-label-field *ngIf=\"apiLog.response\">\r\n <fs-label>\r\n Response\r\n </fs-label>\r\n <pre>{{apiLog.response|json}}</pre>\r\n </fs-label-field>\r\n\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\r\n </mat-dialog-actions>\r\n</fs-dialog>\r\n", styles: [""], components: [{ type: i2__namespace$2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i2__namespace$1.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["bottomMargin", "topMargin", "labelMargin"] }, { type: i2__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i4__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { type: i1__namespace$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i6__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "fsDateFormat": i4__namespace$2.FsDateFormatPipe, "fsDateDuration": i4__namespace$2.FsDateDurationPipe, "json": i9__namespace.JsonPipe } });
1363
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ApiLogComponent, decorators: [{
1364
+ type: i0.Component,
1365
+ args: [{
1366
+ templateUrl: './api-log.component.html',
1367
+ styleUrls: ['./api-log.component.scss']
1368
+ }]
1369
+ }], ctorParameters: function () {
1370
+ return [{ type: i1__namespace$1.MatDialogRef }, { type: undefined, decorators: [{
1371
+ type: i0.Inject,
1372
+ args: [i1$1.MAT_DIALOG_DATA]
1373
+ }] }];
1374
+ } });
1296
1375
 
1297
1376
  var ApiLogsComponent = /** @class */ (function () {
1298
1377
  function ApiLogsComponent(_dialog) {
@@ -1337,27 +1416,23 @@
1337
1416
  width: '85%'
1338
1417
  });
1339
1418
  };
1340
- ApiLogsComponent.ctorParameters = function () { return [
1341
- { type: dialog.MatDialog }
1342
- ]; };
1343
- __decorate([
1344
- core.ViewChild(list.FsListComponent, { static: true }),
1345
- __metadata("design:type", list.FsListComponent)
1346
- ], ApiLogsComponent.prototype, "list", void 0);
1347
- __decorate([
1348
- core.Input(),
1349
- __metadata("design:type", Function)
1350
- ], ApiLogsComponent.prototype, "loadApiLogs", void 0);
1351
- ApiLogsComponent = __decorate([
1352
- core.Component({
1353
- selector: 'fs-system-api-logs',
1354
- template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a href=\"javascript:;\" (click)=\"open(row)\">{{row.type || 'Unknown'}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.message}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{apiLogStates[row.state]}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"row.length\">Duration: {{ row.length | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list>\r\n",
1355
- styles: [""]
1356
- }),
1357
- __metadata("design:paramtypes", [dialog.MatDialog])
1358
- ], ApiLogsComponent);
1359
1419
  return ApiLogsComponent;
1360
- }());
1420
+ }());
1421
+ ApiLogsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ApiLogsComponent, deps: [{ token: i1__namespace$1.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
1422
+ ApiLogsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ApiLogsComponent, selector: "fs-system-api-logs", inputs: { loadApiLogs: "loadApiLogs" }, viewQueries: [{ propertyName: "list", first: true, predicate: i3$1.FsListComponent, descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\r\n <fs-list-column>\r\n <ng-template fs-list-header>Name</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <a href=\"javascript:;\" (click)=\"open(row)\">{{row.type || 'Unknown'}}</a>\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Message</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{row.message}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Status</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n {{apiLogStates[row.state]}}\r\n </ng-template>\r\n </fs-list-column>\r\n <fs-list-column>\r\n <ng-template fs-list-header>Date</ng-template>\r\n <ng-template fs-list-cell let-row=\"row\">\r\n <fs-date-ago [date]=\"row.createDate\"></fs-date-ago>\r\n <div><small *ngIf=\"row.length\">Duration: {{ row.length | fsDateDuration }}</small></div>\r\n </ng-template>\r\n </fs-list-column>\r\n </fs-list>\r\n", styles: [""], components: [{ type: i3__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i4__namespace$2.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], directives: [{ type: i3__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["title", "name", "show", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i3__namespace$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i3__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "fsDateDuration": i4__namespace$2.FsDateDurationPipe } });
1423
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ApiLogsComponent, decorators: [{
1424
+ type: i0.Component,
1425
+ args: [{
1426
+ selector: 'fs-system-api-logs',
1427
+ templateUrl: './api-logs.component.html',
1428
+ styleUrls: ['./api-logs.component.scss']
1429
+ }]
1430
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.MatDialog }]; }, propDecorators: { list: [{
1431
+ type: i0.ViewChild,
1432
+ args: [i3$1.FsListComponent, { static: true }]
1433
+ }], loadApiLogs: [{
1434
+ type: i0.Input
1435
+ }] } });
1361
1436
 
1362
1437
  var InfoComponent = /** @class */ (function () {
1363
1438
  function InfoComponent() {
@@ -1378,119 +1453,191 @@
1378
1453
  _this.iframe.nativeElement.style.height = scrollHeight + "px";
1379
1454
  });
1380
1455
  };
1381
- __decorate([
1382
- core.ViewChild('iframe'),
1383
- __metadata("design:type", core.ElementRef)
1384
- ], InfoComponent.prototype, "iframe", void 0);
1385
- __decorate([
1386
- core.Input(),
1387
- __metadata("design:type", Function)
1388
- ], InfoComponent.prototype, "load", void 0);
1389
- InfoComponent = __decorate([
1390
- core.Component({
1391
- selector: 'fs-system-info',
1392
- template: "<iframe #iframe></iframe>\r\n",
1393
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1394
- styles: ["iframe{width:100%;border:0}"]
1395
- })
1396
- ], InfoComponent);
1397
1456
  return InfoComponent;
1398
- }());
1457
+ }());
1458
+ InfoComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InfoComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1459
+ InfoComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: InfoComponent, selector: "fs-system-info", inputs: { load: "load" }, viewQueries: [{ propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0__namespace, template: "<iframe #iframe></iframe>\r\n", styles: ["iframe{width:100%;border:0}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1460
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InfoComponent, decorators: [{
1461
+ type: i0.Component,
1462
+ args: [{
1463
+ selector: 'fs-system-info',
1464
+ templateUrl: 'info.component.html',
1465
+ styleUrls: ['info.component.scss'],
1466
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1467
+ }]
1468
+ }], propDecorators: { iframe: [{
1469
+ type: i0.ViewChild,
1470
+ args: ['iframe']
1471
+ }], load: [{
1472
+ type: i0.Input
1473
+ }] } });
1399
1474
 
1400
1475
  var FsSystemModule = /** @class */ (function () {
1401
1476
  function FsSystemModule() {
1402
1477
  }
1403
- FsSystemModule_1 = FsSystemModule;
1404
1478
  FsSystemModule.forRoot = function (config) {
1405
1479
  return {
1406
- ngModule: FsSystemModule_1,
1480
+ ngModule: FsSystemModule,
1407
1481
  providers: [
1408
1482
  { provide: FS_SYSTEM_CONFIG, useValue: config || {} },
1409
1483
  ]
1410
1484
  };
1411
1485
  };
1412
- var FsSystemModule_1;
1413
- FsSystemModule = FsSystemModule_1 = __decorate([
1414
- core.NgModule({
1415
- imports: [
1416
- common.CommonModule,
1417
- flexLayout.FlexLayoutModule,
1418
- forms.FormsModule,
1419
- button.MatButtonModule,
1420
- expansion.MatExpansionModule,
1421
- tooltip.MatTooltipModule,
1422
- icon.MatIconModule,
1423
- formField.MatFormFieldModule,
1424
- input.MatInputModule,
1425
- select.MatSelectModule,
1426
- dialog.MatDialogModule,
1427
- tabs.MatTabsModule,
1428
- date.FsDateModule,
1429
- skeleton.FsSkeletonModule,
1430
- list.FsListModule,
1431
- file.FsFileModule,
1432
- fileManager.FsFileManagerModule,
1433
- label.FsLabelModule,
1434
- dialog$1.FsDialogModule,
1435
- datepicker.FsDatePickerModule,
1436
- menu.FsMenuModule,
1437
- ngxClipboard.ClipboardModule,
1438
- ],
1439
- exports: [
1440
- DashboardComponent,
1441
- CronsComponent,
1442
- SettingsComponent,
1443
- FileManagerComponent,
1444
- ProcessesComponent,
1445
- ServerLogsComponent,
1446
- UpgradeLogsComponent,
1447
- ApiLogsComponent,
1448
- InfoComponent,
1449
- ],
1450
- declarations: [
1451
- DashboardComponent,
1452
- CronsComponent,
1453
- SettingsComponent,
1454
- KeyNameValuePipe,
1455
- FileManagerComponent,
1456
- ProcessesComponent,
1457
- ServerLogComponent,
1458
- ServerLogsComponent,
1459
- UpgradeLogsComponent,
1460
- ApiLogsComponent,
1461
- ApiLogComponent,
1462
- InfoComponent,
1463
- ProcessComponent,
1464
- CronComponent,
1465
- CronLogComponent,
1466
- ],
1467
- })
1468
- ], FsSystemModule);
1469
1486
  return FsSystemModule;
1470
- }());
1487
+ }());
1488
+ FsSystemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSystemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1489
+ FsSystemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSystemModule, declarations: [DashboardComponent,
1490
+ CronsComponent,
1491
+ SettingsComponent,
1492
+ KeyNameValuePipe,
1493
+ FileManagerComponent,
1494
+ ProcessesComponent,
1495
+ ServerLogComponent,
1496
+ ServerLogsComponent,
1497
+ UpgradeLogsComponent,
1498
+ ApiLogsComponent,
1499
+ ApiLogComponent,
1500
+ InfoComponent,
1501
+ ProcessComponent,
1502
+ CronComponent,
1503
+ CronLogComponent], imports: [i9.CommonModule,
1504
+ flexLayout.FlexLayoutModule,
1505
+ i15.FormsModule,
1506
+ i4.MatButtonModule,
1507
+ i4$3.MatExpansionModule,
1508
+ i11.MatTooltipModule,
1509
+ i6.MatIconModule,
1510
+ i7.MatFormFieldModule,
1511
+ i14.MatInputModule,
1512
+ i8.MatSelectModule,
1513
+ i1$1.MatDialogModule,
1514
+ i3.MatTabsModule,
1515
+ i4$2.FsDateModule,
1516
+ i5.FsSkeletonModule,
1517
+ i3$1.FsListModule,
1518
+ i11$1.FsFileModule,
1519
+ i1$2.FsFileManagerModule,
1520
+ i2$1.FsLabelModule,
1521
+ i2$2.FsDialogModule,
1522
+ i10$1.FsDatePickerModule,
1523
+ i4$1.FsMenuModule,
1524
+ i2$3.ClipboardModule], exports: [DashboardComponent,
1525
+ CronsComponent,
1526
+ SettingsComponent,
1527
+ FileManagerComponent,
1528
+ ProcessesComponent,
1529
+ ServerLogsComponent,
1530
+ UpgradeLogsComponent,
1531
+ ApiLogsComponent,
1532
+ InfoComponent] });
1533
+ FsSystemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSystemModule, imports: [[
1534
+ i9.CommonModule,
1535
+ flexLayout.FlexLayoutModule,
1536
+ i15.FormsModule,
1537
+ i4.MatButtonModule,
1538
+ i4$3.MatExpansionModule,
1539
+ i11.MatTooltipModule,
1540
+ i6.MatIconModule,
1541
+ i7.MatFormFieldModule,
1542
+ i14.MatInputModule,
1543
+ i8.MatSelectModule,
1544
+ i1$1.MatDialogModule,
1545
+ i3.MatTabsModule,
1546
+ i4$2.FsDateModule,
1547
+ i5.FsSkeletonModule,
1548
+ i3$1.FsListModule,
1549
+ i11$1.FsFileModule,
1550
+ i1$2.FsFileManagerModule,
1551
+ i2$1.FsLabelModule,
1552
+ i2$2.FsDialogModule,
1553
+ i10$1.FsDatePickerModule,
1554
+ i4$1.FsMenuModule,
1555
+ i2$3.ClipboardModule,
1556
+ ]] });
1557
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSystemModule, decorators: [{
1558
+ type: i0.NgModule,
1559
+ args: [{
1560
+ imports: [
1561
+ i9.CommonModule,
1562
+ flexLayout.FlexLayoutModule,
1563
+ i15.FormsModule,
1564
+ i4.MatButtonModule,
1565
+ i4$3.MatExpansionModule,
1566
+ i11.MatTooltipModule,
1567
+ i6.MatIconModule,
1568
+ i7.MatFormFieldModule,
1569
+ i14.MatInputModule,
1570
+ i8.MatSelectModule,
1571
+ i1$1.MatDialogModule,
1572
+ i3.MatTabsModule,
1573
+ i4$2.FsDateModule,
1574
+ i5.FsSkeletonModule,
1575
+ i3$1.FsListModule,
1576
+ i11$1.FsFileModule,
1577
+ i1$2.FsFileManagerModule,
1578
+ i2$1.FsLabelModule,
1579
+ i2$2.FsDialogModule,
1580
+ i10$1.FsDatePickerModule,
1581
+ i4$1.FsMenuModule,
1582
+ i2$3.ClipboardModule,
1583
+ ],
1584
+ exports: [
1585
+ DashboardComponent,
1586
+ CronsComponent,
1587
+ SettingsComponent,
1588
+ FileManagerComponent,
1589
+ ProcessesComponent,
1590
+ ServerLogsComponent,
1591
+ UpgradeLogsComponent,
1592
+ ApiLogsComponent,
1593
+ InfoComponent,
1594
+ ],
1595
+ declarations: [
1596
+ DashboardComponent,
1597
+ CronsComponent,
1598
+ SettingsComponent,
1599
+ KeyNameValuePipe,
1600
+ FileManagerComponent,
1601
+ ProcessesComponent,
1602
+ ServerLogComponent,
1603
+ ServerLogsComponent,
1604
+ UpgradeLogsComponent,
1605
+ ApiLogsComponent,
1606
+ ApiLogComponent,
1607
+ InfoComponent,
1608
+ ProcessComponent,
1609
+ CronComponent,
1610
+ CronLogComponent,
1611
+ ],
1612
+ }]
1613
+ }] });
1614
+
1615
+ /**
1616
+ * Generated bundle index. Do not edit.
1617
+ */
1471
1618
 
1619
+ exports.ApiLogComponent = ApiLogComponent;
1472
1620
  exports.ApiLogStates = ApiLogStates;
1621
+ exports.ApiLogsComponent = ApiLogsComponent;
1622
+ exports.CronComponent = CronComponent;
1623
+ exports.CronLogComponent = CronLogComponent;
1473
1624
  exports.CronStates = CronStates;
1625
+ exports.CronsComponent = CronsComponent;
1626
+ exports.DashboardComponent = DashboardComponent;
1474
1627
  exports.FS_SYSTEM_CONFIG = FS_SYSTEM_CONFIG;
1628
+ exports.FileManagerComponent = FileManagerComponent;
1475
1629
  exports.FsSystemModule = FsSystemModule;
1630
+ exports.InfoComponent = InfoComponent;
1631
+ exports.KeyNameValuePipe = KeyNameValuePipe;
1632
+ exports.ProcessComponent = ProcessComponent;
1476
1633
  exports.ProcessStates = ProcessStates;
1477
- exports.ɵa = DashboardComponent;
1478
- exports.ɵb = CronsComponent;
1479
- exports.ɵc = SettingsComponent;
1480
- exports.ɵd = FileManagerComponent;
1481
- exports.ɵe = ProcessesComponent;
1482
- exports.ɵf = ServerLogsComponent;
1483
- exports.ɵg = UpgradeLogsComponent;
1484
- exports.ɵh = ApiLogsComponent;
1485
- exports.ɵi = InfoComponent;
1486
- exports.ɵj = KeyNameValuePipe;
1487
- exports.ɵk = ServerLogComponent;
1488
- exports.ɵl = ApiLogComponent;
1489
- exports.ɵm = ProcessComponent;
1490
- exports.ɵn = CronComponent;
1491
- exports.ɵo = CronLogComponent;
1634
+ exports.ProcessesComponent = ProcessesComponent;
1635
+ exports.ServerLogComponent = ServerLogComponent;
1636
+ exports.ServerLogsComponent = ServerLogsComponent;
1637
+ exports.SettingsComponent = SettingsComponent;
1638
+ exports.UpgradeLogsComponent = UpgradeLogsComponent;
1492
1639
 
1493
1640
  Object.defineProperty(exports, '__esModule', { value: true });
1494
1641
 
1495
- })));
1642
+ }));
1496
1643
  //# sourceMappingURL=firestitch-system.umd.js.map