taon 19.0.45 → 19.0.47
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 +113 -31
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/lib/context-db-migrations.d.ts +1 -1
- package/browser/lib/create-context.d.ts +9 -0
- package/browser/lib/endpoint-context.d.ts +4 -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.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.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/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 +9 -0
- package/lib/create-context.js +10 -2
- 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 +4 -0
- package/lib/endpoint-context.js +205 -121
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.js.map +1 -1
- package/lib/env/env.angular-node-app.d.ts +6 -0
- package/lib/env/env.angular-node-app.js +8 -2
- package/lib/env/env.angular-node-app.js.map +1 -1
- package/lib/env/env.docs-webapp.d.ts +6 -0
- package/lib/env/env.docs-webapp.js +8 -2
- package/lib/env/env.docs-webapp.js.map +1 -1
- package/lib/env/env.electron-app.d.ts +6 -0
- package/lib/env/env.electron-app.js +8 -2
- package/lib/env/env.electron-app.js.map +1 -1
- package/lib/env/env.mobile-app.d.ts +6 -0
- package/lib/env/env.mobile-app.js +8 -2
- package/lib/env/env.mobile-app.js.map +1 -1
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +6 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +8 -2
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
- package/lib/env/env.vscode-plugin.d.ts +6 -0
- package/lib/env/env.vscode-plugin.js +8 -2
- package/lib/env/env.vscode-plugin.js.map +1 -1
- package/lib/env/index.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.js.map +1 -1
- package/lib/inject.js.map +1 -1
- 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/symbols.js.map +1 -1
- 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/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/websql/fesm2022/taon.mjs +135 -62
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/lib/create-context.d.ts +9 -0
- package/websql/lib/endpoint-context.d.ts +4 -0
- package/websql/package.json +1 -1
- package/browser/lib/env.d.ts +0 -3
- package/env.d.ts +0 -3
- package/environments/angular-node-app/env.angular-node-app.__.d.ts +0 -3
- package/environments/angular-node-app/env.angular-node-app.dev.d.ts +0 -3
- package/environments/angular-node-app/env.angular-node-app.localhost.d.ts +0 -3
- package/environments/angular-node-app/env.angular-node-app.prod.d.ts +0 -3
- package/environments/angular-node-app/env.angular-node-app.stage.d.ts +0 -3
- package/environments/docs-webapp/env.docs-webapp.__.d.ts +0 -3
- package/environments/electron-app/env.electron-app.__.d.ts +0 -3
- package/environments/electron-app/env.electron-app.prod.d.ts +0 -3
- package/environments/mobile-app/env.mobile-app.__.d.ts +0 -3
- package/environments/mobile-app/env.mobile-app.prod.d.ts +0 -3
- package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.__.d.ts +0 -3
- package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.prod.d.ts +0 -3
- package/environments/vscode-plugin/env.vscode-plugin.__.d.ts +0 -6
- package/environments/vscode-plugin/env.vscode-plugin.prod.d.ts +0 -4
- package/lib/env.d.ts +0 -2
- package/lib/env.js +0 -7
- package/lib/env.js.map +0 -1
- package/lib/storage.d.ts +0 -1
- package/lib/storage.js +0 -6
- package/lib/storage.js.map +0 -1
- package/lib/ui/directives/index.d.ts +0 -3
- package/lib/ui/directives/index.js +0 -5
- package/lib/ui/directives/index.js.map +0 -1
- package/lib/ui/directives/safe.pipe.d.ts +0 -7
- package/lib/ui/directives/taon-inject-html.directive.d.ts +0 -6
- package/lib/ui/directives/taon-long-press.directive.d.ts +0 -22
- package/lib/ui/directives/view-mode.d.ts +0 -5
- package/lib/ui/directives/view-mode.js +0 -10
- package/lib/ui/directives/view-mode.js.map +0 -1
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +0 -43
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.d.ts +0 -5
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js +0 -3
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +0 -1
- package/lib/ui/taon-full-material.module.d.ts +0 -5
- package/lib/ui/taon-github-fork-me-corner/index.d.ts +0 -2
- package/lib/ui/taon-github-fork-me-corner/index.js +0 -5
- package/lib/ui/taon-github-fork-me-corner/index.js.map +0 -1
- package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +0 -3
- package/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +0 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +0 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.js +0 -5
- package/lib/ui/taon-github-fork-me-ribbon/index.js.map +0 -1
- package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +0 -3
- package/lib/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +0 -2
- package/lib/ui/taon-notifications/index.d.ts +0 -4
- package/lib/ui/taon-notifications/index.js +0 -24
- package/lib/ui/taon-notifications/index.js.map +0 -1
- package/lib/ui/taon-notifications/taon-notifications.component.d.ts +0 -9
- package/lib/ui/taon-notifications/taon-notifications.models.d.ts +0 -6
- package/lib/ui/taon-notifications/taon-notifications.models.js +0 -5
- package/lib/ui/taon-notifications/taon-notifications.models.js.map +0 -1
- package/lib/ui/taon-notifications/taon-notifications.module.d.ts +0 -2
- package/lib/ui/taon-notifications/taon-notifications.service.d.ts +0 -11
- package/lib/ui/taon-progress-bar/index.d.ts +0 -2
- package/lib/ui/taon-progress-bar/index.js +0 -5
- package/lib/ui/taon-progress-bar/index.js.map +0 -1
- package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +0 -13
- package/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +0 -2
- package/lib/ui/taon-session-passcode/index.d.ts +0 -1
- package/lib/ui/taon-session-passcode/index.js +0 -5
- package/lib/ui/taon-session-passcode/index.js.map +0 -1
- package/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +0 -35
- package/lib/ui/taon-table/index.d.ts +0 -2
- package/lib/ui/taon-table/index.js +0 -5
- package/lib/ui/taon-table/index.js.map +0 -1
- package/lib/ui/taon-table/taon-table.component.d.ts +0 -34
- package/lib/ui/taon-table/taon-table.module.d.ts +0 -2
- package/lib/ui/taon.models.d.ts +0 -11
- package/lib/ui/taon.models.js +0 -3
- package/lib/ui/taon.models.js.map +0 -1
- package/tmp-environment.json +0 -32
- package/websql/lib/env.d.ts +0 -3
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { EndpointContext } from './endpoint-context';
|
|
3
3
|
import { Models } from './models';
|
|
4
|
+
/**
|
|
5
|
+
* @returns function that returns context function.
|
|
6
|
+
* Context function can be used to dynamically
|
|
7
|
+
* create context with specific configuration.
|
|
8
|
+
*/
|
|
4
9
|
export declare const createContextTemplate: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION>) => () => {
|
|
5
10
|
types: {
|
|
6
11
|
readonly controllers: any;
|
|
@@ -43,6 +48,10 @@ export declare const createContextTemplate: <CTX extends Record<string, object>,
|
|
|
43
48
|
readonly server: import("./realtime/realtime-server").RealtimeServer;
|
|
44
49
|
};
|
|
45
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* REQURIED PROPERTY:
|
|
53
|
+
* - contextName
|
|
54
|
+
*/
|
|
46
55
|
export declare const createContext: <CTX extends Record<string, object>, CTRL extends Record<string, new (...args: any[]) => any>, ENTITY extends Record<string, new (...args: any[]) => any>, REPO extends Record<string, new (...args: any[]) => any>, PROVIDER extends Record<string, new (...args: any[]) => any>, SUBSCRIBER extends Record<string, new (...args: any[]) => any>, MIGRATION extends Record<string, new (...args: any[]) => any>>(configFn: (env: any) => Models.ContextOptions<CTX, CTRL, ENTITY, REPO, PROVIDER, SUBSCRIBER, MIGRATION>) => {
|
|
47
56
|
types: {
|
|
48
57
|
readonly controllers: any;
|
|
@@ -10,6 +10,10 @@ import { Models } from './models';
|
|
|
10
10
|
export declare class EndpointContext {
|
|
11
11
|
private originalConfig;
|
|
12
12
|
private configFn;
|
|
13
|
+
/**
|
|
14
|
+
* JUST FOR TESTING PURPOSES
|
|
15
|
+
*/
|
|
16
|
+
readonly USE_MARIADB_MYSQL_IN_DOCKER: boolean;
|
|
13
17
|
private static ngZone;
|
|
14
18
|
static initNgZone(ngZone: NgZone): void;
|
|
15
19
|
disabledRealtime: boolean;
|
package/websql/package.json
CHANGED
package/browser/lib/env.d.ts
DELETED
package/env.d.ts
DELETED
package/lib/env.d.ts
DELETED
package/lib/env.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/env.ts"],"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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const globalPublicStorage: typeof globalThis;
|
package/lib/storage.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
|
package/lib/storage.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/storage.ts"],"names":[],"mappings":";;;AAAA,sCAAuC;AAE1B,QAAA,mBAAmB,GAAG,aAAO,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/directives/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
-
export declare class SafePipe implements PipeTransform {
|
|
4
|
-
protected sanitizer: DomSanitizer;
|
|
5
|
-
constructor(sanitizer: DomSanitizer);
|
|
6
|
-
transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
7
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { _ } from 'tnp-core';
|
|
3
|
-
export declare class TaonLongPress {
|
|
4
|
-
pressDuration: number;
|
|
5
|
-
onLongPress: EventEmitter<any>;
|
|
6
|
-
onLongPressing: EventEmitter<any>;
|
|
7
|
-
onLongPressEnd: EventEmitter<any>;
|
|
8
|
-
private pressing;
|
|
9
|
-
private longPressing;
|
|
10
|
-
private timeout;
|
|
11
|
-
private mouseX;
|
|
12
|
-
private mouseY;
|
|
13
|
-
get press(): boolean;
|
|
14
|
-
get longPress(): boolean;
|
|
15
|
-
allowTrigger: boolean;
|
|
16
|
-
triggerEnd: (() => void) & _.Cancelable;
|
|
17
|
-
onMouseDown(event: any): void;
|
|
18
|
-
onMouseMove(event: any): void;
|
|
19
|
-
loop(event: any): void;
|
|
20
|
-
endPress(emit?: boolean): void;
|
|
21
|
-
onMouseUp(): void;
|
|
22
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ViewMode = void 0;
|
|
4
|
-
var ViewMode;
|
|
5
|
-
(function (ViewMode) {
|
|
6
|
-
ViewMode["Add"] = "Add";
|
|
7
|
-
ViewMode["Edit"] = "Edit";
|
|
8
|
-
ViewMode["Preview"] = "Preview";
|
|
9
|
-
})(ViewMode || (exports.ViewMode = ViewMode = {}));
|
|
10
|
-
//# sourceMappingURL=view-mode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view-mode.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/directives/view-mode.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,+BAAmB,CAAA;AACrB,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { BreakpointsService } from 'static-columns';
|
|
5
|
-
import { TaonAdminService } from './taon-admin.service';
|
|
6
|
-
export declare class TaonAdminModeConfigurationComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
7
|
-
private breakpointsService;
|
|
8
|
-
$destroy: Subject<unknown>;
|
|
9
|
-
readonly cdr: ChangeDetectorRef;
|
|
10
|
-
readonly taonAdminService: TaonAdminService;
|
|
11
|
-
readonly isDesktop: boolean;
|
|
12
|
-
isWebSQLMode: boolean;
|
|
13
|
-
hideTaonToolsInProduction: boolean;
|
|
14
|
-
isIframe: boolean;
|
|
15
|
-
height: number;
|
|
16
|
-
openedOnce: boolean;
|
|
17
|
-
reloading: boolean;
|
|
18
|
-
showPasscode: boolean;
|
|
19
|
-
passcode: string;
|
|
20
|
-
message: string;
|
|
21
|
-
dragPositionX: number;
|
|
22
|
-
dragPositionY: number;
|
|
23
|
-
dragPositionZero: Point;
|
|
24
|
-
dragPosition: Point;
|
|
25
|
-
selectedIndex: number;
|
|
26
|
-
tabGroup: any;
|
|
27
|
-
wasOpenDraggablePopup: boolean;
|
|
28
|
-
taonAdminModeConfigurationDataChanged: EventEmitter<any>;
|
|
29
|
-
taonAdminModeConfigurationData: any;
|
|
30
|
-
get opened(): boolean;
|
|
31
|
-
set opened(v: boolean);
|
|
32
|
-
constructor(breakpointsService: BreakpointsService);
|
|
33
|
-
ngOnInit(): Promise<void>;
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
onResize(event: Event): void;
|
|
37
|
-
reloadTabs(): Promise<void>;
|
|
38
|
-
toogle(): Promise<void>;
|
|
39
|
-
toogleFullScreen(): Promise<void>;
|
|
40
|
-
resetDrag(): void;
|
|
41
|
-
moved(c: CdkDragEnd): void;
|
|
42
|
-
scrollTabs(event: any): void;
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taon-admin.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-admin-mode-configuration/taon-admin.models.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-github-fork-me-corner/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-github-fork-me-ribbon/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -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":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-notifications/index.ts"],"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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taon-notifications.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-notifications/taon-notifications.models.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-progress-bar/index.ts"],"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 +0,0 @@
|
|
|
1
|
-
export * from './taon-session-passcode.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-session-passcode/index.ts"],"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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-table/index.ts"],"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
|
-
}
|
package/lib/ui/taon.models.d.ts
DELETED
|
@@ -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
|
-
}
|
package/lib/ui/taon.models.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taon.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon.models.ts"],"names":[],"mappings":""}
|