@angular-wave/angular.ts 0.0.47 → 0.0.49

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 (64) hide show
  1. package/Makefile +3 -0
  2. package/README.md +1 -1
  3. package/css/angular.css +0 -6
  4. package/dist/angular-ts.esm.js +2 -2
  5. package/dist/angular-ts.umd.js +2 -2
  6. package/jsdoc.json +24 -0
  7. package/package.json +6 -2
  8. package/src/angular.spec.js +1 -2
  9. package/src/animations/animate-queue.js +0 -1
  10. package/src/animations/animation.js +1 -1
  11. package/src/animations/raf-scheduler.js +0 -1
  12. package/src/animations/shared.js +1 -1
  13. package/src/core/animate/animate.js +0 -1
  14. package/src/core/compile/compile.md +1 -1
  15. package/src/core/compile/compile.spec.js +49 -47
  16. package/src/core/location/location.spec.js +1 -1
  17. package/src/core/on.spec.js +7 -12
  18. package/src/core/parser/ast-type.js +22 -0
  19. package/src/core/parser/ast.js +426 -0
  20. package/src/core/parser/compiler.js +561 -0
  21. package/src/core/parser/interpreter.js +422 -0
  22. package/src/core/parser/lexer.js +345 -0
  23. package/src/core/parser/parse.js +23 -1984
  24. package/src/core/parser/parse.md +57 -0
  25. package/src/core/parser/parse.spec.js +2 -2
  26. package/src/core/parser/parser.js +45 -0
  27. package/src/core/parser/shared.js +228 -0
  28. package/src/core/prop.spec.js +4 -4
  29. package/src/core/q/q.spec.js +0 -1
  30. package/src/core/sce/sce.js +3 -6
  31. package/src/core/scope/scope.js +33 -21
  32. package/src/core/task-tracker-factory.js +0 -1
  33. package/src/directive/class/class.js +0 -2
  34. package/src/directive/form/form.js +0 -3
  35. package/src/directive/form/form.spec.js +18 -18
  36. package/src/directive/include/include.js +1 -1
  37. package/src/directive/include/include.spec.js +18 -19
  38. package/src/directive/input/input.js +1 -2
  39. package/src/directive/model/model.js +1 -3
  40. package/src/directive/model/model.spec.js +0 -1
  41. package/src/directive/repeat/repeat.spec.js +0 -2
  42. package/src/directive/switch/switch.spec.js +4 -4
  43. package/src/exts/aria/aria.js +0 -1
  44. package/src/filters/filter.spec.js +0 -1
  45. package/src/injector.js +1 -1
  46. package/src/injector.spec.js +0 -5
  47. package/src/loader.js +0 -5
  48. package/src/services/cookie-reader.js +0 -1
  49. package/src/services/http/http.spec.js +0 -2
  50. package/src/shared/constants.js +3 -2
  51. package/src/shared/utils.js +18 -7
  52. package/src/types.js +10 -0
  53. package/types/core/parser/ast-type.d.ts +20 -0
  54. package/types/core/parser/ast.d.ts +86 -0
  55. package/types/core/parser/compiler.d.ts +49 -0
  56. package/types/core/parser/interpreter.d.ts +57 -0
  57. package/types/core/parser/lexer.d.ts +153 -0
  58. package/types/core/parser/parse.d.ts +68 -0
  59. package/types/core/parser/parser.d.ts +28 -0
  60. package/types/core/parser/shared.d.ts +29 -0
  61. package/types/core/scope/scope.d.ts +19 -12
  62. package/types/shared/utils.d.ts +18 -5
  63. package/types/types.d.ts +1 -0
  64. package/types-back/index.d.ts +0 -12
package/Makefile CHANGED
@@ -24,6 +24,9 @@ types:
24
24
  @echo "Generating *.d.ts"
25
25
  @npx -p typescript tsc --project tsconfig.types.json
26
26
 
27
+ jsdoc:
28
+ @npm run generate-docs
29
+
27
30
  serve:
28
31
  @npm run serve
29
32
 
package/README.md CHANGED
@@ -24,7 +24,7 @@ piece of cake.
24
24
 
25
25
  #### Current state
26
26
 
27
- AngularJS is a large codebase that evolved in its own ecosystem over a long period of time. This resulted in multiple layers of legacy dependencies spread across multiple modules. Current focus is to remove these layers one by one and incrementally updating internal documentation to the reflect these changes. Until then, feel free to rely on old documentation or raise a PR if you have a problem migrating. Although the core remains well-tested (4k unit/integration tests) and stable, this project is undergoing rapid changes, which means that its stage of development should be qualified as pre-alpha.
27
+ AngularJS is a large codebase that evolved in its own ecosystem over a long period of time. This resulted in multiple layers of legacy dependencies spread across multiple modules. Current focus is to remove these layers one by one and incrementally updating internal documentation to the reflect these changes. Particular attention is being paid to removing `@ngdoc` tags and migrating to proper JSDoc with passing Typescipt verifications. Placating the compiler is a time-consuming process, so until then, feel free to rely on old documentation or raise a PR if you have a problem migrating. The core remains well-tested (4k unit/integration tests) and stable, but this project is undergoing rapid changes, which means that its stage of development should be qualified as pre-alpha.
28
28
 
29
29
  ### Getting started
30
30
 
package/css/angular.css CHANGED
@@ -1,18 +1,12 @@
1
1
  @charset "UTF-8";
2
2
 
3
- [ng\:cloak],
4
3
  [ng-cloak],
5
4
  [data-ng-cloak],
6
- [ng-cloak],
7
5
  .ng-cloak,
8
6
  .ng-hide:not(.ng-hide-animate) {
9
7
  display: none !important;
10
8
  }
11
9
 
12
- ng\:form {
13
- display: block;
14
- }
15
-
16
10
  .ng-animate-shim {
17
11
  visibility:hidden;
18
12
  }