@enyxs/wikex-components 0.8.11 → 0.8.12

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.
package/dist/index.mjs CHANGED
@@ -3526,8 +3526,8 @@ function paragraphField2(key, label, group = "N\u1ED9i dung") {
3526
3526
  function imageField2(key, label, group = "H\xECnh \u1EA3nh") {
3527
3527
  return { key, label, type: "image", group };
3528
3528
  }
3529
- function estateDefinition(type, name, description, icon, fields2, defaults) {
3530
- return { kind: "cms-component", category: "estate", placement: "content", type, name, description, icon, fields: fields2, defaults };
3529
+ function estateDefinition(type, name, description, icon, fields3, defaults) {
3530
+ return { kind: "cms-component", category: "estate", placement: "content", type, name, description, icon, fields: fields3, defaults };
3531
3531
  }
3532
3532
  var archiveDefaults = {
3533
3533
  eyebrow: "D\u1EF1 \xE1n ti\xEAu bi\u1EC3u",
@@ -3794,6 +3794,97 @@ var estateProjectDetailBlock = {
3794
3794
  };
3795
3795
  var estateProjectPageBlocks = [estateProjectsArchiveBlock, estateProjectDetailBlock];
3796
3796
 
3797
+ // src/dynamic-list-blocks.tsx
3798
+ import Box7 from "@mui/material/Box";
3799
+ import Button7 from "@mui/material/Button";
3800
+ import Stack5 from "@mui/material/Stack";
3801
+ import Typography4 from "@mui/material/Typography";
3802
+ import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
3803
+ var allBlocks = [...estateBlocks, ...estateProjectPageBlocks, ...minimalMarketingBlocks];
3804
+ var stringValue = (content, key) => String(content[key] ?? "");
3805
+ function parseItems(value6, fallback) {
3806
+ if (typeof value6 !== "string") return fallback;
3807
+ try {
3808
+ const items = JSON.parse(value6);
3809
+ if (!Array.isArray(items)) return fallback;
3810
+ return items.filter((item) => Boolean(item) && typeof item === "object").map((item) => Object.fromEntries(Object.entries(item).map(([key, itemValue]) => [key, typeof itemValue === "string" ? itemValue : ""])));
3811
+ } catch {
3812
+ return fallback;
3813
+ }
3814
+ }
3815
+ function fields2(...items) {
3816
+ return items.map(([key, label, type]) => ({ key, label, type, required: key === "title" || key === "question" }));
3817
+ }
3818
+ function indexed(prefix, names) {
3819
+ return (content, items) => ({
3820
+ ...content,
3821
+ ...Object.fromEntries(items.slice(0, 12).flatMap((item, index) => names.map((name) => [prefix ? `${prefix}${index + 1}${name[0].toUpperCase()}${name.slice(1)}` : `${name}${index + 1}`, item[name] ?? ""])))
3822
+ });
3823
+ }
3824
+ function listConfig(type, count, fixedField, itemFields, prefix, names) {
3825
+ return {
3826
+ type,
3827
+ count,
3828
+ fixedField,
3829
+ fields: itemFields,
3830
+ legacy: (content) => Array.from({ length: count }, (_, index) => Object.fromEntries(names.map((name) => [name, stringValue(content, prefix ? `${prefix}${index + 1}${name[0].toUpperCase()}${name.slice(1)}` : `${name}${index + 1}`)]))),
3831
+ apply: indexed(prefix, names)
3832
+ };
3833
+ }
3834
+ var configs = [
3835
+ listConfig("faq", 4, /^(question|answer)\d+$/, fields2(["question", "C\xE2u h\u1ECFi", "text"], ["answer", "Tr\u1EA3 l\u1EDDi", "textarea"]), "", ["question", "answer"]),
3836
+ listConfig("testimonials", 3, /^(quote|author|role)\d+$/, fields2(["quote", "C\u1EA3m nh\u1EADn", "textarea"], ["author", "Kh\xE1ch h\xE0ng", "text"], ["role", "Ch\u1EE9c danh", "text"]), "", ["quote", "author", "role"]),
3837
+ listConfig("amenities", 6, /^amenity\d+(Title|Description)$/, fields2(["title", "T\xEAn ti\u1EC7n \xEDch", "text"], ["description", "M\xF4 t\u1EA3", "textarea"]), "amenity", ["title", "description"]),
3838
+ listConfig("property-gallery", 4, /^(image|caption)\d+$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["caption", "Ch\xFA th\xEDch", "text"]), "", ["image", "caption"]),
3839
+ listConfig("estate-articles", 3, /^article\d+(Meta|Title|Excerpt|Label|Url)$/, fields2(["meta", "Nh\xE3n", "text"], ["title", "Ti\xEAu \u0111\u1EC1", "text"], ["excerpt", "T\xF3m t\u1EAFt", "textarea"], ["label", "Nh\xE3n li\xEAn k\u1EBFt", "text"], ["url", "\u0110\u01B0\u1EDDng d\u1EABn", "link"]), "article", ["meta", "title", "excerpt", "label", "url"]),
3840
+ listConfig("estate-process", 4, /^step\d+(Title|Description)$/, fields2(["title", "T\xEAn b\u01B0\u1EDBc", "text"], ["description", "M\xF4 t\u1EA3", "textarea"]), "step", ["title", "description"]),
3841
+ listConfig("estate-services", 4, /^service\d+(Title|Description|Label|Url)$/, fields2(["title", "T\xEAn d\u1ECBch v\u1EE5", "text"], ["description", "M\xF4 t\u1EA3", "textarea"], ["label", "Nh\xE3n li\xEAn k\u1EBFt", "text"], ["url", "\u0110\u01B0\u1EDDng d\u1EABn", "link"]), "service", ["title", "description", "label", "url"]),
3842
+ listConfig("featured-projects", 4, /^project\d+(Image|Type|Title|Location)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"]), "project", ["image", "type", "title", "location"]),
3843
+ listConfig("estate-projects-archive", 3, /^project\d+(Image|Type|Title|Summary|Location|Client|Scope|Year)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["summary", "M\xF4 t\u1EA3", "textarea"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"], ["client", "Ch\u1EE7 \u0111\u1EA7u t\u01B0", "text"], ["scope", "Ph\u1EA1m vi", "text"], ["year", "N\u0103m", "text"]), "project", ["image", "type", "title", "summary", "location", "client", "scope", "year"]),
3844
+ listConfig("estate-project-detail", 3, /^gallery\d+(Image|Caption|Note)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["caption", "Caption", "text"], ["note", "Ghi ch\xFA", "textarea"]), "gallery", ["image", "caption", "note"]),
3845
+ listConfig("testimonial-grid", 3, /^item\d+(Quote|Name|Role)$/, fields2(["quote", "C\u1EA3m nh\u1EADn", "textarea"], ["name", "Kh\xE1ch h\xE0ng", "text"], ["role", "Ch\u1EE9c danh", "text"]), "item", ["quote", "name", "role"]),
3846
+ listConfig("faq-section", 3, /^item\d+(Question|Answer)$/, fields2(["question", "C\xE2u h\u1ECFi", "text"], ["answer", "Tr\u1EA3 l\u1EDDi", "textarea"]), "item", ["question", "answer"])
3847
+ ];
3848
+ function DynamicListRenderer({ base, config, ...props }) {
3849
+ const items = parseItems(props.content.items, config.legacy(props.content));
3850
+ const information = config.type === "estate-project-detail" ? parseItems(props.content.information, [
3851
+ { label: "\u0110\u1ECBa \u0111i\u1EC3m", value: stringValue(props.content, "location") },
3852
+ { label: "Ch\u1EE7 \u0111\u1EA7u t\u01B0", value: stringValue(props.content, "client") },
3853
+ { label: "Di\u1EC7n t\xEDch", value: stringValue(props.content, "area") },
3854
+ { label: "Quy m\xF4", value: stringValue(props.content, "floors") }
3855
+ ]) : [];
3856
+ const BaseRenderer = base.Renderer;
3857
+ const content = config.apply({ ...props.content, ...information.length ? { location: information[0]?.value ?? "", client: information[1]?.value ?? "", area: information[2]?.value ?? "", floors: information[3]?.value ?? "" } : {} }, items);
3858
+ const add = (field, list, itemFields) => (event) => {
3859
+ event.preventDefault();
3860
+ event.stopPropagation();
3861
+ props.onChange?.(field, JSON.stringify([...list, Object.fromEntries(itemFields.map((itemField) => [itemField.key, itemField.key === "label" ? "M\u1EE5c m\u1EDBi" : ""]))]));
3862
+ };
3863
+ return /* @__PURE__ */ jsxs7(Fragment4, { children: [
3864
+ /* @__PURE__ */ jsx7(BaseRenderer, { ...props, content }),
3865
+ items.length > config.count && /* @__PURE__ */ jsx7(Box7, { sx: { px: { xs: 2, md: 4 }, py: 4, bgcolor: "#FAF8F3" }, children: /* @__PURE__ */ jsx7(Stack5, { sx: { maxWidth: 1376, mx: "auto" }, spacing: 1.5, children: items.slice(config.count).map((item, index) => /* @__PURE__ */ jsxs7(Box7, { sx: { p: 2.5, border: "1px solid rgba(32,40,32,.16)" }, children: [
3866
+ item.image && /* @__PURE__ */ jsx7(Box7, { component: "img", src: item.image, alt: item.title || "H\xECnh \u1EA3nh", sx: { display: "block", width: 1, maxHeight: 300, objectFit: "cover", mb: 2 } }),
3867
+ /* @__PURE__ */ jsx7(Typography4, { sx: { fontWeight: 700 }, children: item.question || item.title || "M\u1EE5c m\u1EDBi" }),
3868
+ /* @__PURE__ */ jsx7(Typography4, { sx: { mt: 0.75, color: "#687067" }, children: item.answer || item.description || item.quote || item.excerpt || "" })
3869
+ ] }, `${item.title}-${index}`)) }) }),
3870
+ " ",
3871
+ props.editable && /* @__PURE__ */ jsx7(Box7, { sx: { px: { xs: 2, md: 4 }, pb: 3, bgcolor: "#FAF8F3" }, children: /* @__PURE__ */ jsxs7(Stack5, { direction: "row", spacing: 1, children: [
3872
+ /* @__PURE__ */ jsx7(Button7, { size: "small", variant: "outlined", onClick: add("items", items, config.fields), children: "+ Th\xEAm item" }),
3873
+ config.type === "estate-project-detail" && /* @__PURE__ */ jsx7(Button7, { size: "small", variant: "outlined", onClick: add("information", information, fields2(["label", "Nh\xE3n", "text"], ["value", "Gi\xE1 tr\u1ECB", "text"])), children: "+ Th\xEAm th\xF4ng tin" })
3874
+ ] }) })
3875
+ ] });
3876
+ }
3877
+ function createBlock(config) {
3878
+ const base = allBlocks.find((block) => block.definition.type === config.type);
3879
+ if (!base) throw new Error(`Missing list component: ${config.type}`);
3880
+ const defaults = { ...base.definition.defaults, items: JSON.stringify(config.legacy(base.definition.defaults)) };
3881
+ const detailInformation = config.type === "estate-project-detail" ? [{ key: "information", label: "Th\xF4ng tin d\u1EF1 \xE1n", type: "list", group: "Th\xF4ng tin", itemFields: fields2(["label", "Nh\xE3n", "text"], ["value", "Gi\xE1 tr\u1ECB", "text"]) }] : [];
3882
+ if (config.type === "estate-project-detail") defaults.information = JSON.stringify([{ label: "\u0110\u1ECBa \u0111i\u1EC3m", value: stringValue(defaults, "location") }, { label: "Ch\u1EE7 \u0111\u1EA7u t\u01B0", value: stringValue(defaults, "client") }, { label: "Di\u1EC7n t\xEDch", value: stringValue(defaults, "area") }, { label: "Quy m\xF4", value: stringValue(defaults, "floors") }]);
3883
+ return { definition: { ...base.definition, fields: [...base.definition.fields.filter((field) => !config.fixedField.test(field.key)), ...detailInformation, { key: "items", label: "Danh s\xE1ch", type: "list", group: "Danh s\xE1ch", itemFields: config.fields }], defaults }, Renderer: (props) => /* @__PURE__ */ jsx7(DynamicListRenderer, { ...props, base, config }) };
3884
+ }
3885
+ var dynamicListBlocks = configs.map(createBlock);
3886
+ var dynamicListTypes = new Set(dynamicListBlocks.map((block) => block.definition.type));
3887
+
3797
3888
  // src/wikex/assets/download-section/footer-appstore-icon.svg
3798
3889
  var footer_appstore_icon_default = 'data:image/svg+xml,<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Icon">%0A<path id="&%2360;Path&%2362;" d="M18.7045 12.7631C18.7166 11.8432 18.9669 10.9413 19.4321 10.1412C19.8972 9.34108 20.5621 8.66885 21.3648 8.18702C20.8548 7.47597 20.1821 6.89081 19.4 6.478C18.6178 6.0652 17.7479 5.83613 16.8592 5.80898C14.9635 5.61471 13.1258 6.91644 12.1598 6.91644C11.1751 6.91644 9.68776 5.82827 8.08616 5.86044C7.05021 5.89311 6.04059 6.18722 5.15568 6.7141C4.27077 7.24099 3.54075 7.98268 3.03674 8.86691C0.853518 12.5573 2.48201 17.9809 4.57338 20.964C5.61975 22.4247 6.84264 24.0564 8.44279 23.9985C10.0086 23.9351 10.5934 23.0237 12.4835 23.0237C14.3561 23.0237 14.9048 23.9985 16.5374 23.9617C18.2176 23.9351 19.2762 22.4945 20.2859 21.02C21.0377 19.9792 21.6162 18.8288 22 17.6116C21.0238 17.2085 20.1908 16.5338 19.6048 15.6716C19.0187 14.8094 18.7056 13.7979 18.7045 12.7631Z" fill="%23F9FAFB"/>%0A<path id="&%2360;Path&%2362;_2" d="M15.621 3.84713C16.5372 2.77343 16.9885 1.39335 16.8792 0C15.4796 0.143519 14.1867 0.796596 13.2582 1.82911C12.8043 2.33351 12.4566 2.92033 12.235 3.55601C12.0135 4.19168 11.9224 4.86375 11.9671 5.5338C12.6672 5.54084 13.3597 5.3927 13.9927 5.10054C14.6256 4.80838 15.1824 4.37982 15.621 3.84713Z" fill="%23F9FAFB"/>%0A</g>%0A</svg>%0A';
3799
3890
 
@@ -3823,7 +3914,7 @@ var downloadAssets = {
3823
3914
  };
3824
3915
 
3825
3916
  // src/wikex/download-section.tsx
3826
- import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
3917
+ import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
3827
3918
  var value5 = (content, key) => content[key];
3828
3919
  var inlineEditableSx = {
3829
3920
  color: "inherit",
@@ -3849,16 +3940,16 @@ function DownloadSection({
3849
3940
  const source = String(value5(content, key) ?? "");
3850
3941
  return source && !source.startsWith("/landing-assets/") ? source : fallback;
3851
3942
  };
3852
- return /* @__PURE__ */ jsx7("div", { "data-wikex-download": true, children: /* @__PURE__ */ jsxs7(
3943
+ return /* @__PURE__ */ jsx8("div", { "data-wikex-download": true, children: /* @__PURE__ */ jsxs8(
3853
3944
  "section",
3854
3945
  {
3855
3946
  className: "download section",
3856
3947
  id: String(value5(content, "anchorId") ?? "download"),
3857
3948
  children: [
3858
- /* @__PURE__ */ jsx7("style", { children: compatibleStyles }),
3859
- /* @__PURE__ */ jsxs7("div", { className: "container download-card", children: [
3860
- /* @__PURE__ */ jsxs7("div", { className: "download-copy", children: [
3861
- /* @__PURE__ */ jsx7("h2", { className: "download-mobile-title", children: /* @__PURE__ */ jsx7(
3949
+ /* @__PURE__ */ jsx8("style", { children: compatibleStyles }),
3950
+ /* @__PURE__ */ jsxs8("div", { className: "container download-card", children: [
3951
+ /* @__PURE__ */ jsxs8("div", { className: "download-copy", children: [
3952
+ /* @__PURE__ */ jsx8("h2", { className: "download-mobile-title", children: /* @__PURE__ */ jsx8(
3862
3953
  EditableText,
3863
3954
  {
3864
3955
  component: "span",
@@ -3869,9 +3960,9 @@ function DownloadSection({
3869
3960
  sx: inlineEditableSx
3870
3961
  }
3871
3962
  ) }),
3872
- /* @__PURE__ */ jsxs7("div", { className: "download-offer-row", children: [
3873
- /* @__PURE__ */ jsxs7("div", { className: "reward", children: [
3874
- /* @__PURE__ */ jsx7("h2", { className: "download-desktop-title", children: /* @__PURE__ */ jsx7(
3963
+ /* @__PURE__ */ jsxs8("div", { className: "download-offer-row", children: [
3964
+ /* @__PURE__ */ jsxs8("div", { className: "reward", children: [
3965
+ /* @__PURE__ */ jsx8("h2", { className: "download-desktop-title", children: /* @__PURE__ */ jsx8(
3875
3966
  EditableText,
3876
3967
  {
3877
3968
  component: "span",
@@ -3882,8 +3973,8 @@ function DownloadSection({
3882
3973
  sx: inlineEditableSx
3883
3974
  }
3884
3975
  ) }),
3885
- /* @__PURE__ */ jsxs7("div", { className: "reward-amount", children: [
3886
- /* @__PURE__ */ jsx7(
3976
+ /* @__PURE__ */ jsxs8("div", { className: "reward-amount", children: [
3977
+ /* @__PURE__ */ jsx8(
3887
3978
  EditableText,
3888
3979
  {
3889
3980
  component: "span",
@@ -3894,7 +3985,7 @@ function DownloadSection({
3894
3985
  sx: inlineEditableSx
3895
3986
  }
3896
3987
  ),
3897
- /* @__PURE__ */ jsx7(
3988
+ /* @__PURE__ */ jsx8(
3898
3989
  EditableText,
3899
3990
  {
3900
3991
  component: "span",
@@ -3906,8 +3997,8 @@ function DownloadSection({
3906
3997
  }
3907
3998
  )
3908
3999
  ] }),
3909
- /* @__PURE__ */ jsx7("span", { className: "reward-divider", "aria-hidden": "true" }),
3910
- /* @__PURE__ */ jsx7("p", { children: /* @__PURE__ */ jsx7(
4000
+ /* @__PURE__ */ jsx8("span", { className: "reward-divider", "aria-hidden": "true" }),
4001
+ /* @__PURE__ */ jsx8("p", { children: /* @__PURE__ */ jsx8(
3911
4002
  EditableText,
3912
4003
  {
3913
4004
  component: "span",
@@ -3919,9 +4010,9 @@ function DownloadSection({
3919
4010
  }
3920
4011
  ) })
3921
4012
  ] }),
3922
- /* @__PURE__ */ jsxs7("div", { className: "download-qr-links", children: [
3923
- /* @__PURE__ */ jsxs7("div", { className: "download-qr", children: [
3924
- /* @__PURE__ */ jsx7(
4013
+ /* @__PURE__ */ jsxs8("div", { className: "download-qr-links", children: [
4014
+ /* @__PURE__ */ jsxs8("div", { className: "download-qr", children: [
4015
+ /* @__PURE__ */ jsx8(
3925
4016
  EditableText,
3926
4017
  {
3927
4018
  component: "span",
@@ -3932,7 +4023,7 @@ function DownloadSection({
3932
4023
  sx: inlineEditableSx
3933
4024
  }
3934
4025
  ),
3935
- /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(
4026
+ /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(
3936
4027
  "img",
3937
4028
  {
3938
4029
  src: image("qrImage", downloadAssets.downloadQr),
@@ -3940,16 +4031,16 @@ function DownloadSection({
3940
4031
  }
3941
4032
  ) })
3942
4033
  ] }),
3943
- /* @__PURE__ */ jsx7("div", { className: "download-links", children: badges.map(([platform, icon]) => /* @__PURE__ */ jsxs7(
4034
+ /* @__PURE__ */ jsx8("div", { className: "download-links", children: badges.map(([platform, icon]) => /* @__PURE__ */ jsxs8(
3944
4035
  "a",
3945
4036
  {
3946
4037
  className: `download-badge download-badge--${platform === "appStore" ? "apple" : platform === "googlePlay" ? "google" : "web"}`,
3947
4038
  href: String(value5(content, `${platform}Link`) ?? "#"),
3948
4039
  "aria-label": String(value5(content, `${platform}Alt`) ?? ""),
3949
4040
  children: [
3950
- /* @__PURE__ */ jsx7("img", { src: image(`${platform}Icon`, icon), alt: "" }),
3951
- /* @__PURE__ */ jsxs7("span", { className: "download-badge-copy", children: [
3952
- /* @__PURE__ */ jsx7("small", { children: /* @__PURE__ */ jsx7(
4041
+ /* @__PURE__ */ jsx8("img", { src: image(`${platform}Icon`, icon), alt: "" }),
4042
+ /* @__PURE__ */ jsxs8("span", { className: "download-badge-copy", children: [
4043
+ /* @__PURE__ */ jsx8("small", { children: /* @__PURE__ */ jsx8(
3953
4044
  EditableText,
3954
4045
  {
3955
4046
  component: "span",
@@ -3960,7 +4051,7 @@ function DownloadSection({
3960
4051
  sx: inlineEditableSx
3961
4052
  }
3962
4053
  ) }),
3963
- /* @__PURE__ */ jsx7("strong", { children: /* @__PURE__ */ jsx7(
4054
+ /* @__PURE__ */ jsx8("strong", { children: /* @__PURE__ */ jsx8(
3964
4055
  EditableText,
3965
4056
  {
3966
4057
  component: "span",
@@ -3979,21 +4070,21 @@ function DownloadSection({
3979
4070
  ] })
3980
4071
  ] })
3981
4072
  ] }),
3982
- /* @__PURE__ */ jsxs7(
4073
+ /* @__PURE__ */ jsxs8(
3983
4074
  "div",
3984
4075
  {
3985
4076
  className: "download-devices",
3986
4077
  "aria-label": String(value5(content, "devicesAlt") ?? ""),
3987
4078
  children: [
3988
- /* @__PURE__ */ jsx7("div", { className: "download-laptop", children: /* @__PURE__ */ jsx7(
4079
+ /* @__PURE__ */ jsx8("div", { className: "download-laptop", children: /* @__PURE__ */ jsx8(
3989
4080
  "img",
3990
4081
  {
3991
4082
  src: image("laptopImage", downloadAssets.laptopImage),
3992
4083
  alt: ""
3993
4084
  }
3994
4085
  ) }),
3995
- /* @__PURE__ */ jsx7("div", { className: "download-phone", children: /* @__PURE__ */ jsx7("img", { src: image("phoneImage", downloadAssets.phoneImage), alt: "" }) }),
3996
- editable && /* @__PURE__ */ jsx7(
4086
+ /* @__PURE__ */ jsx8("div", { className: "download-phone", children: /* @__PURE__ */ jsx8("img", { src: image("phoneImage", downloadAssets.phoneImage), alt: "" }) }),
4087
+ editable && /* @__PURE__ */ jsx8(
3997
4088
  "button",
3998
4089
  {
3999
4090
  className: "download-replace",
@@ -4161,8 +4252,10 @@ var wikexComponents = [downloadSectionBlock];
4161
4252
  var estateComponents = [...estateBlocks, ...estateProjectPageBlocks];
4162
4253
  var wikexCmsBlocks = [
4163
4254
  ...wikexComponents,
4164
- ...estateComponents,
4165
- ...minimalUiComponents
4255
+ ...[...estateComponents, ...minimalUiComponents].filter(
4256
+ (block) => !dynamicListTypes.has(block.definition.type)
4257
+ ),
4258
+ ...dynamicListBlocks
4166
4259
  ];
4167
4260
  export {
4168
4261
  estateBlocks,