@absolutejs/absolute 0.19.0-beta.1082 → 0.19.0-beta.1083
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/.absolutejs/generated/angular/indexes/angular-example.1g23yr9r.js +167 -0
- package/dist/.absolutejs/generated/react/indexes/ReactExample.e6kzvjqy.js +3 -0
- package/dist/.absolutejs/generated/svelte/client/pages/SvelteExample.5pq2wmw6.js +1 -0
- package/dist/.absolutejs/generated/svelte/indexes/pages/SvelteExample.9zcw5vtg.js +1 -0
- package/dist/.absolutejs/generated/vue/client/pages/VueExample.q47m56s4.js +1 -0
- package/dist/.absolutejs/generated/vue/indexes/VueExample.6bqszcxv.js +1 -0
- package/dist/_prerendered/angular.html +45 -0
- package/dist/_prerendered/angular.meta +1 -0
- package/dist/_prerendered/html.html +70 -0
- package/dist/_prerendered/html.meta +1 -0
- package/dist/_prerendered/htmx.html +239 -0
- package/dist/_prerendered/htmx.meta +1 -0
- package/dist/_prerendered/index.html +70 -0
- package/dist/_prerendered/index.meta +1 -0
- package/dist/_prerendered/react.html +1 -0
- package/dist/_prerendered/react.meta +1 -0
- package/dist/_prerendered/vue.html +41 -0
- package/dist/_prerendered/vue.meta +1 -0
- package/dist/angular/browser.js +18 -18
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/components/defer-slot-templates.directive.js +2 -2
- package/dist/angular/components/defer-slot.component.js +3 -3
- package/dist/angular/components/image.component.js +3 -3
- package/dist/angular/components/stream-slot.component.js +3 -3
- package/dist/angular/example/angular/pages/angular-example.djr1v9hj.js +373 -0
- package/dist/angular/index.js +43 -43
- package/dist/angular/server.js +31 -31
- package/dist/angular/vendor/angular_common.js +310 -0
- package/dist/angular/vendor/angular_common_http.js +129 -0
- package/dist/angular/vendor/angular_core.js +1177 -0
- package/dist/angular/vendor/angular_core_primitives_di.js +36 -0
- package/dist/angular/vendor/angular_core_primitives_signals.js +132 -0
- package/dist/angular/vendor/angular_platform-browser.js +117 -0
- package/dist/angular/vendor/angular_router.js +6410 -0
- package/dist/angular/vendor/chunk-2c9evnn0.js +4764 -0
- package/dist/angular/vendor/chunk-3evcs0sk.js +2567 -0
- package/dist/angular/vendor/chunk-5h3qyvpj.js +729 -0
- package/dist/angular/vendor/chunk-hgg0w52m.js +62 -0
- package/dist/angular/vendor/chunk-n6rt7w2y.js +23 -0
- package/dist/angular/vendor/chunk-t4tc7c8b.js +28013 -0
- package/dist/angular/vendor/chunk-vqd7j0kb.js +1786 -0
- package/dist/angular/vendor/chunk-yqjkhk8j.js +145 -0
- package/dist/angular/vendor/server/angular_common.js +311 -0
- package/dist/angular/vendor/server/angular_common_http.js +130 -0
- package/dist/angular/vendor/server/angular_core.js +1178 -0
- package/dist/angular/vendor/server/angular_core_primitives_di.js +37 -0
- package/dist/angular/vendor/server/angular_core_primitives_signals.js +133 -0
- package/dist/angular/vendor/server/angular_platform-browser.js +118 -0
- package/dist/angular/vendor/server/angular_platform-server.js +59 -0
- package/dist/angular/vendor/server/angular_router.js +261 -0
- package/dist/angular/vendor/server/angular_ssr.js +11669 -0
- package/dist/angular/vendor/server/chunk-2akxms5e.js +2566 -0
- package/dist/angular/vendor/server/chunk-659a9c3p.js +6218 -0
- package/dist/angular/vendor/server/chunk-8eecnjd1.js +16686 -0
- package/dist/angular/vendor/server/chunk-9jz2apvp.js +743 -0
- package/dist/angular/vendor/server/chunk-dhs2bg35.js +48 -0
- package/dist/angular/vendor/server/chunk-hs2gc8sr.js +1787 -0
- package/dist/angular/vendor/server/chunk-k46n34mb.js +63 -0
- package/dist/angular/vendor/server/chunk-p2fdvyh1.js +4767 -0
- package/dist/angular/vendor/server/chunk-r0w9r4bg.js +730 -0
- package/dist/angular/vendor/server/chunk-vthxj7kd.js +146 -0
- package/dist/angular/vendor/server/chunk-xahr7f2f.js +35534 -0
- package/dist/assets/css/tailwind.generated.css +218 -0
- package/dist/assets/css/vue-example-compiled.abzaxheq.css +32 -0
- package/dist/assets/ico/favicon.ico +0 -0
- package/dist/assets/png/absolutejs-temp.png +0 -0
- package/dist/assets/svg/HTML5_Badge.svg +7 -0
- package/dist/assets/svg/angular.svg +18 -0
- package/dist/assets/svg/htmx-logo-black.svg +9 -0
- package/dist/assets/svg/htmx-logo-white.svg +9 -0
- package/dist/assets/svg/react.svg +1 -0
- package/dist/assets/svg/svelte-logo.svg +1 -0
- package/dist/assets/svg/vue-logo.svg +4 -0
- package/dist/build.js +42 -42
- package/dist/chunk-7pp6gkg8.js +2 -0
- package/dist/chunk-ek2qyx2c.js +11 -0
- package/dist/chunk-ysr5ycdt.js +2 -0
- package/dist/cli/config/server.js +11 -11
- package/dist/cli/index.js +12 -1
- package/dist/client/index.js +13 -13
- package/dist/client.tsx +15 -0
- package/dist/example/html/scripts/typescript-example.fqn9zkdh.js +1 -0
- package/dist/html/pages/HTMLExample.html +70 -0
- package/dist/htmx/htmx.min.js +1 -0
- package/dist/htmx/pages/HTMXExample.html +239 -0
- package/dist/htmx.min.js +1 -0
- package/dist/index.js +62 -62
- package/dist/indexes/angular-example.xsx88ph0.css +227 -0
- package/dist/indexes/html-example.s3banzdc.css +221 -0
- package/dist/indexes/htmx-example.5vgssc3f.css +221 -0
- package/dist/indexes/react-example.bz1k8xa2.css +245 -0
- package/dist/indexes/svelte-example.vy3015es.css +221 -0
- package/dist/indexes/vue-example.q4vf2wtq.css +228 -0
- package/dist/islands/index.js +14 -14
- package/dist/manifest.json +26 -0
- package/dist/nested/dynamic-module.txt +1 -0
- package/dist/package-asset.txt +1 -0
- package/dist/react/browser.js +3 -3
- package/dist/react/components/browser/index.js +5 -5
- package/dist/react/components/index.js +7 -7
- package/dist/react/hooks/index.js +2 -2
- package/dist/react/index.js +30 -30
- package/dist/react/jsxDevRuntimeCompat.js +1 -1
- package/dist/react/router/browser.js +2 -2
- package/dist/react/router/index.js +2 -2
- package/dist/react/server.js +13 -13
- package/dist/react/vendor/chunk-2kh60w9b.js +33 -0
- package/dist/react/vendor/chunk-9g12fvrw.js +236 -0
- package/dist/react/vendor/chunk-rejbymp5.js +837 -0
- package/dist/react/vendor/chunk-wwy122hz.js +200 -0
- package/dist/react/vendor/react-dom.js +44 -0
- package/dist/react/vendor/react-dom_client.js +15864 -0
- package/dist/react/vendor/react-refresh_runtime.js +304 -0
- package/dist/react/vendor/react.js +103 -0
- package/dist/react/vendor/react_jsx-dev-runtime.js +17 -0
- package/dist/react/vendor/react_jsx-runtime.js +22 -0
- package/dist/robots.txt +2 -0
- package/dist/runtime/blob.txt +1 -0
- package/dist/runtime/dir-join.txt +1 -0
- package/dist/runtime/nested/binary.bin +1 -0
- package/dist/runtime/nested/readfile.txt +1 -0
- package/dist/runtime/template.html +1 -0
- package/dist/server.js +92156 -0
- package/dist/sitemap.xml +48 -0
- package/dist/svelte/index.js +26 -26
- package/dist/svelte/router/page.js +1 -1
- package/dist/svelte/server/pages/SvelteExample.fxs20w1b.js +290 -0
- package/dist/svelte/server.js +13 -13
- package/dist/svelte/vendor/chunk-5qdxn1p3.js +4586 -0
- package/dist/svelte/vendor/chunk-8qdfbbez.js +12 -0
- package/dist/svelte/vendor/chunk-r2jyyfjt.js +4495 -0
- package/dist/svelte/vendor/svelte.js +49 -0
- package/dist/svelte/vendor/svelte_internal.js +2 -0
- package/dist/svelte/vendor/svelte_internal_client.js +395 -0
- package/dist/svelte/vendor/svelte_internal_disclose-version.js +7 -0
- package/dist/svelte/vendor/svelte_internal_flags_async.js +6 -0
- package/dist/svelte/vendor/svelte_internal_flags_legacy.js +6 -0
- package/dist/svelte/vendor/svelte_store.js +99 -0
- package/dist/vue/browser.js +3 -3
- package/dist/vue/components/Image.js +1 -1
- package/dist/vue/components/index.js +5 -5
- package/dist/vue/index.js +36 -36
- package/dist/vue/server/pages/VueExample.fyhmna2p.css +32 -0
- package/dist/vue/server/pages/VueExample.fyhmna2p.js +75 -0
- package/dist/vue/server.js +13 -13
- package/dist/vue/vendor/vue.js +11011 -0
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
DOCUMENT,
|
|
4
|
+
Injectable,
|
|
5
|
+
InjectionToken,
|
|
6
|
+
inject,
|
|
7
|
+
setClassMetadata,
|
|
8
|
+
\u{275}\u{275}defineInjectable as \u{275}_defineInjectable
|
|
9
|
+
} from "./chunk-xahr7f2f.js";
|
|
10
|
+
|
|
11
|
+
// node_modules/@angular/common/fesm2022/_platform_location-chunk.mjs
|
|
12
|
+
var _DOM = null;
|
|
13
|
+
function getDOM() {
|
|
14
|
+
return _DOM;
|
|
15
|
+
}
|
|
16
|
+
function setRootDomAdapter(adapter) {
|
|
17
|
+
_DOM ??= adapter;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class DomAdapter {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
class PlatformLocation {
|
|
24
|
+
historyGo(relativePosition) {
|
|
25
|
+
throw new Error(ngDevMode ? "Not implemented" : "");
|
|
26
|
+
}
|
|
27
|
+
static \u{275}fac = function PlatformLocation_Factory(__ngFactoryType__) {
|
|
28
|
+
return new (__ngFactoryType__ || PlatformLocation);
|
|
29
|
+
};
|
|
30
|
+
static \u{275}prov = /* @__PURE__ */ \u{275}_defineInjectable({
|
|
31
|
+
token: PlatformLocation,
|
|
32
|
+
factory: () => (() => inject(BrowserPlatformLocation))(),
|
|
33
|
+
providedIn: "platform"
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
(() => {
|
|
37
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PlatformLocation, [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{
|
|
40
|
+
providedIn: "platform",
|
|
41
|
+
useFactory: () => inject(BrowserPlatformLocation)
|
|
42
|
+
}]
|
|
43
|
+
}], null, null);
|
|
44
|
+
})();
|
|
45
|
+
var LOCATION_INITIALIZED = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "Location Initialized" : "");
|
|
46
|
+
|
|
47
|
+
class BrowserPlatformLocation extends PlatformLocation {
|
|
48
|
+
_location;
|
|
49
|
+
_history;
|
|
50
|
+
_doc = inject(DOCUMENT);
|
|
51
|
+
constructor() {
|
|
52
|
+
super();
|
|
53
|
+
this._location = window.location;
|
|
54
|
+
this._history = window.history;
|
|
55
|
+
}
|
|
56
|
+
getBaseHrefFromDOM() {
|
|
57
|
+
return getDOM().getBaseHref(this._doc);
|
|
58
|
+
}
|
|
59
|
+
onPopState(fn) {
|
|
60
|
+
const window2 = getDOM().getGlobalEventTarget(this._doc, "window");
|
|
61
|
+
window2.addEventListener("popstate", fn, false);
|
|
62
|
+
return () => window2.removeEventListener("popstate", fn);
|
|
63
|
+
}
|
|
64
|
+
onHashChange(fn) {
|
|
65
|
+
const window2 = getDOM().getGlobalEventTarget(this._doc, "window");
|
|
66
|
+
window2.addEventListener("hashchange", fn, false);
|
|
67
|
+
return () => window2.removeEventListener("hashchange", fn);
|
|
68
|
+
}
|
|
69
|
+
get href() {
|
|
70
|
+
return this._location.href;
|
|
71
|
+
}
|
|
72
|
+
get protocol() {
|
|
73
|
+
return this._location.protocol;
|
|
74
|
+
}
|
|
75
|
+
get hostname() {
|
|
76
|
+
return this._location.hostname;
|
|
77
|
+
}
|
|
78
|
+
get port() {
|
|
79
|
+
return this._location.port;
|
|
80
|
+
}
|
|
81
|
+
get pathname() {
|
|
82
|
+
return this._location.pathname;
|
|
83
|
+
}
|
|
84
|
+
get search() {
|
|
85
|
+
return this._location.search;
|
|
86
|
+
}
|
|
87
|
+
get hash() {
|
|
88
|
+
return this._location.hash;
|
|
89
|
+
}
|
|
90
|
+
set pathname(newPath) {
|
|
91
|
+
this._location.pathname = newPath;
|
|
92
|
+
}
|
|
93
|
+
pushState(state, title, url) {
|
|
94
|
+
this._history.pushState(state, title, url);
|
|
95
|
+
}
|
|
96
|
+
replaceState(state, title, url) {
|
|
97
|
+
this._history.replaceState(state, title, url);
|
|
98
|
+
}
|
|
99
|
+
forward() {
|
|
100
|
+
this._history.forward();
|
|
101
|
+
}
|
|
102
|
+
back() {
|
|
103
|
+
this._history.back();
|
|
104
|
+
}
|
|
105
|
+
historyGo(relativePosition = 0) {
|
|
106
|
+
this._history.go(relativePosition);
|
|
107
|
+
}
|
|
108
|
+
getState() {
|
|
109
|
+
return this._history.state;
|
|
110
|
+
}
|
|
111
|
+
static \u{275}fac = function BrowserPlatformLocation_Factory(__ngFactoryType__) {
|
|
112
|
+
return new (__ngFactoryType__ || BrowserPlatformLocation);
|
|
113
|
+
};
|
|
114
|
+
static \u{275}prov = /* @__PURE__ */ \u{275}_defineInjectable({
|
|
115
|
+
token: BrowserPlatformLocation,
|
|
116
|
+
factory: () => (() => new BrowserPlatformLocation)(),
|
|
117
|
+
providedIn: "platform"
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
(() => {
|
|
121
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BrowserPlatformLocation, [{
|
|
122
|
+
type: Injectable,
|
|
123
|
+
args: [{
|
|
124
|
+
providedIn: "platform",
|
|
125
|
+
useFactory: () => new BrowserPlatformLocation
|
|
126
|
+
}]
|
|
127
|
+
}], () => [], null);
|
|
128
|
+
})();
|
|
129
|
+
|
|
130
|
+
// node_modules/@angular/common/fesm2022/_xhr-chunk.mjs
|
|
131
|
+
function parseCookieValue(cookieStr, name) {
|
|
132
|
+
name = encodeURIComponent(name);
|
|
133
|
+
for (const cookie of cookieStr.split(";")) {
|
|
134
|
+
const eqIndex = cookie.indexOf("=");
|
|
135
|
+
const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ""] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];
|
|
136
|
+
if (cookieName.trim() === name) {
|
|
137
|
+
return decodeURIComponent(cookieValue);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
class XhrFactory {
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export { getDOM, setRootDomAdapter, DomAdapter, PlatformLocation, LOCATION_INITIALIZED, BrowserPlatformLocation, parseCookieValue, XhrFactory };
|