@dcodegroup-au/page-builder 0.7.1 → 0.7.3

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.
@@ -45236,7 +45236,7 @@ const _hoisted_15$6 = {
45236
45236
  };
45237
45237
  const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45238
45238
  const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45239
- const _hoisted_18$3 = { key: 2 };
45239
+ const _hoisted_18$2 = { key: 2 };
45240
45240
  const _sfc_main$C = {
45241
45241
  __name: "Links",
45242
45242
  props: {
@@ -45436,7 +45436,7 @@ const _sfc_main$C = {
45436
45436
  sites: _ctx.sites,
45437
45437
  forms: __props.forms
45438
45438
  }, null, 8, ["name", "type", "onUpdate:type", "url", "onUpdate:url", "openInNewTab", "onUpdate:openInNewTab", "sites", "forms"])) : createCommentVNode("", true)
45439
- ])) : (openBlock(), createElementBlock("div", _hoisted_18$3, [
45439
+ ])) : (openBlock(), createElementBlock("div", _hoisted_18$2, [
45440
45440
  createVNode(_sfc_main$P, {
45441
45441
  "is-vertical": "",
45442
45442
  field: "image",
@@ -46173,7 +46173,7 @@ const _hoisted_15$5 = {
46173
46173
  };
46174
46174
  const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46175
46175
  const _hoisted_17$2 = ["value"];
46176
- const _hoisted_18$2 = {
46176
+ const _hoisted_18$1 = {
46177
46177
  key: 1,
46178
46178
  class: "rounded-xl bg-gray-50 px-6 py-5"
46179
46179
  };
@@ -46338,7 +46338,7 @@ const _sfc_main$t = {
46338
46338
  _cache[2] || (_cache[2] = createElementVNode("p", null, "This sets the section name shown in the breadcrumb (e.g. Home / Who We Are / Page). Leave blank to skip the section.", -1))
46339
46339
  ])
46340
46340
  ])) : createCommentVNode("", true),
46341
- !unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_18$2, [
46341
+ !unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_18$1, [
46342
46342
  createVNode(Instructions)
46343
46343
  ])) : createCommentVNode("", true),
46344
46344
  (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), {
@@ -49043,37 +49043,33 @@ const _sfc_main$e = {
49043
49043
  };
49044
49044
  const _hoisted_1$q = { class: "overflow-hidden" };
49045
49045
  const _hoisted_2$c = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full mt-4 px-4" };
49046
- const _hoisted_3$c = {
49047
- key: 0,
49048
- class: "grid lg:grid-cols-[33%_auto] gap-1.5 lg:gap-4"
49049
- };
49050
- const _hoisted_4$c = { class: "text-[20px] text-gray-900 font-semibold" };
49051
- const _hoisted_5$c = ["innerHTML"];
49052
- const _hoisted_6$c = {
49046
+ const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49047
+ const _hoisted_4$c = ["innerHTML"];
49048
+ const _hoisted_5$c = {
49053
49049
  key: 1,
49054
49050
  class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49055
49051
  };
49056
- const _hoisted_7$c = ["src", "alt"];
49057
- const _hoisted_8$b = ["innerHTML"];
49058
- const _hoisted_9$b = {
49052
+ const _hoisted_6$c = ["src", "alt"];
49053
+ const _hoisted_7$c = ["innerHTML"];
49054
+ const _hoisted_8$b = {
49059
49055
  key: 1,
49060
49056
  class: "my-[44px]"
49061
49057
  };
49062
- const _hoisted_10$8 = { class: "text-[36px] text-gray-900 font-semibold" };
49063
- const _hoisted_11$7 = ["innerHTML"];
49064
- const _hoisted_12$5 = {
49058
+ const _hoisted_9$b = { class: "text-[36px] text-gray-900 font-semibold" };
49059
+ const _hoisted_10$8 = ["innerHTML"];
49060
+ const _hoisted_11$7 = {
49065
49061
  key: 0,
49066
49062
  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"
49067
49063
  };
49068
- const _hoisted_13$4 = { class: "font-semibold text-[20px] text-gray-900" };
49069
- const _hoisted_14$4 = ["innerHTML"];
49070
- const _hoisted_15$3 = ["href", "target"];
49071
- const _hoisted_16$1 = ["src"];
49072
- const _hoisted_17$1 = {
49064
+ const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49065
+ const _hoisted_13$4 = ["innerHTML"];
49066
+ const _hoisted_14$4 = ["href", "target"];
49067
+ const _hoisted_15$3 = ["src"];
49068
+ const _hoisted_16$1 = {
49073
49069
  key: 0,
49074
49070
  class: "w-[560px]"
49075
49071
  };
49076
- const _hoisted_18$1 = ["src", "alt"];
49072
+ const _hoisted_17$1 = ["src", "alt"];
49077
49073
  const _sfc_main$d = {
49078
49074
  __name: "TwoColumnsImageContent",
49079
49075
  props: {
@@ -49085,6 +49081,7 @@ const _sfc_main$d = {
49085
49081
  setup(__props) {
49086
49082
  const props = __props;
49087
49083
  const section = ref(props.section);
49084
+ const innerWidth = ref(window.innerWidth);
49088
49085
  const paragraphComponent = computed(() => {
49089
49086
  return section.value.components.find((component) => component.type === "paragraph");
49090
49087
  });
@@ -49113,39 +49110,43 @@ const _sfc_main$d = {
49113
49110
  var _a, _b, _c, _d;
49114
49111
  return openBlock(), createElementBlock("div", _hoisted_1$q, [
49115
49112
  createElementVNode("div", _hoisted_2$c, [
49116
- paragraphComponent.value ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
49113
+ paragraphComponent.value ? (openBlock(), createElementBlock("div", {
49114
+ key: 0,
49115
+ class: "grid gap-1.5 lg:gap-4",
49116
+ style: normalizeStyle(innerWidth.value >= 1024 ? "grid-template-columns: 33% auto;" : "")
49117
+ }, [
49117
49118
  paragraphComponent.value ? (openBlock(), createElementBlock("div", {
49118
49119
  key: 0,
49119
49120
  class: normalizeClass(["bg-gray-100 rounded-xl p-8", { "h-fit": (_a = section.value) == null ? void 0 : _a.minimum_height }])
49120
49121
  }, [
49121
- createElementVNode("h3", _hoisted_4$c, toDisplayString(paragraphComponent.value.title), 1),
49122
+ createElementVNode("h3", _hoisted_3$c, toDisplayString(paragraphComponent.value.title), 1),
49122
49123
  createElementVNode("p", {
49123
49124
  class: "text-md font-normal mt-2 text-gray-600 leading-6",
49124
49125
  innerHTML: paragraphComponent.value.paragraph
49125
- }, null, 8, _hoisted_5$c)
49126
+ }, null, 8, _hoisted_4$c)
49126
49127
  ], 2)) : createCommentVNode("", true),
49127
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
49128
+ imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
49128
49129
  createElementVNode("img", {
49129
49130
  src: imageComponent.value.featured_image,
49130
49131
  alt: imageComponent.value.caption,
49131
- class: "lg:absolute inset-0 w-full h-full object-cover"
49132
- }, null, 8, _hoisted_7$c),
49132
+ class: "w-full h-full object-cover"
49133
+ }, null, 8, _hoisted_6$c),
49133
49134
  createElementVNode("p", {
49134
49135
  innerHTML: imageComponent.value.caption,
49135
49136
  class: "mt-2 text-[13px]"
49136
- }, null, 8, _hoisted_8$b)
49137
+ }, null, 8, _hoisted_7$c)
49137
49138
  ])) : createCommentVNode("", true)
49138
- ])) : (openBlock(), createElementBlock("div", _hoisted_9$b, [
49139
+ ], 4)) : (openBlock(), createElementBlock("div", _hoisted_8$b, [
49139
49140
  headerComponent.value ? (openBlock(), createElementBlock("div", {
49140
49141
  key: 0,
49141
49142
  class: normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49142
49143
  }, [
49143
- createElementVNode("h3", _hoisted_10$8, toDisplayString(headerComponent.value.title), 1),
49144
+ createElementVNode("h3", _hoisted_9$b, toDisplayString(headerComponent.value.title), 1),
49144
49145
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (openBlock(), createElementBlock("p", {
49145
49146
  key: 0,
49146
49147
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49147
49148
  innerHTML: headerComponent.value.supporting_text
49148
- }, null, 8, _hoisted_11$7)) : createCommentVNode("", true)
49149
+ }, null, 8, _hoisted_10$8)) : createCommentVNode("", true)
49149
49150
  ], 2)) : createCommentVNode("", true),
49150
49151
  createElementVNode("div", {
49151
49152
  class: normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
@@ -49162,7 +49163,7 @@ const _sfc_main$d = {
49162
49163
  }])
49163
49164
  }, [
49164
49165
  item.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
49165
- (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_12$5, [
49166
+ (item == null ? void 0 : item.icon) ? (openBlock(), createElementBlock("div", _hoisted_11$7, [
49166
49167
  createVNode(_sfc_main$H, {
49167
49168
  icon: item.icon,
49168
49169
  "icon-classes": "w-5 h-5 text-brand-600"
@@ -49171,11 +49172,11 @@ const _sfc_main$d = {
49171
49172
  createElementVNode("div", {
49172
49173
  class: normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49173
49174
  }, [
49174
- createElementVNode("h3", _hoisted_13$4, toDisplayString(item.title), 1),
49175
+ createElementVNode("h3", _hoisted_12$5, toDisplayString(item.title), 1),
49175
49176
  createElementVNode("p", {
49176
49177
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49177
49178
  innerHTML: item.supporting_text ?? item.description
49178
- }, null, 8, _hoisted_14$4),
49179
+ }, null, 8, _hoisted_13$4),
49179
49180
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (openBlock(), createElementBlock("a", {
49180
49181
  key: 0,
49181
49182
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49184,23 +49185,23 @@ const _sfc_main$d = {
49184
49185
  }, [
49185
49186
  createTextVNode(toDisplayString(item.primary_button.label) + " ", 1),
49186
49187
  createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
49187
- ], 8, _hoisted_15$3)) : createCommentVNode("", true)
49188
+ ], 8, _hoisted_14$4)) : createCommentVNode("", true)
49188
49189
  ], 2)
49189
49190
  ], 64)) : (openBlock(), createElementBlock("img", {
49190
49191
  key: 1,
49191
49192
  src: item.image,
49192
49193
  alt: "Feature Image",
49193
49194
  class: "w-full h-full object-cover"
49194
- }, null, 8, _hoisted_16$1))
49195
+ }, null, 8, _hoisted_15$3))
49195
49196
  ], 2);
49196
49197
  }), 256))
49197
49198
  ], 2),
49198
- imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
49199
+ imageComponent.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
49199
49200
  createElementVNode("img", {
49200
49201
  src: imageComponent.value.featured_image,
49201
49202
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49202
49203
  class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49203
- }, null, 8, _hoisted_18$1)
49204
+ }, null, 8, _hoisted_17$1)
49204
49205
  ])) : createCommentVNode("", true)
49205
49206
  ], 2)
49206
49207
  ]))
@@ -45239,7 +45239,7 @@ ${escapeText(this.code(index, length))}
45239
45239
  };
45240
45240
  const _hoisted_16$4 = ["onUpdate:modelValue", "maxlength"];
45241
45241
  const _hoisted_17$3 = ["onUpdate:modelValue", "maxlength"];
45242
- const _hoisted_18$3 = { key: 2 };
45242
+ const _hoisted_18$2 = { key: 2 };
45243
45243
  const _sfc_main$C = {
45244
45244
  __name: "Links",
45245
45245
  props: {
@@ -45439,7 +45439,7 @@ ${escapeText(this.code(index, length))}
45439
45439
  sites: _ctx.sites,
45440
45440
  forms: __props.forms
45441
45441
  }, null, 8, ["name", "type", "onUpdate:type", "url", "onUpdate:url", "openInNewTab", "onUpdate:openInNewTab", "sites", "forms"])) : vue.createCommentVNode("", true)
45442
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$3, [
45442
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$2, [
45443
45443
  vue.createVNode(_sfc_main$P, {
45444
45444
  "is-vertical": "",
45445
45445
  field: "image",
@@ -46176,7 +46176,7 @@ ${escapeText(this.code(index, length))}
46176
46176
  };
46177
46177
  const _hoisted_16$3 = { class: "flex flex-col gap-1 pt-6 text-gray-600" };
46178
46178
  const _hoisted_17$2 = ["value"];
46179
- const _hoisted_18$2 = {
46179
+ const _hoisted_18$1 = {
46180
46180
  key: 1,
46181
46181
  class: "rounded-xl bg-gray-50 px-6 py-5"
46182
46182
  };
@@ -46341,7 +46341,7 @@ ${escapeText(this.code(index, length))}
46341
46341
  _cache[2] || (_cache[2] = vue.createElementVNode("p", null, "This sets the section name shown in the breadcrumb (e.g. Home / Who We Are / Page). Leave blank to skip the section.", -1))
46342
46342
  ])
46343
46343
  ])) : vue.createCommentVNode("", true),
46344
- !vue.unref(selected) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$2, [
46344
+ !vue.unref(selected) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$1, [
46345
46345
  vue.createVNode(Instructions)
46346
46346
  ])) : vue.createCommentVNode("", true),
46347
46347
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(currentComponent.value), {
@@ -49046,37 +49046,33 @@ ${escapeText(this.code(index, length))}
49046
49046
  };
49047
49047
  const _hoisted_1$q = { class: "overflow-hidden" };
49048
49048
  const _hoisted_2$c = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full mt-4 px-4" };
49049
- const _hoisted_3$c = {
49050
- key: 0,
49051
- class: "grid lg:grid-cols-[33%_auto] gap-1.5 lg:gap-4"
49052
- };
49053
- const _hoisted_4$c = { class: "text-[20px] text-gray-900 font-semibold" };
49054
- const _hoisted_5$c = ["innerHTML"];
49055
- const _hoisted_6$c = {
49049
+ const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
49050
+ const _hoisted_4$c = ["innerHTML"];
49051
+ const _hoisted_5$c = {
49056
49052
  key: 1,
49057
49053
  class: "rounded-xl md:rounded-3xl overflow-hidden relative"
49058
49054
  };
49059
- const _hoisted_7$c = ["src", "alt"];
49060
- const _hoisted_8$b = ["innerHTML"];
49061
- const _hoisted_9$b = {
49055
+ const _hoisted_6$c = ["src", "alt"];
49056
+ const _hoisted_7$c = ["innerHTML"];
49057
+ const _hoisted_8$b = {
49062
49058
  key: 1,
49063
49059
  class: "my-[44px]"
49064
49060
  };
49065
- const _hoisted_10$8 = { class: "text-[36px] text-gray-900 font-semibold" };
49066
- const _hoisted_11$7 = ["innerHTML"];
49067
- const _hoisted_12$5 = {
49061
+ const _hoisted_9$b = { class: "text-[36px] text-gray-900 font-semibold" };
49062
+ const _hoisted_10$8 = ["innerHTML"];
49063
+ const _hoisted_11$7 = {
49068
49064
  key: 0,
49069
49065
  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"
49070
49066
  };
49071
- const _hoisted_13$4 = { class: "font-semibold text-[20px] text-gray-900" };
49072
- const _hoisted_14$4 = ["innerHTML"];
49073
- const _hoisted_15$3 = ["href", "target"];
49074
- const _hoisted_16$1 = ["src"];
49075
- const _hoisted_17$1 = {
49067
+ const _hoisted_12$5 = { class: "font-semibold text-[20px] text-gray-900" };
49068
+ const _hoisted_13$4 = ["innerHTML"];
49069
+ const _hoisted_14$4 = ["href", "target"];
49070
+ const _hoisted_15$3 = ["src"];
49071
+ const _hoisted_16$1 = {
49076
49072
  key: 0,
49077
49073
  class: "w-[560px]"
49078
49074
  };
49079
- const _hoisted_18$1 = ["src", "alt"];
49075
+ const _hoisted_17$1 = ["src", "alt"];
49080
49076
  const _sfc_main$d = {
49081
49077
  __name: "TwoColumnsImageContent",
49082
49078
  props: {
@@ -49088,6 +49084,7 @@ ${escapeText(this.code(index, length))}
49088
49084
  setup(__props) {
49089
49085
  const props = __props;
49090
49086
  const section = vue.ref(props.section);
49087
+ const innerWidth = vue.ref(window.innerWidth);
49091
49088
  const paragraphComponent = vue.computed(() => {
49092
49089
  return section.value.components.find((component) => component.type === "paragraph");
49093
49090
  });
@@ -49116,39 +49113,43 @@ ${escapeText(this.code(index, length))}
49116
49113
  var _a, _b, _c, _d;
49117
49114
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
49118
49115
  vue.createElementVNode("div", _hoisted_2$c, [
49119
- paragraphComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$c, [
49116
+ paragraphComponent.value ? (vue.openBlock(), vue.createElementBlock("div", {
49117
+ key: 0,
49118
+ class: "grid gap-1.5 lg:gap-4",
49119
+ style: vue.normalizeStyle(innerWidth.value >= 1024 ? "grid-template-columns: 33% auto;" : "")
49120
+ }, [
49120
49121
  paragraphComponent.value ? (vue.openBlock(), vue.createElementBlock("div", {
49121
49122
  key: 0,
49122
49123
  class: vue.normalizeClass(["bg-gray-100 rounded-xl p-8", { "h-fit": (_a = section.value) == null ? void 0 : _a.minimum_height }])
49123
49124
  }, [
49124
- vue.createElementVNode("h3", _hoisted_4$c, vue.toDisplayString(paragraphComponent.value.title), 1),
49125
+ vue.createElementVNode("h3", _hoisted_3$c, vue.toDisplayString(paragraphComponent.value.title), 1),
49125
49126
  vue.createElementVNode("p", {
49126
49127
  class: "text-md font-normal mt-2 text-gray-600 leading-6",
49127
49128
  innerHTML: paragraphComponent.value.paragraph
49128
- }, null, 8, _hoisted_5$c)
49129
+ }, null, 8, _hoisted_4$c)
49129
49130
  ], 2)) : vue.createCommentVNode("", true),
49130
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
49131
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
49131
49132
  vue.createElementVNode("img", {
49132
49133
  src: imageComponent.value.featured_image,
49133
49134
  alt: imageComponent.value.caption,
49134
- class: "lg:absolute inset-0 w-full h-full object-cover"
49135
- }, null, 8, _hoisted_7$c),
49135
+ class: "w-full h-full object-cover"
49136
+ }, null, 8, _hoisted_6$c),
49136
49137
  vue.createElementVNode("p", {
49137
49138
  innerHTML: imageComponent.value.caption,
49138
49139
  class: "mt-2 text-[13px]"
49139
- }, null, 8, _hoisted_8$b)
49140
+ }, null, 8, _hoisted_7$c)
49140
49141
  ])) : vue.createCommentVNode("", true)
49141
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$b, [
49142
+ ], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$b, [
49142
49143
  headerComponent.value ? (vue.openBlock(), vue.createElementBlock("div", {
49143
49144
  key: 0,
49144
49145
  class: vue.normalizeClass(["w-full flex-col mb-6", { "text-center items-center flex": (_b = headerComponent.value) == null ? void 0 : _b.text_center }])
49145
49146
  }, [
49146
- vue.createElementVNode("h3", _hoisted_10$8, vue.toDisplayString(headerComponent.value.title), 1),
49147
+ vue.createElementVNode("h3", _hoisted_9$b, vue.toDisplayString(headerComponent.value.title), 1),
49147
49148
  ((_c = headerComponent.value) == null ? void 0 : _c.supporting_text) ? (vue.openBlock(), vue.createElementBlock("p", {
49148
49149
  key: 0,
49149
49150
  class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px] max-w-[800px]",
49150
49151
  innerHTML: headerComponent.value.supporting_text
49151
- }, null, 8, _hoisted_11$7)) : vue.createCommentVNode("", true)
49152
+ }, null, 8, _hoisted_10$8)) : vue.createCommentVNode("", true)
49152
49153
  ], 2)) : vue.createCommentVNode("", true),
49153
49154
  vue.createElementVNode("div", {
49154
49155
  class: vue.normalizeClass(featureItemsComponent.value.hasOwnProperty("grid_columns") ? "" : "flex flex-col-reverse md:flex-row gap-8")
@@ -49165,7 +49166,7 @@ ${escapeText(this.code(index, length))}
49165
49166
  }])
49166
49167
  }, [
49167
49168
  item.title ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
49168
- (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$5, [
49169
+ (item == null ? void 0 : item.icon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$7, [
49169
49170
  vue.createVNode(_sfc_main$H, {
49170
49171
  icon: item.icon,
49171
49172
  "icon-classes": "w-5 h-5 text-brand-600"
@@ -49174,11 +49175,11 @@ ${escapeText(this.code(index, length))}
49174
49175
  vue.createElementVNode("div", {
49175
49176
  class: vue.normalizeClass(["max-w-[324px] ql-editor", { "max-w-full": (_b2 = featureItemsComponent.value) == null ? void 0 : _b2.has_background }])
49176
49177
  }, [
49177
- vue.createElementVNode("h3", _hoisted_13$4, vue.toDisplayString(item.title), 1),
49178
+ vue.createElementVNode("h3", _hoisted_12$5, vue.toDisplayString(item.title), 1),
49178
49179
  vue.createElementVNode("p", {
49179
49180
  class: "mt-2 text-md font-normal text-gray-600 leading-[24px]",
49180
49181
  innerHTML: item.supporting_text ?? item.description
49181
- }, null, 8, _hoisted_14$4),
49182
+ }, null, 8, _hoisted_13$4),
49182
49183
  ((_c2 = item == null ? void 0 : item.primary_button) == null ? void 0 : _c2.show) ? (vue.openBlock(), vue.createElementBlock("a", {
49183
49184
  key: 0,
49184
49185
  class: "cursor-pointer text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
@@ -49187,23 +49188,23 @@ ${escapeText(this.code(index, length))}
49187
49188
  }, [
49188
49189
  vue.createTextVNode(vue.toDisplayString(item.primary_button.label) + " ", 1),
49189
49190
  vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
49190
- ], 8, _hoisted_15$3)) : vue.createCommentVNode("", true)
49191
+ ], 8, _hoisted_14$4)) : vue.createCommentVNode("", true)
49191
49192
  ], 2)
49192
49193
  ], 64)) : (vue.openBlock(), vue.createElementBlock("img", {
49193
49194
  key: 1,
49194
49195
  src: item.image,
49195
49196
  alt: "Feature Image",
49196
49197
  class: "w-full h-full object-cover"
49197
- }, null, 8, _hoisted_16$1))
49198
+ }, null, 8, _hoisted_15$3))
49198
49199
  ], 2);
49199
49200
  }), 256))
49200
49201
  ], 2),
49201
- imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$1, [
49202
+ imageComponent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$1, [
49202
49203
  vue.createElementVNode("img", {
49203
49204
  src: imageComponent.value.featured_image,
49204
49205
  alt: ((_d = imageComponent.value) == null ? void 0 : _d.caption) ?? "Image",
49205
49206
  class: "rounded-br-[24px] rounded-tl-[24px] w-full"
49206
- }, null, 8, _hoisted_18$1)
49207
+ }, null, 8, _hoisted_17$1)
49207
49208
  ])) : vue.createCommentVNode("", true)
49208
49209
  ], 2)
49209
49210
  ]))
@@ -0,0 +1,3 @@
1
+ {
2
+ "recommendations": ["Vue.volar"]
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/page-builder",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "author": "",
20
20
  "license": "ISC",
21
- "description": "This package provides functionality for a CMS like page builder in Laravel. This includes managing pages and their content.",
21
+ "description": "This package provides functionality for page builder in Laravel. This includes managing pages and their content.",
22
22
  "directories": {
23
23
  "example": "example"
24
24
  },
@@ -105,6 +105,6 @@
105
105
  }
106
106
  }
107
107
  .ql-editor {
108
- @apply p-0 overflow-visible;
108
+ @apply p-0 overflow-visible h-auto;
109
109
  }
110
110
  }
@@ -9,7 +9,7 @@
9
9
  <div class="mt-4">
10
10
  <div v-for="(data, index) in timelineComponent.data" class="flex flex-row">
11
11
  <div class="w-1/5 mr-[40px] relative">
12
- <h1 class=" text-[24px] font-semibold text-navy-800 pr-5">{{ data.title }}</h1>
12
+ <h1 class="text-[24px] font-semibold text-navy-800 pr-5">{{ data.title }}</h1>
13
13
  <div class="w-[32px] h-[32px] flex items-center justify-center border-2 border-navy-100 rounded-full absolute right-[-17px] bg-white top-0">
14
14
  <p class="w-[16px] h-[16px] rounded-full bg-navy-600"></p>
15
15
  </div>
@@ -1,13 +1,15 @@
1
1
  <template>
2
2
  <div class="overflow-hidden">
3
3
  <div class="max-w-[1640px] md:px-[120px] mx-auto w-full mt-4 px-4">
4
- <div class="grid lg:grid-cols-[33%_auto] gap-1.5 lg:gap-4" v-if="paragraphComponent">
4
+ <div class="grid gap-1.5 lg:gap-4"
5
+ :style="innerWidth >= 1024 ? 'grid-template-columns: 33% auto;' : ''"
6
+ v-if="paragraphComponent">
5
7
  <div class="bg-gray-100 rounded-xl p-8" :class="{'h-fit': section?.minimum_height}" v-if="paragraphComponent">
6
8
  <h3 class="text-[20px] text-gray-900 font-semibold">{{ paragraphComponent.title }}</h3>
7
9
  <p class="text-md font-normal mt-2 text-gray-600 leading-6" v-html="paragraphComponent.paragraph"></p>
8
10
  </div>
9
11
  <div class="rounded-xl md:rounded-3xl overflow-hidden relative" v-if="imageComponent">
10
- <img :src="imageComponent.featured_image" :alt="imageComponent.caption" class="lg:absolute inset-0 w-full h-full object-cover"/>
12
+ <img :src="imageComponent.featured_image" :alt="imageComponent.caption" class="w-full h-full object-cover"/>
11
13
  <p v-html="imageComponent.caption" class="mt-2 text-[13px]"></p>
12
14
  </div>
13
15
  </div>
@@ -64,7 +66,7 @@
64
66
 
65
67
  <script setup>
66
68
  import IconComponent from "@/components/common/Icon.vue";
67
- import {ref, computed, onMounted} from "vue";
69
+ import {ref, computed} from "vue";
68
70
  import {formatUrl} from "@/components/helpers/common";
69
71
  import ArrowUpRight from "@/assets/img/icons/arrow-up-right.svg";
70
72
  import "quill/dist/quill.snow.css";
@@ -77,6 +79,7 @@ const props = defineProps({
77
79
  });
78
80
 
79
81
  const section = ref(props.section);
82
+ const innerWidth = ref(window.innerWidth);
80
83
  const paragraphComponent = computed(() => {
81
84
  return section.value.components.find((component) => component.type === "paragraph");
82
85
  });