@angular-wave/angular.ts 0.0.10 → 0.0.12

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 (92) hide show
  1. package/README.md +8 -15
  2. package/dist/angular-ts.esm.js +1 -1
  3. package/dist/angular-ts.umd.js +1 -1
  4. package/package.json +4 -1
  5. package/src/core/compile.js +0 -26
  6. package/src/exts/messages.md +30 -30
  7. package/src/public.js +2 -0
  8. package/src/router/adapter/directives/stateDirectives.js +695 -0
  9. package/src/router/adapter/directives/viewDirective.js +514 -0
  10. package/src/router/adapter/injectables.js +314 -0
  11. package/src/router/adapter/interface.js +1 -0
  12. package/src/router/adapter/locationServices.js +86 -0
  13. package/src/router/adapter/services.js +132 -0
  14. package/src/router/adapter/stateFilters.js +43 -0
  15. package/src/router/adapter/stateProvider.js +137 -0
  16. package/src/router/adapter/statebuilders/onEnterExitRetain.js +30 -0
  17. package/src/router/adapter/statebuilders/views.js +146 -0
  18. package/src/router/adapter/templateFactory.js +218 -0
  19. package/src/router/adapter/urlRouterProvider.js +196 -0
  20. package/src/router/adapter/viewScroll.js +31 -0
  21. package/src/router/core/common/common.js +506 -0
  22. package/src/router/core/common/coreservices.js +15 -0
  23. package/src/router/core/common/glob.js +75 -0
  24. package/src/router/core/common/hof.js +194 -0
  25. package/src/router/core/common/predicates.js +44 -0
  26. package/src/router/core/common/queue.js +41 -0
  27. package/src/router/core/common/safeConsole.js +38 -0
  28. package/src/router/core/common/strings.js +141 -0
  29. package/src/router/core/common/trace.js +232 -0
  30. package/src/router/core/globals.js +29 -0
  31. package/src/router/core/hooks/coreResolvables.js +33 -0
  32. package/src/router/core/hooks/ignoredTransition.js +25 -0
  33. package/src/router/core/hooks/invalidTransition.js +14 -0
  34. package/src/router/core/hooks/lazyLoad.js +102 -0
  35. package/src/router/core/hooks/onEnterExitRetain.js +55 -0
  36. package/src/router/core/hooks/redirectTo.js +36 -0
  37. package/src/router/core/hooks/resolve.js +57 -0
  38. package/src/router/core/hooks/updateGlobals.js +30 -0
  39. package/src/router/core/hooks/url.js +25 -0
  40. package/src/router/core/hooks/views.js +39 -0
  41. package/src/router/core/interface.js +3 -0
  42. package/src/router/core/params/README.md +8 -0
  43. package/src/router/core/params/param.js +232 -0
  44. package/src/router/core/params/paramType.js +139 -0
  45. package/src/router/core/params/paramTypes.js +163 -0
  46. package/src/router/core/params/stateParams.js +35 -0
  47. package/src/router/core/path/pathNode.js +77 -0
  48. package/src/router/core/path/pathUtils.js +200 -0
  49. package/src/router/core/resolve/interface.js +10 -0
  50. package/src/router/core/resolve/resolvable.js +124 -0
  51. package/src/router/core/resolve/resolveContext.js +211 -0
  52. package/src/router/core/router.js +201 -0
  53. package/src/router/core/state/README.md +21 -0
  54. package/src/router/core/state/stateBuilder.js +333 -0
  55. package/src/router/core/state/stateMatcher.js +66 -0
  56. package/src/router/core/state/stateObject.js +116 -0
  57. package/src/router/core/state/stateQueueManager.js +89 -0
  58. package/src/router/core/state/stateRegistry.js +175 -0
  59. package/src/router/core/state/stateService.js +592 -0
  60. package/src/router/core/state/targetState.js +159 -0
  61. package/src/router/core/transition/hookBuilder.js +127 -0
  62. package/src/router/core/transition/hookRegistry.js +182 -0
  63. package/src/router/core/transition/interface.js +14 -0
  64. package/src/router/core/transition/rejectFactory.js +122 -0
  65. package/src/router/core/transition/transition.js +739 -0
  66. package/src/router/core/transition/transitionEventType.js +27 -0
  67. package/src/router/core/transition/transitionHook.js +199 -0
  68. package/src/router/core/transition/transitionService.js +311 -0
  69. package/src/router/core/url/interface.js +1 -0
  70. package/src/router/core/url/urlConfig.js +165 -0
  71. package/src/router/core/url/urlMatcher.js +548 -0
  72. package/src/router/core/url/urlMatcherFactory.js +123 -0
  73. package/src/router/core/url/urlRouter.js +115 -0
  74. package/src/router/core/url/urlRule.js +202 -0
  75. package/src/router/core/url/urlRules.js +348 -0
  76. package/src/router/core/url/urlService.js +268 -0
  77. package/src/router/core/vanilla/baseLocationService.js +31 -0
  78. package/src/router/core/vanilla/browserLocationConfig.js +42 -0
  79. package/src/router/core/vanilla/hashLocationService.js +19 -0
  80. package/src/router/core/vanilla/injector.js +98 -0
  81. package/src/router/core/vanilla/interface.js +1 -0
  82. package/src/router/core/vanilla/memoryLocationConfig.js +20 -0
  83. package/src/router/core/vanilla/memoryLocationService.js +13 -0
  84. package/src/router/core/vanilla/plugins.js +35 -0
  85. package/src/router/core/vanilla/pushStateLocationService.js +69 -0
  86. package/src/router/core/vanilla/q.js +54 -0
  87. package/src/router/core/vanilla/utils.js +63 -0
  88. package/src/router/core/view/interface.js +1 -0
  89. package/src/router/core/view/view.js +312 -0
  90. package/src/router/router.js +52 -0
  91. package/test/ng/compile.spec.js +43 -61
  92. package/test/ng/directive/init.spec.js +1 -1
package/README.md CHANGED
@@ -2,29 +2,22 @@ AngularTS ![Build status](https://github.com/Angular-Wave/angular.ts/actions/wor
2
2
 
3
3
  Building upon the monumental effort of the [Angular Team](https://docs.angularjs.org/misc/version-support-status) at Google,
4
4
  this project preserves, modernises, and expands the original [AngularJS](https://github.com/angular/angular.js)
5
- framework to what it could or should have been. While building on the core features of the original, AngularTS is not
5
+ framework. While building on the core features of the original, AngularTS is not
6
6
  a drop-in replacement or an LTS version. It has no relation to [Angular](https://angular.io) and makes no efforts to be compatible with it.
7
7
  AngularTS is "AngularJS: The Good Parts". It takes the three core pillars of the original – a string-interpolation engine,
8
- dependency injection, two-way data-binding – and adopts them to [Modern Web](https://modern-web.dev/) principles of being as close to Web standards as possible. The result is a buildless, progressive, and battle-tested JS framework, that make web-development great again.
8
+ dependency injection, two-way data-binding – and adopts them to [Modern Web](https://modern-web.dev/) principles of being as
9
+ close to Web standards as possible. The result is a buildless, progressive, and battle-tested JS framework that makes web-development great again.
9
10
 
10
- AngularTS lets you write client-side web applications as if you had a smarter browser. It lets you
11
- use good old HTML (or HAML, Jade/Pug and friends!) as your template language and lets you extend HTML’s
12
- syntax to express your application’s components clearly and succinctly. It automatically
11
+ AngularTS lets you write server-rendered web applications for desktop and mobile, without leaving the comfort of your tech-stack.
12
+ It lets you use good old HTML as your template language and lets you extend HTML’s
13
+ syntax to express your application’s components clearly and succinctly. It automatically
13
14
  synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data
14
- binding. To help you structure your application better and make it easy to test, AngularJS teaches
15
+ binding. To help you structure your application better and make it easy to test, AngularTS teaches
15
16
  the browser how to do dependency injection and inversion of control.
16
17
 
17
18
  It also helps with server-side communication, taming async callbacks with promises and deferred objects,
18
19
  and it makes client-side navigation and deep linking with hashbang urls or HTML5 pushState a
19
- piece of cake. Best of all? It makes development fun!
20
-
21
- --------------------
22
-
23
- **AngularJS support has officially ended as of January 2022.
24
- [See what ending support means](https://docs.angularjs.org/misc/version-support-status)
25
- and [read the end of life announcement](https://goo.gle/angularjs-end-of-life).**
26
-
27
- **Visit [angular.io](https://angular.io) for the actively supported Angular.**
20
+ piece of cake.
28
21
 
29
22
  --------------------
30
23