@absolutejs/absolute 0.20.0-beta.56 → 0.20.0-beta.57
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/browser.js +1 -45
- package/dist/angular/browser.js.map +2 -2
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +1 -17
- package/dist/angular/index.js.map +2 -2
- package/dist/build.js +8 -2
- package/dist/build.js.map +3 -3
- package/dist/client/chunks/angularPatch-arh4sr68.js +157 -0
- package/dist/client/chunks/angularPatch-arh4sr68.js.map +10 -0
- package/dist/client/chunks/index-5py90ctf.js +87 -0
- package/dist/client/chunks/index-5py90ctf.js.map +10 -0
- package/dist/client/chunks/index-m35nbkdp.js +374 -0
- package/dist/client/chunks/index-m35nbkdp.js.map +12 -0
- package/dist/client/chunks/index-qxjc7kc5.js +12 -0
- package/dist/client/chunks/index-qxjc7kc5.js.map +9 -0
- package/dist/client/chunks/islands-xj2n8nwf.js +281 -0
- package/dist/client/chunks/islands-xj2n8nwf.js.map +14 -0
- package/dist/client/chunks/react-pdg4325x.js +65 -0
- package/dist/client/chunks/react-pdg4325x.js.map +10 -0
- package/dist/client/chunks/svelte-s0c964kb.js +19 -0
- package/dist/client/chunks/svelte-s0c964kb.js.map +10 -0
- package/dist/client/chunks/vue-rdskrnyg.js +24 -0
- package/dist/client/chunks/vue-rdskrnyg.js.map +10 -0
- package/dist/client/index.js +56 -947
- package/dist/client/index.js.map +7 -22
- package/dist/index.js +8 -2
- package/dist/index.js.map +3 -3
- package/dist/islands/browser.js +1 -17
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js +1 -17
- package/dist/islands/index.js.map +2 -2
- package/dist/react/browser.js +1 -45
- package/dist/react/browser.js.map +2 -2
- package/dist/react/hooks/index.js +1 -17
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +1 -17
- package/dist/react/index.js.map +2 -2
- package/dist/svelte/browser.js +1 -17
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js +1 -17
- package/dist/svelte/index.js.map +2 -2
- package/dist/vue/browser.js +84 -121
- package/dist/vue/browser.js.map +4 -4
- package/dist/vue/index.js +84 -121
- package/dist/vue/index.js.map +4 -4
- package/package.json +9 -7
package/dist/angular/browser.js
CHANGED
|
@@ -9640,34 +9640,6 @@ var isMatchingIslandElement = (element, props) => {
|
|
|
9640
9640
|
const attributes = getIslandMarkerAttributes(props);
|
|
9641
9641
|
return element.dataset.island === "true" && element.dataset.component === attributes["data-component"] && element.dataset.framework === attributes["data-framework"] && (element.dataset.hydrate ?? "load") === attributes["data-hydrate"] && (element.dataset.props ?? "{}") === attributes["data-props"];
|
|
9642
9642
|
};
|
|
9643
|
-
var snapshotIslandElement = (element, snapshotMap) => {
|
|
9644
|
-
const signature = [
|
|
9645
|
-
element.dataset.component,
|
|
9646
|
-
element.dataset.framework,
|
|
9647
|
-
element.dataset.hydrate ?? "load",
|
|
9648
|
-
element.dataset.props ?? "{}"
|
|
9649
|
-
].join("::");
|
|
9650
|
-
const existing = snapshotMap.get(signature) ?? [];
|
|
9651
|
-
const attributes = Object.fromEntries(element.getAttributeNames().map((name) => [name, element.getAttribute(name) ?? ""]));
|
|
9652
|
-
existing.push({
|
|
9653
|
-
attributes,
|
|
9654
|
-
innerHTML: element.innerHTML
|
|
9655
|
-
});
|
|
9656
|
-
snapshotMap.set(signature, existing);
|
|
9657
|
-
};
|
|
9658
|
-
var initializeIslandMarkupSnapshot = () => {
|
|
9659
|
-
if (typeof document === "undefined") {
|
|
9660
|
-
return;
|
|
9661
|
-
}
|
|
9662
|
-
const snapshotMap = getSnapshotMap();
|
|
9663
|
-
if (!snapshotMap || snapshotMap.size > 0) {
|
|
9664
|
-
return;
|
|
9665
|
-
}
|
|
9666
|
-
const elements = Array.from(document.querySelectorAll('[data-island="true"]'));
|
|
9667
|
-
for (const element of elements) {
|
|
9668
|
-
snapshotIslandElement(element, snapshotMap);
|
|
9669
|
-
}
|
|
9670
|
-
};
|
|
9671
9643
|
var preserveIslandMarkup = (props) => {
|
|
9672
9644
|
if (typeof document === "undefined") {
|
|
9673
9645
|
return {
|
|
@@ -9859,22 +9831,6 @@ var createIslandStore = (storeId, initialState, createState) => {
|
|
|
9859
9831
|
return store;
|
|
9860
9832
|
};
|
|
9861
9833
|
var getIslandStoreServerSnapshot = (store, selector) => selector(store.getInitialState());
|
|
9862
|
-
var applySnapshotToStoreInstances = (storeId, instances, snapshot) => {
|
|
9863
|
-
for (const instance of instances) {
|
|
9864
|
-
instance.applyExternalSnapshot(snapshot[storeId] ?? {});
|
|
9865
|
-
}
|
|
9866
|
-
};
|
|
9867
|
-
var initializeIslandStores = (state) => {
|
|
9868
|
-
const currentSnapshot = getIslandStoreSnapshot();
|
|
9869
|
-
const nextSnapshot = {
|
|
9870
|
-
...state,
|
|
9871
|
-
...currentSnapshot
|
|
9872
|
-
};
|
|
9873
|
-
globalThis.__ABS_ISLAND_STATE__ = nextSnapshot;
|
|
9874
|
-
for (const [storeId, store] of getIslandStores()) {
|
|
9875
|
-
applySnapshotToStoreInstances(storeId, store, nextSnapshot);
|
|
9876
|
-
}
|
|
9877
|
-
};
|
|
9878
9834
|
var readIslandStore = (store, selector) => selector(store.getState());
|
|
9879
9835
|
var subscribeIslandStore = (store, selector, listener) => {
|
|
9880
9836
|
let currentSelection = selector(store.getState());
|
|
@@ -10392,5 +10348,5 @@ export {
|
|
|
10392
10348
|
withPendingTask
|
|
10393
10349
|
};
|
|
10394
10350
|
|
|
10395
|
-
//# debugId=
|
|
10351
|
+
//# debugId=FD45EEF110F1799B64756E2164756E21
|
|
10396
10352
|
//# sourceMappingURL=browser.js.map
|