taon 19.0.62 → 19.0.64

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 (117) hide show
  1. package/browser/fesm2022/taon.mjs +181 -78
  2. package/browser/fesm2022/taon.mjs.map +1 -1
  3. package/browser/lib/base-classes/base-context.d.ts +6 -0
  4. package/browser/lib/base-classes/base-controller.d.ts +3 -3
  5. package/browser/lib/base-classes/base.d.ts +6 -0
  6. package/browser/lib/create-context.d.ts +12 -4
  7. package/browser/lib/endpoint-context-storage.d.ts +12 -0
  8. package/browser/lib/endpoint-context.d.ts +28 -8
  9. package/browser/lib/index.d.ts +19 -0
  10. package/browser/lib/models.d.ts +7 -8
  11. package/browser/package.json +1 -1
  12. package/lib/base-classes/base-context.d.ts +6 -0
  13. package/lib/base-classes/base-controller.d.ts +3 -3
  14. package/lib/base-classes/base-controller.js +2 -2
  15. package/lib/base-classes/base-controller.js.map +1 -1
  16. package/lib/base-classes/base.d.ts +6 -0
  17. package/lib/build-info._auto-generated_.d.ts +1 -1
  18. package/lib/build-info._auto-generated_.js +1 -1
  19. package/lib/context-db-migrations.js +5 -5
  20. package/lib/context-db-migrations.js.map +1 -1
  21. package/lib/create-context.d.ts +12 -4
  22. package/lib/create-context.js +35 -5
  23. package/lib/create-context.js.map +1 -1
  24. package/lib/decorators/classes/controller-config.d.ts +11 -0
  25. package/lib/decorators/classes/controller-config.js +10 -0
  26. package/lib/decorators/classes/controller-config.js.map +1 -1
  27. package/lib/decorators/classes/controller-options.d.ts +5 -0
  28. package/lib/decorators/classes/controller-options.js +4 -0
  29. package/lib/decorators/classes/controller-options.js.map +1 -1
  30. package/lib/endpoint-context-storage.d.ts +11 -0
  31. package/lib/endpoint-context-storage.js +38 -0
  32. package/lib/endpoint-context-storage.js.map +1 -0
  33. package/lib/endpoint-context.d.ts +28 -8
  34. package/lib/endpoint-context.js +96 -55
  35. package/lib/endpoint-context.js.map +1 -1
  36. package/lib/index.d.ts +19 -0
  37. package/lib/index.js +3 -1
  38. package/lib/index.js.map +1 -1
  39. package/lib/models.d.ts +7 -8
  40. package/lib/models.js.map +1 -1
  41. package/lib/realtime/realtime-client.js +12 -11
  42. package/lib/realtime/realtime-client.js.map +1 -1
  43. package/lib/realtime/realtime-core.js +6 -3
  44. package/lib/realtime/realtime-core.js.map +1 -1
  45. package/lib/realtime/realtime-server.js +6 -5
  46. package/lib/realtime/realtime-server.js.map +1 -1
  47. package/lib/ui/index.js +2 -2
  48. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  49. package/package.json +1 -1
  50. package/websql/fesm2022/taon.mjs +188 -85
  51. package/websql/fesm2022/taon.mjs.map +1 -1
  52. package/websql/lib/base-classes/base-context.d.ts +6 -0
  53. package/websql/lib/base-classes/base-controller.d.ts +3 -3
  54. package/websql/lib/base-classes/base.d.ts +6 -0
  55. package/websql/lib/create-context.d.ts +12 -4
  56. package/websql/lib/endpoint-context-storage.d.ts +12 -0
  57. package/websql/lib/endpoint-context.d.ts +28 -8
  58. package/websql/lib/index.d.ts +19 -0
  59. package/websql/lib/models.d.ts +7 -8
  60. package/websql/package.json +1 -1
  61. package/lib/env.d.ts +0 -2
  62. package/lib/env.js +0 -7
  63. package/lib/env.js.map +0 -1
  64. package/lib/storage.d.ts +0 -1
  65. package/lib/storage.js +0 -6
  66. package/lib/storage.js.map +0 -1
  67. package/lib/ui/directives/index.d.ts +0 -3
  68. package/lib/ui/directives/index.js +0 -5
  69. package/lib/ui/directives/index.js.map +0 -1
  70. package/lib/ui/directives/safe.pipe.d.ts +0 -7
  71. package/lib/ui/directives/taon-inject-html.directive.d.ts +0 -6
  72. package/lib/ui/directives/taon-long-press.directive.d.ts +0 -22
  73. package/lib/ui/directives/view-mode.d.ts +0 -5
  74. package/lib/ui/directives/view-mode.js +0 -10
  75. package/lib/ui/directives/view-mode.js.map +0 -1
  76. package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +0 -43
  77. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.d.ts +0 -5
  78. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js +0 -3
  79. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +0 -1
  80. package/lib/ui/taon-full-material.module.d.ts +0 -5
  81. package/lib/ui/taon-github-fork-me-corner/index.d.ts +0 -2
  82. package/lib/ui/taon-github-fork-me-corner/index.js +0 -5
  83. package/lib/ui/taon-github-fork-me-corner/index.js.map +0 -1
  84. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +0 -3
  85. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +0 -2
  86. package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +0 -2
  87. package/lib/ui/taon-github-fork-me-ribbon/index.js +0 -5
  88. package/lib/ui/taon-github-fork-me-ribbon/index.js.map +0 -1
  89. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +0 -3
  90. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +0 -2
  91. package/lib/ui/taon-notifications/index.d.ts +0 -4
  92. package/lib/ui/taon-notifications/index.js +0 -24
  93. package/lib/ui/taon-notifications/index.js.map +0 -1
  94. package/lib/ui/taon-notifications/taon-notifications.component.d.ts +0 -9
  95. package/lib/ui/taon-notifications/taon-notifications.models.d.ts +0 -6
  96. package/lib/ui/taon-notifications/taon-notifications.models.js +0 -5
  97. package/lib/ui/taon-notifications/taon-notifications.models.js.map +0 -1
  98. package/lib/ui/taon-notifications/taon-notifications.module.d.ts +0 -2
  99. package/lib/ui/taon-notifications/taon-notifications.service.d.ts +0 -11
  100. package/lib/ui/taon-progress-bar/index.d.ts +0 -2
  101. package/lib/ui/taon-progress-bar/index.js +0 -5
  102. package/lib/ui/taon-progress-bar/index.js.map +0 -1
  103. package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +0 -13
  104. package/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +0 -2
  105. package/lib/ui/taon-session-passcode/index.d.ts +0 -1
  106. package/lib/ui/taon-session-passcode/index.js +0 -5
  107. package/lib/ui/taon-session-passcode/index.js.map +0 -1
  108. package/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +0 -35
  109. package/lib/ui/taon-table/index.d.ts +0 -2
  110. package/lib/ui/taon-table/index.js +0 -5
  111. package/lib/ui/taon-table/index.js.map +0 -1
  112. package/lib/ui/taon-table/taon-table.component.d.ts +0 -34
  113. package/lib/ui/taon-table/taon-table.module.d.ts +0 -2
  114. package/lib/ui/taon.models.d.ts +0 -11
  115. package/lib/ui/taon.models.js +0 -3
  116. package/lib/ui/taon.models.js.map +0 -1
  117. package/tmp-environment.json +0 -39
@@ -2,6 +2,12 @@
2
2
  declare const BaseContext: {
3
3
  readonly contextName: string;
4
4
  readonly appId: string;
5
+ cloneAsRemote: (cloneOpt?: {
6
+ overrideRemoteHost?: string;
7
+ }) => /*elided*/ any;
8
+ cloneAsNormal: (cloneOpt?: {
9
+ overrideHost?: string;
10
+ }) => /*elided*/ any;
5
11
  __ref(): Promise<import("taon/websql").EndpointContext>;
6
12
  readonly __refSync: import("taon/websql").EndpointContext;
7
13
  getClassInstance<T>(ctor: new (...args: any[]) => T): T;
@@ -1,5 +1,5 @@
1
1
  // @ts-nocheck
2
- import type { EndpointContext } from '../endpoint-context';
2
+ import type { ContextsEndpointStorage } from '../endpoint-context-storage';
3
3
  import type { Models } from '../models';
4
4
  import { BaseInjector } from './base-injector';
5
5
  export interface MulterFileUploadResponse {
@@ -18,8 +18,8 @@ export declare class BaseController<T = any> extends BaseInjector {
18
18
  * Hook that is called when taon app is inited
19
19
  * (all contexts are created and inited)
20
20
  */
21
- afterAllCtxInited(allContexts?: {
22
- [contextName: string]: EndpointContext;
21
+ afterAllCtxInited(options: {
22
+ ctxStorage: ContextsEndpointStorage;
23
23
  }): Promise<void>;
24
24
  uploadFormDataToServer(formData: FormData): Models.Http.Response<MulterFileUploadResponse[]>;
25
25
  /**
@@ -28,6 +28,12 @@ export declare namespace Base {
28
28
  const Context: {
29
29
  readonly contextName: string;
30
30
  readonly appId: string;
31
+ cloneAsRemote: (cloneOpt?: {
32
+ overrideRemoteHost?: string;
33
+ }) => /*elided*/ any;
34
+ cloneAsNormal: (cloneOpt?: {
35
+ overrideHost?: string;
36
+ }) => /*elided*/ any;
31
37
  __ref(): Promise<import("taon/websql").EndpointContext>;
32
38
  readonly __refSync: import("taon/websql").EndpointContext;
33
39
  getClassInstance<T>(ctor: new (...args: any[]) => T): T;
@@ -9,6 +9,12 @@ import { Models } from './models';
9
9
  export declare const createContextTemplate: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>, MIDDLEWARE extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION, MIDDLEWARE>) => () => {
10
10
  readonly contextName: string;
11
11
  readonly appId: string;
12
+ cloneAsRemote: (cloneOpt?: {
13
+ overrideRemoteHost?: string;
14
+ }) => /*elided*/ any;
15
+ cloneAsNormal: (cloneOpt?: {
16
+ overrideHost?: string;
17
+ }) => /*elided*/ any;
12
18
  /**
13
19
  * @deprecated
14
20
  * - get reference to internal context
@@ -35,13 +41,15 @@ export declare const createContextTemplate: <CTX extends Record<string, object>,
35
41
  readonly server: import("./realtime/realtime-server").RealtimeServer;
36
42
  };
37
43
  };
38
- /**
39
- * REQURIED PROPERTY:
40
- * - contextName
41
- */
42
44
  export declare const createContext: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>, MIDDLEWARES extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION, MIDDLEWARES>) => {
43
45
  readonly contextName: string;
44
46
  readonly appId: string;
47
+ cloneAsRemote: (cloneOpt?: {
48
+ overrideRemoteHost?: string;
49
+ }) => /*elided*/ any;
50
+ cloneAsNormal: (cloneOpt?: {
51
+ overrideHost?: string;
52
+ }) => /*elided*/ any;
45
53
  /**
46
54
  * @deprecated
47
55
  * - get reference to internal context
@@ -0,0 +1,12 @@
1
+ // @ts-nocheck
2
+ import type { EndpointContext } from './endpoint-context';
3
+ export declare class ContextsEndpointStorage {
4
+ SPECIAL_APP_READY_MESSAGE: string;
5
+ private taonEndpointContexts;
6
+ private static instance;
7
+ private constructor();
8
+ static get Instance(): ContextsEndpointStorage;
9
+ set(context: EndpointContext): void;
10
+ get arr(): EndpointContext[];
11
+ getBy(context: Partial<EndpointContext> | string): EndpointContext | undefined;
12
+ }
@@ -6,10 +6,18 @@ import type { Repository } from 'taon-typeorm/websql';
6
6
  import { DataSource } from 'taon-typeorm/websql';
7
7
  import type { BaseInjector } from './base-classes/base-injector';
8
8
  import { ContextDbMigrations } from './context-db-migrations';
9
+ import type { ContextsEndpointStorage } from './endpoint-context-storage';
9
10
  import { Models } from './models';
10
11
  export declare class EndpointContext {
11
12
  private originalConfig;
12
13
  private configFn;
14
+ /**
15
+ * (@default: false)
16
+ * If TRUE context is NOT going to create db/express server/http endpoints
17
+ * PURPOSE OF THIS PROPERTY
18
+ * -> ONLY remote access from backend or frontend to specific backend
19
+ */
20
+ private readonly cloneOptions;
13
21
  /**
14
22
  * JUST FOR TESTING PURPOSES
15
23
  */
@@ -36,6 +44,7 @@ export declare class EndpointContext {
36
44
  method: Models.Http.Rest.HttpMethod;
37
45
  }[];
38
46
  repos: Map<string, Repository<any>>;
47
+ get sourceContext(): EndpointContext | undefined;
39
48
  readonly skipWritingServerRoutes: boolean;
40
49
  private injectableTypesfromContexts;
41
50
  private allTypesfromContexts;
@@ -65,11 +74,16 @@ export declare class EndpointContext {
65
74
  * Inside docker there is not need for https secure server
66
75
  */
67
76
  readonly isRunningInsideDocker: boolean;
68
- constructor(originalConfig: Models.ContextOptions<any, any, any, any, any, any, any, any>, configFn: (env: any) => Models.ContextOptions<any, any, any, any, any, any, any, any>);
77
+ constructor(originalConfig: Models.ContextOptions<any, any, any, any, any, any, any, any>, configFn: (env: any) => Models.ContextOptions<any, any, any, any, any, any, any, any>,
78
+ /**
79
+ * (@default: false)
80
+ * If TRUE context is NOT going to create db/express server/http endpoints
81
+ * PURPOSE OF THIS PROPERTY
82
+ * -> ONLY remote access from backend or frontend to specific backend
83
+ */
84
+ cloneOptions: Models.TaonCtxCloneParams);
69
85
  init(options?: {
70
86
  initFromRecrusiveContextResovle?: boolean;
71
- overrideHost?: string | null;
72
- overrideRemoteHost?: string | null;
73
87
  onlyMigrationRun?: boolean;
74
88
  onlyMigrationRevertToTimestamp?: number;
75
89
  }): Promise<void>;
@@ -108,7 +122,7 @@ export declare class EndpointContext {
108
122
  initClasses(): Promise<void>;
109
123
  isActiveOn(classInstance: object): boolean;
110
124
  get frontendHostUri(): URL;
111
- get uri(): URL;
125
+ get uri(): URL | undefined;
112
126
  get uriProtocol(): string | undefined;
113
127
  /**
114
128
  * Examples
@@ -136,10 +150,19 @@ export declare class EndpointContext {
136
150
  */
137
151
  get port(): Number | undefined;
138
152
  get isHttpServer(): boolean;
153
+ get isRemoteHost(): boolean;
139
154
  /**
140
155
  * ipc/udp needs this
141
156
  */
142
157
  get contextName(): string;
158
+ /**
159
+ * ipc/udp needs this
160
+ */
161
+ get contextNameForCommunication(): string;
162
+ /**
163
+ * Check context type
164
+ */
165
+ get contextType(): 'normal' | 'remote' | 'abstract' | 'invalid';
143
166
  get cwd(): string;
144
167
  get activeContext(): string | null;
145
168
  get appId(): string;
@@ -148,7 +171,6 @@ export declare class EndpointContext {
148
171
  locationOnDisk: string;
149
172
  }[];
150
173
  get isProductionMode(): boolean;
151
- get remoteHost(): string;
152
174
  get host(): string;
153
175
  get orgin(): string;
154
176
  initSubscribers(): Promise<void>;
@@ -157,9 +179,7 @@ export declare class EndpointContext {
157
179
  initDatabaseConnection(): Promise<void>;
158
180
  private updateCalculatedPathsForControllers;
159
181
  private mergeControllerMethodsConfigs;
160
- initControllersHook(allInitedEndpointContexts: {
161
- [contextName: string]: EndpointContext;
162
- }): Promise<void>;
182
+ initControllersHook(ctxStorage: ContextsEndpointStorage): Promise<void>;
163
183
  initControllers(): Promise<void>;
164
184
  writeActiveRoutes(): void;
165
185
  get middlewares(): Models.MiddlewareType[];
@@ -30,6 +30,7 @@ export { Models } from './models';
30
30
  export { BaseFileUploadMiddleware } from './base-classes/base-file-upload.middleware';
31
31
  export * from './constants';
32
32
  export { MulterFileUploadResponse } from './base-classes/base-controller';
33
+ export { ContextsEndpointStorage } from './endpoint-context-storage';
33
34
  export { ClassHelpers } from './helpers/class-helpers';
34
35
  export type { TaonClientMiddlewareInterceptOptions, TaonServerMiddlewareInterceptOptions, } from 'ng2-rest/websql';
35
36
  export declare namespace Taon {
@@ -56,6 +57,12 @@ export declare namespace Taon {
56
57
  const createContext: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>, MIDDLEWARES extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => models.Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION, MIDDLEWARES>) => {
57
58
  readonly contextName: string;
58
59
  readonly appId: string;
60
+ cloneAsRemote: (cloneOpt?: {
61
+ overrideRemoteHost?: string;
62
+ }) => /*elided*/ any;
63
+ cloneAsNormal: (cloneOpt?: {
64
+ overrideHost?: string;
65
+ }) => /*elided*/ any;
59
66
  __ref(): Promise<endpointContext.EndpointContext>;
60
67
  readonly __refSync: endpointContext.EndpointContext;
61
68
  getClassInstance<T>(ctor: new (...args: any[]) => T): T;
@@ -69,6 +76,12 @@ export declare namespace Taon {
69
76
  const createContextTemplate: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>, MIDDLEWARE extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => models.Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION, MIDDLEWARE>) => () => {
70
77
  readonly contextName: string;
71
78
  readonly appId: string;
79
+ cloneAsRemote: (cloneOpt?: {
80
+ overrideRemoteHost?: string;
81
+ }) => /*elided*/ any;
82
+ cloneAsNormal: (cloneOpt?: {
83
+ overrideHost?: string;
84
+ }) => /*elided*/ any;
72
85
  __ref(): Promise<endpointContext.EndpointContext>;
73
86
  readonly __refSync: endpointContext.EndpointContext;
74
87
  getClassInstance<T>(ctor: new (...args: any[]) => T): T;
@@ -93,6 +106,12 @@ export declare namespace Taon {
93
106
  }) => Promise<{
94
107
  readonly contextName: string;
95
108
  readonly appId: string;
109
+ cloneAsRemote: (cloneOpt?: {
110
+ overrideRemoteHost?: string;
111
+ }) => /*elided*/ any;
112
+ cloneAsNormal: (cloneOpt?: {
113
+ overrideHost?: string;
114
+ }) => /*elided*/ any;
96
115
  __ref(): Promise<endpointContext.EndpointContext>;
97
116
  readonly __refSync: endpointContext.EndpointContext;
98
117
  getClassInstance<T>(ctor: new (...args: any[]) => T): T;
@@ -3,6 +3,7 @@ import type { RequestHandler } from 'express';
3
3
  import { Response as ExpressResponse, Request as ExpressRequest } from 'express';
4
4
  import { Models as ModelsNg2Rest } from 'ng2-rest/websql';
5
5
  import { CoreModels } from 'tnp-core/websql';
6
+ import type { EndpointContext } from './endpoint-context';
6
7
  export declare namespace Models {
7
8
  type FrameworkMode = 'backend-frontend(tcp+udp)' | 'remote-backend(tcp+udp)' | 'backend-frontend(ipc-electron)' | 'backend-frontend(websql-electron)' | 'backend-frontend(websql)';
8
9
  enum ClassType {
@@ -112,12 +113,6 @@ export declare namespace Models {
112
113
  * Needs to be specified in docker environment only
113
114
  */
114
115
  frontendHostPortNumber?: number;
115
- /**
116
- * IMPORTANT! provide full url that starts with http:// or https://
117
- * backend way of communication
118
- * between taon backends/processes
119
- */
120
- remoteHost?: string;
121
116
  /**
122
117
  * User ipc for communication between BE/FE
123
118
  * when electron is used as a platform
@@ -256,9 +251,13 @@ export declare namespace Models {
256
251
  onlyMigrationRevertToTimestamp?: number;
257
252
  }
258
253
  interface TaonInitializeParams {
259
- overrideHost?: string;
260
- overrideRemoteHost?: string;
261
254
  onlyMigrationRun?: boolean;
262
255
  onlyMigrationRevertToTimestamp?: number;
263
256
  }
257
+ interface TaonCtxCloneParams {
258
+ useAsRemoteContext?: boolean;
259
+ overrideRemoteHost?: string;
260
+ overrideHost?: string;
261
+ sourceContext?: EndpointContext;
262
+ }
264
263
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon/websql",
3
- "version": "19.0.62",
3
+ "version": "19.0.64",
4
4
  "module": "fesm2022/taon.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {
package/lib/env.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const ENV: any;
2
- export { ENV };
package/lib/env.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ENV = void 0;
4
- const lib_1 = require("tnp-core/lib");
5
- const ENV = lib_1.Helpers.isBrowser ? window['ENV'] : global['ENV'];
6
- exports.ENV = ENV;
7
- //# sourceMappingURL=env.js.map
package/lib/env.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"env.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,sCAAuC;AAEvC,MAAM,GAAG,GAAG,aAAO,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAErD,kBAAG"}
package/lib/storage.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const globalPublicStorage: typeof globalThis;
package/lib/storage.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.globalPublicStorage = void 0;
4
- const lib_1 = require("tnp-core/lib");
5
- exports.globalPublicStorage = lib_1.Helpers.isBrowser ? window : global;
6
- //# sourceMappingURL=storage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,sCAAuC;AAE1B,QAAA,mBAAmB,GAAG,aAAO,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './taon-long-press.directive';
2
- export * from './taon-inject-html.directive';
3
- export * from './safe.pipe';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818329 = dummy1747308818329;
4
- function dummy1747308818329() { }
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
3
- export declare class SafePipe implements PipeTransform {
4
- protected sanitizer: DomSanitizer;
5
- constructor(sanitizer: DomSanitizer);
6
- transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
7
- }
@@ -1,6 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- export declare class TaonInjectHTMLDirective {
3
- private host;
4
- set taonInjectHTML(content: string);
5
- constructor(host: ElementRef);
6
- }
@@ -1,22 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { _ } from 'tnp-core';
3
- export declare class TaonLongPress {
4
- pressDuration: number;
5
- onLongPress: EventEmitter<any>;
6
- onLongPressing: EventEmitter<any>;
7
- onLongPressEnd: EventEmitter<any>;
8
- private pressing;
9
- private longPressing;
10
- private timeout;
11
- private mouseX;
12
- private mouseY;
13
- get press(): boolean;
14
- get longPress(): boolean;
15
- allowTrigger: boolean;
16
- triggerEnd: (() => void) & _.Cancelable;
17
- onMouseDown(event: any): void;
18
- onMouseMove(event: any): void;
19
- loop(event: any): void;
20
- endPress(emit?: boolean): void;
21
- onMouseUp(): void;
22
- }
@@ -1,5 +0,0 @@
1
- export declare enum ViewMode {
2
- Add = "Add",
3
- Edit = "Edit",
4
- Preview = "Preview"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ViewMode = void 0;
4
- var ViewMode;
5
- (function (ViewMode) {
6
- ViewMode["Add"] = "Add";
7
- ViewMode["Edit"] = "Edit";
8
- ViewMode["Preview"] = "Preview";
9
- })(ViewMode || (exports.ViewMode = ViewMode = {}));
10
- //# sourceMappingURL=view-mode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"view-mode.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,+BAAmB,CAAA;AACrB,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB"}
@@ -1,43 +0,0 @@
1
- import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
2
- import { ChangeDetectorRef, EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
3
- import { Subject } from 'rxjs';
4
- import { BreakpointsService } from 'static-columns';
5
- import { TaonAdminService } from './taon-admin.service';
6
- export declare class TaonAdminModeConfigurationComponent implements OnInit, AfterViewInit, OnDestroy {
7
- private breakpointsService;
8
- $destroy: Subject<unknown>;
9
- readonly cdr: ChangeDetectorRef;
10
- readonly taonAdminService: TaonAdminService;
11
- readonly isDesktop: boolean;
12
- isWebSQLMode: boolean;
13
- hideTaonToolsInProduction: boolean;
14
- isIframe: boolean;
15
- height: number;
16
- openedOnce: boolean;
17
- reloading: boolean;
18
- showPasscode: boolean;
19
- passcode: string;
20
- message: string;
21
- dragPositionX: number;
22
- dragPositionY: number;
23
- dragPositionZero: Point;
24
- dragPosition: Point;
25
- selectedIndex: number;
26
- tabGroup: any;
27
- wasOpenDraggablePopup: boolean;
28
- taonAdminModeConfigurationDataChanged: EventEmitter<any>;
29
- taonAdminModeConfigurationData: any;
30
- get opened(): boolean;
31
- set opened(v: boolean);
32
- constructor(breakpointsService: BreakpointsService);
33
- ngOnInit(): Promise<void>;
34
- ngAfterViewInit(): void;
35
- ngOnDestroy(): void;
36
- onResize(event: Event): void;
37
- reloadTabs(): Promise<void>;
38
- toogle(): Promise<void>;
39
- toogleFullScreen(): Promise<void>;
40
- resetDrag(): void;
41
- moved(c: CdkDragEnd): void;
42
- scrollTabs(event: any): void;
43
- }
@@ -1,5 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- export interface TaonAdminModeTab {
3
- name: string;
4
- template: TemplateRef<any>;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=taon-admin.models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taon-admin.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated too heavy!
3
- */
4
- export declare class TaonFullMaterialModule {
5
- }
@@ -1,2 +0,0 @@
1
- export * from './taon-github-fork-me-corner.component';
2
- export * from './taon-github-fork-me-corner.module';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818363 = dummy1747308818363;
4
- function dummy1747308818363() { }
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare class TaonGithubForkMeCornerComponent {
2
- url: string;
3
- }
@@ -1,2 +0,0 @@
1
- export declare class TaonGithubForkMeCornerModule {
2
- }
@@ -1,2 +0,0 @@
1
- export * from './taon-github-fork-me-ribbon.component';
2
- export * from './taon-github-fork-me-ribbon.module';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818371 = dummy1747308818371;
4
- function dummy1747308818371() { }
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare class TaonGithubForkMeRibbonComponent {
2
- url: string;
3
- }
@@ -1,2 +0,0 @@
1
- export declare class TaonGithubForkMeRibbonModule {
2
- }
@@ -1,4 +0,0 @@
1
- export * from './taon-notifications.component';
2
- export * from './taon-notifications.models';
3
- export * from './taon-notifications.module';
4
- export * from './taon-notifications.service';
@@ -1,24 +0,0 @@
1
- "use strict";
2
- /* */
3
- /* */
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- __exportStar(require("./taon-notifications.models"), exports);
20
- /* */
21
- /* */
22
- /* */
23
- /* */
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";AAAA,KAAK;AACL,KAAK;;;;;;;;;;;;;;;;AAEL,8DAA4C;AAC5C,KAAK;AACL,KAAK;AAEL,KAAK;AACL,KAAK"}
@@ -1,9 +0,0 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { TaonNotificationsService } from './taon-notifications.service';
4
- export declare class TaonNotificationsComponent implements OnInit {
5
- private notification;
6
- constructor(notification: TaonNotificationsService);
7
- ngOnInit(): void;
8
- init(subscribtionsArray: Subscription[], template: TemplateRef<any>, callback: (dataToTempalte: any) => any): void;
9
- }
@@ -1,6 +0,0 @@
1
- import { HotToastService } from '@ngneat/hot-toast';
2
- export declare class TaonNotificationOptions {
3
- title: string;
4
- subtitle?: string;
5
- }
6
- export type TaonNotificationType = keyof Omit<HotToastService, 'defaultConfig' | 'observe'>;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818386 = dummy1747308818386;
4
- function dummy1747308818386() { }
5
- //# sourceMappingURL=taon-notifications.models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taon-notifications.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare class TaonNotificationsModule {
2
- }
@@ -1,11 +0,0 @@
1
- import { HotToastService } from '@ngneat/hot-toast';
2
- import { TaonNotificationOptions } from './taon-notifications.models';
3
- export declare class TaonNotificationsService {
4
- private toast;
5
- constructor(toast: HotToastService);
6
- private options;
7
- success(options: TaonNotificationOptions | string): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
8
- error(options: TaonNotificationOptions | string): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
9
- warn(options: TaonNotificationOptions | string): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
10
- info(options: TaonNotificationOptions | string): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
11
- }
@@ -1,2 +0,0 @@
1
- export * from './taon-progress-bar.component';
2
- export * from './taon-progress-bar.module';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818392 = dummy1747308818392;
4
- function dummy1747308818392() { }
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
@@ -1,13 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- export declare class TaonProgressBarComponent implements OnInit {
4
- labProgress: any;
5
- isDesktop: boolean;
6
- admin: any;
7
- handlers: Subscription[];
8
- constructor();
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- ngAfterViewInit(): void;
12
- loadProgressBar(config: any, instance?: import("axios").AxiosStatic): void;
13
- }
@@ -1,2 +0,0 @@
1
- export declare class TaonProgressBarModule {
2
- }
@@ -1 +0,0 @@
1
- export * from './taon-session-passcode.component';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747308818401 = dummy1747308818401;
4
- function dummy1747308818401() { }
5
- //# sourceMappingURL=index.js.map