taon 19.0.54 → 19.0.56

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 (156) 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 +271 -156
  8. package/browser/fesm2022/taon.mjs.map +1 -1
  9. package/browser/lib/config/controller-config.d.ts +22 -0
  10. package/{websql/lib/decorators/classes → browser/lib/config}/controller-options.d.ts +6 -1
  11. package/browser/lib/config/method-config.d.ts +39 -0
  12. package/browser/lib/config/param-config.d.ts +9 -0
  13. package/browser/lib/decorators/classes/controller-decorator.d.ts +1 -1
  14. package/browser/lib/decorators/http/http-methods-decorators.d.ts +14 -1
  15. package/browser/lib/endpoint-context.d.ts +3 -1
  16. package/browser/lib/helpers/class-helpers.d.ts +5 -2
  17. package/browser/lib/helpers/clone-obj.d.ts +2 -0
  18. package/browser/lib/helpers/taon-helpers.d.ts +5 -5
  19. package/browser/lib/models.d.ts +1 -32
  20. package/browser/lib/symbols.d.ts +0 -2
  21. package/browser/lib/validators.d.ts +2 -2
  22. package/browser/package.json +1 -1
  23. package/lib/base-classes/base-class.js +2 -16
  24. package/lib/base-classes/base-class.js.map +1 -1
  25. package/lib/base-classes/base-controller.js +4 -1
  26. package/lib/base-classes/base-controller.js.map +1 -1
  27. package/lib/build-info._auto-generated_.d.ts +1 -1
  28. package/lib/build-info._auto-generated_.js +1 -1
  29. package/lib/config/controller-config.d.ts +21 -0
  30. package/lib/config/controller-config.js +34 -0
  31. package/lib/config/controller-config.js.map +1 -0
  32. package/lib/{decorators/classes → config}/controller-options.d.ts +6 -1
  33. package/lib/config/controller-options.js +8 -0
  34. package/lib/config/controller-options.js.map +1 -0
  35. package/lib/config/method-config.d.ts +38 -0
  36. package/lib/config/method-config.js +12 -0
  37. package/lib/config/method-config.js.map +1 -0
  38. package/lib/config/param-config.d.ts +8 -0
  39. package/lib/config/param-config.js +8 -0
  40. package/lib/config/param-config.js.map +1 -0
  41. package/lib/decorators/classes/controller-decorator.d.ts +1 -1
  42. package/lib/decorators/classes/controller-decorator.js +6 -1
  43. package/lib/decorators/classes/controller-decorator.js.map +1 -1
  44. package/lib/decorators/classes/middleware-decorator.js.map +1 -1
  45. package/lib/decorators/classes/provider-decorator.js.map +1 -1
  46. package/lib/decorators/decorator-abstract-opt.js +0 -1
  47. package/lib/decorators/decorator-abstract-opt.js.map +1 -1
  48. package/lib/decorators/http/http-methods-decorators.d.ts +14 -1
  49. package/lib/decorators/http/http-methods-decorators.js +3 -10
  50. package/lib/decorators/http/http-methods-decorators.js.map +1 -1
  51. package/lib/decorators/http/http-params-decorators.js +10 -16
  52. package/lib/decorators/http/http-params-decorators.js.map +1 -1
  53. package/lib/endpoint-context.d.ts +3 -1
  54. package/lib/endpoint-context.js +244 -144
  55. package/lib/endpoint-context.js.map +1 -1
  56. package/lib/helpers/class-helpers.d.ts +5 -2
  57. package/lib/helpers/class-helpers.js +47 -35
  58. package/lib/helpers/class-helpers.js.map +1 -1
  59. package/lib/helpers/clone-obj.d.ts +1 -0
  60. package/lib/helpers/clone-obj.js +22 -0
  61. package/lib/helpers/clone-obj.js.map +1 -0
  62. package/lib/helpers/taon-helpers.d.ts +5 -5
  63. package/lib/helpers/taon-helpers.js.map +1 -1
  64. package/lib/models.d.ts +1 -32
  65. package/lib/models.js +0 -33
  66. package/lib/models.js.map +1 -1
  67. package/lib/symbols.d.ts +0 -2
  68. package/lib/symbols.js +5 -7
  69. package/lib/symbols.js.map +1 -1
  70. package/lib/ui/index.js +2 -2
  71. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  72. package/lib/validators.d.ts +2 -2
  73. package/lib/validators.js.map +1 -1
  74. package/package.json +1 -1
  75. package/scss/vars.scss +6 -6
  76. package/websql/README.md +24 -24
  77. package/websql/fesm2022/taon.mjs +272 -157
  78. package/websql/fesm2022/taon.mjs.map +1 -1
  79. package/websql/lib/config/controller-config.d.ts +22 -0
  80. package/{browser/lib/decorators/classes → websql/lib/config}/controller-options.d.ts +6 -1
  81. package/websql/lib/config/method-config.d.ts +39 -0
  82. package/websql/lib/config/param-config.d.ts +9 -0
  83. package/websql/lib/decorators/classes/controller-decorator.d.ts +1 -1
  84. package/websql/lib/decorators/http/http-methods-decorators.d.ts +14 -1
  85. package/websql/lib/endpoint-context.d.ts +3 -1
  86. package/websql/lib/helpers/class-helpers.d.ts +5 -2
  87. package/websql/lib/helpers/clone-obj.d.ts +2 -0
  88. package/websql/lib/helpers/taon-helpers.d.ts +5 -5
  89. package/websql/lib/models.d.ts +1 -32
  90. package/websql/lib/symbols.d.ts +0 -2
  91. package/websql/lib/validators.d.ts +2 -2
  92. package/websql/package.json +1 -1
  93. package/browser/lib/decorators/classes/controller-config.d.ts +0 -10
  94. package/lib/decorators/classes/controller-config.d.ts +0 -9
  95. package/lib/decorators/classes/controller-config.js +0 -11
  96. package/lib/decorators/classes/controller-config.js.map +0 -1
  97. package/lib/decorators/classes/controller-options.js +0 -16
  98. package/lib/decorators/classes/controller-options.js.map +0 -1
  99. package/lib/env.d.ts +0 -2
  100. package/lib/env.js +0 -7
  101. package/lib/env.js.map +0 -1
  102. package/lib/storage.d.ts +0 -1
  103. package/lib/storage.js +0 -6
  104. package/lib/storage.js.map +0 -1
  105. package/lib/ui/directives/index.d.ts +0 -3
  106. package/lib/ui/directives/index.js +0 -5
  107. package/lib/ui/directives/index.js.map +0 -1
  108. package/lib/ui/directives/safe.pipe.d.ts +0 -7
  109. package/lib/ui/directives/taon-inject-html.directive.d.ts +0 -6
  110. package/lib/ui/directives/taon-long-press.directive.d.ts +0 -22
  111. package/lib/ui/directives/view-mode.d.ts +0 -5
  112. package/lib/ui/directives/view-mode.js +0 -10
  113. package/lib/ui/directives/view-mode.js.map +0 -1
  114. package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +0 -43
  115. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.d.ts +0 -5
  116. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js +0 -3
  117. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +0 -1
  118. package/lib/ui/taon-full-material.module.d.ts +0 -5
  119. package/lib/ui/taon-github-fork-me-corner/index.d.ts +0 -2
  120. package/lib/ui/taon-github-fork-me-corner/index.js +0 -5
  121. package/lib/ui/taon-github-fork-me-corner/index.js.map +0 -1
  122. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +0 -3
  123. package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +0 -2
  124. package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +0 -2
  125. package/lib/ui/taon-github-fork-me-ribbon/index.js +0 -5
  126. package/lib/ui/taon-github-fork-me-ribbon/index.js.map +0 -1
  127. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +0 -3
  128. package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +0 -2
  129. package/lib/ui/taon-notifications/index.d.ts +0 -4
  130. package/lib/ui/taon-notifications/index.js +0 -24
  131. package/lib/ui/taon-notifications/index.js.map +0 -1
  132. package/lib/ui/taon-notifications/taon-notifications.component.d.ts +0 -9
  133. package/lib/ui/taon-notifications/taon-notifications.models.d.ts +0 -6
  134. package/lib/ui/taon-notifications/taon-notifications.models.js +0 -5
  135. package/lib/ui/taon-notifications/taon-notifications.models.js.map +0 -1
  136. package/lib/ui/taon-notifications/taon-notifications.module.d.ts +0 -2
  137. package/lib/ui/taon-notifications/taon-notifications.service.d.ts +0 -11
  138. package/lib/ui/taon-progress-bar/index.d.ts +0 -2
  139. package/lib/ui/taon-progress-bar/index.js +0 -5
  140. package/lib/ui/taon-progress-bar/index.js.map +0 -1
  141. package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +0 -13
  142. package/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +0 -2
  143. package/lib/ui/taon-session-passcode/index.d.ts +0 -1
  144. package/lib/ui/taon-session-passcode/index.js +0 -5
  145. package/lib/ui/taon-session-passcode/index.js.map +0 -1
  146. package/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +0 -35
  147. package/lib/ui/taon-table/index.d.ts +0 -2
  148. package/lib/ui/taon-table/index.js +0 -5
  149. package/lib/ui/taon-table/index.js.map +0 -1
  150. package/lib/ui/taon-table/taon-table.component.d.ts +0 -34
  151. package/lib/ui/taon-table/taon-table.module.d.ts +0 -2
  152. package/lib/ui/taon.models.d.ts +0 -11
  153. package/lib/ui/taon.models.js +0 -3
  154. package/lib/ui/taon.models.js.map +0 -1
  155. package/tmp-environment.json +0 -39
  156. package/websql/lib/decorators/classes/controller-config.d.ts +0 -10
@@ -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
@@ -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.dummy1747308818410 = dummy1747308818410;
4
- function dummy1747308818410() { }
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,39 +0,0 @@
1
- {
2
- "website": {
3
- "domain": "taon.example.domain.com",
4
- "title": "Taon"
5
- },
6
- "paths": {},
7
- "config": {},
8
- "container": {
9
- "start": "tnp"
10
- },
11
- "ports": {},
12
- "init": {},
13
- "build": {
14
- "pwa": {},
15
- "watch": false
16
- },
17
- "loading": {
18
- "preAngularBootstrap": {},
19
- "afterAngularBootstrap": {}
20
- },
21
- "release": {
22
- "cli": {},
23
- "lib": {},
24
- "autoReleaseUsingConfig": true,
25
- "releaseVersionBumpType": "patch",
26
- "releaseType": "manual",
27
- "targetArtifact": "npm-lib-and-cli-tool",
28
- "envName": "__",
29
- "resolvedNewVersion": "19.0.13"
30
- },
31
- "copyToManager": {},
32
- "buildInfo": {
33
- "date": "2025-05-13T21:02:51.000Z",
34
- "hash": "ec29911645a4abf818923ce456c1678b84474453"
35
- },
36
- "currentProjectName": "taon",
37
- "currentProjectType": "isomorphic-lib",
38
- "pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"taon/src\":[\"./src/lib\"],\"taon/src/*\":[\"./src/lib/*\"]},"
39
- }
@@ -1,10 +0,0 @@
1
- // @ts-nocheck
2
- import { Models } from '../../models';
3
- import { TaonControllerOptions } from './controller-options';
4
- export declare class ControllerConfig extends TaonControllerOptions {
5
- methods: {
6
- [methodName: string]: Models.MethodConfig;
7
- };
8
- calculatedPath?: string;
9
- browserTransformFn?: (entity: any) => any;
10
- }