taon 21.0.3 → 21.0.9
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/browser/fesm2022/{taon.mjs → taon-browser.mjs} +1954 -1239
- package/browser/fesm2022/taon-browser.mjs.map +1 -0
- package/browser/package.json +1 -1
- package/browser/types/taon-browser.d.ts +2152 -0
- package/icon-menu-taon.svg +15 -15
- package/lib/base-classes/base-abstract-entity.d.ts +1 -1
- package/lib/base-classes/base-abstract-entity.js +12 -12
- package/lib/base-classes/base-abstract-entity.js.map +1 -1
- package/lib/base-classes/base-angular-service.d.ts +1 -1
- package/lib/base-classes/base-angular-service.js +6 -3
- package/lib/base-classes/base-angular-service.js.map +1 -1
- package/lib/base-classes/base-context.d.ts +2 -2
- package/lib/base-classes/base-controller.js +7 -1
- package/lib/base-classes/base-controller.js.map +1 -1
- package/lib/base-classes/base-crud-controller.js +52 -12
- package/lib/base-classes/base-crud-controller.js.map +1 -1
- package/lib/base-classes/base-entity.js +2 -6
- package/lib/base-classes/base-entity.js.map +1 -1
- package/lib/base-classes/base-repository.d.ts +3 -3
- package/lib/base-classes/base-repository.js +15 -10
- package/lib/base-classes/base-repository.js.map +1 -1
- package/lib/base-classes/base.d.ts +1 -46
- package/lib/base-classes/base.js +17 -30
- package/lib/base-classes/base.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/context-db-migrations.d.ts +2 -1
- package/lib/create-context.d.ts +4 -4
- package/lib/decorators/classes/entity-decorator.js +1 -1
- package/lib/decorators/classes/entity-decorator.js.map +1 -1
- package/lib/decorators/http/http-decorators.d.ts +1 -19
- package/lib/decorators/http/http-decorators.js +20 -22
- package/lib/decorators/http/http-decorators.js.map +1 -1
- package/lib/endpoint-context.d.ts +3 -2
- package/lib/express-types.d.ts +1 -0
- package/lib/express-types.js +3 -0
- package/lib/express-types.js.map +1 -0
- package/lib/formly/{formly-group-wrapper-component.d.ts → formly-group-wrapper.component.d.ts} +1 -1
- package/lib/formly/{formly-repeat-component.d.ts → formly-repeat.component.d.ts} +1 -1
- package/lib/formly/fromly.js +24 -24
- package/lib/formly/fromly.js.map +1 -1
- package/lib/get-response-value.d.ts +3 -3
- package/lib/get-response-value.js.map +1 -1
- package/lib/index.d.ts +148 -47
- package/lib/index.js +166 -55
- package/lib/index.js.map +1 -1
- package/lib/models.d.ts +3 -3
- package/lib/models.js.map +1 -1
- package/lib/orm/columns.d.ts +28 -0
- package/lib/orm/columns.js +102 -0
- package/lib/orm/columns.js.map +1 -0
- package/lib/orm/index.d.ts +1 -0
- package/lib/orm/index.js +73 -0
- package/lib/orm/index.js.map +1 -0
- package/lib/realtime/realtime-core.d.ts +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.d.ts +1 -2
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy.d.ts +1 -1
- package/lib/realtime/realtime-subs-manager.d.ts +1 -1
- package/lib/symbols.d.ts +31 -31
- package/lib/symbols.js +59 -59
- package/lib/symbols.js.map +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/package.json +1 -1
- package/websql/fesm2022/{taon.mjs → taon-websql.mjs} +1317 -649
- package/websql/fesm2022/taon-websql.mjs.map +1 -0
- package/websql/package.json +1 -1
- package/websql/types/taon-websql.d.ts +2161 -0
- package/browser/fesm2022/taon.mjs.map +0 -1
- package/browser/index.d.ts +0 -6
- package/browser/lib/base-classes/base-abstract-entity.d.ts +0 -8
- package/browser/lib/base-classes/base-angular-service.d.ts +0 -34
- package/browser/lib/base-classes/base-class.d.ts +0 -16
- package/browser/lib/base-classes/base-context.d.ts +0 -21
- package/browser/lib/base-classes/base-controller.d.ts +0 -83
- package/browser/lib/base-classes/base-crud-controller.d.ts +0 -29
- package/browser/lib/base-classes/base-custom-repository.d.ts +0 -4
- package/browser/lib/base-classes/base-entity.d.ts +0 -17
- package/browser/lib/base-classes/base-file-upload.middleware.d.ts +0 -15
- package/browser/lib/base-classes/base-injector.d.ts +0 -68
- package/browser/lib/base-classes/base-middleware.d.ts +0 -39
- package/browser/lib/base-classes/base-migration.d.ts +0 -12
- package/browser/lib/base-classes/base-provider.d.ts +0 -9
- package/browser/lib/base-classes/base-repository.d.ts +0 -267
- package/browser/lib/base-classes/base-subscriber-for-entity.d.ts +0 -82
- package/browser/lib/base-classes/base.d.ts +0 -47
- package/browser/lib/config/controller-config.d.ts +0 -22
- package/browser/lib/config/controller-options.d.ts +0 -17
- package/browser/lib/config/method-config.d.ts +0 -40
- package/browser/lib/config/param-config.d.ts +0 -9
- package/browser/lib/constants.d.ts +0 -10
- package/browser/lib/context-db-migrations.d.ts +0 -18
- package/browser/lib/create-context.d.ts +0 -79
- package/browser/lib/decorators/classes/controller-decorator.d.ts +0 -6
- package/browser/lib/decorators/classes/entity-decorator.d.ts +0 -20
- package/browser/lib/decorators/classes/middleware-decorator.d.ts +0 -8
- package/browser/lib/decorators/classes/migration-decorator.d.ts +0 -8
- package/browser/lib/decorators/classes/provider-decorator.d.ts +0 -8
- package/browser/lib/decorators/classes/repository-decorator.d.ts +0 -8
- package/browser/lib/decorators/classes/subscriber-decorator.d.ts +0 -9
- package/browser/lib/decorators/decorator-abstract-opt.d.ts +0 -4
- package/browser/lib/decorators/http/http-decorators.d.ts +0 -21
- package/browser/lib/decorators/http/http-methods-decorators.d.ts +0 -71
- package/browser/lib/decorators/http/http-params-decorators.d.ts +0 -9
- package/browser/lib/dependency-injection/di-container.d.ts +0 -6
- package/browser/lib/endpoint-context-storage.d.ts +0 -12
- package/browser/lib/endpoint-context.d.ts +0 -198
- package/browser/lib/entity-process.d.ts +0 -40
- package/browser/lib/get-response-value.d.ts +0 -7
- package/browser/lib/helpers/class-helpers.d.ts +0 -25
- package/browser/lib/helpers/clone-obj.d.ts +0 -2
- package/browser/lib/helpers/taon-helpers.d.ts +0 -19
- package/browser/lib/index.d.ts +0 -129
- package/browser/lib/inject.d.ts +0 -5
- package/browser/lib/models.d.ts +0 -257
- package/browser/lib/orm.d.ts +0 -3
- package/browser/lib/realtime/realtime-client.d.ts +0 -42
- package/browser/lib/realtime/realtime-core.d.ts +0 -41
- package/browser/lib/realtime/realtime-server.d.ts +0 -44
- package/browser/lib/realtime/realtime-strategy/index.d.ts +0 -5
- package/browser/lib/realtime/realtime-strategy/realtime-strategy-ipc.d.ts +0 -82
- package/browser/lib/realtime/realtime-strategy/realtime-strategy-mock.d.ts +0 -15
- package/browser/lib/realtime/realtime-strategy/realtime-strategy-socket-io.d.ts +0 -16
- package/browser/lib/realtime/realtime-strategy/realtime-strategy.d.ts +0 -12
- package/browser/lib/realtime/realtime-subs-manager.d.ts +0 -15
- package/browser/lib/realtime/realtime.models.d.ts +0 -28
- package/browser/lib/symbols.d.ts +0 -66
- package/browser/lib/ui/index.d.ts +0 -2
- package/browser/lib/ui/taon-admin-mode-configuration/index.d.ts +0 -2
- package/browser/lib/ui/taon-admin-mode-configuration/taon-admin.service.d.ts +0 -22
- package/browser/lib/validators.d.ts +0 -8
- package/browser/public-api.d.ts +0 -2
- package/lib/decorators/classes/controller-config.d.ts +0 -20
- package/lib/decorators/classes/controller-config.js +0 -21
- package/lib/decorators/classes/controller-config.js.map +0 -1
- package/lib/decorators/classes/controller-options.d.ts +0 -16
- package/lib/decorators/classes/controller-options.js +0 -20
- package/lib/decorators/classes/controller-options.js.map +0 -1
- package/lib/formly/formly-group-wrapper-component.js +0 -51
- package/lib/formly/formly-group-wrapper-component.js.map +0 -1
- package/lib/formly/formly-repeat-component.js +0 -95
- package/lib/formly/formly-repeat-component.js.map +0 -1
- package/lib/orm.d.ts +0 -68
- package/lib/orm.js +0 -112
- package/lib/orm.js.map +0 -1
- package/websql/fesm2022/taon.mjs.map +0 -1
- package/websql/index.d.ts +0 -6
- package/websql/lib/base-classes/base-abstract-entity.d.ts +0 -8
- package/websql/lib/base-classes/base-angular-service.d.ts +0 -34
- package/websql/lib/base-classes/base-class.d.ts +0 -16
- package/websql/lib/base-classes/base-context.d.ts +0 -21
- package/websql/lib/base-classes/base-controller.d.ts +0 -83
- package/websql/lib/base-classes/base-crud-controller.d.ts +0 -29
- package/websql/lib/base-classes/base-custom-repository.d.ts +0 -4
- package/websql/lib/base-classes/base-entity.d.ts +0 -17
- package/websql/lib/base-classes/base-file-upload.middleware.d.ts +0 -15
- package/websql/lib/base-classes/base-injector.d.ts +0 -68
- package/websql/lib/base-classes/base-middleware.d.ts +0 -39
- package/websql/lib/base-classes/base-migration.d.ts +0 -12
- package/websql/lib/base-classes/base-provider.d.ts +0 -9
- package/websql/lib/base-classes/base-repository.d.ts +0 -272
- package/websql/lib/base-classes/base-subscriber-for-entity.d.ts +0 -82
- package/websql/lib/base-classes/base.d.ts +0 -47
- package/websql/lib/config/controller-config.d.ts +0 -22
- package/websql/lib/config/controller-options.d.ts +0 -17
- package/websql/lib/config/method-config.d.ts +0 -40
- package/websql/lib/config/param-config.d.ts +0 -9
- package/websql/lib/constants.d.ts +0 -10
- package/websql/lib/context-db-migrations.d.ts +0 -18
- package/websql/lib/create-context.d.ts +0 -79
- package/websql/lib/decorators/classes/controller-decorator.d.ts +0 -6
- package/websql/lib/decorators/classes/entity-decorator.d.ts +0 -20
- package/websql/lib/decorators/classes/middleware-decorator.d.ts +0 -8
- package/websql/lib/decorators/classes/migration-decorator.d.ts +0 -8
- package/websql/lib/decorators/classes/provider-decorator.d.ts +0 -8
- package/websql/lib/decorators/classes/repository-decorator.d.ts +0 -8
- package/websql/lib/decorators/classes/subscriber-decorator.d.ts +0 -9
- package/websql/lib/decorators/decorator-abstract-opt.d.ts +0 -4
- package/websql/lib/decorators/http/http-decorators.d.ts +0 -21
- package/websql/lib/decorators/http/http-methods-decorators.d.ts +0 -71
- package/websql/lib/decorators/http/http-params-decorators.d.ts +0 -9
- package/websql/lib/dependency-injection/di-container.d.ts +0 -6
- package/websql/lib/endpoint-context-storage.d.ts +0 -12
- package/websql/lib/endpoint-context.d.ts +0 -200
- package/websql/lib/entity-process.d.ts +0 -40
- package/websql/lib/get-response-value.d.ts +0 -7
- package/websql/lib/helpers/class-helpers.d.ts +0 -25
- package/websql/lib/helpers/clone-obj.d.ts +0 -2
- package/websql/lib/helpers/taon-helpers.d.ts +0 -19
- package/websql/lib/index.d.ts +0 -129
- package/websql/lib/inject.d.ts +0 -5
- package/websql/lib/models.d.ts +0 -261
- package/websql/lib/orm.d.ts +0 -69
- package/websql/lib/realtime/realtime-client.d.ts +0 -42
- package/websql/lib/realtime/realtime-core.d.ts +0 -41
- package/websql/lib/realtime/realtime-server.d.ts +0 -44
- package/websql/lib/realtime/realtime-strategy/index.d.ts +0 -5
- package/websql/lib/realtime/realtime-strategy/realtime-strategy-ipc.d.ts +0 -82
- package/websql/lib/realtime/realtime-strategy/realtime-strategy-mock.d.ts +0 -15
- package/websql/lib/realtime/realtime-strategy/realtime-strategy-socket-io.d.ts +0 -16
- package/websql/lib/realtime/realtime-strategy/realtime-strategy.d.ts +0 -12
- package/websql/lib/realtime/realtime-subs-manager.d.ts +0 -15
- package/websql/lib/realtime/realtime.models.d.ts +0 -28
- package/websql/lib/symbols.d.ts +0 -66
- package/websql/lib/ui/index.d.ts +0 -2
- package/websql/lib/ui/taon-admin-mode-configuration/index.d.ts +0 -2
- package/websql/lib/ui/taon-admin-mode-configuration/taon-admin.service.d.ts +0 -22
- package/websql/lib/validators.d.ts +0 -8
- package/websql/public-api.d.ts +0 -2
package/websql/lib/symbols.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare namespace Symbols {
|
|
3
|
-
export const ctxInClassOrClassObj: unique symbol;
|
|
4
|
-
export const classNameStaticProperty: string;
|
|
5
|
-
export const fullClassNameStaticProperty: string;
|
|
6
|
-
export const orignalClass: string;
|
|
7
|
-
export const orignalClassClonesObj: string;
|
|
8
|
-
export const classMethodsNames: string;
|
|
9
|
-
/**
|
|
10
|
-
* for backendSocket.in(ROOM_NAME).emit(EVENT)
|
|
11
|
-
*
|
|
12
|
-
* Room names are uniqe..
|
|
13
|
-
* here I am limiting number of event for clients.
|
|
14
|
-
*/
|
|
15
|
-
class Realtime {
|
|
16
|
-
NAMESPACE(contextName: string): string;
|
|
17
|
-
TABLE_CHANGE(contextName: string, tableName: string): string;
|
|
18
|
-
readonly KEYroomSubscribe = "roomSubscribe";
|
|
19
|
-
readonly KEYroomUnsubscribe = "roomUnsubscribe";
|
|
20
|
-
ROOM_NAME_CUSTOM(contextName: string, customEvent: string): string;
|
|
21
|
-
ROOM_SUBSCRIBE_CUSTOM(contextName: string): string;
|
|
22
|
-
ROOM_UNSUBSCRIBE_CUSTOM(contextName: string): string;
|
|
23
|
-
ROOM_NAME_UPDATE_ENTITY(contextName: string, className: string, entityId: number | string): string;
|
|
24
|
-
ROOM_SUBSCRIBE_ENTITY_UPDATE_EVENTS(contextName: string): string;
|
|
25
|
-
ROOM_UNSUBSCRIBE_ENTITY_UPDATE_EVENTS(contextName: string): string;
|
|
26
|
-
ROOM_NAME_UPDATE_ENTITY_PROPERTY(contextName: string, className: string, property: string, entityId: number | string): string;
|
|
27
|
-
ROOM_SUBSCRIBE_ENTITY_PROPERTY_UPDATE_EVENTS(contextName: string): string;
|
|
28
|
-
ROOM_UNSUBSCRIBE_ENTITY_PROPERTY_UPDATE_EVENTS(contextName: string): string;
|
|
29
|
-
}
|
|
30
|
-
export const REALTIME: Realtime;
|
|
31
|
-
export const metadata: {
|
|
32
|
-
className: string;
|
|
33
|
-
options: {
|
|
34
|
-
controller: string;
|
|
35
|
-
entity: string;
|
|
36
|
-
repository: string;
|
|
37
|
-
provider: string;
|
|
38
|
-
subscriber: string;
|
|
39
|
-
migration: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export const old: {
|
|
43
|
-
HAS_TABLE_IN_DB: symbol;
|
|
44
|
-
MDC_KEY: string;
|
|
45
|
-
WEBSQL_REST_PROGRESS_FUN: symbol;
|
|
46
|
-
WEBSQL_REST_PROGRESS_FUN_START: symbol;
|
|
47
|
-
WEBSQL_REST_PROGRESS_FUN_DONE: symbol;
|
|
48
|
-
WEBSQL_REST_PROGRESS_TIMEOUT: symbol;
|
|
49
|
-
X_TOTAL_COUNT: string;
|
|
50
|
-
CIRCURAL_OBJECTS_MAP_BODY: string;
|
|
51
|
-
CIRCURAL_OBJECTS_MAP_QUERY_PARAM: string;
|
|
52
|
-
MAPPING_CONFIG_HEADER: string;
|
|
53
|
-
MAPPING_CONFIG_HEADER_BODY_PARAMS: string;
|
|
54
|
-
MAPPING_CONFIG_HEADER_QUERY_PARAMS: string;
|
|
55
|
-
ENDPOINT_META_CONFIG: string;
|
|
56
|
-
CLASS_DECORATOR_CONTEXT: string;
|
|
57
|
-
SOCKET_MSG: string;
|
|
58
|
-
ANGULAR: {
|
|
59
|
-
INPUT_NAMES: symbol;
|
|
60
|
-
};
|
|
61
|
-
ERROR_MESSAGES: {
|
|
62
|
-
CLASS_NAME_MATCH: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export {};
|
|
66
|
-
}
|
package/websql/lib/ui/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class TaonAdminService {
|
|
3
|
-
private static _instance;
|
|
4
|
-
static get Instance(): TaonAdminService;
|
|
5
|
-
scrollableEnabled: boolean;
|
|
6
|
-
private onEditMode;
|
|
7
|
-
onEditMode$: import("rxjs").Observable<unknown>;
|
|
8
|
-
adminPanelIsOpen: boolean;
|
|
9
|
-
draggablePopupMode: boolean;
|
|
10
|
-
draggablePopupModeFullScreen: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Property used in taon
|
|
13
|
-
*/
|
|
14
|
-
keepWebsqlDbDataAfterReload: boolean;
|
|
15
|
-
constructor();
|
|
16
|
-
setEditMode(value: boolean): void;
|
|
17
|
-
setKeepWebsqlDbDataAfterReload(value: boolean): void;
|
|
18
|
-
enabledTabs: any[];
|
|
19
|
-
hide(): void;
|
|
20
|
-
show(): void;
|
|
21
|
-
logout(): void;
|
|
22
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { MethodConfig } from './config/method-config';
|
|
3
|
-
export declare namespace Validators {
|
|
4
|
-
const classNameVlidation: (className: any, target: Function) => any;
|
|
5
|
-
const checkIfMethodsWithReponseTYpeAlowed: (methods: MethodConfig[], current: MethodConfig) => void;
|
|
6
|
-
const validateClassFunctions: (controllers: any[], entities: any[], proviers: any[], repositories: any[]) => void;
|
|
7
|
-
const preventUndefinedModel: (model: any, id: any) => void;
|
|
8
|
-
}
|
package/websql/public-api.d.ts
DELETED