taon 19.0.51 → 19.0.53

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 (146) hide show
  1. package/README.md +160 -160
  2. package/bin/start.js +279 -279
  3. package/bin/taon +6 -6
  4. package/bin/taon-debug +5 -5
  5. package/bin/taon-debug-brk +5 -5
  6. package/browser/README.md +24 -24
  7. package/browser/fesm2022/taon.mjs +188 -95
  8. package/browser/fesm2022/taon.mjs.map +1 -1
  9. package/browser/lib/base-classes/base-angular-service.d.ts +3 -6
  10. package/browser/lib/base-classes/base-context.d.ts +1 -0
  11. package/browser/lib/base-classes/base-controller.d.ts +0 -6
  12. package/browser/lib/base-classes/base-injector.d.ts +4 -5
  13. package/browser/lib/base-classes/base-middleware.d.ts +17 -0
  14. package/browser/lib/base-classes/base.d.ts +3 -0
  15. package/browser/lib/constants.d.ts +1 -1
  16. package/browser/lib/create-context.d.ts +4 -2
  17. package/browser/lib/decorators/classes/middleware-decorator.d.ts +8 -0
  18. package/browser/lib/endpoint-context.d.ts +7 -6
  19. package/browser/lib/index.d.ts +8 -2
  20. package/browser/lib/models.d.ts +65 -5
  21. package/browser/package.json +1 -1
  22. package/lib/base-classes/base-angular-service.d.ts +3 -6
  23. package/lib/base-classes/base-angular-service.js +12 -16
  24. package/lib/base-classes/base-angular-service.js.map +1 -1
  25. package/lib/base-classes/base-context.d.ts +1 -0
  26. package/lib/base-classes/base-controller.d.ts +0 -6
  27. package/lib/base-classes/base-controller.js +0 -8
  28. package/lib/base-classes/base-controller.js.map +1 -1
  29. package/lib/base-classes/base-injector.d.ts +4 -5
  30. package/lib/base-classes/base-injector.js +6 -7
  31. package/lib/base-classes/base-injector.js.map +1 -1
  32. package/lib/base-classes/base-middleware.d.ts +20 -0
  33. package/lib/base-classes/base-middleware.js +13 -0
  34. package/lib/base-classes/base-middleware.js.map +1 -0
  35. package/lib/base-classes/base.d.ts +3 -0
  36. package/lib/base-classes/base.js +2 -0
  37. package/lib/base-classes/base.js.map +1 -1
  38. package/lib/build-info._auto-generated_.d.ts +1 -1
  39. package/lib/build-info._auto-generated_.js +1 -1
  40. package/lib/constants.d.ts +1 -1
  41. package/lib/constants.js +2 -3
  42. package/lib/constants.js.map +1 -1
  43. package/lib/create-context.d.ts +4 -2
  44. package/lib/create-context.js +40 -36
  45. package/lib/create-context.js.map +1 -1
  46. package/lib/decorators/classes/middleware-decorator.d.ts +7 -0
  47. package/lib/decorators/classes/middleware-decorator.js +21 -0
  48. package/lib/decorators/classes/middleware-decorator.js.map +1 -0
  49. package/lib/decorators/classes/provider-decorator.js +1 -1
  50. package/lib/decorators/classes/provider-decorator.js.map +1 -1
  51. package/lib/endpoint-context.d.ts +7 -6
  52. package/lib/endpoint-context.js +87 -32
  53. package/lib/endpoint-context.js.map +1 -1
  54. package/lib/index.d.ts +8 -2
  55. package/lib/index.js +2 -0
  56. package/lib/index.js.map +1 -1
  57. package/lib/models.d.ts +65 -5
  58. package/lib/models.js +7 -5
  59. package/lib/models.js.map +1 -1
  60. package/lib/realtime/realtime-client.js +2 -1
  61. package/lib/realtime/realtime-client.js.map +1 -1
  62. package/lib/ui/index.js +2 -2
  63. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  64. package/package.json +1 -1
  65. package/websql/README.md +24 -24
  66. package/websql/fesm2022/taon.mjs +192 -97
  67. package/websql/fesm2022/taon.mjs.map +1 -1
  68. package/websql/lib/base-classes/base-angular-service.d.ts +3 -6
  69. package/websql/lib/base-classes/base-context.d.ts +1 -0
  70. package/websql/lib/base-classes/base-controller.d.ts +0 -6
  71. package/websql/lib/base-classes/base-injector.d.ts +4 -5
  72. package/websql/lib/base-classes/base-middleware.d.ts +21 -0
  73. package/websql/lib/base-classes/base.d.ts +3 -0
  74. package/websql/lib/constants.d.ts +1 -1
  75. package/websql/lib/create-context.d.ts +4 -2
  76. package/websql/lib/decorators/classes/middleware-decorator.d.ts +8 -0
  77. package/websql/lib/endpoint-context.d.ts +7 -6
  78. package/websql/lib/index.d.ts +8 -2
  79. package/websql/lib/models.d.ts +65 -5
  80. package/websql/package.json +1 -1
  81. package/env.d.ts +0 -3
  82. package/environments/angular-node-app/env.angular-node-app.__.d.ts +0 -3
  83. package/environments/angular-node-app/env.angular-node-app.dev.d.ts +0 -3
  84. package/environments/angular-node-app/env.angular-node-app.localhost.d.ts +0 -3
  85. package/environments/angular-node-app/env.angular-node-app.prod.d.ts +0 -3
  86. package/environments/angular-node-app/env.angular-node-app.stage.d.ts +0 -3
  87. package/environments/docs-webapp/env.docs-webapp.__.d.ts +0 -3
  88. package/environments/electron-app/env.electron-app.__.d.ts +0 -3
  89. package/environments/electron-app/env.electron-app.prod.d.ts +0 -3
  90. package/environments/mobile-app/env.mobile-app.__.d.ts +0 -3
  91. package/environments/mobile-app/env.mobile-app.prod.d.ts +0 -3
  92. package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.__.d.ts +0 -3
  93. package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.prod.d.ts +0 -3
  94. package/environments/vscode-plugin/env.vscode-plugin.__.d.ts +0 -6
  95. package/environments/vscode-plugin/env.vscode-plugin.prod.d.ts +0 -4
  96. package/lib/ui/directives/index.d.ts +0 -3
  97. package/lib/ui/directives/index.js +0 -5
  98. package/lib/ui/directives/index.js.map +0 -1
  99. package/lib/ui/directives/safe.pipe.d.ts +0 -7
  100. package/lib/ui/directives/taon-inject-html.directive.d.ts +0 -6
  101. package/lib/ui/directives/taon-long-press.directive.d.ts +0 -22
  102. package/lib/ui/directives/view-mode.d.ts +0 -5
  103. package/lib/ui/directives/view-mode.js +0 -10
  104. package/lib/ui/directives/view-mode.js.map +0 -1
  105. package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +0 -43
  106. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.d.ts +0 -5
  107. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js +0 -3
  108. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +0 -1
  109. package/lib/ui/taon-full-material.module.d.ts +0 -5
  110. package/lib/ui/taon-github-fork-me-corner/index.d.ts +0 -2
  111. package/lib/ui/taon-github-fork-me-corner/index.js +0 -5
  112. package/lib/ui/taon-github-fork-me-corner/index.js.map +0 -1
  113. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +0 -3
  114. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +0 -2
  115. package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +0 -2
  116. package/lib/ui/taon-github-fork-me-ribbon/index.js +0 -5
  117. package/lib/ui/taon-github-fork-me-ribbon/index.js.map +0 -1
  118. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +0 -3
  119. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +0 -2
  120. package/lib/ui/taon-notifications/index.d.ts +0 -4
  121. package/lib/ui/taon-notifications/index.js +0 -24
  122. package/lib/ui/taon-notifications/index.js.map +0 -1
  123. package/lib/ui/taon-notifications/taon-notifications.component.d.ts +0 -9
  124. package/lib/ui/taon-notifications/taon-notifications.models.d.ts +0 -6
  125. package/lib/ui/taon-notifications/taon-notifications.models.js +0 -5
  126. package/lib/ui/taon-notifications/taon-notifications.models.js.map +0 -1
  127. package/lib/ui/taon-notifications/taon-notifications.module.d.ts +0 -2
  128. package/lib/ui/taon-notifications/taon-notifications.service.d.ts +0 -11
  129. package/lib/ui/taon-progress-bar/index.d.ts +0 -2
  130. package/lib/ui/taon-progress-bar/index.js +0 -5
  131. package/lib/ui/taon-progress-bar/index.js.map +0 -1
  132. package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +0 -13
  133. package/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +0 -2
  134. package/lib/ui/taon-session-passcode/index.d.ts +0 -1
  135. package/lib/ui/taon-session-passcode/index.js +0 -5
  136. package/lib/ui/taon-session-passcode/index.js.map +0 -1
  137. package/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +0 -35
  138. package/lib/ui/taon-table/index.d.ts +0 -2
  139. package/lib/ui/taon-table/index.js +0 -5
  140. package/lib/ui/taon-table/index.js.map +0 -1
  141. package/lib/ui/taon-table/taon-table.component.d.ts +0 -34
  142. package/lib/ui/taon-table/taon-table.module.d.ts +0 -2
  143. package/lib/ui/taon.models.d.ts +0 -11
  144. package/lib/ui/taon.models.js +0 -3
  145. package/lib/ui/taon.models.js.map +0 -1
  146. package/tmp-environment.json +0 -32
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747934100346 = dummy1747934100346;
4
- function dummy1747934100346() { }
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.dummy1747934100348 = dummy1747934100348;
4
- function dummy1747934100348() { }
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.dummy1747934100353 = dummy1747934100353;
4
- function dummy1747934100353() { }
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.dummy1747934100355 = dummy1747934100355;
4
- function dummy1747934100355() { }
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.dummy1747934100358 = dummy1747934100358;
4
- function dummy1747934100358() { }
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,35 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, ElementRef, OnInit } from '@angular/core';
2
- import { FormControl, FormGroup } from '@angular/forms';
3
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
- export interface TaonSessionPasscodeModel {
5
- passcode: string;
6
- }
7
- export type TaonSessionPasscodeForm = {
8
- [prop in keyof TaonSessionPasscodeModel]: FormControl<TaonSessionPasscodeModel[prop]>;
9
- };
10
- export declare class TaonSessionPasscodeComponent implements OnInit {
11
- private element;
12
- private domSanitizer;
13
- private cdr;
14
- destroyRef: DestroyRef;
15
- passcode: string;
16
- message: string;
17
- safeMessage: SafeHtml;
18
- private lastPasscode;
19
- display: string;
20
- form: FormGroup<TaonSessionPasscodeForm>;
21
- constructor(element: ElementRef<HTMLElement>, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef);
22
- ngOnInit(): void;
23
- submit({ passcode }: Partial<TaonSessionPasscodeModel>): void;
24
- private isPasscodeOK;
25
- ngAfterViewInit(): void;
26
- focus(): void;
27
- hide(): void;
28
- show(): void;
29
- clear(): void;
30
- onKeyup(event: KeyboardEvent & {
31
- target: {
32
- value: string;
33
- };
34
- }): void;
35
- }
@@ -1,2 +0,0 @@
1
- export * from './taon-table.component';
2
- export * from './taon-table.module';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1747934100361 = dummy1747934100361;
4
- function dummy1747934100361() { }
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,34 +0,0 @@
1
- import { OnInit, TemplateRef, EventEmitter, ElementRef, OnDestroy } from '@angular/core';
2
- import { PageEvent } from '@angular/material/paginator';
3
- import { MtxGridColumn } from '@ng-matero/extensions/grid';
4
- import { Taon } from 'taon';
5
- export declare class TaonTableComponent implements OnDestroy, OnInit {
6
- pageNumber: number;
7
- pageSize: number;
8
- allowedColumns: string[];
9
- expansionTemplate: TemplateRef<any>;
10
- rows: {
11
- id: number;
12
- name: string;
13
- }[];
14
- entityCrudController: Taon.Base.CrudController<any>;
15
- columns: MtxGridColumn[];
16
- pageSizeOptions: number[];
17
- hideSearch: boolean;
18
- expansionChange: EventEmitter<any>;
19
- addingItem: EventEmitter<void>;
20
- search?: ElementRef<HTMLElement>;
21
- private searchInputChange$;
22
- expandable: boolean;
23
- showPaginator: boolean;
24
- isLoading: boolean;
25
- totalElements: number;
26
- private sub;
27
- get entity(): typeof Taon.Base.Entity;
28
- ngOnInit(): Promise<void>;
29
- ngOnDestroy(): void;
30
- getNextPage(e: PageEvent): Promise<void>;
31
- getData(): Promise<void>;
32
- expansionRow(e: any): void;
33
- onTableContextMenu(e: any): void;
34
- }
@@ -1,2 +0,0 @@
1
- export declare class TaonTableModule {
2
- }
@@ -1,11 +0,0 @@
1
- import { CoreModels } from 'tnp-core';
2
- export type TaonDisplayMode = 'view' | 'edit';
3
- export interface TaonUploadedFile {
4
- data: Buffer;
5
- encoding: string;
6
- md5: string;
7
- mimetype: CoreModels.ContentType;
8
- mv: (path: any, callback: any) => any;
9
- name: string;
10
- truncated: boolean;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=taon.models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taon.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- {
2
- "website": {
3
- "domain": "taon.example.domain.com",
4
- "title": "Taon"
5
- },
6
- "paths": {},
7
- "config": {},
8
- "container": {},
9
- "ports": {},
10
- "init": {},
11
- "build": {
12
- "pwa": {},
13
- "watch": true
14
- },
15
- "loading": {
16
- "preAngularBootstrap": {},
17
- "afterAngularBootstrap": {}
18
- },
19
- "release": {
20
- "cli": {},
21
- "lib": {},
22
- "targetArtifact": "npm-lib-and-cli-tool"
23
- },
24
- "copyToManager": {},
25
- "buildInfo": {
26
- "date": "2025-05-28T02:20:56.000Z",
27
- "hash": "e29fdc7c3ee397f16f6e07b39910dd306b6b1330"
28
- },
29
- "currentProjectName": "taon",
30
- "currentProjectType": "isomorphic-lib",
31
- "pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"taon/src\":[\"./src/lib\"],\"taon/src/*\":[\"./src/lib/*\"]},"
32
- }