taon 21.0.17 → 21.0.18

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.
Files changed (45) hide show
  1. package/browser/fesm2022/taon-browser.mjs +43 -34
  2. package/browser/fesm2022/taon-browser.mjs.map +1 -1
  3. package/browser/package.json +1 -1
  4. package/browser/types/taon-browser.d.ts +7 -6
  5. package/icon-menu-taon.svg +15 -15
  6. package/lib/base-classes/base-repository.d.ts +1 -0
  7. package/lib/base-classes/base-repository.js +27 -8
  8. package/lib/base-classes/base-repository.js.map +1 -1
  9. package/lib/build-info._auto-generated_.d.ts +1 -1
  10. package/lib/build-info._auto-generated_.js +1 -1
  11. package/lib/endpoint-context.d.ts +0 -4
  12. package/lib/endpoint-context.js +0 -18
  13. package/lib/endpoint-context.js.map +1 -1
  14. package/lib/env/env.angular-node-app.d.ts +0 -2
  15. package/lib/env/env.angular-node-app.js +1 -3
  16. package/lib/env/env.angular-node-app.js.map +1 -1
  17. package/lib/env/env.docs-webapp.d.ts +0 -2
  18. package/lib/env/env.docs-webapp.js +1 -3
  19. package/lib/env/env.docs-webapp.js.map +1 -1
  20. package/lib/env/env.electron-app.d.ts +0 -2
  21. package/lib/env/env.electron-app.js +1 -3
  22. package/lib/env/env.electron-app.js.map +1 -1
  23. package/lib/env/env.mobile-app.d.ts +0 -2
  24. package/lib/env/env.mobile-app.js +1 -3
  25. package/lib/env/env.mobile-app.js.map +1 -1
  26. package/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -2
  27. package/lib/env/env.npm-lib-and-cli-tool.js +1 -3
  28. package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
  29. package/lib/env/env.vscode-plugin.d.ts +0 -2
  30. package/lib/env/env.vscode-plugin.js +1 -3
  31. package/lib/env/env.vscode-plugin.js.map +1 -1
  32. package/lib/index._auto-generated_.js +1 -1
  33. package/lib/index._auto-generated_.js.map +1 -1
  34. package/lib/index.d.ts +4 -2
  35. package/lib/index.js +18 -5
  36. package/lib/index.js.map +1 -1
  37. package/lib/realtime/realtime-subs-manager.js +1 -10
  38. package/lib/realtime/realtime-subs-manager.js.map +1 -1
  39. package/lib/ui/index.js +2 -2
  40. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  41. package/package.json +1 -1
  42. package/websql/fesm2022/taon-websql.mjs +49 -42
  43. package/websql/fesm2022/taon-websql.mjs.map +1 -1
  44. package/websql/package.json +1 -1
  45. package/websql/types/taon-websql.d.ts +7 -6
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon/websql",
3
- "version": "21.0.17",
3
+ "version": "21.0.18",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0"
@@ -2,8 +2,6 @@
2
2
  import * as taon_websql from 'taon/websql';
3
3
  import * as express from 'express';
4
4
  import express__default, { Request, Response, RequestHandler, Application } from 'express';
5
- import * as i0 from '@angular/core';
6
- import { NgZone, InjectionToken, ViewContainerRef } from '@angular/core';
7
5
  import { Models as Models$1, RestResponseWrapper, TaonServerMiddlewareInterceptOptions, TaonClientMiddlewareInterceptOptions, HttpResponseError, RestErrorResponseWrapper, Mapping } from 'ng2-rest/websql';
8
6
  export { TaonClientMiddlewareInterceptOptions, TaonServerMiddlewareInterceptOptions } from 'ng2-rest/websql';
9
7
  import { Server } from 'http';
@@ -11,6 +9,8 @@ import { DataSource, Repository, SaveOptions, DeepPartial, QueryDeepPartialEntit
11
9
  export { AfterInsert, AfterLoad, AfterRecover, AfterRemove, AfterSoftRemove, AfterUpdate, BeforeInsert, BeforeRecover, BeforeRemove, BeforeSoftRemove, BeforeUpdate, Column, Connection, CreateDateColumn, Column as CustomColumn, DeleteDateColumn, Generated, Generated as GeneratedColumn, Index, JoinColumn, JoinTable, ManyToMany, ManyToOne, OneToMany, OneToOne, PrimaryColumn, PrimaryGeneratedColumn, Repository, TreeChildren, TreeParent, UpdateDateColumn, VersionColumn, VirtualColumn } from 'taon-typeorm/websql';
12
10
  import { MySqlQuerySource } from 'taon-type-sql/websql';
13
11
  import { CoreModels } from 'tnp-core/websql';
12
+ import * as i0 from '@angular/core';
13
+ import { InjectionToken, ViewContainerRef } from '@angular/core';
14
14
  import { AxiosResponse } from 'axios';
15
15
  import * as rxjs from 'rxjs';
16
16
  import { Observable, Subscriber } from 'rxjs';
@@ -28,6 +28,7 @@ declare abstract class TaonBaseCustomRepository extends TaonBaseInjector {
28
28
  declare abstract class TaonBaseRepository<Entity extends {
29
29
  id?: any;
30
30
  }> extends TaonBaseCustomRepository {
31
+ private REPOS_CACHE_KEY;
31
32
  abstract entityClassResolveFn: () => any;
32
33
  constructor(__entityClassResolveFn: () => any);
33
34
  private __dbQuery;
@@ -649,8 +650,6 @@ declare class EndpointContext {
649
650
  * -> ONLY remote access from backend or frontend to specific backend
650
651
  */
651
652
  private readonly cloneOptions;
652
- private static ngZone;
653
- static initNgZone(ngZone: NgZone): void;
654
653
  /**
655
654
  * JUST FOR TESTING PURPOSES
656
655
  */
@@ -720,7 +719,6 @@ declare class EndpointContext {
720
719
  onlyMigrationRevertToTimestamp?: number;
721
720
  }): Promise<void>;
722
721
  private getAutoGeneratedConfig;
723
- get ngZone(): any;
724
722
  startServer(): Promise<void>;
725
723
  displayRoutes(app: any): void;
726
724
  get modeAllowsDatabaseCreation(): boolean;
@@ -2007,6 +2005,10 @@ declare class TaonAdminService {
2007
2005
  }
2008
2006
 
2009
2007
  declare namespace Taon {
2008
+ /**
2009
+ * Remove global taon loader from env.ts [loading.preAngularBootstrap]
2010
+ */
2011
+ const removeLoader: (afterMS?: number) => Promise<void>;
2010
2012
  const error: (opt: Pick<RestErrorResponseWrapper, "message" | "status" | "details" | "code"> | string) => void;
2011
2013
  type ResponseHtml = Models.Http.Response<string>;
2012
2014
  export import Response = Models.Http.Response;
@@ -2058,7 +2060,6 @@ declare namespace Taon {
2058
2060
  };
2059
2061
  };
2060
2062
  const inject: <T>(entity: () => new (...args: any[]) => T) => T;
2061
- const initNgZone: (ngZone: NgZone) => void;
2062
2063
  const symbols: typeof Symbols;
2063
2064
  /**
2064
2065
  * @deprecated