tnp-helpers 13.0.8 → 13.0.9

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 (79) hide show
  1. package/app.js +48 -2
  2. package/app.js.map +1 -1
  3. package/browser/esm2020/lib/base-component.mjs +1 -1
  4. package/browser/esm2020/lib/base-formly-component.mjs +4 -2
  5. package/browser/esm2020/lib/condition-wait.mjs +1 -1
  6. package/browser/esm2020/lib/constants.mjs +1 -1
  7. package/browser/esm2020/lib/dual-component-ctrl.mjs +3 -1
  8. package/browser/esm2020/lib/helpers-array-obj.mjs +1 -1
  9. package/browser/esm2020/lib/helpers-environment.mjs +12 -2
  10. package/browser/esm2020/lib/helpers-strings-regexes.mjs +1 -1
  11. package/browser/esm2020/lib/helpers-strings.mjs +1 -1
  12. package/browser/esm2020/lib/helpers.mjs +164 -2
  13. package/browser/esm2020/lib/index.mjs +3 -1
  14. package/browser/esm2020/lib/long-press.directive.mjs +8 -2
  15. package/browser/esm2020/lib/project.mjs +314 -2
  16. package/browser/esm2020/lib/resize-service.mjs +1 -1
  17. package/browser/fesm2015/tnp-helpers.mjs +484 -2
  18. package/browser/fesm2015/tnp-helpers.mjs.map +1 -1
  19. package/browser/fesm2020/tnp-helpers.mjs +485 -3
  20. package/browser/fesm2020/tnp-helpers.mjs.map +1 -1
  21. package/browser/lib/project.d.ts +2 -0
  22. package/client/esm2020/lib/base-component.mjs +1 -1
  23. package/client/esm2020/lib/base-formly-component.mjs +4 -2
  24. package/client/esm2020/lib/condition-wait.mjs +1 -1
  25. package/client/esm2020/lib/constants.mjs +1 -1
  26. package/client/esm2020/lib/dual-component-ctrl.mjs +3 -1
  27. package/client/esm2020/lib/helpers-array-obj.mjs +1 -1
  28. package/client/esm2020/lib/helpers-environment.mjs +12 -2
  29. package/client/esm2020/lib/helpers-strings-regexes.mjs +1 -1
  30. package/client/esm2020/lib/helpers-strings.mjs +1 -1
  31. package/client/esm2020/lib/helpers.mjs +164 -2
  32. package/client/esm2020/lib/index.mjs +3 -1
  33. package/client/esm2020/lib/long-press.directive.mjs +8 -2
  34. package/client/esm2020/lib/project.mjs +314 -2
  35. package/client/esm2020/lib/resize-service.mjs +1 -1
  36. package/client/fesm2015/tnp-helpers.mjs +484 -2
  37. package/client/fesm2015/tnp-helpers.mjs.map +1 -1
  38. package/client/fesm2020/tnp-helpers.mjs +485 -3
  39. package/client/fesm2020/tnp-helpers.mjs.map +1 -1
  40. package/client/lib/project.d.ts +2 -0
  41. package/index.js +2 -3
  42. package/lib/base-component.js +3 -3
  43. package/lib/base-component.js.map +1 -1
  44. package/lib/base-formly-component.js +3 -3
  45. package/lib/base-formly-component.js.map +1 -1
  46. package/lib/condition-wait.js +2 -3
  47. package/lib/constants.js +2 -3
  48. package/lib/dual-component-ctrl.js +2 -3
  49. package/lib/git-project.js +2 -3
  50. package/lib/helpers-array-obj.js +2 -3
  51. package/lib/helpers-cli-tool.backend.js +2 -3
  52. package/lib/helpers-dependencies.backend.js +2 -3
  53. package/lib/helpers-environment.js +2 -3
  54. package/lib/helpers-file-folders.backend.js +2 -3
  55. package/lib/helpers-git.backend.js +2 -3
  56. package/lib/helpers-json5.backend.js +2 -3
  57. package/lib/helpers-morphi-framework.backend.js +2 -3
  58. package/lib/helpers-network.backend.js +2 -3
  59. package/lib/helpers-npm.backend.js +2 -3
  60. package/lib/helpers-path.backend.js +2 -3
  61. package/lib/helpers-process.backend.d.ts +1 -0
  62. package/lib/helpers-process.backend.js +5 -3
  63. package/lib/helpers-process.backend.js.map +1 -1
  64. package/lib/helpers-strings-regexes.js +2 -3
  65. package/lib/helpers-strings.js +2 -3
  66. package/lib/helpers-system-terminal.backend.js +2 -3
  67. package/lib/helpers.js +2 -3
  68. package/lib/index.js +15 -4
  69. package/lib/long-press.directive.js +2 -3
  70. package/lib/merge-helpers.backend.js +2 -3
  71. package/lib/project.d.ts +2 -0
  72. package/lib/project.js +2 -3
  73. package/lib/project.js.map +1 -1
  74. package/lib/resize-service.js +2 -3
  75. package/lib/ts-code/index.js +2 -3
  76. package/lib/ts-code/ts-code-extractor.js +2 -3
  77. package/lib/ts-code/ts-code-modifier.backend.js +2 -3
  78. package/package.json +1 -1
  79. package/tmp-environment.json +12 -9
@@ -136,8 +136,18 @@ class HelpersStringsRegexes {
136
136
  }
137
137
  }
138
138
 
139
+ /* */
140
+ /* */
141
+ /* */
142
+ /* */
139
143
  class HelpersEnvironment {
140
144
  environmentName(filename, local_env_name) {
145
+ /* */
146
+ /* */
147
+ /* */
148
+ /* */
149
+ /* */
150
+ /* */
141
151
  }
142
152
  isValidGitRepuUrl(url) {
143
153
  const regex = /^([A-Za-z0-9]+@|http(|s)\:\/\/)([A-Za-z0-9.]+(:\d+)?)(?::|\/)([\d\/\w.-]+?)(\.git)?$/;
@@ -277,11 +287,102 @@ function applyMixins(derivedCtor, baseCtors) {
277
287
  }
278
288
  // @ts-ignore
279
289
  class HelpersTnp extends CoreHelpers {
280
- constructor(arrays = new HelpersArrayObj(), strings = new HelpersStrings()) {
290
+ constructor(
291
+ /* */
292
+ /* */
293
+ /* */
294
+ /* */
295
+ /* */
296
+ /* */
297
+ /* */
298
+ /* */
299
+ /* */
300
+ /* */
301
+ /* */
302
+ /* */
303
+ arrays = new HelpersArrayObj(), strings = new HelpersStrings()) {
281
304
  super();
282
305
  this.arrays = arrays;
283
306
  this.strings = strings;
284
307
  this.conditionWait = conditionWait;
308
+ /* */
309
+ /* */
310
+ /* */
311
+ /* */
312
+ /* */
313
+ /* */
314
+ /* */
315
+ /* */
316
+ /* */
317
+ /* */
318
+ /* */
319
+ /* */
320
+ /* */
321
+ /* */
322
+ /* */
323
+ /* */
324
+ /* */
325
+ /* */
326
+ /* */
327
+ /* */
328
+ /* */
329
+ /* */
330
+ /* */
331
+ /* */
332
+ /* */
333
+ /* */
334
+ /* */
335
+ /* */
336
+ /* */
337
+ /* */
338
+ /* */
339
+ /* */
340
+ /* */
341
+ /* */
342
+ /* */
343
+ /* */
344
+ /* */
345
+ /* */
346
+ /* */
347
+ /* */
348
+ /* */
349
+ /* */
350
+ /* */
351
+ /* */
352
+ /* */
353
+ /* */
354
+ /* */
355
+ /* */
356
+ /* */
357
+ /* */
358
+ /* */
359
+ /* */
360
+ /* */
361
+ /* */
362
+ /* */
363
+ /* */
364
+ /* */
365
+ /* */
366
+ /* */
367
+ /* */
368
+ /* */
369
+ /* */
370
+ /* */
371
+ /* */
372
+ /* */
373
+ /* */
374
+ /* */
375
+ /* */
376
+ /* */
377
+ /* */
378
+ /* */
379
+ /* */
380
+ /* */
381
+ /* */
382
+ /* */
383
+ /* */
384
+ /* */
385
+ /* */
285
386
  this.applyMixins = applyMixins;
286
387
  }
287
388
  static get Instance() {
@@ -294,8 +395,67 @@ class HelpersTnp extends CoreHelpers {
294
395
  CLASS.setName(f, name);
295
396
  return f;
296
397
  }
398
+ /* */
399
+ /* */
400
+ /* */
401
+ /* */
402
+ /* */
403
+ /* */
404
+ /* */
405
+ /* */
406
+ /* */
407
+ /* */
408
+ /* */
409
+ /* */
410
+ /* */
411
+ /* */
412
+ /* */
413
+ /* */
414
+ /* */
415
+ /* */
416
+ /* */
417
+ /* */
418
+ /* */
419
+ /* */
420
+ /* */
421
+ /* */
422
+ /* */
423
+ /* */
424
+ /* */
425
+ /* */
426
+ /* */
427
+ /* */
428
+ /* */
297
429
  async isElevated() {
298
- }
430
+ /* */
431
+ /* */
432
+ /* */
433
+ /* */
434
+ }
435
+ /* */
436
+ /* */
437
+ /* */
438
+ /* */
439
+ /* */
440
+ /* */
441
+ /* */
442
+ /* */
443
+ /* */
444
+ /* */
445
+ /* */
446
+ /* */
447
+ /* */
448
+ /* */
449
+ /* */
450
+ /* */
451
+ /* */
452
+ /* */
453
+ /* */
454
+ /* */
455
+ /* */
456
+ /* */
457
+ /* */
458
+ /* */
299
459
  async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
300
460
  var start = new Date();
301
461
  await Helpers.runSyncOrAsync(functionToExecute, ...functionArguments);
@@ -304,6 +464,8 @@ class HelpersTnp extends CoreHelpers {
304
464
  if (Morphi.IsBrowser) {
305
465
  Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
306
466
  }
467
+ /* */
468
+ /* */
307
469
  return end;
308
470
  }
309
471
  mesureExectionInMsSync(description, functionToExecute) {
@@ -314,6 +476,8 @@ class HelpersTnp extends CoreHelpers {
314
476
  if (Morphi.IsBrowser) {
315
477
  Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
316
478
  }
479
+ /* */
480
+ /* */
317
481
  return end;
318
482
  }
319
483
  waitForCondition(conditionFn, howOfftenCheckInMs = 1000) {
@@ -332,6 +496,11 @@ class HelpersTnp extends CoreHelpers {
332
496
  });
333
497
  }
334
498
  getBrowserVerPath(moduleName) {
499
+ /* */
500
+ /* */
501
+ /* */
502
+ /* */
503
+ /* */
335
504
  }
336
505
  getMethodName(obj, method) {
337
506
  var methodName = null;
@@ -362,29 +531,227 @@ class HelpersTnp extends CoreHelpers {
362
531
  applyMixins(HelpersTnp, [
363
532
  HelpersStringsRegexes,
364
533
  HelpersEnvironment,
534
+ /* */
535
+ /* */
536
+ /* */
365
537
  ]);
366
538
 
367
539
  const BaselineSiteJoinprefix = '__';
368
540
 
541
+ /* */
369
542
  const Helpers$1 = HelpersTnp.Instance;
370
543
  class Project {
371
544
  constructor() {
545
+ /* */
546
+ /* */
372
547
  this.cache = {};
373
548
  this.browser = {};
374
549
  }
375
550
  static typeFrom(location) {
551
+ /* */
552
+ /* */
553
+ /* */
554
+ /* */
555
+ /* */
556
+ /* */
557
+ /* */
558
+ /* */
559
+ /* */
560
+ /* */
561
+ /* */
562
+ /* */
376
563
  return (void 0);
377
564
  }
378
565
  static unload(project) {
379
566
  Project.projects = Project.projects.filter(f => f !== project);
380
567
  }
381
568
  static From(location) {
569
+ /* */
570
+ /* */
571
+ /* */
572
+ /* */
573
+ /* */
574
+ /* */
575
+ /* */
576
+ /* */
577
+ /* */
578
+ /* */
579
+ /* */
580
+ /* */
581
+ /* */
582
+ /* */
583
+ /* */
584
+ /* */
585
+ /* */
586
+ /* */
587
+ /* */
588
+ /* */
589
+ /* */
590
+ /* */
591
+ /* */
592
+ /* */
593
+ /* */
594
+ /* */
595
+ /* */
596
+ /* */
597
+ /* */
598
+ /* */
599
+ /* */
600
+ /* */
601
+ /* */
602
+ /* */
603
+ /* */
604
+ /* */
605
+ /* */
606
+ /* */
607
+ /* */
608
+ /* */
609
+ /* */
610
+ /* */
611
+ /* */
612
+ /* */
613
+ /* */
614
+ /* */
615
+ /* */
616
+ /* */
617
+ /* */
618
+ /* */
619
+ /* */
620
+ /* */
621
+ /* */
622
+ /* */
623
+ /* */
624
+ /* */
625
+ /* */
626
+ /* */
627
+ /* */
628
+ /* */
629
+ /* */
630
+ /* */
631
+ /* */
632
+ /* */
633
+ /* */
634
+ /* */
635
+ /* */
636
+ /* */
637
+ /* */
638
+ /* */
639
+ /* */
640
+ /* */
641
+ /* */
642
+ /* */
643
+ /* */
644
+ /* */
645
+ /* */
646
+ /* */
647
+ /* */
648
+ /* */
649
+ /* */
650
+ /* */
651
+ /* */
652
+ /* */
653
+ /* */
654
+ /* */
655
+ /* */
656
+ /* */
657
+ /* */
658
+ /* */
659
+ /* */
660
+ /* */
661
+ /* */
662
+ /* */
663
+ /* */
664
+ /* */
665
+ /* */
666
+ /* */
667
+ /* */
668
+ /* */
382
669
  return (void 0);
383
670
  }
384
671
  static nearestTo(absoluteLocation, options) {
672
+ /* */
673
+ /* */
674
+ /* */
675
+ /* */
676
+ /* */
677
+ /* */
678
+ /* */
679
+ /* */
680
+ /* */
681
+ /* */
682
+ /* */
683
+ /* */
684
+ /* */
685
+ /* */
686
+ /* */
687
+ /* */
688
+ /* */
689
+ /* */
690
+ /* */
691
+ /* */
692
+ /* */
693
+ /* */
694
+ /* */
695
+ /* */
696
+ /* */
697
+ /* */
698
+ /* */
699
+ /* */
700
+ /* */
701
+ /* */
702
+ /* */
703
+ /* */
704
+ /* */
705
+ /* */
706
+ /* */
707
+ /* */
708
+ /* */
709
+ /* */
710
+ /* */
711
+ /* */
712
+ /* */
713
+ /* */
714
+ /* */
715
+ /* */
716
+ /* */
717
+ /* */
718
+ /* */
719
+ /* */
720
+ /* */
721
+ /* */
722
+ /* */
723
+ /* */
724
+ /* */
725
+ /* */
726
+ /* */
727
+ /* */
728
+ /* */
729
+ /* */
385
730
  return (void 0);
386
731
  }
387
732
  static allProjectFrom(absoluteLocation, stopOnCwd = '/') {
733
+ /* */
734
+ /* */
735
+ /* */
736
+ /* */
737
+ /* */
738
+ /* */
739
+ /* */
740
+ /* */
741
+ /* */
742
+ /* */
743
+ /* */
744
+ /* */
745
+ /* */
746
+ /* */
747
+ /* */
748
+ /* */
749
+ /* */
750
+ /* */
751
+ /* */
752
+ /* */
753
+ /* */
754
+ /* */
388
755
  return (void 0);
389
756
  }
390
757
  static DefaultPortByType(type) {
@@ -417,17 +784,86 @@ class Project {
417
784
  if (Helpers$1.isBrowser) {
418
785
  return true;
419
786
  }
787
+ /* */
788
+ /* */
420
789
  }
421
790
  static get Current() {
791
+ /* */
792
+ /* */
793
+ /* */
794
+ /* */
795
+ /* */
796
+ /* */
797
+ /* */
798
+ /* */
799
+ /* */
800
+ /* */
801
+ /* */
422
802
  return (void 0);
423
803
  }
804
+ /* */
805
+ /* */
806
+ /* */
807
+ /* */
424
808
  static get Tnp() {
809
+ /* */
810
+ /* */
811
+ /* */
812
+ /* */
813
+ /* */
814
+ /* */
815
+ /* */
425
816
  return (void 0);
426
817
  }
427
- static by(libraryType, version) {
818
+ static by(libraryType, version
819
+ /* */
820
+ /* */
821
+ ) {
822
+ /* */
823
+ /* */
824
+ /* */
825
+ /* */
826
+ /* */
827
+ /* */
828
+ /* */
829
+ /* */
830
+ /* */
831
+ /* */
832
+ /* */
833
+ /* */
834
+ /* */
835
+ /* */
836
+ /* */
837
+ /* */
838
+ /* */
839
+ /* */
840
+ /* */
841
+ /* */
842
+ /* */
843
+ /* */
844
+ /* */
845
+ /* */
846
+ /* */
847
+ /* */
848
+ /* */
428
849
  return (void 0);
429
850
  }
430
851
  defineProperty(variableName, classFn) {
852
+ /* */
853
+ /* */
854
+ /* */
855
+ /* */
856
+ /* */
857
+ /* */
858
+ /* */
859
+ /* */
860
+ /* */
861
+ /* */
862
+ /* */
863
+ /* */
864
+ /* */
865
+ /* */
866
+ /* */
431
867
  return (void 0);
432
868
  }
433
869
  setType(type) {
@@ -453,6 +889,50 @@ Project.projects = [];
453
889
  * This may break things that are creating new projects
454
890
  */
455
891
  Project.emptyLocations = [];
892
+ /* */
893
+ /* */
894
+ /* */
895
+ /* */
896
+ /* */
897
+ /* */
898
+ /* */
899
+ /* */
900
+ /* */
901
+ /* */
902
+ /* */
903
+ /* */
904
+ /* */
905
+ /* */
906
+ /* */
907
+ /* */
908
+ /* */
909
+ /* */
910
+ /* */
911
+ /* */
912
+ /* */
913
+ /* */
914
+ /* */
915
+ /* */
916
+ /* */
917
+ /* */
918
+ /* */
919
+ /* */
920
+ /* */
921
+ /* */
922
+ /* */
923
+ /* */
924
+ /* */
925
+ /* */
926
+ /* */
927
+ /* */
928
+ /* */
929
+ /* */
930
+ /* */
931
+ /* */
932
+ /* */
933
+ /* */
934
+ /* */
935
+ /* */
456
936
 
457
937
  class BaseComponent {
458
938
  constructor() {
@@ -850,6 +1330,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
850
1330
  args: ['mouseup']
851
1331
  }] } });
852
1332
 
1333
+ /* */
1334
+ /* */
853
1335
  // export * from './git-project';
854
1336
  const Helpers = HelpersTnp.Instance;
855
1337
  //#endregion