@absolutejs/absolute 0.19.0-beta.992 → 0.19.0-beta.993
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-j0Ay1h/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-j0Ay1h/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-j0Ay1h/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
|
@@ -13146,20 +13146,23 @@ var resolveDevClientDir3 = () => {
|
|
|
13146
13146
|
server: childResult.serverPath
|
|
13147
13147
|
});
|
|
13148
13148
|
}
|
|
13149
|
-
const generateRenderFunction = (ssr) =>
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13149
|
+
const generateRenderFunction = (ssr) => {
|
|
13150
|
+
const rendered = compiler.compileTemplate({
|
|
13151
|
+
compilerOptions: {
|
|
13152
|
+
bindingMetadata: compiledScript.bindings,
|
|
13153
|
+
expressionPlugins: ["typescript"],
|
|
13154
|
+
isCustomElement: (tag) => tag === "absolute-island",
|
|
13155
|
+
prefixIdentifiers: true
|
|
13156
|
+
},
|
|
13157
|
+
filename: sourceFilePath,
|
|
13158
|
+
id: componentId,
|
|
13159
|
+
scoped: descriptor.styles.some((styleBlock) => styleBlock.scoped),
|
|
13160
|
+
source: descriptor.template?.content ?? "",
|
|
13161
|
+
ssr,
|
|
13162
|
+
ssrCssVars: descriptor.cssVars
|
|
13163
|
+
}).code;
|
|
13164
|
+
return transpiler4.transformSync(rendered).replace(/(['"])(\.{1,2}\/[^'"]+)(['"])/g, (_2, quoteStart, relativeImport, quoteEnd) => `${quoteStart}${toJs(relativeImport, sourceDir)}${quoteEnd}`);
|
|
13165
|
+
};
|
|
13163
13166
|
const localCss = await Promise.all(descriptor.styles.map(async (styleBlock) => compiler.compileStyle({
|
|
13164
13167
|
filename: sourceFilePath,
|
|
13165
13168
|
id: componentId,
|
|
@@ -27020,5 +27023,5 @@ export {
|
|
|
27020
27023
|
build
|
|
27021
27024
|
};
|
|
27022
27025
|
|
|
27023
|
-
//# debugId=
|
|
27026
|
+
//# debugId=602AA50458B9075264756E2164756E21
|
|
27024
27027
|
//# sourceMappingURL=build.js.map
|