Skip to content

Commit 73bcc12

Browse files
authored
Actions & Agenda plugin
Actions & Agenda plugin
2 parents 5581212 + 00cca8f commit 73bcc12

78 files changed

Lines changed: 2874 additions & 2454 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/xt-host/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,45 +11,45 @@
1111
},
1212
"private": false,
1313
"dependencies": {
14-
"@angular/animations": "^20.2.3",
15-
"@angular/common": "^20.2.3",
16-
"@angular/compiler": "^20.2.3",
17-
"@angular/core": "^20.2.3",
18-
"@angular/forms": "^20.2.3",
19-
"@angular/platform-browser": "^20.2.3",
20-
"@angular/platform-browser-dynamic": "^20.2.3",
21-
"@angular/router": "^20.2.3",
14+
"@angular/animations": "^20.3.9",
15+
"@angular/common": "^20.3.9",
16+
"@angular/compiler": "^20.3.9",
17+
"@angular/core": "^20.3.9",
18+
"@angular/forms": "^20.3.9",
19+
"@angular/platform-browser": "^20.3.9",
20+
"@angular/platform-browser-dynamic": "^20.3.9",
21+
"@angular/router": "^20.3.9",
2222
"xt-components": "workspace:^",
2323
"xt-plugin-default": "workspace:^",
2424
"xt-type": "workspace:^",
2525
"xt-store": "workspace:^",
2626
"rxjs": "^7.8.2",
2727
"tslib": "^2.8.1",
2828
"es-module-shims": "^2.6.2",
29-
"primeng": "^20.1.2",
29+
"primeng": "^20.3.0",
3030
"primeicons": "^7.0.0",
31-
"@primeuix/themes": "^1.2.3",
32-
"tailwindcss": "~4.1.13",
33-
"@ngrx/signals": "^20.0.1",
34-
"@softarc/native-federation-runtime": "^3.3.5",
35-
"@angular-architects/native-federation": "^20.1.6"
31+
"@primeuix/themes": "^1.2.5",
32+
"tailwindcss": "~4.1.16",
33+
"@ngrx/signals": "^20.1.0",
34+
"@softarc/native-federation-runtime": "^3.3.6",
35+
"@angular-architects/native-federation": "^20.1.7"
3636
},
3737
"devDependencies": {
3838
"@primeuix/utils": "^0.6.1",
3939
"@primeuix/styled": "^0.7.2",
40-
"@tailwindcss/postcss": "~4.1.13",
40+
"@tailwindcss/postcss": "~4.1.16",
4141
"postcss": "~8.5.6",
42-
"@angular-devkit/build-angular": "^20.2.1",
43-
"@angular/cli": "^20.2.1",
44-
"@angular/compiler-cli": "^20.2.3",
45-
"@angular/build": "^20.2.1",
46-
"ng-packagr": "^20.2.0",
47-
"typescript": "^5.9.2",
42+
"@angular-devkit/build-angular": "^20.3.8",
43+
"@angular/cli": "^20.3.8",
44+
"@angular/compiler-cli": "^20.3.9",
45+
"@angular/build": "^20.3.8",
46+
"ng-packagr": "^20.3.0",
47+
"typescript": "^5.9.3",
4848
"happy-dom": "^18.0.1",
49-
"@analogjs/vite-plugin-angular":"^1.20.1",
50-
"@analogjs/vitest-angular": "^1.20.1",
49+
"@analogjs/vite-plugin-angular":"^1.22.4",
50+
"@analogjs/vitest-angular": "^1.22.4",
5151
"jsdom": "^26.1.0",
52-
"vite": "^7.1.6",
52+
"vite": "^7.1.12",
5353
"vitest": "^3.2.4",
5454
"vite-tsconfig-paths": "~5.1.4"
5555
}

apps/xt-host/projects/host/src/app/app.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { ApplicationConfig, provideZonelessChangeDetection, provideZoneChangeDetection } from '@angular/core';
1+
import { ApplicationConfig, provideZonelessChangeDetection } from '@angular/core';
22
import { provideRouter } from '@angular/router';
33

44
import { routes } from './app.routes';
55
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
66
import { providePrimeNG } from 'primeng/config';
77
import Aura from '@primeuix/themes/aura';
88
import { provideHttpClient } from '@angular/common/http';
9-
import { definePreset } from '@primeuix/styled';
109
import { MessageService } from 'primeng/api';
11-
import { MessageHandler } from 'xt-components';
10+
import { XtMessageHandler } from 'xt-components';
11+
import { ErrorHandlerService } from './error-handler/error-handler.service';
1212

1313
export const appConfig: ApplicationConfig = {
1414
providers: [
@@ -22,6 +22,6 @@ export const appConfig: ApplicationConfig = {
2222
provideRouter(routes),
2323
provideHttpClient(),
2424
MessageService,
25-
{ provide: MessageHandler, useClass:MessageService}
25+
{ provide: XtMessageHandler, useClass:ErrorHandlerService}
2626
]
2727
};

apps/xt-host/projects/host/src/app/entity-manager/entity-manager.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('EntityManagerComponent', () => {
2929

3030
registerDefaultPlugin(TestBed.inject(XtResolverService));
3131
storeTestBed = new StoreTestBed();
32-
storeTestBed.ensureMemoryProviderOnly();
32+
StoreTestBed.ensureMemoryProviderOnly();
3333
});
3434

3535
it('should create', () => {

apps/xt-host/projects/host/src/app/entity-manager/entity-manager.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { Button } from 'primeng/button';
1919
import { Subscription } from 'rxjs';
2020
import { ErrorHandlerService } from '../error-handler/error-handler.service';
2121
import { ProgressSpinner } from 'primeng/progressspinner';
22-
import { StoreManagerService, XtSignalStore } from 'xt-store';
22+
import { XtStoreManagerService, XtSignalStore } from 'xt-store';
2323

2424
@Component({
2525
selector: 'app-entity-manager',
@@ -31,7 +31,7 @@ import { StoreManagerService, XtSignalStore } from 'xt-store';
3131
})
3232
export class EntityManagerComponent implements OnDestroy {
3333
private readonly route = inject(ActivatedRoute);
34-
protected readonly storeMgr = inject(StoreManagerService);
34+
protected readonly storeMgr = inject(XtStoreManagerService);
3535
protected readonly formBuilder = inject(FormBuilder);
3636
protected readonly errorHandler = inject(ErrorHandlerService);
3737
protected readonly resolver = inject (XtResolverService);

apps/xt-host/projects/host/src/app/project-load/project-load.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
import { AppConfigService } from '../shared/app-config/app-config.service';
1212
import { ActivatedRoute, Router } from '@angular/router';
1313
import { ApplicationModelManagerService } from '../application-model-manager/application-model-manager.service';
14-
import { StoreManagerService } from 'xt-store';
14+
import { XtStoreManagerService } from 'xt-store';
1515
import { XtApiStoreProvider, XtMemoryStoreProvider } from 'xt-store';
1616
import { XtResolverService } from 'xt-components';
1717
import { ErrorHandlerService } from '../error-handler/error-handler.service';
@@ -30,7 +30,7 @@ export class ProjectLoadComponent implements OnInit {
3030

3131
protected readonly appMgr=inject(ApplicationModelManagerService);
3232
protected readonly appConfig = inject(AppConfigService);
33-
protected readonly storeMgr = inject(StoreManagerService);
33+
protected readonly storeMgr = inject(XtStoreManagerService);
3434
protected readonly resolver=inject(XtResolverService);
3535
protected readonly errorHandler = inject(ErrorHandlerService);
3636

apps/xt-plugin-tester/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,45 +11,45 @@
1111
},
1212
"private": false,
1313
"dependencies": {
14-
"@angular/animations": "^20.2.3",
15-
"@angular/common": "^20.2.3",
16-
"@angular/compiler": "^20.2.3",
17-
"@angular/core": "^20.2.3",
18-
"@angular/forms": "^20.2.3",
19-
"@angular/platform-browser": "^20.2.3",
20-
"@angular/platform-browser-dynamic": "^20.2.3",
21-
"@angular/router": "^20.2.3",
14+
"@angular/animations": "^20.3.9",
15+
"@angular/common": "^20.3.9",
16+
"@angular/compiler": "^20.3.9",
17+
"@angular/core": "^20.3.9",
18+
"@angular/forms": "^20.3.9",
19+
"@angular/platform-browser": "^20.3.9",
20+
"@angular/platform-browser-dynamic": "^20.3.9",
21+
"@angular/router": "^20.3.9",
2222
"xt-components": "workspace:^",
2323
"xt-plugin-default": "workspace:^",
2424
"xt-store": "workspace:^",
2525
"xt-type": "workspace:^",
26-
"@ngrx/signals": "^20.0.1",
26+
"@ngrx/signals": "^20.1.0",
2727
"rxjs": "^7.8.2",
2828
"es-module-shims": "^2.6.2",
2929
"tslib": "^2.8.1",
30-
"primeng": "^20.1.2",
30+
"primeng": "^20.3.0",
3131
"primeicons": "^7.0.0",
32-
"@primeuix/themes": "^1.2.3",
33-
"tailwindcss": "~4.1.13",
34-
"@angular-architects/native-federation": "^20.1.6",
35-
"@softarc/native-federation-runtime": "^3.3.5"
32+
"@primeuix/themes": "^1.2.5",
33+
"tailwindcss": "~4.1.16",
34+
"@angular-architects/native-federation": "^20.1.7",
35+
"@softarc/native-federation-runtime": "^3.3.6"
3636
},
3737
"devDependencies": {
3838
"@primeuix/utils": "^0.6.1",
3939
"@primeuix/styled": "^0.7.2",
40-
"@tailwindcss/postcss": "~4.1.13",
40+
"@tailwindcss/postcss": "~4.1.16",
4141
"postcss": "~8.5.6",
42-
"@angular-devkit/build-angular": "^20.2.1",
43-
"@angular/cli": "^20.2.1",
44-
"@angular/compiler-cli": "^20.2.3",
45-
"@angular/build": "^20.2.1",
46-
"ng-packagr": "^20.2.0",
47-
"typescript": "^5.9.2",
42+
"@angular-devkit/build-angular": "^20.3.8",
43+
"@angular/cli": "^20.3.8",
44+
"@angular/compiler-cli": "^20.3.9",
45+
"@angular/build": "^20.3.8",
46+
"ng-packagr": "^20.3.0",
47+
"typescript": "^5.9.3",
4848
"happy-dom": "^18.0.1",
49-
"@analogjs/vite-plugin-angular":"^1.20.1",
50-
"@analogjs/vitest-angular": "^1.20.1",
49+
"@analogjs/vite-plugin-angular":"^1.22.4",
50+
"@analogjs/vitest-angular": "^1.22.4",
5151
"jsdom": "^26.1.0",
52-
"vite": "^7.1.6",
52+
"vite": "^7.1.12",
5353
"vitest": "^3.2.4",
5454
"vite-tsconfig-paths": "~5.1.4"
5555
}

apps/xt-plugin-tester/projects/plugin-tester/public/assets/config/plugin-urls.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"http://localhost:4204",
1212
"https://test.dont-code.net/apps/latest/finance-plugin"
1313
],
14+
"Plugin Agenda": [
15+
"http://localhost:4205",
16+
"https://test.dont-code.net/apps/latest/agenda-plugin"
17+
],
1418
"Plugin Sample": [
1519
"http://localhost:4201",
1620
"https://test.dont-code.net/apps/latest/sample-plugin"

apps/xt-plugin-tester/projects/plugin-tester/src/app/app.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { providePrimeNG } from 'primeng/config';
77
import Aura from '@primeuix/themes/aura';
88
import { provideHttpClient } from '@angular/common/http';
99
import { MessageService } from 'primeng/api';
10-
import { MessageHandler } from 'xt-components';
10+
import { XtMessageHandler } from 'xt-components';
11+
import { ErrorHandlerService } from './error-handler/error-handler.service';
1112

1213

1314
export const appConfig: ApplicationConfig = {
@@ -22,7 +23,7 @@ export const appConfig: ApplicationConfig = {
2223
provideRouter(routes),
2324
provideHttpClient(),
2425
MessageService,
25-
{ provide: MessageHandler, useClass:MessageService}
26+
{ provide: XtMessageHandler, useClass:ErrorHandlerService}
2627

2728
]
2829
};

apps/xt-plugin-tester/projects/plugin-tester/src/app/plugin-manager/plugin-manager.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe('PluginManagerComponent', () => {
9696
expect(plugins).toHaveLength(2);
9797
expect(plugins[1].details?.components).toHaveLength(2);
9898
expect(plugins[1].details?.components[1]?.name).toEqual('TestComponent22');
99-
expect(plugins[1].details?.components[1]?.className).toEqual('XtSimpleComponent');
99+
expect(plugins[1].details?.components[1]?.className).toBeTruthy();
100100
expect(plugins[1].details?.types).toHaveLength(4);
101101

102102
});

0 commit comments

Comments
 (0)