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

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-aFxdL0/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-aFxdL0/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-aFxdL0/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,25 @@ ${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;
19838
+ }
19839
+ if (typeof ang.i18nNormalizeLineEndingsInICUs === "boolean") {
19840
+ opts.i18nNormalizeLineEndingsInICUs = ang.i18nNormalizeLineEndingsInICUs;
19832
19841
  }
19833
19842
  }
19834
19843
  } catch {}
@@ -19902,6 +19911,8 @@ ${block}
19902
19911
  let parsed;
19903
19912
  try {
19904
19913
  parsed = compiler.parseTemplate(templateText, templatePath, {
19914
+ enableI18nLegacyMessageIdFormat: projectDefaults.enableI18nLegacyMessageIdFormat,
19915
+ i18nNormalizeLineEndingsInICUs: projectDefaults.i18nNormalizeLineEndingsInICUs,
19905
19916
  preserveWhitespaces: decoratorMeta.preserveWhitespaces
19906
19917
  });
19907
19918
  } catch (err) {
@@ -19979,7 +19990,7 @@ ${block}
19979
19990
  animations: advancedMetadata.animations,
19980
19991
  viewProviders: advancedMetadata.viewProviders,
19981
19992
  relativeContextFilePath: projectRelPath,
19982
- i18nUseExternalIds: false,
19993
+ i18nUseExternalIds: projectDefaults.i18nUseExternalIds ?? false,
19983
19994
  changeDetection: null,
19984
19995
  relativeTemplatePath: null,
19985
19996
  hasDirectiveDependencies: declarations.length > 0
@@ -22825,5 +22836,5 @@ export {
22825
22836
  build
22826
22837
  };
22827
22838
 
22828
- //# debugId=9BAD1968D41740DD64756E2164756E21
22839
+ //# debugId=9B21E6A1135FFA5764756E2164756E21
22829
22840
  //# sourceMappingURL=build.js.map