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/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';