ngrx-entity-crud 19.2.4 → 19.2.6
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/package.json +1 -1
- package/schematics/ng-add/files/src/app/app.component.ts +4 -8
- package/schematics/ng-add/files/src/app/app.module.ts +5 -14
- package/schematics/ng-add/files/src/app/core/theme/components/footer.component.ts +1 -0
- package/schematics/ng-add/files/src/app/core/theme/components/header.component.ts +1 -5
- package/schematics/ng-add/files/src/app/core/theme/components/main.component.ts +3 -4
- package/schematics/ng-add/files/src/app/core/theme/components/menu-item.component.ts +3 -5
- package/schematics/ng-add/files/src/app/core/theme/components/progress.component.ts +2 -6
- package/schematics/ng-add/files/src/app/core/theme/components/slide-menu-pro.component.ts +1 -6
- package/schematics/ng-add/files/src/app/core/theme/components/slide-menu.component.ts +1 -7
- package/schematics/ng-add/files/src/app/core/theme/theme-jng.module.ts +22 -18
- package/schematics/ng-add/files/src/styles.scss +1 -2
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { Component
|
|
1
|
+
import {ChangeDetectionStrategy, Component} from '@angular/core';
|
|
2
2
|
|
|
3
3
|
@Component({
|
|
4
4
|
selector: 'app-root',
|
|
5
|
+
standalone: false,
|
|
6
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5
7
|
templateUrl: './app.component.html'
|
|
6
8
|
})
|
|
7
9
|
export class AppComponent {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
console.log('AppComponent.constructor()');
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
}
|
|
10
|
+
}
|
|
@@ -5,29 +5,19 @@ import {AppComponent} from './app.component';
|
|
|
5
5
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
6
6
|
import {RootStoreModule} from './root-store';
|
|
7
7
|
import {HttpClientModule} from '@angular/common/http';
|
|
8
|
-
import {SlideMenuProComponent} from '@core/theme/components/slide-menu-pro.component';
|
|
9
|
-
import {HeaderComponent} from '@core/theme/components/header.component';
|
|
10
|
-
import {FooterComponent} from '@core/theme/components/footer.component';
|
|
11
|
-
import {MainComponent} from '@core/theme/components/main.component';
|
|
12
|
-
import {ProgressComponent} from '@core/theme/components/progress.component';
|
|
13
8
|
import {providePrimeNG} from 'primeng/config';
|
|
14
9
|
import {PrimeuixPresets} from './primeuix-presets';
|
|
10
|
+
import {ThemeJngModule} from '@core/theme/theme-jng.module';
|
|
15
11
|
|
|
16
12
|
@NgModule({
|
|
17
|
-
declarations: [
|
|
18
|
-
AppComponent
|
|
19
|
-
],
|
|
13
|
+
declarations: [AppComponent],
|
|
20
14
|
imports: [
|
|
21
15
|
BrowserModule,
|
|
22
16
|
AppRoutingModule,
|
|
23
17
|
BrowserAnimationsModule,
|
|
24
18
|
RootStoreModule,
|
|
25
19
|
HttpClientModule,
|
|
26
|
-
|
|
27
|
-
HeaderComponent,
|
|
28
|
-
FooterComponent,
|
|
29
|
-
MainComponent,
|
|
30
|
-
ProgressComponent
|
|
20
|
+
ThemeJngModule
|
|
31
21
|
],
|
|
32
22
|
providers: [
|
|
33
23
|
providePrimeNG({
|
|
@@ -41,4 +31,5 @@ import {PrimeuixPresets} from './primeuix-presets';
|
|
|
41
31
|
],
|
|
42
32
|
bootstrap: [AppComponent]
|
|
43
33
|
})
|
|
44
|
-
export class AppModule {
|
|
34
|
+
export class AppModule {
|
|
35
|
+
}
|
|
@@ -64,12 +64,8 @@ import {LetDirective} from '@ngrx/component';
|
|
|
64
64
|
}
|
|
65
65
|
`,
|
|
66
66
|
],
|
|
67
|
+
standalone: false,
|
|
67
68
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
68
|
-
imports: [
|
|
69
|
-
Tooltip,
|
|
70
|
-
NgClass,
|
|
71
|
-
LetDirective
|
|
72
|
-
]
|
|
73
69
|
})
|
|
74
70
|
export class HeaderComponent implements OnInit {
|
|
75
71
|
open$: Observable<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Component, HostBinding, inject, OnInit} from '@angular/core';
|
|
1
|
+
import {ChangeDetectionStrategy, Component, HostBinding, inject, OnInit} from '@angular/core';
|
|
2
2
|
import {Observable, tap} from 'rxjs';
|
|
3
3
|
import {Store} from '@ngrx/store';
|
|
4
4
|
import {ThemeUiStoreSelectors} from '../store/theme-ui-store';
|
|
@@ -42,9 +42,8 @@ import {LetDirective} from '@ngrx/component';
|
|
|
42
42
|
}
|
|
43
43
|
`,
|
|
44
44
|
],
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
]
|
|
45
|
+
standalone: false,
|
|
46
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
47
|
})
|
|
49
48
|
export class MainComponent implements OnInit {
|
|
50
49
|
open$: Observable<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Component, EventEmitter, inject, Input, OnInit, Output} from '@angular/core';
|
|
1
|
+
import {ChangeDetectionStrategy, Component, EventEmitter, inject, Input, OnInit, Output} from '@angular/core';
|
|
2
2
|
import { MenuItem } from 'primeng/api';
|
|
3
3
|
import { RouterStoreSelectors } from '@root-store/router-store';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
@@ -54,10 +54,8 @@ import {AsyncPipe, NgClass} from '@angular/common';
|
|
|
54
54
|
}
|
|
55
55
|
`,
|
|
56
56
|
],
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
AsyncPipe
|
|
60
|
-
]
|
|
57
|
+
standalone: false,
|
|
58
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
59
|
})
|
|
62
60
|
export class MenuItemComponent implements OnInit {
|
|
63
61
|
@Input()
|
|
@@ -20,12 +20,8 @@ import {AsyncPipe, NgIf} from '@angular/common';
|
|
|
20
20
|
height: var(--loader-height);
|
|
21
21
|
}
|
|
22
22
|
`],
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
NgIf,
|
|
26
|
-
AsyncPipe
|
|
27
|
-
],
|
|
28
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
23
|
+
standalone: false,
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
29
25
|
})
|
|
30
26
|
export class ProgressComponent implements OnInit {
|
|
31
27
|
private store$ = inject(Store);
|
|
@@ -108,13 +108,8 @@ import {LetDirective} from '@ngrx/component';
|
|
|
108
108
|
|
|
109
109
|
`,
|
|
110
110
|
],
|
|
111
|
+
standalone: false,
|
|
111
112
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
112
|
-
imports: [
|
|
113
|
-
MenuItemComponent,
|
|
114
|
-
NgForOf,
|
|
115
|
-
AsyncPipe,
|
|
116
|
-
LetDirective
|
|
117
|
-
]
|
|
118
113
|
})
|
|
119
114
|
export class SlideMenuProComponent implements OnInit, OnDestroy {
|
|
120
115
|
constructor(
|
|
@@ -69,14 +69,8 @@ import {LetDirective} from '@ngrx/component';
|
|
|
69
69
|
|
|
70
70
|
`,
|
|
71
71
|
],
|
|
72
|
+
standalone: false,
|
|
72
73
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
73
|
-
imports: [
|
|
74
|
-
MenuItemComponent,
|
|
75
|
-
ScrollPanel,
|
|
76
|
-
Menu,
|
|
77
|
-
AsyncPipe,
|
|
78
|
-
LetDirective
|
|
79
|
-
]
|
|
80
74
|
})
|
|
81
75
|
export class SlideMenuComponent implements OnInit, OnDestroy {
|
|
82
76
|
private store$ = inject(Store);
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {CommonModule} from '@angular/common';
|
|
3
|
+
import {FooterComponent} from './components/footer.component';
|
|
4
|
+
import {OverlayPanelModule} from 'primeng/overlaypanel';
|
|
5
|
+
import {LetDirective} from '@ngrx/component';
|
|
6
|
+
import {HeaderComponent} from './components/header.component';
|
|
7
|
+
import {MainComponent} from './components/main.component';
|
|
8
|
+
import {ProgressBarModule} from 'primeng/progressbar';
|
|
9
|
+
import {MenuModule} from 'primeng/menu';
|
|
10
|
+
import {ScrollPanelModule} from 'primeng/scrollpanel';
|
|
11
|
+
import {SlideMenuComponent} from './components/slide-menu.component';
|
|
12
|
+
import {ThemeUiStoreModule} from './store/theme-ui-store';
|
|
13
|
+
import {ProgressComponent} from './components/progress.component';
|
|
14
|
+
import {SlideMenuProComponent} from '@core/theme/components/slide-menu-pro.component';
|
|
15
|
+
import {MenuItemComponent} from './components/menu-item.component';
|
|
16
|
+
import {AvatarModule} from 'primeng/avatar';
|
|
17
|
+
import {Tooltip} from 'primeng/tooltip';
|
|
17
18
|
|
|
18
19
|
@NgModule({
|
|
19
20
|
declarations: [
|
|
@@ -32,16 +33,19 @@ import { AvatarModule } from 'primeng/avatar';
|
|
|
32
33
|
SlideMenuComponent,
|
|
33
34
|
ProgressComponent,
|
|
34
35
|
SlideMenuProComponent,
|
|
36
|
+
MenuItemComponent,
|
|
35
37
|
],
|
|
36
38
|
imports: [
|
|
37
39
|
CommonModule,
|
|
38
40
|
OverlayPanelModule,
|
|
39
|
-
|
|
41
|
+
LetDirective,
|
|
40
42
|
ProgressBarModule,
|
|
41
43
|
ThemeUiStoreModule,
|
|
42
44
|
MenuModule,
|
|
43
45
|
ScrollPanelModule,
|
|
44
46
|
AvatarModule,
|
|
47
|
+
Tooltip,
|
|
45
48
|
],
|
|
46
49
|
})
|
|
47
|
-
export class ThemeJngModule {
|
|
50
|
+
export class ThemeJngModule {
|
|
51
|
+
}
|