@absolutejs/absolute 0.19.0-beta.916 → 0.19.0-beta.917

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-1aml0c/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-BXLVaF/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-1aml0c/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-BXLVaF/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-1aml0c/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-BXLVaF/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
@@ -19819,16 +19819,22 @@ ${block}
19819
19819
  if (cached !== undefined)
19820
19820
  return cached;
19821
19821
  const tsconfigPath = resolve32(projectRoot, "tsconfig.json");
19822
- let opts = {};
19822
+ const opts = {};
19823
19823
  if (existsSync25(tsconfigPath)) {
19824
19824
  try {
19825
19825
  const text = readFileSync19(tsconfigPath, "utf8");
19826
19826
  const parsed = ts7.parseConfigFileTextToJson(tsconfigPath, text);
19827
19827
  if (!parsed.error && parsed.config) {
19828
19828
  const cfg = parsed.config;
19829
- const raw = cfg.angularCompilerOptions?.preserveWhitespaces;
19830
- if (typeof raw === "boolean") {
19831
- opts = { preserveWhitespaces: raw };
19829
+ const ang = cfg.angularCompilerOptions ?? {};
19830
+ if (typeof ang.preserveWhitespaces === "boolean") {
19831
+ opts.preserveWhitespaces = ang.preserveWhitespaces;
19832
+ }
19833
+ if (typeof ang.enableI18nLegacyMessageIdFormat === "boolean") {
19834
+ opts.enableI18nLegacyMessageIdFormat = ang.enableI18nLegacyMessageIdFormat;
19835
+ }
19836
+ if (typeof ang.i18nUseExternalIds === "boolean") {
19837
+ opts.i18nUseExternalIds = ang.i18nUseExternalIds;
19832
19838
  }
19833
19839
  }
19834
19840
  } catch {}
@@ -19902,6 +19908,7 @@ ${block}
19902
19908
  let parsed;
19903
19909
  try {
19904
19910
  parsed = compiler.parseTemplate(templateText, templatePath, {
19911
+ enableI18nLegacyMessageIdFormat: projectDefaults.enableI18nLegacyMessageIdFormat,
19905
19912
  preserveWhitespaces: decoratorMeta.preserveWhitespaces
19906
19913
  });
19907
19914
  } catch (err) {
@@ -19979,7 +19986,7 @@ ${block}
19979
19986
  animations: advancedMetadata.animations,
19980
19987
  viewProviders: advancedMetadata.viewProviders,
19981
19988
  relativeContextFilePath: projectRelPath,
19982
- i18nUseExternalIds: false,
19989
+ i18nUseExternalIds: projectDefaults.i18nUseExternalIds ?? false,
19983
19990
  changeDetection: null,
19984
19991
  relativeTemplatePath: null,
19985
19992
  hasDirectiveDependencies: declarations.length > 0
@@ -22825,5 +22832,5 @@ export {
22825
22832
  build
22826
22833
  };
22827
22834
 
22828
- //# debugId=9BAD1968D41740DD64756E2164756E21
22835
+ //# debugId=D16C21AF3EFB293164756E2164756E21
22829
22836
  //# sourceMappingURL=build.js.map