@absolutejs/absolute 0.19.0-beta.857 → 0.19.0-beta.859
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/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +35 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +35 -3
- package/dist/index.js.map +3 -3
- package/dist/src/dev/angular/fastHmrCompiler.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-ogot2c/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-ogot2c/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-ogot2c/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
|
@@ -18241,6 +18241,8 @@ var fail = (reason, detail) => ({ ok: false, reason, detail }), fingerprintCache
|
|
|
18241
18241
|
return false;
|
|
18242
18242
|
if (!arraysEqual(a.arrowFieldSig, b2.arrowFieldSig))
|
|
18243
18243
|
return false;
|
|
18244
|
+
if (!arraysEqual(a.memberDecoratorSig, b2.memberDecoratorSig))
|
|
18245
|
+
return false;
|
|
18244
18246
|
return true;
|
|
18245
18247
|
}, recordFingerprint = (id, fp) => {
|
|
18246
18248
|
fingerprintCache.set(id, fp);
|
|
@@ -18510,6 +18512,33 @@ var fail = (reason, detail) => ({ ok: false, reason, detail }), fingerprintCache
|
|
|
18510
18512
|
entries.push(`${name}:${bodyHash}`);
|
|
18511
18513
|
}
|
|
18512
18514
|
return entries.sort();
|
|
18515
|
+
}, INPUT_OUTPUT_DECORATORS, extractMemberDecoratorSig = (cls) => {
|
|
18516
|
+
const entries = [];
|
|
18517
|
+
for (const member of cls.members) {
|
|
18518
|
+
const decorators = ts7.getDecorators(member) ?? [];
|
|
18519
|
+
if (decorators.length === 0)
|
|
18520
|
+
continue;
|
|
18521
|
+
const memberName = member.name?.getText() ?? "<anon>";
|
|
18522
|
+
for (const decorator of decorators) {
|
|
18523
|
+
const expr = decorator.expression;
|
|
18524
|
+
let decName = "<unknown>";
|
|
18525
|
+
let argText = "";
|
|
18526
|
+
if (ts7.isCallExpression(expr)) {
|
|
18527
|
+
if (ts7.isIdentifier(expr.expression)) {
|
|
18528
|
+
decName = expr.expression.text;
|
|
18529
|
+
}
|
|
18530
|
+
if (expr.arguments.length > 0) {
|
|
18531
|
+
argText = expr.arguments.map((a) => a.getText()).join(",");
|
|
18532
|
+
}
|
|
18533
|
+
} else if (ts7.isIdentifier(expr)) {
|
|
18534
|
+
decName = expr.text;
|
|
18535
|
+
}
|
|
18536
|
+
if (INPUT_OUTPUT_DECORATORS.has(decName))
|
|
18537
|
+
continue;
|
|
18538
|
+
entries.push(`${decName}:${memberName}:${djb2Hash(argText)}`);
|
|
18539
|
+
}
|
|
18540
|
+
}
|
|
18541
|
+
return entries.sort();
|
|
18513
18542
|
}, providerProbeCache, fileHasModuleProviders = (filePath) => {
|
|
18514
18543
|
let stat3;
|
|
18515
18544
|
try {
|
|
@@ -18628,9 +18657,10 @@ var fail = (reason, detail) => ({ ok: false, reason, detail }), fingerprintCache
|
|
|
18628
18657
|
}
|
|
18629
18658
|
break;
|
|
18630
18659
|
}
|
|
18631
|
-
const inputNames = Object.
|
|
18632
|
-
const outputNames = Object.
|
|
18660
|
+
const inputNames = Object.entries(inputs).map(([k2, m]) => `${k2}:${m.bindingPropertyName}`).sort();
|
|
18661
|
+
const outputNames = Object.entries(outputs).map(([k2, v2]) => `${k2}:${v2}`).sort();
|
|
18633
18662
|
const arrowFieldSig = extractArrowFieldSig(cls);
|
|
18663
|
+
const memberDecoratorSig = extractMemberDecoratorSig(cls);
|
|
18634
18664
|
const providerImportSig = extractProviderImportSig(decoratorMeta.importsExpr, sourceFile, componentDir);
|
|
18635
18665
|
return {
|
|
18636
18666
|
arrowFieldSig,
|
|
@@ -18639,6 +18669,7 @@ var fail = (reason, detail) => ({ ok: false, reason, detail }), fingerprintCache
|
|
|
18639
18669
|
hasProviders: decoratorMeta.hasProviders,
|
|
18640
18670
|
hasViewProviders: decoratorMeta.hasViewProviders,
|
|
18641
18671
|
inputs: inputNames,
|
|
18672
|
+
memberDecoratorSig,
|
|
18642
18673
|
outputs: outputNames,
|
|
18643
18674
|
providerImportSig,
|
|
18644
18675
|
selector: decoratorMeta.selector,
|
|
@@ -18932,6 +18963,7 @@ var init_fastHmrCompiler = __esm(() => {
|
|
|
18932
18963
|
init_hmrImportGenerator();
|
|
18933
18964
|
init_typescript_translator();
|
|
18934
18965
|
fingerprintCache = new Map;
|
|
18966
|
+
INPUT_OUTPUT_DECORATORS = new Set(["Input", "Output"]);
|
|
18935
18967
|
providerProbeCache = new Map;
|
|
18936
18968
|
TS_EXTENSIONS = [".ts", ".tsx", ".d.ts"];
|
|
18937
18969
|
});
|
|
@@ -21549,5 +21581,5 @@ export {
|
|
|
21549
21581
|
build
|
|
21550
21582
|
};
|
|
21551
21583
|
|
|
21552
|
-
//# debugId=
|
|
21584
|
+
//# debugId=4B5569A871309B9A64756E2164756E21
|
|
21553
21585
|
//# sourceMappingURL=build.js.map
|