@absolutejs/absolute 0.19.0-beta.420 → 0.19.0-beta.422
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/ai/client/index.js +15 -1
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/index.js +240 -8
- package/dist/ai/index.js.map +8 -7
- package/dist/ai-client/angular/ai/index.js +14 -0
- package/dist/ai-client/react/ai/index.js +14 -0
- package/dist/ai-client/vue/ai/index.js +14 -0
- package/dist/angular/ai/index.js +15 -1
- package/dist/angular/ai/index.js.map +3 -3
- package/dist/angular/browser.js +8 -8
- package/dist/angular/browser.js.map +3 -3
- package/dist/angular/components/defer-slot.component.js +8 -7
- package/dist/angular/index.js +8 -8
- package/dist/angular/index.js.map +3 -3
- package/dist/react/ai/index.js +15 -1
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/ai/client/ragClient.d.ts +2 -1
- package/dist/src/ai/index.d.ts +2 -2
- package/dist/src/ai/rag/chat.d.ts +1 -0
- package/dist/src/ai/rag/collection.d.ts +2 -1
- package/dist/src/ai/rag/index.d.ts +3 -2
- package/dist/src/ai/rag/ingestion.d.ts +4 -0
- package/dist/src/ai/rag/types.d.ts +1 -1
- package/dist/src/angular/components/defer-slot.component.d.ts +3 -1
- package/dist/svelte/ai/index.js +15 -1
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +31 -0
- package/dist/vue/ai/index.js +15 -1
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, Input, inject, signal } from '@angular/core';
|
|
2
2
|
import { NgTemplateOutlet } from '@angular/common';
|
|
3
3
|
import { registerStreamingSlot } from './core/streamingSlotRegistrar.js';
|
|
4
4
|
import { isAngularDeferSlotPayload } from './defer-slot-payload.js';
|
|
@@ -54,13 +54,14 @@ export class DeferSlotComponent {
|
|
|
54
54
|
this.applyPatchPayload(payload);
|
|
55
55
|
return true;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
}
|
|
58
|
+
ngAfterViewInit() {
|
|
59
|
+
if (typeof window === 'undefined')
|
|
60
|
+
return;
|
|
61
|
+
requestAnimationFrame(() => {
|
|
58
62
|
this.runtimeReady.set(true);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
window.__ABS_SLOT_FLUSH__?.();
|
|
62
|
-
});
|
|
63
|
-
}
|
|
63
|
+
this.cdr.markForCheck();
|
|
64
|
+
window.__ABS_SLOT_FLUSH__?.();
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
ngOnDestroy() {
|
package/dist/angular/index.js
CHANGED
|
@@ -181485,7 +181485,6 @@ init_renderIslandMarkup();
|
|
|
181485
181485
|
var renderIsland = (props) => renderIslandMarkup(requireCurrentIslandRegistry(), props);
|
|
181486
181486
|
// src/angular/components/defer-slot.component.ts
|
|
181487
181487
|
import {
|
|
181488
|
-
afterNextRender,
|
|
181489
181488
|
ChangeDetectionStrategy,
|
|
181490
181489
|
ChangeDetectorRef,
|
|
181491
181490
|
Component as Component2,
|
|
@@ -181582,13 +181581,14 @@ class DeferSlotComponent {
|
|
|
181582
181581
|
this.applyPatchPayload(payload);
|
|
181583
181582
|
return true;
|
|
181584
181583
|
};
|
|
181585
|
-
|
|
181584
|
+
}
|
|
181585
|
+
ngAfterViewInit() {
|
|
181586
|
+
if (typeof window === "undefined")
|
|
181587
|
+
return;
|
|
181588
|
+
requestAnimationFrame(() => {
|
|
181586
181589
|
this.runtimeReady.set(true);
|
|
181587
|
-
|
|
181588
|
-
|
|
181589
|
-
window.__ABS_SLOT_FLUSH__?.();
|
|
181590
|
-
});
|
|
181591
|
-
}
|
|
181590
|
+
this.cdr.markForCheck();
|
|
181591
|
+
window.__ABS_SLOT_FLUSH__?.();
|
|
181592
181592
|
});
|
|
181593
181593
|
}
|
|
181594
181594
|
ngOnDestroy() {
|
|
@@ -181926,5 +181926,5 @@ export {
|
|
|
181926
181926
|
DeferErrorTemplateDirective
|
|
181927
181927
|
};
|
|
181928
181928
|
|
|
181929
|
-
//# debugId=
|
|
181929
|
+
//# debugId=F31195CBE3A3C4BB64756E2164756E21
|
|
181930
181930
|
//# sourceMappingURL=index.js.map
|