tnp-helpers 13.1.17 → 13.1.19
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/app.js.map +1 -0
- 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 +9 -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-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 +283 -283
- 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 +1677 -1676
- package/browser/fesm2015/tnp-helpers.mjs.map +1 -0
- package/browser/fesm2020/tnp-helpers.mjs +1667 -1666
- package/browser/fesm2020/tnp-helpers.mjs.map +1 -0
- 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 -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-browser.d.ts +10 -10
- 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 +31 -31
- package/browser/lib/index.d.ts +11 -11
- 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/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 +9 -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-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 +283 -283
- 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 +1677 -1676
- package/client/fesm2015/tnp-helpers.mjs.map +1 -0
- package/client/fesm2020/tnp-helpers.mjs +1667 -1666
- package/client/fesm2020/tnp-helpers.mjs.map +1 -0
- 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 -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-browser.d.ts +10 -10
- 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 +31 -31
- package/client/lib/index.d.ts +11 -11
- 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/index.js.map +1 -0
- package/lib/angular.helper.d.ts +35 -35
- package/lib/angular.helper.js +3 -3
- package/lib/angular.helper.js.map +1 -0
- package/lib/base-component.d.ts +13 -13
- package/lib/base-component.js +3 -3
- package/lib/base-component.js.map +1 -0
- package/lib/base-formly-component.d.ts +27 -27
- package/lib/base-formly-component.js +3 -3
- package/lib/base-formly-component.js.map +1 -0
- package/lib/condition-wait.d.ts +8 -8
- package/lib/condition-wait.js.map +1 -0
- package/lib/constants.d.ts +7 -6
- package/lib/constants.js +1 -0
- package/lib/constants.js.map +1 -0
- package/lib/dual-component-ctrl.d.ts +24 -24
- package/lib/dual-component-ctrl.js +3 -3
- package/lib/dual-component-ctrl.js.map +1 -0
- package/lib/firedev-models.d.ts +13 -13
- package/lib/firedev-models.js.map +1 -0
- package/lib/git-project.d.ts +45 -45
- package/lib/git-project.js.map +1 -0
- package/lib/helpers-array-obj.d.ts +15 -15
- package/lib/helpers-array-obj.js.map +1 -0
- package/lib/helpers-browser.d.ts +11 -11
- package/lib/helpers-browser.js.map +1 -0
- package/lib/helpers-cli-tool.backend.d.ts +55 -55
- package/lib/helpers-cli-tool.backend.js.map +1 -0
- package/lib/helpers-dependencies.backend.d.ts +11 -11
- package/lib/helpers-dependencies.backend.js.map +1 -0
- package/lib/helpers-environment.d.ts +5 -5
- package/lib/helpers-environment.js.map +1 -0
- package/lib/helpers-file-folders.backend.d.ts +84 -83
- package/lib/helpers-file-folders.backend.js +10 -1
- package/lib/helpers-file-folders.backend.js.map +1 -0
- package/lib/helpers-git.backend.d.ts +43 -43
- package/lib/helpers-git.backend.js.map +1 -0
- package/lib/helpers-json5.backend.d.ts +16 -16
- package/lib/helpers-json5.backend.js.map +1 -0
- package/lib/helpers-morphi-framework.backend.d.ts +4 -4
- package/lib/helpers-morphi-framework.backend.js.map +1 -0
- package/lib/helpers-network.backend.d.ts +8 -8
- package/lib/helpers-network.backend.js.map +1 -0
- package/lib/helpers-npm.backend.d.ts +3 -3
- package/lib/helpers-npm.backend.js.map +1 -0
- package/lib/helpers-numbers.d.ts +3 -3
- package/lib/helpers-numbers.js.map +1 -0
- package/lib/helpers-path.backend.d.ts +7 -7
- package/lib/helpers-path.backend.js.map +1 -0
- package/lib/helpers-process.backend.d.ts +58 -54
- package/lib/helpers-process.backend.js +20 -0
- package/lib/helpers-process.backend.js.map +1 -0
- package/lib/helpers-strings-regexes.d.ts +28 -28
- package/lib/helpers-strings-regexes.js.map +1 -0
- package/lib/helpers-strings.d.ts +50 -50
- package/lib/helpers-strings.js.map +1 -0
- package/lib/helpers-system-terminal.backend.d.ts +5 -5
- package/lib/helpers-system-terminal.backend.js.map +1 -0
- package/lib/helpers-vscode.backend.d.ts +5 -5
- package/lib/helpers-vscode.backend.js.map +1 -0
- package/lib/helpers.d.ts +72 -72
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +12 -12
- package/lib/index.js.map +1 -0
- package/lib/long-press.directive.d.ts +22 -22
- package/lib/long-press.directive.js.map +1 -0
- package/lib/merge-helpers.backend.d.ts +23 -23
- package/lib/merge-helpers.backend.js.map +1 -0
- package/lib/project.d.ts +97 -97
- package/lib/project.js.map +1 -0
- package/lib/resize-service.d.ts +6 -6
- package/lib/resize-service.js.map +1 -0
- package/lib/ts-code/index.d.ts +1 -1
- package/lib/ts-code/index.js.map +1 -0
- package/lib/ts-code/ts-code-extractor.d.ts +14 -14
- package/lib/ts-code/ts-code-extractor.js.map +1 -0
- package/lib/ts-code/ts-code-modifier.backend.d.ts +12 -12
- package/lib/ts-code/ts-code-modifier.backend.js.map +1 -0
- package/package.json +5 -5
- package/package.json_devDependencies.json +222 -222
- package/package.json_tnp.json5 +44 -44
- package/tmp-environment.json +30 -29
- 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 +9 -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-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 +283 -283
- 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 +1677 -1676
- package/websql/fesm2015/tnp-helpers.mjs.map +1 -0
- package/websql/fesm2020/tnp-helpers.mjs +1667 -1666
- package/websql/fesm2020/tnp-helpers.mjs.map +1 -0
- 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 -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-browser.d.ts +10 -10
- 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 +31 -31
- package/websql/lib/index.d.ts +11 -11
- 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
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersStrings {
|
|
3
|
-
/**
|
|
4
|
-
* Example:
|
|
5
|
-
*
|
|
6
|
-
* const result = interpolateString("I'm {age} years old!")
|
|
7
|
-
* .withParameters({ age: 29 });
|
|
8
|
-
*
|
|
9
|
-
* const result = interpolateString("The {a} says {n}, {n}, {n}!")
|
|
10
|
-
* .withParameters({ a: 'cow', n: 'moo' });
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param value string to interpolate
|
|
14
|
-
* @param parameters object with parametes
|
|
15
|
-
*/
|
|
16
|
-
interpolateString<T = any>(value: string): {
|
|
17
|
-
withParameters(parameters: T): string;
|
|
18
|
-
};
|
|
19
|
-
numValue(pixelsCss: string): number;
|
|
20
|
-
/**
|
|
21
|
-
* examples:
|
|
22
|
-
* 'aa bb bb' => ['aa','bb','cc'],
|
|
23
|
-
* 'aa' => ['aa']
|
|
24
|
-
* ['aa'] => ['aa']
|
|
25
|
-
*/
|
|
26
|
-
splitIfNeed(stringOrArr: string | string[]): string[];
|
|
27
|
-
removeDoubleOrMoreEmptyLines(s: string): string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* https://stackoverflow.com/a/57129703/1345101
|
|
31
|
-
*
|
|
32
|
-
* Returns the plural of an English word.
|
|
33
|
-
*
|
|
34
|
-
* @export
|
|
35
|
-
* @param {string} word
|
|
36
|
-
* @param {number} [amount]
|
|
37
|
-
* @returns {string}
|
|
38
|
-
*/
|
|
39
|
-
plural(word: string, amount?: number): string;
|
|
40
|
-
/**
|
|
41
|
-
* https://stackoverflow.com/a/57129703/1345101
|
|
42
|
-
*
|
|
43
|
-
* Returns the singular of an English word.
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @param {string} word
|
|
47
|
-
* @param {number} [amount]
|
|
48
|
-
* @returns {string}
|
|
49
|
-
*/
|
|
50
|
-
singular(word: string, amount?: number): string;
|
|
2
|
+
export declare class HelpersStrings {
|
|
3
|
+
/**
|
|
4
|
+
* Example:
|
|
5
|
+
*
|
|
6
|
+
* const result = interpolateString("I'm {age} years old!")
|
|
7
|
+
* .withParameters({ age: 29 });
|
|
8
|
+
*
|
|
9
|
+
* const result = interpolateString("The {a} says {n}, {n}, {n}!")
|
|
10
|
+
* .withParameters({ a: 'cow', n: 'moo' });
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* @param value string to interpolate
|
|
14
|
+
* @param parameters object with parametes
|
|
15
|
+
*/
|
|
16
|
+
interpolateString<T = any>(value: string): {
|
|
17
|
+
withParameters(parameters: T): string;
|
|
18
|
+
};
|
|
19
|
+
numValue(pixelsCss: string): number;
|
|
20
|
+
/**
|
|
21
|
+
* examples:
|
|
22
|
+
* 'aa bb bb' => ['aa','bb','cc'],
|
|
23
|
+
* 'aa' => ['aa']
|
|
24
|
+
* ['aa'] => ['aa']
|
|
25
|
+
*/
|
|
26
|
+
splitIfNeed(stringOrArr: string | string[]): string[];
|
|
27
|
+
removeDoubleOrMoreEmptyLines(s: string): string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* https://stackoverflow.com/a/57129703/1345101
|
|
31
|
+
*
|
|
32
|
+
* Returns the plural of an English word.
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @param {string} word
|
|
36
|
+
* @param {number} [amount]
|
|
37
|
+
* @returns {string}
|
|
38
|
+
*/
|
|
39
|
+
plural(word: string, amount?: number): string;
|
|
40
|
+
/**
|
|
41
|
+
* https://stackoverflow.com/a/57129703/1345101
|
|
42
|
+
*
|
|
43
|
+
* Returns the singular of an English word.
|
|
44
|
+
*
|
|
45
|
+
* @export
|
|
46
|
+
* @param {string} word
|
|
47
|
+
* @param {number} [amount]
|
|
48
|
+
* @returns {string}
|
|
49
|
+
*/
|
|
50
|
+
singular(word: string, amount?: number): string;
|
|
51
51
|
}
|
package/websql/lib/helpers.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { HelpersArrayObj } from './helpers-array-obj';
|
|
3
|
-
import { HelpersStringsRegexes } from './helpers-strings-regexes';
|
|
4
|
-
import { HelpersEnvironment } from './helpers-environment';
|
|
5
|
-
import { HelpersStrings } from './helpers-strings';
|
|
6
|
-
import { conditionWait } from './condition-wait';
|
|
7
|
-
import { CoreHelpers } from 'tnp-core/websql';
|
|
8
|
-
import { HelpersNumber } from './helpers-numbers';
|
|
9
|
-
import { HelpersBrowaser } from './helpers-browser';
|
|
10
|
-
import { NgHelpers } from './angular.helper';
|
|
11
|
-
export declare function applyMixins(derivedCtor: any, baseCtors: any[]): void;
|
|
12
|
-
export declare class HelpersTnp extends CoreHelpers {
|
|
13
|
-
arrays: HelpersArrayObj;
|
|
14
|
-
strings: HelpersStrings;
|
|
15
|
-
numbers: HelpersNumber;
|
|
16
|
-
browser: HelpersBrowaser;
|
|
17
|
-
ng: typeof NgHelpers;
|
|
18
|
-
private static _instance;
|
|
19
|
-
static get Instance(): HelpersTnp & CoreHelpers;
|
|
20
|
-
private constructor();
|
|
21
|
-
CLIWRAP(f: Function, name: string): Function;
|
|
22
|
-
isElevated(): Promise<void>;
|
|
23
|
-
mesureExectionInMs(description: string, functionToExecute: Function, ...functionArguments: any[]): Promise<number>;
|
|
24
|
-
mesureExectionInMsSync(description: string, functionToExecute: () => void): number;
|
|
25
|
-
conditionWait: typeof conditionWait;
|
|
26
|
-
waitForCondition(conditionFn: (any: any) => boolean, howOfftenCheckInMs?: number): Promise<unknown>;
|
|
27
|
-
getBrowserVerPath(moduleName?: string, websql?: boolean): void;
|
|
28
|
-
getMethodName(obj: any, method: any): string;
|
|
29
|
-
fixWebpackEnv(env: Object): void;
|
|
30
|
-
applyMixins: typeof applyMixins;
|
|
31
|
-
}
|
|
32
|
-
export interface HelpersTnp extends HelpersStringsRegexes, HelpersEnvironment {
|
|
2
|
+
import { HelpersArrayObj } from './helpers-array-obj';
|
|
3
|
+
import { HelpersStringsRegexes } from './helpers-strings-regexes';
|
|
4
|
+
import { HelpersEnvironment } from './helpers-environment';
|
|
5
|
+
import { HelpersStrings } from './helpers-strings';
|
|
6
|
+
import { conditionWait } from './condition-wait';
|
|
7
|
+
import { CoreHelpers } from 'tnp-core/websql';
|
|
8
|
+
import { HelpersNumber } from './helpers-numbers';
|
|
9
|
+
import { HelpersBrowaser } from './helpers-browser';
|
|
10
|
+
import { NgHelpers } from './angular.helper';
|
|
11
|
+
export declare function applyMixins(derivedCtor: any, baseCtors: any[]): void;
|
|
12
|
+
export declare class HelpersTnp extends CoreHelpers {
|
|
13
|
+
arrays: HelpersArrayObj;
|
|
14
|
+
strings: HelpersStrings;
|
|
15
|
+
numbers: HelpersNumber;
|
|
16
|
+
browser: HelpersBrowaser;
|
|
17
|
+
ng: typeof NgHelpers;
|
|
18
|
+
private static _instance;
|
|
19
|
+
static get Instance(): HelpersTnp & CoreHelpers;
|
|
20
|
+
private constructor();
|
|
21
|
+
CLIWRAP(f: Function, name: string): Function;
|
|
22
|
+
isElevated(): Promise<void>;
|
|
23
|
+
mesureExectionInMs(description: string, functionToExecute: Function, ...functionArguments: any[]): Promise<number>;
|
|
24
|
+
mesureExectionInMsSync(description: string, functionToExecute: () => void): number;
|
|
25
|
+
conditionWait: typeof conditionWait;
|
|
26
|
+
waitForCondition(conditionFn: (any: any) => boolean, howOfftenCheckInMs?: number): Promise<unknown>;
|
|
27
|
+
getBrowserVerPath(moduleName?: string, websql?: boolean): void;
|
|
28
|
+
getMethodName(obj: any, method: any): string;
|
|
29
|
+
fixWebpackEnv(env: Object): void;
|
|
30
|
+
applyMixins: typeof applyMixins;
|
|
31
|
+
}
|
|
32
|
+
export interface HelpersTnp extends HelpersStringsRegexes, HelpersEnvironment {
|
|
33
33
|
}
|
package/websql/lib/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { HelpersTnp as Base } from './helpers';
|
|
3
|
-
export * from './constants';
|
|
4
|
-
export { Condition } from './condition-wait';
|
|
5
|
-
export declare const Helpers: Base & import("tnp-core/websql").CoreHelpers;
|
|
6
|
-
export * from './project';
|
|
7
|
-
export * from './firedev-models';
|
|
8
|
-
export { SerializedSubject } from './angular.helper';
|
|
9
|
-
export { BaseComponent, BaseComponentForRouter } from './base-component';
|
|
10
|
-
export { BaseFormlyComponent } from './base-formly-component';
|
|
11
|
-
export { DualComponentController } from './dual-component-ctrl';
|
|
12
|
-
export { ResizeService } from './resize-service';
|
|
2
|
+
import { HelpersTnp as Base } from './helpers';
|
|
3
|
+
export * from './constants';
|
|
4
|
+
export { Condition } from './condition-wait';
|
|
5
|
+
export declare const Helpers: Base & import("tnp-core/websql").CoreHelpers;
|
|
6
|
+
export * from './project';
|
|
7
|
+
export * from './firedev-models';
|
|
8
|
+
export { SerializedSubject } from './angular.helper';
|
|
9
|
+
export { BaseComponent, BaseComponentForRouter } from './base-component';
|
|
10
|
+
export { BaseFormlyComponent } from './base-formly-component';
|
|
11
|
+
export { DualComponentController } from './dual-component-ctrl';
|
|
12
|
+
export { ResizeService } from './resize-service';
|
|
13
13
|
export { LongPress } from './long-press.directive';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { _ } from 'tnp-core/websql';
|
|
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/websql';
|
|
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/websql/lib/project.d.ts
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { ConfigModels } from 'tnp-config/websql';
|
|
3
|
-
import { Models } from 'tnp-models/websql';
|
|
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/websql';
|
|
3
|
+
import { Models } from 'tnp-models/websql';
|
|
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/websql/tnp-helpers.d.ts
CHANGED