static-columns 2.0.5 → 2.0.16

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 (136) hide show
  1. package/browser/README.md +24 -0
  2. package/browser/column/column-grow.directive.d.ts +6 -0
  3. package/browser/column/column.component.d.ts +6 -0
  4. package/browser/column/column.component.ngfactory.d.ts +1 -0
  5. package/browser/column/column.component.scss.shim.ngstyle.d.ts +1 -0
  6. package/browser/column/index.d.ts +2 -0
  7. package/browser/columns.component.d.ts +7 -0
  8. package/browser/columns.component.ngfactory.d.ts +1 -0
  9. package/browser/columns.component.scss.shim.ngstyle.d.ts +1 -0
  10. package/browser/columns.module.d.ts +2 -0
  11. package/browser/columns.module.ngfactory.d.ts +3 -0
  12. package/browser/esm2015/column/column-grow.directive.js +26 -0
  13. package/browser/esm2015/column/column-grow.directive.ngsummary.json +1 -0
  14. package/browser/esm2015/column/column.component.js +19 -0
  15. package/browser/esm2015/column/column.component.ngfactory.js +17 -0
  16. package/browser/esm2015/column/column.component.ngsummary.json +1 -0
  17. package/browser/esm2015/column/column.component.scss.shim.ngstyle.js +9 -0
  18. package/browser/esm2015/column/index.js +3 -0
  19. package/browser/esm2015/column/index.ngsummary.json +1 -0
  20. package/browser/esm2015/columns.component.js +22 -0
  21. package/browser/esm2015/columns.component.ngfactory.js +17 -0
  22. package/browser/esm2015/columns.component.ngsummary.json +1 -0
  23. package/browser/esm2015/columns.component.scss.shim.ngstyle.js +9 -0
  24. package/browser/esm2015/columns.module.js +14 -0
  25. package/browser/esm2015/columns.module.ngfactory.js +11 -0
  26. package/browser/esm2015/columns.module.ngsummary.json +1 -0
  27. package/browser/esm2015/lib.module.js +6 -0
  28. package/browser/esm2015/lib.module.ngsummary.json +1 -0
  29. package/browser/esm2015/public-api.js +2 -0
  30. package/browser/esm2015/public-api.ngsummary.json +1 -0
  31. package/browser/esm2015/static-columns.js +6 -0
  32. package/browser/esm2015/static-columns.ngsummary.json +1 -0
  33. package/browser/esm5/column/column-grow.directive.js +28 -0
  34. package/browser/esm5/column/column.component.js +21 -0
  35. package/browser/esm5/column/index.js +3 -0
  36. package/browser/esm5/columns.component.js +24 -0
  37. package/browser/esm5/columns.module.js +18 -0
  38. package/browser/esm5/lib.module.js +6 -0
  39. package/browser/esm5/public-api.js +2 -0
  40. package/browser/esm5/static-columns.js +6 -0
  41. package/browser/lib.module.d.ts +5 -0
  42. package/browser/package.json +9 -2
  43. package/browser/public-api.d.ts +1 -0
  44. package/browser/static-columns.d.ts +5 -0
  45. package/browser/static-columns.metadata.json +1 -0
  46. package/client/README.md +24 -0
  47. package/client/column/column-grow.directive.d.ts +6 -0
  48. package/client/column/column.component.d.ts +6 -0
  49. package/client/column/column.component.ngfactory.d.ts +1 -0
  50. package/client/column/column.component.scss.shim.ngstyle.d.ts +1 -0
  51. package/client/column/index.d.ts +2 -0
  52. package/client/columns.component.d.ts +7 -0
  53. package/client/columns.component.ngfactory.d.ts +1 -0
  54. package/client/columns.component.scss.shim.ngstyle.d.ts +1 -0
  55. package/client/columns.module.d.ts +2 -0
  56. package/client/columns.module.ngfactory.d.ts +3 -0
  57. package/client/esm2015/column/column-grow.directive.js +26 -0
  58. package/client/esm2015/column/column-grow.directive.ngsummary.json +1 -0
  59. package/client/esm2015/column/column.component.js +19 -0
  60. package/client/esm2015/column/column.component.ngfactory.js +17 -0
  61. package/client/esm2015/column/column.component.ngsummary.json +1 -0
  62. package/client/esm2015/column/column.component.scss.shim.ngstyle.js +9 -0
  63. package/client/esm2015/column/index.js +3 -0
  64. package/client/esm2015/column/index.ngsummary.json +1 -0
  65. package/client/esm2015/columns.component.js +22 -0
  66. package/client/esm2015/columns.component.ngfactory.js +17 -0
  67. package/client/esm2015/columns.component.ngsummary.json +1 -0
  68. package/client/esm2015/columns.component.scss.shim.ngstyle.js +9 -0
  69. package/client/esm2015/columns.module.js +14 -0
  70. package/client/esm2015/columns.module.ngfactory.js +11 -0
  71. package/client/esm2015/columns.module.ngsummary.json +1 -0
  72. package/client/esm2015/lib.module.js +6 -0
  73. package/client/esm2015/lib.module.ngsummary.json +1 -0
  74. package/client/esm2015/public-api.js +2 -0
  75. package/client/esm2015/public-api.ngsummary.json +1 -0
  76. package/client/esm2015/static-columns.js +6 -0
  77. package/client/esm2015/static-columns.ngsummary.json +1 -0
  78. package/client/esm5/column/column-grow.directive.js +28 -0
  79. package/client/esm5/column/column.component.js +21 -0
  80. package/client/esm5/column/index.js +3 -0
  81. package/client/esm5/columns.component.js +24 -0
  82. package/client/esm5/columns.module.js +18 -0
  83. package/client/esm5/lib.module.js +6 -0
  84. package/client/esm5/public-api.js +2 -0
  85. package/client/esm5/static-columns.js +6 -0
  86. package/client/lib.module.d.ts +5 -0
  87. package/client/package.json +9 -2
  88. package/client/public-api.d.ts +1 -0
  89. package/client/static-columns.d.ts +5 -0
  90. package/client/static-columns.metadata.json +1 -0
  91. package/column/column-grow.directive.d.ts +6 -0
  92. package/column/column-grow.directive.js +25 -0
  93. package/column/column-grow.directive.js.map +1 -0
  94. package/column/column.component.d.ts +6 -0
  95. package/column/column.component.js +28 -0
  96. package/column/column.component.js.map +1 -0
  97. package/column/column.component.ngfactory.d.ts +1 -0
  98. package/column/column.component.scss.shim.ngstyle.d.ts +1 -0
  99. package/column/index.d.ts +2 -0
  100. package/column/index.js +6 -0
  101. package/column/index.js.map +1 -0
  102. package/columns.component.d.ts +7 -0
  103. package/columns.component.js +29 -0
  104. package/columns.component.js.map +1 -0
  105. package/columns.component.ngfactory.d.ts +1 -0
  106. package/columns.component.scss.shim.ngstyle.d.ts +1 -0
  107. package/columns.module.d.ts +2 -0
  108. package/columns.module.js +22 -0
  109. package/columns.module.js.map +1 -0
  110. package/columns.module.ngfactory.d.ts +3 -0
  111. package/index.js +1 -5
  112. package/index.js.map +1 -1
  113. package/lib.module.d.ts +5 -0
  114. package/lib.module.js +9 -0
  115. package/lib.module.js.map +1 -0
  116. package/package.json +2 -2
  117. package/package.json_devDependencies.json +57 -57
  118. package/package.json_tnp.json +2 -1
  119. package/public-api.d.ts +1 -0
  120. package/public-api.js +1 -2
  121. package/public-api.js.map +1 -1
  122. package/static-columns.d.ts +5 -0
  123. package/backend-logging.js +0 -20
  124. package/backend-logging.js.map +0 -1
  125. package/client.js +0 -5
  126. package/client.js.map +0 -1
  127. package/display.js +0 -82
  128. package/display.js.map +0 -1
  129. package/helpers.js +0 -6
  130. package/helpers.js.map +0 -1
  131. package/level.js +0 -26
  132. package/level.js.map +0 -1
  133. package/log.js +0 -167
  134. package/log.js.map +0 -1
  135. package/logger.js +0 -228
  136. package/logger.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StaticColumnsModule = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var core_1 = require("@angular/core");
6
+ var column_1 = require("./column");
7
+ var columns_component_1 = require("./columns.component");
8
+ var StaticColumnsModule = /** @class */ (function () {
9
+ function StaticColumnsModule() {
10
+ }
11
+ StaticColumnsModule = tslib_1.__decorate([
12
+ core_1.NgModule({
13
+ imports: [],
14
+ exports: [columns_component_1.ColumnsComponent, column_1.ColumnComponent, column_1.DirectiveGrow],
15
+ declarations: [columns_component_1.ColumnsComponent, column_1.ColumnComponent, column_1.DirectiveGrow],
16
+ providers: [],
17
+ })
18
+ ], StaticColumnsModule);
19
+ return StaticColumnsModule;
20
+ }());
21
+ exports.StaticColumnsModule = StaticColumnsModule;
22
+ //# sourceMappingURL=columns.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columns.module.js","sourceRoot":"","sources":["../components/columns.module.ts"],"names":[],"mappings":";;;;AAAA,sCAAyC;AAEzC,mCAA0D;AAC1D,yDAAuD;AAQvD;IAAA;IAAmC,CAAC;IAAvB,mBAAmB;QAN/B,eAAQ,CAAC;YACN,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,CAAC,oCAAgB,EAAE,wBAAe,EAAE,sBAAa,CAAC;YAC3D,YAAY,EAAE,CAAC,oCAAgB,EAAE,wBAAe,EAAE,sBAAa,CAAC;YAChE,SAAS,EAAE,EAAE;SAChB,CAAC;OACW,mBAAmB,CAAI;IAAD,0BAAC;CAAA,AAApC,IAAoC;AAAvB,kDAAmB"}
@@ -0,0 +1,3 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from './columns.module';
3
+ export declare const StaticColumnsModuleNgFactory: i0.NgModuleFactory<i1.StaticColumnsModule>;
package/index.js CHANGED
@@ -1,9 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./log"), exports);
5
- tslib_1.__exportStar(require("./level"), exports);
6
- tslib_1.__exportStar(require("./helpers"), exports);
7
- tslib_1.__exportStar(require("./logger"), exports);
8
- tslib_1.__exportStar(require("./display"), exports);
4
+ tslib_1.__exportStar(require("./public-api"), exports);
9
5
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../components/index.ts"],"names":[],"mappings":";;;AAEA,gDAAsB;AACtB,kDAAwB;AACxB,oDAA0B;AAC1B,mDAAyB;AACzB,oDAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../components/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B"}
@@ -0,0 +1,5 @@
1
+ export * from './column';
2
+ export * from './columns.component';
3
+ export * from './column/column-grow.directive';
4
+ export * from './column/column.component';
5
+ export * from './columns.module';
package/lib.module.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./column"), exports);
5
+ tslib_1.__exportStar(require("./columns.component"), exports);
6
+ tslib_1.__exportStar(require("./column/column-grow.directive"), exports);
7
+ tslib_1.__exportStar(require("./column/column.component"), exports);
8
+ tslib_1.__exportStar(require("./columns.module"), exports);
9
+ //# sourceMappingURL=lib.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.module.js","sourceRoot":"","sources":["../components/lib.module.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,8DAAoC;AACpC,yEAA+C;AAC/C,oEAA0C;AAC1C,2DAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "static-columns",
3
- "version": "2.0.5",
3
+ "version": "2.0.16",
4
4
  "description": "Static columns with flexbox for Agnular2",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "homepage": "https://github.com/darekf77/static-columns#readme",
25
25
  "dependencies": {},
26
26
  "private": false,
27
- "lastBuildTagHash": "773c035367ff7bf140324f58a284b0ae9b5cff88",
27
+ "lastBuildTagHash": "5baef39a2975b6cdc081a766bd441e6776fb76df",
28
28
  "peerDependencies": {},
29
29
  "main": "esm2015/static-columns.js"
30
30
  }
@@ -1,31 +1,31 @@
1
1
  {
2
- "@angular-devkit/build-angular": "12.2.8",
3
- "@angular-devkit/build-optimizer": "0.1202.8",
4
- "@angular-devkit/schematics": "12.2.8",
5
- "@angular/animations": "12.2.8",
6
- "@angular/cdk": "12.2.8",
7
- "@angular/cli": "12.2.8",
8
- "@angular/common": "12.2.8",
9
- "@angular/compiler": "12.2.8",
10
- "@angular/compiler-cli": "12.2.8",
11
- "@angular/core": "12.2.8",
12
- "@angular/flex-layout": "12.0.0-beta.35",
13
- "@angular/forms": "12.2.8",
14
- "@angular/language-service": "12.2.8",
15
- "@angular/material": "12.2.8",
16
- "@angular/platform-browser": "12.2.8",
17
- "@angular/platform-browser-dynamic": "12.2.8",
18
- "@angular/pwa": "12.2.8",
19
- "@angular/router": "12.2.8",
20
- "@angular/service-worker": "12.2.8",
2
+ "@angular-devkit/build-angular": "~12.2.8",
3
+ "@angular-devkit/build-optimizer": "~0.1202.8",
4
+ "@angular-devkit/schematics": "~12.2.8",
5
+ "@angular/animations": "~12.2.8",
6
+ "@angular/cdk": "~12.2.8",
7
+ "@angular/cli": "~12.2.8",
8
+ "@angular/common": "~12.2.8",
9
+ "@angular/compiler": "~12.2.8",
10
+ "@angular/compiler-cli": "~12.2.8",
11
+ "@angular/core": "~12.2.8",
12
+ "@angular/flex-layout": "~12.0.0-beta.35",
13
+ "@angular/forms": "~12.2.8",
14
+ "@angular/language-service": "~12.2.8",
15
+ "@angular/material": "~12.2.8",
16
+ "@angular/platform-browser": "~12.2.8",
17
+ "@angular/platform-browser-dynamic": "~12.2.8",
18
+ "@angular/pwa": "~12.2.8",
19
+ "@angular/router": "~12.2.8",
20
+ "@angular/service-worker": "~12.2.8",
21
21
  "@mdi/js": "5.8.55",
22
22
  "@ngneat/transloco": "2.22.0",
23
- "@ngrx/effects": "12.4.0",
24
- "@ngrx/entity": "12.4.0",
25
- "@ngrx/router-store": "12.4.0",
26
- "@ngrx/schematics": "12.4.0",
27
- "@ngrx/store": "12.4.0",
28
- "@ngrx/store-devtools": "12.4.0",
23
+ "@ngrx/effects": "~12.4.0",
24
+ "@ngrx/entity": "~12.4.0",
25
+ "@ngrx/router-store": "~12.4.0",
26
+ "@ngrx/schematics": "~12.4.0",
27
+ "@ngrx/store": "~12.4.0",
28
+ "@ngrx/store-devtools": "~12.4.0",
29
29
  "@ngx-formly/bootstrap": "5.5.6",
30
30
  "@ngx-formly/core": "5.5.6",
31
31
  "@ngx-formly/ionic": "5.5.6",
@@ -70,13 +70,13 @@
70
70
  "axios": "0.17.1",
71
71
  "babel-cli": "6.26.0",
72
72
  "babel-preset-env": "1.7.0",
73
- "background-worker-process": "~0.0.32",
73
+ "background-worker-process": "~0.0.35",
74
74
  "bcryptjs": "2.4.3",
75
75
  "body-parser": "1.18.2",
76
76
  "bootstrap": "4.3.1",
77
- "bs4-breakpoint": "~2.0.36",
77
+ "bs4-breakpoint": "~2.0.40",
78
78
  "buffer-shims": "1.0.0",
79
- "button-dropdown": "~1.0.41",
79
+ "button-dropdown": "~1.0.45",
80
80
  "callsite-record": "4.1.3",
81
81
  "chai": "4.2.0",
82
82
  "chalk": "2.3.2",
@@ -122,7 +122,7 @@
122
122
  "http-proxy": "1.16.2",
123
123
  "http-proxy-middleware": "0.19.1",
124
124
  "http-server": "0.11.1",
125
- "incremental-compiler": "~1.1.49",
125
+ "incremental-compiler": "~1.1.53",
126
126
  "inquirer": "7.3.3",
127
127
  "inquirer-autocomplete-prompt": "1.3.0",
128
128
  "is-elevated": "3.0.0",
@@ -134,7 +134,7 @@
134
134
  "jest-junit": "12.2.0",
135
135
  "jest-preset-angular": "9.0.7",
136
136
  "json-stringify-safe": "5.0.1",
137
- "json10": "~1.0.30",
137
+ "json10": "~1.0.34",
138
138
  "json5": "2.1.3",
139
139
  "json5-writer": "0.2.0",
140
140
  "karma": "6.1.0",
@@ -147,24 +147,24 @@
147
147
  "lnk": "1.0.1",
148
148
  "lockfile": "1.0.4",
149
149
  "lodash": "4.17.4",
150
- "lodash-walk-object": "~1.0.31",
150
+ "lodash-walk-object": "~1.0.35",
151
151
  "lowdb": "1.0.0",
152
- "magic-renamer": "~0.0.16",
152
+ "magic-renamer": "~0.0.20",
153
153
  "material-design-icons": "3.0.1",
154
154
  "method-override": "2.3.10",
155
155
  "minimist": "1.2.0",
156
156
  "mkdirp": "0.5.1",
157
157
  "mocha": "5.2.0",
158
158
  "moment": "2.22.2",
159
- "morphi": "~4.0.50",
159
+ "morphi": "~4.0.54",
160
160
  "ng-modal-lib": "0.0.6",
161
161
  "ng-packagr": "5.7.1",
162
- "ng-talkback": "~2.4.21",
162
+ "ng-talkback": "~2.4.25",
163
163
  "ng2-file-upload": "1.3.0",
164
- "ng2-logger": "~8.0.16",
165
- "ng2-rest": "~11.0.38",
166
- "ng4-icons": "~0.0.26",
167
- "ng4-modal": "~0.0.27",
164
+ "ng2-logger": "~8.0.20",
165
+ "ng2-rest": "~11.0.42",
166
+ "ng4-icons": "~0.0.30",
167
+ "ng4-modal": "~0.0.30",
168
168
  "ngx-bootstrap": "5.2.0",
169
169
  "ngx-breadcrumbs": "0.0.3",
170
170
  "ngx-editor": "4.1.0",
@@ -174,7 +174,7 @@
174
174
  "ngx-toastr": "11.2.1",
175
175
  "ngx-wig": "8.0.0",
176
176
  "node-cli-test": "0.0.2",
177
- "node-cli-tester": "~0.0.19",
177
+ "node-cli-tester": "~0.0.22",
178
178
  "node-localstorage": "2.1.6",
179
179
  "node-notifier": "6.0.0",
180
180
  "nodemon": "1.14.11",
@@ -195,43 +195,43 @@
195
195
  "ps-node": "0.1.6",
196
196
  "q": "1.5.1",
197
197
  "randomcolor": "0.5.3",
198
- "record-replay-req-res-scenario": "~0.0.23",
198
+ "record-replay-req-res-scenario": "~0.0.26",
199
199
  "reflect-metadata": "0.1.10",
200
200
  "rimraf": "2.6.2",
201
- "rxjs": "6.6.0",
202
- "rxjs-compat": "6.5.3",
201
+ "rxjs": "~6.6.0",
202
+ "rxjs-compat": "~6.5.3",
203
203
  "simple-git": "1.96.0",
204
204
  "sloc": "0.2.0",
205
205
  "socket.io": "2.4.1",
206
206
  "sort-package-json": "1.11.0",
207
- "static-columns": "~2.0.4",
207
+ "static-columns": "~2.0.13",
208
208
  "string-similarity": "4.0.2",
209
209
  "sudo-block": "3.0.0",
210
210
  "systeminformation": "3.45.7",
211
211
  "task.js": "0.1.5",
212
- "tnp-cli": "~2.0.14",
213
- "tnp-config": "~1.0.16",
214
- "tnp-core": "~1.0.29",
215
- "tnp-db": "~0.0.34",
216
- "tnp-helpers": "~0.0.63",
217
- "tnp-models": "~0.0.33",
218
- "tnp-tools": "~0.0.43",
219
- "tnp-ui": "~0.0.30",
212
+ "tnp-cli": "~2.0.20",
213
+ "tnp-config": "~1.0.20",
214
+ "tnp-core": "~1.0.34",
215
+ "tnp-db": "~0.0.44",
216
+ "tnp-helpers": "~0.0.73",
217
+ "tnp-models": "~0.0.37",
218
+ "tnp-tools": "~0.0.46",
219
+ "tnp-ui": "~0.0.33",
220
220
  "ts-loader": "7.0.4",
221
221
  "ts-node": "8.3.0",
222
222
  "tsickle": "0.26.0",
223
- "tslib": "2.3.0",
223
+ "tslib": "~2.3.0",
224
224
  "tslint": "6.1.0",
225
225
  "typeorm": "~0.2.7",
226
- "typescript": "4.3.5",
227
- "typescript-class-helpers": "~1.0.38",
228
- "typescript-formatter": "7.2.2",
226
+ "typescript": "~4.3.5",
227
+ "typescript-class-helpers": "~1.0.42",
228
+ "typescript-formatter": "~7.2.2",
229
229
  "uglifyjs-webpack-plugin": "2.2.0",
230
230
  "underscore": "1.9.1",
231
231
  "uuid": "8.3.2",
232
232
  "validator": "9.2.0",
233
- "vpn-split": "~0.0.15",
233
+ "vpn-split": "~0.0.18",
234
234
  "watch": "1.0.2",
235
235
  "webpack-cli": "3.3.11",
236
- "zone.js": "0.11.3"
236
+ "zone.js": "~0.11.3"
237
237
  }
@@ -35,5 +35,6 @@
35
35
  "columns",
36
36
  "flexbox",
37
37
  "columns"
38
- ]
38
+ ],
39
+ "workerPlugins": {}
39
40
  }
@@ -0,0 +1 @@
1
+ export * from './lib.module';
package/public-api.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./log"), exports);
5
- tslib_1.__exportStar(require("./logger"), exports);
4
+ tslib_1.__exportStar(require("./lib.module"), exports);
6
5
  //# sourceMappingURL=public-api.js.map
package/public-api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../components/public-api.ts"],"names":[],"mappings":";;;AAEA,gDAAsB;AACtB,mDAAyB"}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../components/public-api.ts"],"names":[],"mappings":";;;AAAA,uDAA6B"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ export { ColumnComponent as ɵa, DirectiveGrow as ɵb } from './column';
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.istartedInVscode = exports.displayParams = exports.consoleLog = void 0;
4
- function consoleLog(data, level) {
5
- }
6
- exports.consoleLog = consoleLog;
7
- function displayParams(params, level) {
8
- if (params === void 0) { params = []; }
9
- }
10
- exports.displayParams = displayParams;
11
- function replace(out, match, char, color) {
12
- }
13
- function handleObjectData(param, level) {
14
- }
15
- function istartedInVscode() {
16
- }
17
- exports.istartedInVscode = istartedInVscode;
18
- function isObjectAfterStringify(s) {
19
- }
20
- //# sourceMappingURL=backend-logging.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backend-logging.js","sourceRoot":"","sources":["../components/backend-logging.ts"],"names":[],"mappings":";;;AAOA,SAAgB,UAAU,CAAC,IAAI,EAAE,KAAY;AAE7C,CAAC;AAFD,gCAEC;AAGD,SAAgB,aAAa,CAAC,MAAkB,EAAE,KAAY;IAAhC,uBAAA,EAAA,WAAkB;AAEhD,CAAC;AAFD,sCAEC;AAED,SAAS,OAAO,CAAC,GAAW,EAAE,KAAa,EAAE,IAAY,EAAE,KAAK;AAEhE,CAAC;AAGD,SAAS,gBAAgB,CAAC,KAAK,EAAE,KAAY;AAE7C,CAAC;AAGD,SAAgB,gBAAgB;AAEhC,CAAC;AAFD,4CAEC;AAED,SAAS,sBAAsB,CAAC,CAAS;AAEzC,CAAC"}
package/client.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- /* File empty for purpose */ tslib_1.__exportStar(require("./index"), exports);
5
- //# sourceMappingURL=client.js.map
package/client.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../components/client.ts"],"names":[],"mappings":";;;AAEA,4BAA4B,CAAC,kDAAwB"}
package/display.js DELETED
@@ -1,82 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Display = void 0;
4
- var level_1 = require("./level");
5
- var tnp_core_1 = require("tnp-core");
6
- var Display = /** @class */ (function () {
7
- function Display() {
8
- }
9
- Display.msg = function (message, params, moduleName, moduleColor, level, moduleWidth, isProductionMode) {
10
- if (isProductionMode) {
11
- return;
12
- }
13
- ;
14
- var color = 'gray';
15
- if (level === level_1.Level.INFO) {
16
- color = 'deepskyblue';
17
- }
18
- if (level === level_1.Level.ERROR) {
19
- color = 'red';
20
- }
21
- if (level === level_1.Level.WARN) {
22
- color = 'orange';
23
- }
24
- if (moduleWidth) {
25
- var diff = moduleWidth - moduleName.length;
26
- if (diff > 0) {
27
- for (var i = 0; i < diff; i++) {
28
- moduleName += ' ';
29
- }
30
- }
31
- }
32
- if (tnp_core_1.Helpers.isBrowser) {
33
- var isEdgeOrIe8orAbove = (document['documentMode'] || /Edge/.test(navigator.userAgent));
34
- if (isEdgeOrIe8orAbove) {
35
- if (typeof message === 'string') {
36
- var a1 = '[[ ' + moduleName + ' ]] ' + message + ' ';
37
- params.unshift(a1);
38
- }
39
- else {
40
- var a1 = '[[ ' + moduleName + ']] ';
41
- params.push(message);
42
- params.unshift(a1);
43
- }
44
- if (level === level_1.Level.INFO) {
45
- console.info.apply(console, params);
46
- }
47
- else if (level === level_1.Level.ERROR) {
48
- console.error.apply(console, params);
49
- }
50
- else if (level === level_1.Level.WARN) {
51
- console.warn.apply(console, params);
52
- }
53
- else {
54
- console.log.apply(console, params);
55
- }
56
- }
57
- else {
58
- if (typeof message === 'string') {
59
- var a1 = '%c ' + moduleName + ' %c ' + message + ' ';
60
- var a2 = 'background: ' + moduleColor + ';color:white; border: 1px solid ' + moduleColor + '; ';
61
- var a3 = 'border: 1px solid ' + color + '; ';
62
- params.unshift(a3);
63
- params.unshift(a2);
64
- params.unshift(a1);
65
- }
66
- else {
67
- var a1 = '%c ' + moduleName + ' ';
68
- var a2 = 'background: ' + moduleColor + ';color:white; border: 1px solid ' + color + '; ';
69
- params.push(message);
70
- params.unshift(a2);
71
- params.unshift(a1);
72
- }
73
- console.log.apply(console, params);
74
- }
75
- }
76
- if (tnp_core_1.Helpers.isNode) {
77
- }
78
- };
79
- return Display;
80
- }());
81
- exports.Display = Display;
82
- //# sourceMappingURL=display.js.map
package/display.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"display.js","sourceRoot":"","sources":["../components/display.ts"],"names":[],"mappings":"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"}
package/helpers.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Helpers = void 0;
4
- var tnp_config_1 = require("tnp-config");
5
- Object.defineProperty(exports, "Helpers", { enumerable: true, get: function () { return tnp_config_1.Helpers; } });
6
- //# sourceMappingURL=helpers.js.map
package/helpers.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../components/helpers.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAA5B,qGAAA,OAAO,OAAA"}
package/level.js DELETED
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var _a;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.LevelOrder = exports.LevelKey = exports.Level = void 0;
5
- var Level;
6
- (function (Level) {
7
- Level[Level["DATA"] = 0] = "DATA";
8
- Level[Level["INFO"] = 1] = "INFO";
9
- Level[Level["WARN"] = 2] = "WARN";
10
- Level[Level["ERROR"] = 3] = "ERROR";
11
- Level[Level["__NOTHING"] = 4] = "__NOTHING";
12
- })(Level = exports.Level || (exports.Level = {}));
13
- exports.LevelKey = (_a = {},
14
- _a[Level.DATA] = 'log',
15
- _a[Level.INFO] = 'info',
16
- _a[Level.WARN] = 'warn',
17
- _a[Level.ERROR] = 'error',
18
- _a[Level.__NOTHING] = '',
19
- _a);
20
- exports.LevelOrder = [
21
- exports.LevelKey[Level.DATA],
22
- exports.LevelKey[Level.INFO],
23
- exports.LevelKey[Level.WARN],
24
- exports.LevelKey[Level.ERROR],
25
- ];
26
- //# sourceMappingURL=level.js.map
package/level.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"level.js","sourceRoot":"","sources":["../components/level.ts"],"names":[],"mappings":";;;;AAEA,IAAY,KAMX;AAND,WAAY,KAAK;IACb,iCAAI,CAAA;IACJ,iCAAI,CAAA;IACJ,iCAAI,CAAA;IACJ,mCAAK,CAAA;IACL,2CAAS,CAAA;AACb,CAAC,EANW,KAAK,GAAL,aAAK,KAAL,aAAK,QAMhB;AAEY,QAAA,QAAQ;IACnB,GAAC,KAAK,CAAC,IAAI,IAAI,KAAK;IACpB,GAAC,KAAK,CAAC,IAAI,IAAI,MAAM;IACrB,GAAC,KAAK,CAAC,IAAI,IAAI,MAAM;IACrB,GAAC,KAAK,CAAC,KAAK,IAAI,OAAO;IACvB,GAAC,KAAK,CAAC,SAAS,IAAI,EAAE;QACvB;AAEY,QAAA,UAAU,GAAG;IACxB,gBAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;IACpB,gBAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;IACpB,gBAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;IACpB,gBAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;CACtB,CAAC"}
package/log.js DELETED
@@ -1,167 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Log = void 0;
4
- var tslib_1 = require("tslib");
5
- var logger_1 = require("./logger");
6
- var level_1 = require("./level");
7
- var tnp_core_1 = require("tnp-core");
8
- var Log = /** @class */ (function () {
9
- //#region singleton
10
- function Log() {
11
- this._logOnly = false;
12
- this._logModules = false;
13
- this.isDevelopmentMode = true;
14
- this.modeIsSet = false;
15
- this.fixedWidth = 0;
16
- this.instances = {};
17
- this.levels = [];
18
- this.modules = [];
19
- }
20
- Object.defineProperty(Log, "instance", {
21
- // @ts-ignore
22
- get: function () {
23
- if (!Log['_instance']) {
24
- Log['_instance'] = new Log();
25
- }
26
- return Log['_instance'];
27
- },
28
- enumerable: false,
29
- configurable: true
30
- });
31
- Log.create = function (name) {
32
- var _a;
33
- var level = [];
34
- for (var _i = 1; _i < arguments.length; _i++) {
35
- level[_i - 1] = arguments[_i];
36
- }
37
- return (_a = Log.instance).create.apply(_a, tslib_1.__spreadArrays([name], level));
38
- };
39
- Log.disableLogs = function (level) {
40
- var _this = this;
41
- if (level === void 0) { level = level_1.Level.__NOTHING; }
42
- level_1.LevelOrder.reverse().find(function (a) {
43
- if (!_this.consolelogfn[a]) {
44
- _this.consolelogfn[a] = console[a];
45
- }
46
- console[a] = function () { };
47
- if (a === level_1.LevelKey[level]) {
48
- return true;
49
- }
50
- });
51
- };
52
- Log.enableLogs = function () {
53
- var _this = this;
54
- level_1.LevelOrder.forEach(function (a) {
55
- console[a] = _this.consolelogfn[a];
56
- });
57
- };
58
- //#region public api
59
- Log.prototype.setProductionMode = function () {
60
- var _this = this;
61
- if (this.modeIsSet) {
62
- this.modeIsSet = false;
63
- throw '[ng2-logger] Production mode is already set';
64
- }
65
- else {
66
- this.modeIsSet = true;
67
- setTimeout(function () {
68
- if (_this.modeIsSet && console !== void 0 && console.clear !== void 0) {
69
- console.clear();
70
- console.log = function () { };
71
- console.error = function () { };
72
- console.warn = function () { };
73
- console.info = function () { };
74
- }
75
- });
76
- this.isDevelopmentMode = false;
77
- }
78
- };
79
- Log.prototype.onlyModules = function () {
80
- var modules = [];
81
- for (var _i = 0; _i < arguments.length; _i++) {
82
- modules[_i] = arguments[_i];
83
- }
84
- if (this._logModules) {
85
- throw '[ng2-logger] You should use funcion onlyModules only once';
86
- }
87
- if (!this._logModules) {
88
- this._logModules = true;
89
- }
90
- if (modules.length === 0)
91
- return;
92
- this.modules = modules;
93
- // console.log('only log this', Log.modules)
94
- this.muteAllOtherModules();
95
- };
96
- Log.prototype.onlyLevel = function () {
97
- var level = [];
98
- for (var _i = 0; _i < arguments.length; _i++) {
99
- level[_i] = arguments[_i];
100
- }
101
- if (this._logOnly) {
102
- throw '[ng2-logger] You should use funcion onlyLevel only once';
103
- }
104
- if (!this._logOnly) {
105
- this._logOnly = true;
106
- }
107
- this.levels = Array.isArray(level) ? level : [level];
108
- for (var logName in this.instances) {
109
- if (this.instances.hasOwnProperty(logName)) {
110
- var element = this.instances[logName];
111
- element['allowed'] = this.levels;
112
- }
113
- }
114
- };
115
- //#endregion
116
- Log.prototype.create = function (name) {
117
- var level = [];
118
- for (var _i = 1; _i < arguments.length; _i++) {
119
- level[_i - 1] = arguments[_i];
120
- }
121
- var i;
122
- if (Array.isArray(this.levels) && this.levels.length > 0) {
123
- level = this.levels;
124
- }
125
- if (this.instances[name] === void 0) {
126
- i = new (Log.Logger)(name, getRandomColor(), this.isDevelopmentMode, level, this.isMutedModule(name), this.levels.length > 0 ? this.fixedWidth : void 0);
127
- this.instances[name] = i;
128
- }
129
- else {
130
- i = this.instances[name];
131
- }
132
- return i;
133
- };
134
- Log.prototype.isMutedModule = function (moduleName) {
135
- if (this.modules.length == 0)
136
- return false;
137
- if (!tnp_core_1.Helpers.contain(this.modules, moduleName))
138
- return true;
139
- return false;
140
- };
141
- Log.prototype.muteAllOtherModules = function () {
142
- for (var moduleName in this.instances) {
143
- if (!tnp_core_1.Helpers.contain(this.modules, moduleName))
144
- this.instances[moduleName].mute();
145
- }
146
- };
147
- //#endregion
148
- Log.Logger = logger_1.Logger;
149
- Log.consolelogfn = {};
150
- return Log;
151
- }());
152
- exports.Log = Log;
153
- function getRandomColor() {
154
- var letters = '012345'.split('');
155
- var color = '#';
156
- color += letters[Math.round(Math.random() * 5)];
157
- letters = '0123456789ABCDEF'.split('');
158
- for (var i = 0; i < 5; i++) {
159
- color += letters[Math.round(Math.random() * 15)];
160
- }
161
- if (color === void 0) {
162
- return getRandomColor();
163
- }
164
- ;
165
- return color;
166
- }
167
- //# sourceMappingURL=log.js.map