tnp-helpers 13.1.33 → 13.1.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/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 +16 -15
- 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-git.backend.js +16 -4
- package/lib/helpers-git.backend.js.map +1 -1
- 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-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 +4 -3
- package/package.json_devDependencies.json +222 -222
- package/package.json_tnp.json5 +46 -45
- package/tmp-environment.json +21 -19
- 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,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "13.1.
|
|
2
|
+
"version": "13.1.37",
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"json10-writer": "~13.1.39",
|
|
5
|
-
"morphi": "~13.2.
|
|
5
|
+
"morphi": "~13.2.8",
|
|
6
|
+
"task.js": "0.1.5",
|
|
6
7
|
"tnp-models": "~13.1.26"
|
|
7
8
|
},
|
|
8
9
|
"scripts": {
|
|
@@ -85,14 +86,15 @@
|
|
|
85
86
|
"@types/watch": "1.0.0",
|
|
86
87
|
"accepts": "1.3.4",
|
|
87
88
|
"angular-material-css-vars": "5.0.0",
|
|
88
|
-
"any-project-cli": "~13.1.
|
|
89
|
+
"any-project-cli": "~13.1.26",
|
|
89
90
|
"axios": "1.3.5",
|
|
90
|
-
"background-worker-process": "~13.1.
|
|
91
|
+
"background-worker-process": "~13.1.43",
|
|
91
92
|
"base32": "0.0.7",
|
|
92
93
|
"bcryptjs": "2.4.3",
|
|
93
94
|
"better-sqlite3": "7.6.2",
|
|
94
95
|
"body-parser": "1.18.2",
|
|
95
96
|
"bootstrap": "4.6.2",
|
|
97
|
+
"bs4-breakpoint": "13.0.33",
|
|
96
98
|
"buffer-shims": "1.0.0",
|
|
97
99
|
"callsite-record": "4.1.3",
|
|
98
100
|
"chai": "4.2.0",
|
|
@@ -128,12 +130,12 @@
|
|
|
128
130
|
"file-loader": "1.1.5",
|
|
129
131
|
"file-saver": "2.0.5",
|
|
130
132
|
"firedev": "^13",
|
|
131
|
-
"firedev-crud": "~13.1.
|
|
132
|
-
"firedev-crud-deamon": "~13.1.
|
|
133
|
-
"firedev-ports": "~13.1.
|
|
134
|
-
"firedev-storage": "~13.2.
|
|
133
|
+
"firedev-crud": "~13.1.48",
|
|
134
|
+
"firedev-crud-deamon": "~13.1.38",
|
|
135
|
+
"firedev-ports": "~13.1.42",
|
|
136
|
+
"firedev-storage": "~13.2.35",
|
|
135
137
|
"firedev-typeorm": "~13.1.30",
|
|
136
|
-
"firedev-ui": "~13.1.
|
|
138
|
+
"firedev-ui": "~13.1.23",
|
|
137
139
|
"fkill": "6.1.0",
|
|
138
140
|
"font-awesome": "4.7.0",
|
|
139
141
|
"form-data": "4.0.0",
|
|
@@ -151,10 +153,9 @@
|
|
|
151
153
|
"inquirer": "7.3.3",
|
|
152
154
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
153
155
|
"is-elevated": "3.0.0",
|
|
154
|
-
"isomorphic-region-loader": "~13.1.
|
|
156
|
+
"isomorphic-region-loader": "~13.1.36",
|
|
155
157
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
156
158
|
"jasmine-core": "4.0.0",
|
|
157
|
-
"jimp": "0.22.8",
|
|
158
159
|
"jscodeshift": "0.6.3",
|
|
159
160
|
"json-stringify-safe": "5.0.1",
|
|
160
161
|
"json10": "~13.1.43",
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
"lodash": "4.17.4",
|
|
174
175
|
"lodash-walk-object": "~13.1.43",
|
|
175
176
|
"lowdb": "1.0.0",
|
|
176
|
-
"magic-renamer": "~13.1.
|
|
177
|
+
"magic-renamer": "~13.1.40",
|
|
177
178
|
"material-design-icons": "3.0.1",
|
|
178
179
|
"method-override": "2.3.10",
|
|
179
180
|
"minimist": "1.2.0",
|
|
@@ -233,8 +234,8 @@
|
|
|
233
234
|
"tnp-cli": "~13.1.58",
|
|
234
235
|
"tnp-config": "~13.1.74",
|
|
235
236
|
"tnp-core": "~13.2.18",
|
|
236
|
-
"tnp-db": "~13.1.
|
|
237
|
-
"tnp-helpers": "~13.1.
|
|
237
|
+
"tnp-db": "~13.1.20",
|
|
238
|
+
"tnp-helpers": "~13.1.36",
|
|
238
239
|
"tnp-ui": "~13.1.27",
|
|
239
240
|
"ts-debug": "1.3.0",
|
|
240
241
|
"ts-loader": "2.3.1",
|
|
@@ -253,5 +254,5 @@
|
|
|
253
254
|
"yup": "1.1.1",
|
|
254
255
|
"zone.js": "~0.11.4"
|
|
255
256
|
},
|
|
256
|
-
"lastBuildTagHash": "
|
|
257
|
+
"lastBuildTagHash": "6abb00881f2cb0cd9c87b19aed652eba64ab0642"
|
|
257
258
|
}
|
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.dummy1685234695183 = void 0;
|
|
4
|
+
function dummy1685234695183() { }
|
|
5
|
+
exports.dummy1685234695183 = dummy1685234695183;
|
|
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.dummy1685234695186 = void 0;
|
|
4
|
+
function dummy1685234695186() { }
|
|
5
|
+
exports.dummy1685234695186 = dummy1685234695186;
|
|
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.dummy1685234695190 = void 0;
|
|
4
|
+
function dummy1685234695190() { }
|
|
5
|
+
exports.dummy1685234695190 = dummy1685234695190;
|
|
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
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { BaseFormlyComponent } from './base-formly-component';
|
|
2
|
-
export declare abstract class DualComponentController<T = any> {
|
|
3
|
-
protected cmp: BaseFormlyComponent;
|
|
4
|
-
isFormlyMode: boolean;
|
|
5
|
-
constructor(cmp: BaseFormlyComponent, isFormlyMode?: boolean);
|
|
6
|
-
protected getValTemplateOptions(propertyName: string): any;
|
|
7
|
-
protected getValContext(propertyName: string): any;
|
|
8
|
-
get disabled(): boolean;
|
|
9
|
-
get required(): boolean;
|
|
10
|
-
get type(): string | boolean;
|
|
11
|
-
get label(): string;
|
|
12
|
-
get placeholder(): string;
|
|
13
|
-
get defaultValue(): T;
|
|
14
|
-
get formControl(): any;
|
|
15
|
-
get key(): string;
|
|
16
|
-
get path(): string;
|
|
17
|
-
__model: any;
|
|
18
|
-
get model(): any;
|
|
19
|
-
set model(v: any);
|
|
20
|
-
__mode: any;
|
|
21
|
-
get mode(): any;
|
|
22
|
-
set mode(v: any);
|
|
23
|
-
get value(): T;
|
|
24
|
-
set value(v: T);
|
|
1
|
+
import { BaseFormlyComponent } from './base-formly-component';
|
|
2
|
+
export declare abstract class DualComponentController<T = any> {
|
|
3
|
+
protected cmp: BaseFormlyComponent;
|
|
4
|
+
isFormlyMode: boolean;
|
|
5
|
+
constructor(cmp: BaseFormlyComponent, isFormlyMode?: boolean);
|
|
6
|
+
protected getValTemplateOptions(propertyName: string): any;
|
|
7
|
+
protected getValContext(propertyName: string): any;
|
|
8
|
+
get disabled(): boolean;
|
|
9
|
+
get required(): boolean;
|
|
10
|
+
get type(): string | boolean;
|
|
11
|
+
get label(): string;
|
|
12
|
+
get placeholder(): string;
|
|
13
|
+
get defaultValue(): T;
|
|
14
|
+
get formControl(): any;
|
|
15
|
+
get key(): string;
|
|
16
|
+
get path(): string;
|
|
17
|
+
__model: any;
|
|
18
|
+
get model(): any;
|
|
19
|
+
set model(v: any);
|
|
20
|
+
__mode: any;
|
|
21
|
+
get mode(): any;
|
|
22
|
+
set mode(v: any);
|
|
23
|
+
get value(): T;
|
|
24
|
+
set value(v: T);
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
exports.
|
|
3
|
+
exports.dummy1685234695197 = void 0;
|
|
4
|
+
function dummy1685234695197() { }
|
|
5
|
+
exports.dummy1685234695197 = dummy1685234695197;
|
|
6
6
|
//# sourceMappingURL=dual-component-ctrl.js.map
|