tnp-helpers 13.1.37 → 13.1.39
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/angular.helper.mjs +87 -87
- package/browser/esm2020/lib/base-component.mjs +49 -49
- package/browser/esm2020/lib/base-formly-component.mjs +112 -112
- package/browser/esm2020/lib/condition-wait.mjs +45 -45
- package/browser/esm2020/lib/constants.mjs +8 -8
- package/browser/esm2020/lib/dual-component-ctrl.mjs +118 -118
- package/browser/esm2020/lib/firedev-models.mjs +3 -3
- package/browser/esm2020/lib/helpers-array-obj.mjs +82 -82
- package/browser/esm2020/lib/helpers-browser.mjs +46 -46
- package/browser/esm2020/lib/helpers-console-gui.mjs +9 -9
- package/browser/esm2020/lib/helpers-environment.mjs +32 -32
- package/browser/esm2020/lib/helpers-numbers.mjs +7 -7
- package/browser/esm2020/lib/helpers-strings-regexes.mjs +50 -50
- package/browser/esm2020/lib/helpers-strings.mjs +252 -252
- package/browser/esm2020/lib/helpers.mjs +285 -285
- package/browser/esm2020/lib/index.mjs +15 -15
- package/browser/esm2020/lib/long-press.directive.mjs +112 -112
- package/browser/esm2020/lib/project.mjs +429 -429
- package/browser/esm2020/lib/resize-service.mjs +21 -21
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/esm2020/tnp-helpers.mjs +4 -4
- package/browser/fesm2015/tnp-helpers.mjs +1686 -1686
- package/browser/fesm2020/tnp-helpers.mjs +1676 -1676
- package/browser/lib/angular.helper.d.ts +35 -35
- package/browser/lib/base-component.d.ts +16 -16
- package/browser/lib/base-formly-component.d.ts +30 -30
- package/browser/lib/condition-wait.d.ts +7 -7
- package/browser/lib/constants.d.ts +6 -6
- package/browser/lib/dual-component-ctrl.d.ts +24 -24
- package/browser/lib/firedev-models.d.ts +12 -12
- package/browser/lib/helpers-array-obj.d.ts +14 -14
- package/browser/lib/helpers-browser.d.ts +10 -10
- package/browser/lib/helpers-console-gui.d.ts +5 -5
- package/browser/lib/helpers-environment.d.ts +4 -4
- package/browser/lib/helpers-numbers.d.ts +2 -2
- package/browser/lib/helpers-strings-regexes.d.ts +27 -27
- package/browser/lib/helpers-strings.d.ts +49 -49
- package/browser/lib/helpers.d.ts +33 -33
- package/browser/lib/index.d.ts +11 -11
- package/browser/lib/long-press.directive.d.ts +24 -24
- package/browser/lib/project.d.ts +93 -93
- package/browser/lib/resize-service.d.ts +8 -8
- package/browser/tnp-helpers.d.ts +4 -4
- package/client/README.md +24 -24
- package/client/esm2020/lib/angular.helper.mjs +87 -87
- package/client/esm2020/lib/base-component.mjs +49 -49
- package/client/esm2020/lib/base-formly-component.mjs +112 -112
- package/client/esm2020/lib/condition-wait.mjs +45 -45
- package/client/esm2020/lib/constants.mjs +8 -8
- package/client/esm2020/lib/dual-component-ctrl.mjs +118 -118
- package/client/esm2020/lib/firedev-models.mjs +3 -3
- package/client/esm2020/lib/helpers-array-obj.mjs +82 -82
- package/client/esm2020/lib/helpers-browser.mjs +46 -46
- package/client/esm2020/lib/helpers-console-gui.mjs +9 -9
- package/client/esm2020/lib/helpers-environment.mjs +32 -32
- package/client/esm2020/lib/helpers-numbers.mjs +7 -7
- package/client/esm2020/lib/helpers-strings-regexes.mjs +50 -50
- package/client/esm2020/lib/helpers-strings.mjs +252 -252
- package/client/esm2020/lib/helpers.mjs +285 -285
- package/client/esm2020/lib/index.mjs +15 -15
- package/client/esm2020/lib/long-press.directive.mjs +112 -112
- package/client/esm2020/lib/project.mjs +429 -429
- package/client/esm2020/lib/resize-service.mjs +21 -21
- package/client/esm2020/public-api.mjs +1 -1
- package/client/esm2020/tnp-helpers.mjs +4 -4
- package/client/fesm2015/tnp-helpers.mjs +1686 -1686
- package/client/fesm2020/tnp-helpers.mjs +1676 -1676
- package/client/lib/angular.helper.d.ts +35 -35
- package/client/lib/base-component.d.ts +16 -16
- package/client/lib/base-formly-component.d.ts +30 -30
- package/client/lib/condition-wait.d.ts +7 -7
- package/client/lib/constants.d.ts +6 -6
- package/client/lib/dual-component-ctrl.d.ts +24 -24
- package/client/lib/firedev-models.d.ts +12 -12
- package/client/lib/helpers-array-obj.d.ts +14 -14
- package/client/lib/helpers-browser.d.ts +10 -10
- package/client/lib/helpers-console-gui.d.ts +5 -5
- package/client/lib/helpers-environment.d.ts +4 -4
- package/client/lib/helpers-numbers.d.ts +2 -2
- package/client/lib/helpers-strings-regexes.d.ts +27 -27
- package/client/lib/helpers-strings.d.ts +49 -49
- package/client/lib/helpers.d.ts +33 -33
- package/client/lib/index.d.ts +11 -11
- package/client/lib/long-press.directive.d.ts +24 -24
- package/client/lib/project.d.ts +93 -93
- package/client/lib/resize-service.d.ts +8 -8
- package/client/package.json +33 -32
- package/client/tnp-helpers.d.ts +4 -4
- package/index.d.ts +1 -1
- package/lib/angular.helper.d.ts +35 -35
- package/lib/angular.helper.js +3 -3
- package/lib/base-component.d.ts +13 -13
- package/lib/base-component.js +3 -3
- package/lib/base-formly-component.d.ts +27 -27
- package/lib/base-formly-component.js +3 -3
- package/lib/condition-wait.d.ts +8 -8
- package/lib/constants.d.ts +7 -7
- package/lib/dual-component-ctrl.d.ts +24 -24
- package/lib/dual-component-ctrl.js +3 -3
- package/lib/firedev-models.d.ts +13 -13
- package/lib/git-project.d.ts +52 -52
- package/lib/helpers-array-obj.d.ts +15 -15
- package/lib/helpers-browser.d.ts +11 -11
- package/lib/helpers-cli-tool.backend.d.ts +55 -55
- package/lib/helpers-console-gui.d.ts +17 -17
- package/lib/helpers-dependencies.backend.d.ts +11 -11
- package/lib/helpers-environment.d.ts +5 -5
- package/lib/helpers-file-folders.backend.d.ts +85 -85
- package/lib/helpers-git.backend.d.ts +50 -50
- package/lib/helpers-json5.backend.d.ts +16 -16
- package/lib/helpers-morphi-framework.backend.d.ts +4 -4
- package/lib/helpers-network.backend.d.ts +8 -8
- package/lib/helpers-npm.backend.d.ts +3 -3
- package/lib/helpers-numbers.d.ts +3 -3
- package/lib/helpers-path.backend.d.ts +7 -7
- package/lib/helpers-process.backend.d.ts +58 -58
- package/lib/helpers-process.backend.js +1 -1
- package/lib/helpers-process.backend.js.map +1 -1
- package/lib/helpers-strings-regexes.d.ts +28 -28
- package/lib/helpers-strings.d.ts +50 -50
- package/lib/helpers-system-terminal.backend.d.ts +5 -5
- package/lib/helpers-vscode.backend.d.ts +5 -5
- package/lib/helpers.d.ts +74 -74
- package/lib/index.d.ts +12 -12
- package/lib/long-press.directive.d.ts +22 -22
- package/lib/merge-helpers.backend.d.ts +23 -23
- package/lib/project.d.ts +96 -96
- package/lib/resize-service.d.ts +6 -6
- package/lib/ts-code/index.d.ts +1 -1
- package/lib/ts-code/ts-code-extractor.d.ts +14 -14
- package/lib/ts-code/ts-code-modifier.backend.d.ts +12 -12
- package/package.json +5 -5
- package/package.json_devDependencies.json +222 -222
- package/package.json_tnp.json5 +49 -46
- package/tmp-environment.json +39 -37
- package/websql/README.md +24 -24
- package/websql/esm2020/lib/angular.helper.mjs +87 -87
- package/websql/esm2020/lib/base-component.mjs +49 -49
- package/websql/esm2020/lib/base-formly-component.mjs +112 -112
- package/websql/esm2020/lib/condition-wait.mjs +45 -45
- package/websql/esm2020/lib/constants.mjs +8 -8
- package/websql/esm2020/lib/dual-component-ctrl.mjs +118 -118
- package/websql/esm2020/lib/firedev-models.mjs +3 -3
- package/websql/esm2020/lib/helpers-array-obj.mjs +82 -82
- package/websql/esm2020/lib/helpers-browser.mjs +46 -46
- package/websql/esm2020/lib/helpers-console-gui.mjs +9 -9
- package/websql/esm2020/lib/helpers-environment.mjs +32 -32
- package/websql/esm2020/lib/helpers-numbers.mjs +7 -7
- package/websql/esm2020/lib/helpers-strings-regexes.mjs +50 -50
- package/websql/esm2020/lib/helpers-strings.mjs +252 -252
- package/websql/esm2020/lib/helpers.mjs +285 -285
- package/websql/esm2020/lib/index.mjs +15 -15
- package/websql/esm2020/lib/long-press.directive.mjs +112 -112
- package/websql/esm2020/lib/project.mjs +429 -429
- package/websql/esm2020/lib/resize-service.mjs +21 -21
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/esm2020/tnp-helpers.mjs +4 -4
- package/websql/fesm2015/tnp-helpers.mjs +1686 -1686
- package/websql/fesm2020/tnp-helpers.mjs +1676 -1676
- package/websql/lib/angular.helper.d.ts +35 -35
- package/websql/lib/base-component.d.ts +16 -16
- package/websql/lib/base-formly-component.d.ts +30 -30
- package/websql/lib/condition-wait.d.ts +7 -7
- package/websql/lib/constants.d.ts +6 -6
- package/websql/lib/dual-component-ctrl.d.ts +24 -24
- package/websql/lib/firedev-models.d.ts +12 -12
- package/websql/lib/helpers-array-obj.d.ts +14 -14
- package/websql/lib/helpers-browser.d.ts +10 -10
- package/websql/lib/helpers-console-gui.d.ts +5 -5
- package/websql/lib/helpers-environment.d.ts +4 -4
- package/websql/lib/helpers-numbers.d.ts +2 -2
- package/websql/lib/helpers-strings-regexes.d.ts +27 -27
- package/websql/lib/helpers-strings.d.ts +49 -49
- package/websql/lib/helpers.d.ts +33 -33
- package/websql/lib/index.d.ts +11 -11
- package/websql/lib/long-press.directive.d.ts +24 -24
- package/websql/lib/project.d.ts +93 -93
- package/websql/lib/resize-service.d.ts +8 -8
- package/websql/tnp-helpers.d.ts +4 -4
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { _ } from 'tnp-core/browser';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LongPress {
|
|
6
|
-
pressDuration: number;
|
|
7
|
-
onLongPress: EventEmitter<any>;
|
|
8
|
-
onLongPressing: EventEmitter<any>;
|
|
9
|
-
onLongPressEnd: EventEmitter<any>;
|
|
10
|
-
private pressing;
|
|
11
|
-
private longPressing;
|
|
12
|
-
private timeout;
|
|
13
|
-
private mouseX;
|
|
14
|
-
private mouseY;
|
|
15
|
-
get press(): boolean;
|
|
16
|
-
get longPress(): boolean;
|
|
17
|
-
allowTrigger: boolean;
|
|
18
|
-
triggerEnd: (() => void) & _.Cancelable;
|
|
19
|
-
onMouseDown(event: any): void;
|
|
20
|
-
onMouseMove(event: any): void;
|
|
21
|
-
loop(event: any): void;
|
|
22
|
-
endPress(emit?: boolean): void;
|
|
23
|
-
onMouseUp(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LongPress, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LongPress, "[long-press]", never, { "pressDuration": "pressDuration"; }, { "onLongPress": "onLongPress"; "onLongPressing": "onLongPressing"; "onLongPressEnd": "onLongPressEnd"; }, never>;
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { _ } from 'tnp-core/browser';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LongPress {
|
|
6
|
+
pressDuration: number;
|
|
7
|
+
onLongPress: EventEmitter<any>;
|
|
8
|
+
onLongPressing: EventEmitter<any>;
|
|
9
|
+
onLongPressEnd: EventEmitter<any>;
|
|
10
|
+
private pressing;
|
|
11
|
+
private longPressing;
|
|
12
|
+
private timeout;
|
|
13
|
+
private mouseX;
|
|
14
|
+
private mouseY;
|
|
15
|
+
get press(): boolean;
|
|
16
|
+
get longPress(): boolean;
|
|
17
|
+
allowTrigger: boolean;
|
|
18
|
+
triggerEnd: (() => void) & _.Cancelable;
|
|
19
|
+
onMouseDown(event: any): void;
|
|
20
|
+
onMouseMove(event: any): void;
|
|
21
|
+
loop(event: any): void;
|
|
22
|
+
endPress(emit?: boolean): void;
|
|
23
|
+
onMouseUp(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LongPress, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LongPress, "[long-press]", never, { "pressDuration": "pressDuration"; }, { "onLongPress": "onLongPress"; "onLongPressing": "onLongPressing"; "onLongPressEnd": "onLongPressEnd"; }, never>;
|
|
26
26
|
}
|
package/client/lib/project.d.ts
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { ConfigModels } from 'tnp-config/browser';
|
|
3
|
-
export declare type EmptyProjectStructure = {
|
|
4
|
-
includeContent?: boolean;
|
|
5
|
-
relativePath: string;
|
|
6
|
-
relativeLinkFrom?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare class Project<T extends Project<any> = any> {
|
|
9
|
-
protected cache: {};
|
|
10
|
-
/**
|
|
11
|
-
* Do use this variable for comparatios
|
|
12
|
-
* ONLY FOR VIEWING
|
|
13
|
-
*/
|
|
14
|
-
readonly _type: ConfigModels.LibType;
|
|
15
|
-
browser: Pick<Project<any>, 'location' | 'name'>;
|
|
16
|
-
location: string;
|
|
17
|
-
name: string;
|
|
18
|
-
genericName: string;
|
|
19
|
-
isWorkspace: boolean;
|
|
20
|
-
isVscodeExtension: boolean;
|
|
21
|
-
isDocker: boolean;
|
|
22
|
-
isSite: boolean;
|
|
23
|
-
isSiteInStrictMode?: boolean;
|
|
24
|
-
isSiteInDependencyMode?: boolean;
|
|
25
|
-
isCoreProject: boolean;
|
|
26
|
-
isCommandLineToolOnly: boolean;
|
|
27
|
-
isGenerated: boolean;
|
|
28
|
-
isGeneratedForRelease: boolean;
|
|
29
|
-
isWorkspaceChildProject: boolean;
|
|
30
|
-
isBasedOnOtherProject: boolean;
|
|
31
|
-
isForRecreation: boolean;
|
|
32
|
-
isContainer: boolean;
|
|
33
|
-
isSmartContainer: boolean;
|
|
34
|
-
isSmartContainerChild: boolean;
|
|
35
|
-
isContainerWithLinkedProjects: boolean;
|
|
36
|
-
isContainerChild: boolean;
|
|
37
|
-
isContainerCoreProject: boolean;
|
|
38
|
-
isStandaloneProject: boolean;
|
|
39
|
-
isMonorepo: boolean;
|
|
40
|
-
isUnknowNpmProject: boolean;
|
|
41
|
-
isNaviCli: boolean;
|
|
42
|
-
useFramework: boolean;
|
|
43
|
-
defaultPort?: number;
|
|
44
|
-
version: string;
|
|
45
|
-
lastNpmVersion?: string;
|
|
46
|
-
_routerTargetHttp?: string;
|
|
47
|
-
customizableFilesAndFolders: string[];
|
|
48
|
-
type: ConfigModels.LibType;
|
|
49
|
-
backupName: string;
|
|
50
|
-
resources: string[];
|
|
51
|
-
env?: any;
|
|
52
|
-
allowedEnvironments: ConfigModels.EnvironmentName[];
|
|
53
|
-
children: T[];
|
|
54
|
-
smartContainerBuildTarget: T;
|
|
55
|
-
grandpa: T;
|
|
56
|
-
distribution: T;
|
|
57
|
-
childrenThatAreLibs?: T[];
|
|
58
|
-
childrenThatAreClients?: T[];
|
|
59
|
-
childrenThatAreThirdPartyInNodeModules?: T[];
|
|
60
|
-
parent: T;
|
|
61
|
-
preview: T;
|
|
62
|
-
baseline: T;
|
|
63
|
-
static projects: Project<any>[];
|
|
64
|
-
/**
|
|
65
|
-
* To speed up checking folder I am keeping pathes for alterdy checked folder
|
|
66
|
-
* This may break things that are creating new projects
|
|
67
|
-
*/
|
|
68
|
-
static emptyLocations: string[];
|
|
69
|
-
static typeFrom(location: string): ConfigModels.LibType;
|
|
70
|
-
static unload(project: Project): void;
|
|
71
|
-
static From<T = Project<any>>(locationOfProj: string | string[]): T;
|
|
72
|
-
static nearestTo<T = Project>(absoluteLocation: string, options?: {
|
|
73
|
-
type?: ConfigModels.LibType;
|
|
74
|
-
findGitRoot?: boolean;
|
|
75
|
-
onlyOutSideNodeModules?: boolean;
|
|
76
|
-
}): T;
|
|
77
|
-
static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
|
|
78
|
-
static DefaultPortByType(type: ConfigModels.LibType): number;
|
|
79
|
-
static get isBundleMode(): boolean;
|
|
80
|
-
static get Current(): Project<any>;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated
|
|
83
|
-
*/
|
|
84
|
-
static get Tnp(): Project<any>;
|
|
85
|
-
static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
|
|
86
|
-
defineProperty<T>(variableName: keyof T, classFn: Function): any;
|
|
87
|
-
setType(this: Project, type: ConfigModels.LibType): void;
|
|
88
|
-
typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
89
|
-
typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
90
|
-
forEmptyStructure(): EmptyProjectStructure[];
|
|
91
|
-
}
|
|
92
|
-
export declare type ProjectBuild = {
|
|
93
|
-
project: Project;
|
|
94
|
-
appBuild: boolean;
|
|
2
|
+
import { ConfigModels } from 'tnp-config/browser';
|
|
3
|
+
export declare type EmptyProjectStructure = {
|
|
4
|
+
includeContent?: boolean;
|
|
5
|
+
relativePath: string;
|
|
6
|
+
relativeLinkFrom?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class Project<T extends Project<any> = any> {
|
|
9
|
+
protected cache: {};
|
|
10
|
+
/**
|
|
11
|
+
* Do use this variable for comparatios
|
|
12
|
+
* ONLY FOR VIEWING
|
|
13
|
+
*/
|
|
14
|
+
readonly _type: ConfigModels.LibType;
|
|
15
|
+
browser: Pick<Project<any>, 'location' | 'name'>;
|
|
16
|
+
location: string;
|
|
17
|
+
name: string;
|
|
18
|
+
genericName: string;
|
|
19
|
+
isWorkspace: boolean;
|
|
20
|
+
isVscodeExtension: boolean;
|
|
21
|
+
isDocker: boolean;
|
|
22
|
+
isSite: boolean;
|
|
23
|
+
isSiteInStrictMode?: boolean;
|
|
24
|
+
isSiteInDependencyMode?: boolean;
|
|
25
|
+
isCoreProject: boolean;
|
|
26
|
+
isCommandLineToolOnly: boolean;
|
|
27
|
+
isGenerated: boolean;
|
|
28
|
+
isGeneratedForRelease: boolean;
|
|
29
|
+
isWorkspaceChildProject: boolean;
|
|
30
|
+
isBasedOnOtherProject: boolean;
|
|
31
|
+
isForRecreation: boolean;
|
|
32
|
+
isContainer: boolean;
|
|
33
|
+
isSmartContainer: boolean;
|
|
34
|
+
isSmartContainerChild: boolean;
|
|
35
|
+
isContainerWithLinkedProjects: boolean;
|
|
36
|
+
isContainerChild: boolean;
|
|
37
|
+
isContainerCoreProject: boolean;
|
|
38
|
+
isStandaloneProject: boolean;
|
|
39
|
+
isMonorepo: boolean;
|
|
40
|
+
isUnknowNpmProject: boolean;
|
|
41
|
+
isNaviCli: boolean;
|
|
42
|
+
useFramework: boolean;
|
|
43
|
+
defaultPort?: number;
|
|
44
|
+
version: string;
|
|
45
|
+
lastNpmVersion?: string;
|
|
46
|
+
_routerTargetHttp?: string;
|
|
47
|
+
customizableFilesAndFolders: string[];
|
|
48
|
+
type: ConfigModels.LibType;
|
|
49
|
+
backupName: string;
|
|
50
|
+
resources: string[];
|
|
51
|
+
env?: any;
|
|
52
|
+
allowedEnvironments: ConfigModels.EnvironmentName[];
|
|
53
|
+
children: T[];
|
|
54
|
+
smartContainerBuildTarget: T;
|
|
55
|
+
grandpa: T;
|
|
56
|
+
distribution: T;
|
|
57
|
+
childrenThatAreLibs?: T[];
|
|
58
|
+
childrenThatAreClients?: T[];
|
|
59
|
+
childrenThatAreThirdPartyInNodeModules?: T[];
|
|
60
|
+
parent: T;
|
|
61
|
+
preview: T;
|
|
62
|
+
baseline: T;
|
|
63
|
+
static projects: Project<any>[];
|
|
64
|
+
/**
|
|
65
|
+
* To speed up checking folder I am keeping pathes for alterdy checked folder
|
|
66
|
+
* This may break things that are creating new projects
|
|
67
|
+
*/
|
|
68
|
+
static emptyLocations: string[];
|
|
69
|
+
static typeFrom(location: string): ConfigModels.LibType;
|
|
70
|
+
static unload(project: Project): void;
|
|
71
|
+
static From<T = Project<any>>(locationOfProj: string | string[]): T;
|
|
72
|
+
static nearestTo<T = Project>(absoluteLocation: string, options?: {
|
|
73
|
+
type?: ConfigModels.LibType;
|
|
74
|
+
findGitRoot?: boolean;
|
|
75
|
+
onlyOutSideNodeModules?: boolean;
|
|
76
|
+
}): T;
|
|
77
|
+
static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
|
|
78
|
+
static DefaultPortByType(type: ConfigModels.LibType): number;
|
|
79
|
+
static get isBundleMode(): boolean;
|
|
80
|
+
static get Current(): Project<any>;
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated
|
|
83
|
+
*/
|
|
84
|
+
static get Tnp(): Project<any>;
|
|
85
|
+
static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
|
|
86
|
+
defineProperty<T>(variableName: keyof T, classFn: Function): any;
|
|
87
|
+
setType(this: Project, type: ConfigModels.LibType): void;
|
|
88
|
+
typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
89
|
+
typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
90
|
+
forEmptyStructure(): EmptyProjectStructure[];
|
|
91
|
+
}
|
|
92
|
+
export declare type ProjectBuild = {
|
|
93
|
+
project: Project;
|
|
94
|
+
appBuild: boolean;
|
|
95
95
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ResizeService {
|
|
4
|
-
private resizeDetector;
|
|
5
|
-
constructor();
|
|
6
|
-
addResizeEventListener(element: HTMLElement, handler: Function): void;
|
|
7
|
-
removeResizeEventListener(element: HTMLElement): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ResizeService {
|
|
4
|
+
private resizeDetector;
|
|
5
|
+
constructor();
|
|
6
|
+
addResizeEventListener(element: HTMLElement, handler: Function): void;
|
|
7
|
+
removeResizeEventListener(element: HTMLElement): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
|
|
10
10
|
}
|
package/client/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "13.1.
|
|
2
|
+
"version": "13.1.39",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"json10-writer": "~13.1.
|
|
5
|
-
"morphi": "~13.2.
|
|
4
|
+
"json10-writer": "~13.1.41",
|
|
5
|
+
"morphi": "~13.2.12",
|
|
6
6
|
"task.js": "0.1.5",
|
|
7
|
-
"tnp-models": "~13.1.
|
|
7
|
+
"tnp-models": "~13.1.28"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"@angular/compiler": "~13.3.0",
|
|
27
27
|
"@angular/compiler-cli": "~13.3.0",
|
|
28
28
|
"@angular/core": "~13.3.0",
|
|
29
|
+
"@angular/elements": "~13.3.0",
|
|
29
30
|
"@angular/flex-layout": "~13.0.0-beta.38",
|
|
30
31
|
"@angular/forms": "~13.3.0",
|
|
31
32
|
"@angular/material": "~13.3.9",
|
|
@@ -86,9 +87,9 @@
|
|
|
86
87
|
"@types/watch": "1.0.0",
|
|
87
88
|
"accepts": "1.3.4",
|
|
88
89
|
"angular-material-css-vars": "5.0.0",
|
|
89
|
-
"any-project-cli": "~13.1.
|
|
90
|
+
"any-project-cli": "~13.1.27",
|
|
90
91
|
"axios": "1.3.5",
|
|
91
|
-
"background-worker-process": "~13.1.
|
|
92
|
+
"background-worker-process": "~13.1.44",
|
|
92
93
|
"base32": "0.0.7",
|
|
93
94
|
"bcryptjs": "2.4.3",
|
|
94
95
|
"better-sqlite3": "7.6.2",
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
"concurrently": "3.5.1",
|
|
110
111
|
"content-type": "1.0.4",
|
|
111
112
|
"cookie-parser": "1.4.3",
|
|
112
|
-
"copy-paste": "1.3
|
|
113
|
+
"copy-paste": "1.5.3",
|
|
113
114
|
"cors": "2.8.4",
|
|
114
115
|
"cpr": "3.0.1",
|
|
115
116
|
"cross-spawn": "7.0.3",
|
|
@@ -130,12 +131,12 @@
|
|
|
130
131
|
"file-loader": "1.1.5",
|
|
131
132
|
"file-saver": "2.0.5",
|
|
132
133
|
"firedev": "^13",
|
|
133
|
-
"firedev-crud": "~13.1.
|
|
134
|
-
"firedev-crud-deamon": "~13.1.
|
|
135
|
-
"firedev-ports": "~13.1.
|
|
136
|
-
"firedev-storage": "~13.2.
|
|
137
|
-
"firedev-typeorm": "~13.1.
|
|
138
|
-
"firedev-ui": "~13.
|
|
134
|
+
"firedev-crud": "~13.1.49",
|
|
135
|
+
"firedev-crud-deamon": "~13.1.39",
|
|
136
|
+
"firedev-ports": "~13.1.44",
|
|
137
|
+
"firedev-storage": "~13.2.36",
|
|
138
|
+
"firedev-typeorm": "~13.1.32",
|
|
139
|
+
"firedev-ui": "~13.2.9",
|
|
139
140
|
"fkill": "6.1.0",
|
|
140
141
|
"font-awesome": "4.7.0",
|
|
141
142
|
"form-data": "4.0.0",
|
|
@@ -149,17 +150,17 @@
|
|
|
149
150
|
"http-proxy-middleware": "0.19.1",
|
|
150
151
|
"http-server": "0.11.1",
|
|
151
152
|
"immutable": "4.3.0",
|
|
152
|
-
"incremental-compiler": "~13.1.
|
|
153
|
+
"incremental-compiler": "~13.1.26",
|
|
153
154
|
"inquirer": "7.3.3",
|
|
154
155
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
155
156
|
"is-elevated": "3.0.0",
|
|
156
|
-
"isomorphic-region-loader": "~13.1.
|
|
157
|
+
"isomorphic-region-loader": "~13.1.37",
|
|
157
158
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
158
159
|
"jasmine-core": "4.0.0",
|
|
159
160
|
"jscodeshift": "0.6.3",
|
|
160
161
|
"json-stringify-safe": "5.0.1",
|
|
161
|
-
"json10": "~13.1.
|
|
162
|
-
"json5": "2.1
|
|
162
|
+
"json10": "~13.1.45",
|
|
163
|
+
"json5": "2.2.1",
|
|
163
164
|
"json5-writer": "0.2.0",
|
|
164
165
|
"jszip": "3.10.1",
|
|
165
166
|
"karma": "6.3.0",
|
|
@@ -171,21 +172,21 @@
|
|
|
171
172
|
"lnk": "1.0.1",
|
|
172
173
|
"localforage": "1.10.0",
|
|
173
174
|
"lockfile": "1.0.4",
|
|
174
|
-
"lodash": "4.17.
|
|
175
|
-
"lodash-walk-object": "~13.1.
|
|
175
|
+
"lodash": "4.17.20",
|
|
176
|
+
"lodash-walk-object": "~13.1.45",
|
|
176
177
|
"lowdb": "1.0.0",
|
|
177
|
-
"magic-renamer": "~13.1.
|
|
178
|
+
"magic-renamer": "~13.1.41",
|
|
178
179
|
"material-design-icons": "3.0.1",
|
|
179
180
|
"method-override": "2.3.10",
|
|
180
181
|
"minimist": "1.2.0",
|
|
181
182
|
"mkdirp": "0.5.1",
|
|
182
183
|
"mocha": "5.2.0",
|
|
183
|
-
"moment": "2.
|
|
184
|
+
"moment": "2.29.3",
|
|
184
185
|
"ng-in-viewport": "13.0.1",
|
|
185
186
|
"ng-packagr": "13.0.0",
|
|
186
187
|
"ng-talkback": "~13.1.19",
|
|
187
|
-
"ng2-logger": "~13.1.
|
|
188
|
-
"ng2-rest": "~13.2.
|
|
188
|
+
"ng2-logger": "~13.1.25",
|
|
189
|
+
"ng2-rest": "~13.2.9",
|
|
189
190
|
"ngx-ace-wrapper": "12",
|
|
190
191
|
"ngx-editor": "12.2.1",
|
|
191
192
|
"ngx-highlightjs": "6.1.3",
|
|
@@ -226,24 +227,24 @@
|
|
|
226
227
|
"socket.io": "2.4.1",
|
|
227
228
|
"sort-package-json": "1.11.0",
|
|
228
229
|
"sql.js": "1.8.0",
|
|
229
|
-
"static-columns": "~13.3.
|
|
230
|
+
"static-columns": "~13.3.8",
|
|
230
231
|
"string-similarity": "4.0.2",
|
|
231
232
|
"sudo-block": "3.0.0",
|
|
232
233
|
"systeminformation": "3.45.7",
|
|
233
234
|
"threads": "1.7.0",
|
|
234
|
-
"tnp-cli": "~13.1.
|
|
235
|
-
"tnp-config": "~13.1.
|
|
236
|
-
"tnp-core": "~13.2.
|
|
237
|
-
"tnp-db": "~13.1.
|
|
238
|
-
"tnp-helpers": "~13.1.
|
|
239
|
-
"tnp-ui": "~13.1.27",
|
|
235
|
+
"tnp-cli": "~13.1.60",
|
|
236
|
+
"tnp-config": "~13.1.76",
|
|
237
|
+
"tnp-core": "~13.2.20",
|
|
238
|
+
"tnp-db": "~13.1.21",
|
|
239
|
+
"tnp-helpers": "~13.1.38",
|
|
240
240
|
"ts-debug": "1.3.0",
|
|
241
241
|
"ts-loader": "2.3.1",
|
|
242
242
|
"ts-node": "10.7.0",
|
|
243
243
|
"tslib": "~2.3.0",
|
|
244
|
+
"turndown": "7.1.2",
|
|
244
245
|
"typeorm": "~0.3.10",
|
|
245
246
|
"typescript": "~4.6.2",
|
|
246
|
-
"typescript-class-helpers": "~13.2.
|
|
247
|
+
"typescript-class-helpers": "~13.2.13",
|
|
247
248
|
"typescript-formatter": "~7.2.2",
|
|
248
249
|
"underscore": "1.9.1",
|
|
249
250
|
"uuid": "8.3.2",
|
|
@@ -254,5 +255,5 @@
|
|
|
254
255
|
"yup": "1.1.1",
|
|
255
256
|
"zone.js": "~0.11.4"
|
|
256
257
|
},
|
|
257
|
-
"lastBuildTagHash": "
|
|
258
|
+
"lastBuildTagHash": "e4e2397b6d13878ee10983f267cd5d3564dc82bb"
|
|
258
259
|
}
|
package/client/tnp-helpers.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
package/lib/angular.helper.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
export declare class SerializedSubject<T> {
|
|
3
|
-
id: string;
|
|
4
|
-
constructor(id: string);
|
|
5
|
-
}
|
|
6
|
-
export declare namespace NgHelpers {
|
|
7
|
-
/**
|
|
8
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
9
|
-
*/
|
|
10
|
-
function serialize(destroy$: Subject<any>): SerializedSubject<any>;
|
|
11
|
-
/**
|
|
12
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
13
|
-
*/
|
|
14
|
-
function deserialize(destroy$: SerializedSubject<any>): Subject<any>;
|
|
15
|
-
function unsubscribe(destroy$: Subject<any>): void;
|
|
16
|
-
/**
|
|
17
|
-
get properties from scss file
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import styles from './tasks-ngrx-data.component.scss';
|
|
21
|
-
|
|
22
|
-
export class ExampleComponent {
|
|
23
|
-
sassFile = sassFile(styles);
|
|
24
|
-
|
|
25
|
-
async ngOnInit() {
|
|
26
|
-
this.tasksService.getAll();
|
|
27
|
-
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
28
|
-
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
*/
|
|
32
|
-
function sassFile(styles: string): {
|
|
33
|
-
stringValue: (name: string) => string;
|
|
34
|
-
numberValue: (name: string) => number;
|
|
35
|
-
};
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
export declare class SerializedSubject<T> {
|
|
3
|
+
id: string;
|
|
4
|
+
constructor(id: string);
|
|
5
|
+
}
|
|
6
|
+
export declare namespace NgHelpers {
|
|
7
|
+
/**
|
|
8
|
+
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
9
|
+
*/
|
|
10
|
+
function serialize(destroy$: Subject<any>): SerializedSubject<any>;
|
|
11
|
+
/**
|
|
12
|
+
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
13
|
+
*/
|
|
14
|
+
function deserialize(destroy$: SerializedSubject<any>): Subject<any>;
|
|
15
|
+
function unsubscribe(destroy$: Subject<any>): void;
|
|
16
|
+
/**
|
|
17
|
+
get properties from scss file
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
import styles from './tasks-ngrx-data.component.scss';
|
|
21
|
+
|
|
22
|
+
export class ExampleComponent {
|
|
23
|
+
sassFile = sassFile(styles);
|
|
24
|
+
|
|
25
|
+
async ngOnInit() {
|
|
26
|
+
this.tasksService.getAll();
|
|
27
|
+
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
28
|
+
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
*/
|
|
32
|
+
function sassFile(styles: string): {
|
|
33
|
+
stringValue: (name: string) => string;
|
|
34
|
+
numberValue: (name: string) => number;
|
|
35
|
+
};
|
|
36
36
|
}
|
package/lib/angular.helper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
exports.
|
|
3
|
+
exports.dummy1685882846237 = void 0;
|
|
4
|
+
function dummy1685882846237() { }
|
|
5
|
+
exports.dummy1685882846237 = dummy1685882846237;
|
|
6
6
|
//# sourceMappingURL=angular.helper.js.map
|
package/lib/base-component.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
|
-
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
export declare abstract class BaseComponent implements OnDestroy {
|
|
5
|
-
model: any;
|
|
6
|
-
handlers: Subscription[];
|
|
7
|
-
ngOnDestroy(): void;
|
|
8
|
-
}
|
|
9
|
-
export declare abstract class BaseComponentForRouter extends BaseComponent {
|
|
10
|
-
private __router;
|
|
11
|
-
constructor(__router: Router);
|
|
12
|
-
protected isCalledNgInitAfterInternalRefresh(): boolean;
|
|
13
|
-
protected reloadNgOninitOnUrlChange(): void;
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
export declare abstract class BaseComponent implements OnDestroy {
|
|
5
|
+
model: any;
|
|
6
|
+
handlers: Subscription[];
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare abstract class BaseComponentForRouter extends BaseComponent {
|
|
10
|
+
private __router;
|
|
11
|
+
constructor(__router: Router);
|
|
12
|
+
protected isCalledNgInitAfterInternalRefresh(): boolean;
|
|
13
|
+
protected reloadNgOninitOnUrlChange(): void;
|
|
14
14
|
}
|
package/lib/base-component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
exports.
|
|
3
|
+
exports.dummy1685882846241 = void 0;
|
|
4
|
+
function dummy1685882846241() { }
|
|
5
|
+
exports.dummy1685882846241 = dummy1685882846241;
|
|
6
6
|
//# sourceMappingURL=base-component.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
|
3
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
|
4
|
-
import { DualComponentController } from './dual-component-ctrl';
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
|
|
7
|
-
protected DualComponentController: typeof DualComponentController;
|
|
8
|
-
ctrl: T;
|
|
9
|
-
pizda: any;
|
|
10
|
-
get mode(): any;
|
|
11
|
-
set mode(v: any);
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
required: boolean;
|
|
14
|
-
label: string;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
defaultValue: T;
|
|
17
|
-
set model(v: any);
|
|
18
|
-
get model(): any;
|
|
19
|
-
path: string;
|
|
20
|
-
change: EventEmitter<any>;
|
|
21
|
-
set key(value: string);
|
|
22
|
-
get key(): string;
|
|
23
|
-
protected handlers: Subscription[];
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
private __field;
|
|
27
|
-
ngOnInit(): void;
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
|
3
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
4
|
+
import { DualComponentController } from './dual-component-ctrl';
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
|
+
export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
|
|
7
|
+
protected DualComponentController: typeof DualComponentController;
|
|
8
|
+
ctrl: T;
|
|
9
|
+
pizda: any;
|
|
10
|
+
get mode(): any;
|
|
11
|
+
set mode(v: any);
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
label: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
defaultValue: T;
|
|
17
|
+
set model(v: any);
|
|
18
|
+
get model(): any;
|
|
19
|
+
path: string;
|
|
20
|
+
change: EventEmitter<any>;
|
|
21
|
+
set key(value: string);
|
|
22
|
+
get key(): string;
|
|
23
|
+
protected handlers: Subscription[];
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
private __field;
|
|
27
|
+
ngOnInit(): void;
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
exports.
|
|
3
|
+
exports.dummy1685882846247 = void 0;
|
|
4
|
+
function dummy1685882846247() { }
|
|
5
|
+
exports.dummy1685882846247 = dummy1685882846247;
|
|
6
6
|
//# sourceMappingURL=base-formly-component.js.map
|
package/lib/condition-wait.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare type Condition = {
|
|
2
|
-
name?: string;
|
|
3
|
-
timeoutCheck?: number;
|
|
4
|
-
timeoutNext?: number;
|
|
5
|
-
callback: (c: Condition) => boolean | Promise<boolean>;
|
|
6
|
-
errorMessage: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function conditionWait(conditionAndTimeout: Condition[]): Promise<void>;
|
|
1
|
+
export declare type Condition = {
|
|
2
|
+
name?: string;
|
|
3
|
+
timeoutCheck?: number;
|
|
4
|
+
timeoutNext?: number;
|
|
5
|
+
callback: (c: Condition) => boolean | Promise<boolean>;
|
|
6
|
+
errorMessage: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function conditionWait(conditionAndTimeout: Condition[]): Promise<void>;
|
package/lib/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const BaselineSiteJoinprefix = "__";
|
|
2
|
-
export declare const PREFIXES: {
|
|
3
|
-
BASELINE: string;
|
|
4
|
-
DELETED: string;
|
|
5
|
-
ORIGINAL: string;
|
|
6
|
-
RESTORE_NPM: string;
|
|
7
|
-
};
|
|
1
|
+
export declare const BaselineSiteJoinprefix = "__";
|
|
2
|
+
export declare const PREFIXES: {
|
|
3
|
+
BASELINE: string;
|
|
4
|
+
DELETED: string;
|
|
5
|
+
ORIGINAL: string;
|
|
6
|
+
RESTORE_NPM: string;
|
|
7
|
+
};
|