taon 19.0.33 → 19.0.37
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.
- package/README.md +160 -160
- package/bin/start.js +279 -279
- package/bin/taon +6 -6
- package/bin/taon-debug +5 -5
- package/bin/taon-debug-brk +5 -5
- package/browser/README.md +24 -24
- package/browser/fesm2022/taon.mjs +29 -3
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/lib/base-classes/base-context.d.ts +1 -0
- package/browser/lib/base-classes/base.d.ts +1 -0
- package/browser/lib/create-context.d.ts +2 -0
- package/browser/lib/endpoint-context.d.ts +1 -0
- package/browser/lib/index.d.ts +3 -0
- package/browser/lib/models.d.ts +1 -0
- package/browser/package.json +1 -1
- package/cli.js.map +1 -1
- package/index.js.map +1 -1
- package/lib/base-classes/base-abstract-entity.js.map +1 -1
- package/lib/base-classes/base-angular-service.js.map +1 -1
- package/lib/base-classes/base-class.js.map +1 -1
- package/lib/base-classes/base-context.d.ts +1 -0
- package/lib/base-classes/base-context.js.map +1 -1
- package/lib/base-classes/base-controller.js.map +1 -1
- package/lib/base-classes/base-crud-controller.js.map +1 -1
- package/lib/base-classes/base-custom-repository.js.map +1 -1
- package/lib/base-classes/base-entity.js.map +1 -1
- package/lib/base-classes/base-injector.js.map +1 -1
- package/lib/base-classes/base-migration.js.map +1 -1
- package/lib/base-classes/base-provider.js.map +1 -1
- package/lib/base-classes/base-repository.js.map +1 -1
- package/lib/base-classes/base-subscriber-for-entity.js.map +1 -1
- package/lib/base-classes/base.d.ts +1 -0
- package/lib/base-classes/base.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +2 -1
- package/lib/build-info._auto-generated_.js +3 -2
- package/lib/build-info._auto-generated_.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/context-db-migrations.js.map +1 -1
- package/lib/create-context.d.ts +2 -0
- package/lib/create-context.js +3 -0
- package/lib/create-context.js.map +1 -1
- package/lib/decorators/classes/controller-decorator.js.map +1 -1
- package/lib/decorators/classes/entity-decorator.js.map +1 -1
- package/lib/decorators/classes/migration-decorator.js.map +1 -1
- package/lib/decorators/classes/provider-decorator.js.map +1 -1
- package/lib/decorators/classes/repository-decorator.js.map +1 -1
- package/lib/decorators/classes/subscriber-decorator.js.map +1 -1
- package/lib/decorators/http/http-decorators.js.map +1 -1
- package/lib/decorators/http/http-methods-decorators.js.map +1 -1
- package/lib/decorators/http/http-params-decorators.js.map +1 -1
- package/lib/dependency-injection/di-container.js.map +1 -1
- package/lib/endpoint-context.d.ts +1 -0
- package/lib/endpoint-context.js +23 -3
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.js.map +1 -1
- package/lib/env/env.angular-node-app.backend.d.ts +8 -0
- package/lib/env/env.angular-node-app.backend.js +14 -0
- package/lib/env/env.angular-node-app.backend.js.map +1 -0
- package/lib/env/env.angular-node-app.browser.d.ts +8 -0
- package/lib/env/env.angular-node-app.d.ts +50 -1
- package/lib/env/env.angular-node-app.js +52 -2
- package/lib/env/env.angular-node-app.js.map +1 -1
- package/lib/env/env.docs-webapp.d.ts +50 -1
- package/lib/env/env.docs-webapp.js +52 -2
- package/lib/env/env.docs-webapp.js.map +1 -1
- package/lib/env/env.electron-app.backend.d.ts +8 -0
- package/lib/env/env.electron-app.backend.js +14 -0
- package/lib/env/env.electron-app.backend.js.map +1 -0
- package/lib/env/env.electron-app.browser.d.ts +8 -0
- package/lib/env/env.electron-app.d.ts +50 -1
- package/lib/env/env.electron-app.js +52 -2
- package/lib/env/env.electron-app.js.map +1 -1
- package/lib/env/env.mobile-app.backend.d.ts +8 -0
- package/lib/env/env.mobile-app.backend.js +14 -0
- package/lib/env/env.mobile-app.backend.js.map +1 -0
- package/lib/env/env.mobile-app.browser.d.ts +8 -0
- package/lib/env/env.mobile-app.d.ts +50 -1
- package/lib/env/env.mobile-app.js +52 -2
- package/lib/env/env.mobile-app.js.map +1 -1
- package/lib/env/env.npm-lib-and-cli-tool.backend.d.ts +8 -0
- package/lib/env/env.npm-lib-and-cli-tool.backend.js +14 -0
- package/lib/env/env.npm-lib-and-cli-tool.backend.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.browser.d.ts +8 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +50 -1
- package/lib/env/env.npm-lib-and-cli-tool.js +52 -2
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
- package/lib/env/env.vscode-plugin.backend.d.ts +8 -0
- package/lib/env/env.vscode-plugin.backend.js +14 -0
- package/lib/env/env.vscode-plugin.backend.js.map +1 -0
- package/lib/env/env.vscode-plugin.browser.d.ts +8 -0
- package/lib/env/env.vscode-plugin.d.ts +50 -1
- package/lib/env/env.vscode-plugin.js +52 -2
- package/lib/env/env.vscode-plugin.js.map +1 -1
- package/lib/env/index.js.map +1 -1
- package/lib/env.js.map +1 -1
- package/lib/formly/formly-group-wrapper-component.js.map +1 -1
- package/lib/formly/formly-repeat-component.js.map +1 -1
- package/lib/formly/formly.models.js.map +1 -1
- package/lib/formly/fromly.js.map +1 -1
- package/lib/formly/type-from-entity.js.map +1 -1
- package/lib/get-response-value.js.map +1 -1
- package/lib/helpers/class-helpers.js.map +1 -1
- package/lib/helpers/taon-helpers.js.map +1 -1
- package/lib/index._auto-generated_.js.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/inject.js.map +1 -1
- package/lib/models.d.ts +1 -0
- package/lib/models.js.map +1 -1
- package/lib/orm.js.map +1 -1
- package/lib/realtime/realtime-client.js.map +1 -1
- package/lib/realtime/realtime-core.js.map +1 -1
- package/lib/realtime/realtime-server.js.map +1 -1
- package/lib/realtime/realtime-strategy/index.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy.js.map +1 -1
- package/lib/realtime/realtime-subs-manager.js.map +1 -1
- package/lib/realtime/realtime.models.js.map +1 -1
- package/lib/storage.js.map +1 -1
- package/lib/symbols.js.map +1 -1
- package/lib/ui/directives/index.d.ts +3 -0
- package/lib/ui/directives/index.js +5 -0
- package/lib/ui/directives/index.js.map +1 -0
- package/lib/ui/directives/safe.pipe.d.ts +7 -0
- package/lib/ui/directives/taon-inject-html.directive.d.ts +6 -0
- package/lib/ui/directives/taon-long-press.directive.d.ts +22 -0
- package/lib/ui/directives/view-mode.d.ts +5 -0
- package/lib/ui/directives/view-mode.js +10 -0
- package/lib/ui/directives/view-mode.js.map +1 -0
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +43 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.d.ts +5 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js +3 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +1 -0
- package/lib/ui/taon-full-material.module.d.ts +5 -0
- package/lib/ui/taon-github-fork-me-corner/index.d.ts +2 -0
- package/lib/ui/taon-github-fork-me-corner/index.js +5 -0
- package/lib/ui/taon-github-fork-me-corner/index.js.map +1 -0
- package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +3 -0
- package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +2 -0
- package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +2 -0
- package/lib/ui/taon-github-fork-me-ribbon/index.js +5 -0
- package/lib/ui/taon-github-fork-me-ribbon/index.js.map +1 -0
- package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +3 -0
- package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +2 -0
- package/lib/ui/taon-notifications/index.d.ts +4 -0
- package/lib/ui/taon-notifications/index.js +24 -0
- package/lib/ui/taon-notifications/index.js.map +1 -0
- package/lib/ui/taon-notifications/taon-notifications.component.d.ts +9 -0
- package/lib/ui/taon-notifications/taon-notifications.models.d.ts +6 -0
- package/lib/ui/taon-notifications/taon-notifications.models.js +5 -0
- package/lib/ui/taon-notifications/taon-notifications.models.js.map +1 -0
- package/lib/ui/taon-notifications/taon-notifications.module.d.ts +2 -0
- package/lib/ui/taon-notifications/taon-notifications.service.d.ts +11 -0
- package/lib/ui/taon-progress-bar/index.d.ts +2 -0
- package/lib/ui/taon-progress-bar/index.js +5 -0
- package/lib/ui/taon-progress-bar/index.js.map +1 -0
- package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +13 -0
- package/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +2 -0
- package/lib/ui/taon-session-passcode/index.d.ts +1 -0
- package/lib/ui/taon-session-passcode/index.js +5 -0
- package/lib/ui/taon-session-passcode/index.js.map +1 -0
- package/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +35 -0
- package/lib/ui/taon-table/index.d.ts +2 -0
- package/lib/ui/taon-table/index.js +5 -0
- package/lib/ui/taon-table/index.js.map +1 -0
- package/lib/ui/taon-table/taon-table.component.d.ts +34 -0
- package/lib/ui/taon-table/taon-table.module.d.ts +2 -0
- package/lib/ui/taon.models.d.ts +11 -0
- package/lib/ui/taon.models.js +3 -0
- package/lib/ui/taon.models.js.map +1 -0
- package/lib/validators.js.map +1 -1
- package/migrations/index.js.map +1 -1
- package/migrations/migrations_index._auto-generated_.js.map +1 -1
- package/old-app .js.map +1 -1
- package/package.json +1 -1
- package/playground.js.map +1 -1
- package/scss/vars.scss +2 -2
- package/tmp-environment.json +43 -0
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon.mjs +29 -5
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/lib/base-classes/base-context.d.ts +1 -0
- package/websql/lib/base-classes/base.d.ts +1 -0
- package/websql/lib/create-context.d.ts +2 -0
- package/websql/lib/endpoint-context.d.ts +1 -0
- package/websql/lib/index.d.ts +3 -0
- package/websql/lib/models.d.ts +1 -0
- package/websql/package.json +1 -1
- package/client/package.json +0 -13
package/playground.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playground.js","sourceRoot":"","sources":["/Users/dfilipiak/npm/taon-dev/taon/src/playground.ts"],"names":[],"mappings":"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"}
|
package/scss/vars.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
2
2
|
// CORE ASSETS BASENAME - use it only for asset from core container
|
|
3
|
-
$basename: '
|
|
3
|
+
$basename: '/';
|
|
4
4
|
$website_title: 'Taon';
|
|
5
|
-
$website_domain: 'taon.
|
|
5
|
+
$website_domain: 'docs.taon.dev';
|
|
6
6
|
$project_npm_name: 'taon';
|
|
7
7
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"website": {
|
|
3
|
+
"domain": "taon.example.domain.com",
|
|
4
|
+
"title": "Taon"
|
|
5
|
+
},
|
|
6
|
+
"paths": {},
|
|
7
|
+
"config": {},
|
|
8
|
+
"container": {
|
|
9
|
+
"only": []
|
|
10
|
+
},
|
|
11
|
+
"ports": {
|
|
12
|
+
"ngNormalAppPort": 4209,
|
|
13
|
+
"ngWebsqlAppPort": 4210,
|
|
14
|
+
"nodeBeAppPort": 4104
|
|
15
|
+
},
|
|
16
|
+
"init": {},
|
|
17
|
+
"build": {
|
|
18
|
+
"pwa": {},
|
|
19
|
+
"watch": false
|
|
20
|
+
},
|
|
21
|
+
"loading": {
|
|
22
|
+
"preAngularBootstrap": {},
|
|
23
|
+
"afterAngularBootstrap": {}
|
|
24
|
+
},
|
|
25
|
+
"release": {
|
|
26
|
+
"cli": {},
|
|
27
|
+
"lib": {},
|
|
28
|
+
"autoReleaseUsingConfig": true,
|
|
29
|
+
"releaseVersionBumpType": "patch",
|
|
30
|
+
"releaseType": "manual",
|
|
31
|
+
"targetArtifact": "npm-lib-and-cli-tool",
|
|
32
|
+
"envName": "__",
|
|
33
|
+
"resolvedNewVersion": "19.0.24"
|
|
34
|
+
},
|
|
35
|
+
"copyToManager": {},
|
|
36
|
+
"buildInfo": {
|
|
37
|
+
"date": "2025-05-25T13:31:53.000Z",
|
|
38
|
+
"hash": "8cb6c4342726f648131823254c18ab2d8d794652"
|
|
39
|
+
},
|
|
40
|
+
"currentProjectName": "taon",
|
|
41
|
+
"currentProjectType": "isomorphic-lib",
|
|
42
|
+
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"taon/src\":[\"./src/lib\"],\"taon/src/*\":[\"./src/lib/*\"]},"
|
|
43
|
+
}
|
package/websql/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/websql/fesm2022/taon.mjs
CHANGED
|
@@ -996,10 +996,10 @@ class BaseAngularsService {
|
|
|
996
996
|
//#endregion
|
|
997
997
|
return inject(() => currentContext.getClass(ctor));
|
|
998
998
|
}
|
|
999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1000
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
999
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAngularsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1000
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAngularsService }); }
|
|
1001
1001
|
}
|
|
1002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAngularsService, decorators: [{
|
|
1003
1003
|
type: Injectable
|
|
1004
1004
|
}], ctorParameters: () => [] });
|
|
1005
1005
|
|
|
@@ -3077,10 +3077,25 @@ class EndpointContext {
|
|
|
3077
3077
|
this.logFramework &&
|
|
3078
3078
|
Helpers.info(`[taon][database] Automatically resolving database config for mode ${this.mode}`);
|
|
3079
3079
|
switch (this.mode) {
|
|
3080
|
-
//#region resolve database config for
|
|
3080
|
+
//#region resolve database config for backend-frontend(ipc-electron)
|
|
3081
3081
|
case 'backend-frontend(ipc-electron)':
|
|
3082
|
+
let dbLocationInOs;
|
|
3083
|
+
/* */
|
|
3084
|
+
/* */
|
|
3085
|
+
/* */
|
|
3086
|
+
/* */
|
|
3087
|
+
/* */
|
|
3088
|
+
/* */
|
|
3089
|
+
/* */
|
|
3090
|
+
/* */
|
|
3091
|
+
/* */
|
|
3092
|
+
/* */
|
|
3093
|
+
/* */
|
|
3094
|
+
/* */
|
|
3082
3095
|
databaseConfig = Models.DatabaseConfig.from({
|
|
3083
|
-
location:
|
|
3096
|
+
location: UtilsOs.isElectron
|
|
3097
|
+
? dbLocationInOs
|
|
3098
|
+
: `db-${this.contextName}.sqlite`,
|
|
3084
3099
|
type: 'sqljs',
|
|
3085
3100
|
recreateMode: 'DROP_DB+MIGRATIONS',
|
|
3086
3101
|
logging: this.logDb,
|
|
@@ -3488,6 +3503,9 @@ class EndpointContext {
|
|
|
3488
3503
|
return this.config.contextName;
|
|
3489
3504
|
}
|
|
3490
3505
|
//#endregion
|
|
3506
|
+
get appId() {
|
|
3507
|
+
return this.config.appId;
|
|
3508
|
+
}
|
|
3491
3509
|
//#region methods & getters / public assets
|
|
3492
3510
|
get publicAssets() {
|
|
3493
3511
|
return this.config?.publicAssets || [];
|
|
@@ -3781,6 +3799,8 @@ class EndpointContext {
|
|
|
3781
3799
|
// Helpers.log(JSON.stringify(routes, null, 4))
|
|
3782
3800
|
/* */
|
|
3783
3801
|
/* */
|
|
3802
|
+
/* */
|
|
3803
|
+
/* */
|
|
3784
3804
|
//#endregion
|
|
3785
3805
|
}
|
|
3786
3806
|
//#endregion
|
|
@@ -4575,6 +4595,9 @@ const createContext = (configFn) => {
|
|
|
4575
4595
|
return config.contextName;
|
|
4576
4596
|
},
|
|
4577
4597
|
//#endregion
|
|
4598
|
+
get appId() {
|
|
4599
|
+
return config.appId;
|
|
4600
|
+
},
|
|
4578
4601
|
//#region context
|
|
4579
4602
|
/**
|
|
4580
4603
|
* @deprecated
|
|
@@ -6235,6 +6258,7 @@ var Taon;
|
|
|
6235
6258
|
const BaseContext = (await Promise.resolve().then(function () { return baseContext; }))
|
|
6236
6259
|
.BaseContext;
|
|
6237
6260
|
const context = Taon.createContext(() => ({
|
|
6261
|
+
appId: 'default-app-not-used-anymore',
|
|
6238
6262
|
contextName: 'default',
|
|
6239
6263
|
host: options.host,
|
|
6240
6264
|
contexts: { BaseContext },
|