@dcodegroup-au/page-builder 0.7.5 → 0.7.7

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.
@@ -449,10 +449,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
449
449
  const _hoisted_7$q = { class: "flex justify-between" };
450
450
  const _hoisted_8$o = { class: "flex flex-col gap-1" };
451
451
  const _hoisted_9$n = { class: "font-semibold text-gray-900" };
452
- const _hoisted_10$i = { class: "text-sm text-gray-600" };
452
+ const _hoisted_10$j = { class: "text-sm text-gray-600" };
453
453
  const _hoisted_11$g = ["disabled"];
454
454
  const _hoisted_12$d = { class: "flex flex-col gap-3" };
455
- const _hoisted_13$a = ["onClick"];
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
458
  const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
@@ -515,7 +515,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
515
515
  vue.createElementVNode("div", _hoisted_7$q, [
516
516
  vue.createElementVNode("div", _hoisted_8$o, [
517
517
  vue.createElementVNode("div", _hoisted_9$n, vue.toDisplayString(vue.unref(parseName)(vue.unref(type))), 1),
518
- vue.createElementVNode("div", _hoisted_10$i, "This " + vue.toDisplayString(vue.unref(singularize)(vue.unref(type))) + " can contain up to " + vue.toDisplayString(dataRef.value.max_items) + " " + vue.toDisplayString(vue.unref(parseName)(vue.unref(type), false)), 1)
518
+ vue.createElementVNode("div", _hoisted_10$j, "This " + vue.toDisplayString(vue.unref(singularize)(vue.unref(type))) + " can contain up to " + vue.toDisplayString(dataRef.value.max_items) + " " + vue.toDisplayString(vue.unref(parseName)(vue.unref(type), false)), 1)
519
519
  ]),
520
520
  vue.createElementVNode("div", null, [
521
521
  vue.createElementVNode("button", {
@@ -552,7 +552,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
552
552
  "enable-edit": true,
553
553
  onEditItem: ($event) => edit(item, index)
554
554
  }, null, 8, ["onRemoveItem", "onEditItem"])
555
- ], 8, _hoisted_13$a)
555
+ ], 8, _hoisted_13$b)
556
556
  ], 2);
557
557
  }), 256))
558
558
  ])
@@ -11702,7 +11702,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11702
11702
  const _hoisted_7$p = { class: "file-upload-preview" };
11703
11703
  const _hoisted_8$n = ["src", "title"];
11704
11704
  const _hoisted_9$m = ["href"];
11705
- const _hoisted_10$h = { class: "file-upload-title" };
11705
+ const _hoisted_10$i = { class: "file-upload-title" };
11706
11706
  const _hoisted_11$f = { class: "file-upload-file-remove" };
11707
11707
  const _hoisted_12$c = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" };
11708
11708
  const _sfc_main$O = {
@@ -11808,7 +11808,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11808
11808
  target: "_blank",
11809
11809
  class: "link"
11810
11810
  }, [
11811
- vue.createElementVNode("div", _hoisted_10$h, vue.toDisplayString(file.value.file_name), 1)
11811
+ vue.createElementVNode("div", _hoisted_10$i, vue.toDisplayString(file.value.file_name), 1)
11812
11812
  ], 8, _hoisted_9$m),
11813
11813
  vue.createElementVNode("a", _hoisted_11$f, [
11814
11814
  vue.createElementVNode("i", {
@@ -33927,7 +33927,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33927
33927
  const _hoisted_7$n = { key: 0 };
33928
33928
  const _hoisted_8$l = { key: 1 };
33929
33929
  const _hoisted_9$l = { key: 2 };
33930
- const _hoisted_10$g = { class: "flex max-h-[196px] flex-wrap gap-1.5 overflow-y-auto" };
33930
+ const _hoisted_10$h = { class: "flex max-h-[196px] flex-wrap gap-1.5 overflow-y-auto" };
33931
33931
  const __default__ = {
33932
33932
  directives: {
33933
33933
  clickOutside: useClickOutside
@@ -34007,7 +34007,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34007
34007
  vue.createElementVNode("p", _hoisted_6$o, [
34008
34008
  icons2.value.length > 0 && search.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$n, " Search result ")) : icons2.value.length < 1 && search.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$l, " No search result ")) : search.value.length < 1 && icons2.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$l, " Frequently used icons ")) : vue.createCommentVNode("", true)
34009
34009
  ]),
34010
- vue.createElementVNode("div", _hoisted_10$g, [
34010
+ vue.createElementVNode("div", _hoisted_10$h, [
34011
34011
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(icons2.value, (icon) => {
34012
34012
  return vue.openBlock(), vue.createBlock(_sfc_main$H, {
34013
34013
  class: "cursor-pointer rounded p-1 hover:bg-gray-100",
@@ -45225,13 +45225,13 @@ ${escapeText(this.code(index, length))}
45225
45225
  const _hoisted_7$m = { class: "flex flex-col gap-3" };
45226
45226
  const _hoisted_8$k = { class: "flex items-center justify-between" };
45227
45227
  const _hoisted_9$k = { class: "text-lg font-semibold text-gray-900" };
45228
- const _hoisted_10$f = { class: "relative flex items-end" };
45228
+ const _hoisted_10$g = { class: "relative flex items-end" };
45229
45229
  const _hoisted_11$e = { class: "flex flex-col gap-6" };
45230
45230
  const _hoisted_12$b = {
45231
45231
  key: 0,
45232
45232
  class: "flex gap-4"
45233
45233
  };
45234
- const _hoisted_13$9 = { class: "flex items-center gap-2 cursor-pointer" };
45234
+ const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
45235
45235
  const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
45236
45236
  const _hoisted_15$6 = {
45237
45237
  key: 1,
@@ -45360,7 +45360,7 @@ ${escapeText(this.code(index, length))}
45360
45360
  }, [
45361
45361
  vue.createElementVNode("div", _hoisted_8$k, [
45362
45362
  vue.createElementVNode("div", _hoisted_9$k, " Item #" + vue.toDisplayString(index + 1), 1),
45363
- vue.createElementVNode("div", _hoisted_10$f, [
45363
+ vue.createElementVNode("div", _hoisted_10$g, [
45364
45364
  vue.createVNode(_sfc_main$S, {
45365
45365
  onRemoveItem: ($event) => handleDeleteItem(index)
45366
45366
  }, null, 8, ["onRemoveItem"])
@@ -45369,7 +45369,7 @@ ${escapeText(this.code(index, length))}
45369
45369
  vue.createElementVNode("div", _hoisted_11$e, [
45370
45370
  !((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$b, [
45371
45371
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
45372
- return vue.createElementVNode("label", _hoisted_13$9, [
45372
+ return vue.createElementVNode("label", _hoisted_13$a, [
45373
45373
  vue.withDirectives(vue.createElementVNode("input", {
45374
45374
  name: `content_type${index}`,
45375
45375
  type: "radio",
@@ -45480,7 +45480,7 @@ ${escapeText(this.code(index, length))}
45480
45480
  const _hoisted_7$l = { class: "flex items-center justify-between" };
45481
45481
  const _hoisted_8$j = { class: "text-lg font-semibold text-gray-900" };
45482
45482
  const _hoisted_9$j = { class: "relative flex items-end" };
45483
- const _hoisted_10$e = { class: "flex flex-col gap-6" };
45483
+ const _hoisted_10$f = { class: "flex flex-col gap-6" };
45484
45484
  const _hoisted_11$d = { class: "flex flex-col gap-1.5" };
45485
45485
  const _hoisted_12$a = ["onUpdate:modelValue"];
45486
45486
  const _sfc_main$B = {
@@ -45563,7 +45563,7 @@ ${escapeText(this.code(index, length))}
45563
45563
  }, null, 8, ["onRemoveItem"])
45564
45564
  ])
45565
45565
  ]),
45566
- vue.createElementVNode("div", _hoisted_10$e, [
45566
+ vue.createElementVNode("div", _hoisted_10$f, [
45567
45567
  vue.createElementVNode("div", _hoisted_11$d, [
45568
45568
  vue.createVNode(vue.unref(VFileUpload), {
45569
45569
  name: "image",
@@ -45768,7 +45768,7 @@ ${escapeText(this.code(index, length))}
45768
45768
  const _hoisted_7$j = { class: "flex items-center justify-between" };
45769
45769
  const _hoisted_8$i = { class: "text-lg font-semibold text-gray-900" };
45770
45770
  const _hoisted_9$i = { class: "relative flex items-end" };
45771
- const _hoisted_10$d = { class: "flex flex-col gap-6" };
45771
+ const _hoisted_10$e = { class: "flex flex-col gap-6" };
45772
45772
  const _hoisted_11$c = { class: "flex flex-col gap-1.5" };
45773
45773
  const _sfc_main$y = {
45774
45774
  __name: "VideoGrid",
@@ -45844,7 +45844,7 @@ ${escapeText(this.code(index, length))}
45844
45844
  }, null, 8, ["onRemoveItem"])
45845
45845
  ])
45846
45846
  ]),
45847
- vue.createElementVNode("div", _hoisted_10$d, [
45847
+ vue.createElementVNode("div", _hoisted_10$e, [
45848
45848
  vue.createElementVNode("div", _hoisted_11$c, [
45849
45849
  vue.createVNode(vue.unref(VFileUpload), {
45850
45850
  name: "image",
@@ -46165,10 +46165,10 @@ ${escapeText(this.code(index, length))}
46165
46165
  key: 0,
46166
46166
  class: "flex flex-col gap-2"
46167
46167
  };
46168
- const _hoisted_10$c = ["onClick"];
46168
+ const _hoisted_10$d = ["onClick"];
46169
46169
  const _hoisted_11$b = { class: "flex flex-col" };
46170
46170
  const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
46171
- const _hoisted_13$8 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46171
+ const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
46172
46172
  const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
46173
46173
  const _hoisted_15$5 = {
46174
46174
  key: 0,
@@ -46305,10 +46305,10 @@ ${escapeText(this.code(index, length))}
46305
46305
  _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
46306
46306
  vue.createElementVNode("div", _hoisted_12$9, vue.toDisplayString(component.name), 1)
46307
46307
  ]),
46308
- vue.createElementVNode("div", _hoisted_13$8, [
46308
+ vue.createElementVNode("div", _hoisted_13$9, [
46309
46309
  vue.createVNode(vue.unref(ChevronRight), { class: "h-5 w-5" })
46310
46310
  ])
46311
- ], 10, _hoisted_10$c);
46311
+ ], 10, _hoisted_10$d);
46312
46312
  }), 256))
46313
46313
  ])) : vue.createCommentVNode("", true)
46314
46314
  ]);
@@ -47829,20 +47829,21 @@ ${escapeText(this.code(index, length))}
47829
47829
  };
47830
47830
  }
47831
47831
  });
47832
- const _hoisted_1$M = { class: "flex h-[708px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl md:rounded-[48px] z-10" };
47833
- const _hoisted_2$m = { class: "lg:p-8 p-4 flex relative w-full" };
47834
- const _hoisted_3$j = { class: "lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative z-20" };
47832
+ const _hoisted_1$M = { class: "flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10" };
47833
+ const _hoisted_2$m = { class: "flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full" };
47834
+ const _hoisted_3$j = { class: "flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]" };
47835
47835
  const _hoisted_4$j = { class: "gap-2 flex z-10 mb-4" };
47836
47836
  const _hoisted_5$i = ["onClick"];
47837
- const _hoisted_6$i = { class: "lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47838
- const _hoisted_7$h = ["innerHTML"];
47839
- const _hoisted_8$g = { class: "flex gap-3 mt-8 flex-col lg:flex-row" };
47840
- const _hoisted_9$g = ["href", "target"];
47841
- const _hoisted_10$b = ["href", "target"];
47842
- const _hoisted_11$a = ["src"];
47843
- const _hoisted_12$8 = {
47837
+ const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
47838
+ const _hoisted_7$h = { class: "max-md:flex-1" };
47839
+ const _hoisted_8$g = ["innerHTML"];
47840
+ const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
47841
+ const _hoisted_10$c = ["href", "target"];
47842
+ const _hoisted_11$a = ["href", "target"];
47843
+ const _hoisted_12$8 = ["src"];
47844
+ const _hoisted_13$8 = {
47844
47845
  key: 1,
47845
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47846
+ class: "rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
47846
47847
  src: _imports_0
47847
47848
  };
47848
47849
  const _sfc_main$s = {
@@ -47883,11 +47884,13 @@ ${escapeText(this.code(index, length))}
47883
47884
  }), 256)) : vue.createCommentVNode("", true)
47884
47885
  ]),
47885
47886
  vue.createElementVNode("h3", _hoisted_6$i, vue.toDisplayString(slide == null ? void 0 : slide.title), 1),
47886
- vue.createElementVNode("p", {
47887
- class: "text-lg font-normal text-navy-50",
47888
- innerHTML: slide == null ? void 0 : slide.description
47889
- }, null, 8, _hoisted_7$h),
47890
- vue.createElementVNode("div", _hoisted_8$g, [
47887
+ vue.createElementVNode("div", _hoisted_7$h, [
47888
+ vue.createElementVNode("p", {
47889
+ class: "lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3",
47890
+ innerHTML: slide == null ? void 0 : slide.description
47891
+ }, null, 8, _hoisted_8$g)
47892
+ ]),
47893
+ vue.createElementVNode("div", _hoisted_9$g, [
47891
47894
  slide.secondary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
47892
47895
  key: 0,
47893
47896
  class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
@@ -47895,7 +47898,7 @@ ${escapeText(this.code(index, length))}
47895
47898
  target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
47896
47899
  }, [
47897
47900
  vue.createElementVNode("span", null, vue.toDisplayString(slide.secondary_button.label), 1)
47898
- ], 8, _hoisted_9$g)) : vue.createCommentVNode("", true),
47901
+ ], 8, _hoisted_10$c)) : vue.createCommentVNode("", true),
47899
47902
  slide.primary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
47900
47903
  key: 1,
47901
47904
  class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
@@ -47904,17 +47907,17 @@ ${escapeText(this.code(index, length))}
47904
47907
  }, [
47905
47908
  vue.createTextVNode(vue.toDisplayString(slide.primary_button.label) + " ", 1),
47906
47909
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
47907
- ], 8, _hoisted_10$b)) : vue.createCommentVNode("", true)
47910
+ ], 8, _hoisted_11$a)) : vue.createCommentVNode("", true)
47908
47911
  ])
47909
47912
  ]),
47910
47913
  slide.featured_image ? (vue.openBlock(), vue.createElementBlock("img", {
47911
47914
  key: 0,
47912
47915
  src: slide.featured_image,
47913
47916
  alt: "Slide Image",
47914
- class: "rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover"
47915
- }, null, 8, _hoisted_11$a)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_12$8)),
47916
- _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "absolute inset-0 lg:hidden z-10 p-4" }, [
47917
- vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl md:rounded-[48px] h-full" })
47917
+ class: "rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"
47918
+ }, null, 8, _hoisted_12$8)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_13$8)),
47919
+ _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "max-lg:hidden absolute inset-0 lg:hidden z-10 p-4" }, [
47920
+ vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full" })
47918
47921
  ], -1))
47919
47922
  ])
47920
47923
  ]),
@@ -47928,7 +47931,7 @@ ${escapeText(this.code(index, length))}
47928
47931
  };
47929
47932
  }
47930
47933
  };
47931
- const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-15563c74"]]);
47934
+ const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29ca6047"]]);
47932
47935
  const _hoisted_1$L = ["target", "href"];
47933
47936
  const _sfc_main$r = {
47934
47937
  __name: "LinkPresenter",
@@ -47944,7 +47947,7 @@ ${escapeText(this.code(index, length))}
47944
47947
  const isLinkGrid = component.value.type === "link_grid";
47945
47948
  return (_ctx, _cache) => {
47946
47949
  return vue.openBlock(), vue.createElementBlock("div", {
47947
- class: vue.normalizeClass(["flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl md:rounded-b-[48px] bg-navy-600 -mt-12 pt-20 md:pt-12 max-md:pb-4 px-4 gap-y-2 gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-md:!pb-0 max-md:!pt-4": isLinkGrid }])
47950
+ class: vue.normalizeClass(["flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600 -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4": isLinkGrid }])
47948
47951
  }, [
47949
47952
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(component.value.data, (link) => {
47950
47953
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -47953,7 +47956,7 @@ ${escapeText(this.code(index, length))}
47953
47956
  vue.createElementVNode("a", {
47954
47957
  target: link.open_in_new_tab ? "_blank" : "",
47955
47958
  href: link.url.startsWith("http") ? link.url : `//${link.url}`,
47956
- class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300 h-9", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47959
+ class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
47957
47960
  }, [
47958
47961
  vue.createElementVNode("span", null, vue.toDisplayString(link.title), 1),
47959
47962
  vue.createVNode(vue.unref(ArrowUpRight), { class: "shrink-0 w-5 h-5" })
@@ -48014,15 +48017,15 @@ ${escapeText(this.code(index, length))}
48014
48017
  return (_ctx, _cache) => {
48015
48018
  var _a, _b, _c, _d, _e, _f, _g;
48016
48019
  return vue.openBlock(), vue.createElementBlock("div", {
48017
- class: vue.normalizeClass(["flex flex-col sm:px-0 px-4", { "items-center": (_a = component.value) == null ? void 0 : _a.center }])
48020
+ class: vue.normalizeClass(["flex flex-col gap-4 sm:px-0 px-4", { "items-center": (_a = component.value) == null ? void 0 : _a.center }])
48018
48021
  }, [
48019
48022
  ((_b = component.value) == null ? void 0 : _b.title) ? (vue.openBlock(), vue.createElementBlock("p", {
48020
48023
  key: 0,
48021
- class: vue.normalizeClass(["pb-4 text-4xl font-semibold text-white", { "!text-gray-900": (_c = component.value) == null ? void 0 : _c.dark }])
48024
+ class: vue.normalizeClass(["text-2xl sm:text-3xl lg:text-4xl font-semibold text-white", { "!text-gray-900": (_c = component.value) == null ? void 0 : _c.dark }])
48022
48025
  }, vue.toDisplayString((_d = component.value) == null ? void 0 : _d.title), 3)) : vue.createCommentVNode("", true),
48023
48026
  ((_e = component.value) == null ? void 0 : _e.supporting_text) ? (vue.openBlock(), vue.createElementBlock("p", {
48024
48027
  key: 1,
48025
- class: vue.normalizeClass(["text-navy-25 text-xl font-normal leading-[30px]", { "!text-gray-600": (_f = component.value) == null ? void 0 : _f.dark }])
48028
+ class: vue.normalizeClass(["text-navy-25 text-sm sm:text-base lg:text-xl", { "!text-gray-600": (_f = component.value) == null ? void 0 : _f.dark }])
48026
48029
  }, vue.toDisplayString((_g = component.value) == null ? void 0 : _g.supporting_text), 3)) : vue.createCommentVNode("", true)
48027
48030
  ], 2);
48028
48031
  };
@@ -48118,20 +48121,21 @@ ${escapeText(this.code(index, length))}
48118
48121
  };
48119
48122
  }
48120
48123
  };
48121
- const _hoisted_1$G = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" };
48122
- const _hoisted_2$k = { class: "flex-1 w-full md:w-1/2 flex flex-col" };
48124
+ const _hoisted_1$G = { class: "grid sm:grid-cols-[auto_240px] lg:grid-cols-2 justify-center gap-4 items-stretch mt-6 text-left" };
48125
+ const _hoisted_2$k = { class: "grid max-sm:grid-cols-2 gap-4" };
48123
48126
  const _hoisted_3$i = ["onClick"];
48124
- const _hoisted_4$i = { class: "py-4 pl-4 md:pl-6" };
48125
- const _hoisted_5$h = ["innerHTML"];
48126
- const _hoisted_6$h = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" };
48127
- const _hoisted_7$g = ["src"];
48128
- const _hoisted_8$f = {
48127
+ const _hoisted_4$i = { class: "sm:py-4 sm:pl-4 md:pl-6" };
48128
+ const _hoisted_5$h = ["target", "href"];
48129
+ const _hoisted_6$h = ["innerHTML"];
48130
+ const _hoisted_7$g = { class: "max-sm:hidden bg-transparent flex flex-col items-center" };
48131
+ const _hoisted_8$f = ["src"];
48132
+ const _hoisted_9$f = {
48129
48133
  key: 1,
48130
- class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
48134
+ class: "rounded-[20px] md:rounded-[40px] object-contain lg:max-h-[387px] w-full",
48131
48135
  src: _imports_0,
48132
48136
  alt: "No Image Available"
48133
48137
  };
48134
- const _hoisted_9$f = ["target", "href"];
48138
+ const _hoisted_10$b = ["target", "href"];
48135
48139
  const _sfc_main$n = {
48136
48140
  __name: "VerticalTabPresenter",
48137
48141
  props: {
@@ -48157,27 +48161,37 @@ ${escapeText(this.code(index, length))}
48157
48161
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
48158
48162
  vue.createElementVNode("div", _hoisted_2$k, [
48159
48163
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(publicTabs.value, (item) => {
48164
+ var _a, _b, _c, _d, _e, _f;
48160
48165
  return vue.openBlock(), vue.createElementBlock("div", {
48161
48166
  key: item.title
48162
48167
  }, [
48163
48168
  vue.createElementVNode("div", {
48164
- class: vue.normalizeClass(["flex-col flex gap-1.5 cursor-pointer mb-4 group", { "border-l-4 border-brand-600": selectedItem.value === item, "border-l-4 border-gray-100": selectedItem.value !== item }]),
48165
- onClick: vue.withModifiers(($event) => selectItem(item), ["prevent"])
48169
+ class: vue.normalizeClass(["flex-col flex gap-1.5 cursor-pointer group", { "sm:border-l-4 border-brand-600": selectedItem.value === item, "sm:border-l-4 border-navy-25": selectedItem.value !== item }]),
48170
+ onClick: ($event) => selectItem(item)
48166
48171
  }, [
48167
48172
  vue.createElementVNode("div", _hoisted_4$i, [
48173
+ vue.createElementVNode("div", {
48174
+ class: vue.normalizeClass([{ "text-gray-900": selectedItem.value === item, "text-gray-600": selectedItem.value !== item }, "max-sm:text-gray-900 max-sm:bg-white max-sm:p-3 max-sm:rounded-lg max-sm:min-h-[84px] text-sm relative sm:text-lg md:text-xl font-semibold sm:mb-2 group-hover:text-gray-900 grid max-sm:grid-cols-[auto_20px] gap-2"])
48175
+ }, [
48176
+ vue.createTextVNode(vue.toDisplayString(item.title) + " ", 1),
48177
+ vue.createVNode(vue.unref(ArrowUpRight), { class: "sm:hidden" }),
48178
+ ((_b = (_a = selectedItem.value) == null ? void 0 : _a.primary_button) == null ? void 0 : _b.show) ? (vue.openBlock(), vue.createElementBlock("a", {
48179
+ key: 0,
48180
+ target: ((_d = (_c = selectedItem.value) == null ? void 0 : _c.primary_button) == null ? void 0 : _d.open_in_new_tab) ? "_blank" : "",
48181
+ href: ((_f = (_e = selectedItem.value) == null ? void 0 : _e.primary_button) == null ? void 0 : _f.url.startsWith("http")) ? selectedItem.value.primary_button.url : `//${selectedItem.value.primary_button.url}`,
48182
+ class: "absolute inset-0 sm:hidden z-10"
48183
+ }, null, 8, _hoisted_5$h)) : vue.createCommentVNode("", true)
48184
+ ], 2),
48168
48185
  vue.createElementVNode("p", {
48169
- class: vue.normalizeClass([{ "text-gray-900": selectedItem.value === item, "text-gray-600": selectedItem.value !== item }, "text-lg md:text-xl font-semibold mb-2 group-hover:text-gray-900"])
48170
- }, vue.toDisplayString(item.title), 3),
48171
- vue.createElementVNode("p", {
48172
- class: vue.normalizeClass([{ "text-gray-700": selectedItem.value === item, "text-gray-400": selectedItem.value !== item }, "text-sm md:text-md font-normal group-hover:text-gray-700"]),
48186
+ class: vue.normalizeClass([{ "text-gray-700": selectedItem.value === item, "text-gray-400": selectedItem.value !== item }, "max-sm:hidden text-sm md:text-md font-normal group-hover:text-gray-700"]),
48173
48187
  innerHTML: item.description
48174
- }, null, 10, _hoisted_5$h)
48188
+ }, null, 10, _hoisted_6$h)
48175
48189
  ])
48176
48190
  ], 10, _hoisted_3$i)
48177
48191
  ]);
48178
48192
  }), 128))
48179
48193
  ]),
48180
- vue.createElementVNode("div", _hoisted_6$h, [
48194
+ vue.createElementVNode("div", _hoisted_7$g, [
48181
48195
  vue.createVNode(vue.Transition, {
48182
48196
  name: "fade",
48183
48197
  mode: "out-in"
@@ -48193,8 +48207,8 @@ ${escapeText(this.code(index, length))}
48193
48207
  key: 0,
48194
48208
  src: selectedItem.value.featured_image,
48195
48209
  alt: "Selected Item Image",
48196
- class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full"
48197
- }, null, 8, _hoisted_7$g)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_8$f)),
48210
+ class: "rounded-[20px] md:rounded-[40px] object-contain lg:max-h-[387px] w-full"
48211
+ }, null, 8, _hoisted_8$f)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_9$f)),
48198
48212
  ((_d = (_c = selectedItem.value) == null ? void 0 : _c.primary_button) == null ? void 0 : _d.show) ? (vue.openBlock(), vue.createElementBlock("a", {
48199
48213
  key: 2,
48200
48214
  class: "text-sm md:text-md font-semibold text-brand-600 flex items-center gap-2 mt-4",
@@ -48203,7 +48217,7 @@ ${escapeText(this.code(index, length))}
48203
48217
  }, [
48204
48218
  vue.createTextVNode(vue.toDisplayString(((_j = (_i = selectedItem.value) == null ? void 0 : _i.primary_button) == null ? void 0 : _j.label) ?? "N/A") + " ", 1),
48205
48219
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-4 h-4 md:w-5 md:h-5" })
48206
- ], 8, _hoisted_9$f)) : vue.createCommentVNode("", true)
48220
+ ], 8, _hoisted_10$b)) : vue.createCommentVNode("", true)
48207
48221
  ]))
48208
48222
  ];
48209
48223
  }),
@@ -48214,9 +48228,9 @@ ${escapeText(this.code(index, length))}
48214
48228
  };
48215
48229
  }
48216
48230
  };
48217
- const VVerticalTabPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ef885607"]]);
48231
+ const VVerticalTabPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-85226fd9"]]);
48218
48232
  const _hoisted_1$F = { class: "pb-container" };
48219
- const _hoisted_2$j = { class: "max-md:mx-[30px] 1xl:mx-0 bg-navy-25 rounded-3xl md:rounded-[48px] p-16" };
48233
+ const _hoisted_2$j = { class: "bg-navy-25 rounded-3xl md:rounded-[48px] py-6 px-4 lg:p-16 text-center" };
48220
48234
  const _sfc_main$m = {
48221
48235
  __name: "VTabs",
48222
48236
  props: {
@@ -48928,7 +48942,7 @@ ${escapeText(this.code(index, length))}
48928
48942
  const _hoisted_1$r = { class: "overflow-hidden mt-4" };
48929
48943
  const _hoisted_2$d = {
48930
48944
  key: 0,
48931
- class: "text-[36px] text-gray-900 font-semibold"
48945
+ class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900"
48932
48946
  };
48933
48947
  const _hoisted_3$d = { class: "all-unset ql-editor" };
48934
48948
  const _hoisted_4$d = ["innerHTML"];
@@ -49044,7 +49058,7 @@ ${escapeText(this.code(index, length))}
49044
49058
  }
49045
49059
  };
49046
49060
  const _hoisted_1$q = { class: "overflow-hidden" };
49047
- const _hoisted_2$c = { class: "pb-container mt-4 px-4" };
49061
+ const _hoisted_2$c = { class: "pb-container mt-4" };
49048
49062
  const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49049
49063
  const _hoisted_4$c = ["innerHTML"];
49050
49064
  const _hoisted_5$c = {
@@ -49057,7 +49071,7 @@ ${escapeText(this.code(index, length))}
49057
49071
  key: 1,
49058
49072
  class: "my-[44px]"
49059
49073
  };
49060
- const _hoisted_9$b = { class: "text-[36px] text-gray-900 font-semibold" };
49074
+ const _hoisted_9$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49061
49075
  const _hoisted_10$8 = ["innerHTML"];
49062
49076
  const _hoisted_11$7 = {
49063
49077
  key: 0,
@@ -49218,7 +49232,7 @@ ${escapeText(this.code(index, length))}
49218
49232
  key: 0,
49219
49233
  class: "rounded-xl px-[40px] text-center mb-1 max-w-[1280px] mx-auto"
49220
49234
  };
49221
- const _hoisted_4$b = { class: "text-[36px] text-gray-900 font-semibold" };
49235
+ const _hoisted_4$b = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49222
49236
  const _hoisted_5$b = ["innerHTML"];
49223
49237
  const _hoisted_6$b = { key: 1 };
49224
49238
  const _hoisted_7$b = { class: "mt-4" };
@@ -49306,7 +49320,7 @@ ${escapeText(this.code(index, length))}
49306
49320
  key: 0,
49307
49321
  class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
49308
49322
  };
49309
- const _hoisted_3$a = { class: "text-[36px] text-gray-900 font-semibold" };
49323
+ const _hoisted_3$a = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49310
49324
  const _hoisted_4$a = ["innerHTML"];
49311
49325
  const _hoisted_5$a = ["src"];
49312
49326
  const _hoisted_6$a = {
@@ -49411,7 +49425,7 @@ ${escapeText(this.code(index, length))}
49411
49425
  };
49412
49426
  }
49413
49427
  };
49414
- const LinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a7422ac9"]]);
49428
+ const LinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-af7a1782"]]);
49415
49429
  const _hoisted_1$n = {
49416
49430
  xmlns: "http://www.w3.org/2000/svg",
49417
49431
  fill: "none",
@@ -49435,7 +49449,7 @@ ${escapeText(this.code(index, length))}
49435
49449
  key: 0,
49436
49450
  class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
49437
49451
  };
49438
- const _hoisted_4$9 = { class: "text-[36px] text-gray-900 font-semibold" };
49452
+ const _hoisted_4$9 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49439
49453
  const _hoisted_5$9 = ["innerHTML"];
49440
49454
  const _hoisted_6$9 = ["src"];
49441
49455
  const _hoisted_7$9 = {
@@ -49536,7 +49550,7 @@ ${escapeText(this.code(index, length))}
49536
49550
  key: 0,
49537
49551
  class: "w-[48px] h-[48px] bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49538
49552
  };
49539
- const _hoisted_4$8 = { class: "text-[36px] text-gray-900 font-semibold" };
49553
+ const _hoisted_4$8 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49540
49554
  const _hoisted_5$8 = ["innerHTML"];
49541
49555
  const _hoisted_6$8 = ["textContent"];
49542
49556
  const _hoisted_7$8 = { class: "flex" };
@@ -49885,7 +49899,7 @@ ${escapeText(this.code(index, length))}
49885
49899
  key: 0,
49886
49900
  class: "px-[40px] text-center mb-6 mx-auto"
49887
49901
  };
49888
- const _hoisted_3$5 = { class: "text-[36px] text-gray-900 font-semibold" };
49902
+ const _hoisted_3$5 = { class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900" };
49889
49903
  const _hoisted_4$5 = ["innerHTML"];
49890
49904
  const _hoisted_5$5 = {
49891
49905
  key: 1,
@@ -50018,7 +50032,7 @@ ${escapeText(this.code(index, length))}
50018
50032
  vue.createElementVNode("div", _hoisted_2$4, [
50019
50033
  vue.createElementVNode("div", null, [
50020
50034
  vue.createElementVNode("p", {
50021
- class: "text-[36px] font-semibold text-gray-900 mb-[48px]",
50035
+ class: "text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 mb-[48px]",
50022
50036
  textContent: vue.toDisplayString(pricingComponent.value.title)
50023
50037
  }, null, 8, _hoisted_3$4),
50024
50038
  vue.createElementVNode("div", _hoisted_4$4, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/page-builder",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -110,5 +110,5 @@
110
110
  }
111
111
 
112
112
  .pb-container {
113
- @apply max-w-[1640px] px-4 md:px-[120px] mx-auto w-full;
113
+ @apply max-w-[1640px] px-4 md:px-16 lg:px-[120px] mx-auto w-full;
114
114
  }
@@ -1,13 +1,13 @@
1
1
  <template>
2
- <div class="flex flex-col sm:px-0 px-4" :class="{'items-center': component?.center}">
2
+ <div class="flex flex-col gap-4 sm:px-0 px-4" :class="{'items-center': component?.center}">
3
3
  <p
4
4
  v-if="component?.title"
5
- class="pb-4 text-4xl font-semibold text-white"
5
+ class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-white"
6
6
  :class="{'!text-gray-900': component?.dark}"
7
7
  >{{ component?.title }}</p>
8
8
  <p
9
9
  v-if="component?.supporting_text"
10
- class="text-navy-25 text-xl font-normal leading-[30px]"
10
+ class="text-navy-25 text-sm sm:text-base lg:text-xl"
11
11
  :class="{'!text-gray-600': component?.dark}"
12
12
  >
13
13
  {{ component?.supporting_text }}</p>
@@ -1,10 +1,13 @@
1
1
  <template>
2
- <div class="flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl md:rounded-b-[48px] bg-navy-600 -mt-12 pt-20 md:pt-12 max-md:pb-4 px-4 gap-y-2 gap-x-[60px]" :class="{'bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-md:!pb-0 max-md:!pt-4': isLinkGrid}">
2
+ <div class="flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600
3
+ -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]"
4
+ :class="{'bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4': isLinkGrid}"
5
+ >
3
6
  <div class="flex justify-center items-center max-w-full" :class="{'!block': isLinkGrid}" v-for="link in component.data">
4
7
  <a
5
8
  :target="link.open_in_new_tab ? '_blank' : ''"
6
9
  :href="link.url.startsWith('http') ? link.url : `//${link.url}`"
7
- class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300 h-9"
10
+ class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300"
8
11
  :class="{'bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100': isLinkGrid}"
9
12
  >
10
13
  <span>{{ link.title }}</span><ArrowUpRight class="shrink-0 w-5 h-5"></ArrowUpRight>
@@ -1,18 +1,20 @@
1
1
  <template>
2
- <div class="flex h-[708px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl md:rounded-[48px] z-10">
2
+ <div class="flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10">
3
3
  <Carousel :items-to-show="1" v-model="currentSlide" :autoplay="5000" class="carousel w-full" :wrap-around="true">
4
4
  <Slide v-for="(slide, index) in slides" :key="index">
5
- <div class="lg:p-8 p-4 flex relative w-full">
6
- <div class="lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative z-20">
5
+ <div class="flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full">
6
+ <div class="flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]">
7
7
  <div class="gap-2 flex z-10 mb-4">
8
8
  <a v-if="slides.length > 1"
9
9
  v-for="(slide, index) in slides"
10
10
  @click="currentSlide = index" class="w-4 h-1 bg-navy-400 rounded-full cursor-pointer" :class="{'!w-12 !bg-white' : currentSlide === index}"
11
11
  ></a>
12
12
  </div>
13
- <h3 class="lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]">{{ slide?.title }}</h3>
14
- <p class="text-lg font-normal text-navy-50" v-html="slide?.description"></p>
15
- <div class="flex gap-3 mt-8 flex-col lg:flex-row">
13
+ <h3 class="text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]">{{ slide?.title }}</h3>
14
+ <div class="max-md:flex-1">
15
+ <p class="lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3" v-html="slide?.description"></p>
16
+ </div>
17
+ <div class="flex gap-3 md:mt-8 max-sm:flex-col">
16
18
  <a class="text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60"
17
19
  :href="formatUrl(slide.secondary_button.url)"
18
20
  v-if="slide.secondary_button.show"
@@ -32,9 +34,9 @@
32
34
  v-if="slide.featured_image"
33
35
  :src="slide.featured_image"
34
36
  alt="Slide Image"
35
- class="rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover"/>
36
- <img v-else class="rounded-3xl md:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover" src="@/assets/img/no_image_available.jpeg">
37
- <div class="absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl md:rounded-[48px] h-full"></div></div>
37
+ class="rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"/>
38
+ <img v-else class="rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover" src="@/assets/img/no_image_available.jpeg">
39
+ <div class="max-lg:hidden absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full"></div></div>
38
40
  </div>
39
41
  </Slide>
40
42
  </Carousel>
@@ -63,5 +65,10 @@ const slides = componentData.value.data.filter((o) => o.public);
63
65
  <style scoped>
64
66
  .carousel {
65
67
  margin: 1rem 0;
68
+ flex-direction: column;
69
+ }
70
+
71
+ :deep(.carousel__slide) {
72
+ @apply max-lg:flex-col;
66
73
  }
67
74
  </style>