tnp-helpers 13.1.11 → 13.1.13
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/app.js +3 -3
- package/browser/README.md +24 -24
- 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 +7 -7
- 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-environment.mjs +32 -32
- package/browser/esm2020/lib/helpers-numbers.mjs +8 -8
- 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 +280 -280
- package/browser/esm2020/lib/index.mjs +14 -14
- 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 +1542 -1542
- package/browser/fesm2020/tnp-helpers.mjs +1534 -1534
- 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 +5 -5
- 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-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 +27 -27
- package/browser/lib/index.d.ts +10 -10
- package/browser/lib/long-press.directive.d.ts +24 -24
- package/browser/lib/project.d.ts +94 -94
- 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/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 +7 -7
- 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-environment.mjs +32 -32
- package/client/esm2020/lib/helpers-numbers.mjs +8 -8
- 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 +280 -280
- package/client/esm2020/lib/index.mjs +14 -14
- 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 +1542 -1542
- package/client/fesm2020/tnp-helpers.mjs +1534 -1534
- 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 +5 -5
- 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-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 +27 -27
- package/client/lib/index.d.ts +10 -10
- package/client/lib/long-press.directive.d.ts +24 -24
- package/client/lib/project.d.ts +94 -94
- package/client/lib/resize-service.d.ts +8 -8
- package/client/tnp-helpers.d.ts +4 -4
- package/index.d.ts +1 -1
- package/lib/angular.helper.d.ts +22 -22
- 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 +6 -6
- 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 +46 -46
- package/lib/helpers-array-obj.d.ts +15 -15
- package/lib/helpers-cli-tool.backend.d.ts +55 -55
- 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 +83 -83
- package/lib/helpers-git.backend.d.ts +43 -43
- 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 +53 -53
- 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 +69 -69
- package/lib/helpers.js +2 -2
- package/lib/index.d.ts +11 -11
- package/lib/long-press.directive.d.ts +22 -22
- package/lib/merge-helpers.backend.d.ts +23 -23
- package/lib/project.d.ts +97 -97
- 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 +2 -2
- package/package.json_devDependencies.json +222 -222
- package/package.json_tnp.json5 +44 -44
- package/tmp-environment.json +8 -8
- package/websql/README.md +24 -24
- 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 +7 -7
- 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-environment.mjs +32 -32
- package/websql/esm2020/lib/helpers-numbers.mjs +8 -8
- 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 +280 -280
- package/websql/esm2020/lib/index.mjs +14 -14
- 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 +1542 -1542
- package/websql/fesm2020/tnp-helpers.mjs +1534 -1534
- 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 +5 -5
- 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-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 +27 -27
- package/websql/lib/index.d.ts +10 -10
- package/websql/lib/long-press.directive.d.ts +24 -24
- package/websql/lib/project.d.ts +94 -94
- package/websql/lib/resize-service.d.ts +8 -8
- package/websql/tnp-helpers.d.ts +4 -4
package/client/lib/project.d.ts
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { ConfigModels } from 'tnp-config/browser';
|
|
3
|
-
import { Models } from 'tnp-models/browser';
|
|
4
|
-
export declare type EmptyProjectStructure = {
|
|
5
|
-
includeContent?: boolean;
|
|
6
|
-
relativePath: string;
|
|
7
|
-
relativeLinkFrom?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare class Project<T extends Project<any> = any> {
|
|
10
|
-
protected cache: {};
|
|
11
|
-
/**
|
|
12
|
-
* Do use this variable for comparatios
|
|
13
|
-
* ONLY FOR VIEWING
|
|
14
|
-
*/
|
|
15
|
-
readonly _type: ConfigModels.LibType;
|
|
16
|
-
browser: Pick<Project<any>, 'location' | 'name'>;
|
|
17
|
-
location: string;
|
|
18
|
-
name: string;
|
|
19
|
-
genericName: string;
|
|
20
|
-
isWorkspace: boolean;
|
|
21
|
-
isVscodeExtension: boolean;
|
|
22
|
-
isDocker: boolean;
|
|
23
|
-
isSite: boolean;
|
|
24
|
-
isSiteInStrictMode?: boolean;
|
|
25
|
-
isSiteInDependencyMode?: boolean;
|
|
26
|
-
isCoreProject: boolean;
|
|
27
|
-
isCommandLineToolOnly: boolean;
|
|
28
|
-
isGenerated: boolean;
|
|
29
|
-
isGeneratedForRelease: boolean;
|
|
30
|
-
isWorkspaceChildProject: boolean;
|
|
31
|
-
isBasedOnOtherProject: boolean;
|
|
32
|
-
isForRecreation: boolean;
|
|
33
|
-
isContainer: boolean;
|
|
34
|
-
isSmartContainer: boolean;
|
|
35
|
-
isSmartContainerChild: boolean;
|
|
36
|
-
isContainerWithLinkedProjects: boolean;
|
|
37
|
-
isContainerChild: boolean;
|
|
38
|
-
isContainerCoreProject: boolean;
|
|
39
|
-
isStandaloneProject: boolean;
|
|
40
|
-
isMonorepo: boolean;
|
|
41
|
-
isUnknowNpmProject: boolean;
|
|
42
|
-
isNaviCli: boolean;
|
|
43
|
-
useFramework: boolean;
|
|
44
|
-
defaultPort?: number;
|
|
45
|
-
version: string;
|
|
46
|
-
lastNpmVersion?: string;
|
|
47
|
-
_routerTargetHttp?: string;
|
|
48
|
-
customizableFilesAndFolders: string[];
|
|
49
|
-
type: ConfigModels.LibType;
|
|
50
|
-
backupName: string;
|
|
51
|
-
resources: string[];
|
|
52
|
-
env: Models.env.EnvConfig;
|
|
53
|
-
allowedEnvironments: ConfigModels.EnvironmentName[];
|
|
54
|
-
children: T[];
|
|
55
|
-
smartContainerBuildTarget: T;
|
|
56
|
-
grandpa: T;
|
|
57
|
-
distribution: T;
|
|
58
|
-
childrenThatAreLibs?: T[];
|
|
59
|
-
childrenThatAreClients?: T[];
|
|
60
|
-
childrenThatAreThirdPartyInNodeModules?: T[];
|
|
61
|
-
parent: T;
|
|
62
|
-
preview: T;
|
|
63
|
-
baseline: T;
|
|
64
|
-
static projects: Project<any>[];
|
|
65
|
-
/**
|
|
66
|
-
* To speed up checking folder I am keeping pathes for alterdy checked folder
|
|
67
|
-
* This may break things that are creating new projects
|
|
68
|
-
*/
|
|
69
|
-
static emptyLocations: string[];
|
|
70
|
-
static typeFrom(location: string): ConfigModels.LibType;
|
|
71
|
-
static unload(project: Project): void;
|
|
72
|
-
static From<T = Project<any>>(locationOfProj: string | string[]): T;
|
|
73
|
-
static nearestTo<T = Project>(absoluteLocation: string, options?: {
|
|
74
|
-
type?: ConfigModels.LibType;
|
|
75
|
-
findGitRoot?: boolean;
|
|
76
|
-
onlyOutSideNodeModules?: boolean;
|
|
77
|
-
}): T;
|
|
78
|
-
static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
|
|
79
|
-
static DefaultPortByType(type: ConfigModels.LibType): number;
|
|
80
|
-
static get isBundleMode(): boolean;
|
|
81
|
-
static get Current(): Project<any>;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated
|
|
84
|
-
*/
|
|
85
|
-
static get Tnp(): Project<any>;
|
|
86
|
-
static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
|
|
87
|
-
defineProperty<T>(variableName: keyof T, classFn: Function): any;
|
|
88
|
-
setType(this: Project, type: ConfigModels.LibType): void;
|
|
89
|
-
typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
90
|
-
typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
91
|
-
forEmptyStructure(): EmptyProjectStructure[];
|
|
92
|
-
}
|
|
93
|
-
export declare type ProjectBuild = {
|
|
94
|
-
project: Project;
|
|
95
|
-
appBuild: boolean;
|
|
2
|
+
import { ConfigModels } from 'tnp-config/browser';
|
|
3
|
+
import { Models } from 'tnp-models/browser';
|
|
4
|
+
export declare type EmptyProjectStructure = {
|
|
5
|
+
includeContent?: boolean;
|
|
6
|
+
relativePath: string;
|
|
7
|
+
relativeLinkFrom?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class Project<T extends Project<any> = any> {
|
|
10
|
+
protected cache: {};
|
|
11
|
+
/**
|
|
12
|
+
* Do use this variable for comparatios
|
|
13
|
+
* ONLY FOR VIEWING
|
|
14
|
+
*/
|
|
15
|
+
readonly _type: ConfigModels.LibType;
|
|
16
|
+
browser: Pick<Project<any>, 'location' | 'name'>;
|
|
17
|
+
location: string;
|
|
18
|
+
name: string;
|
|
19
|
+
genericName: string;
|
|
20
|
+
isWorkspace: boolean;
|
|
21
|
+
isVscodeExtension: boolean;
|
|
22
|
+
isDocker: boolean;
|
|
23
|
+
isSite: boolean;
|
|
24
|
+
isSiteInStrictMode?: boolean;
|
|
25
|
+
isSiteInDependencyMode?: boolean;
|
|
26
|
+
isCoreProject: boolean;
|
|
27
|
+
isCommandLineToolOnly: boolean;
|
|
28
|
+
isGenerated: boolean;
|
|
29
|
+
isGeneratedForRelease: boolean;
|
|
30
|
+
isWorkspaceChildProject: boolean;
|
|
31
|
+
isBasedOnOtherProject: boolean;
|
|
32
|
+
isForRecreation: boolean;
|
|
33
|
+
isContainer: boolean;
|
|
34
|
+
isSmartContainer: boolean;
|
|
35
|
+
isSmartContainerChild: boolean;
|
|
36
|
+
isContainerWithLinkedProjects: boolean;
|
|
37
|
+
isContainerChild: boolean;
|
|
38
|
+
isContainerCoreProject: boolean;
|
|
39
|
+
isStandaloneProject: boolean;
|
|
40
|
+
isMonorepo: boolean;
|
|
41
|
+
isUnknowNpmProject: boolean;
|
|
42
|
+
isNaviCli: boolean;
|
|
43
|
+
useFramework: boolean;
|
|
44
|
+
defaultPort?: number;
|
|
45
|
+
version: string;
|
|
46
|
+
lastNpmVersion?: string;
|
|
47
|
+
_routerTargetHttp?: string;
|
|
48
|
+
customizableFilesAndFolders: string[];
|
|
49
|
+
type: ConfigModels.LibType;
|
|
50
|
+
backupName: string;
|
|
51
|
+
resources: string[];
|
|
52
|
+
env: Models.env.EnvConfig;
|
|
53
|
+
allowedEnvironments: ConfigModels.EnvironmentName[];
|
|
54
|
+
children: T[];
|
|
55
|
+
smartContainerBuildTarget: T;
|
|
56
|
+
grandpa: T;
|
|
57
|
+
distribution: T;
|
|
58
|
+
childrenThatAreLibs?: T[];
|
|
59
|
+
childrenThatAreClients?: T[];
|
|
60
|
+
childrenThatAreThirdPartyInNodeModules?: T[];
|
|
61
|
+
parent: T;
|
|
62
|
+
preview: T;
|
|
63
|
+
baseline: T;
|
|
64
|
+
static projects: Project<any>[];
|
|
65
|
+
/**
|
|
66
|
+
* To speed up checking folder I am keeping pathes for alterdy checked folder
|
|
67
|
+
* This may break things that are creating new projects
|
|
68
|
+
*/
|
|
69
|
+
static emptyLocations: string[];
|
|
70
|
+
static typeFrom(location: string): ConfigModels.LibType;
|
|
71
|
+
static unload(project: Project): void;
|
|
72
|
+
static From<T = Project<any>>(locationOfProj: string | string[]): T;
|
|
73
|
+
static nearestTo<T = Project>(absoluteLocation: string, options?: {
|
|
74
|
+
type?: ConfigModels.LibType;
|
|
75
|
+
findGitRoot?: boolean;
|
|
76
|
+
onlyOutSideNodeModules?: boolean;
|
|
77
|
+
}): T;
|
|
78
|
+
static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
|
|
79
|
+
static DefaultPortByType(type: ConfigModels.LibType): number;
|
|
80
|
+
static get isBundleMode(): boolean;
|
|
81
|
+
static get Current(): Project<any>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated
|
|
84
|
+
*/
|
|
85
|
+
static get Tnp(): Project<any>;
|
|
86
|
+
static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
|
|
87
|
+
defineProperty<T>(variableName: keyof T, classFn: Function): any;
|
|
88
|
+
setType(this: Project, type: ConfigModels.LibType): void;
|
|
89
|
+
typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
90
|
+
typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
|
|
91
|
+
forEmptyStructure(): EmptyProjectStructure[];
|
|
92
|
+
}
|
|
93
|
+
export declare type ProjectBuild = {
|
|
94
|
+
project: Project;
|
|
95
|
+
appBuild: boolean;
|
|
96
96
|
};
|
|
@@ -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/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,22 +1,22 @@
|
|
|
1
|
-
export declare class AngularHelpers {
|
|
2
|
-
/**
|
|
3
|
-
get properties from scss file
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import styles from './tasks-ngrx-data.component.scss';
|
|
7
|
-
|
|
8
|
-
export class ExampleComponent {
|
|
9
|
-
sassFile = sassFile(styles);
|
|
10
|
-
|
|
11
|
-
async ngOnInit() {
|
|
12
|
-
this.tasksService.getAll();
|
|
13
|
-
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
14
|
-
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
*/
|
|
18
|
-
sassFile: (styles: string) => {
|
|
19
|
-
stringValue: (name: string) => string;
|
|
20
|
-
numberValue: (name: string) => number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
1
|
+
export declare class AngularHelpers {
|
|
2
|
+
/**
|
|
3
|
+
get properties from scss file
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
import styles from './tasks-ngrx-data.component.scss';
|
|
7
|
+
|
|
8
|
+
export class ExampleComponent {
|
|
9
|
+
sassFile = sassFile(styles);
|
|
10
|
+
|
|
11
|
+
async ngOnInit() {
|
|
12
|
+
this.tasksService.getAll();
|
|
13
|
+
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
14
|
+
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
*/
|
|
18
|
+
sassFile: (styles: string) => {
|
|
19
|
+
stringValue: (name: string) => string;
|
|
20
|
+
numberValue: (name: string) => number;
|
|
21
|
+
};
|
|
22
|
+
}
|
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.dummy1674039458757 = void 0;
|
|
4
|
+
function dummy1674039458757() { }
|
|
5
|
+
exports.dummy1674039458757 = dummy1674039458757;
|
|
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.dummy1674039458760 = void 0;
|
|
4
|
+
function dummy1674039458760() { }
|
|
5
|
+
exports.dummy1674039458760 = dummy1674039458760;
|
|
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,6 +1,6 @@
|
|
|
1
|
-
export declare const BaselineSiteJoinprefix = "__";
|
|
2
|
-
export declare const PREFIXES: {
|
|
3
|
-
BASELINE: string;
|
|
4
|
-
DELETED: string;
|
|
5
|
-
ORIGINAL: string;
|
|
6
|
-
};
|
|
1
|
+
export declare const BaselineSiteJoinprefix = "__";
|
|
2
|
+
export declare const PREFIXES: {
|
|
3
|
+
BASELINE: string;
|
|
4
|
+
DELETED: string;
|
|
5
|
+
ORIGINAL: string;
|
|
6
|
+
};
|
|
@@ -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.dummy1674039458765 = void 0;
|
|
4
|
+
function dummy1674039458765() { }
|
|
5
|
+
exports.dummy1674039458765 = dummy1674039458765;
|
|
6
6
|
//# sourceMappingURL=dual-component-ctrl.js.map
|
package/lib/firedev-models.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare namespace FiredevModels {
|
|
2
|
-
interface VSCodeSettings {
|
|
3
|
-
'files.exclude': {
|
|
4
|
-
[files: string]: boolean;
|
|
5
|
-
};
|
|
6
|
-
'workbench.colorTheme': 'Default Light+' | 'Kimbie Dark';
|
|
7
|
-
'workbench.colorCustomizations': {
|
|
8
|
-
'activityBar.background'?: string;
|
|
9
|
-
'activityBar.foreground'?: string;
|
|
10
|
-
'statusBar.background'?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
export declare namespace FiredevModels {
|
|
2
|
+
interface VSCodeSettings {
|
|
3
|
+
'files.exclude': {
|
|
4
|
+
[files: string]: boolean;
|
|
5
|
+
};
|
|
6
|
+
'workbench.colorTheme': 'Default Light+' | 'Kimbie Dark';
|
|
7
|
+
'workbench.colorCustomizations': {
|
|
8
|
+
'activityBar.background'?: string;
|
|
9
|
+
'activityBar.foreground'?: string;
|
|
10
|
+
'statusBar.background'?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
package/lib/git-project.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { child_process } from 'tnp-core';
|
|
2
|
-
import { Project } from './project';
|
|
3
|
-
import { RunOptions, ExecuteOptions } from 'tnp-core';
|
|
4
|
-
export declare abstract class ProjectGit {
|
|
5
|
-
runCommandGetString(this: Project, command: string): string;
|
|
6
|
-
execute(this: Project, command: string, options?: ExecuteOptions & {
|
|
7
|
-
showCommand?: boolean;
|
|
8
|
-
}): Promise<unknown>;
|
|
9
|
-
run(this: Project, command: string, options?: RunOptions): {
|
|
10
|
-
sync(): string;
|
|
11
|
-
async(detach?: boolean): child_process.ChildProcess;
|
|
12
|
-
asyncAsPromise(): any;
|
|
13
|
-
unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[]): Promise<any>;
|
|
14
|
-
};
|
|
15
|
-
get git(this: Project): {
|
|
16
|
-
clone(url: string, destinationFolderName?: string): void;
|
|
17
|
-
restoreLastVersion(localFilePath: string): void;
|
|
18
|
-
resetFiles(...relativePathes: string[]): void;
|
|
19
|
-
readonly isGitRepo: boolean;
|
|
20
|
-
readonly isGitRoot: boolean;
|
|
21
|
-
readonly originURL: string;
|
|
22
|
-
updateOrigin(askToRetry?: boolean): Promise<void>;
|
|
23
|
-
commit(args?: string): void;
|
|
24
|
-
pushCurrentBranch(force?: boolean, origin?: string): void;
|
|
25
|
-
readonly thereAreSomeUncommitedChange: boolean;
|
|
26
|
-
thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
|
|
27
|
-
pullCurrentBranch(askToRetry?: boolean): Promise<void>;
|
|
28
|
-
readonly currentBranchName: string;
|
|
29
|
-
getBranchesNamesBy(pattern: string | RegExp): string[];
|
|
30
|
-
resetHard(): void;
|
|
31
|
-
countComits(): number;
|
|
32
|
-
hasAnyCommits(): boolean;
|
|
33
|
-
readonly isInMergeProcess: boolean;
|
|
34
|
-
lastCommitDate(): Date;
|
|
35
|
-
lastCommitHash(): string;
|
|
36
|
-
lastCommitMessage(): string;
|
|
37
|
-
penultimageCommitHash(): string;
|
|
38
|
-
checkTagExists(tag: string): boolean;
|
|
39
|
-
lastTagHash(): string;
|
|
40
|
-
readonly lastTagVersionName: string;
|
|
41
|
-
/**
|
|
42
|
-
* TODO does this make any sense
|
|
43
|
-
*/
|
|
44
|
-
renameOrigin(newNameOrUlr: string): void;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
1
|
+
import { child_process } from 'tnp-core';
|
|
2
|
+
import { Project } from './project';
|
|
3
|
+
import { RunOptions, ExecuteOptions } from 'tnp-core';
|
|
4
|
+
export declare abstract class ProjectGit {
|
|
5
|
+
runCommandGetString(this: Project, command: string): string;
|
|
6
|
+
execute(this: Project, command: string, options?: ExecuteOptions & {
|
|
7
|
+
showCommand?: boolean;
|
|
8
|
+
}): Promise<unknown>;
|
|
9
|
+
run(this: Project, command: string, options?: RunOptions): {
|
|
10
|
+
sync(): string;
|
|
11
|
+
async(detach?: boolean): child_process.ChildProcess;
|
|
12
|
+
asyncAsPromise(): any;
|
|
13
|
+
unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[]): Promise<any>;
|
|
14
|
+
};
|
|
15
|
+
get git(this: Project): {
|
|
16
|
+
clone(url: string, destinationFolderName?: string): void;
|
|
17
|
+
restoreLastVersion(localFilePath: string): void;
|
|
18
|
+
resetFiles(...relativePathes: string[]): void;
|
|
19
|
+
readonly isGitRepo: boolean;
|
|
20
|
+
readonly isGitRoot: boolean;
|
|
21
|
+
readonly originURL: string;
|
|
22
|
+
updateOrigin(askToRetry?: boolean): Promise<void>;
|
|
23
|
+
commit(args?: string): void;
|
|
24
|
+
pushCurrentBranch(force?: boolean, origin?: string): void;
|
|
25
|
+
readonly thereAreSomeUncommitedChange: boolean;
|
|
26
|
+
thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
|
|
27
|
+
pullCurrentBranch(askToRetry?: boolean): Promise<void>;
|
|
28
|
+
readonly currentBranchName: string;
|
|
29
|
+
getBranchesNamesBy(pattern: string | RegExp): string[];
|
|
30
|
+
resetHard(): void;
|
|
31
|
+
countComits(): number;
|
|
32
|
+
hasAnyCommits(): boolean;
|
|
33
|
+
readonly isInMergeProcess: boolean;
|
|
34
|
+
lastCommitDate(): Date;
|
|
35
|
+
lastCommitHash(): string;
|
|
36
|
+
lastCommitMessage(): string;
|
|
37
|
+
penultimageCommitHash(): string;
|
|
38
|
+
checkTagExists(tag: string): boolean;
|
|
39
|
+
lastTagHash(): string;
|
|
40
|
+
readonly lastTagVersionName: string;
|
|
41
|
+
/**
|
|
42
|
+
* TODO does this make any sense
|
|
43
|
+
*/
|
|
44
|
+
renameOrigin(newNameOrUlr: string): void;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare class HelpersArrayObj {
|
|
2
|
-
from(s: string | string[]): string[];
|
|
3
|
-
second(arr: any): any;
|
|
4
|
-
arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
5
|
-
arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
6
|
-
uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
|
|
7
|
-
sortKeys(obj: any): any;
|
|
8
|
-
/**
|
|
9
|
-
* Fuzzy search
|
|
10
|
-
*/
|
|
11
|
-
fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
|
|
12
|
-
matches: string[];
|
|
13
|
-
results: T[];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
1
|
+
export declare class HelpersArrayObj {
|
|
2
|
+
from(s: string | string[]): string[];
|
|
3
|
+
second(arr: any): any;
|
|
4
|
+
arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
5
|
+
arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
6
|
+
uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
|
|
7
|
+
sortKeys(obj: any): any;
|
|
8
|
+
/**
|
|
9
|
+
* Fuzzy search
|
|
10
|
+
*/
|
|
11
|
+
fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
|
|
12
|
+
matches: string[];
|
|
13
|
+
results: T[];
|
|
14
|
+
};
|
|
15
|
+
}
|