@angular-wave/angular.ts 0.0.23 → 0.0.25

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 (62) 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/src/core/compile.js +2 -3
  5. package/src/core/parser/parse.js +2 -3
  6. package/src/router/directives/{stateDirectives.js → state-directives.js} +1 -2
  7. package/src/router/directives/{viewDirective.js → view-directive.js} +1 -1
  8. package/src/router/globals.js +1 -1
  9. package/src/router/hooks/{ignoredTransition.js → ignored-transition.js} +1 -1
  10. package/src/router/hooks/{redirectTo.js → redirect-to.js} +1 -1
  11. package/src/router/hooks/resolve.js +1 -1
  12. package/src/router/index.js +7 -9
  13. package/src/router/{locationServices.js → location-services.js} +3 -27
  14. package/src/router/params/{paramTypes.js → param-types.js} +3 -4
  15. package/src/router/params/param.js +1 -1
  16. package/src/router/path/{pathUtils.js → path-utils.js} +2 -2
  17. package/src/router/resolve/resolvable.js +2 -2
  18. package/src/router/resolve/{resolveContext.js → resolve-context.js} +1 -1
  19. package/src/router/router.js +11 -9
  20. package/src/router/services.js +25 -4
  21. package/src/router/state/{stateBuilder.js → state-builder.js} +2 -3
  22. package/src/router/state/{stateQueueManager.js → state-queue-manager.js} +2 -1
  23. package/src/router/state/{stateRegistry.js → state-registry.js} +3 -3
  24. package/src/router/state/{stateService.js → state-service.js} +8 -7
  25. package/src/router/state/views.js +1 -1
  26. package/src/router/{templateFactory.js → template-factory.js} +84 -48
  27. package/src/router/transition/{hookBuilder.js → hook-builder.js} +3 -3
  28. package/src/router/transition/{transitionEventType.js → transition-event-type.js} +1 -1
  29. package/src/router/transition/{transitionHook.js → transition-hook.js} +2 -2
  30. package/src/router/transition/{transitionService.js → transition-service.js} +12 -46
  31. package/src/router/transition/transition.js +8 -40
  32. package/src/router/url/{urlConfig.js → url-config.js} +1 -1
  33. package/src/router/url/{urlMatcherFactory.js → url-matcher-factory.js} +1 -1
  34. package/src/router/url/{urlMatcher.js → url-matcher.js} +0 -2
  35. package/src/router/url/{urlRouter.js → url-router.js} +1 -5
  36. package/src/router/url/{urlRule.js → url-rule.js} +4 -4
  37. package/src/router/url/{urlRules.js → url-rules.js} +3 -4
  38. package/src/router/url/{urlService.js → url-service.js} +10 -6
  39. package/src/router/view/view.js +1 -5
  40. package/src/shared/common.js +0 -2
  41. package/src/shared/strings.js +2 -2
  42. package/test/router/view.spec.js +5 -5
  43. package/test/test-utils.js +9 -0
  44. package/types/router/legacy/resolveService.d.ts +1 -1
  45. package/types/router/statebuilders/onEnterExitRetain.d.ts +1 -1
  46. package/types/router/statebuilders/views.d.ts +1 -2
  47. /package/src/router/hooks/{coreResolvables.js → core-resolvables.js} +0 -0
  48. /package/src/router/hooks/{invalidTransition.js → invalid-transition.js} +0 -0
  49. /package/src/router/hooks/{lazyLoad.js → lazy-load.js} +0 -0
  50. /package/src/router/hooks/{onEnterExitRetain.js → on-enter-exit-retain.js} +0 -0
  51. /package/src/router/hooks/{updateGlobals.js → update-globals.js} +0 -0
  52. /package/src/router/params/{paramType.js → param-type.js} +0 -0
  53. /package/src/router/params/{stateParams.js → state-params.js} +0 -0
  54. /package/src/router/path/{pathNode.js → path-node.js} +0 -0
  55. /package/src/router/state/{stateMatcher.js → state-matcher.js} +0 -0
  56. /package/src/router/state/{stateObject.js → state-object.js} +0 -0
  57. /package/src/router/state/{targetState.js → target-state.js} +0 -0
  58. /package/src/router/{stateFilters.js → state-filters.js} +0 -0
  59. /package/src/router/{stateProvider.js → state-provider.js} +0 -0
  60. /package/src/router/transition/{hookRegistry.js → hook-registry.js} +0 -0
  61. /package/src/router/transition/{rejectFactory.js → reject-factory.js} +0 -0
  62. /package/src/router/{viewScroll.js → view-scroll.js} +0 -0
@@ -1,11 +1,20 @@
1
1
  import { jqLite } from "../src/jqLite";
2
2
 
3
+ /**
4
+ * @param {HTMLElement} element
5
+ * @param {string} event
6
+ */
3
7
  export function browserTrigger(element, event) {
4
8
  jqLite(element)[0].dispatchEvent(
5
9
  new Event(event, { bubbles: true, cancelable: true }),
6
10
  );
7
11
  }
8
12
 
13
+ /**
14
+ *
15
+ * @param {number} t milliseconds to wait
16
+ * @returns
17
+ */
9
18
  export function wait(t) {
10
19
  return new Promise((resolve, _) => setTimeout(resolve, t));
11
20
  }
@@ -1,5 +1,5 @@
1
1
  /** @publicapi @module ng1 */ /** */
2
- import { Obj } from "./core";
2
+ import { Obj } from "../core";
3
3
  /** @hidden */
4
4
  export declare const resolveFactory: () => {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /** @publicapi @module ng1 */ /** */
2
- import { StateObject, TransitionStateHookFn } from "./core";
2
+ import { StateObject, TransitionStateHookFn } from "../core";
3
3
  /**
4
4
  * This is a [[StateBuilder.builder]] function for angular1 `onEnter`, `onExit`,
5
5
  * `onRetain` callback hooks on a [[Ng1StateDeclaration]].
@@ -1,4 +1,3 @@
1
- /** @publicapi @module ng1 */ /** */
2
1
  import {
3
2
  StateObject,
4
3
  ViewConfig,
@@ -6,7 +5,7 @@ import {
6
5
  PathNode,
7
6
  ResolveContext,
8
7
  IInjectable,
9
- } from "./core";
8
+ } from "../core";
10
9
  import { Ng1ViewDeclaration } from "../interface";
11
10
  import { TemplateFactory } from "../templateFactory";
12
11
  /** @internalapi */
File without changes
File without changes
File without changes