@absolutejs/absolute 0.19.0-beta.1003 → 0.19.0-beta.1005

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-7ChxsF/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-YncvOu/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-7ChxsF/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-YncvOu/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-7ChxsF/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-YncvOu/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
@@ -20767,6 +20767,7 @@ ${content.slice(firstUseIdx)}`;
20767
20767
  cssByName.set(cssName, artifact);
20768
20768
  }
20769
20769
  const fsPromises = await import("fs/promises");
20770
+ const siblingCssPaths = [];
20770
20771
  await Promise.all(serverOutputs.map(async (artifact) => {
20771
20772
  if (extname8(artifact.path) !== ".js")
20772
20773
  return;
@@ -20778,6 +20779,8 @@ ${content.slice(firstUseIdx)}`;
20778
20779
  return;
20779
20780
  const siblingCssPath = artifact.path.replace(/\.js$/, ".css");
20780
20781
  await fsPromises.copyFile(cssArtifact.path, siblingCssPath);
20782
+ siblingCssPaths.push(siblingCssPath);
20783
+ manifest[`${pascalName}Css`] = siblingCssPath;
20781
20784
  }));
20782
20785
  for (const serverPath of emberServerPaths) {
20783
20786
  const fileBase = basename10(serverPath, ".js");
@@ -20873,6 +20876,7 @@ ${content.slice(firstUseIdx)}`;
20873
20876
  ...nonReactClientOutputs.map((a) => a.path),
20874
20877
  ...islandClientOutputs.map((a) => a.path),
20875
20878
  ...cssOutputs.map((a) => a.path),
20879
+ ...siblingCssPaths,
20876
20880
  ...conventionOutputPaths
20877
20881
  ]));
20878
20882
  }
@@ -23188,6 +23192,10 @@ ${code}`;
23188
23192
  ${templateResult.code}`;
23189
23193
  code += `
23190
23194
  __script__.render = render;`;
23195
+ if (isScoped) {
23196
+ code += `
23197
+ __script__.__scopeId = "data-v-${componentId}";`;
23198
+ }
23191
23199
  code += `
23192
23200
  export default __script__;`;
23193
23201
  return code;
@@ -27087,5 +27095,5 @@ export {
27087
27095
  build
27088
27096
  };
27089
27097
 
27090
- //# debugId=CAA7CB30992171A964756E2164756E21
27098
+ //# debugId=563DFF6CF5262F3964756E2164756E21
27091
27099
  //# sourceMappingURL=build.js.map