@firestitch/system 18.0.21 → 18.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/consts/index.d.ts +1 -0
- package/app/consts/log-types.const.d.ts +4 -0
- package/app/modules/system/components/server-logs/components/index.d.ts +1 -0
- package/app/modules/system/components/{server-log → server-logs/components/server-log}/server-log.component.d.ts +1 -1
- package/app/modules/system/components/server-logs/server-logs.component.d.ts +4 -1
- package/app/modules/system/fs-system.module.d.ts +31 -31
- package/esm2022/app/consts/index.mjs +2 -0
- package/esm2022/app/consts/log-types.const.mjs +19 -0
- package/esm2022/app/modules/system/components/server-logs/components/index.mjs +2 -0
- package/esm2022/app/modules/system/components/server-logs/components/server-log/index.mjs +2 -0
- package/esm2022/app/modules/system/components/server-logs/components/server-log/server-log.component.mjs +66 -0
- package/esm2022/app/modules/system/components/server-logs/server-logs.component.mjs +32 -31
- package/esm2022/app/modules/system/fs-system.module.mjs +5 -6
- package/esm2022/public_api.mjs +1 -2
- package/fesm2022/firestitch-system.mjs +67 -37
- package/fesm2022/firestitch-system.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -1
- package/esm2022/app/modules/system/components/server-log/index.mjs +0 -2
- package/esm2022/app/modules/system/components/server-log/server-log.component.mjs +0 -44
- /package/app/modules/system/components/{server-log → server-logs/components/server-log}/index.d.ts +0 -0
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export { DashboardComponent } from './app/modules/system/components/dashboard';
|
|
|
10
10
|
export { InfoComponent } from './app/modules/system/components/info';
|
|
11
11
|
export { ProcessComponent } from './app/modules/system/components/process';
|
|
12
12
|
export { ProcessesComponent } from './app/modules/system/components/processes';
|
|
13
|
-
export { ServerLogComponent } from './app/modules/system/components/server-log';
|
|
14
13
|
export { ServerLogsComponent } from './app/modules/system/components/server-logs';
|
|
15
14
|
export { SettingsComponent } from './app/modules/system/components/settings';
|
|
16
15
|
export { UpgradeLogsComponent } from './app/modules/system/components/upgrade-logs';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './server-log.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvc3lzdGVtL2NvbXBvbmVudHMvc2VydmVyLWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZXJ2ZXItbG9nLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
2
|
-
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/material/button";
|
|
6
|
-
import * as i3 from "@angular/material/dialog";
|
|
7
|
-
import * as i4 from "@firestitch/skeleton";
|
|
8
|
-
import * as i5 from "@firestitch/label";
|
|
9
|
-
import * as i6 from "@firestitch/dialog";
|
|
10
|
-
import * as i7 from "@firestitch/date";
|
|
11
|
-
export class ServerLogComponent {
|
|
12
|
-
data;
|
|
13
|
-
log;
|
|
14
|
-
constructor(data) {
|
|
15
|
-
this.data = data;
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
if (this.data.log) {
|
|
19
|
-
this.log = this.data.log;
|
|
20
|
-
try {
|
|
21
|
-
this.log.backtrace = JSON.parse(this.log.backtrace);
|
|
22
|
-
}
|
|
23
|
-
catch (e) {
|
|
24
|
-
//
|
|
25
|
-
}
|
|
26
|
-
try {
|
|
27
|
-
this.log.server = JSON.parse(this.log.server);
|
|
28
|
-
}
|
|
29
|
-
catch (e) {
|
|
30
|
-
//
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ServerLogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: ServerLogComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog *fsSkeleton=\"log\">\n <div mat-dialog-title>Log</div>\n <mat-dialog-content>\n <div class=\"fs-row.gap-lg.wrap.align-start\">\n <fs-label-field>\n <fs-label>\n Error Type\n </fs-label>\n {{log.type}}\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Message\n </fs-label>\n {{log.message}}\n </fs-label-field>\n\n <fs-label-field *ngIf=\"log.url\">\n <fs-label>\n URL\n </fs-label>\n {{log.url}}\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Date\n </fs-label>\n {{log.createDate|fsDateFormat: 'full-date-time'}}\n </fs-label-field>\n \n <fs-label-field>\n <fs-label>\n File\n </fs-label>\n {{log.file}} @ {{log.line}}\n </fs-label-field>\n </div>\n <fs-label-field>\n <fs-label>\n $_SERVER\n </fs-label>\n <pre>{{log.server|json}}</pre>\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Backtrace\n </fs-label>\n <pre>{{log.backtrace|json}}</pre>\n </fs-label-field>\n\n\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i4.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }, { kind: "component", type: i5.FsLabelComponent, selector: "fs-label" }, { kind: "component", type: i5.FsLabelFieldComponent, selector: "fs-label-field", inputs: ["appearance", "showOutline", "disabled", "focused", "hoverable", "padless"] }, { kind: "component", type: i6.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { kind: "pipe", type: i1.JsonPipe, name: "json" }, { kind: "pipe", type: i7.FsDateFormatPipe, name: "fsDateFormat" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ServerLogComponent, decorators: [{
|
|
38
|
-
type: Component,
|
|
39
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-dialog *fsSkeleton=\"log\">\n <div mat-dialog-title>Log</div>\n <mat-dialog-content>\n <div class=\"fs-row.gap-lg.wrap.align-start\">\n <fs-label-field>\n <fs-label>\n Error Type\n </fs-label>\n {{log.type}}\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Message\n </fs-label>\n {{log.message}}\n </fs-label-field>\n\n <fs-label-field *ngIf=\"log.url\">\n <fs-label>\n URL\n </fs-label>\n {{log.url}}\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Date\n </fs-label>\n {{log.createDate|fsDateFormat: 'full-date-time'}}\n </fs-label-field>\n \n <fs-label-field>\n <fs-label>\n File\n </fs-label>\n {{log.file}} @ {{log.line}}\n </fs-label-field>\n </div>\n <fs-label-field>\n <fs-label>\n $_SERVER\n </fs-label>\n <pre>{{log.server|json}}</pre>\n </fs-label-field>\n\n <fs-label-field>\n <fs-label>\n Backtrace\n </fs-label>\n <pre>{{log.backtrace|json}}</pre>\n </fs-label-field>\n\n\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-button [mat-dialog-close]=\"true\" color=\"primary\">Done</button>\n </mat-dialog-actions>\n</fs-dialog>\n" }]
|
|
40
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
41
|
-
type: Inject,
|
|
42
|
-
args: [MAT_DIALOG_DATA]
|
|
43
|
-
}] }] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvc3lzdGVtL2NvbXBvbmVudHMvc2VydmVyLWxvZy9zZXJ2ZXItbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9zeXN0ZW0vY29tcG9uZW50cy9zZXJ2ZXItbG9nL3NlcnZlci1sb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFFbkYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7Ozs7Oz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8L2Rpdj5cbiAgICA8ZnMtbGFiZWwtZmllbGQ+XG4gICAgICA8ZnMtbGFiZWw+XG4gICAgICAgICRfU0VSVkVSXG4gICAgICA8L2ZzLWxhYmVsPlxuICAgICAgPHByZT57e2xvZy5zZXJ2ZXJ8anNvbn19PC9wcmU+XG4gICAgPC9mcy1sYWJlbC1maWVsZD5cblxuICAgIDxmcy1sYWJlbC1maWVsZD5cbiAgICAgIDxmcy1sYWJlbD5cbiAgICAgICAgQmFja3RyYWNlXG4gICAgICA8L2ZzLWxhYmVsPlxuICAgICAgPHByZT57e2xvZy5iYWNrdHJhY2V8anNvbn19PC9wcmU+XG4gICAgPC9mcy1sYWJlbC1maWVsZD5cblxuXG4gIDwvbWF0LWRpYWxvZy1jb250ZW50PlxuICA8bWF0LWRpYWxvZy1hY3Rpb25zPlxuICAgIDxidXR0b24gbWF0LWJ1dHRvbiBbbWF0LWRpYWxvZy1jbG9zZV09XCJ0cnVlXCIgY29sb3I9XCJwcmltYXJ5XCI+RG9uZTwvYnV0dG9uPlxuICA8L21hdC1kaWFsb2ctYWN0aW9ucz5cbjwvZnMtZGlhbG9nPlxuIl19
|
/package/app/modules/system/components/{server-log → server-logs/components/server-log}/index.d.ts
RENAMED
|
File without changes
|