@angular-wave/angular.ts 0.9.1 → 0.9.2

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 (133) hide show
  1. package/@types/angular.d.ts +150 -0
  2. package/@types/animations/animate-cache.d.ts +50 -0
  3. package/@types/animations/animate-children-directive.d.ts +10 -0
  4. package/@types/animations/animate-css-driver.d.ts +18 -0
  5. package/@types/animations/animate-css.d.ts +18 -0
  6. package/@types/animations/animate-js-driver.d.ts +14 -0
  7. package/@types/animations/animate-js.d.ts +23 -0
  8. package/@types/animations/animate-queue.d.ts +28 -0
  9. package/@types/animations/animate-runner.d.ts +31 -0
  10. package/@types/animations/animate-swap.d.ts +9 -0
  11. package/@types/animations/animate.d.ts +450 -0
  12. package/@types/animations/animation.d.ts +14 -0
  13. package/@types/animations/interface.d.ts +17 -0
  14. package/@types/animations/raf-scheduler.d.ts +37 -0
  15. package/@types/animations/shared.d.ts +74 -0
  16. package/@types/core/compile/compile.d.ts +201 -0
  17. package/@types/core/controller/controller.d.ts +54 -0
  18. package/@types/core/di/injector.d.ts +22 -0
  19. package/@types/core/filter/filter.d.ts +23 -0
  20. package/@types/core/interpolate/interpolate.d.ts +38 -0
  21. package/@types/core/parse/ast/ast-node.d.ts +56 -0
  22. package/@types/core/parse/ast/ast.d.ts +164 -0
  23. package/@types/core/parse/lexer/lexer.d.ts +119 -0
  24. package/@types/core/parse/lexer/token.d.ts +17 -0
  25. package/@types/core/parse/parse.d.ts +33 -0
  26. package/@types/core/parse/parser/parser.d.ts +41 -0
  27. package/@types/core/sanitize/sanitize-uri.d.ts +40 -0
  28. package/@types/directive/aria/aria.d.ts +104 -0
  29. package/@types/directive/attrs/attrs.d.ts +8 -0
  30. package/@types/directive/bind/bind.d.ts +18 -0
  31. package/@types/directive/channel/channel.d.ts +10 -0
  32. package/@types/directive/class/class.d.ts +3 -0
  33. package/@types/directive/cloak/cloak.d.ts +4 -0
  34. package/@types/directive/controller/controller.d.ts +4 -0
  35. package/@types/directive/events/events.d.ts +21 -0
  36. package/@types/directive/form/form.d.ts +264 -0
  37. package/@types/directive/http/http.d.ts +46 -0
  38. package/@types/directive/if/if.d.ts +10 -0
  39. package/@types/directive/include/include.d.ts +28 -0
  40. package/@types/directive/init/init.d.ts +4 -0
  41. package/@types/directive/input/input.d.ts +70 -0
  42. package/@types/directive/messages/messages.d.ts +63 -0
  43. package/@types/directive/model/model.d.ts +515 -0
  44. package/@types/directive/model-options/model-options.d.ts +56 -0
  45. package/@types/directive/non-bindable/non-bindable.d.ts +4 -0
  46. package/@types/directive/observe/observe.d.ts +9 -0
  47. package/@types/directive/options/options.d.ts +13 -0
  48. package/@types/directive/ref/ref.d.ts +11 -0
  49. package/@types/directive/repeat/repeat.d.ts +11 -0
  50. package/@types/directive/script/script.d.ts +10 -0
  51. package/@types/directive/select/select.d.ts +15 -0
  52. package/@types/directive/setter/setter.d.ts +12 -0
  53. package/@types/directive/show-hide/show-hide.d.ts +19 -0
  54. package/@types/directive/style/style.d.ts +4 -0
  55. package/@types/directive/switch/switch.d.ts +18 -0
  56. package/@types/directive/transclude/transclude.d.ts +10 -0
  57. package/@types/directive/validators/validators.d.ts +149 -0
  58. package/@types/filters/filter.d.ts +4 -0
  59. package/@types/filters/filters.d.ts +38 -0
  60. package/@types/filters/limit-to.d.ts +4 -0
  61. package/@types/filters/order-by.d.ts +7 -0
  62. package/@types/index.d.ts +2 -0
  63. package/@types/interface.d.ts +1 -0
  64. package/@types/ng.d.ts +8 -0
  65. package/@types/router/common/trace.d.ts +66 -0
  66. package/@types/router/directives/state-directives.d.ts +46 -0
  67. package/@types/router/directives/view-directive.d.ts +138 -0
  68. package/@types/router/glob/glob.d.ts +81 -0
  69. package/@types/router/hooks/core-resolvables.d.ts +2 -0
  70. package/@types/router/hooks/ignored-transition.d.ts +1 -0
  71. package/@types/router/hooks/invalid-transition.d.ts +1 -0
  72. package/@types/router/hooks/lazy-load.d.ts +42 -0
  73. package/@types/router/hooks/on-enter-exit-retain.d.ts +3 -0
  74. package/@types/router/hooks/redirect-to.d.ts +4 -0
  75. package/@types/router/hooks/resolve.d.ts +4 -0
  76. package/@types/router/hooks/update-globals.d.ts +1 -0
  77. package/@types/router/hooks/url.d.ts +5 -0
  78. package/@types/router/hooks/views.d.ts +5 -0
  79. package/@types/router/params/interface.d.ts +606 -0
  80. package/@types/router/params/param-factory.d.ts +16 -0
  81. package/@types/router/params/param-type.d.ts +59 -0
  82. package/@types/router/params/param.d.ts +71 -0
  83. package/@types/router/params/state-params.d.ts +12 -0
  84. package/@types/router/path/path-node.d.ts +38 -0
  85. package/@types/router/path/path-utils.d.ts +88 -0
  86. package/@types/router/resolve/interface.d.ts +200 -0
  87. package/@types/router/resolve/resolvable.d.ts +50 -0
  88. package/@types/router/resolve/resolve-context.d.ts +93 -0
  89. package/@types/router/router.d.ts +47 -0
  90. package/@types/router/state/interface.d.ts +983 -0
  91. package/@types/router/state/state-builder.d.ts +95 -0
  92. package/@types/router/state/state-matcher.d.ts +7 -0
  93. package/@types/router/state/state-object.d.ts +83 -0
  94. package/@types/router/state/state-queue-manager.d.ts +29 -0
  95. package/@types/router/state/state-registry.d.ts +133 -0
  96. package/@types/router/state/state-service.d.ts +425 -0
  97. package/@types/router/state/target-state.d.ts +102 -0
  98. package/@types/router/state/views.d.ts +58 -0
  99. package/@types/router/state-filters.d.ts +39 -0
  100. package/@types/router/template-factory.d.ts +117 -0
  101. package/@types/router/transition/hook-builder.d.ts +45 -0
  102. package/@types/router/transition/hook-registry.d.ts +102 -0
  103. package/@types/router/transition/interface.d.ts +880 -0
  104. package/@types/router/transition/reject-factory.d.ts +43 -0
  105. package/@types/router/transition/transition-event-type.d.ts +24 -0
  106. package/@types/router/transition/transition-hook.d.ts +86 -0
  107. package/@types/router/transition/transition-service.d.ts +116 -0
  108. package/@types/router/transition/transition.d.ts +331 -0
  109. package/@types/router/url/url-config.d.ts +99 -0
  110. package/@types/router/url/url-matcher.d.ts +174 -0
  111. package/@types/router/url/url-rule.d.ts +161 -0
  112. package/@types/router/url/url-rules.d.ts +249 -0
  113. package/@types/router/url/url-service.d.ts +254 -0
  114. package/@types/router/view/interface.d.ts +44 -0
  115. package/@types/router/view/view.d.ts +149 -0
  116. package/@types/router/view-scroll.d.ts +10 -0
  117. package/@types/services/anchor-scroll.d.ts +25 -0
  118. package/@types/services/cookie-reader.d.ts +4 -0
  119. package/@types/services/http/http.d.ts +134 -0
  120. package/@types/services/http-backend/http-backend.d.ts +58 -0
  121. package/@types/services/sce/sce.d.ts +238 -0
  122. package/@types/services/template-request.d.ts +55 -0
  123. package/@types/shared/common.d.ts +197 -0
  124. package/@types/shared/hof.d.ts +108 -0
  125. package/@types/shared/predicates.d.ts +17 -0
  126. package/@types/shared/queue.d.ts +64 -0
  127. package/@types/shared/strings.d.ts +58 -0
  128. package/dist/angular-ts.esm.js +2 -2
  129. package/dist/angular-ts.umd.js +2 -2
  130. package/dist/angular-ts.umd.min.js +1 -1
  131. package/docs/layouts/shortcodes/version.html +1 -1
  132. package/package.json +1 -1
  133. package/src/interface.ts +1 -0
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Functions that manipulate strings
3
+ */
4
+ /**
5
+ * Returns a string shortened to a maximum length
6
+ *
7
+ * If the string is already less than the `max` length, return the string.
8
+ * Else return the string, shortened to `max - 3` and append three dots ("...").
9
+ *
10
+ * @param max the maximum length of the string to return
11
+ * @param str the input string
12
+ */
13
+ export function maxLength(max: any, str: any): any;
14
+ /**
15
+ * Returns a string, with spaces added to the end, up to a desired str length
16
+ *
17
+ * If the string is already longer than the desired length, return the string.
18
+ * Else returns the string, with extra spaces on the end, such that it reaches `length` characters.
19
+ *
20
+ * @param length the desired length of the string to return
21
+ * @param str the input string
22
+ */
23
+ export function padString(length: any, str: any): any;
24
+ export function kebobString(camelCase: any): any;
25
+ export function functionToString(fn: any): any;
26
+ export function fnToString(fn: any): any;
27
+ export function stringify(o: any): any;
28
+ /**
29
+ * Splits on a delimiter, but returns the delimiters in the array
30
+ *
31
+ * #### Example:
32
+ * ```js
33
+ * var splitOnSlashes = splitOnDelim('/');
34
+ * splitOnSlashes("/foo"); // ["/", "foo"]
35
+ * splitOnSlashes("/foo/"); // ["/", "foo", "/"]
36
+ * ```
37
+ */
38
+ export function splitOnDelim(delim: any): (str: any) => any;
39
+ /**
40
+ * Reduce fn that joins neighboring strings
41
+ *
42
+ * Given an array of strings, returns a new array
43
+ * where all neighboring strings have been joined.
44
+ *
45
+ * #### Example:
46
+ * ```js
47
+ * let arr = ["foo", "bar", 1, "baz", "", "qux" ];
48
+ * arr.reduce(joinNeighborsR, []) // ["foobar", 1, "bazqux" ]
49
+ * ```
50
+ */
51
+ export function joinNeighborsR(acc: any, x: any): any;
52
+ export function beforeAfterSubstr(char: any): (str: any) => any[];
53
+ export const hostRegex: RegExp;
54
+ export function stripLastPathElement(str: any): any;
55
+ export function splitHash(str: any): any[];
56
+ export function splitQuery(str: any): any[];
57
+ export function splitEqual(str: any): any[];
58
+ export function trimHashVal(str: any): any;
@@ -1,4 +1,4 @@
1
- /* Version: 0.9.1 - October 8, 2025 04:11:27 */
1
+ /* Version: 0.9.2 - October 9, 2025 19:13:01 */
2
2
  const VALID_CLASS = "ng-valid";
3
3
  const INVALID_CLASS = "ng-invalid";
4
4
  const PRISTINE_CLASS = "ng-pristine";
@@ -35702,7 +35702,7 @@ class Angular {
35702
35702
  /**
35703
35703
  * @type {string} `version` from `package.json`
35704
35704
  */
35705
- this.version = "0.9.1"; //inserted via rollup plugin
35705
+ this.version = "0.9.2"; //inserted via rollup plugin
35706
35706
 
35707
35707
  /** @type {!Array<string|any>} */
35708
35708
  this.bootsrappedModules = [];
@@ -1,4 +1,4 @@
1
- /* Version: 0.9.1 - October 8, 2025 04:11:26 */
1
+ /* Version: 0.9.2 - October 9, 2025 19:13:00 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -35708,7 +35708,7 @@
35708
35708
  /**
35709
35709
  * @type {string} `version` from `package.json`
35710
35710
  */
35711
- this.version = "0.9.1"; //inserted via rollup plugin
35711
+ this.version = "0.9.2"; //inserted via rollup plugin
35712
35712
 
35713
35713
  /** @type {!Array<string|any>} */
35714
35714
  this.bootsrappedModules = [];