tnp-helpers 13.1.38 → 13.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/angular.helper.mjs +87 -87
- package/browser/esm2020/lib/base-component.mjs +49 -49
- package/browser/esm2020/lib/base-formly-component.mjs +112 -112
- package/browser/esm2020/lib/condition-wait.mjs +45 -45
- package/browser/esm2020/lib/constants.mjs +8 -8
- package/browser/esm2020/lib/dual-component-ctrl.mjs +118 -118
- package/browser/esm2020/lib/firedev-models.mjs +3 -3
- package/browser/esm2020/lib/helpers-array-obj.mjs +82 -82
- package/browser/esm2020/lib/helpers-browser.mjs +46 -46
- package/browser/esm2020/lib/helpers-console-gui.mjs +9 -9
- package/browser/esm2020/lib/helpers-environment.mjs +32 -32
- package/browser/esm2020/lib/helpers-numbers.mjs +7 -7
- package/browser/esm2020/lib/helpers-strings-regexes.mjs +50 -50
- package/browser/esm2020/lib/helpers-strings.mjs +252 -252
- package/browser/esm2020/lib/helpers.mjs +285 -285
- package/browser/esm2020/lib/index.mjs +15 -15
- package/browser/esm2020/lib/long-press.directive.mjs +112 -112
- package/browser/esm2020/lib/project.mjs +429 -429
- package/browser/esm2020/lib/resize-service.mjs +21 -21
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/esm2020/tnp-helpers.mjs +4 -4
- package/browser/fesm2015/tnp-helpers.mjs +1686 -1686
- package/browser/fesm2020/tnp-helpers.mjs +1676 -1676
- package/browser/lib/angular.helper.d.ts +35 -35
- package/browser/lib/base-component.d.ts +16 -16
- package/browser/lib/base-formly-component.d.ts +30 -30
- package/browser/lib/condition-wait.d.ts +7 -7
- package/browser/lib/constants.d.ts +6 -6
- package/browser/lib/dual-component-ctrl.d.ts +24 -24
- package/browser/lib/firedev-models.d.ts +12 -12
- package/browser/lib/helpers-array-obj.d.ts +14 -14
- package/browser/lib/helpers-browser.d.ts +10 -10
- package/browser/lib/helpers-console-gui.d.ts +5 -5
- package/browser/lib/helpers-environment.d.ts +4 -4
- package/browser/lib/helpers-numbers.d.ts +2 -2
- package/browser/lib/helpers-strings-regexes.d.ts +27 -27
- package/browser/lib/helpers-strings.d.ts +49 -49
- package/browser/lib/helpers.d.ts +33 -33
- package/browser/lib/index.d.ts +11 -11
- package/browser/lib/long-press.directive.d.ts +24 -24
- package/browser/lib/project.d.ts +93 -93
- package/browser/lib/resize-service.d.ts +8 -8
- package/browser/tnp-helpers.d.ts +4 -4
- package/client/README.md +24 -24
- package/client/esm2020/lib/angular.helper.mjs +87 -87
- package/client/esm2020/lib/base-component.mjs +49 -49
- package/client/esm2020/lib/base-formly-component.mjs +112 -112
- package/client/esm2020/lib/condition-wait.mjs +45 -45
- package/client/esm2020/lib/constants.mjs +8 -8
- package/client/esm2020/lib/dual-component-ctrl.mjs +118 -118
- package/client/esm2020/lib/firedev-models.mjs +3 -3
- package/client/esm2020/lib/helpers-array-obj.mjs +82 -82
- package/client/esm2020/lib/helpers-browser.mjs +46 -46
- package/client/esm2020/lib/helpers-console-gui.mjs +9 -9
- package/client/esm2020/lib/helpers-environment.mjs +32 -32
- package/client/esm2020/lib/helpers-numbers.mjs +7 -7
- package/client/esm2020/lib/helpers-strings-regexes.mjs +50 -50
- package/client/esm2020/lib/helpers-strings.mjs +252 -252
- package/client/esm2020/lib/helpers.mjs +285 -285
- package/client/esm2020/lib/index.mjs +15 -15
- package/client/esm2020/lib/long-press.directive.mjs +112 -112
- package/client/esm2020/lib/project.mjs +429 -429
- package/client/esm2020/lib/resize-service.mjs +21 -21
- package/client/esm2020/public-api.mjs +1 -1
- package/client/esm2020/tnp-helpers.mjs +4 -4
- package/client/fesm2015/tnp-helpers.mjs +1686 -1686
- package/client/fesm2020/tnp-helpers.mjs +1676 -1676
- package/client/lib/angular.helper.d.ts +35 -35
- package/client/lib/base-component.d.ts +16 -16
- package/client/lib/base-formly-component.d.ts +30 -30
- package/client/lib/condition-wait.d.ts +7 -7
- package/client/lib/constants.d.ts +6 -6
- package/client/lib/dual-component-ctrl.d.ts +24 -24
- package/client/lib/firedev-models.d.ts +12 -12
- package/client/lib/helpers-array-obj.d.ts +14 -14
- package/client/lib/helpers-browser.d.ts +10 -10
- package/client/lib/helpers-console-gui.d.ts +5 -5
- package/client/lib/helpers-environment.d.ts +4 -4
- package/client/lib/helpers-numbers.d.ts +2 -2
- package/client/lib/helpers-strings-regexes.d.ts +27 -27
- package/client/lib/helpers-strings.d.ts +49 -49
- package/client/lib/helpers.d.ts +33 -33
- package/client/lib/index.d.ts +11 -11
- package/client/lib/long-press.directive.d.ts +24 -24
- package/client/lib/project.d.ts +93 -93
- package/client/lib/resize-service.d.ts +8 -8
- package/client/package.json +33 -31
- package/client/tnp-helpers.d.ts +4 -4
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/lib/angular.helper.d.ts +35 -35
- package/lib/angular.helper.js +3 -3
- package/lib/angular.helper.js.map +1 -1
- package/lib/base-component.d.ts +13 -13
- package/lib/base-component.js +3 -3
- package/lib/base-component.js.map +1 -1
- 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 -1
- package/lib/condition-wait.d.ts +8 -8
- package/lib/condition-wait.js.map +1 -1
- package/lib/constants.d.ts +7 -7
- package/lib/constants.js.map +1 -1
- 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 -1
- package/lib/firedev-models.d.ts +13 -13
- package/lib/firedev-models.js.map +1 -1
- package/lib/git-project.d.ts +52 -52
- package/lib/git-project.js.map +1 -1
- package/lib/helpers-array-obj.d.ts +15 -15
- package/lib/helpers-array-obj.js.map +1 -1
- package/lib/helpers-browser.d.ts +11 -11
- package/lib/helpers-browser.js.map +1 -1
- package/lib/helpers-cli-tool.backend.d.ts +55 -55
- package/lib/helpers-cli-tool.backend.js.map +1 -1
- package/lib/helpers-console-gui.d.ts +17 -17
- package/lib/helpers-console-gui.js.map +1 -1
- package/lib/helpers-dependencies.backend.d.ts +11 -11
- package/lib/helpers-dependencies.backend.js.map +1 -1
- package/lib/helpers-environment.d.ts +5 -5
- package/lib/helpers-environment.js.map +1 -1
- package/lib/helpers-file-folders.backend.d.ts +85 -85
- package/lib/helpers-file-folders.backend.js.map +1 -1
- package/lib/helpers-git.backend.d.ts +50 -50
- package/lib/helpers-git.backend.js.map +1 -1
- package/lib/helpers-json5.backend.d.ts +16 -16
- package/lib/helpers-json5.backend.js.map +1 -1
- package/lib/helpers-morphi-framework.backend.d.ts +4 -4
- package/lib/helpers-morphi-framework.backend.js.map +1 -1
- package/lib/helpers-network.backend.d.ts +8 -8
- package/lib/helpers-network.backend.js.map +1 -1
- package/lib/helpers-npm.backend.d.ts +3 -3
- package/lib/helpers-npm.backend.js.map +1 -1
- package/lib/helpers-numbers.d.ts +3 -3
- package/lib/helpers-numbers.js.map +1 -1
- package/lib/helpers-path.backend.d.ts +7 -7
- package/lib/helpers-path.backend.js.map +1 -1
- package/lib/helpers-process.backend.d.ts +58 -58
- package/lib/helpers-process.backend.js.map +1 -1
- package/lib/helpers-strings-regexes.d.ts +28 -28
- package/lib/helpers-strings-regexes.js.map +1 -1
- package/lib/helpers-strings.d.ts +50 -50
- package/lib/helpers-strings.js.map +1 -1
- package/lib/helpers-system-terminal.backend.d.ts +5 -5
- package/lib/helpers-system-terminal.backend.js.map +1 -1
- package/lib/helpers-vscode.backend.d.ts +5 -5
- package/lib/helpers-vscode.backend.js.map +1 -1
- package/lib/helpers.d.ts +74 -74
- package/lib/helpers.js.map +1 -1
- package/lib/index.d.ts +12 -12
- package/lib/index.js.map +1 -1
- package/lib/long-press.directive.d.ts +22 -22
- package/lib/long-press.directive.js.map +1 -1
- package/lib/merge-helpers.backend.d.ts +23 -23
- package/lib/merge-helpers.backend.js.map +1 -1
- package/lib/project.d.ts +96 -96
- package/lib/project.js.map +1 -1
- package/lib/resize-service.d.ts +6 -6
- package/lib/resize-service.js.map +1 -1
- package/lib/ts-code/index.d.ts +1 -1
- package/lib/ts-code/index.js.map +1 -1
- package/lib/ts-code/ts-code-extractor.d.ts +14 -14
- package/lib/ts-code/ts-code-extractor.js.map +1 -1
- package/lib/ts-code/ts-code-modifier.backend.d.ts +12 -12
- package/lib/ts-code/ts-code-modifier.backend.js.map +1 -1
- package/package.json +5 -5
- package/package.json_devDependencies.json +222 -222
- package/package.json_tnp.json5 +48 -48
- package/tmp-environment.json +37 -35
- 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,37 +1,37 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
export declare class SerializedSubject<T> {
|
|
4
|
-
id: string;
|
|
5
|
-
constructor(id: string);
|
|
6
|
-
}
|
|
7
|
-
export declare namespace NgHelpers {
|
|
8
|
-
/**
|
|
9
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
10
|
-
*/
|
|
11
|
-
function serialize(destroy$: Subject<any>): SerializedSubject<any>;
|
|
12
|
-
/**
|
|
13
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
14
|
-
*/
|
|
15
|
-
function deserialize(destroy$: SerializedSubject<any>): Subject<any>;
|
|
16
|
-
function unsubscribe(destroy$: Subject<any>): void;
|
|
17
|
-
/**
|
|
18
|
-
get properties from scss file
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import styles from './tasks-ngrx-data.component.scss';
|
|
22
|
-
|
|
23
|
-
export class ExampleComponent {
|
|
24
|
-
sassFile = sassFile(styles);
|
|
25
|
-
|
|
26
|
-
async ngOnInit() {
|
|
27
|
-
this.tasksService.getAll();
|
|
28
|
-
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
29
|
-
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
*/
|
|
33
|
-
function sassFile(styles: string): {
|
|
34
|
-
stringValue: (name: string) => string;
|
|
35
|
-
numberValue: (name: string) => number;
|
|
36
|
-
};
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
export declare class SerializedSubject<T> {
|
|
4
|
+
id: string;
|
|
5
|
+
constructor(id: string);
|
|
6
|
+
}
|
|
7
|
+
export declare namespace NgHelpers {
|
|
8
|
+
/**
|
|
9
|
+
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
10
|
+
*/
|
|
11
|
+
function serialize(destroy$: Subject<any>): SerializedSubject<any>;
|
|
12
|
+
/**
|
|
13
|
+
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
14
|
+
*/
|
|
15
|
+
function deserialize(destroy$: SerializedSubject<any>): Subject<any>;
|
|
16
|
+
function unsubscribe(destroy$: Subject<any>): void;
|
|
17
|
+
/**
|
|
18
|
+
get properties from scss file
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
import styles from './tasks-ngrx-data.component.scss';
|
|
22
|
+
|
|
23
|
+
export class ExampleComponent {
|
|
24
|
+
sassFile = sassFile(styles);
|
|
25
|
+
|
|
26
|
+
async ngOnInit() {
|
|
27
|
+
this.tasksService.getAll();
|
|
28
|
+
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
29
|
+
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
*/
|
|
33
|
+
function sassFile(styles: string): {
|
|
34
|
+
stringValue: (name: string) => string;
|
|
35
|
+
numberValue: (name: string) => number;
|
|
36
|
+
};
|
|
37
37
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { OnDestroy } from '@angular/core';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class BaseComponent implements OnDestroy {
|
|
7
|
-
model: any;
|
|
8
|
-
handlers: Subscription[];
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "app-base-component-meta", never, { "model": "model"; }, {}, never, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare abstract class BaseComponentForRouter extends BaseComponent {
|
|
14
|
-
private __router;
|
|
15
|
-
constructor(__router: Router);
|
|
16
|
-
protected isCalledNgInitAfterInternalRefresh(): boolean;
|
|
17
|
-
protected reloadNgOninitOnUrlChange(): void;
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { OnDestroy } from '@angular/core';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseComponent implements OnDestroy {
|
|
7
|
+
model: any;
|
|
8
|
+
handlers: Subscription[];
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "app-base-component-meta", never, { "model": "model"; }, {}, never, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare abstract class BaseComponentForRouter extends BaseComponent {
|
|
14
|
+
private __router;
|
|
15
|
+
constructor(__router: Router);
|
|
16
|
+
protected isCalledNgInitAfterInternalRefresh(): boolean;
|
|
17
|
+
protected reloadNgOninitOnUrlChange(): void;
|
|
18
18
|
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { FieldType } from '@ngx-formly/core';
|
|
4
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
|
5
|
-
import { DualComponentController } from './dual-component-ctrl';
|
|
6
|
-
import { EventEmitter } from '@angular/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
|
|
9
|
-
protected DualComponentController: typeof DualComponentController;
|
|
10
|
-
ctrl: T;
|
|
11
|
-
pizda: any;
|
|
12
|
-
get mode(): any;
|
|
13
|
-
set mode(v: any);
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
label: string;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
defaultValue: T;
|
|
19
|
-
set model(v: any);
|
|
20
|
-
get model(): any;
|
|
21
|
-
path: string;
|
|
22
|
-
change: EventEmitter<any>;
|
|
23
|
-
set key(value: string);
|
|
24
|
-
get key(): string;
|
|
25
|
-
protected handlers: Subscription[];
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
private __field;
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormlyComponent<any>, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormlyComponent<any>, "app-base-formly-component-meta", never, { "pizda": "pizda"; "mode": "mode"; "disabled": "disabled"; "required": "required"; "label": "label"; "placeholder": "placeholder"; "defaultValue": "defaultValue"; "model": "model"; "path": "path"; "key": "key"; }, { "change": "change"; }, never, never>;
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
5
|
+
import { DualComponentController } from './dual-component-ctrl';
|
|
6
|
+
import { EventEmitter } from '@angular/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
|
|
9
|
+
protected DualComponentController: typeof DualComponentController;
|
|
10
|
+
ctrl: T;
|
|
11
|
+
pizda: any;
|
|
12
|
+
get mode(): any;
|
|
13
|
+
set mode(v: any);
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
label: string;
|
|
17
|
+
placeholder: string;
|
|
18
|
+
defaultValue: T;
|
|
19
|
+
set model(v: any);
|
|
20
|
+
get model(): any;
|
|
21
|
+
path: string;
|
|
22
|
+
change: EventEmitter<any>;
|
|
23
|
+
set key(value: string);
|
|
24
|
+
get key(): string;
|
|
25
|
+
protected handlers: Subscription[];
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
private __field;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormlyComponent<any>, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormlyComponent<any>, "app-base-formly-component-meta", never, { "pizda": "pizda"; "mode": "mode"; "disabled": "disabled"; "required": "required"; "label": "label"; "placeholder": "placeholder"; "defaultValue": "defaultValue"; "model": "model"; "path": "path"; "key": "key"; }, { "change": "change"; }, never, never>;
|
|
32
32
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare type Condition = {
|
|
3
|
-
name?: string;
|
|
4
|
-
timeoutCheck?: number;
|
|
5
|
-
timeoutNext?: number;
|
|
6
|
-
callback: (c: Condition) => boolean | Promise<boolean>;
|
|
7
|
-
errorMessage: string;
|
|
8
|
-
};
|
|
2
|
+
export declare type Condition = {
|
|
3
|
+
name?: string;
|
|
4
|
+
timeoutCheck?: number;
|
|
5
|
+
timeoutNext?: number;
|
|
6
|
+
callback: (c: Condition) => boolean | Promise<boolean>;
|
|
7
|
+
errorMessage: string;
|
|
8
|
+
};
|
|
9
9
|
export declare function conditionWait(conditionAndTimeout: Condition[]): Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare const BaselineSiteJoinprefix = "__";
|
|
3
|
-
export declare const PREFIXES: {
|
|
4
|
-
BASELINE: string;
|
|
5
|
-
DELETED: string;
|
|
6
|
-
ORIGINAL: string;
|
|
7
|
-
RESTORE_NPM: string;
|
|
2
|
+
export declare const BaselineSiteJoinprefix = "__";
|
|
3
|
+
export declare const PREFIXES: {
|
|
4
|
+
BASELINE: string;
|
|
5
|
+
DELETED: string;
|
|
6
|
+
ORIGINAL: string;
|
|
7
|
+
RESTORE_NPM: string;
|
|
8
8
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { BaseFormlyComponent } from './base-formly-component';
|
|
3
|
-
export declare abstract class DualComponentController<T = any> {
|
|
4
|
-
protected cmp: BaseFormlyComponent;
|
|
5
|
-
isFormlyMode: boolean;
|
|
6
|
-
constructor(cmp: BaseFormlyComponent, isFormlyMode?: boolean);
|
|
7
|
-
protected getValTemplateOptions(propertyName: string): any;
|
|
8
|
-
protected getValContext(propertyName: string): any;
|
|
9
|
-
get disabled(): boolean;
|
|
10
|
-
get required(): boolean;
|
|
11
|
-
get type(): string | boolean;
|
|
12
|
-
get label(): string;
|
|
13
|
-
get placeholder(): string;
|
|
14
|
-
get defaultValue(): T;
|
|
15
|
-
get formControl(): any;
|
|
16
|
-
get key(): string;
|
|
17
|
-
get path(): string;
|
|
18
|
-
__model: any;
|
|
19
|
-
get model(): any;
|
|
20
|
-
set model(v: any);
|
|
21
|
-
__mode: any;
|
|
22
|
-
get mode(): any;
|
|
23
|
-
set mode(v: any);
|
|
24
|
-
get value(): T;
|
|
25
|
-
set value(v: T);
|
|
2
|
+
import { BaseFormlyComponent } from './base-formly-component';
|
|
3
|
+
export declare abstract class DualComponentController<T = any> {
|
|
4
|
+
protected cmp: BaseFormlyComponent;
|
|
5
|
+
isFormlyMode: boolean;
|
|
6
|
+
constructor(cmp: BaseFormlyComponent, isFormlyMode?: boolean);
|
|
7
|
+
protected getValTemplateOptions(propertyName: string): any;
|
|
8
|
+
protected getValContext(propertyName: string): any;
|
|
9
|
+
get disabled(): boolean;
|
|
10
|
+
get required(): boolean;
|
|
11
|
+
get type(): string | boolean;
|
|
12
|
+
get label(): string;
|
|
13
|
+
get placeholder(): string;
|
|
14
|
+
get defaultValue(): T;
|
|
15
|
+
get formControl(): any;
|
|
16
|
+
get key(): string;
|
|
17
|
+
get path(): string;
|
|
18
|
+
__model: any;
|
|
19
|
+
get model(): any;
|
|
20
|
+
set model(v: any);
|
|
21
|
+
__mode: any;
|
|
22
|
+
get mode(): any;
|
|
23
|
+
set mode(v: any);
|
|
24
|
+
get value(): T;
|
|
25
|
+
set value(v: T);
|
|
26
26
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare namespace FiredevModels {
|
|
3
|
-
interface VSCodeSettings {
|
|
4
|
-
'files.exclude': {
|
|
5
|
-
[files: string]: boolean;
|
|
6
|
-
};
|
|
7
|
-
'workbench.colorTheme': 'Default Light+' | 'Kimbie Dark';
|
|
8
|
-
'workbench.colorCustomizations': {
|
|
9
|
-
'activityBar.background'?: string;
|
|
10
|
-
'activityBar.foreground'?: string;
|
|
11
|
-
'statusBar.background'?: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
2
|
+
export declare namespace FiredevModels {
|
|
3
|
+
interface VSCodeSettings {
|
|
4
|
+
'files.exclude': {
|
|
5
|
+
[files: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
'workbench.colorTheme': 'Default Light+' | 'Kimbie Dark';
|
|
8
|
+
'workbench.colorCustomizations': {
|
|
9
|
+
'activityBar.background'?: string;
|
|
10
|
+
'activityBar.foreground'?: string;
|
|
11
|
+
'statusBar.background'?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
14
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersArrayObj {
|
|
3
|
-
from(s: string | string[]): string[];
|
|
4
|
-
second(arr: any): any;
|
|
5
|
-
arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
6
|
-
arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
7
|
-
uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
|
|
8
|
-
sortKeys(obj: any): any;
|
|
9
|
-
/**
|
|
10
|
-
* Fuzzy search
|
|
11
|
-
*/
|
|
12
|
-
fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
|
|
13
|
-
matches: string[];
|
|
14
|
-
results: T[];
|
|
15
|
-
};
|
|
2
|
+
export declare class HelpersArrayObj {
|
|
3
|
+
from(s: string | string[]): string[];
|
|
4
|
+
second(arr: any): any;
|
|
5
|
+
arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
6
|
+
arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
7
|
+
uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
|
|
8
|
+
sortKeys(obj: any): any;
|
|
9
|
+
/**
|
|
10
|
+
* Fuzzy search
|
|
11
|
+
*/
|
|
12
|
+
fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
|
|
13
|
+
matches: string[];
|
|
14
|
+
results: T[];
|
|
15
|
+
};
|
|
16
16
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersBrowaser {
|
|
3
|
-
private static callbacks;
|
|
4
|
-
static onInit(callback: (ins: HelpersBrowaser) => any): void;
|
|
5
|
-
get win(): Window & typeof globalThis;
|
|
6
|
-
private get tabIdSessionStorage();
|
|
7
|
-
readonly tabId: number;
|
|
8
|
-
private static inst;
|
|
9
|
-
init: void;
|
|
10
|
-
private constructor();
|
|
11
|
-
static get instance(): HelpersBrowaser;
|
|
2
|
+
export declare class HelpersBrowaser {
|
|
3
|
+
private static callbacks;
|
|
4
|
+
static onInit(callback: (ins: HelpersBrowaser) => any): void;
|
|
5
|
+
get win(): Window & typeof globalThis;
|
|
6
|
+
private get tabIdSessionStorage();
|
|
7
|
+
readonly tabId: number;
|
|
8
|
+
private static inst;
|
|
9
|
+
init: void;
|
|
10
|
+
private constructor();
|
|
11
|
+
static get instance(): HelpersBrowaser;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersConsoleGuiQuestion {
|
|
3
|
-
}
|
|
4
|
-
export declare class HelpersConsoleGui {
|
|
5
|
-
constructor();
|
|
6
|
-
question: HelpersConsoleGuiQuestion;
|
|
2
|
+
export declare class HelpersConsoleGuiQuestion {
|
|
3
|
+
}
|
|
4
|
+
export declare class HelpersConsoleGui {
|
|
5
|
+
constructor();
|
|
6
|
+
question: HelpersConsoleGuiQuestion;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersEnvironment {
|
|
3
|
-
environmentName(filename: any, local_env_name: any): void;
|
|
4
|
-
isValidGitRepuUrl(url: string): boolean;
|
|
5
|
-
isValidIp(ip: string): boolean;
|
|
2
|
+
export declare class HelpersEnvironment {
|
|
3
|
+
environmentName(filename: any, local_env_name: any): void;
|
|
4
|
+
isValidGitRepuUrl(url: string): boolean;
|
|
5
|
+
isValidIp(ip: string): boolean;
|
|
6
6
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare class HelpersStringsRegexes {
|
|
3
|
-
escapeStringForRegEx(s: string): string;
|
|
4
|
-
matchExactOnce(s: string, regex: RegExp): string;
|
|
5
|
-
get regex(): {
|
|
6
|
-
/**
|
|
7
|
-
* mathes
|
|
8
|
-
* xxx.xxx.xxx.xxx
|
|
9
|
-
* xxx.xxx.xxx.xxx:port
|
|
10
|
-
* http://xxx.xxx.xxx.xxx:port
|
|
11
|
-
* http://xxx.xxx.xxx.xxx
|
|
12
|
-
* https://xxx.xxx.xxx.xxx:port
|
|
13
|
-
* https://xxx.xxx.xxx.xxx *
|
|
14
|
-
*/
|
|
15
|
-
readonly forStringWithIpHost: RegExp;
|
|
16
|
-
/**
|
|
17
|
-
* mathes
|
|
18
|
-
* http://domain.com:port
|
|
19
|
-
* http://domain.com
|
|
20
|
-
* http://domain:port
|
|
21
|
-
* http://domain
|
|
22
|
-
* https://domain.com:port
|
|
23
|
-
* https://domain.com
|
|
24
|
-
* https://domain:port
|
|
25
|
-
* https://domain
|
|
26
|
-
*/
|
|
27
|
-
readonly forStringWithDomainHost: RegExp;
|
|
28
|
-
};
|
|
2
|
+
export declare class HelpersStringsRegexes {
|
|
3
|
+
escapeStringForRegEx(s: string): string;
|
|
4
|
+
matchExactOnce(s: string, regex: RegExp): string;
|
|
5
|
+
get regex(): {
|
|
6
|
+
/**
|
|
7
|
+
* mathes
|
|
8
|
+
* xxx.xxx.xxx.xxx
|
|
9
|
+
* xxx.xxx.xxx.xxx:port
|
|
10
|
+
* http://xxx.xxx.xxx.xxx:port
|
|
11
|
+
* http://xxx.xxx.xxx.xxx
|
|
12
|
+
* https://xxx.xxx.xxx.xxx:port
|
|
13
|
+
* https://xxx.xxx.xxx.xxx *
|
|
14
|
+
*/
|
|
15
|
+
readonly forStringWithIpHost: RegExp;
|
|
16
|
+
/**
|
|
17
|
+
* mathes
|
|
18
|
+
* http://domain.com:port
|
|
19
|
+
* http://domain.com
|
|
20
|
+
* http://domain:port
|
|
21
|
+
* http://domain
|
|
22
|
+
* https://domain.com:port
|
|
23
|
+
* https://domain.com
|
|
24
|
+
* https://domain:port
|
|
25
|
+
* https://domain
|
|
26
|
+
*/
|
|
27
|
+
readonly forStringWithDomainHost: RegExp;
|
|
28
|
+
};
|
|
29
29
|
}
|
|
@@ -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,35 +1,35 @@
|
|
|
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 { HelpersConsoleGui } from './helpers-console-gui';
|
|
7
|
-
import { conditionWait } from './condition-wait';
|
|
8
|
-
import { CoreHelpers } from 'tnp-core/websql';
|
|
9
|
-
import { HelpersNumber } from './helpers-numbers';
|
|
10
|
-
import { HelpersBrowaser } from './helpers-browser';
|
|
11
|
-
import { NgHelpers } from './angular.helper';
|
|
12
|
-
export declare function applyMixins(derivedCtor: any, baseCtors: any[]): void;
|
|
13
|
-
export declare class HelpersTnp extends CoreHelpers {
|
|
14
|
-
arrays: HelpersArrayObj;
|
|
15
|
-
strings: HelpersStrings;
|
|
16
|
-
numbers: HelpersNumber;
|
|
17
|
-
consoleGui: HelpersConsoleGui;
|
|
18
|
-
browser: HelpersBrowaser;
|
|
19
|
-
ng: typeof NgHelpers;
|
|
20
|
-
private static _instance;
|
|
21
|
-
static get Instance(): HelpersTnp & CoreHelpers;
|
|
22
|
-
private constructor();
|
|
23
|
-
CLIWRAP(f: Function, name: string): Function;
|
|
24
|
-
isElevated(): Promise<void>;
|
|
25
|
-
mesureExectionInMs(description: string, functionToExecute: Function, ...functionArguments: any[]): Promise<number>;
|
|
26
|
-
mesureExectionInMsSync(description: string, functionToExecute: () => void): number;
|
|
27
|
-
conditionWait: typeof conditionWait;
|
|
28
|
-
waitForCondition(conditionFn: (any: any) => boolean, howOfftenCheckInMs?: number): Promise<unknown>;
|
|
29
|
-
getBrowserVerPath(moduleName?: string, websql?: boolean): void;
|
|
30
|
-
getMethodName(obj: any, method: any): string;
|
|
31
|
-
fixWebpackEnv(env: Object): void;
|
|
32
|
-
applyMixins: typeof applyMixins;
|
|
33
|
-
}
|
|
34
|
-
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 { HelpersConsoleGui } from './helpers-console-gui';
|
|
7
|
+
import { conditionWait } from './condition-wait';
|
|
8
|
+
import { CoreHelpers } from 'tnp-core/websql';
|
|
9
|
+
import { HelpersNumber } from './helpers-numbers';
|
|
10
|
+
import { HelpersBrowaser } from './helpers-browser';
|
|
11
|
+
import { NgHelpers } from './angular.helper';
|
|
12
|
+
export declare function applyMixins(derivedCtor: any, baseCtors: any[]): void;
|
|
13
|
+
export declare class HelpersTnp extends CoreHelpers {
|
|
14
|
+
arrays: HelpersArrayObj;
|
|
15
|
+
strings: HelpersStrings;
|
|
16
|
+
numbers: HelpersNumber;
|
|
17
|
+
consoleGui: HelpersConsoleGui;
|
|
18
|
+
browser: HelpersBrowaser;
|
|
19
|
+
ng: typeof NgHelpers;
|
|
20
|
+
private static _instance;
|
|
21
|
+
static get Instance(): HelpersTnp & CoreHelpers;
|
|
22
|
+
private constructor();
|
|
23
|
+
CLIWRAP(f: Function, name: string): Function;
|
|
24
|
+
isElevated(): Promise<void>;
|
|
25
|
+
mesureExectionInMs(description: string, functionToExecute: Function, ...functionArguments: any[]): Promise<number>;
|
|
26
|
+
mesureExectionInMsSync(description: string, functionToExecute: () => void): number;
|
|
27
|
+
conditionWait: typeof conditionWait;
|
|
28
|
+
waitForCondition(conditionFn: (any: any) => boolean, howOfftenCheckInMs?: number): Promise<unknown>;
|
|
29
|
+
getBrowserVerPath(moduleName?: string, websql?: boolean): void;
|
|
30
|
+
getMethodName(obj: any, method: any): string;
|
|
31
|
+
fixWebpackEnv(env: Object): void;
|
|
32
|
+
applyMixins: typeof applyMixins;
|
|
33
|
+
}
|
|
34
|
+
export interface HelpersTnp extends HelpersStringsRegexes, HelpersEnvironment {
|
|
35
35
|
}
|
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';
|