@rolatech/angular-community 0.0.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.
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # angular-community
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test angular-community` to execute the unit tests.
@@ -0,0 +1,15 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class CommunityIndexComponent {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityIndexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityIndexComponent, isStandalone: true, selector: "rolatech-community-index", ngImport: i0, template: "<p>community-index works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityIndexComponent, decorators: [{
10
+ type: Component,
11
+ args: [{ selector: 'rolatech-community-index', imports: [CommonModule], template: "<p>community-index works!</p>\n" }]
12
+ }] });
13
+
14
+ export { CommunityIndexComponent };
15
+ //# sourceMappingURL=rolatech-angular-community-community-index.component-CccOK0OS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rolatech-angular-community-community-index.component-CccOK0OS.mjs","sources":["../../../../packages/angular-community/src/lib/pages/community/community-index/community-index.component.ts","../../../../packages/angular-community/src/lib/pages/community/community-index/community-index.component.html"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-index',\n imports: [CommonModule],\n templateUrl: './community-index.component.html',\n styleUrl: './community-index.component.scss',\n})\nexport class CommunityIndexComponent {}\n","<p>community-index works!</p>\n"],"names":[],"mappings":";;;;MASa,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECTpC,iCACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIY,YAAY,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIX,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;+BACE,0BAA0B,EAAA,OAAA,EAC3B,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,iCAAA,EAAA;;;;;"}
@@ -0,0 +1,113 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Injectable } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import { BaseService } from '@rolatech/angular-services';
5
+
6
+ class CommunityLayoutComponent {
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityLayoutComponent, isStandalone: true, selector: "rolatech-community-layout", ngImport: i0, template: "<p>community-layout works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityLayoutComponent, decorators: [{
11
+ type: Component,
12
+ args: [{ selector: 'rolatech-community-layout', imports: [CommonModule], template: "<p>community-layout works!</p>\n" }]
13
+ }] });
14
+
15
+ class CommunityDetailsComponent {
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityDetailsComponent, isStandalone: true, selector: "rolatech-community-details", ngImport: i0, template: "<p>community-details works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityDetailsComponent, decorators: [{
20
+ type: Component,
21
+ args: [{ selector: 'rolatech-community-details', imports: [CommonModule], template: "<p>community-details works!</p>\n" }]
22
+ }] });
23
+
24
+ const communityRoutes = [
25
+ {
26
+ path: '',
27
+ component: CommunityLayoutComponent,
28
+ children: [
29
+ {
30
+ path: '',
31
+ loadComponent: () => import('./rolatech-angular-community-community-index.component-CccOK0OS.mjs').then((x) => x.CommunityIndexComponent),
32
+ },
33
+ ],
34
+ },
35
+ {
36
+ path: ':id',
37
+ component: CommunityDetailsComponent,
38
+ },
39
+ ];
40
+
41
+ class CommunityManageIndexComponent {
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManageIndexComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityManageIndexComponent, isStandalone: true, selector: "rolatech-community-manage-index", ngImport: i0, template: "<p>community-manage-index works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManageIndexComponent, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'rolatech-community-manage-index', imports: [CommonModule], template: "<p>community-manage-index works!</p>\n" }]
48
+ }] });
49
+
50
+ class CommunityManagePostComponent {
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManagePostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityManagePostComponent, isStandalone: true, selector: "rolatech-community-manage-post", ngImport: i0, template: "<p>community-manage-post works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManagePostComponent, decorators: [{
55
+ type: Component,
56
+ args: [{ selector: 'rolatech-community-manage-post', imports: [CommonModule], template: "<p>community-manage-post works!</p>\n" }]
57
+ }] });
58
+
59
+ class CommunityManagePostDetailsComponent {
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManagePostDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: CommunityManagePostDetailsComponent, isStandalone: true, selector: "rolatech-community-manage-post-details", ngImport: i0, template: "<p>community-manage-post-details works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
62
+ }
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityManagePostDetailsComponent, decorators: [{
64
+ type: Component,
65
+ args: [{ selector: 'rolatech-community-manage-post-details', imports: [CommonModule], template: "<p>community-manage-post-details works!</p>\n" }]
66
+ }] });
67
+
68
+ const communityManageRoutes = [
69
+ {
70
+ path: '',
71
+ component: CommunityManageIndexComponent,
72
+ },
73
+ {
74
+ path: 'post',
75
+ component: CommunityManagePostComponent,
76
+ },
77
+ {
78
+ path: 'post/:id',
79
+ component: CommunityManagePostDetailsComponent,
80
+ },
81
+ ];
82
+
83
+ class CommunityService extends BaseService {
84
+ init() {
85
+ this.endpoint = 'community';
86
+ super.init();
87
+ }
88
+ uploadMedia(id, data) {
89
+ return this.http.post(`${this.actionUrl}/${id}/media`, data, {
90
+ withCredentials: true,
91
+ });
92
+ }
93
+ deleteMedia(id, mediaId) {
94
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
95
+ withCredentials: true,
96
+ });
97
+ }
98
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
99
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityService, providedIn: 'root' }); }
100
+ }
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CommunityService, decorators: [{
102
+ type: Injectable,
103
+ args: [{
104
+ providedIn: 'root',
105
+ }]
106
+ }] });
107
+
108
+ /**
109
+ * Generated bundle index. Do not edit.
110
+ */
111
+
112
+ export { CommunityService, communityManageRoutes, communityRoutes };
113
+ //# sourceMappingURL=rolatech-angular-community.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rolatech-angular-community.mjs","sources":["../../../../packages/angular-community/src/lib/pages/community/community-layout/community-layout.component.ts","../../../../packages/angular-community/src/lib/pages/community/community-layout/community-layout.component.html","../../../../packages/angular-community/src/lib/pages/community/community-details/community-details.component.ts","../../../../packages/angular-community/src/lib/pages/community/community-details/community-details.component.html","../../../../packages/angular-community/src/lib/pages/community/community.routes.ts","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-index/community-manage-index.component.ts","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-index/community-manage-index.component.html","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-post/community-manage-post.component.ts","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-post/community-manage-post.component.html","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-post-details/community-manage-post-details.component.ts","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage-post-details/community-manage-post-details.component.html","../../../../packages/angular-community/src/lib/pages/community-manage/community-manage.routes.ts","../../../../packages/angular-community/src/lib/services/community.service.ts","../../../../packages/angular-community/src/rolatech-angular-community.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-layout',\n imports: [CommonModule],\n templateUrl: './community-layout.component.html',\n styleUrl: './community-layout.component.scss',\n})\nexport class CommunityLayoutComponent {}\n","<p>community-layout works!</p>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-details',\n imports: [CommonModule],\n templateUrl: './community-details.component.html',\n styleUrl: './community-details.component.scss',\n})\nexport class CommunityDetailsComponent {}\n","<p>community-details works!</p>\n","import { Routes } from '@angular/router';\nimport { CommunityLayoutComponent } from './community-layout/community-layout.component';\nimport { CommunityDetailsComponent } from './community-details/community-details.component';\nexport const communityRoutes: Routes = [\n {\n path: '',\n component: CommunityLayoutComponent,\n children: [\n {\n path: '',\n loadComponent: () => import('./community-index/community-index.component').then((x) => x.CommunityIndexComponent),\n },\n ],\n },\n {\n path: ':id',\n component: CommunityDetailsComponent,\n },\n];\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-manage-index',\n imports: [CommonModule],\n templateUrl: './community-manage-index.component.html',\n styleUrl: './community-manage-index.component.scss',\n})\nexport class CommunityManageIndexComponent {}\n","<p>community-manage-index works!</p>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-manage-post',\n imports: [CommonModule],\n templateUrl: './community-manage-post.component.html',\n styleUrl: './community-manage-post.component.scss',\n})\nexport class CommunityManagePostComponent {}\n","<p>community-manage-post works!</p>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'rolatech-community-manage-post-details',\n imports: [CommonModule],\n templateUrl: './community-manage-post-details.component.html',\n styleUrl: './community-manage-post-details.component.scss',\n})\nexport class CommunityManagePostDetailsComponent {}\n","<p>community-manage-post-details works!</p>\n","import { Routes } from '@angular/router';\nimport { CommunityManageIndexComponent } from './community-manage-index/community-manage-index.component';\nimport { CommunityManagePostComponent } from './community-manage-post/community-manage-post.component';\nimport { CommunityManagePostDetailsComponent } from './community-manage-post-details/community-manage-post-details.component';\n\nexport const communityManageRoutes: Routes = [\n {\n path: '',\n component: CommunityManageIndexComponent,\n },\n {\n path: 'post',\n component: CommunityManagePostComponent,\n },\n {\n path: 'post/:id',\n component: CommunityManagePostDetailsComponent,\n },\n];\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { BaseService } from '@rolatech/angular-services';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CommunityService extends BaseService {\n override init() {\n this.endpoint = 'community';\n super.init();\n }\n uploadMedia(id: string, data: FormData): Observable<any> {\n return this.http.post<any>(`${this.actionUrl}/${id}/media`, data, {\n withCredentials: true,\n });\n }\n deleteMedia(id: string, mediaId: string): Observable<any> {\n return this.http.delete<any>(`${this.actionUrl}/${id}/media/${mediaId}`, {\n withCredentials: true,\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECTrC,kCACA,EAAA,MAAA,EAA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,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFf,MAAM,EAAA,CAAA,CAAA;;2FAEP,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACND;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export { communityRoutes } from './lib/pages/community/community.routes';
2
+ export { communityManageRoutes } from './lib/pages/community-manage/community-manage.routes';
3
+ export { CommunityService } from './lib/services/community.service';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityDetailsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityDetailsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityDetailsComponent, "rolatech-community-details", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityIndexComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityIndexComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityIndexComponent, "rolatech-community-index", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityLayoutComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityLayoutComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityLayoutComponent, "rolatech-community-layout", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { Routes } from '@angular/router';
2
+ export declare const communityRoutes: Routes;
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityManageIndexComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityManageIndexComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityManageIndexComponent, "rolatech-community-manage-index", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityManagePostComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityManagePostComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityManagePostComponent, "rolatech-community-manage-post", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CommunityManagePostDetailsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityManagePostDetailsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommunityManagePostDetailsComponent, "rolatech-community-manage-post-details", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { Routes } from '@angular/router';
2
+ export declare const communityManageRoutes: Routes;
@@ -0,0 +1,10 @@
1
+ import { Observable } from 'rxjs';
2
+ import { BaseService } from '@rolatech/angular-services';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CommunityService extends BaseService {
5
+ init(): void;
6
+ uploadMedia(id: string, data: FormData): Observable<any>;
7
+ deleteMedia(id: string, mediaId: string): Observable<any>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommunityService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommunityService>;
10
+ }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@rolatech/angular-community",
3
+ "version": "0.0.1",
4
+ "private": false,
5
+ "peerDependencies": {
6
+ "@angular/common": "^19.0.0",
7
+ "@angular/core": "^19.0.0"
8
+ },
9
+ "sideEffects": false,
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "module": "fesm2022/rolatech-angular-community.mjs",
14
+ "typings": "index.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./index.d.ts",
21
+ "default": "./fesm2022/rolatech-angular-community.mjs"
22
+ }
23
+ },
24
+ "dependencies": {
25
+ "tslib": "^2.3.0"
26
+ }
27
+ }