tnp-helpers 13.1.14 → 13.1.15

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.
Files changed (169) hide show
  1. package/app.js +3 -3
  2. package/browser/README.md +24 -24
  3. package/browser/esm2020/lib/base-component.mjs +49 -49
  4. package/browser/esm2020/lib/base-formly-component.mjs +112 -112
  5. package/browser/esm2020/lib/condition-wait.mjs +45 -45
  6. package/browser/esm2020/lib/constants.mjs +7 -7
  7. package/browser/esm2020/lib/dual-component-ctrl.mjs +118 -118
  8. package/browser/esm2020/lib/firedev-models.mjs +3 -3
  9. package/browser/esm2020/lib/helpers-array-obj.mjs +82 -82
  10. package/browser/esm2020/lib/helpers-browser.mjs +47 -0
  11. package/browser/esm2020/lib/helpers-environment.mjs +32 -32
  12. package/browser/esm2020/lib/helpers-numbers.mjs +7 -7
  13. package/browser/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  14. package/browser/esm2020/lib/helpers-strings.mjs +252 -252
  15. package/browser/esm2020/lib/helpers.mjs +282 -280
  16. package/browser/esm2020/lib/index.mjs +14 -14
  17. package/browser/esm2020/lib/long-press.directive.mjs +112 -112
  18. package/browser/esm2020/lib/project.mjs +429 -429
  19. package/browser/esm2020/lib/resize-service.mjs +21 -21
  20. package/browser/esm2020/public-api.mjs +1 -1
  21. package/browser/esm2020/tnp-helpers.mjs +4 -4
  22. package/browser/fesm2015/tnp-helpers.mjs +1592 -1542
  23. package/browser/fesm2020/tnp-helpers.mjs +1582 -1534
  24. package/browser/lib/base-component.d.ts +16 -16
  25. package/browser/lib/base-formly-component.d.ts +30 -30
  26. package/browser/lib/condition-wait.d.ts +7 -7
  27. package/browser/lib/constants.d.ts +5 -5
  28. package/browser/lib/dual-component-ctrl.d.ts +24 -24
  29. package/browser/lib/firedev-models.d.ts +12 -12
  30. package/browser/lib/helpers-array-obj.d.ts +14 -14
  31. package/browser/lib/helpers-browser.d.ts +12 -0
  32. package/browser/lib/helpers-environment.d.ts +4 -4
  33. package/browser/lib/helpers-numbers.d.ts +2 -2
  34. package/browser/lib/helpers-strings-regexes.d.ts +27 -27
  35. package/browser/lib/helpers-strings.d.ts +49 -49
  36. package/browser/lib/helpers.d.ts +29 -27
  37. package/browser/lib/index.d.ts +10 -10
  38. package/browser/lib/long-press.directive.d.ts +24 -24
  39. package/browser/lib/project.d.ts +94 -94
  40. package/browser/lib/resize-service.d.ts +8 -8
  41. package/browser/tnp-helpers.d.ts +4 -4
  42. package/client/README.md +24 -24
  43. package/client/esm2020/lib/base-component.mjs +49 -49
  44. package/client/esm2020/lib/base-formly-component.mjs +112 -112
  45. package/client/esm2020/lib/condition-wait.mjs +45 -45
  46. package/client/esm2020/lib/constants.mjs +7 -7
  47. package/client/esm2020/lib/dual-component-ctrl.mjs +118 -118
  48. package/client/esm2020/lib/firedev-models.mjs +3 -3
  49. package/client/esm2020/lib/helpers-array-obj.mjs +82 -82
  50. package/client/esm2020/lib/helpers-browser.mjs +47 -0
  51. package/client/esm2020/lib/helpers-environment.mjs +32 -32
  52. package/client/esm2020/lib/helpers-numbers.mjs +7 -7
  53. package/client/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  54. package/client/esm2020/lib/helpers-strings.mjs +252 -252
  55. package/client/esm2020/lib/helpers.mjs +282 -280
  56. package/client/esm2020/lib/index.mjs +14 -14
  57. package/client/esm2020/lib/long-press.directive.mjs +112 -112
  58. package/client/esm2020/lib/project.mjs +429 -429
  59. package/client/esm2020/lib/resize-service.mjs +21 -21
  60. package/client/esm2020/public-api.mjs +1 -1
  61. package/client/esm2020/tnp-helpers.mjs +4 -4
  62. package/client/fesm2015/tnp-helpers.mjs +1592 -1542
  63. package/client/fesm2020/tnp-helpers.mjs +1582 -1534
  64. package/client/lib/base-component.d.ts +16 -16
  65. package/client/lib/base-formly-component.d.ts +30 -30
  66. package/client/lib/condition-wait.d.ts +7 -7
  67. package/client/lib/constants.d.ts +5 -5
  68. package/client/lib/dual-component-ctrl.d.ts +24 -24
  69. package/client/lib/firedev-models.d.ts +12 -12
  70. package/client/lib/helpers-array-obj.d.ts +14 -14
  71. package/client/lib/helpers-browser.d.ts +12 -0
  72. package/client/lib/helpers-environment.d.ts +4 -4
  73. package/client/lib/helpers-numbers.d.ts +2 -2
  74. package/client/lib/helpers-strings-regexes.d.ts +27 -27
  75. package/client/lib/helpers-strings.d.ts +49 -49
  76. package/client/lib/helpers.d.ts +29 -27
  77. package/client/lib/index.d.ts +10 -10
  78. package/client/lib/long-press.directive.d.ts +24 -24
  79. package/client/lib/project.d.ts +94 -94
  80. package/client/lib/resize-service.d.ts +8 -8
  81. package/client/tnp-helpers.d.ts +4 -4
  82. package/index.d.ts +1 -1
  83. package/lib/angular.helper.d.ts +22 -22
  84. package/lib/base-component.d.ts +13 -13
  85. package/lib/base-component.js +3 -3
  86. package/lib/base-formly-component.d.ts +27 -27
  87. package/lib/base-formly-component.js +3 -3
  88. package/lib/condition-wait.d.ts +8 -8
  89. package/lib/constants.d.ts +6 -6
  90. package/lib/dual-component-ctrl.d.ts +24 -24
  91. package/lib/dual-component-ctrl.js +3 -3
  92. package/lib/firedev-models.d.ts +13 -13
  93. package/lib/git-project.d.ts +45 -46
  94. package/lib/helpers-array-obj.d.ts +15 -15
  95. package/lib/helpers-browser.d.ts +11 -0
  96. package/lib/helpers-browser.js +70 -0
  97. package/lib/helpers-cli-tool.backend.d.ts +55 -55
  98. package/lib/helpers-dependencies.backend.d.ts +11 -11
  99. package/lib/helpers-environment.d.ts +5 -5
  100. package/lib/helpers-file-folders.backend.d.ts +83 -83
  101. package/lib/helpers-file-folders.backend.js +6 -3
  102. package/lib/helpers-git.backend.d.ts +43 -43
  103. package/lib/helpers-git.backend.js +1 -1
  104. package/lib/helpers-json5.backend.d.ts +16 -16
  105. package/lib/helpers-morphi-framework.backend.d.ts +4 -4
  106. package/lib/helpers-network.backend.d.ts +8 -8
  107. package/lib/helpers-npm.backend.d.ts +3 -3
  108. package/lib/helpers-numbers.d.ts +3 -3
  109. package/lib/helpers-path.backend.d.ts +7 -7
  110. package/lib/helpers-process.backend.d.ts +54 -55
  111. package/lib/helpers-process.backend.js +0 -3
  112. package/lib/helpers-strings-regexes.d.ts +28 -28
  113. package/lib/helpers-strings.d.ts +50 -50
  114. package/lib/helpers-system-terminal.backend.d.ts +5 -5
  115. package/lib/helpers-vscode.backend.d.ts +5 -5
  116. package/lib/helpers.d.ts +71 -69
  117. package/lib/helpers.js +2 -0
  118. package/lib/index.d.ts +11 -11
  119. package/lib/long-press.directive.d.ts +22 -22
  120. package/lib/merge-helpers.backend.d.ts +23 -23
  121. package/lib/project.d.ts +97 -97
  122. package/lib/resize-service.d.ts +6 -6
  123. package/lib/ts-code/index.d.ts +1 -1
  124. package/lib/ts-code/ts-code-extractor.d.ts +14 -14
  125. package/lib/ts-code/ts-code-modifier.backend.d.ts +12 -12
  126. package/package.json +3 -3
  127. package/package.json_devDependencies.json +222 -222
  128. package/package.json_tnp.json5 +44 -44
  129. package/tmp-environment.json +10 -9
  130. package/websql/README.md +24 -24
  131. package/websql/esm2020/lib/base-component.mjs +49 -49
  132. package/websql/esm2020/lib/base-formly-component.mjs +112 -112
  133. package/websql/esm2020/lib/condition-wait.mjs +45 -45
  134. package/websql/esm2020/lib/constants.mjs +7 -7
  135. package/websql/esm2020/lib/dual-component-ctrl.mjs +118 -118
  136. package/websql/esm2020/lib/firedev-models.mjs +3 -3
  137. package/websql/esm2020/lib/helpers-array-obj.mjs +82 -82
  138. package/websql/esm2020/lib/helpers-browser.mjs +47 -0
  139. package/websql/esm2020/lib/helpers-environment.mjs +32 -32
  140. package/websql/esm2020/lib/helpers-numbers.mjs +7 -7
  141. package/websql/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  142. package/websql/esm2020/lib/helpers-strings.mjs +252 -252
  143. package/websql/esm2020/lib/helpers.mjs +282 -280
  144. package/websql/esm2020/lib/index.mjs +14 -14
  145. package/websql/esm2020/lib/long-press.directive.mjs +112 -112
  146. package/websql/esm2020/lib/project.mjs +429 -429
  147. package/websql/esm2020/lib/resize-service.mjs +21 -21
  148. package/websql/esm2020/public-api.mjs +1 -1
  149. package/websql/esm2020/tnp-helpers.mjs +4 -4
  150. package/websql/fesm2015/tnp-helpers.mjs +1592 -1542
  151. package/websql/fesm2020/tnp-helpers.mjs +1582 -1534
  152. package/websql/lib/base-component.d.ts +16 -16
  153. package/websql/lib/base-formly-component.d.ts +30 -30
  154. package/websql/lib/condition-wait.d.ts +7 -7
  155. package/websql/lib/constants.d.ts +5 -5
  156. package/websql/lib/dual-component-ctrl.d.ts +24 -24
  157. package/websql/lib/firedev-models.d.ts +12 -12
  158. package/websql/lib/helpers-array-obj.d.ts +14 -14
  159. package/websql/lib/helpers-browser.d.ts +12 -0
  160. package/websql/lib/helpers-environment.d.ts +4 -4
  161. package/websql/lib/helpers-numbers.d.ts +2 -2
  162. package/websql/lib/helpers-strings-regexes.d.ts +27 -27
  163. package/websql/lib/helpers-strings.d.ts +49 -49
  164. package/websql/lib/helpers.d.ts +29 -27
  165. package/websql/lib/index.d.ts +10 -10
  166. package/websql/lib/long-press.directive.d.ts +24 -24
  167. package/websql/lib/project.d.ts +94 -94
  168. package/websql/lib/resize-service.d.ts +8 -8
  169. package/websql/tnp-helpers.d.ts +4 -4
@@ -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
  }
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated bundle index. Do not edit.
4
- */
5
- /// <amd-module name="tnp-helpers" />
2
+ /**
3
+ * Generated bundle index. Do not edit.
4
+ */
5
+ /// <amd-module name="tnp-helpers" />
6
6
  export * from './public-api';
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib';
1
+ export * from './lib';
@@ -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
+ }
@@ -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
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1674785847849 = void 0;
4
- function dummy1674785847849() { }
5
- exports.dummy1674785847849 = dummy1674785847849;
3
+ exports.dummy1677313558161 = void 0;
4
+ function dummy1677313558161() { }
5
+ exports.dummy1677313558161 = dummy1677313558161;
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.dummy1674785847854 = void 0;
4
- function dummy1674785847854() { }
5
- exports.dummy1674785847854 = dummy1674785847854;
3
+ exports.dummy1677313558163 = void 0;
4
+ function dummy1677313558163() { }
5
+ exports.dummy1677313558163 = dummy1677313558163;
6
6
  //# sourceMappingURL=base-formly-component.js.map
@@ -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>;
@@ -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.dummy1674785847860 = void 0;
4
- function dummy1674785847860() { }
5
- exports.dummy1674785847860 = dummy1674785847860;
3
+ exports.dummy1677313558169 = void 0;
4
+ function dummy1677313558169() { }
5
+ exports.dummy1677313558169 = dummy1677313558169;
6
6
  //# sourceMappingURL=dual-component-ctrl.js.map
@@ -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
+ }
@@ -1,46 +1,45 @@
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 { Project } from './project';
2
+ import { RunOptions, ExecuteOptions } from 'tnp-core';
3
+ export declare abstract class ProjectGit {
4
+ runCommandGetString(this: Project, command: string): string;
5
+ execute(this: Project, command: string, options?: ExecuteOptions & {
6
+ showCommand?: boolean;
7
+ }): Promise<unknown>;
8
+ run(this: Project, command: string, options?: RunOptions): {
9
+ sync(): string;
10
+ async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => number | Promise<number>): any;
11
+ asyncAsPromise(): any;
12
+ unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[]): Promise<any>;
13
+ };
14
+ get git(this: Project): {
15
+ clone(url: string, destinationFolderName?: string): void;
16
+ restoreLastVersion(localFilePath: string): void;
17
+ resetFiles(...relativePathes: string[]): void;
18
+ readonly isGitRepo: boolean;
19
+ readonly isGitRoot: boolean;
20
+ readonly originURL: string;
21
+ updateOrigin(askToRetry?: boolean): Promise<void>;
22
+ commit(args?: string): void;
23
+ pushCurrentBranch(force?: boolean, origin?: string): void;
24
+ readonly thereAreSomeUncommitedChange: boolean;
25
+ thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
26
+ pullCurrentBranch(askToRetry?: boolean): Promise<void>;
27
+ readonly currentBranchName: string;
28
+ getBranchesNamesBy(pattern: string | RegExp): string[];
29
+ resetHard(): void;
30
+ countComits(): number;
31
+ hasAnyCommits(): boolean;
32
+ readonly isInMergeProcess: boolean;
33
+ lastCommitDate(): Date;
34
+ lastCommitHash(): string;
35
+ lastCommitMessage(): string;
36
+ penultimageCommitHash(): string;
37
+ checkTagExists(tag: string): boolean;
38
+ lastTagHash(): string;
39
+ readonly lastTagVersionName: string;
40
+ /**
41
+ * TODO does this make any sense
42
+ */
43
+ renameOrigin(newNameOrUlr: string): void;
44
+ };
45
+ }
@@ -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
+ }
@@ -0,0 +1,11 @@
1
+ export declare class HelpersBrowaser {
2
+ private static callbacks;
3
+ static onInit(callback: (ins: HelpersBrowaser) => any): void;
4
+ get win(): Window & typeof globalThis;
5
+ private get tabIdSessionStorage();
6
+ readonly tabId: number;
7
+ private static inst;
8
+ init: void;
9
+ private constructor();
10
+ static get instance(): HelpersBrowaser;
11
+ }