@angular-wave/angular.ts 0.9.0 → 0.9.1

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 (208) hide show
  1. package/@types/core/scope/scope.d.ts +1 -4
  2. package/@types/interface.d.ts +17 -3
  3. package/@types/shared/interface.d.ts +17 -0
  4. package/@types/shared/utils.d.ts +4 -19
  5. package/dist/angular-ts.esm.js +29 -152
  6. package/dist/angular-ts.umd.js +29 -152
  7. package/dist/angular-ts.umd.min.js +1 -1
  8. package/docs/layouts/shortcodes/version.html +1 -1
  9. package/docs/static/typedoc/assets/hierarchy.js +1 -1
  10. package/docs/static/typedoc/assets/main.js +2 -2
  11. package/docs/static/typedoc/assets/navigation.js +1 -1
  12. package/docs/static/typedoc/assets/search.js +1 -1
  13. package/docs/static/typedoc/classes/Location.html +20 -20
  14. package/docs/static/typedoc/classes/LocationProvider.html +5 -5
  15. package/docs/static/typedoc/classes/LogProvider.html +3 -3
  16. package/docs/static/typedoc/classes/PubSub.html +21 -21
  17. package/docs/static/typedoc/classes/PubSubProvider.html +1 -1
  18. package/docs/static/typedoc/classes/TemplateCacheProvider.html +2 -2
  19. package/docs/static/typedoc/hierarchy.html +1 -1
  20. package/docs/static/typedoc/index.html +1 -1
  21. package/docs/static/typedoc/interfaces/ChangesObject.html +3 -3
  22. package/docs/static/typedoc/interfaces/ComponentOptions.html +8 -8
  23. package/docs/static/typedoc/interfaces/Controller.html +6 -6
  24. package/docs/static/typedoc/interfaces/DefaultPorts.html +1 -1
  25. package/docs/static/typedoc/interfaces/Directive.html +18 -18
  26. package/docs/static/typedoc/interfaces/DirectivePrePost.html +1 -1
  27. package/docs/static/typedoc/interfaces/Html5Mode.html +1 -1
  28. package/docs/static/typedoc/interfaces/HttpProviderDefaults.html +7 -7
  29. package/docs/static/typedoc/interfaces/HttpService.html +21 -21
  30. package/docs/static/typedoc/interfaces/LogService.html +6 -6
  31. package/docs/static/typedoc/interfaces/NgModelController.html +15 -15
  32. package/docs/static/typedoc/interfaces/NgModelOptions.html +8 -8
  33. package/docs/static/typedoc/interfaces/Provider.html +17 -17
  34. package/docs/static/typedoc/interfaces/RequestConfig.html +15 -15
  35. package/docs/static/typedoc/interfaces/RequestShortcutConfig.html +11 -11
  36. package/docs/static/typedoc/interfaces/ServiceProvider.html +1 -1
  37. package/docs/static/typedoc/interfaces/TemplateCache.html +1 -1
  38. package/docs/static/typedoc/interfaces/TranscludeFunctionObject.html +4 -4
  39. package/docs/static/typedoc/interfaces/UrlParts.html +4 -4
  40. package/docs/static/typedoc/types/AnnotatedFactory.html +1 -1
  41. package/docs/static/typedoc/types/CloneAttachFunction.html +1 -1
  42. package/docs/static/typedoc/types/ControllerConstructor.html +1 -1
  43. package/docs/static/typedoc/types/DirectiveCompileFn.html +1 -1
  44. package/docs/static/typedoc/types/DirectiveController.html +1 -1
  45. package/docs/static/typedoc/types/DirectiveFactoryFn.html +1 -1
  46. package/docs/static/typedoc/types/DirectiveLinkFn.html +1 -1
  47. package/docs/static/typedoc/types/Expression.html +1 -1
  48. package/docs/static/typedoc/types/FilterFactory.html +1 -1
  49. package/docs/static/typedoc/types/FilterFn.html +1 -1
  50. package/docs/static/typedoc/types/Injectable.html +1 -1
  51. package/docs/static/typedoc/types/InjectableFactory.html +1 -1
  52. package/docs/static/typedoc/types/LogCall.html +1 -1
  53. package/docs/static/typedoc/types/LogServiceFactory.html +1 -1
  54. package/docs/static/typedoc/types/OnChangesObject.html +1 -1
  55. package/docs/static/typedoc/types/SwapModeType.html +1 -1
  56. package/docs/static/typedoc/types/TController.html +1 -1
  57. package/docs/static/typedoc/types/UrlChangeListener.html +4 -4
  58. package/docs/static/typedoc/variables/SwapMode.html +10 -10
  59. package/legacy.d.ts +0 -82
  60. package/package.json +2 -2
  61. package/src/animations/animate-js.js +2 -1
  62. package/src/animations/animate-queue.js +7 -6
  63. package/src/core/scope/scope.js +8 -10
  64. package/src/directive/http/form-router-test.html +44 -0
  65. package/src/directive/options/options-example.html +7 -3
  66. package/src/directive/options/options.js +1 -0
  67. package/src/directive/options/options.spec.js +117 -170
  68. package/src/interface.ts +20 -3
  69. package/src/router/directives/view-directive.js +0 -1
  70. package/src/router/resolve/resolve-context.js +0 -19
  71. package/src/router/state/state-registry.js +3 -10
  72. package/src/router/state/state-service.js +5 -5
  73. package/src/router/transition/transition.js +1 -86
  74. package/src/router/view-hook.spec.js +1 -1
  75. package/src/shared/interface.ts +19 -0
  76. package/src/shared/utils.js +3 -12
  77. package/tsconfig.types.json +2 -2
  78. package/@types/angular.d.ts +0 -150
  79. package/@types/animations/animate-cache.d.ts +0 -50
  80. package/@types/animations/animate-children-directive.d.ts +0 -10
  81. package/@types/animations/animate-css-driver.d.ts +0 -18
  82. package/@types/animations/animate-css.d.ts +0 -18
  83. package/@types/animations/animate-js-driver.d.ts +0 -14
  84. package/@types/animations/animate-js.d.ts +0 -23
  85. package/@types/animations/animate-queue.d.ts +0 -28
  86. package/@types/animations/animate-runner.d.ts +0 -31
  87. package/@types/animations/animate-swap.d.ts +0 -9
  88. package/@types/animations/animate.d.ts +0 -450
  89. package/@types/animations/animation.d.ts +0 -14
  90. package/@types/animations/interface.d.ts +0 -17
  91. package/@types/animations/raf-scheduler.d.ts +0 -37
  92. package/@types/animations/shared.d.ts +0 -74
  93. package/@types/core/compile/compile.d.ts +0 -201
  94. package/@types/core/controller/controller.d.ts +0 -54
  95. package/@types/core/di/injector.d.ts +0 -22
  96. package/@types/core/filter/filter.d.ts +0 -23
  97. package/@types/core/interpolate/interpolate.d.ts +0 -38
  98. package/@types/core/parse/ast/ast-node.d.ts +0 -56
  99. package/@types/core/parse/ast/ast.d.ts +0 -164
  100. package/@types/core/parse/lexer/lexer.d.ts +0 -119
  101. package/@types/core/parse/lexer/token.d.ts +0 -17
  102. package/@types/core/parse/parse.d.ts +0 -33
  103. package/@types/core/parse/parser/parser.d.ts +0 -41
  104. package/@types/core/sanitize/interface.d.ts +0 -10
  105. package/@types/core/sanitize/sanitize-uri.d.ts +0 -40
  106. package/@types/directive/aria/aria.d.ts +0 -104
  107. package/@types/directive/attrs/attrs.d.ts +0 -8
  108. package/@types/directive/bind/bind.d.ts +0 -18
  109. package/@types/directive/channel/channel.d.ts +0 -10
  110. package/@types/directive/class/class.d.ts +0 -3
  111. package/@types/directive/cloak/cloak.d.ts +0 -4
  112. package/@types/directive/controller/controller.d.ts +0 -4
  113. package/@types/directive/events/events.d.ts +0 -21
  114. package/@types/directive/form/form.d.ts +0 -264
  115. package/@types/directive/http/http.d.ts +0 -46
  116. package/@types/directive/if/if.d.ts +0 -10
  117. package/@types/directive/include/include.d.ts +0 -28
  118. package/@types/directive/init/init.d.ts +0 -4
  119. package/@types/directive/input/input.d.ts +0 -70
  120. package/@types/directive/messages/messages.d.ts +0 -63
  121. package/@types/directive/model/model.d.ts +0 -515
  122. package/@types/directive/model-options/model-options.d.ts +0 -56
  123. package/@types/directive/non-bindable/non-bindable.d.ts +0 -4
  124. package/@types/directive/observe/observe.d.ts +0 -9
  125. package/@types/directive/options/options.d.ts +0 -13
  126. package/@types/directive/ref/ref.d.ts +0 -11
  127. package/@types/directive/repeat/repeat.d.ts +0 -11
  128. package/@types/directive/script/script.d.ts +0 -10
  129. package/@types/directive/select/select.d.ts +0 -15
  130. package/@types/directive/setter/setter.d.ts +0 -12
  131. package/@types/directive/show-hide/show-hide.d.ts +0 -19
  132. package/@types/directive/style/style.d.ts +0 -4
  133. package/@types/directive/switch/switch.d.ts +0 -18
  134. package/@types/directive/transclude/transclude.d.ts +0 -10
  135. package/@types/directive/validators/validators.d.ts +0 -149
  136. package/@types/filters/filter.d.ts +0 -4
  137. package/@types/filters/filters.d.ts +0 -38
  138. package/@types/filters/limit-to.d.ts +0 -4
  139. package/@types/filters/order-by.d.ts +0 -7
  140. package/@types/index.d.ts +0 -2
  141. package/@types/ng.d.ts +0 -8
  142. package/@types/router/common/trace.d.ts +0 -66
  143. package/@types/router/directives/state-directives.d.ts +0 -46
  144. package/@types/router/directives/view-directive.d.ts +0 -138
  145. package/@types/router/glob/glob.d.ts +0 -81
  146. package/@types/router/hooks/core-resolvables.d.ts +0 -2
  147. package/@types/router/hooks/ignored-transition.d.ts +0 -1
  148. package/@types/router/hooks/invalid-transition.d.ts +0 -1
  149. package/@types/router/hooks/lazy-load.d.ts +0 -42
  150. package/@types/router/hooks/on-enter-exit-retain.d.ts +0 -3
  151. package/@types/router/hooks/redirect-to.d.ts +0 -4
  152. package/@types/router/hooks/resolve.d.ts +0 -4
  153. package/@types/router/hooks/update-globals.d.ts +0 -1
  154. package/@types/router/hooks/url.d.ts +0 -5
  155. package/@types/router/hooks/views.d.ts +0 -5
  156. package/@types/router/params/interface.d.ts +0 -606
  157. package/@types/router/params/param-factory.d.ts +0 -16
  158. package/@types/router/params/param-type.d.ts +0 -59
  159. package/@types/router/params/param-types.d.ts +0 -36
  160. package/@types/router/params/param.d.ts +0 -71
  161. package/@types/router/params/state-params.d.ts +0 -12
  162. package/@types/router/path/path-node.d.ts +0 -38
  163. package/@types/router/path/path-utils.d.ts +0 -88
  164. package/@types/router/resolve/interface.d.ts +0 -200
  165. package/@types/router/resolve/resolvable.d.ts +0 -50
  166. package/@types/router/resolve/resolve-context.d.ts +0 -102
  167. package/@types/router/router.d.ts +0 -47
  168. package/@types/router/state/interface.d.ts +0 -983
  169. package/@types/router/state/state-builder.d.ts +0 -95
  170. package/@types/router/state/state-matcher.d.ts +0 -7
  171. package/@types/router/state/state-object.d.ts +0 -83
  172. package/@types/router/state/state-queue-manager.d.ts +0 -29
  173. package/@types/router/state/state-registry.d.ts +0 -134
  174. package/@types/router/state/state-service.d.ts +0 -419
  175. package/@types/router/state/target-state.d.ts +0 -102
  176. package/@types/router/state/views.d.ts +0 -58
  177. package/@types/router/state-filters.d.ts +0 -39
  178. package/@types/router/template-factory.d.ts +0 -117
  179. package/@types/router/transition/hook-builder.d.ts +0 -45
  180. package/@types/router/transition/hook-registry.d.ts +0 -102
  181. package/@types/router/transition/interface.d.ts +0 -880
  182. package/@types/router/transition/reject-factory.d.ts +0 -43
  183. package/@types/router/transition/transition-event-type.d.ts +0 -24
  184. package/@types/router/transition/transition-hook.d.ts +0 -86
  185. package/@types/router/transition/transition-service.d.ts +0 -116
  186. package/@types/router/transition/transition.d.ts +0 -396
  187. package/@types/router/url/url-config.d.ts +0 -99
  188. package/@types/router/url/url-matcher.d.ts +0 -174
  189. package/@types/router/url/url-rule.d.ts +0 -161
  190. package/@types/router/url/url-rules.d.ts +0 -249
  191. package/@types/router/url/url-service.d.ts +0 -254
  192. package/@types/router/view/interface.d.ts +0 -44
  193. package/@types/router/view/view.d.ts +0 -149
  194. package/@types/router/view-scroll.d.ts +0 -10
  195. package/@types/services/anchor-scroll.d.ts +0 -25
  196. package/@types/services/cookie-reader.d.ts +0 -4
  197. package/@types/services/http/http.d.ts +0 -134
  198. package/@types/services/http-backend/http-backend.d.ts +0 -58
  199. package/@types/services/sce/sce.d.ts +0 -238
  200. package/@types/services/template-request.d.ts +0 -55
  201. package/@types/shared/common.d.ts +0 -197
  202. package/@types/shared/hof.d.ts +0 -108
  203. package/@types/shared/predicates.d.ts +0 -17
  204. package/@types/shared/queue.d.ts +0 -64
  205. package/@types/shared/strings.d.ts +0 -58
  206. package/@types/shared/test-utils.d.ts +0 -18
  207. package/docs/static/typedoc/classes/NgModule.html +0 -32
  208. package/src/router/params/README.md +0 -8
@@ -16,10 +16,6 @@ export function createScope(target?: any, context?: Scope): Scope;
16
16
  * @property {Object} locals
17
17
  */
18
18
  export const $postUpdateQueue: any[];
19
- /**
20
- * @type {Function[]}
21
- */
22
- export const $$applyAsyncQueue: Function[];
23
19
  export class RootScopeProvider {
24
20
  rootScope: Scope;
25
21
  $get: (
@@ -57,6 +53,7 @@ export const NONSCOPE: "$nonscope";
57
53
  * Scope class for the Proxy. It intercepts operations like property access (get)
58
54
  * and property setting (set), and adds support for deep change tracking and
59
55
  * observer-like behavior.
56
+ * @extends {Record<string, any>}
60
57
  */
61
58
  export class Scope {
62
59
  /**
@@ -1,6 +1,3 @@
1
- import { Attributes } from "./core/compile/attributes.js";
2
- import { Scope } from "./core/scope/scope.js";
3
- export * from "./core/di/ng-module.js";
4
1
  export * from "./services/http/interface.ts";
5
2
  export * from "./services/log/interface.ts";
6
3
  export * from "./services/log/log.js";
@@ -9,6 +6,23 @@ export * from "./services/location/location.js";
9
6
  export * from "./services/pubsub/pubsub.js";
10
7
  export * from "./services/template-cache/interface.ts";
11
8
  export * from "./services/template-cache/template-cache.js";
9
+ import { Attributes } from "./core/compile/attributes.js";
10
+ import { Scope } from "./core/scope/scope.js";
11
+ import { NgModule } from "./core/di/ng-module.js";
12
+ import { PubSubProvider, PubSub } from "./services/pubsub/pubsub.js";
13
+ import type { ErrorHandlingConfig as iErrorHandlingConfig } from "./shared/interface.ts";
14
+ declare global {
15
+ interface Function {
16
+ $inject?: readonly string[] | undefined;
17
+ }
18
+ namespace ng {
19
+ type Scope = typeof Scope;
20
+ type NgModule = typeof NgModule;
21
+ type PubSubProvider = typeof PubSubProvider;
22
+ type PubSub = typeof PubSub;
23
+ type ErrorHandlingConfig = iErrorHandlingConfig;
24
+ }
25
+ }
12
26
  /**
13
27
  * A JavaScript expression represented as a string, typically used in interpolation bindings.
14
28
  *
@@ -1,2 +1,19 @@
1
1
  export type Predicate<X> = (x?: X) => boolean;
2
2
  export type PredicateBinary<X, Y> = (x?: X, y?: Y) => boolean;
3
+ /**
4
+ * Error configuration object. May only contain the options that need to be updated.
5
+ */
6
+ export interface ErrorHandlingConfig {
7
+ /**
8
+ * The max depth for stringifying objects.
9
+ * Setting to a non-positive or non-numeric value removes the max depth limit.
10
+ * Default: 5.
11
+ */
12
+ objectMaxDepth?: number;
13
+ /**
14
+ * Specifies whether the generated error URL will contain the parameters
15
+ * of the thrown error. Default: true.
16
+ * When used without argument, it returns the current value.
17
+ */
18
+ urlErrorParamsEnabled?: boolean;
19
+ }
@@ -442,12 +442,12 @@ export function assertArgFn(
442
442
  *
443
443
  * Omitted or undefined options will leave the corresponding configuration values unchanged.
444
444
  *
445
- * @param {ErrorHandlingConfig} [config]
446
- * @returns {ErrorHandlingConfig}
445
+ * @param {import("./interface.ts").ErrorHandlingConfig} [config]
446
+ * @returns {import("./interface.ts").ErrorHandlingConfig}
447
447
  */
448
448
  export function errorHandlingConfig(
449
- config?: ErrorHandlingConfig,
450
- ): ErrorHandlingConfig;
449
+ config?: import("./interface.ts").ErrorHandlingConfig,
450
+ ): import("./interface.ts").ErrorHandlingConfig;
451
451
  /**
452
452
  * This object provides a utility for producing rich Error messages within
453
453
  * AngularTS. It can be called as follows:
@@ -573,18 +573,3 @@ export function wait(t?: number): Promise<void>;
573
573
  export function startsWith(str: string, search: string): boolean;
574
574
  export const isProxySymbol: unique symbol;
575
575
  export const ngAttrPrefixes: string[];
576
- /**
577
- * Error configuration object. May only contain the options that need to be updated.
578
- */
579
- export type ErrorHandlingConfig = {
580
- /**
581
- * - The max depth for stringifying objects. Setting to a
582
- * non-positive or non-numeric value removes the max depth limit. Default: 5.
583
- */
584
- objectMaxDepth?: number | undefined;
585
- /**
586
- * - Specifies whether the generated error URL will
587
- * contain the parameters of the thrown error. Default: true. When used without argument, it returns the current value.
588
- */
589
- urlErrorParamsEnabled?: boolean | undefined;
590
- };
@@ -1,4 +1,4 @@
1
- /* Version: 0.9.0 - September 12, 2025 22:41:28 */
1
+ /* Version: 0.9.1 - October 8, 2025 04:11:27 */
2
2
  const VALID_CLASS = "ng-valid";
3
3
  const INVALID_CLASS = "ng-invalid";
4
4
  const PRISTINE_CLASS = "ng-pristine";
@@ -906,16 +906,7 @@ function assertArgFn(arg, name, acceptArrayAnnotation) {
906
906
  return arg;
907
907
  }
908
908
 
909
- /**
910
- * @typedef {Object} ErrorHandlingConfig
911
- * Error configuration object. May only contain the options that need to be updated.
912
- * @property {number=} objectMaxDepth - The max depth for stringifying objects. Setting to a
913
- * non-positive or non-numeric value removes the max depth limit. Default: 5.
914
- * @property {boolean=} urlErrorParamsEnabled - Specifies whether the generated error URL will
915
- * contain the parameters of the thrown error. Default: true. When used without argument, it returns the current value.
916
- */
917
-
918
- /** @type {ErrorHandlingConfig} */
909
+ /** @type {import("./interface.js").ErrorHandlingConfig} */
919
910
  const minErrConfig = {
920
911
  objectMaxDepth: 5,
921
912
  urlErrorParamsEnabled: true,
@@ -927,8 +918,8 @@ const minErrConfig = {
927
918
  *
928
919
  * Omitted or undefined options will leave the corresponding configuration values unchanged.
929
920
  *
930
- * @param {ErrorHandlingConfig} [config]
931
- * @returns {ErrorHandlingConfig}
921
+ * @param {import("./interface.ts").ErrorHandlingConfig} [config]
922
+ * @returns {import("./interface.ts").ErrorHandlingConfig}
932
923
  */
933
924
  function errorHandlingConfig(config) {
934
925
  if (isObject(config)) {
@@ -12386,6 +12377,7 @@ const optGroupTemplate = document.createElement("optgroup");
12386
12377
 
12387
12378
  const NG_OPTIONS_REGEXP =
12388
12379
  /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/;
12380
+
12389
12381
  // 1: value expression (valueFn)
12390
12382
  // 2: label expression (displayFn)
12391
12383
  // 3: group by expression (groupByFn)
@@ -20213,6 +20205,7 @@ const NONSCOPE = "$nonscope";
20213
20205
  * Scope class for the Proxy. It intercepts operations like property access (get)
20214
20206
  * and property setting (set), and adds support for deep change tracking and
20215
20207
  * observer-like behavior.
20208
+ * @extends {Record<string, any>}
20216
20209
  */
20217
20210
  class Scope {
20218
20211
  /**
@@ -20628,6 +20621,7 @@ class Scope {
20628
20621
  return true;
20629
20622
  }
20630
20623
 
20624
+ /** @internal **/
20631
20625
  #checkeListenersForAllKeys(value) {
20632
20626
  if (isUndefined(value)) {
20633
20627
  return;
@@ -20967,6 +20961,7 @@ class Scope {
20967
20961
  return proxy;
20968
20962
  }
20969
20963
 
20964
+ /** @internal **/
20970
20965
  #registerKey(key, listener) {
20971
20966
  if (this.watchers.has(key)) {
20972
20967
  this.watchers.get(key).push(listener);
@@ -20975,6 +20970,7 @@ class Scope {
20975
20970
  }
20976
20971
  }
20977
20972
 
20973
+ /** @internal **/
20978
20974
  #registerForeignKey(key, listener) {
20979
20975
  if (this.foreignListeners.has(key)) {
20980
20976
  this.foreignListeners.get(key).push(listener);
@@ -21106,7 +21102,8 @@ class Scope {
21106
21102
  }
21107
21103
 
21108
21104
  /**
21109
- * @returns {void}
21105
+ * @internal
21106
+ * @returns {any}
21110
21107
  */
21111
21108
  #eventHelper({ name, event, broadcast }, ...args) {
21112
21109
  if (!broadcast) {
@@ -21187,6 +21184,7 @@ class Scope {
21187
21184
  }
21188
21185
 
21189
21186
  /**
21187
+ * @internal
21190
21188
  * @returns {boolean}
21191
21189
  */
21192
21190
  #isRoot() {
@@ -21221,6 +21219,7 @@ class Scope {
21221
21219
  }
21222
21220
 
21223
21221
  /**
21222
+ * @internal
21224
21223
  * @param {Listener} listener - The property path that was changed.
21225
21224
  */
21226
21225
  #notifyListener(listener, target) {
@@ -23256,15 +23255,15 @@ function AnimateQueueProvider($animateProvider) {
23256
23255
  });
23257
23256
 
23258
23257
  this.$get = [
23259
- "$rootScope",
23260
- "$injector",
23261
- "$$animation",
23262
- "$$AnimateRunner",
23263
- "$templateRequest",
23258
+ $injectTokens.$rootScope,
23259
+ $injectTokens.$injector,
23260
+ $injectTokens.$$animation,
23261
+ $injectTokens.$$AnimateRunner,
23262
+ $injectTokens.$templateRequest,
23264
23263
  /**
23265
23264
  *
23266
23265
  * @param {import('../core/scope/scope.js').Scope} $rootScope
23267
- * @param {*} $injector
23266
+ * @param {import('../core/di/internal-injector.js').InjectorService} $injector
23268
23267
  * @param {*} $$animation
23269
23268
  * @param {*} $$AnimateRunner
23270
23269
  * @param {*} $templateRequest
@@ -23977,7 +23976,7 @@ function AnimateQueueProvider($animateProvider) {
23977
23976
  AnimateJsProvider.$inject = ["$animateProvider"];
23978
23977
  function AnimateJsProvider($animateProvider) {
23979
23978
  this.$get = [
23980
- "$injector",
23979
+ $injectTokens.$injector,
23981
23980
  "$$AnimateRunner",
23982
23981
  /**
23983
23982
  *
@@ -25835,20 +25834,6 @@ const anyTrueR = (memo, elem) => memo || elem;
25835
25834
  * ```
25836
25835
  */
25837
25836
  const unnestR = (memo, elem) => memo.concat(elem);
25838
- /**
25839
- * Reduce function which recursively un-nests all arrays
25840
- *
25841
- * @example
25842
- * ```
25843
- *
25844
- * let input = [ [ "a", "b" ], [ "c", "d" ], [ [ "double", "nested" ] ] ];
25845
- * input.reduce(unnestR, []) // [ "a", "b", "c", "d", "double, "nested" ]
25846
- * ```
25847
- */
25848
- const flattenR = (memo, elem) =>
25849
- Array.isArray(elem)
25850
- ? memo.concat(elem.reduce(flattenR, []))
25851
- : pushR(memo, elem);
25852
25837
  /**
25853
25838
  * Reduce function that pushes an object to an array, then returns the array.
25854
25839
  * Mostly just for [[flattenR]] and [[uniqR]]
@@ -27949,10 +27934,6 @@ class ResolveContext {
27949
27934
  return Promise.all(promises);
27950
27935
  }
27951
27936
 
27952
- injector() {
27953
- return this._injector || (this._injector = new UIInjectorImpl());
27954
- }
27955
-
27956
27937
  findNode(resolvable) {
27957
27938
  return find(this._path, (node) => node.resolvables.includes(resolvable));
27958
27939
  }
@@ -27987,21 +27968,6 @@ class ResolveContext {
27987
27968
  }
27988
27969
  }
27989
27970
 
27990
- class UIInjectorImpl {
27991
- constructor() {
27992
- this.native = window["angular"].$injector;
27993
- }
27994
- get(token) {
27995
- return window["angular"].$injector.get(token);
27996
- }
27997
- getAsync(token) {
27998
- return Promise.resolve(window["angular"].$injector.get(token));
27999
- }
28000
- getNative(token) {
28001
- return window["angular"].$injector.get(token);
28002
- }
28003
- }
28004
-
28005
27971
  function getViewConfigFactory() {
28006
27972
  let templateFactory = null;
28007
27973
  return (path, view) => {
@@ -29703,90 +29669,7 @@ class Transition {
29703
29669
  .reduce((acc, obj) => ({ ...acc, ...obj }), {}),
29704
29670
  );
29705
29671
  }
29706
- paramsChanged() {
29707
- const fromParams = this.params("from");
29708
- const toParams = this.params("to");
29709
- // All the parameters declared on both the "to" and "from" paths
29710
- const allParamDescriptors = []
29711
- .concat(this._treeChanges.to)
29712
- .concat(this._treeChanges.from)
29713
- .map((pathNode) => pathNode.paramSchema)
29714
- .reduce(flattenR, [])
29715
- .reduce(uniqR, []);
29716
- const changedParamDescriptors = Param.changed(
29717
- allParamDescriptors,
29718
- fromParams,
29719
- toParams,
29720
- );
29721
- return changedParamDescriptors.reduce((changedValues, descriptor) => {
29722
- changedValues[descriptor.id] = toParams[descriptor.id];
29723
- return changedValues;
29724
- }, {});
29725
- }
29726
- /**
29727
- * Creates a [[UIInjector]] Dependency Injector
29728
- *
29729
- * Returns a Dependency Injector for the Transition's target state (to state).
29730
- * The injector provides resolve values which the target state has access to.
29731
- *
29732
- * The `UIInjector` can also provide values from the native root/global injector (ng1/ng2).
29733
- *
29734
- * #### Example:
29735
- * ```js
29736
- * .onEnter({ entering: 'myState' }, trans => {
29737
- * var myResolveValue = trans.injector().get('myResolve');
29738
- * // Inject a global service from the global/native injector (if it exists)
29739
- * var MyService = trans.injector().get('MyService');
29740
- * })
29741
- * ```
29742
- *
29743
- * In some cases (such as `onBefore`), you may need access to some resolve data but it has not yet been fetched.
29744
- * You can use [[UIInjector.getAsync]] to get a promise for the data.
29745
- * #### Example:
29746
- * ```js
29747
- * .onBefore({}, trans => {
29748
- * return trans.injector().getAsync('myResolve').then(myResolveValue =>
29749
- * return myResolveValue !== 'ABORT';
29750
- * });
29751
- * });
29752
- * ```
29753
- *
29754
- * If a `state` is provided, the injector that is returned will be limited to resolve values that the provided state has access to.
29755
- * This can be useful if both a parent state `foo` and a child state `foo.bar` have both defined a resolve such as `data`.
29756
- * #### Example:
29757
- * ```js
29758
- * .onEnter({ to: 'foo.bar' }, trans => {
29759
- * // returns result of `foo` state's `myResolve` resolve
29760
- * // even though `foo.bar` also has a `myResolve` resolve
29761
- * var fooData = trans.injector('foo').get('myResolve');
29762
- * });
29763
- * ```
29764
- *
29765
- * If you need resolve data from the exiting states, pass `'from'` as `pathName`.
29766
- * The resolve data from the `from` path will be returned.
29767
- * #### Example:
29768
- * ```js
29769
- * .onExit({ exiting: 'foo.bar' }, trans => {
29770
- * // Gets the resolve value of `myResolve` from the state being exited
29771
- * var fooData = trans.injector(null, 'from').get('myResolve');
29772
- * });
29773
- * ```
29774
- *
29775
- *
29776
- * @param state Limits the resolves provided to only the resolves the provided state has access to.
29777
- * @param pathName Default: `'to'`: Chooses the path for which to create the injector. Use this to access resolves for `exiting` states.
29778
- *
29779
- * @returns a [[UIInjector]]
29780
- */
29781
- injector(state, pathName = "to") {
29782
- let path = this._treeChanges[pathName];
29783
- if (state)
29784
- path = PathUtils.subPath(
29785
- path,
29786
- (node) => node.state === state || node.state.name === state,
29787
- );
29788
- return new ResolveContext(path).injector();
29789
- }
29672
+
29790
29673
  /**
29791
29674
  * Gets all available resolve tokens (keys)
29792
29675
  *
@@ -31019,19 +30902,20 @@ class StateProvider {
31019
30902
  return this.globals.$current;
31020
30903
  }
31021
30904
 
31022
- /* @ignore */ static $inject = ["$routerProvider", "$transitionsProvider"];
30905
+ static $inject = ["$routerProvider", "$transitionsProvider"];
31023
30906
 
31024
- // Needs access to urlService, stateRegistry
31025
30907
  /**
31026
30908
  *
31027
30909
  * @param {import('../router.js').Router} globals
31028
30910
  * @param {*} transitionService
30911
+ * @param {import('../../core/di/internal-injector.js').InjectorService} $injector
31029
30912
  */
31030
- constructor(globals, transitionService) {
30913
+ constructor(globals, transitionService, $injector) {
31031
30914
  this.stateRegistry = undefined;
31032
30915
  this.urlService = undefined;
31033
30916
  this.globals = globals;
31034
30917
  this.transitionService = transitionService;
30918
+ this.$injector = $injector;
31035
30919
  this.invalidCallbacks = [];
31036
30920
 
31037
30921
  this._defaultErrorHandler = function $defaultErrorHandler($error$) {
@@ -31188,7 +31072,7 @@ class StateProvider {
31188
31072
  const latest = latestThing();
31189
31073
  /** @type {Queue<Function>} */
31190
31074
  const callbackQueue = new Queue(this.invalidCallbacks.slice());
31191
- const injector = new ResolveContext(fromPath).injector();
31075
+ const injector = this.$injector;
31192
31076
  const checkForRedirect = (result) => {
31193
31077
  if (!(result instanceof TargetState)) {
31194
31078
  return;
@@ -34116,12 +34000,7 @@ class StateQueueManager {
34116
34000
  *
34117
34001
  */
34118
34002
  class StateRegistryProvider {
34119
- /* @ignore */ static $inject = provider([
34120
- $injectTokens.$url,
34121
- $injectTokens.$state,
34122
- $injectTokens.$router,
34123
- $injectTokens.$view,
34124
- ]);
34003
+ static $inject = provider([$injectTokens.$url, $injectTokens.$state, $injectTokens.$router, $injectTokens.$view]);
34125
34004
 
34126
34005
  /**
34127
34006
  * @param urlService
@@ -34160,11 +34039,9 @@ class StateRegistryProvider {
34160
34039
  globals.current = globals.$current.self;
34161
34040
  }
34162
34041
 
34163
- /** @type {import('../../interface.ts').AnnotatedFactory} */
34164
34042
  $get = [
34165
- "$injector",
34043
+ $injectTokens.$injector,
34166
34044
  /**
34167
- *
34168
34045
  * @param {import("../../core/di/internal-injector").InjectorService} $injector
34169
34046
  * @returns {StateRegistryProvider}
34170
34047
  */
@@ -35825,7 +35702,7 @@ class Angular {
35825
35702
  /**
35826
35703
  * @type {string} `version` from `package.json`
35827
35704
  */
35828
- this.version = "0.9.0"; //inserted via rollup plugin
35705
+ this.version = "0.9.1"; //inserted via rollup plugin
35829
35706
 
35830
35707
  /** @type {!Array<string|any>} */
35831
35708
  this.bootsrappedModules = [];