@angular-wave/angular.ts 0.0.36 → 0.0.38

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 (120) hide show
  1. package/dist/angular-ts.esm.js +1 -1
  2. package/dist/angular-ts.umd.js +1 -1
  3. package/package.json +1 -1
  4. package/playwright.config.ts +1 -1
  5. package/src/angular.spec.js +6 -6
  6. package/src/animations/animate-css-driver.js +1 -1
  7. package/src/animations/animate-queue.js +1 -1
  8. package/src/animations/animation.js +1 -1
  9. package/src/animations/shared.js +1 -1
  10. package/src/binding.spec.js +4 -4
  11. package/src/core/animate/animate.js +1 -1
  12. package/src/core/compile/compile.js +1 -1
  13. package/src/core/compile/compile.spec.js +1 -1
  14. package/src/core/document.spec.js +1 -1
  15. package/src/core/location/location.js +2 -2
  16. package/src/core/prop.spec.js +1 -1
  17. package/src/core/root-element.spec.js +1 -1
  18. package/src/core/sce/sce.js +1 -1
  19. package/src/directive/attrs/attrs.js +1 -1
  20. package/src/directive/attrs/attrs.spec.js +1 -1
  21. package/src/directive/attrs/boolean.spec.js +1 -1
  22. package/src/directive/attrs/element-style.spec.js +1 -1
  23. package/src/directive/attrs/src.html +18 -0
  24. package/src/directive/attrs/src.spec.js +1 -1
  25. package/src/directive/attrs/{srcset.test.js → src.test.js} +1 -1
  26. package/src/directive/bind/bind.spec.js +1 -1
  27. package/src/directive/change/change.spec.js +1 -1
  28. package/src/directive/class/class.spec.js +1 -2
  29. package/src/directive/cloak/cloak.spec.js +1 -1
  30. package/src/directive/controller/controller.spec.js +1 -1
  31. package/src/directive/events/click.spec.js +1 -1
  32. package/src/directive/events/event.spec.js +1 -1
  33. package/src/directive/form/form.spec.js +1 -1
  34. package/src/directive/if/if.js +3 -1
  35. package/src/directive/if/if.spec.js +1 -1
  36. package/src/directive/include/include.js +1 -1
  37. package/src/directive/include/include.spec.js +1 -1
  38. package/src/directive/init/init.spec.js +1 -1
  39. package/src/directive/input/input.spec.js +1 -1
  40. package/src/directive/list/list.spec.js +1 -1
  41. package/src/directive/model/model.js +1 -1
  42. package/src/directive/model/model.spec.js +1 -1
  43. package/src/directive/model-options/model-options.spec.js +1 -1
  44. package/src/directive/non-bindable/non-bindable.spec.js +1 -1
  45. package/src/directive/options/options.js +1 -1
  46. package/src/directive/options/options.spec.js +1 -1
  47. package/src/directive/ref/href.spec.js +1 -1
  48. package/src/directive/repeat/repeat.js +1 -1
  49. package/src/directive/repeat/repeat.spec.js +1 -1
  50. package/src/directive/script/script.spec.js +1 -1
  51. package/src/directive/select/select.js +1 -1
  52. package/src/directive/select/select.spec.js +1 -1
  53. package/src/directive/show-hide/show-hide.spec.js +1 -1
  54. package/src/directive/style/style.spec.js +1 -1
  55. package/src/directive/switch/switch.js +1 -1
  56. package/src/directive/switch/switch.spec.js +1 -1
  57. package/src/directive/transclude/transclude.js +1 -1
  58. package/src/directive/validators/validators.js +1 -1
  59. package/src/directive/validators/validators.spec.js +1 -1
  60. package/src/exts/aria/aria.html +18 -0
  61. package/src/exts/{aria.js → aria/aria.js} +1 -1
  62. package/src/exts/{aria.spec.js → aria/aria.spec.js} +1 -1
  63. package/src/exts/aria/aria.test.js +11 -0
  64. package/src/exts/messages/messages.html +18 -0
  65. package/src/exts/{messages.js → messages/messages.js} +1 -1
  66. package/src/exts/{messages.spec.js → messages/messages.spec.js} +2 -2
  67. package/src/exts/messages/messages.test.js +11 -0
  68. package/src/filters/filter.spec.js +1 -1
  69. package/src/filters/limit-to.spec.js +1 -1
  70. package/src/injector.spec.js +4 -4
  71. package/src/loader.js +1 -1
  72. package/src/public.js +2 -2
  73. package/src/public.spec.js +2 -2
  74. package/src/router/common/glob.html +18 -0
  75. package/src/router/common/glob.test.js +1 -1
  76. package/src/router/directives/directives.test.js +19 -0
  77. package/src/router/directives/state-directives.html +21 -0
  78. package/src/router/{state-directives.spec.js → directives/state-directives.spec.js} +3 -2
  79. package/src/router/directives/view-directive.js +1 -1
  80. package/src/router/{view-directive.spec.js → directives/view-directive.spec.js} +3 -2
  81. package/src/router/directives/view-directives.html +21 -0
  82. package/src/router/router.html +22 -0
  83. package/src/router/router.test.js +11 -0
  84. package/src/router/services.spec.js +2 -2
  85. package/src/router/{state-builder.spec.js → state/state-builder.spec.js} +9 -12
  86. package/src/router/state/state.html +22 -0
  87. package/src/router/{state.spec.js → state/state.spec.js} +2 -2
  88. package/src/router/state/state.test.js +11 -0
  89. package/src/router/state-filter.spec.js +2 -2
  90. package/src/router/template-factory.spec.js +4 -4
  91. package/src/router/{url-service.spec.js → url/url-service.spec.js} +1 -1
  92. package/src/router/url/url.html +18 -0
  93. package/src/router/url/url.test.js +11 -0
  94. package/src/router/view/view.html +18 -0
  95. package/src/router/{view.spec.js → view/view.spec.js} +2 -2
  96. package/src/router/view/view.test.js +11 -0
  97. package/src/router/view-hook.spec.js +4 -4
  98. package/src/router/view-scroll.spec.js +4 -4
  99. package/src/services/browser.js +1 -1
  100. package/src/services/document.js +1 -1
  101. package/src/services/http/http.html +22 -0
  102. package/src/services/http/http.test.js +11 -0
  103. package/src/services/http-backend/http-backend.html +21 -0
  104. package/src/services/http-backend/http-backend.js +1 -1
  105. package/src/services/http-backend/http-backend.spec.js +1 -1
  106. package/src/services/http-backend/http-backend.test.js +11 -0
  107. package/src/shared/common.spec.js +4 -4
  108. package/src/shared/hof.spec.js +1 -1
  109. package/src/shared/jqlite/jqlite.html +18 -0
  110. package/src/{jqLite.js → shared/jqlite/jqlite.js} +2 -2
  111. package/src/{jqlite.spec.js → shared/jqlite/jqlite.spec.js} +7 -7
  112. package/src/shared/jqlite/jqlite.test.js +11 -0
  113. package/src/{min-err.spec.js → shared/min-err.spec.js} +2 -2
  114. package/src/shared/shared.html +22 -0
  115. package/src/shared/shared.test.js +11 -0
  116. package/src/shared/strings.spec.js +1 -1
  117. package/src/shared/test-utils.js +2 -2
  118. package/src/shared/utils.spec.js +1 -1
  119. package/src/src.html +22 -0
  120. /package/src/exts/{messages.md → messages/messages.md} +0 -0
@@ -1,7 +1,7 @@
1
- import { defaults, filter, map, mapObj, pick } from "../../shared/common";
2
- import { is, eq, not, pattern, val } from "../../shared/hof";
3
- import { isInjectable } from "../../shared/predicates";
4
- import { Queue } from "../../router/common/queue";
1
+ import { defaults, filter, map, mapObj, pick } from "./common";
2
+ import { is, eq, not, pattern, val } from "./hof";
3
+ import { isInjectable } from "./predicates";
4
+ import { Queue } from "../router/common/queue";
5
5
 
6
6
  describe("common", function () {
7
7
  describe("filter", function () {
@@ -1,4 +1,4 @@
1
- import { curry } from "../../shared/hof";
1
+ import { curry } from "./hof";
2
2
 
3
3
  describe("curry", () => {
4
4
  let original;
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script type="module" src="/src/shared/jqlite/jqlite.spec.js"></script>
14
+ </head>
15
+ <body>
16
+ <div id="dummy"></div>
17
+ </body>
18
+ </html>
@@ -13,8 +13,8 @@ import {
13
13
  nodeName_,
14
14
  shallowCopy,
15
15
  trim,
16
- } from "./shared/utils";
17
- import { CACHE, EXPANDO } from "./core/cache/cache";
16
+ } from "../../shared/utils";
17
+ import { CACHE, EXPANDO } from "../../core/cache/cache";
18
18
 
19
19
  /**
20
20
  * @ngdoc function
@@ -1,10 +1,10 @@
1
- import { jqLite, JQLite, dealoc, kebabToCamel } from "../jqLite";
2
- import { angularInit } from "../loader";
3
- import { createInjector } from "../injector";
4
- import { publishExternalAPI } from "../public";
5
- import { equals, forEach } from "../shared/utils";
6
- import { browserTrigger } from "./test-utils";
7
- import { CACHE, EXPANDO } from "../core/cache";
1
+ import { jqLite, JQLite, dealoc, kebabToCamel } from "./jqlite";
2
+ import { angularInit } from "../../loader";
3
+ import { createInjector } from "../../injector";
4
+ import { publishExternalAPI } from "../../public";
5
+ import { equals, forEach } from "../../shared/utils";
6
+ import { browserTrigger } from "../../shared/test-utils";
7
+ import { CACHE, EXPANDO } from "../../core/cache/cache";
8
8
 
9
9
  describe("jqLite", () => {
10
10
  let scope;
@@ -0,0 +1,11 @@
1
+ import { test, expect } from "@playwright/test";
2
+
3
+ const TEST_URL = "src/shared/jqlite/jqlite.html";
4
+
5
+ test("unit tests contain no errors", async ({ page }) => {
6
+ await page.goto(TEST_URL);
7
+ await page.content();
8
+ await expect(page.locator(".jasmine-overall-result")).toHaveText(
9
+ /0 failures/,
10
+ );
11
+ });
@@ -1,5 +1,5 @@
1
- import { minErr, isDefined, toDebugString } from "./shared/utils";
2
- import { errorHandlingConfig } from "./loader";
1
+ import { minErr, isDefined, toDebugString } from "./utils";
2
+ import { errorHandlingConfig } from "../loader";
3
3
 
4
4
  describe("errors", () => {
5
5
  afterEach(() => {});
@@ -0,0 +1,22 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script type="module" src="/src/shared/common.spec.js"></script>
14
+ <script type="module" src="/src/shared/hof.spec.js"></script>
15
+ <script type="module" src="/src/shared/min-err.spec.js"></script>
16
+ <script type="module" src="/src/shared/strings.spec.js"></script>
17
+ <script type="module" src="/src/shared/utils.spec.js"></script>
18
+ </head>
19
+ <body>
20
+ <div id="dummy"></div>
21
+ </body>
22
+ </html>
@@ -0,0 +1,11 @@
1
+ import { test, expect } from "@playwright/test";
2
+
3
+ const TEST_URL = "src/shared/shared.html";
4
+
5
+ test("unit tests contain no errors", async ({ page }) => {
6
+ await page.goto(TEST_URL);
7
+ await page.content();
8
+ await expect(page.locator(".jasmine-overall-result")).toHaveText(
9
+ /0 failures/,
10
+ );
11
+ });
@@ -1,4 +1,4 @@
1
- import { stripLastPathElement } from "../../shared/strings";
1
+ import { stripLastPathElement } from "./strings";
2
2
 
3
3
  describe("string functions:", () => {
4
4
  describe("stripLastPathElement", () => {
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "./jqlite/jqlite";
2
2
 
3
3
  /**
4
4
  * @param {HTMLElement} element
@@ -16,5 +16,5 @@ export function browserTrigger(element, event) {
16
16
  * @returns
17
17
  */
18
18
  export function wait(t) {
19
- return new Promise((resolve, _) => setTimeout(resolve, t));
19
+ return new Promise((resolve) => setTimeout(resolve, t));
20
20
  }
@@ -1,4 +1,4 @@
1
- import { hashKey } from "../../shared/utils";
1
+ import { hashKey } from "./utils";
2
2
 
3
3
  describe("api", () => {
4
4
  describe("hashKey()", () => {
package/src/src.html ADDED
@@ -0,0 +1,22 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script type="module" src="/src/angular.spec.js"></script>
14
+ <script type="module" src="/src/binding.spec.js"></script>
15
+ <script type="module" src="/src/injector.spec.js"></script>
16
+ <script type="module" src="/src/loader.spec.js"></script>
17
+ <script type="module" src="/src/public.spec.js"></script>
18
+ </head>
19
+ <body>
20
+ <div id="dummy"></div>
21
+ </body>
22
+ </html>
File without changes