sass-template-common 0.0.9 → 0.0.11

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.
@@ -655,9 +655,9 @@ export declare const generalGetData: (promiseArray: PromiseArray) => Promise<{
655
655
  [key: string]: any;
656
656
  }>;
657
657
 
658
- export declare const GenerateBody: ({ children, defaultRouteName, bodyConfig, banners, pathname, slug, config, internalPath, analytics, currentNew, tagsParsed, scriptReplaces }: Props_4) => JSX.Element;
658
+ export declare const GenerateBody: ({ children, defaultRouteName, bodyConfig, banners, pathname, slug, config, internalPath, analytics, currentNew, tagsParsed, scriptReplaces, body_custom_elements, }: Props_4) => JSX.Element;
659
659
 
660
- export declare function GenerateHead({ axiosApi, headConfig, meta, imgSizes, defaultMetadataName, pathname, slug, texts, query, currentNew, banners, internalPath, config, socials, speculationType, preloadImageUrl, custom_Speculation, custom_metadata, custom_scriptReplaces, custom_elements, }: Props_3): Promise<ReactNode>;
660
+ export declare function GenerateHead({ axiosApi, headConfig, meta, imgSizes, defaultMetadataName, pathname, slug, texts, query, currentNew, banners, internalPath, config, socials, speculationType, preloadImageUrl, custom_Speculation, custom_metadata, custom_scriptReplaces, head_custom_elements, }: Props_3): Promise<ReactNode>;
661
661
 
662
662
  /**
663
663
  * Helper para conseguir el recaptcha token usando grecaptcha.enterprise
@@ -1611,7 +1611,7 @@ declare type Props_3 = {
1611
1611
  };
1612
1612
  custom_Speculation?: string;
1613
1613
  headConfig?: headConfig;
1614
- custom_elements?: any;
1614
+ head_custom_elements?: any;
1615
1615
  };
1616
1616
 
1617
1617
  declare type Props_30 = {
@@ -1705,6 +1705,7 @@ declare type Props_4 = {
1705
1705
  } | undefined;
1706
1706
  };
1707
1707
  };
1708
+ body_custom_elements?: any;
1708
1709
  };
1709
1710
 
1710
1711
  declare type Props_40 = {
@@ -7703,7 +7703,7 @@ async function Pf({
7703
7703
  custom_Speculation: b,
7704
7704
  custom_metadata: q,
7705
7705
  custom_scriptReplaces: S,
7706
- custom_elements: x
7706
+ head_custom_elements: x
7707
7707
  }) {
7708
7708
  const w = q || await Gs[a]({
7709
7709
  meta: r,
@@ -7731,8 +7731,14 @@ async function Pf({
7731
7731
  Rn,
7732
7732
  {
7733
7733
  images: [
7734
- { href: d1() + (c.preview.sizes[0]?.url ?? ""), media: "(min-width: 900px)" },
7735
- { href: d1() + (c.preview.sizes[1]?.url ?? ""), media: "(max-width: 900px)" }
7734
+ {
7735
+ href: d1() + (c.preview.sizes[0]?.url ?? ""),
7736
+ media: "(min-width: 900px)"
7737
+ },
7738
+ {
7739
+ href: d1() + (c.preview.sizes[1]?.url ?? ""),
7740
+ media: "(max-width: 900px)"
7741
+ }
7736
7742
  ]
7737
7743
  }
7738
7744
  ),
@@ -7756,10 +7762,32 @@ async function Pf({
7756
7762
  }
7757
7763
  ),
7758
7764
  /* @__PURE__ */ u(s0, { config: h, socials: p }),
7759
- t.schemas_Videos && m && /* @__PURE__ */ u(c0, { axiosApi: e, realPath: m, config: h }),
7760
- t.schemas_ItemList && /* @__PURE__ */ u(a0, { config: h, ROUTE: a, pathname: i, axiosApi: e }),
7765
+ t.schemas_Videos && m && /* @__PURE__ */ u(
7766
+ c0,
7767
+ {
7768
+ axiosApi: e,
7769
+ realPath: m,
7770
+ config: h
7771
+ }
7772
+ ),
7773
+ t.schemas_ItemList && /* @__PURE__ */ u(
7774
+ a0,
7775
+ {
7776
+ config: h,
7777
+ ROUTE: a,
7778
+ pathname: i,
7779
+ axiosApi: e
7780
+ }
7781
+ ),
7761
7782
  t.schemas_WebsiteList && /* @__PURE__ */ u(o0, { config: h }),
7762
- /* @__PURE__ */ u(u0, { type: f, active: h.useSpeculationRules, customSpeculation: b }),
7783
+ /* @__PURE__ */ u(
7784
+ u0,
7785
+ {
7786
+ type: f,
7787
+ active: h.useSpeculationRules,
7788
+ customSpeculation: b
7789
+ }
7790
+ ),
7763
7791
  x
7764
7792
  ] });
7765
7793
  }
@@ -7775,22 +7803,24 @@ const Hf = ({
7775
7803
  analytics: l,
7776
7804
  currentNew: c,
7777
7805
  tagsParsed: d,
7778
- scriptReplaces: m
7806
+ scriptReplaces: m,
7807
+ body_custom_elements: h
7779
7808
  }) => {
7780
- const h = R2(c, d), p = Ha[t]({
7809
+ const p = R2(c, d), f = Ha[t]({
7781
7810
  pathname: a,
7782
7811
  slug: i,
7783
7812
  config: s,
7784
7813
  currentNew: c,
7785
7814
  internalPath: o
7786
- }), f = m.before.active, g = m.after.active, b = f ? m.before.customData ? m.before.customData : p : void 0, q = g ? m.after.customData ? m.after.customData : p : void 0;
7815
+ }), g = m.before.active, b = m.after.active, q = g ? m.before.customData ? m.before.customData : f : void 0, S = b ? m.after.customData ? m.after.customData : f : void 0;
7787
7816
  return /* @__PURE__ */ v("body", { style: r, suppressHydrationWarning: !0, children: [
7788
- /* @__PURE__ */ u(Pa, { name: "bodybefore", banners: n, replaces: b }),
7817
+ /* @__PURE__ */ u(Pa, { name: "bodybefore", banners: n, replaces: q }),
7789
7818
  e,
7790
7819
  /* @__PURE__ */ u(I2, { id: l.marfeel }),
7791
7820
  /* @__PURE__ */ u(F2, { id: l.comscore }),
7792
- /* @__PURE__ */ u(M2, { id: l.ga4, dimensionValues: h }),
7793
- /* @__PURE__ */ u(Yi, { name: "bodyafter", banners: n, replaces: q })
7821
+ /* @__PURE__ */ u(M2, { id: l.ga4, dimensionValues: p }),
7822
+ h,
7823
+ /* @__PURE__ */ u(Yi, { name: "bodyafter", banners: n, replaces: S })
7794
7824
  ] });
7795
7825
  }, zs = "_content_1tvgz_1", Qs = {
7796
7826
  content: zs