@absolutejs/absolute 0.19.0-beta.863 → 0.19.0-beta.865
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-SZ98Gx/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-SZ98Gx/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-SZ98Gx/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/build.js
CHANGED
|
@@ -9587,14 +9587,20 @@ var ENTITY_DECORATOR_RE, buildHmrTail = (className, encodedIdLiteral) => `
|
|
|
9587
9587
|
]);
|
|
9588
9588
|
if (!u || typeof u.default !== 'function') return;
|
|
9589
9589
|
if (${className}.\u0275cmp && typeof core.\u0275\u0275replaceMetadata === 'function') {
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9590
|
+
console.log('[abs-hmr] \u0275\u0275replaceMetadata for ${className}, def before:', !!${className}.\u0275cmp);
|
|
9591
|
+
try {
|
|
9592
|
+
core.\u0275\u0275replaceMetadata(
|
|
9593
|
+
${className},
|
|
9594
|
+
u.default,
|
|
9595
|
+
[core],
|
|
9596
|
+
[],
|
|
9597
|
+
import.meta,
|
|
9598
|
+
__ng_hmr_id
|
|
9599
|
+
);
|
|
9600
|
+
console.log('[abs-hmr] \u0275\u0275replaceMetadata returned for ${className}');
|
|
9601
|
+
} catch (err) {
|
|
9602
|
+
console.error('[abs-hmr] \u0275\u0275replaceMetadata threw for ${className}:', err);
|
|
9603
|
+
}
|
|
9598
9604
|
} else {
|
|
9599
9605
|
// Non-component entity (pipe / directive / service) \u2014 no
|
|
9600
9606
|
// LView tree to walk, just apply the prototype patch.
|
|
@@ -18877,21 +18883,7 @@ ${block}
|
|
|
18877
18883
|
const sourceFileObj = new compiler.ParseSourceFile(tsSource, componentFilePath);
|
|
18878
18884
|
const zeroLoc = new compiler.ParseLocation(sourceFileObj, 0, 0, 0);
|
|
18879
18885
|
const typeSourceSpan = new compiler.ParseSourceSpan(zeroLoc, zeroLoc);
|
|
18880
|
-
const
|
|
18881
|
-
if (decoratorMeta.importsExpr) {
|
|
18882
|
-
for (const el of decoratorMeta.importsExpr.elements) {
|
|
18883
|
-
importsArray.push(new compiler.WrappedNodeExpr(el));
|
|
18884
|
-
}
|
|
18885
|
-
}
|
|
18886
|
-
const declarations = importsArray.map((expr) => ({
|
|
18887
|
-
kind: 0,
|
|
18888
|
-
type: expr,
|
|
18889
|
-
selector: "",
|
|
18890
|
-
inputs: [],
|
|
18891
|
-
outputs: [],
|
|
18892
|
-
exportAs: null,
|
|
18893
|
-
isComponent: false
|
|
18894
|
-
}));
|
|
18886
|
+
const declarations = [];
|
|
18895
18887
|
const meta = {
|
|
18896
18888
|
name: className,
|
|
18897
18889
|
type: { value: wrappedClass, type: wrappedClass },
|
|
@@ -18933,7 +18925,7 @@ ${block}
|
|
|
18933
18925
|
i18nUseExternalIds: false,
|
|
18934
18926
|
changeDetection: null,
|
|
18935
18927
|
relativeTemplatePath: null,
|
|
18936
|
-
hasDirectiveDependencies:
|
|
18928
|
+
hasDirectiveDependencies: false
|
|
18937
18929
|
};
|
|
18938
18930
|
let compiled;
|
|
18939
18931
|
try {
|
|
@@ -21619,5 +21611,5 @@ export {
|
|
|
21619
21611
|
build
|
|
21620
21612
|
};
|
|
21621
21613
|
|
|
21622
|
-
//# debugId=
|
|
21614
|
+
//# debugId=DA6D9EBDC288D26464756E2164756E21
|
|
21623
21615
|
//# sourceMappingURL=build.js.map
|