fas-admin 0.0.59 → 0.0.61
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/esm2022/lib/components/views/users/users.component.mjs +2 -9
- package/fesm2022/fas-admin.mjs +0 -23
- package/fesm2022/fas-admin.mjs.map +1 -1
- package/lib/components/views/users/users.component.d.ts +0 -2
- package/package.json +1 -1
- package/esm2022/lib/shared/services/users.service.mjs +0 -20
- package/lib/shared/services/users.service.d.ts +0 -8
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Component, inject } from '@angular/core';
|
|
1
|
+
import { Component } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "./users-list/users-list.component";
|
|
5
4
|
export class UsersComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.usersService = inject(UsersService);
|
|
8
|
-
}
|
|
9
|
-
ngOnInit() {
|
|
10
|
-
this.usersService.getUsersList$().subscribe();
|
|
11
|
-
}
|
|
12
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: UsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
6
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: UsersComponent, selector: "lib-users", ngImport: i0, template: "<div class=\"font-semibold text-3xl mb-3\">U\u017Cytkownicy</div>\n<lib-users-list></lib-users-list>\n", styles: [""], dependencies: [{ kind: "component", type: i1.UsersListComponent, selector: "lib-users-list" }] }); }
|
|
14
7
|
}
|
|
@@ -16,4 +9,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
16
9
|
type: Component,
|
|
17
10
|
args: [{ selector: 'lib-users', template: "<div class=\"font-semibold text-3xl mb-3\">U\u017Cytkownicy</div>\n<lib-users-list></lib-users-list>\n" }]
|
|
18
11
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZmFzLWFkbWluL3NyYy9saWIvY29tcG9uZW50cy92aWV3cy91c2Vycy91c2Vycy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mYXMtYWRtaW4vc3JjL2xpYi9jb21wb25lbnRzL3ZpZXdzL3VzZXJzL3VzZXJzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU8xQyxNQUFNLE9BQU8sY0FBYzs4R0FBZCxjQUFjO2tHQUFkLGNBQWMsaURDUDNCLHdHQUVBOzsyRkRLYSxjQUFjO2tCQUwxQixTQUFTOytCQUNFLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbGliLXVzZXJzJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3VzZXJzLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmw6ICcuL3VzZXJzLmNvbXBvbmVudC5zY3NzJ1xufSlcbmV4cG9ydCBjbGFzcyBVc2Vyc0NvbXBvbmVudCB7fVxuIiwiPGRpdiBjbGFzcz1cImZvbnQtc2VtaWJvbGQgdGV4dC0zeGwgbWItM1wiPlXFvHl0a293bmljeTwvZGl2PlxuPGxpYi11c2Vycy1saXN0PjwvbGliLXVzZXJzLWxpc3Q+XG4iXX0=
|
package/fesm2022/fas-admin.mjs
CHANGED
|
@@ -1725,23 +1725,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
1725
1725
|
args: [API_URL]
|
|
1726
1726
|
}] }] });
|
|
1727
1727
|
|
|
1728
|
-
class UsersService {
|
|
1729
|
-
constructor() {
|
|
1730
|
-
this.platformUsersService = inject(PlatformUsersService);
|
|
1731
|
-
}
|
|
1732
|
-
getUsersList$() {
|
|
1733
|
-
return this.platformUsersService.get();
|
|
1734
|
-
}
|
|
1735
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: UsersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1736
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: UsersService, providedIn: 'root' }); }
|
|
1737
|
-
}
|
|
1738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: UsersService, decorators: [{
|
|
1739
|
-
type: Injectable,
|
|
1740
|
-
args: [{
|
|
1741
|
-
providedIn: 'root'
|
|
1742
|
-
}]
|
|
1743
|
-
}] });
|
|
1744
|
-
|
|
1745
1728
|
var SortOrder;
|
|
1746
1729
|
(function (SortOrder) {
|
|
1747
1730
|
SortOrder["Descending"] = "Descending";
|
|
@@ -2174,12 +2157,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
2174
2157
|
}] });
|
|
2175
2158
|
|
|
2176
2159
|
class UsersComponent {
|
|
2177
|
-
constructor() {
|
|
2178
|
-
this.usersService = inject(UsersService);
|
|
2179
|
-
}
|
|
2180
|
-
ngOnInit() {
|
|
2181
|
-
this.usersService.getUsersList$().subscribe();
|
|
2182
|
-
}
|
|
2183
2160
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: UsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2184
2161
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: UsersComponent, selector: "lib-users", ngImport: i0, template: "<div class=\"font-semibold text-3xl mb-3\">U\u017Cytkownicy</div>\n<lib-users-list></lib-users-list>\n", styles: [""], dependencies: [{ kind: "component", type: UsersListComponent, selector: "lib-users-list" }] }); }
|
|
2185
2162
|
}
|