@absolutejs/absolute 0.19.0-beta.993 → 0.19.0-beta.995
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 +21 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +21 -4
- package/dist/index.js.map +3 -3
- package/dist/src/vue/browser.d.ts +1 -0
- package/dist/vue/browser.js +19 -1
- package/dist/vue/browser.js.map +5 -4
- 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-c1V3TS/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-c1V3TS/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-c1V3TS/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
|
@@ -13025,7 +13025,24 @@ var resolveDevClientDir3 = () => {
|
|
|
13025
13025
|
return "template-only";
|
|
13026
13026
|
}
|
|
13027
13027
|
return "full";
|
|
13028
|
-
}, generateVueHmrId = (sourceFilePath, vueRootDir) => relative10(vueRootDir, sourceFilePath).replace(/\\/g, "/").replace(/\.vue$/, ""), extractImports = (sourceCode) => Array.from(sourceCode.matchAll(/import\s+[\s\S]+?['"]([^'"]+)['"]/g)).map((match) => match[1]).filter((importPath) => importPath !== undefined),
|
|
13028
|
+
}, generateVueHmrId = (sourceFilePath, vueRootDir) => relative10(vueRootDir, sourceFilePath).replace(/\\/g, "/").replace(/\.vue$/, ""), extractImports = (sourceCode) => Array.from(sourceCode.matchAll(/import\s+[\s\S]+?['"]([^'"]+)['"]/g)).map((match) => match[1]).filter((importPath) => importPath !== undefined), hoistCssImports = (css) => {
|
|
13029
|
+
const importRegex = /@import\s+[^;]+;\s*\n?/g;
|
|
13030
|
+
const imports = [];
|
|
13031
|
+
const seen = new Set;
|
|
13032
|
+
const stripped = css.replace(importRegex, (match) => {
|
|
13033
|
+
const normalised = match.trim();
|
|
13034
|
+
if (seen.has(normalised))
|
|
13035
|
+
return "";
|
|
13036
|
+
seen.add(normalised);
|
|
13037
|
+
imports.push(normalised);
|
|
13038
|
+
return "";
|
|
13039
|
+
});
|
|
13040
|
+
if (imports.length === 0)
|
|
13041
|
+
return css;
|
|
13042
|
+
return `${imports.join(`
|
|
13043
|
+
`)}
|
|
13044
|
+
${stripped}`;
|
|
13045
|
+
}, resolveHelperTsPath = (sourceDir, helper) => {
|
|
13029
13046
|
if (helper.endsWith(".ts"))
|
|
13030
13047
|
return resolve20(sourceDir, helper);
|
|
13031
13048
|
const direct = resolve20(sourceDir, `${helper}.ts`);
|
|
@@ -13178,8 +13195,8 @@ var resolveDevClientDir3 = () => {
|
|
|
13178
13195
|
if (isEntryPoint && allCss.length) {
|
|
13179
13196
|
const cssOutputFile = join27(outputDirs.css, `${toKebab(fileBaseName)}-compiled.css`);
|
|
13180
13197
|
await mkdir5(dirname13(cssOutputFile), { recursive: true });
|
|
13181
|
-
await write3(cssOutputFile, allCss.join(`
|
|
13182
|
-
`));
|
|
13198
|
+
await write3(cssOutputFile, hoistCssImports(allCss.join(`
|
|
13199
|
+
`)));
|
|
13183
13200
|
cssOutputPaths = [cssOutputFile];
|
|
13184
13201
|
}
|
|
13185
13202
|
const assembleModule = (renderCode, renderFnName, includeHmr) => {
|
|
@@ -27023,5 +27040,5 @@ export {
|
|
|
27023
27040
|
build
|
|
27024
27041
|
};
|
|
27025
27042
|
|
|
27026
|
-
//# debugId=
|
|
27043
|
+
//# debugId=B1D3112E1B0A86EA64756E2164756E21
|
|
27027
27044
|
//# sourceMappingURL=build.js.map
|