sass-template-common 0.3.63 → 0.3.65

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.
@@ -3448,9 +3448,7 @@ class yc extends ht {
3448
3448
  };
3449
3449
  },
3450
3450
  tag: async () => {
3451
- const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = ee();
3452
- console.log("USE_QUOTE_IN_QUERY_TAG_HOME", l);
3453
- const u = await this.getNewsListAvanced({
3451
+ const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = ee(), u = await this.getNewsListAvanced({
3454
3452
  query: l ? 'claves:("' + i + '")' : "claves:(" + i + ")",
3455
3453
  size: this.props?.imgSizes[c]?.size ?? 3,
3456
3454
  newstype: this.props?.config?.newsType,
@@ -7093,111 +7091,114 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7093
7091
  ),
7094
7092
  /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(Rt, { ...n, paths: e.paths }) })
7095
7093
  ] }) : null;
7096
- }, z3 = (e) => /* @__PURE__ */ a("div", { className: Oe.content, children: /* @__PURE__ */ f(Wt, { className: Oe.contentLayoutVideoSection, children: [
7097
- /* @__PURE__ */ f("a", { className: Oe.header, href: e.goBackLink ?? "/videos", children: [
7098
- /* @__PURE__ */ a(
7099
- "svg",
7100
- {
7101
- width: "21",
7102
- height: "20",
7103
- viewBox: "0 0 21 20",
7104
- fill: "none",
7105
- xmlns: "http://www.w3.org/2000/svg",
7106
- children: /* @__PURE__ */ a(
7107
- "path",
7108
- {
7109
- fillRule: "evenodd",
7110
- clipRule: "evenodd",
7111
- d: "M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",
7112
- fill: "white"
7113
- }
7114
- )
7115
- }
7116
- ),
7117
- e.titleGoBack ?? "VOLVER A VIDEOS"
7118
- ] }),
7119
- /* @__PURE__ */ f("div", { className: Oe.videos, children: [
7120
- /* @__PURE__ */ f("div", { className: Oe.videoContent, style: e.mainVideoStyles, children: [
7121
- e.type === "vy" && /* @__PURE__ */ a(
7122
- "iframe",
7123
- {
7124
- className: Oe.iframeStyled,
7125
- src: `https://www.youtube.com/embed/${e.video?.main?.code}`,
7126
- frameBorder: "0",
7127
- allowFullScreen: !0
7128
- }
7129
- ),
7130
- e.type === "vf" && /* @__PURE__ */ a(
7131
- "iframe",
7094
+ }, z3 = (e) => {
7095
+ let t = [];
7096
+ return e.videoList && e.videoList.length > 0 && (t = e.videoList?.filter((n) => n.info.path !== e.video.info.path) ?? []), /* @__PURE__ */ a("div", { className: Oe.content, children: /* @__PURE__ */ f(Wt, { className: Oe.contentLayoutVideoSection, children: [
7097
+ /* @__PURE__ */ f("a", { className: Oe.header, href: e.goBackLink ?? "/videos", children: [
7098
+ /* @__PURE__ */ a(
7099
+ "svg",
7132
7100
  {
7133
- className: Oe.iframeStyled,
7134
- src: e.video?.main?.code,
7135
- frameBorder: "0",
7136
- allowFullScreen: !0,
7137
- allow: "autoplay; fullscreen",
7138
- sandbox: "allow-scripts allow-same-origin allow-presentation allow-popups"
7101
+ width: "21",
7102
+ height: "20",
7103
+ viewBox: "0 0 21 20",
7104
+ fill: "none",
7105
+ xmlns: "http://www.w3.org/2000/svg",
7106
+ children: /* @__PURE__ */ a(
7107
+ "path",
7108
+ {
7109
+ fillRule: "evenodd",
7110
+ clipRule: "evenodd",
7111
+ d: "M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",
7112
+ fill: "white"
7113
+ }
7114
+ )
7139
7115
  }
7140
7116
  ),
7141
- e.type === "ve" && /* @__PURE__ */ a(
7142
- "div",
7143
- {
7144
- className: Oe.contentFrame,
7145
- dangerouslySetInnerHTML: {
7146
- __html: e.video?.main?.code ?? ""
7117
+ e.titleGoBack ?? "VOLVER A VIDEOS"
7118
+ ] }),
7119
+ /* @__PURE__ */ f("div", { className: Oe.videos, children: [
7120
+ /* @__PURE__ */ f("div", { className: Oe.videoContent, style: e.mainVideoStyles, children: [
7121
+ e.type === "vy" && /* @__PURE__ */ a(
7122
+ "iframe",
7123
+ {
7124
+ className: Oe.iframeStyled,
7125
+ src: `https://www.youtube.com/embed/${e.video?.main?.code}`,
7126
+ frameBorder: "0",
7127
+ allowFullScreen: !0
7147
7128
  }
7148
- }
7149
- ),
7150
- /* @__PURE__ */ a("div", { className: Oe.articleSection, children: /* @__PURE__ */ a(
7151
- Rt,
7152
- {
7153
- isTitle: !0,
7154
- cutSubtitle: !1,
7155
- ...Ht(
7156
- {
7157
- ...e?.video,
7158
- info: {
7159
- ...e?.video?.info,
7160
- link: {
7161
- ...e.video?.info?.link,
7162
- url: ""
7129
+ ),
7130
+ e.type === "vf" && /* @__PURE__ */ a(
7131
+ "iframe",
7132
+ {
7133
+ className: Oe.iframeStyled,
7134
+ src: e.video?.main?.code,
7135
+ frameBorder: "0",
7136
+ allowFullScreen: !0,
7137
+ allow: "autoplay; fullscreen",
7138
+ sandbox: "allow-scripts allow-same-origin allow-presentation allow-popups"
7139
+ }
7140
+ ),
7141
+ e.type === "ve" && /* @__PURE__ */ a(
7142
+ "div",
7143
+ {
7144
+ className: Oe.contentFrame,
7145
+ dangerouslySetInnerHTML: {
7146
+ __html: e.video?.main?.code ?? ""
7147
+ }
7148
+ }
7149
+ ),
7150
+ /* @__PURE__ */ a("div", { className: Oe.articleSection, children: /* @__PURE__ */ a(
7151
+ Rt,
7152
+ {
7153
+ isTitle: !0,
7154
+ cutSubtitle: !1,
7155
+ ...Ht(
7156
+ {
7157
+ ...e?.video,
7158
+ info: {
7159
+ ...e?.video?.info,
7160
+ link: {
7161
+ ...e.video?.info?.link,
7162
+ url: ""
7163
+ }
7163
7164
  }
7165
+ },
7166
+ !0,
7167
+ !!e.video?.main?.description,
7168
+ !0
7169
+ ),
7170
+ paths: e.paths
7171
+ }
7172
+ ) })
7173
+ ] }),
7174
+ /* @__PURE__ */ f(
7175
+ "div",
7176
+ {
7177
+ className: Oe.sectionVideoList,
7178
+ style: e.listVideoStyles,
7179
+ children: [
7180
+ e.banner && /* @__PURE__ */ a(
7181
+ ye,
7182
+ {
7183
+ banners: e.banner.banners,
7184
+ name: e.banner.bannerName
7164
7185
  }
7165
- },
7166
- !0,
7167
- !!e.video?.main?.description,
7168
- !0
7169
- ),
7170
- paths: e.paths
7186
+ ),
7187
+ e.relatedName && /* @__PURE__ */ a("h2", { className: `${Oe.relatedTitle} saas-video-related-title`, children: e.relatedName }),
7188
+ Array.isArray(t) && t.map((n, s) => /* @__PURE__ */ it(
7189
+ qu,
7190
+ {
7191
+ ...Ht(n, !0, !1, !1),
7192
+ key: s,
7193
+ paths: e.paths
7194
+ }
7195
+ ))
7196
+ ]
7171
7197
  }
7172
- ) })
7173
- ] }),
7174
- /* @__PURE__ */ f(
7175
- "div",
7176
- {
7177
- className: Oe.sectionVideoList,
7178
- style: e.listVideoStyles,
7179
- children: [
7180
- e.banner && /* @__PURE__ */ a(
7181
- ye,
7182
- {
7183
- banners: e.banner.banners,
7184
- name: e.banner.bannerName
7185
- }
7186
- ),
7187
- e.relatedName && /* @__PURE__ */ a("h2", { className: `${Oe.relatedTitle} saas-video-related-title`, children: e.relatedName }),
7188
- Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */ it(
7189
- qu,
7190
- {
7191
- ...Ht(t, !0, !1, !1),
7192
- key: n,
7193
- paths: e.paths
7194
- }
7195
- ))
7196
- ]
7197
- }
7198
- )
7199
- ] })
7200
- ] }) }), Bu = "_content_gcte1_1", Ou = "_titleContent_gcte1_24", Pu = "_title_gcte1_24", Du = "_startLine_gcte1_88", Mu = "_line_gcte1_93", ju = "_bottomLine_gcte1_99", Qu = "_childrenContent_gcte1_118", Gu = "_readMore_gcte1_131", Fe = {
7198
+ )
7199
+ ] })
7200
+ ] }) });
7201
+ }, Bu = "_content_gcte1_1", Ou = "_titleContent_gcte1_24", Pu = "_title_gcte1_24", Du = "_startLine_gcte1_88", Mu = "_line_gcte1_93", ju = "_bottomLine_gcte1_99", Qu = "_childrenContent_gcte1_118", Gu = "_readMore_gcte1_131", Fe = {
7201
7202
  content: Bu,
7202
7203
  titleContent: Ou,
7203
7204
  title: Pu,
@@ -11505,7 +11506,7 @@ const pp = (e) => {
11505
11506
  );
11506
11507
  if (!i.length || !i[0]?.url || i[0]?.url === "")
11507
11508
  return /* @__PURE__ */ a("div", { className: re.imagePlaceholder });
11508
- const { PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: d } = e.API_ENV;
11509
+ const { PUBLIC_API_HOST: c = "", PUBLIC_ASSETS_URL: d } = e.API_ENV, l = i[0]?.url, u = d && d !== "false" ? d : c, h = l?.startsWith("http") || l?.includes(u) ? l : u + l;
11509
11510
  return /* @__PURE__ */ a("figure", { className: re.figure, children: /* @__PURE__ */ f("span", { className: re.backdrop, children: [
11510
11511
  /* @__PURE__ */ a(
11511
11512
  "span",
@@ -11524,7 +11525,7 @@ const pp = (e) => {
11524
11525
  loading: "lazy",
11525
11526
  className: re.imageStyled,
11526
11527
  alt: e.preview?.description || "",
11527
- src: (d && d !== "false" ? d : c) + i[0]?.url,
11528
+ src: h,
11528
11529
  style: {
11529
11530
  boxShadow: s ? "0px 4px 8px 0px #00000033" : "0px"
11530
11531
  }