tnp-helpers 13.1.12 → 13.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) 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-environment.mjs +32 -32
  11. package/browser/esm2020/lib/helpers-numbers.mjs +7 -7
  12. package/browser/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  13. package/browser/esm2020/lib/helpers-strings.mjs +252 -252
  14. package/browser/esm2020/lib/helpers.mjs +279 -279
  15. package/browser/esm2020/lib/index.mjs +14 -14
  16. package/browser/esm2020/lib/long-press.directive.mjs +112 -112
  17. package/browser/esm2020/lib/project.mjs +429 -429
  18. package/browser/esm2020/lib/resize-service.mjs +21 -21
  19. package/browser/esm2020/public-api.mjs +1 -1
  20. package/browser/esm2020/tnp-helpers.mjs +4 -4
  21. package/browser/fesm2015/tnp-helpers.mjs +1542 -1542
  22. package/browser/fesm2020/tnp-helpers.mjs +1534 -1534
  23. package/browser/lib/base-component.d.ts +16 -16
  24. package/browser/lib/base-formly-component.d.ts +30 -30
  25. package/browser/lib/condition-wait.d.ts +7 -7
  26. package/browser/lib/constants.d.ts +5 -5
  27. package/browser/lib/dual-component-ctrl.d.ts +24 -24
  28. package/browser/lib/firedev-models.d.ts +12 -12
  29. package/browser/lib/helpers-array-obj.d.ts +14 -14
  30. package/browser/lib/helpers-environment.d.ts +4 -4
  31. package/browser/lib/helpers-numbers.d.ts +2 -2
  32. package/browser/lib/helpers-strings-regexes.d.ts +27 -27
  33. package/browser/lib/helpers-strings.d.ts +49 -49
  34. package/browser/lib/helpers.d.ts +27 -27
  35. package/browser/lib/index.d.ts +10 -10
  36. package/browser/lib/long-press.directive.d.ts +24 -24
  37. package/browser/lib/project.d.ts +94 -94
  38. package/browser/lib/resize-service.d.ts +8 -8
  39. package/browser/tnp-helpers.d.ts +4 -4
  40. package/client/README.md +24 -24
  41. package/client/esm2020/lib/base-component.mjs +49 -49
  42. package/client/esm2020/lib/base-formly-component.mjs +112 -112
  43. package/client/esm2020/lib/condition-wait.mjs +45 -45
  44. package/client/esm2020/lib/constants.mjs +7 -7
  45. package/client/esm2020/lib/dual-component-ctrl.mjs +118 -118
  46. package/client/esm2020/lib/firedev-models.mjs +3 -3
  47. package/client/esm2020/lib/helpers-array-obj.mjs +82 -82
  48. package/client/esm2020/lib/helpers-environment.mjs +32 -32
  49. package/client/esm2020/lib/helpers-numbers.mjs +7 -7
  50. package/client/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  51. package/client/esm2020/lib/helpers-strings.mjs +252 -252
  52. package/client/esm2020/lib/helpers.mjs +279 -279
  53. package/client/esm2020/lib/index.mjs +14 -14
  54. package/client/esm2020/lib/long-press.directive.mjs +112 -112
  55. package/client/esm2020/lib/project.mjs +429 -429
  56. package/client/esm2020/lib/resize-service.mjs +21 -21
  57. package/client/esm2020/public-api.mjs +1 -1
  58. package/client/esm2020/tnp-helpers.mjs +4 -4
  59. package/client/fesm2015/tnp-helpers.mjs +1542 -1542
  60. package/client/fesm2020/tnp-helpers.mjs +1534 -1534
  61. package/client/lib/base-component.d.ts +16 -16
  62. package/client/lib/base-formly-component.d.ts +30 -30
  63. package/client/lib/condition-wait.d.ts +7 -7
  64. package/client/lib/constants.d.ts +5 -5
  65. package/client/lib/dual-component-ctrl.d.ts +24 -24
  66. package/client/lib/firedev-models.d.ts +12 -12
  67. package/client/lib/helpers-array-obj.d.ts +14 -14
  68. package/client/lib/helpers-environment.d.ts +4 -4
  69. package/client/lib/helpers-numbers.d.ts +2 -2
  70. package/client/lib/helpers-strings-regexes.d.ts +27 -27
  71. package/client/lib/helpers-strings.d.ts +49 -49
  72. package/client/lib/helpers.d.ts +27 -27
  73. package/client/lib/index.d.ts +10 -10
  74. package/client/lib/long-press.directive.d.ts +24 -24
  75. package/client/lib/project.d.ts +94 -94
  76. package/client/lib/resize-service.d.ts +8 -8
  77. package/client/tnp-helpers.d.ts +4 -4
  78. package/index.d.ts +1 -1
  79. package/lib/angular.helper.d.ts +22 -22
  80. package/lib/base-component.d.ts +13 -13
  81. package/lib/base-component.js +3 -3
  82. package/lib/base-formly-component.d.ts +27 -27
  83. package/lib/base-formly-component.js +3 -3
  84. package/lib/condition-wait.d.ts +8 -8
  85. package/lib/constants.d.ts +6 -6
  86. package/lib/dual-component-ctrl.d.ts +24 -24
  87. package/lib/dual-component-ctrl.js +3 -3
  88. package/lib/firedev-models.d.ts +13 -13
  89. package/lib/git-project.d.ts +46 -46
  90. package/lib/helpers-array-obj.d.ts +15 -15
  91. package/lib/helpers-cli-tool.backend.d.ts +55 -55
  92. package/lib/helpers-dependencies.backend.d.ts +11 -11
  93. package/lib/helpers-environment.d.ts +5 -5
  94. package/lib/helpers-file-folders.backend.d.ts +83 -83
  95. package/lib/helpers-git.backend.d.ts +43 -43
  96. package/lib/helpers-json5.backend.d.ts +16 -16
  97. package/lib/helpers-morphi-framework.backend.d.ts +4 -4
  98. package/lib/helpers-network.backend.d.ts +8 -8
  99. package/lib/helpers-npm.backend.d.ts +3 -3
  100. package/lib/helpers-numbers.d.ts +3 -3
  101. package/lib/helpers-path.backend.d.ts +7 -7
  102. package/lib/helpers-process.backend.d.ts +53 -53
  103. package/lib/helpers-strings-regexes.d.ts +28 -28
  104. package/lib/helpers-strings.d.ts +50 -50
  105. package/lib/helpers-system-terminal.backend.d.ts +5 -5
  106. package/lib/helpers-vscode.backend.d.ts +5 -5
  107. package/lib/helpers.d.ts +69 -69
  108. package/lib/index.d.ts +11 -11
  109. package/lib/long-press.directive.d.ts +22 -22
  110. package/lib/merge-helpers.backend.d.ts +23 -23
  111. package/lib/project.d.ts +97 -97
  112. package/lib/resize-service.d.ts +6 -6
  113. package/lib/ts-code/index.d.ts +1 -1
  114. package/lib/ts-code/ts-code-extractor.d.ts +14 -14
  115. package/lib/ts-code/ts-code-modifier.backend.d.ts +12 -12
  116. package/package.json +2 -2
  117. package/package.json_devDependencies.json +222 -222
  118. package/package.json_tnp.json5 +44 -44
  119. package/tmp-environment.json +6 -6
  120. package/websql/README.md +24 -24
  121. package/websql/esm2020/lib/base-component.mjs +49 -49
  122. package/websql/esm2020/lib/base-formly-component.mjs +112 -112
  123. package/websql/esm2020/lib/condition-wait.mjs +45 -45
  124. package/websql/esm2020/lib/constants.mjs +7 -7
  125. package/websql/esm2020/lib/dual-component-ctrl.mjs +118 -118
  126. package/websql/esm2020/lib/firedev-models.mjs +3 -3
  127. package/websql/esm2020/lib/helpers-array-obj.mjs +82 -82
  128. package/websql/esm2020/lib/helpers-environment.mjs +32 -32
  129. package/websql/esm2020/lib/helpers-numbers.mjs +7 -7
  130. package/websql/esm2020/lib/helpers-strings-regexes.mjs +50 -50
  131. package/websql/esm2020/lib/helpers-strings.mjs +252 -252
  132. package/websql/esm2020/lib/helpers.mjs +279 -279
  133. package/websql/esm2020/lib/index.mjs +14 -14
  134. package/websql/esm2020/lib/long-press.directive.mjs +112 -112
  135. package/websql/esm2020/lib/project.mjs +429 -429
  136. package/websql/esm2020/lib/resize-service.mjs +21 -21
  137. package/websql/esm2020/public-api.mjs +1 -1
  138. package/websql/esm2020/tnp-helpers.mjs +4 -4
  139. package/websql/fesm2015/tnp-helpers.mjs +1542 -1542
  140. package/websql/fesm2020/tnp-helpers.mjs +1534 -1534
  141. package/websql/lib/base-component.d.ts +16 -16
  142. package/websql/lib/base-formly-component.d.ts +30 -30
  143. package/websql/lib/condition-wait.d.ts +7 -7
  144. package/websql/lib/constants.d.ts +5 -5
  145. package/websql/lib/dual-component-ctrl.d.ts +24 -24
  146. package/websql/lib/firedev-models.d.ts +12 -12
  147. package/websql/lib/helpers-array-obj.d.ts +14 -14
  148. package/websql/lib/helpers-environment.d.ts +4 -4
  149. package/websql/lib/helpers-numbers.d.ts +2 -2
  150. package/websql/lib/helpers-strings-regexes.d.ts +27 -27
  151. package/websql/lib/helpers-strings.d.ts +49 -49
  152. package/websql/lib/helpers.d.ts +27 -27
  153. package/websql/lib/index.d.ts +10 -10
  154. package/websql/lib/long-press.directive.d.ts +24 -24
  155. package/websql/lib/project.d.ts +94 -94
  156. package/websql/lib/resize-service.d.ts +8 -8
  157. 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.dummy1673971694742 = void 0;
4
- function dummy1673971694742() { }
5
- exports.dummy1673971694742 = dummy1673971694742;
3
+ exports.dummy1674039458757 = void 0;
4
+ function dummy1674039458757() { }
5
+ exports.dummy1674039458757 = dummy1674039458757;
6
6
  //# sourceMappingURL=base-component.js.map
@@ -1,28 +1,28 @@
1
- import { Subscription } from 'rxjs';
2
- import { FieldType } from '@ngx-formly/core';
3
- import { OnInit, AfterViewInit } from '@angular/core';
4
- import { DualComponentController } from './dual-component-ctrl';
5
- import { EventEmitter } from '@angular/core';
6
- export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
7
- protected DualComponentController: typeof DualComponentController;
8
- ctrl: T;
9
- pizda: any;
10
- get mode(): any;
11
- set mode(v: any);
12
- disabled: boolean;
13
- required: boolean;
14
- label: string;
15
- placeholder: string;
16
- defaultValue: T;
17
- set model(v: any);
18
- get model(): any;
19
- path: string;
20
- change: EventEmitter<any>;
21
- set key(value: string);
22
- get key(): string;
23
- protected handlers: Subscription[];
24
- ngOnDestroy(): void;
25
- ngAfterViewInit(): void;
26
- private __field;
27
- ngOnInit(): void;
1
+ import { Subscription } from 'rxjs';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import { OnInit, AfterViewInit } from '@angular/core';
4
+ import { DualComponentController } from './dual-component-ctrl';
5
+ import { EventEmitter } from '@angular/core';
6
+ export declare abstract class BaseFormlyComponent<T extends DualComponentController = DualComponentController> extends FieldType implements OnInit, Partial<DualComponentController<T>>, AfterViewInit {
7
+ protected DualComponentController: typeof DualComponentController;
8
+ ctrl: T;
9
+ pizda: any;
10
+ get mode(): any;
11
+ set mode(v: any);
12
+ disabled: boolean;
13
+ required: boolean;
14
+ label: string;
15
+ placeholder: string;
16
+ defaultValue: T;
17
+ set model(v: any);
18
+ get model(): any;
19
+ path: string;
20
+ change: EventEmitter<any>;
21
+ set key(value: string);
22
+ get key(): string;
23
+ protected handlers: Subscription[];
24
+ ngOnDestroy(): void;
25
+ ngAfterViewInit(): void;
26
+ private __field;
27
+ ngOnInit(): void;
28
28
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1673971694743 = void 0;
4
- function dummy1673971694743() { }
5
- exports.dummy1673971694743 = dummy1673971694743;
3
+ exports.dummy1674039458760 = void 0;
4
+ function dummy1674039458760() { }
5
+ exports.dummy1674039458760 = dummy1674039458760;
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.dummy1673971694744 = void 0;
4
- function dummy1673971694744() { }
5
- exports.dummy1673971694744 = dummy1673971694744;
3
+ exports.dummy1674039458765 = void 0;
4
+ function dummy1674039458765() { }
5
+ exports.dummy1674039458765 = dummy1674039458765;
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,46 @@
1
- import { child_process } from 'tnp-core';
2
- import { Project } from './project';
3
- import { RunOptions, ExecuteOptions } from 'tnp-core';
4
- export declare abstract class ProjectGit {
5
- runCommandGetString(this: Project, command: string): string;
6
- execute(this: Project, command: string, options?: ExecuteOptions & {
7
- showCommand?: boolean;
8
- }): Promise<unknown>;
9
- run(this: Project, command: string, options?: RunOptions): {
10
- sync(): string;
11
- async(detach?: boolean): child_process.ChildProcess;
12
- asyncAsPromise(): any;
13
- unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[]): Promise<any>;
14
- };
15
- get git(this: Project): {
16
- clone(url: string, destinationFolderName?: string): void;
17
- restoreLastVersion(localFilePath: string): void;
18
- resetFiles(...relativePathes: string[]): void;
19
- readonly isGitRepo: boolean;
20
- readonly isGitRoot: boolean;
21
- readonly originURL: string;
22
- updateOrigin(askToRetry?: boolean): Promise<void>;
23
- commit(args?: string): void;
24
- pushCurrentBranch(force?: boolean, origin?: string): void;
25
- readonly thereAreSomeUncommitedChange: boolean;
26
- thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
27
- pullCurrentBranch(askToRetry?: boolean): Promise<void>;
28
- readonly currentBranchName: string;
29
- getBranchesNamesBy(pattern: string | RegExp): string[];
30
- resetHard(): void;
31
- countComits(): number;
32
- hasAnyCommits(): boolean;
33
- readonly isInMergeProcess: boolean;
34
- lastCommitDate(): Date;
35
- lastCommitHash(): string;
36
- lastCommitMessage(): string;
37
- penultimageCommitHash(): string;
38
- checkTagExists(tag: string): boolean;
39
- lastTagHash(): string;
40
- readonly lastTagVersionName: string;
41
- /**
42
- * TODO does this make any sense
43
- */
44
- renameOrigin(newNameOrUlr: string): void;
45
- };
46
- }
1
+ import { child_process } from 'tnp-core';
2
+ import { Project } from './project';
3
+ import { RunOptions, ExecuteOptions } from 'tnp-core';
4
+ export declare abstract class ProjectGit {
5
+ runCommandGetString(this: Project, command: string): string;
6
+ execute(this: Project, command: string, options?: ExecuteOptions & {
7
+ showCommand?: boolean;
8
+ }): Promise<unknown>;
9
+ run(this: Project, command: string, options?: RunOptions): {
10
+ sync(): string;
11
+ async(detach?: boolean): child_process.ChildProcess;
12
+ asyncAsPromise(): any;
13
+ unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[]): Promise<any>;
14
+ };
15
+ get git(this: Project): {
16
+ clone(url: string, destinationFolderName?: string): void;
17
+ restoreLastVersion(localFilePath: string): void;
18
+ resetFiles(...relativePathes: string[]): void;
19
+ readonly isGitRepo: boolean;
20
+ readonly isGitRoot: boolean;
21
+ readonly originURL: string;
22
+ updateOrigin(askToRetry?: boolean): Promise<void>;
23
+ commit(args?: string): void;
24
+ pushCurrentBranch(force?: boolean, origin?: string): void;
25
+ readonly thereAreSomeUncommitedChange: boolean;
26
+ thereAreSomeUncommitedChangeExcept(filesList?: string[]): boolean;
27
+ pullCurrentBranch(askToRetry?: boolean): Promise<void>;
28
+ readonly currentBranchName: string;
29
+ getBranchesNamesBy(pattern: string | RegExp): string[];
30
+ resetHard(): void;
31
+ countComits(): number;
32
+ hasAnyCommits(): boolean;
33
+ readonly isInMergeProcess: boolean;
34
+ lastCommitDate(): Date;
35
+ lastCommitHash(): string;
36
+ lastCommitMessage(): string;
37
+ penultimageCommitHash(): string;
38
+ checkTagExists(tag: string): boolean;
39
+ lastTagHash(): string;
40
+ readonly lastTagVersionName: string;
41
+ /**
42
+ * TODO does this make any sense
43
+ */
44
+ renameOrigin(newNameOrUlr: string): void;
45
+ };
46
+ }
@@ -1,15 +1,15 @@
1
- export declare class HelpersArrayObj {
2
- from(s: string | string[]): string[];
3
- second(arr: any): any;
4
- arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
5
- arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
6
- uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
7
- sortKeys(obj: any): any;
8
- /**
9
- * Fuzzy search
10
- */
11
- fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
12
- matches: string[];
13
- results: T[];
14
- };
15
- }
1
+ export declare class HelpersArrayObj {
2
+ from(s: string | string[]): string[];
3
+ second(arr: any): any;
4
+ arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
5
+ arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
6
+ uniqArray<T = any>(array: any[], uniqueProperty?: (keyof T)): T[];
7
+ sortKeys(obj: any): any;
8
+ /**
9
+ * Fuzzy search
10
+ */
11
+ fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
12
+ matches: string[];
13
+ results: T[];
14
+ };
15
+ }