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/websql';
3
- import { Models } from 'tnp-models/websql';
4
- export declare type EmptyProjectStructure = {
5
- includeContent?: boolean;
6
- relativePath: string;
7
- relativeLinkFrom?: string;
8
- };
9
- export declare class Project<T extends Project<any> = any> {
10
- protected cache: {};
11
- /**
12
- * Do use this variable for comparatios
13
- * ONLY FOR VIEWING
14
- */
15
- readonly _type: ConfigModels.LibType;
16
- browser: Pick<Project<any>, 'location' | 'name'>;
17
- location: string;
18
- name: string;
19
- genericName: string;
20
- isWorkspace: boolean;
21
- isVscodeExtension: boolean;
22
- isDocker: boolean;
23
- isSite: boolean;
24
- isSiteInStrictMode?: boolean;
25
- isSiteInDependencyMode?: boolean;
26
- isCoreProject: boolean;
27
- isCommandLineToolOnly: boolean;
28
- isGenerated: boolean;
29
- isGeneratedForRelease: boolean;
30
- isWorkspaceChildProject: boolean;
31
- isBasedOnOtherProject: boolean;
32
- isForRecreation: boolean;
33
- isContainer: boolean;
34
- isSmartContainer: boolean;
35
- isSmartContainerChild: boolean;
36
- isContainerWithLinkedProjects: boolean;
37
- isContainerChild: boolean;
38
- isContainerCoreProject: boolean;
39
- isStandaloneProject: boolean;
40
- isMonorepo: boolean;
41
- isUnknowNpmProject: boolean;
42
- isNaviCli: boolean;
43
- useFramework: boolean;
44
- defaultPort?: number;
45
- version: string;
46
- lastNpmVersion?: string;
47
- _routerTargetHttp?: string;
48
- customizableFilesAndFolders: string[];
49
- type: ConfigModels.LibType;
50
- backupName: string;
51
- resources: string[];
52
- env: Models.env.EnvConfig;
53
- allowedEnvironments: ConfigModels.EnvironmentName[];
54
- children: T[];
55
- smartContainerBuildTarget: T;
56
- grandpa: T;
57
- distribution: T;
58
- childrenThatAreLibs?: T[];
59
- childrenThatAreClients?: T[];
60
- childrenThatAreThirdPartyInNodeModules?: T[];
61
- parent: T;
62
- preview: T;
63
- baseline: T;
64
- static projects: Project<any>[];
65
- /**
66
- * To speed up checking folder I am keeping pathes for alterdy checked folder
67
- * This may break things that are creating new projects
68
- */
69
- static emptyLocations: string[];
70
- static typeFrom(location: string): ConfigModels.LibType;
71
- static unload(project: Project): void;
72
- static From<T = Project<any>>(locationOfProj: string | string[]): T;
73
- static nearestTo<T = Project>(absoluteLocation: string, options?: {
74
- type?: ConfigModels.LibType;
75
- findGitRoot?: boolean;
76
- onlyOutSideNodeModules?: boolean;
77
- }): T;
78
- static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
79
- static DefaultPortByType(type: ConfigModels.LibType): number;
80
- static get isBundleMode(): boolean;
81
- static get Current(): Project<any>;
82
- /**
83
- * @deprecated
84
- */
85
- static get Tnp(): Project<any>;
86
- static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
87
- defineProperty<T>(variableName: keyof T, classFn: Function): any;
88
- setType(this: Project, type: ConfigModels.LibType): void;
89
- typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
90
- typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
91
- forEmptyStructure(): EmptyProjectStructure[];
92
- }
93
- export declare type ProjectBuild = {
94
- project: Project;
95
- appBuild: boolean;
2
+ import { ConfigModels } from 'tnp-config/websql';
3
+ import { Models } from 'tnp-models/websql';
4
+ export declare type EmptyProjectStructure = {
5
+ includeContent?: boolean;
6
+ relativePath: string;
7
+ relativeLinkFrom?: string;
8
+ };
9
+ export declare class Project<T extends Project<any> = any> {
10
+ protected cache: {};
11
+ /**
12
+ * Do use this variable for comparatios
13
+ * ONLY FOR VIEWING
14
+ */
15
+ readonly _type: ConfigModels.LibType;
16
+ browser: Pick<Project<any>, 'location' | 'name'>;
17
+ location: string;
18
+ name: string;
19
+ genericName: string;
20
+ isWorkspace: boolean;
21
+ isVscodeExtension: boolean;
22
+ isDocker: boolean;
23
+ isSite: boolean;
24
+ isSiteInStrictMode?: boolean;
25
+ isSiteInDependencyMode?: boolean;
26
+ isCoreProject: boolean;
27
+ isCommandLineToolOnly: boolean;
28
+ isGenerated: boolean;
29
+ isGeneratedForRelease: boolean;
30
+ isWorkspaceChildProject: boolean;
31
+ isBasedOnOtherProject: boolean;
32
+ isForRecreation: boolean;
33
+ isContainer: boolean;
34
+ isSmartContainer: boolean;
35
+ isSmartContainerChild: boolean;
36
+ isContainerWithLinkedProjects: boolean;
37
+ isContainerChild: boolean;
38
+ isContainerCoreProject: boolean;
39
+ isStandaloneProject: boolean;
40
+ isMonorepo: boolean;
41
+ isUnknowNpmProject: boolean;
42
+ isNaviCli: boolean;
43
+ useFramework: boolean;
44
+ defaultPort?: number;
45
+ version: string;
46
+ lastNpmVersion?: string;
47
+ _routerTargetHttp?: string;
48
+ customizableFilesAndFolders: string[];
49
+ type: ConfigModels.LibType;
50
+ backupName: string;
51
+ resources: string[];
52
+ env: Models.env.EnvConfig;
53
+ allowedEnvironments: ConfigModels.EnvironmentName[];
54
+ children: T[];
55
+ smartContainerBuildTarget: T;
56
+ grandpa: T;
57
+ distribution: T;
58
+ childrenThatAreLibs?: T[];
59
+ childrenThatAreClients?: T[];
60
+ childrenThatAreThirdPartyInNodeModules?: T[];
61
+ parent: T;
62
+ preview: T;
63
+ baseline: T;
64
+ static projects: Project<any>[];
65
+ /**
66
+ * To speed up checking folder I am keeping pathes for alterdy checked folder
67
+ * This may break things that are creating new projects
68
+ */
69
+ static emptyLocations: string[];
70
+ static typeFrom(location: string): ConfigModels.LibType;
71
+ static unload(project: Project): void;
72
+ static From<T = Project<any>>(locationOfProj: string | string[]): T;
73
+ static nearestTo<T = Project>(absoluteLocation: string, options?: {
74
+ type?: ConfigModels.LibType;
75
+ findGitRoot?: boolean;
76
+ onlyOutSideNodeModules?: boolean;
77
+ }): T;
78
+ static allProjectFrom<T = Project>(absoluteLocation: string, stopOnCwd?: string): any;
79
+ static DefaultPortByType(type: ConfigModels.LibType): number;
80
+ static get isBundleMode(): boolean;
81
+ static get Current(): Project<any>;
82
+ /**
83
+ * @deprecated
84
+ */
85
+ static get Tnp(): Project<any>;
86
+ static by<T = Project>(libraryType: ConfigModels.NewFactoryType, version: ConfigModels.FrameworkVersion): T;
87
+ defineProperty<T>(variableName: keyof T, classFn: Function): any;
88
+ setType(this: Project, type: ConfigModels.LibType): void;
89
+ typeIs(this: Project, ...types: ConfigModels.LibType[]): boolean;
90
+ typeIsNot(this: Project, ...types: ConfigModels.LibType[]): boolean;
91
+ forEmptyStructure(): EmptyProjectStructure[];
92
+ }
93
+ export declare type ProjectBuild = {
94
+ project: Project;
95
+ appBuild: boolean;
96
96
  };
@@ -1,10 +1,10 @@
1
1
  // @ts-nocheck
2
- import * as i0 from "@angular/core";
3
- export declare class ResizeService {
4
- private resizeDetector;
5
- constructor();
6
- addResizeEventListener(element: HTMLElement, handler: Function): void;
7
- removeResizeEventListener(element: HTMLElement): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
2
+ import * as i0 from "@angular/core";
3
+ export declare class ResizeService {
4
+ private resizeDetector;
5
+ constructor();
6
+ addResizeEventListener(element: HTMLElement, handler: Function): void;
7
+ removeResizeEventListener(element: HTMLElement): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
10
10
  }
@@ -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';