@dcodegroup-au/page-builder 0.7.8 → 0.8.0

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.
@@ -1087,9 +1087,6 @@ select {
1087
1087
  .w-12 {
1088
1088
  width: 3rem;
1089
1089
  }
1090
- .w-2\/3 {
1091
- width: 66.666667%;
1092
- }
1093
1090
  .w-3 {
1094
1091
  width: 0.75rem;
1095
1092
  }
@@ -1175,9 +1172,6 @@ select {
1175
1172
  .min-w-\[24px\] {
1176
1173
  min-width: 24px;
1177
1174
  }
1178
- .min-w-\[300px\] {
1179
- min-width: 300px;
1180
- }
1181
1175
  .min-w-\[400px\] {
1182
1176
  min-width: 400px;
1183
1177
  }
@@ -1202,24 +1196,15 @@ select {
1202
1196
  .max-w-\[1640px\] {
1203
1197
  max-width: 1640px;
1204
1198
  }
1205
- .max-w-\[324px\] {
1206
- max-width: 324px;
1207
- }
1208
1199
  .max-w-\[356px\] {
1209
1200
  max-width: 356px;
1210
1201
  }
1211
- .max-w-\[480px\] {
1212
- max-width: 480px;
1213
- }
1214
1202
  .max-w-\[48px\] {
1215
1203
  max-width: 48px;
1216
1204
  }
1217
1205
  .max-w-\[51\.25rem\] {
1218
1206
  max-width: 51.25rem;
1219
1207
  }
1220
- .max-w-\[536px\] {
1221
- max-width: 536px;
1222
- }
1223
1208
  .max-w-\[768px\] {
1224
1209
  max-width: 768px;
1225
1210
  }
@@ -1895,9 +1880,6 @@ select {
1895
1880
  font-size: 2.25rem;
1896
1881
  line-height: 2.5rem;
1897
1882
  }
1898
- .text-\[13px\] {
1899
- font-size: 13px;
1900
- }
1901
1883
  .text-\[16px\] {
1902
1884
  font-size: 16px;
1903
1885
  }
@@ -3165,10 +3147,6 @@ select {
3165
3147
 
3166
3148
  @media (min-width: 768px) {
3167
3149
 
3168
- .md\:-right-28 {
3169
- right: -7rem;
3170
- }
3171
-
3172
3150
  .md\:right-\[120px\] {
3173
3151
  right: 120px;
3174
3152
  }
@@ -3201,6 +3179,10 @@ select {
3201
3179
  width: 560px;
3202
3180
  }
3203
3181
 
3182
+ .md\:max-w-\[324px\] {
3183
+ max-width: 324px;
3184
+ }
3185
+
3204
3186
  .md\:grid-cols-2 {
3205
3187
  grid-template-columns: repeat(2, minmax(0, 1fr));
3206
3188
  }
@@ -3365,6 +3347,10 @@ select {
3365
3347
  width: 50%;
3366
3348
  }
3367
3349
 
3350
+ .lg\:w-2\/3 {
3351
+ width: 66.666667%;
3352
+ }
3353
+
3368
3354
  .lg\:w-2\/5 {
3369
3355
  width: 40%;
3370
3356
  }
@@ -3377,10 +3363,22 @@ select {
3377
3363
  width: 350px;
3378
3364
  }
3379
3365
 
3366
+ .lg\:min-w-\[300px\] {
3367
+ min-width: 300px;
3368
+ }
3369
+
3380
3370
  .lg\:max-w-\[33\.3\%\] {
3381
3371
  max-width: 33.3%;
3382
3372
  }
3383
3373
 
3374
+ .lg\:max-w-\[480px\] {
3375
+ max-width: 480px;
3376
+ }
3377
+
3378
+ .lg\:max-w-\[536px\] {
3379
+ max-width: 536px;
3380
+ }
3381
+
3384
3382
  .lg\:max-w-\[882px\] {
3385
3383
  max-width: 882px;
3386
3384
  }
@@ -452,7 +452,7 @@ const _hoisted_12$d = { class: "flex flex-col gap-3" };
452
452
  const _hoisted_13$b = ["onClick"];
453
453
  const _hoisted_14$9 = ["onClick"];
454
454
  const _hoisted_15$7 = { class: "text-xs text-gray-600" };
455
- const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
455
+ const _hoisted_16$4 = { class: "text-sm font-medium text-gray-900" };
456
456
  const _sfc_main$Q = {
457
457
  __name: "Items",
458
458
  props: {
@@ -542,7 +542,7 @@ const _sfc_main$Q = {
542
542
  onClick: ($event) => edit(item, index)
543
543
  }, [
544
544
  createElementVNode("div", _hoisted_15$7, toDisplayString(unref(singularize)(unref(parseName)(unref(type)))) + " #" + toDisplayString(index + 1), 1),
545
- createElementVNode("div", _hoisted_16$5, toDisplayString(item.title), 1)
545
+ createElementVNode("div", _hoisted_16$4, toDisplayString(item.title), 1)
546
546
  ], 8, _hoisted_14$9),
547
547
  createVNode(_sfc_main$S, {
548
548
  onRemoveItem: ($event) => handleDeleteItem(index),
@@ -45234,8 +45234,8 @@ const _hoisted_15$6 = {
45234
45234
  key: 1,
45235
45235
  class: "flex flex-col gap-1.5"
45236
45236
  };
45237
- const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45238
- const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45237
+ const _hoisted_16$3 = ["onUpdate:modelValue", "maxlength"];
45238
+ const _hoisted_17$2 = ["onUpdate:modelValue", "maxlength"];
45239
45239
  const _hoisted_18$2 = { key: 2 };
45240
45240
  const _sfc_main$C = {
45241
45241
  __name: "Links",
@@ -45405,7 +45405,7 @@ const _sfc_main$C = {
45405
45405
  placeholder: "Title",
45406
45406
  maxlength: ((_a3 = componentData.value) == null ? void 0 : _a3.max_title) ?? 200,
45407
45407
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45408
- }, null, 8, _hoisted_16$4)), [
45408
+ }, null, 8, _hoisted_16$3)), [
45409
45409
  [vModelText, item.title]
45410
45410
  ]) : createCommentVNode("", true),
45411
45411
  isBulletPoint.value ? withDirectives((openBlock(), createElementBlock("textarea", {
@@ -45416,7 +45416,7 @@ const _sfc_main$C = {
45416
45416
  maxlength: ((_b2 = componentData.value) == null ? void 0 : _b2.max_title) ?? 200,
45417
45417
  rows: "4",
45418
45418
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45419
- }, null, 8, _hoisted_17$3)), [
45419
+ }, null, 8, _hoisted_17$2)), [
45420
45420
  [vModelText, item.title]
45421
45421
  ]) : createCommentVNode("", true)
45422
45422
  ];
@@ -46171,8 +46171,8 @@ const _hoisted_15$5 = {
46171
46171
  key: 0,
46172
46172
  class: "mb-4 px-6 py-5 rounded-xl bg-gray-50"
46173
46173
  };
46174
- const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46175
- const _hoisted_17$2 = ["value"];
46174
+ const _hoisted_16$2 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46175
+ const _hoisted_17$1 = ["value"];
46176
46176
  const _hoisted_18$1 = {
46177
46177
  key: 1,
46178
46178
  class: "rounded-xl bg-gray-50 px-6 py-5"
@@ -46314,7 +46314,7 @@ const _sfc_main$t = {
46314
46314
  createElementVNode("div", _hoisted_14$7, [
46315
46315
  !unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_15$5, [
46316
46316
  _cache[3] || (_cache[3] = createElementVNode("div", { class: "text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200" }, "Settings", -1)),
46317
- createElementVNode("div", _hoisted_16$3, [
46317
+ createElementVNode("div", _hoisted_16$2, [
46318
46318
  createVNode(_sfc_main$P, {
46319
46319
  field: "breadcrumb",
46320
46320
  "label-text": "Breadcrumb section",
@@ -46327,7 +46327,7 @@ const _sfc_main$t = {
46327
46327
  name: "url"
46328
46328
  }, [
46329
46329
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.breadcrumbs, (b) => {
46330
- return openBlock(), createElementBlock("option", { value: b }, toDisplayString(b), 9, _hoisted_17$2);
46330
+ return openBlock(), createElementBlock("option", { value: b }, toDisplayString(b), 9, _hoisted_17$1);
46331
46331
  }), 256))
46332
46332
  ], 512), [
46333
46333
  [vModelSelect, __props.modelValue.breadcrumb]
@@ -48454,12 +48454,12 @@ const _hoisted_10$a = {
48454
48454
  const _hoisted_11$9 = ["innerHTML"];
48455
48455
  const _hoisted_12$7 = { class: "border-t border-gray-200 mt-4 pt-[17px] flex justify-between items-center" };
48456
48456
  const _hoisted_13$7 = ["href"];
48457
- const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 md:-right-28 lg:right-4 flex gap-4" };
48457
+ const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 lg:right-4 flex gap-4" };
48458
48458
  const _hoisted_15$4 = {
48459
48459
  key: 0,
48460
48460
  class: "flex sm:justify-center mb-6 lg:mb-10"
48461
48461
  };
48462
- const _hoisted_16$2 = ["href", "target"];
48462
+ const _hoisted_16$1 = ["href", "target"];
48463
48463
  const _sfc_main$j = {
48464
48464
  __name: "CarouselPresenter",
48465
48465
  props: {
@@ -48613,7 +48613,7 @@ const _sfc_main$j = {
48613
48613
  }, [
48614
48614
  createTextVNode(toDisplayString(__props.component.button.title) + " ", 1),
48615
48615
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
48616
- ], 8, _hoisted_16$2)
48616
+ ], 8, _hoisted_16$1)
48617
48617
  ])) : createCommentVNode("", true)
48618
48618
  ]);
48619
48619
  };
@@ -48993,7 +48993,7 @@ const _sfc_main$e = {
48993
48993
  return ((_a = component.value) == null ? void 0 : _a.button) || {};
48994
48994
  });
48995
48995
  onMounted(() => {
48996
- if (leftColumn.value && rightColumn.value) {
48996
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
48997
48997
  rightColumn.value.style.height = `${leftColumn.value.offsetHeight}px`;
48998
48998
  }
48999
48999
  });
@@ -49014,7 +49014,11 @@ const _sfc_main$e = {
49014
49014
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
49015
49015
  return openBlock(), createElementBlock("div", _hoisted_1$r, [
49016
49016
  createElementVNode("div", {
49017
- class: normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", { "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert, "justify-center": (_b = section.value) == null ? void 0 : _b.center, "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left }])
49017
+ class: normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", {
49018
+ "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert,
49019
+ "justify-center": (_b = section.value) == null ? void 0 : _b.center,
49020
+ "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left
49021
+ }])
49018
49022
  }, [
49019
49023
  ((_d = component.value) == null ? void 0 : _d.title) || ((_e = component.value) == null ? void 0 : _e.paragraph) ? (openBlock(), createElementBlock("div", {
49020
49024
  key: 0,
@@ -49040,9 +49044,9 @@ const _sfc_main$e = {
49040
49044
  ], 2)) : createCommentVNode("", true),
49041
49045
  ((_i = component.value) == null ? void 0 : _i.featured_image) ? (openBlock(), createElementBlock("div", {
49042
49046
  key: 1,
49043
- class: "w-full min-w-[300px] max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden",
49044
49047
  ref_key: "rightColumn",
49045
- ref: rightColumn
49048
+ ref: rightColumn,
49049
+ class: "w-full lg:min-w-[300px] lg:max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden"
49046
49050
  }, [
49047
49051
  ((_j = component.value) == null ? void 0 : _j.source_type) === "video" ? (openBlock(), createElementBlock("div", _hoisted_7$d, [
49048
49052
  createElementVNode("video", {
@@ -49077,31 +49081,26 @@ const _hoisted_1$q = { class: "overflow-hidden" };
49077
49081
  const _hoisted_2$c = { class: "pb-container mt-4" };
49078
49082
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49079
49083
  const _hoisted_4$c = ["innerHTML"];
49080
- const _hoisted_5$c = {
49081
- key: 1,
49082
- class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49083
- };
49084
- const _hoisted_6$c = ["src", "alt"];
49085
- const _hoisted_7$c = ["innerHTML"];
49086
- const _hoisted_8$b = {
49084
+ const _hoisted_5$c = ["src", "alt"];
49085
+ const _hoisted_6$c = {
49087
49086
  key: 1,
49088
49087
  class: "my-[44px]"
49089
49088
  };
49090
- const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49091
- const _hoisted_10$8 = ["innerHTML"];
49092
- const _hoisted_11$7 = {
49089
+ const _hoisted_7$c = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49090
+ const _hoisted_8$b = ["innerHTML"];
49091
+ const _hoisted_9$b = {
49093
49092
  key: 0,
49094
49093
  class: "max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49095
49094
  };
49096
- const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49097
- const _hoisted_13$5 = ["innerHTML"];
49098
- const _hoisted_14$4 = ["href", "target"];
49099
- const _hoisted_15$3 = ["src"];
49100
- const _hoisted_16$1 = {
49095
+ const _hoisted_10$8 = { class: "font-semibold text-[20px] text-gray-900" };
49096
+ const _hoisted_11$7 = ["innerHTML"];
49097
+ const _hoisted_12$5 = ["href", "target"];
49098
+ const _hoisted_13$5 = ["src"];
49099
+ const _hoisted_14$4 = {
49101
49100
  key: 0,
49102
- class: "w-[560px]"
49101
+ class: "w-full md:w-[560px] flex"
49103
49102
  };
49104
- const _hoisted_17$1 = ["src", "alt"];
49103
+ const _hoisted_15$3 = ["src", "alt"];
49105
49104
  const _sfc_main$d = {
49106
49105
  __name: "TwoColumnsImageContent",
49107
49106
  props: {
@@ -49157,34 +49156,29 @@ const _sfc_main$d = {
49157
49156
  innerHTML: paragraphComponent.value.paragraph
49158
49157
  }, null, 8, _hoisted_4$c)
49159
49158
  ], 2)) : createCommentVNode("", true),
49160
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
49161
- createElementVNode("img", {
49162
- src: imageComponent.value.featured_image,
49163
- alt: imageComponent.value.caption,
49164
- class: "w-full h-full object-cover"
49165
- }, null, 8, _hoisted_6$c),
49166
- createElementVNode("p", {
49167
- innerHTML: imageComponent.value.caption,
49168
- class: "mt-2 text-[13px]"
49169
- }, null, 8, _hoisted_7$c)
49170
- ])) : createCommentVNode("", true)
49171
- ], 4)) : (openBlock(), createElementBlock("div", _hoisted_8$b, [
49159
+ imageComponent.value ? (openBlock(), createElementBlock("img", {
49160
+ key: 1,
49161
+ src: imageComponent.value.featured_image,
49162
+ alt: imageComponent.value.caption,
49163
+ class: "w-full rounded-xl"
49164
+ }, null, 8, _hoisted_5$c)) : createCommentVNode("", true)
49165
+ ], 4)) : (openBlock(), createElementBlock("div", _hoisted_6$c, [
49172
49166
  headerComponent.value ? (openBlock(), createElementBlock("div", {
49173
49167
  key: 0,
49174
49168
  class: normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49175
49169
  }, [
49176
- createElementVNode("h3", _hoisted_9$b, toDisplayString(headerComponent.value.title), 1),
49170
+ createElementVNode("h3", _hoisted_7$c, toDisplayString(headerComponent.value.title), 1),
49177
49171
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (openBlock(), createElementBlock("p", {
49178
49172
  key: 0,
49179
49173
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49180
49174
  innerHTML: headerComponent.value.supporting_text
49181
- }, null, 8, _hoisted_10$8)) : createCommentVNode("", true)
49175
+ }, null, 8, _hoisted_8$b)) : createCommentVNode("", true)
49182
49176
  ], 2)) : createCommentVNode("", true),
49183
49177
  createElementVNode("div", {
49184
49178
  class: normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
49185
49179
  }, [
49186
49180
  createElementVNode("div", {
49187
- class: normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 w-2/3"])
49181
+ class: normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 lg:w-2/3"])
49188
49182
  }, [
49189
49183
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item) => {
49190
49184
  var _a2, _b2, _c2;
@@ -49195,20 +49189,20 @@ const _sfc_main$d = {
49195
49189
  }])
49196
49190
  }, [
49197
49191
  item.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
49198
- (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_11$7, [
49192
+ (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_9$b, [
49199
49193
  createVNode(_sfc_main$H, {
49200
49194
  icon: item.icon,
49201
49195
  "icon-classes": "w-5 h-5 text-brand-600"
49202
49196
  }, null, 8, ["icon"])
49203
49197
  ])) : createCommentVNode("", true),
49204
49198
  createElementVNode("div", {
49205
- class: normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49199
+ class: normalizeClass(["md:max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49206
49200
  }, [
49207
- createElementVNode("h3", _hoisted_12$5, toDisplayString(item.title), 1),
49201
+ createElementVNode("h3", _hoisted_10$8, toDisplayString(item.title), 1),
49208
49202
  createElementVNode("p", {
49209
49203
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49210
49204
  innerHTML: item.supporting_text ?? item.description
49211
- }, null, 8, _hoisted_13$5),
49205
+ }, null, 8, _hoisted_11$7),
49212
49206
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (openBlock(), createElementBlock("a", {
49213
49207
  key: 0,
49214
49208
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49217,23 +49211,23 @@ const _sfc_main$d = {
49217
49211
  }, [
49218
49212
  createTextVNode(toDisplayString(item.primary_button.label) + " ", 1),
49219
49213
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
49220
- ], 8, _hoisted_14$4)) : createCommentVNode("", true)
49214
+ ], 8, _hoisted_12$5)) : createCommentVNode("", true)
49221
49215
  ], 2)
49222
49216
  ], 64)) : (openBlock(), createElementBlock("img", {
49223
49217
  key: 1,
49224
49218
  src: item.image,
49225
49219
  alt: "Feature Image",
49226
49220
  class: "w-full h-full object-cover"
49227
- }, null, 8, _hoisted_15$3))
49221
+ }, null, 8, _hoisted_13$5))
49228
49222
  ], 2);
49229
49223
  }), 256))
49230
49224
  ], 2),
49231
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
49225
+ imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_14$4, [
49232
49226
  createElementVNode("img", {
49233
49227
  src: imageComponent.value.featured_image,
49234
49228
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49235
- class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49236
- }, null, 8, _hoisted_17$1)
49229
+ class: "rounded-br-[24px] rounded-tl-[24px] w-full object-cover"
49230
+ }, null, 8, _hoisted_15$3)
49237
49231
  ])) : createCommentVNode("", true)
49238
49232
  ], 2)
49239
49233
  ]))
@@ -49592,7 +49586,7 @@ const _sfc_main$9 = {
49592
49586
  return section.value.components.filter((component) => component.type === "bullet_points");
49593
49587
  });
49594
49588
  onMounted(() => {
49595
- if (leftColumn.value && rightColumn.value) {
49589
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49596
49590
  leftColumn.value.style.height = `${rightColumn.value.offsetHeight}px`;
49597
49591
  }
49598
49592
  });
@@ -49608,7 +49602,7 @@ const _sfc_main$9 = {
49608
49602
  ((_e = headerComponent.value) == null ? void 0 : _e.featured_image) ? (openBlock(), createElementBlock("img", {
49609
49603
  key: 0,
49610
49604
  src: (_f = headerComponent.value) == null ? void 0 : _f.featured_image,
49611
- class: "max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49605
+ class: "lg:max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49612
49606
  ref_key: "leftColumn",
49613
49607
  ref: leftColumn,
49614
49608
  alt: "Feature"
@@ -455,7 +455,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
455
455
  const _hoisted_13$b = ["onClick"];
456
456
  const _hoisted_14$9 = ["onClick"];
457
457
  const _hoisted_15$7 = { class: "text-xs text-gray-600" };
458
- const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
458
+ const _hoisted_16$4 = { class: "text-sm font-medium text-gray-900" };
459
459
  const _sfc_main$Q = {
460
460
  __name: "Items",
461
461
  props: {
@@ -545,7 +545,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
545
545
  onClick: ($event) => edit(item, index)
546
546
  }, [
547
547
  vue.createElementVNode("div", _hoisted_15$7, vue.toDisplayString(vue.unref(singularize)(vue.unref(parseName)(vue.unref(type)))) + " #" + vue.toDisplayString(index + 1), 1),
548
- vue.createElementVNode("div", _hoisted_16$5, vue.toDisplayString(item.title), 1)
548
+ vue.createElementVNode("div", _hoisted_16$4, vue.toDisplayString(item.title), 1)
549
549
  ], 8, _hoisted_14$9),
550
550
  vue.createVNode(_sfc_main$S, {
551
551
  onRemoveItem: ($event) => handleDeleteItem(index),
@@ -45237,8 +45237,8 @@ ${escapeText(this.code(index, length))}
45237
45237
  key: 1,
45238
45238
  class: "flex flex-col gap-1.5"
45239
45239
  };
45240
- const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45241
- const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45240
+ const _hoisted_16$3 = ["onUpdate:modelValue", "maxlength"];
45241
+ const _hoisted_17$2 = ["onUpdate:modelValue", "maxlength"];
45242
45242
  const _hoisted_18$2 = { key: 2 };
45243
45243
  const _sfc_main$C = {
45244
45244
  __name: "Links",
@@ -45408,7 +45408,7 @@ ${escapeText(this.code(index, length))}
45408
45408
  placeholder: "Title",
45409
45409
  maxlength: ((_a3 = componentData.value) == null ? void 0 : _a3.max_title) ?? 200,
45410
45410
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45411
- }, null, 8, _hoisted_16$4)), [
45411
+ }, null, 8, _hoisted_16$3)), [
45412
45412
  [vue.vModelText, item.title]
45413
45413
  ]) : vue.createCommentVNode("", true),
45414
45414
  isBulletPoint.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
@@ -45419,7 +45419,7 @@ ${escapeText(this.code(index, length))}
45419
45419
  maxlength: ((_b2 = componentData.value) == null ? void 0 : _b2.max_title) ?? 200,
45420
45420
  rows: "4",
45421
45421
  class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
45422
- }, null, 8, _hoisted_17$3)), [
45422
+ }, null, 8, _hoisted_17$2)), [
45423
45423
  [vue.vModelText, item.title]
45424
45424
  ]) : vue.createCommentVNode("", true)
45425
45425
  ];
@@ -46174,8 +46174,8 @@ ${escapeText(this.code(index, length))}
46174
46174
  key: 0,
46175
46175
  class: "mb-4 px-6 py-5 rounded-xl bg-gray-50"
46176
46176
  };
46177
- const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46178
- const _hoisted_17$2 = ["value"];
46177
+ const _hoisted_16$2 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46178
+ const _hoisted_17$1 = ["value"];
46179
46179
  const _hoisted_18$1 = {
46180
46180
  key: 1,
46181
46181
  class: "rounded-xl bg-gray-50 px-6 py-5"
@@ -46317,7 +46317,7 @@ ${escapeText(this.code(index, length))}
46317
46317
  vue.createElementVNode("div", _hoisted_14$7, [
46318
46318
  !vue.unref(selected) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$5, [
46319
46319
  _cache[3] || (_cache[3] = vue.createElementVNode("div", { class: "text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200" }, "Settings", -1)),
46320
- vue.createElementVNode("div", _hoisted_16$3, [
46320
+ vue.createElementVNode("div", _hoisted_16$2, [
46321
46321
  vue.createVNode(_sfc_main$P, {
46322
46322
  field: "breadcrumb",
46323
46323
  "label-text": "Breadcrumb section",
@@ -46330,7 +46330,7 @@ ${escapeText(this.code(index, length))}
46330
46330
  name: "url"
46331
46331
  }, [
46332
46332
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.breadcrumbs, (b) => {
46333
- return vue.openBlock(), vue.createElementBlock("option", { value: b }, vue.toDisplayString(b), 9, _hoisted_17$2);
46333
+ return vue.openBlock(), vue.createElementBlock("option", { value: b }, vue.toDisplayString(b), 9, _hoisted_17$1);
46334
46334
  }), 256))
46335
46335
  ], 512), [
46336
46336
  [vue.vModelSelect, __props.modelValue.breadcrumb]
@@ -48457,12 +48457,12 @@ ${escapeText(this.code(index, length))}
48457
48457
  const _hoisted_11$9 = ["innerHTML"];
48458
48458
  const _hoisted_12$7 = { class: "border-t border-gray-200 mt-4 pt-[17px] flex justify-between items-center" };
48459
48459
  const _hoisted_13$7 = ["href"];
48460
- const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 md:-right-28 lg:right-4 flex gap-4" };
48460
+ const _hoisted_14$6 = { class: "absolute max-sm:bottom-0 sm:top-[-65px] right-0 lg:right-4 flex gap-4" };
48461
48461
  const _hoisted_15$4 = {
48462
48462
  key: 0,
48463
48463
  class: "flex sm:justify-center mb-6 lg:mb-10"
48464
48464
  };
48465
- const _hoisted_16$2 = ["href", "target"];
48465
+ const _hoisted_16$1 = ["href", "target"];
48466
48466
  const _sfc_main$j = {
48467
48467
  __name: "CarouselPresenter",
48468
48468
  props: {
@@ -48616,7 +48616,7 @@ ${escapeText(this.code(index, length))}
48616
48616
  }, [
48617
48617
  vue.createTextVNode(vue.toDisplayString(__props.component.button.title) + " ", 1),
48618
48618
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
48619
- ], 8, _hoisted_16$2)
48619
+ ], 8, _hoisted_16$1)
48620
48620
  ])) : vue.createCommentVNode("", true)
48621
48621
  ]);
48622
48622
  };
@@ -48996,7 +48996,7 @@ ${escapeText(this.code(index, length))}
48996
48996
  return ((_a = component.value) == null ? void 0 : _a.button) || {};
48997
48997
  });
48998
48998
  vue.onMounted(() => {
48999
- if (leftColumn.value && rightColumn.value) {
48999
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49000
49000
  rightColumn.value.style.height = `${leftColumn.value.offsetHeight}px`;
49001
49001
  }
49002
49002
  });
@@ -49017,7 +49017,11 @@ ${escapeText(this.code(index, length))}
49017
49017
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
49018
49018
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
49019
49019
  vue.createElementVNode("div", {
49020
- class: vue.normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", { "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert, "justify-center": (_b = section.value) == null ? void 0 : _b.center, "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left }])
49020
+ class: vue.normalizeClass(["pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row", {
49021
+ "[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10": (_a = section.value) == null ? void 0 : _a.revert,
49022
+ "justify-center": (_b = section.value) == null ? void 0 : _b.center,
49023
+ "md:!px-0 !ml-0 justify-end": (_c = section.value) == null ? void 0 : _c.align_left
49024
+ }])
49021
49025
  }, [
49022
49026
  ((_d = component.value) == null ? void 0 : _d.title) || ((_e = component.value) == null ? void 0 : _e.paragraph) ? (vue.openBlock(), vue.createElementBlock("div", {
49023
49027
  key: 0,
@@ -49043,9 +49047,9 @@ ${escapeText(this.code(index, length))}
49043
49047
  ], 2)) : vue.createCommentVNode("", true),
49044
49048
  ((_i = component.value) == null ? void 0 : _i.featured_image) ? (vue.openBlock(), vue.createElementBlock("div", {
49045
49049
  key: 1,
49046
- class: "w-full min-w-[300px] max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden",
49047
49050
  ref_key: "rightColumn",
49048
- ref: rightColumn
49051
+ ref: rightColumn,
49052
+ class: "w-full lg:min-w-[300px] lg:max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden"
49049
49053
  }, [
49050
49054
  ((_j = component.value) == null ? void 0 : _j.source_type) === "video" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$d, [
49051
49055
  vue.createElementVNode("video", {
@@ -49080,31 +49084,26 @@ ${escapeText(this.code(index, length))}
49080
49084
  const _hoisted_2$c = { class: "pb-container mt-4" };
49081
49085
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49082
49086
  const _hoisted_4$c = ["innerHTML"];
49083
- const _hoisted_5$c = {
49084
- key: 1,
49085
- class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49086
- };
49087
- const _hoisted_6$c = ["src", "alt"];
49088
- const _hoisted_7$c = ["innerHTML"];
49089
- const _hoisted_8$b = {
49087
+ const _hoisted_5$c = ["src", "alt"];
49088
+ const _hoisted_6$c = {
49090
49089
  key: 1,
49091
49090
  class: "my-[44px]"
49092
49091
  };
49093
- const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49094
- const _hoisted_10$8 = ["innerHTML"];
49095
- const _hoisted_11$7 = {
49092
+ const _hoisted_7$c = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49093
+ const _hoisted_8$b = ["innerHTML"];
49094
+ const _hoisted_9$b = {
49096
49095
  key: 0,
49097
49096
  class: "max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49098
49097
  };
49099
- const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49100
- const _hoisted_13$5 = ["innerHTML"];
49101
- const _hoisted_14$4 = ["href", "target"];
49102
- const _hoisted_15$3 = ["src"];
49103
- const _hoisted_16$1 = {
49098
+ const _hoisted_10$8 = { class: "font-semibold text-[20px] text-gray-900" };
49099
+ const _hoisted_11$7 = ["innerHTML"];
49100
+ const _hoisted_12$5 = ["href", "target"];
49101
+ const _hoisted_13$5 = ["src"];
49102
+ const _hoisted_14$4 = {
49104
49103
  key: 0,
49105
- class: "w-[560px]"
49104
+ class: "w-full md:w-[560px] flex"
49106
49105
  };
49107
- const _hoisted_17$1 = ["src", "alt"];
49106
+ const _hoisted_15$3 = ["src", "alt"];
49108
49107
  const _sfc_main$d = {
49109
49108
  __name: "TwoColumnsImageContent",
49110
49109
  props: {
@@ -49160,34 +49159,29 @@ ${escapeText(this.code(index, length))}
49160
49159
  innerHTML: paragraphComponent.value.paragraph
49161
49160
  }, null, 8, _hoisted_4$c)
49162
49161
  ], 2)) : vue.createCommentVNode("", true),
49163
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
49164
- vue.createElementVNode("img", {
49165
- src: imageComponent.value.featured_image,
49166
- alt: imageComponent.value.caption,
49167
- class: "w-full h-full object-cover"
49168
- }, null, 8, _hoisted_6$c),
49169
- vue.createElementVNode("p", {
49170
- innerHTML: imageComponent.value.caption,
49171
- class: "mt-2 text-[13px]"
49172
- }, null, 8, _hoisted_7$c)
49173
- ])) : vue.createCommentVNode("", true)
49174
- ], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$b, [
49162
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("img", {
49163
+ key: 1,
49164
+ src: imageComponent.value.featured_image,
49165
+ alt: imageComponent.value.caption,
49166
+ class: "w-full rounded-xl"
49167
+ }, null, 8, _hoisted_5$c)) : vue.createCommentVNode("", true)
49168
+ ], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
49175
49169
  headerComponent.value ? (vue.openBlock(), vue.createElementBlock("div", {
49176
49170
  key: 0,
49177
49171
  class: vue.normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49178
49172
  }, [
49179
- vue.createElementVNode("h3", _hoisted_9$b, vue.toDisplayString(headerComponent.value.title), 1),
49173
+ vue.createElementVNode("h3", _hoisted_7$c, vue.toDisplayString(headerComponent.value.title), 1),
49180
49174
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (vue.openBlock(), vue.createElementBlock("p", {
49181
49175
  key: 0,
49182
49176
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49183
49177
  innerHTML: headerComponent.value.supporting_text
49184
- }, null, 8, _hoisted_10$8)) : vue.createCommentVNode("", true)
49178
+ }, null, 8, _hoisted_8$b)) : vue.createCommentVNode("", true)
49185
49179
  ], 2)) : vue.createCommentVNode("", true),
49186
49180
  vue.createElementVNode("div", {
49187
49181
  class: vue.normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
49188
49182
  }, [
49189
49183
  vue.createElementVNode("div", {
49190
- class: vue.normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 w-2/3"])
49184
+ class: vue.normalizeClass(["grid gap-8", featureItemsComponent.value.hasOwnProperty("grid_columns") ? `md:grid-cols-${featureItemsComponent.value.grid_columns}` : "lg:grid-cols-2 lg:w-2/3"])
49191
49185
  }, [
49192
49186
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item) => {
49193
49187
  var _a2, _b2, _c2;
@@ -49198,20 +49192,20 @@ ${escapeText(this.code(index, length))}
49198
49192
  }])
49199
49193
  }, [
49200
49194
  item.title ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
49201
- (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$7, [
49195
+ (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$b, [
49202
49196
  vue.createVNode(_sfc_main$H, {
49203
49197
  icon: item.icon,
49204
49198
  "icon-classes": "w-5 h-5 text-brand-600"
49205
49199
  }, null, 8, ["icon"])
49206
49200
  ])) : vue.createCommentVNode("", true),
49207
49201
  vue.createElementVNode("div", {
49208
- class: vue.normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49202
+ class: vue.normalizeClass(["md:max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49209
49203
  }, [
49210
- vue.createElementVNode("h3", _hoisted_12$5, vue.toDisplayString(item.title), 1),
49204
+ vue.createElementVNode("h3", _hoisted_10$8, vue.toDisplayString(item.title), 1),
49211
49205
  vue.createElementVNode("p", {
49212
49206
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49213
49207
  innerHTML: item.supporting_text ?? item.description
49214
- }, null, 8, _hoisted_13$5),
49208
+ }, null, 8, _hoisted_11$7),
49215
49209
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (vue.openBlock(), vue.createElementBlock("a", {
49216
49210
  key: 0,
49217
49211
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49220,23 +49214,23 @@ ${escapeText(this.code(index, length))}
49220
49214
  }, [
49221
49215
  vue.createTextVNode(vue.toDisplayString(item.primary_button.label) + " ", 1),
49222
49216
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
49223
- ], 8, _hoisted_14$4)) : vue.createCommentVNode("", true)
49217
+ ], 8, _hoisted_12$5)) : vue.createCommentVNode("", true)
49224
49218
  ], 2)
49225
49219
  ], 64)) : (vue.openBlock(), vue.createElementBlock("img", {
49226
49220
  key: 1,
49227
49221
  src: item.image,
49228
49222
  alt: "Feature Image",
49229
49223
  class: "w-full h-full object-cover"
49230
- }, null, 8, _hoisted_15$3))
49224
+ }, null, 8, _hoisted_13$5))
49231
49225
  ], 2);
49232
49226
  }), 256))
49233
49227
  ], 2),
49234
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$1, [
49228
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$4, [
49235
49229
  vue.createElementVNode("img", {
49236
49230
  src: imageComponent.value.featured_image,
49237
49231
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49238
- class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49239
- }, null, 8, _hoisted_17$1)
49232
+ class: "rounded-br-[24px] rounded-tl-[24px] w-full object-cover"
49233
+ }, null, 8, _hoisted_15$3)
49240
49234
  ])) : vue.createCommentVNode("", true)
49241
49235
  ], 2)
49242
49236
  ]))
@@ -49595,7 +49589,7 @@ ${escapeText(this.code(index, length))}
49595
49589
  return section.value.components.filter((component) => component.type === "bullet_points");
49596
49590
  });
49597
49591
  vue.onMounted(() => {
49598
- if (leftColumn.value && rightColumn.value) {
49592
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
49599
49593
  leftColumn.value.style.height = `${rightColumn.value.offsetHeight}px`;
49600
49594
  }
49601
49595
  });
@@ -49611,7 +49605,7 @@ ${escapeText(this.code(index, length))}
49611
49605
  ((_e = headerComponent.value) == null ? void 0 : _e.featured_image) ? (vue.openBlock(), vue.createElementBlock("img", {
49612
49606
  key: 0,
49613
49607
  src: (_f = headerComponent.value) == null ? void 0 : _f.featured_image,
49614
- class: "max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49608
+ class: "lg:max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl",
49615
49609
  ref_key: "leftColumn",
49616
49610
  ref: leftColumn,
49617
49611
  alt: "Feature"
@@ -109,81 +109,81 @@ const breadcrumbs = [
109
109
 
110
110
  <template>
111
111
  <div>
112
- <!-- <div style="margin: 40px 0;">-->
113
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">About Us</h1>-->
112
+ <div style="margin: 40px 0;">
113
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">About Us</h1>
114
114
 
115
- <!-- <PageRender :page="AboutUs" />-->
116
- <!-- </div>-->
117
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
118
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Advocary And Research</h1>-->
115
+ <PageRender :page="AboutUs" />
116
+ </div>
117
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
118
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Advocary And Research</h1>
119
119
 
120
- <!-- <PageRender :page="AdvocaryAndResearch" />-->
121
- <!-- </div>-->
122
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
123
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Best Life</h1>-->
120
+ <PageRender :page="AdvocaryAndResearch" />
121
+ </div>
122
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
123
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Best Life</h1>
124
124
 
125
- <!-- <PageRender :page="BestLife" />-->
126
- <!-- </div>-->
125
+ <PageRender :page="BestLife" />
126
+ </div>
127
127
  <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
128
128
  <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Home</h1>
129
129
 
130
130
  <PageRender :page="Home" />
131
131
  </div>
132
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
133
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Commitment</h1>-->
132
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
133
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Commitment</h1>
134
134
 
135
- <!-- <PageRender :page="OurCommitment" />-->
136
- <!-- </div>-->
137
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
138
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our History</h1>-->
135
+ <PageRender :page="OurCommitment" />
136
+ </div>
137
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
138
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our History</h1>
139
139
 
140
- <!-- <PageRender :page="OurHistory" />-->
141
- <!-- </div>-->
142
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
143
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Partner With Us</h1>-->
140
+ <PageRender :page="OurHistory" />
141
+ </div>
142
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
143
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Partner With Us</h1>
144
144
 
145
- <!-- <PageRender :page="PartnerWithUs" />-->
146
- <!-- </div>-->
147
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
148
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Vectea 2024</h1>-->
145
+ <PageRender :page="PartnerWithUs" />
146
+ </div>
147
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
148
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Vectea 2024</h1>
149
149
 
150
- <!-- <PageRender :page="Vectea2024" />-->
151
- <!-- </div>-->
152
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
153
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Advisory Services</h1>-->
150
+ <PageRender :page="Vectea2024" />
151
+ </div>
152
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
153
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Advisory Services</h1>
154
154
 
155
- <!-- <PageRender :page="AdvisoryServices" />-->
156
- <!-- </div>-->
157
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
158
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Assessment Support Service</h1>-->
155
+ <PageRender :page="AdvisoryServices" />
156
+ </div>
157
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
158
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Assessment Support Service</h1>
159
159
 
160
- <!-- <PageRender :page="AssessmentSupportService" />-->
161
- <!-- </div>-->
162
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
163
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Child Safe Standard</h1>-->
160
+ <PageRender :page="AssessmentSupportService" />
161
+ </div>
162
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
163
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Child Safe Standard</h1>
164
164
 
165
- <!-- <PageRender :page="ChildSafeStandard" />-->
166
- <!-- </div>-->
167
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
168
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Landing Page</h1>-->
165
+ <PageRender :page="ChildSafeStandard" />
166
+ </div>
167
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
168
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Landing Page</h1>
169
169
 
170
- <!-- <PageRender :page="LandingPage" />-->
171
- <!-- </div>-->
172
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
173
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Groups</h1>-->
170
+ <PageRender :page="LandingPage" />
171
+ </div>
172
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
173
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Groups</h1>
174
174
 
175
- <!-- <PageRender :page="OurGroups" />-->
176
- <!-- </div>-->
177
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
178
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Vision</h1>-->
175
+ <PageRender :page="OurGroups" />
176
+ </div>
177
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
178
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">Our Vision</h1>
179
179
 
180
- <!-- <PageRender :page="OurVision" />-->
181
- <!-- </div>-->
182
- <!-- <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">-->
183
- <!-- <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">SAEW</h1>-->
180
+ <PageRender :page="OurVision" />
181
+ </div>
182
+ <div style="margin: 40px 0; border-top: 1px solid black; padding-top: 40px;">
183
+ <h1 style="margin-bottom: 20px; font-size: 50px;text-align: center;">SAEW</h1>
184
184
 
185
- <!-- <PageRender :page="SAEW" />-->
186
- <!-- </div>-->
185
+ <PageRender :page="SAEW" />
186
+ </div>
187
187
 
188
188
  <!------------------------------------------|||---------------------------------------------->
189
189
 
@@ -23,7 +23,7 @@ export const Vectea2024 =
23
23
  name: "Paragraph section",
24
24
  type: "paragraph",
25
25
  title: "ELAA is proudly supporting",
26
- paragraph: '<p>The Victorian Government’s Best Start, Best Life reforms represent the most substantial transformation in Victoria’s early childhood sector in a generation. As part of these reforms:</p><ol><li data-list=\\"bullet\\"><span class=\\"ql-ui\\" contenteditable=\\"false\\"></span>The Three-Year-Old Kindergarten program will expand, reaching 15 hours per week across the state by 2029.</li><li data-list=\\"bullet\\"><span class=\\"ql-ui\\" contenteditable=\\"false\\"></span>The Four-Year-Old Kindergarten program will evolve into Pre-Prep, with weekly hours increasing from 15 to 30 by 2036 throughout Victoria.</li></ol><p>Extending the hours of teacher-led, play-based learning through Pre-Prep in the year before school provides children with enhanced access to the numerous benefits of early childhood education. Pre-Prep will launch in 2025, starting with children in six regional Victorian local government areas, and will gradually expand across the state.</p>',
26
+ paragraph: '<p>Extending the hours of teacher-led, play-based learning through Pre-Prep in the year before school provides children with enhanced access to the numerous benefits of early childhood education. Pre-Prep will launch in 2025</p>',
27
27
  featured_image: "https://beta.elaa.org.au/img/what-we-do/vectea-2024/01.jpg",
28
28
  },
29
29
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/page-builder",
3
- "version": "0.7.8",
3
+ "version": "0.8.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
 
66
66
  <!-- Control Buttons -->
67
- <div class="absolute max-sm:bottom-0 sm:top-[-65px] right-0 md:-right-28 lg:right-4 flex gap-4">
67
+ <div class="absolute max-sm:bottom-0 sm:top-[-65px] right-0 lg:right-4 flex gap-4">
68
68
  <button
69
69
  @click="prevSlide"
70
70
  class="p-2.5 bg-white text-navy-800 rounded-full opacity-100"
@@ -5,7 +5,7 @@
5
5
  :class="{'flex gap-8 flex-col lg:flex-row': headerComponent?.featured_image, 'flex-col-reverse lg:flex-row-reverse justify-between': headerComponent?.revert}">
6
6
  <img v-if="headerComponent?.featured_image"
7
7
  :src="headerComponent?.featured_image"
8
- class="max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl"
8
+ class="lg:max-w-[480px] w-full object-cover rounded-xl md:rounded-3xl"
9
9
  ref="leftColumn"
10
10
  alt="Feature"/>
11
11
  <div v-if="headerComponent" class="h-fit flex flex-col gap-4 lg:gap-8" :class="{'xl:py-[48px]': headerComponent?.featured_image, '[&]:grid lg:grid-cols-2': section?.two_column}"
@@ -61,7 +61,7 @@ const bulletPointsComponents = computed(() => {
61
61
  });
62
62
 
63
63
  onMounted(() => {
64
- if (leftColumn.value && rightColumn.value) {
64
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
65
65
  leftColumn.value.style.height = `${rightColumn.value.offsetHeight}px`;
66
66
  }
67
67
  });
@@ -1,6 +1,11 @@
1
1
  <template>
2
2
  <div class="overflow-hidden mt-4">
3
- <div class="pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row" :class="{'[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10': section?.revert, 'justify-center': section?.center, 'md:!px-0 !ml-0 justify-end': section?.align_left }">
3
+ <div class="pb-container pt-4 mb-4 flex gap-8 lg:gap-16 items-center flex-col-reverse lg:flex-row"
4
+ :class="{
5
+ '[&]:flex-col [&]:lg:flex-row-reverse mt-6 !mb-10': section?.revert,
6
+ 'justify-center': section?.center,
7
+ 'md:!px-0 !ml-0 justify-end': section?.align_left
8
+ }">
4
9
  <div class="max-w-[800px] lg:py-4" :class="{'!max-w-full w-full': section?.is_full_width }" v-if="component?.title || component?.paragraph" ref="leftColumn">
5
10
  <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" v-if="component?.title">
6
11
  {{ component.title }}
@@ -14,7 +19,9 @@
14
19
  </div>
15
20
  </div>
16
21
  </div>
17
- <div class="w-full min-w-[300px] max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden" v-if="component?.featured_image" ref="rightColumn">
22
+ <div v-if="component?.featured_image" ref="rightColumn"
23
+ class="w-full lg:min-w-[300px] lg:max-w-[536px] rounded-xl md:rounded-3xl overflow-hidden"
24
+ >
18
25
  <div v-if="component?.source_type === 'video'" class="w-full h-full relative">
19
26
  <video
20
27
  @click="togglePlayPause"
@@ -65,7 +72,7 @@ const button = computed(() => {
65
72
  })
66
73
 
67
74
  onMounted(() => {
68
- if (leftColumn.value && rightColumn.value) {
75
+ if (leftColumn.value && rightColumn.value && window.innerWidth >= 1024) {
69
76
  rightColumn.value.style.height = `${leftColumn.value.offsetHeight}px`;
70
77
  }
71
78
  });
@@ -8,10 +8,8 @@
8
8
  <h3 class="text-[20px] text-gray-900 font-semibold">{{ paragraphComponent.title }}</h3>
9
9
  <p class="text-md font-normal mt-2 text-gray-600 leading-6" v-html="paragraphComponent.paragraph"></p>
10
10
  </div>
11
- <div class="rounded-xl md:rounded-3xl overflow-hidden relative" v-if="imageComponent">
12
- <img :src="imageComponent.featured_image" :alt="imageComponent.caption" class="w-full h-full object-cover"/>
13
- <p v-html="imageComponent.caption" class="mt-2 text-[13px]"></p>
14
- </div>
11
+ <img v-if="imageComponent" :src="imageComponent.featured_image" :alt="imageComponent.caption"
12
+ class="w-full rounded-xl"/>
15
13
  </div>
16
14
  <div v-else class="my-[44px]">
17
15
  <div
@@ -26,7 +24,7 @@
26
24
  </div>
27
25
  <div :class="featureItemsComponent.hasOwnProperty('grid_columns') ? '' : 'flex flex-col-reverse md:flex-row gap-8'">
28
26
  <div class="grid gap-8"
29
- :class="featureItemsComponent.hasOwnProperty('grid_columns') ? `md:grid-cols-${featureItemsComponent.grid_columns}` : 'lg:grid-cols-2 w-2/3'">
27
+ :class="featureItemsComponent.hasOwnProperty('grid_columns') ? `md:grid-cols-${featureItemsComponent.grid_columns}` : 'lg:grid-cols-2 lg:w-2/3'">
30
28
  <div v-for="item in items"
31
29
  class="flex gap-3 w-full"
32
30
  :class="{
@@ -38,7 +36,7 @@
38
36
  class="max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center">
39
37
  <IconComponent :icon="item.icon" icon-classes="w-5 h-5 text-brand-600"></IconComponent>
40
38
  </div>
41
- <div class="max-w-[324px] ql-editor" :class="{'max-w-full': featureItemsComponent?.has_background}">
39
+ <div class="md:max-w-[324px] ql-editor" :class="{'max-w-full': featureItemsComponent?.has_background}">
42
40
  <h3 class="font-semibold text-[20px] text-gray-900">{{ item.title }}</h3>
43
41
  <p class=" mt-2 text-md font-normal text-gray-600 leading-[24px]" v-html="item.supporting_text ?? item.description"></p>
44
42
  <a
@@ -54,9 +52,9 @@
54
52
  <img v-else :src="item.image" alt="Feature Image" class="w-full h-full object-cover"/>
55
53
  </div>
56
54
  </div>
57
- <div v-if="imageComponent" class="w-[560px]">
55
+ <div v-if="imageComponent" class="w-full md:w-[560px] flex">
58
56
  <img :src="imageComponent.featured_image" :alt="imageComponent?.caption ?? 'Image'"
59
- class="rounded-br-[24px] rounded-tl-[24px] w-full"/>
57
+ class="rounded-br-[24px] rounded-tl-[24px] w-full object-cover" />
60
58
  </div>
61
59
  </div>
62
60
  </div>