taon 19.0.58 → 19.0.59
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.map +1 -1
- package/browser/package.json +1 -1
- package/icon-menu-taon.svg +15 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/decorators/classes/controller-config.d.ts +0 -20
- package/lib/decorators/classes/controller-config.js +2 -18
- package/lib/decorators/classes/controller-config.js.map +1 -1
- package/lib/decorators/classes/controller-options.d.ts +0 -16
- package/lib/decorators/classes/controller-options.js +2 -17
- package/lib/decorators/classes/controller-options.js.map +1 -1
- package/lib/env.d.ts +2 -0
- package/lib/env.js +7 -0
- package/lib/env.js.map +1 -0
- package/lib/storage.d.ts +1 -0
- package/lib/storage.js +6 -0
- package/lib/storage.js.map +1 -0
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/package.json +21 -1
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/package.json +1 -1
package/browser/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 23.432 23.432004"
|
|
4
|
+
version="1.1"
|
|
5
|
+
id="svg1"
|
|
6
|
+
width="23.431999"
|
|
7
|
+
height="23.432003"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
10
|
+
<defs
|
|
11
|
+
id="defs1" />
|
|
12
|
+
<path
|
|
13
|
+
id="path1"
|
|
14
|
+
d="m 11.521484,1.265625 c -0.953032,1.5597622 -1.9887223,3.0593334 -3.1074215,4.5 C 6.9495642,4.7476223 5.485983,3.7308932 4.0214844,2.7128906 3.8829075,2.6603831 3.738968,2.6414114 3.5917969,2.6582031 2.7651252,6.7213623 1.8733597,10.758159 0.9140625,14.767578 v 0.75 c 1.6097872,1.096932 3.2239518,2.188127 4.8417969,3.273438 v 0.08008 h 0.1171875 c 1.806633,1.211497 3.6188659,2.414261 5.4355471,3.611328 0.07144,0.07147 0.14145,0.143364 0.21289,0.214844 h 0.429688 c 3.432812,-2.431526 6.897745,-4.824781 10.394531,-7.179688 V 14.552734 C 21.353633,10.612741 20.406845,6.6479161 19.505859,2.6582031 19.42892,2.5563391 19.339974,2.5393307 19.238281,2.6054688 17.782054,3.6890192 16.286176,4.7048374 14.75,5.6523438 a 3.4715793,3.1345327 0 0 0 -0.01758,-0.00195 C 13.814421,4.161603 12.851221,2.7003542 11.84375,1.265625 Z M 4.1855469,8.9433594 H 10.810547 V 10.048828 H 8.34375 V 15.46875 H 6.6601562 V 10.048828 H 4.1855469 Z m 7.7285151,0 h 1.638672 l 3.41211,4.3574216 V 8.9433594 h 1.564453 V 15.46875 h -1.689453 l -3.361328,-4.253906 v 4.253906 h -1.564454 z" />
|
|
15
|
+
</svg>
|
|
@@ -21,6 +21,6 @@ exports.PROJECT_NPM_NAME = 'taon';
|
|
|
21
21
|
/**
|
|
22
22
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
23
23
|
*/
|
|
24
|
-
exports.CURRENT_PACKAGE_VERSION = '19.0.
|
|
24
|
+
exports.CURRENT_PACKAGE_VERSION = '19.0.59';
|
|
25
25
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
26
26
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Models } from '../../models';
|
|
2
|
-
import { TaonMiddlewareInheritanceObj } from '../http/http-methods-decorators';
|
|
3
|
-
import { TaonControllerOptions } from './controller-options';
|
|
4
|
-
export declare class ControllerConfig extends TaonControllerOptions {
|
|
5
|
-
methods: {
|
|
6
|
-
[methodName: string]: Models.MethodConfig;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Calculated path from parents controllers
|
|
10
|
-
*/
|
|
11
|
-
calculatedPath?: string;
|
|
12
|
-
/**
|
|
13
|
-
* a way to transform entity before sending to browser
|
|
14
|
-
*/
|
|
15
|
-
browserTransformFn?: (entity: any) => any;
|
|
16
|
-
/**
|
|
17
|
-
* Calculated middlewares object from parents controllers
|
|
18
|
-
*/
|
|
19
|
-
calculatedMiddlewaresControllerObj?: TaonMiddlewareInheritanceObj;
|
|
20
|
-
}
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
class ControllerConfig extends controller_options_1.TaonControllerOptions {
|
|
6
|
-
methods = {};
|
|
7
|
-
/**
|
|
8
|
-
* Calculated path from parents controllers
|
|
9
|
-
*/
|
|
10
|
-
calculatedPath;
|
|
11
|
-
/**
|
|
12
|
-
* a way to transform entity before sending to browser
|
|
13
|
-
*/
|
|
14
|
-
browserTransformFn;
|
|
15
|
-
/**
|
|
16
|
-
* Calculated middlewares object from parents controllers
|
|
17
|
-
*/
|
|
18
|
-
calculatedMiddlewaresControllerObj;
|
|
19
|
-
}
|
|
20
|
-
exports.ControllerConfig = ControllerConfig;
|
|
3
|
+
exports.dummy1756203781313 = dummy1756203781313;
|
|
4
|
+
function dummy1756203781313() { }
|
|
21
5
|
//# sourceMappingURL=controller-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller-config.js","sourceRoot":"","sources":[""],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controller-config.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DecoratorAbstractOpt } from '../decorator-abstract-opt';
|
|
2
|
-
import type { TaonMiddlewareFunction } from '../http/http-methods-decorators';
|
|
3
|
-
export declare class TaonControllerOptions<ControllerClass = any> extends DecoratorAbstractOpt {
|
|
4
|
-
/**
|
|
5
|
-
* typeorm realtime subscribtion // TODO disabled for now, does not make sense ?s
|
|
6
|
-
*/
|
|
7
|
-
realtime?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* override default path for controller api
|
|
10
|
-
*/
|
|
11
|
-
path?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Middlewares to be applied to all methods in the controller
|
|
14
|
-
*/
|
|
15
|
-
middlewares?: TaonMiddlewareFunction;
|
|
16
|
-
}
|
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
class TaonControllerOptions extends decorator_abstract_opt_1.DecoratorAbstractOpt {
|
|
6
|
-
/**
|
|
7
|
-
* typeorm realtime subscribtion // TODO disabled for now, does not make sense ?s
|
|
8
|
-
*/
|
|
9
|
-
realtime;
|
|
10
|
-
/**
|
|
11
|
-
* override default path for controller api
|
|
12
|
-
*/
|
|
13
|
-
path;
|
|
14
|
-
/**
|
|
15
|
-
* Middlewares to be applied to all methods in the controller
|
|
16
|
-
*/
|
|
17
|
-
middlewares;
|
|
18
|
-
}
|
|
19
|
-
exports.TaonControllerOptions = TaonControllerOptions;
|
|
3
|
+
exports.dummy1756203781320 = dummy1756203781320;
|
|
4
|
+
function dummy1756203781320() { }
|
|
20
5
|
//# sourceMappingURL=controller-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller-options.js","sourceRoot":"","sources":[""],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controller-options.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
package/lib/env.d.ts
ADDED
package/lib/env.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const globalPublicStorage: typeof globalThis;
|
package/lib/storage.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/lib/ui/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1756667478735 = dummy1756667478735;
|
|
4
|
+
function dummy1756667478735() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1756667479384 = dummy1756667479384;
|
|
4
|
+
function dummy1756667479384() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taon",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.59",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"mkdocs": "python3 -m mkdocs",
|
|
6
6
|
"taon init": "taon init",
|
|
@@ -28,6 +28,25 @@
|
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/darekf77/taon/issues"
|
|
30
30
|
},
|
|
31
|
+
"contributes": {
|
|
32
|
+
"views": {
|
|
33
|
+
"projectsContainerTaon": [
|
|
34
|
+
{
|
|
35
|
+
"id": "projectsViewTaon",
|
|
36
|
+
"name": "Taon Projects"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"viewsContainers": {
|
|
41
|
+
"activitybar": [
|
|
42
|
+
{
|
|
43
|
+
"icon": "./icon-menu-taon.svg",
|
|
44
|
+
"id": "projectsContainerTaon",
|
|
45
|
+
"title": "Taon Projects"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
31
50
|
"dependencies": {
|
|
32
51
|
"tnp": "~19.0.1",
|
|
33
52
|
"tslib": "~2.8.1",
|
|
@@ -40,6 +59,7 @@
|
|
|
40
59
|
},
|
|
41
60
|
"description": "Isomorphic solution for backend and frontend",
|
|
42
61
|
"main": "dist/app.electron.js",
|
|
62
|
+
"optionalDependencies": {},
|
|
43
63
|
"publisher": "taon-dev",
|
|
44
64
|
"repository": {
|
|
45
65
|
"type": "git",
|
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.
|