@angular-wave/angular.ts 0.0.67 → 0.0.68
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.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/core/interval/interval-factory.js +8 -1
- package/src/core/interval/interval.js +30 -16
- package/src/core/location/location.js +473 -626
- package/src/core/location/location.md +114 -0
- package/src/core/location/location.spec.js +1 -76
- package/src/core/q/q.js +63 -65
- package/src/core/sce/sce.js +1 -3
- package/src/core/scope/scope.js +2 -5
- package/src/core/url-utils/url-utils.js +5 -0
- package/src/directive/options/options.js +2 -156
- package/src/directive/options/options.md +179 -0
- package/src/directive/select/select.js +7 -4
- package/src/exts/messages/messages.js +2 -0
- package/src/router/params/param.js +54 -54
- package/src/router/path/path-utils.js +1 -0
- package/src/router/url/url-service.js +7 -0
- package/src/services/anchor-scroll.js +2 -4
- package/src/shared/jqlite/jqlite.js +1 -1
- package/types/core/interval/interval-factory.d.ts +1 -1
- package/types/core/interval/interval.d.ts +4 -0
- package/types/core/location/location.d.ts +235 -166
- package/types/core/q/q.d.ts +61 -40
- package/types/core/scope/scope.d.ts +5 -8
- package/types/core/url-utils/url-utils.d.ts +4 -0
- package/types/router/params/param.d.ts +11 -0
- package/types/router/url/url-service.d.ts +9 -9
- package/types/services/anchor-scroll.d.ts +1 -1
- package/types/shared/jqlite/jqlite.d.ts +2 -2
|
@@ -9,8 +9,8 @@ export class UrlService {
|
|
|
9
9
|
constructor($locationProvider: import("../../core/location/location").$LocationProvider, stateService: any, globals: any, urlConfigProvider: any);
|
|
10
10
|
stateService: any;
|
|
11
11
|
$locationProvider: import("../../core/location/location").$LocationProvider;
|
|
12
|
-
$location:
|
|
13
|
-
$browser:
|
|
12
|
+
$location: import("../../core/location/location").Location;
|
|
13
|
+
$browser: import("../../services/browser").Browser;
|
|
14
14
|
/** @type {boolean} */
|
|
15
15
|
interceptDeferred: boolean;
|
|
16
16
|
/** Provides services related to the URL */
|
|
@@ -54,12 +54,12 @@ export class UrlService {
|
|
|
54
54
|
*
|
|
55
55
|
* @return the hash (anchor) portion of the url
|
|
56
56
|
*/
|
|
57
|
-
hash: () =>
|
|
57
|
+
hash: () => string | import("../../core/location/location").Location;
|
|
58
58
|
_urlListeners: any[];
|
|
59
|
-
$get: (string | (($location:
|
|
59
|
+
$get: (string | (($location: import("../../core/location/location").Location, $browser: import("../../services/browser").Browser, $rootScope: import("../../core/scope/scope").Scope) => this))[];
|
|
60
60
|
html5Mode(): boolean;
|
|
61
|
-
baseHref():
|
|
62
|
-
_baseHref:
|
|
61
|
+
baseHref(): string;
|
|
62
|
+
_baseHref: string;
|
|
63
63
|
/**
|
|
64
64
|
* Gets the current url, or updates the url
|
|
65
65
|
*
|
|
@@ -112,7 +112,7 @@ export class UrlService {
|
|
|
112
112
|
*
|
|
113
113
|
* @return the url (after potentially being processed)
|
|
114
114
|
*/
|
|
115
|
-
url(newUrl?: string, replace?: boolean, state?: any):
|
|
115
|
+
url(newUrl?: string, replace?: boolean, state?: any): string | import("../../core/location/location").Location;
|
|
116
116
|
/**
|
|
117
117
|
* @internal
|
|
118
118
|
*
|
|
@@ -137,7 +137,7 @@ export class UrlService {
|
|
|
137
137
|
parts(): {
|
|
138
138
|
path: any;
|
|
139
139
|
search: any;
|
|
140
|
-
hash:
|
|
140
|
+
hash: string | import("../../core/location/location").Location;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
143
|
* Activates the best rule for the current URL
|
|
@@ -218,7 +218,7 @@ export class UrlService {
|
|
|
218
218
|
*/
|
|
219
219
|
match(url: any): any;
|
|
220
220
|
update(read: any): void;
|
|
221
|
-
location:
|
|
221
|
+
location: string | import("../../core/location/location").Location;
|
|
222
222
|
/**
|
|
223
223
|
* Internal API.
|
|
224
224
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function AnchorScrollProvider(): void;
|
|
2
2
|
export class AnchorScrollProvider {
|
|
3
3
|
disableAutoScrolling: () => void;
|
|
4
|
-
$get: (string | (($location:
|
|
4
|
+
$get: (string | (($location: import("../core/location/location").Location, $rootScope: import("../core/scope/scope").Scope) => (hash: any) => void))[];
|
|
5
5
|
}
|
|
@@ -109,10 +109,10 @@ export class JQLite {
|
|
|
109
109
|
*/
|
|
110
110
|
append(node: string | JQLite): JQLite;
|
|
111
111
|
/**
|
|
112
|
-
* @param {string} node
|
|
112
|
+
* @param {string|JQLite} node
|
|
113
113
|
* @returns {JQLite}
|
|
114
114
|
*/
|
|
115
|
-
prepend(node: string): JQLite;
|
|
115
|
+
prepend(node: string | JQLite): JQLite;
|
|
116
116
|
/**
|
|
117
117
|
* @param {string} newElement
|
|
118
118
|
* @returns {JQLite}
|