@absolutejs/absolute 0.19.0-beta.189 → 0.19.0-beta.190
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/src/angular/index.js +52 -29249
- package/dist/src/angular/index.js.map +7 -7
- package/dist/src/angular/resolveAngularPackage.d.ts +7 -0
- package/dist/src/build.js +129 -29326
- package/dist/src/build.js.map +7 -7
- package/dist/src/index.js +143 -29340
- package/dist/src/index.js.map +7 -7
- package/package.json +1 -1
- package/.absolutejs/cache/angular-linker/158f5d2f54406892543656d582e21ae3.js +0 -381
- package/.absolutejs/cache/angular-linker/1d7d0bc01f6cc20c395ef4db9c650d0f.js +0 -314
- package/.absolutejs/cache/angular-linker/40154141000203d655aadbd789faf88b.js +0 -2836
- package/.absolutejs/cache/angular-linker/4de63c283da0f961c1a06e7d70ade436.js +0 -593
- package/.absolutejs/cache/angular-linker/632a6c2bd34d1659fd7bdd363a116781.js +0 -122
- package/.absolutejs/cache/angular-linker/63ed1410c0e3412b2e85125836ee21c1.js +0 -2029
- package/.absolutejs/cache/angular-linker/74f08c52f5a8513fd37c1627c364f298.js +0 -693
- package/.absolutejs/cache/angular-linker/b7a9e782fcfefd6aa8904e2619f4e503.js +0 -1348
- package/.absolutejs/cache/angular-linker/d27f508017fb07f5fd6a908e7a7dd5b7.js +0 -33
- package/.absolutejs/cache/angular-linker/df86b7673871f02c13eba6bdc09b4006.js +0 -2900
- package/.absolutejs/cert.pem +0 -11
- package/.absolutejs/eslint-cache +0 -1
- package/.absolutejs/key.pem +0 -5
- package/.absolutejs/prettier.cache.json +0 -219
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Angular v21.2.1
|
|
3
|
-
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
|
-
* License: MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as i0 from '@angular/core';
|
|
8
|
-
import { inject, Injectable, InjectionToken, DOCUMENT } from '@angular/core';
|
|
9
|
-
let _DOM = null;
|
|
10
|
-
function getDOM() {
|
|
11
|
-
return _DOM;
|
|
12
|
-
}
|
|
13
|
-
function setRootDomAdapter(adapter) {
|
|
14
|
-
_DOM ??= adapter;
|
|
15
|
-
}
|
|
16
|
-
class DomAdapter {}
|
|
17
|
-
class PlatformLocation {
|
|
18
|
-
historyGo(relativePosition) {
|
|
19
|
-
throw new Error(ngDevMode ? 'Not implemented' : '');
|
|
20
|
-
}
|
|
21
|
-
static ɵfac = function PlatformLocation_Factory(__ngFactoryType__) {
|
|
22
|
-
return new (__ngFactoryType__ || PlatformLocation)();
|
|
23
|
-
};
|
|
24
|
-
static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({
|
|
25
|
-
token: PlatformLocation,
|
|
26
|
-
factory: () => (() => inject(BrowserPlatformLocation))(),
|
|
27
|
-
providedIn: 'platform'
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
(() => {
|
|
31
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlatformLocation, [{
|
|
32
|
-
type: Injectable,
|
|
33
|
-
args: [{
|
|
34
|
-
providedIn: 'platform',
|
|
35
|
-
useFactory: () => inject(BrowserPlatformLocation)
|
|
36
|
-
}]
|
|
37
|
-
}], null, null);
|
|
38
|
-
})();
|
|
39
|
-
const LOCATION_INITIALIZED = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'Location Initialized' : '');
|
|
40
|
-
class BrowserPlatformLocation extends PlatformLocation {
|
|
41
|
-
_location;
|
|
42
|
-
_history;
|
|
43
|
-
_doc = inject(DOCUMENT);
|
|
44
|
-
constructor() {
|
|
45
|
-
super();
|
|
46
|
-
this._location = window.location;
|
|
47
|
-
this._history = window.history;
|
|
48
|
-
}
|
|
49
|
-
getBaseHrefFromDOM() {
|
|
50
|
-
return getDOM().getBaseHref(this._doc);
|
|
51
|
-
}
|
|
52
|
-
onPopState(fn) {
|
|
53
|
-
const window = getDOM().getGlobalEventTarget(this._doc, 'window');
|
|
54
|
-
window.addEventListener('popstate', fn, false);
|
|
55
|
-
return () => window.removeEventListener('popstate', fn);
|
|
56
|
-
}
|
|
57
|
-
onHashChange(fn) {
|
|
58
|
-
const window = getDOM().getGlobalEventTarget(this._doc, 'window');
|
|
59
|
-
window.addEventListener('hashchange', fn, false);
|
|
60
|
-
return () => window.removeEventListener('hashchange', fn);
|
|
61
|
-
}
|
|
62
|
-
get href() {
|
|
63
|
-
return this._location.href;
|
|
64
|
-
}
|
|
65
|
-
get protocol() {
|
|
66
|
-
return this._location.protocol;
|
|
67
|
-
}
|
|
68
|
-
get hostname() {
|
|
69
|
-
return this._location.hostname;
|
|
70
|
-
}
|
|
71
|
-
get port() {
|
|
72
|
-
return this._location.port;
|
|
73
|
-
}
|
|
74
|
-
get pathname() {
|
|
75
|
-
return this._location.pathname;
|
|
76
|
-
}
|
|
77
|
-
get search() {
|
|
78
|
-
return this._location.search;
|
|
79
|
-
}
|
|
80
|
-
get hash() {
|
|
81
|
-
return this._location.hash;
|
|
82
|
-
}
|
|
83
|
-
set pathname(newPath) {
|
|
84
|
-
this._location.pathname = newPath;
|
|
85
|
-
}
|
|
86
|
-
pushState(state, title, url) {
|
|
87
|
-
this._history.pushState(state, title, url);
|
|
88
|
-
}
|
|
89
|
-
replaceState(state, title, url) {
|
|
90
|
-
this._history.replaceState(state, title, url);
|
|
91
|
-
}
|
|
92
|
-
forward() {
|
|
93
|
-
this._history.forward();
|
|
94
|
-
}
|
|
95
|
-
back() {
|
|
96
|
-
this._history.back();
|
|
97
|
-
}
|
|
98
|
-
historyGo(relativePosition = 0) {
|
|
99
|
-
this._history.go(relativePosition);
|
|
100
|
-
}
|
|
101
|
-
getState() {
|
|
102
|
-
return this._history.state;
|
|
103
|
-
}
|
|
104
|
-
static ɵfac = function BrowserPlatformLocation_Factory(__ngFactoryType__) {
|
|
105
|
-
return new (__ngFactoryType__ || BrowserPlatformLocation)();
|
|
106
|
-
};
|
|
107
|
-
static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({
|
|
108
|
-
token: BrowserPlatformLocation,
|
|
109
|
-
factory: () => (() => new BrowserPlatformLocation())(),
|
|
110
|
-
providedIn: 'platform'
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
(() => {
|
|
114
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserPlatformLocation, [{
|
|
115
|
-
type: Injectable,
|
|
116
|
-
args: [{
|
|
117
|
-
providedIn: 'platform',
|
|
118
|
-
useFactory: () => new BrowserPlatformLocation()
|
|
119
|
-
}]
|
|
120
|
-
}], () => [], null);
|
|
121
|
-
})();
|
|
122
|
-
export { BrowserPlatformLocation, DomAdapter, LOCATION_INITIALIZED, PlatformLocation, getDOM, setRootDomAdapter };
|