@angular-wave/angular.ts 0.0.36 → 0.0.37

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 (94) 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 +1 -1
  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 +1 -1
  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 +21 -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 +21 -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/view-directive.js +1 -1
  77. package/src/router/state-directives.spec.js +1 -1
  78. package/src/router/state.spec.js +1 -1
  79. package/src/router/template-factory.spec.js +1 -1
  80. package/src/router/url-service.spec.js +1 -1
  81. package/src/router/view-directive.spec.js +1 -1
  82. package/src/router/view-hook.spec.js +1 -1
  83. package/src/router/view-scroll.spec.js +1 -1
  84. package/src/router/view.spec.js +1 -1
  85. package/src/services/browser.js +1 -1
  86. package/src/services/document.js +1 -1
  87. package/src/shared/jqlite/jqlite.html +18 -0
  88. package/src/{jqLite.js → shared/jqlite/jqlite.js} +2 -2
  89. package/src/{jqlite.spec.js → shared/jqlite/jqlite.spec.js} +7 -7
  90. package/src/shared/jqlite/jqlite.test.js +11 -0
  91. package/src/shared/strings.spec.js +1 -1
  92. package/src/shared/test-utils.js +1 -1
  93. /package/src/exts/{messages.md → messages/messages.md} +0 -0
  94. /package/src/{min-err.spec.js → shared/min-err.spec.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { createInjector } from "../../injector";
2
- import { countWatchers } from "../../core/root-scope";
2
+ import { countWatchers } from "../../core/scope/scope";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { isString } from "../../shared/utils";
5
- import { jqLite } from "../../jqLite";
5
+ import { jqLite } from "../../shared/jqlite/jqlite";
6
6
 
7
7
  describe("ngMessages", () => {
8
8
  let $rootScope, $compile, $templateCache;
@@ -0,0 +1,11 @@
1
+ import { test, expect } from "@playwright/test";
2
+
3
+ const TEST_URL = "src/exts/messages/messages.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,7 +1,7 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
3
  import { isString, includes } from "../../shared/utils";
4
- import { jqLite } from "../../jqLite";
4
+ import { jqLite } from "../../shared/jqlite/jqlite";
5
5
 
6
6
  describe("Filter: filter", () => {
7
7
  let filter;
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { jqLite } from "../../jqLite";
3
+ import { jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("Filter: limitTo", () => {
6
6
  let items;
@@ -1,7 +1,7 @@
1
- import { setupModuleLoader } from "../loader";
2
- import { createInjector } from "../injector";
3
- import { publishExternalAPI } from "../public";
4
- import { valueFn, extend } from "../shared/utils";
1
+ import { setupModuleLoader } from "./loader";
2
+ import { createInjector } from "./injector";
3
+ import { publishExternalAPI } from "./public";
4
+ import { valueFn, extend } from "./shared/utils";
5
5
 
6
6
  describe("injector.modules", () => {
7
7
  beforeEach(() => {
package/src/loader.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  isValidObjectMaxDepth,
24
24
  minErrConfig,
25
25
  } from "./shared/utils";
26
- import { jqLite, startingTag } from "./jqLite";
26
+ import { jqLite, startingTag } from "./shared/jqlite/jqlite";
27
27
  import { createInjector } from "./injector";
28
28
  import { CACHE } from "./core/cache/cache";
29
29
 
package/src/public.js CHANGED
@@ -100,8 +100,8 @@ import { $TimeoutProvider } from "./core/timeout/timeout";
100
100
  import { SanitizeUriProvider } from "./core/sanitize/sanitize-uri";
101
101
  import { setupModuleLoader } from "./loader";
102
102
  import { initAnimateModule } from "./animations/module";
103
- import { initMessageModule } from "./exts/messages";
104
- import { initAriaModule } from "./exts/aria";
103
+ import { initMessageModule } from "./exts/messages/messages";
104
+ import { initAriaModule } from "./exts/aria/aria";
105
105
  import { initRouter } from "./router/index";
106
106
 
107
107
  export function publishExternalAPI() {
@@ -1,5 +1,5 @@
1
- import { publishExternalAPI } from "../public";
2
- import { createInjector } from "../injector";
1
+ import { publishExternalAPI } from "./public";
2
+ import { createInjector } from "./injector";
3
3
 
4
4
  describe("public", () => {
5
5
  beforeEach(() => {
@@ -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/router/common/glob.spec.js"></script>
14
+ </head>
15
+ <body>
16
+ <div id="dummy"></div>
17
+ </body>
18
+ </html>
@@ -1,6 +1,6 @@
1
1
  import { test, expect } from "@playwright/test";
2
2
 
3
- const TEST_URL = "src/router/common/glob.spec.js";
3
+ const TEST_URL = "src/router/common/glob.html";
4
4
 
5
5
  test("unit tests contain no errors", async ({ page }) => {
6
6
  await page.goto(TEST_URL);
@@ -5,7 +5,7 @@ import { parse } from "../../shared/hof";
5
5
  import { ResolveContext } from "../resolve/resolve-context";
6
6
  import { trace } from "../common/trace";
7
7
  import { Ng1ViewConfig } from "../state/views";
8
- import { jqLite } from "../../jqLite";
8
+ import { jqLite } from "../../shared/jqlite/jqlite";
9
9
  import { getLocals } from "../state/state-registry";
10
10
  /**
11
11
  * `ui-view`: A viewport directive which is filled in by a view from the active state.
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../../jqLite";
1
+ import { jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { browserTrigger, wait } from "../test-utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { isFunction } from "../../shared/utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { wait } from "../test-utils";
@@ -1,4 +1,4 @@
1
- import { dealoc } from "../../jqLite";
1
+ import { dealoc } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { map, find } from "../../shared/common";
@@ -6,7 +6,7 @@
6
6
  // }
7
7
  // }
8
8
 
9
- import { dealoc, jqLite } from "../../jqLite";
9
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
10
10
  import { Angular } from "../../loader";
11
11
  import { publishExternalAPI } from "../../public";
12
12
  import { wait } from "../test-utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { wait } from "../test-utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { wait } from "../test-utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { curry } from "../../shared/hof";
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "../shared/jqlite/jqlite";
2
2
  import { urlResolve } from "../core/url-utils/url-utils";
3
3
  import { forEach, isUndefined, equals } from "../shared/utils";
4
4
 
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "../shared/jqlite/jqlite";
2
2
 
3
3
  /**
4
4
  * @ngdoc service
@@ -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,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 "../shared/jqlite/jqlite";
2
2
 
3
3
  /**
4
4
  * @param {HTMLElement} element
File without changes
File without changes