@feedmepos/mf-brand-app-builder 0.5.19-dev.6 → 0.5.19-dev.8

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.
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as At, resolveComponent as ve, openBlock as ee, createElementBlock as re, createElementVNode as y, createVNode as M, withCtx as Le, normalizeStyle as tr, unref as O, createCommentVNode as De, toDisplayString as P, ref as dr, watch as Qr, withDirectives as gr, vShow as mr, Fragment as Ae, Transition as jr, createTextVNode as Qe, renderList as yr, normalizeClass as Ia } from "vue";
2
- import { B as Ma } from "./index-HsQ8Ry2U.js";
2
+ import { B as Ma } from "./index-BpIP-u0D.js";
3
3
  import { K as Pa } from "./ColorPicker-CHzKbuCD.js";
4
- import { u as Ba } from "./index-Crh2WOgZ.js";
4
+ import { u as Ba } from "./index-Bu7uBOtG.js";
5
5
  import { useCoreStore as Aa } from "@feedmepos/mf-common";
6
6
  import { u as Ga } from "./index-DzaJbB6y.js";
7
- import { u as Na } from "./app-BoWWGa_f.js";
7
+ import { u as Na } from "./app-p3PSkafU.js";
8
8
  import { _ as _a } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Ha = { class: "fm-typo-en-body-md-400" }, Wa = { class: "flex gap-8 items-center" }, za = { class: "p-4 relative" }, Va = { class: "shadow-lg rounded-lg p-8" }, qa = {
10
10
  key: 0,
@@ -1,18 +1,18 @@
1
- import { resolveComponent as J, TransitionGroup as ho, defineComponent as fe, h as ya, nextTick as Cn, isRef as yo, isReactive as vo, isProxy as xo, toRaw as To, ref as oe, computed as ie, openBlock as D, createElementBlock as H, Fragment as ke, renderList as ht, createElementVNode as B, toDisplayString as pe, unref as I, createVNode as L, withCtx as Z, createBlock as te, createCommentVNode as q, watch as qe, normalizeClass as ye, withDirectives as Qt, withModifiers as va, vShow as ea, createTextVNode as Co, onMounted as _n, resolveDynamicComponent as ja, mergeProps as _o, normalizeProps as wo, guardReactiveProps as Io, normalizeStyle as So, renderSlot as Oa, provide as Eo, inject as Lo, markRaw as Ao } from "vue";
2
- import { T as Oo, u as je } from "./index-_eCz6AGL.js";
1
+ import { resolveComponent as J, TransitionGroup as ho, defineComponent as fe, h as ya, nextTick as Cn, isRef as yo, isReactive as vo, isProxy as xo, toRaw as To, ref as oe, computed as ie, openBlock as D, createElementBlock as H, Fragment as ke, renderList as ht, createElementVNode as B, toDisplayString as pe, unref as S, createVNode as L, withCtx as Z, createBlock as te, createCommentVNode as q, watch as qe, normalizeClass as ye, withDirectives as Qt, withModifiers as va, vShow as ea, createTextVNode as Co, onMounted as _n, resolveDynamicComponent as ja, mergeProps as _o, normalizeProps as wo, guardReactiveProps as Io, normalizeStyle as So, renderSlot as Oa, provide as Eo, inject as Lo, markRaw as Ao } from "vue";
2
+ import { T as Oo, u as je } from "./index-CHoPUARg.js";
3
3
  import { defineStore as No, storeToRefs as Fo } from "pinia";
4
4
  import { p as Po } from "./views-BDWw3w14.js";
5
- import { a as Do } from "./index-BCwsyaZS.js";
5
+ import { a as Do } from "./index-CUfUCBrv.js";
6
6
  import { v as Ha } from "./v4-ANoOI1Qw.js";
7
7
  import { _ as Bo } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
8
8
  import { B as wn } from "./BaDivider-DWZv3fqi.js";
9
- import { u as He, F as ko, a as Ro } from "./app-BoWWGa_f.js";
9
+ import { u as He, F as ko, a as Ro } from "./app-p3PSkafU.js";
10
10
  import { C as Ya, _ as $o, a as Mo } from "./main-DBrQC_KK.js";
11
11
  import { useCoreStore as Ve } from "@feedmepos/mf-common";
12
12
  import { useDialog as Zo, components as Uo, useSnackbar as Vo } from "@feedmepos/ui-library";
13
13
  import { useRouter as In } from "vue-router";
14
14
  import { u as Na } from "./index-DzaJbB6y.js";
15
- import { u as Fa } from "./index-Crh2WOgZ.js";
15
+ import { u as Fa } from "./index-Bu7uBOtG.js";
16
16
  import { K as jo, V as Ho } from "./vue-sonner-PX6Req0V.js";
17
17
  const {
18
18
  Axios: Ul,
@@ -870,8 +870,8 @@ O.prototype = /** @lends Sortable.prototype */
870
870
  return y(), t.insertBefore(x, C), Y = t, T(), v(!0);
871
871
  } else if (a.parentNode === t) {
872
872
  i = X(a);
873
- var w = 0, S, E = x.parentNode !== t, R = !si(x.animated && x.toRect || o, a.animated && a.toRect || i, m), U = m ? "top" : "left", M = Ja(a, "top", "top") || Ja(x, "top", "top"), N = M ? M.scrollTop : void 0;
874
- ze !== a && (S = i[U], pt = !1, It = !R && s.invertSwap || E), w = mi(e, a, i, m, R ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, It, ze === a);
873
+ var w = 0, I, E = x.parentNode !== t, R = !si(x.animated && x.toRect || o, a.animated && a.toRect || i, m), U = m ? "top" : "left", M = Ja(a, "top", "top") || Ja(x, "top", "top"), N = M ? M.scrollTop : void 0;
874
+ ze !== a && (I = i[U], pt = !1, It = !R && s.invertSwap || E), w = mi(e, a, i, m, R ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, It, ze === a);
875
875
  var V;
876
876
  if (w !== 0) {
877
877
  var K = ge(x);
@@ -886,7 +886,7 @@ O.prototype = /** @lends Sortable.prototype */
886
886
  se = w === 1;
887
887
  var Ie = Et(j, t, x, o, a, i, e, se);
888
888
  if (Ie !== !1)
889
- return (Ie === 1 || Ie === -1) && (se = Ie === 1), xa = !0, setTimeout(ui, 30), y(), se && !G ? t.appendChild(x) : a.parentNode.insertBefore(x, se ? G : a), M && On(M, 0, N - M.scrollTop), Y = x.parentNode, S !== void 0 && !It && (Pt = Math.abs(S - X(a)[U])), T(), v(!0);
889
+ return (Ie === 1 || Ie === -1) && (se = Ie === 1), xa = !0, setTimeout(ui, 30), y(), se && !G ? t.appendChild(x) : a.parentNode.insertBefore(x, se ? G : a), M && On(M, 0, N - M.scrollTop), Y = x.parentNode, I !== void 0 && !It && (Pt = Math.abs(I - X(a)[U])), T(), v(!0);
890
890
  }
891
891
  if (t.contains(x))
892
892
  return v(!1);
@@ -1216,9 +1216,9 @@ var ca = An(function(n, e, t, a) {
1216
1216
  Ca !== t && (Ca = t, Bt(), rt = e.scroll, d = e.scrollFn, rt === !0 && (rt = De(t, !0)));
1217
1217
  var u = 0, p = rt;
1218
1218
  do {
1219
- var m = p, b = X(m), g = b.top, _ = b.bottom, y = b.left, v = b.right, T = b.width, h = b.height, C = void 0, w = void 0, S = m.scrollWidth, E = m.scrollHeight, R = A(m), U = m.scrollLeft, M = m.scrollTop;
1220
- m === l ? (C = T < S && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), w = h < E && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (C = T < S && (R.overflowX === "auto" || R.overflowX === "scroll"), w = h < E && (R.overflowY === "auto" || R.overflowY === "scroll"));
1221
- var N = C && (Math.abs(v - o) <= r && U + T < S) - (Math.abs(y - o) <= r && !!U), V = w && (Math.abs(_ - i) <= r && M + h < E) - (Math.abs(g - i) <= r && !!M);
1219
+ var m = p, b = X(m), g = b.top, _ = b.bottom, y = b.left, v = b.right, T = b.width, h = b.height, C = void 0, w = void 0, I = m.scrollWidth, E = m.scrollHeight, R = A(m), U = m.scrollLeft, M = m.scrollTop;
1220
+ m === l ? (C = T < I && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), w = h < E && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (C = T < I && (R.overflowX === "auto" || R.overflowX === "scroll"), w = h < E && (R.overflowY === "auto" || R.overflowY === "scroll"));
1221
+ var N = C && (Math.abs(v - o) <= r && U + T < I) - (Math.abs(y - o) <= r && !!U), V = w && (Math.abs(_ - i) <= r && M + h < E) - (Math.abs(g - i) <= r && !!M);
1222
1222
  if (!W[u])
1223
1223
  for (var K = 0; K <= u; K++)
1224
1224
  W[K] || (W[K] = {});
@@ -5434,8 +5434,8 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5434
5434
  ));
5435
5435
  return (s, l) => (D(), H("div", lr, [
5436
5436
  (D(!0), H(ke, null, ht(r.value, (c, d) => (D(), H("section", cr, [
5437
- B("div", dr, pe(I(a)(c.title)), 1),
5438
- L(I(zn), {
5437
+ B("div", dr, pe(S(a)(c.title)), 1),
5438
+ L(S(zn), {
5439
5439
  list: c.children,
5440
5440
  group: { name: "components", pull: "clone", put: !1 },
5441
5441
  sort: !1,
@@ -5449,12 +5449,12 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5449
5449
  class: "text-[24px] text-fm-color-typo-secondary",
5450
5450
  name: u.icon
5451
5451
  }, null, 8, ["name"]),
5452
- B("div", pr, pe(I(a)(u.title)), 1)
5452
+ B("div", pr, pe(S(a)(u.title)), 1)
5453
5453
  ])
5454
5454
  ]),
5455
5455
  _: 2
5456
5456
  }, 1032, ["list"]),
5457
- d !== I(on).length - 1 ? (D(), te(wn, {
5457
+ d !== S(on).length - 1 ? (D(), te(wn, {
5458
5458
  key: 0,
5459
5459
  class: "mt-12"
5460
5460
  })) : q("", !0)
@@ -5513,7 +5513,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5513
5513
  onClick: c.action,
5514
5514
  variant: "tertiary",
5515
5515
  "icon-color": c.iconColor,
5516
- disabled: !I(t).selectedNode || c.disabled()
5516
+ disabled: !S(t).selectedNode || c.disabled()
5517
5517
  }, null, 8, ["prepend-icon", "onClick", "icon-color", "disabled"])), 64))
5518
5518
  ]);
5519
5519
  };
@@ -5621,7 +5621,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5621
5621
  }
5622
5622
  function v(h) {
5623
5623
  e.value = !1;
5624
- const C = oe(h.templateAlias), w = oe(!1), S = ie(
5624
+ const C = oe(h.templateAlias), w = oe(!1), I = ie(
5625
5625
  () => C.value === h.templateAlias
5626
5626
  );
5627
5627
  c.open({
@@ -5629,7 +5629,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5629
5629
  primaryActions: {
5630
5630
  text: u("brand.template.picker.confirm"),
5631
5631
  close: !1,
5632
- disabled: S,
5632
+ disabled: I,
5633
5633
  isLoading: w
5634
5634
  },
5635
5635
  secondaryActions: { text: u("brand.template.picker.cancel"), close: !0 },
@@ -5699,7 +5699,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5699
5699
  () => {
5700
5700
  }
5701
5701
  ), (h, C) => {
5702
- const w = J("FmIcon"), S = J("FmChip"), E = J("FmMenuDivider"), R = J("FmSearch"), U = J("FmMenuItem"), M = J("FmPopover");
5702
+ const w = J("FmIcon"), I = J("FmChip"), E = J("FmMenuDivider"), R = J("FmSearch"), U = J("FmMenuItem"), M = J("FmPopover");
5703
5703
  return D(), te(M, {
5704
5704
  width: 300,
5705
5705
  "max-height": 400,
@@ -5710,10 +5710,10 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5710
5710
  var N, V;
5711
5711
  return [
5712
5712
  B("div", gr, [
5713
- (N = I(i).state.selectedTemplate) != null && N.isPublished && ![
5714
- I(i).state.activeTemplateId,
5715
- I(i).state.activeMemberTemplateId
5716
- ].includes(I(i).state.selectedTemplate.templateId) ? (D(), te(S, {
5713
+ (N = S(i).state.selectedTemplate) != null && N.isPublished && ![
5714
+ S(i).state.activeTemplateId,
5715
+ S(i).state.activeMemberTemplateId
5716
+ ].includes(S(i).state.selectedTemplate.templateId) ? (D(), te(I, {
5717
5717
  key: 0,
5718
5718
  class: "bg-fm-color-system-success-100",
5719
5719
  compact: ""
@@ -5727,13 +5727,13 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5727
5727
  ]),
5728
5728
  _: 1
5729
5729
  })) : q("", !0),
5730
- I(i).state.selectedTemplate && [
5731
- I(i).state.activeTemplateId,
5732
- I(i).state.activeMemberTemplateId
5733
- ].includes(I(i).state.selectedTemplate.templateId) ? (D(), te(S, {
5730
+ S(i).state.selectedTemplate && [
5731
+ S(i).state.activeTemplateId,
5732
+ S(i).state.activeMemberTemplateId
5733
+ ].includes(S(i).state.selectedTemplate.templateId) ? (D(), te(I, {
5734
5734
  key: 1,
5735
5735
  class: ye([{
5736
- grayscale: !I(i).state.selectedTemplate.isPublished
5736
+ grayscale: !S(i).state.selectedTemplate.isPublished
5737
5737
  }, "bg-fm-color-system-warning-100"]),
5738
5738
  compact: ""
5739
5739
  }, {
@@ -5742,16 +5742,16 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5742
5742
  size: "sm",
5743
5743
  class: "text-fm-color-primary",
5744
5744
  outline: "",
5745
- name: I(i).state.selectedTemplate.templateId == I(i).state.activeTemplateId ? "home" : "account_circle"
5745
+ name: S(i).state.selectedTemplate.templateId == S(i).state.activeTemplateId ? "home" : "account_circle"
5746
5746
  }, null, 8, ["name"])
5747
5747
  ]),
5748
5748
  _: 1
5749
5749
  }, 8, ["class"])) : q("", !0),
5750
5750
  B("p", {
5751
5751
  class: ye({
5752
- italic: !I(r).isSaved()
5752
+ italic: !S(r).isSaved()
5753
5753
  })
5754
- }, pe((V = I(i).state.selectedTemplate) == null ? void 0 : V.templateAlias), 3),
5754
+ }, pe((V = S(i).state.selectedTemplate) == null ? void 0 : V.templateAlias), 3),
5755
5755
  L(w, {
5756
5756
  name: e.value ? "keyboard_arrow_up" : "keyboard_arrow_down"
5757
5757
  }, null, 8, ["name"])
@@ -5760,13 +5760,13 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5760
5760
  }),
5761
5761
  default: Z(() => [
5762
5762
  B("div", hr, [
5763
- I(i).state.selectedTemplate ? (D(), H(ke, { key: 0 }, [
5763
+ S(i).state.selectedTemplate ? (D(), H(ke, { key: 0 }, [
5764
5764
  B("div", yr, [
5765
5765
  B("div", vr, [
5766
- I(i).state.selectedTemplate.isPublished && ![
5767
- I(i).state.activeTemplateId,
5768
- I(i).state.activeMemberTemplateId
5769
- ].includes(I(i).state.selectedTemplate.templateId) ? (D(), te(S, {
5766
+ S(i).state.selectedTemplate.isPublished && ![
5767
+ S(i).state.activeTemplateId,
5768
+ S(i).state.activeMemberTemplateId
5769
+ ].includes(S(i).state.selectedTemplate.templateId) ? (D(), te(I, {
5770
5770
  key: 0,
5771
5771
  class: "bg-fm-color-system-success-100",
5772
5772
  compact: ""
@@ -5781,12 +5781,12 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5781
5781
  _: 1
5782
5782
  })) : q("", !0),
5783
5783
  [
5784
- I(i).state.activeTemplateId,
5785
- I(i).state.activeMemberTemplateId
5786
- ].includes(I(i).state.selectedTemplate.templateId) ? (D(), te(S, {
5784
+ S(i).state.activeTemplateId,
5785
+ S(i).state.activeMemberTemplateId
5786
+ ].includes(S(i).state.selectedTemplate.templateId) ? (D(), te(I, {
5787
5787
  key: 1,
5788
5788
  class: ye([{
5789
- grayscale: !I(i).state.selectedTemplate.isPublished
5789
+ grayscale: !S(i).state.selectedTemplate.isPublished
5790
5790
  }, "bg-fm-color-system-warning-100"]),
5791
5791
  compact: ""
5792
5792
  }, {
@@ -5795,25 +5795,25 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5795
5795
  size: "sm",
5796
5796
  class: "text-fm-color-primary",
5797
5797
  outline: "",
5798
- name: I(i).state.selectedTemplate.templateId == I(i).state.activeTemplateId ? "home" : "account_circle"
5798
+ name: S(i).state.selectedTemplate.templateId == S(i).state.activeTemplateId ? "home" : "account_circle"
5799
5799
  }, null, 8, ["name"])
5800
5800
  ]),
5801
5801
  _: 1
5802
5802
  }, 8, ["class"])) : q("", !0),
5803
- B("span", xr, pe(I(i).state.selectedTemplate.templateAlias), 1)
5803
+ B("span", xr, pe(S(i).state.selectedTemplate.templateAlias), 1)
5804
5804
  ]),
5805
5805
  B("div", Tr, [
5806
5806
  L(w, {
5807
5807
  name: "edit",
5808
5808
  outline: "",
5809
5809
  class: "text-fm-color-neutral-black cursor-pointer",
5810
- onClick: C[0] || (C[0] = (N) => v(I(i).state.selectedTemplate))
5810
+ onClick: C[0] || (C[0] = (N) => v(S(i).state.selectedTemplate))
5811
5811
  }),
5812
5812
  L(w, {
5813
5813
  outline: "",
5814
5814
  name: "delete",
5815
5815
  class: "text-fm-color-system-error-300 cursor-pointer",
5816
- onClick: C[1] || (C[1] = (N) => T(I(i).state.selectedTemplate))
5816
+ onClick: C[1] || (C[1] = (N) => T(S(i).state.selectedTemplate))
5817
5817
  })
5818
5818
  ])
5819
5819
  ]),
@@ -5823,7 +5823,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5823
5823
  "model-value": t.value,
5824
5824
  "onUpdate:modelValue": C[2] || (C[2] = (N) => t.value = N),
5825
5825
  class: "p-4",
5826
- placeholder: I(u)("brand.template.picker.search")
5826
+ placeholder: S(u)("brand.template.picker.search")
5827
5827
  }, null, 8, ["model-value", "placeholder"]),
5828
5828
  B("div", Cr, [
5829
5829
  (D(!0), H(ke, null, ht(p.value, (N, V) => {
@@ -5833,7 +5833,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5833
5833
  }, [
5834
5834
  L(U, {
5835
5835
  label: N.templateAlias,
5836
- "model-value": N.templateId === ((K = I(i).state.selectedTemplate) == null ? void 0 : K.templateId),
5836
+ "model-value": N.templateId === ((K = S(i).state.selectedTemplate) == null ? void 0 : K.templateId),
5837
5837
  onClick: (G) => g(N),
5838
5838
  onMouseover: (G) => _(N.templateId),
5839
5839
  onMouseout: y,
@@ -5841,9 +5841,9 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5841
5841
  }, {
5842
5842
  prepend: Z(() => [
5843
5843
  N.isPublished && ![
5844
- I(i).state.activeTemplateId,
5845
- I(i).state.activeMemberTemplateId
5846
- ].includes(N.templateId) ? (D(), te(S, {
5844
+ S(i).state.activeTemplateId,
5845
+ S(i).state.activeMemberTemplateId
5846
+ ].includes(N.templateId) ? (D(), te(I, {
5847
5847
  key: 0,
5848
5848
  class: "bg-fm-color-system-success-100",
5849
5849
  compact: ""
@@ -5859,9 +5859,9 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5859
5859
  _: 1
5860
5860
  })) : q("", !0),
5861
5861
  [
5862
- I(i).state.activeTemplateId,
5863
- I(i).state.activeMemberTemplateId
5864
- ].includes(N.templateId) ? (D(), te(S, {
5862
+ S(i).state.activeTemplateId,
5863
+ S(i).state.activeMemberTemplateId
5864
+ ].includes(N.templateId) ? (D(), te(I, {
5865
5865
  key: 1,
5866
5866
  class: ye(["bg-fm-color-system-warning-100", {
5867
5867
  grayscale: !N.isPublished
@@ -5872,7 +5872,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5872
5872
  L(w, {
5873
5873
  color: "primary",
5874
5874
  class: "text-fm-color-primary",
5875
- name: N.templateId == I(i).state.activeTemplateId ? "home" : "account_circle",
5875
+ name: N.templateId == S(i).state.activeTemplateId ? "home" : "account_circle",
5876
5876
  size: "sm",
5877
5877
  outline: ""
5878
5878
  }, null, 8, ["name"])
@@ -5896,7 +5896,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5896
5896
  }, null, 8, ["onClick"]), [
5897
5897
  [
5898
5898
  ea,
5899
- p.value.length > 1 && N.templateId !== I(i).state.activeTemplateId
5899
+ p.value.length > 1 && N.templateId !== S(i).state.activeTemplateId
5900
5900
  ]
5901
5901
  ])
5902
5902
  ], 512), [
@@ -5914,7 +5914,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5914
5914
  ]),
5915
5915
  Qt(L(U, {
5916
5916
  disabled: "",
5917
- label: I(u)("brand.template.picker.noTemplateFound")
5917
+ label: S(u)("brand.template.picker.noTemplateFound")
5918
5918
  }, null, 8, ["label"]), [
5919
5919
  [ea, p.value.length === 0]
5920
5920
  ]),
@@ -5927,7 +5927,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5927
5927
  })
5928
5928
  ]),
5929
5929
  label: Z(() => [
5930
- B("div", wr, pe(I(u)("brand.template.picker.addNewTemplate")), 1)
5930
+ B("div", wr, pe(S(u)("brand.template.picker.addNewTemplate")), 1)
5931
5931
  ]),
5932
5932
  _: 1
5933
5933
  }),
@@ -5941,7 +5941,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5941
5941
  })
5942
5942
  ]),
5943
5943
  label: Z(() => [
5944
- B("div", Ir, pe(I(u)("brand.template.picker.addMemberTemplate")), 1)
5944
+ B("div", Ir, pe(S(u)("brand.template.picker.addMemberTemplate")), 1)
5945
5945
  ]),
5946
5946
  _: 1
5947
5947
  })
@@ -5999,7 +5999,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
5999
5999
  return y.isPublished ? o.state.activeMemberTemplateId === y.templateId ? s("brand.template.shareMenu.thisTemplateSetAsMemberHomepage") : "" : s("brand.template.shareMenu.templateNotPublished");
6000
6000
  }
6001
6001
  const m = ie(() => {
6002
- var y, v, T, h, C, w, S, E;
6002
+ var y, v, T, h, C, w, I, E;
6003
6003
  return [
6004
6004
  {
6005
6005
  label: s("brand.template.shareMenu.saveAndPublish"),
@@ -6052,7 +6052,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
6052
6052
  action: () => {
6053
6053
  g();
6054
6054
  },
6055
- disabled: !((S = o.state.selectedTemplate) != null && S.isPublished) || !((E = o.state.selectedTemplate) != null && E.templateId.startsWith("member-"))
6055
+ disabled: !((I = o.state.selectedTemplate) != null && I.isPublished) || !((E = o.state.selectedTemplate) != null && E.templateId.startsWith("member-"))
6056
6056
  }
6057
6057
  ];
6058
6058
  });
@@ -6103,20 +6103,20 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
6103
6103
  const T = J("FmButton"), h = J("FmMenuDivider"), C = J("FmMenuItem"), w = J("FmMenu");
6104
6104
  return D(), te(w, {
6105
6105
  placement: "bottom-end",
6106
- onMenuChanged: v[0] || (v[0] = (S) => e.value = S)
6106
+ onMenuChanged: v[0] || (v[0] = (I) => e.value = I)
6107
6107
  }, {
6108
6108
  "menu-button": Z(() => [
6109
6109
  L(T, {
6110
6110
  "prepend-icon": "publish",
6111
6111
  "append-icon": e.value ? "keyboard_arrow_up" : "keyboard_arrow_down",
6112
- label: I(s)("brand.template.shareMenu.share")
6112
+ label: S(s)("brand.template.shareMenu.share")
6113
6113
  }, null, 8, ["append-icon", "label"])
6114
6114
  ]),
6115
6115
  default: Z(() => {
6116
- var S;
6116
+ var I;
6117
6117
  return [
6118
6118
  B("div", Er, [
6119
- B("div", Lr, pe(I(s)("brand.template.shareMenu.publishThisTemplate")), 1),
6119
+ B("div", Lr, pe(S(s)("brand.template.shareMenu.publishThisTemplate")), 1),
6120
6120
  (D(!0), H(ke, null, ht(m.value, (E) => (D(), H(ke, null, [
6121
6121
  L(h, {
6122
6122
  inset: "",
@@ -6158,7 +6158,7 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
6158
6158
  class: "!mx-4"
6159
6159
  }),
6160
6160
  L(C, {
6161
- disabled: !((S = I(o).state.selectedTemplate) != null && S.isPublished),
6161
+ disabled: !((I = S(o).state.selectedTemplate) != null && I.isPublished),
6162
6162
  onClick: _
6163
6163
  }, {
6164
6164
  label: Z(() => {
@@ -6167,9 +6167,9 @@ const lr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
6167
6167
  B("div", {
6168
6168
  class: ye([
6169
6169
  "fm-typo-en-body-md-400 max-w-[240px]",
6170
- (E = I(o).state.selectedTemplate) != null && E.isPublished ? "text-fm-color-typo-error" : "text-fm-color-typo-disabled"
6170
+ (E = S(o).state.selectedTemplate) != null && E.isPublished ? "text-fm-color-typo-error" : "text-fm-color-typo-disabled"
6171
6171
  ])
6172
- }, pe(I(s)("brand.template.shareMenu.unpublish")), 3)
6172
+ }, pe(S(s)("brand.template.shareMenu.unpublish")), 3)
6173
6173
  ];
6174
6174
  }),
6175
6175
  _: 1
@@ -7255,13 +7255,13 @@ var Xr = lo.exports;
7255
7255
  function u(y) {
7256
7256
  const v = d(r.NUMERIC, e.NUMERIC, y), T = d(r.ALPHANUMERIC, e.ALPHANUMERIC, y);
7257
7257
  let h, C;
7258
- return s.isKanjiModeEnabled() ? (h = d(r.BYTE, e.BYTE, y), C = d(r.KANJI, e.KANJI, y)) : (h = d(r.BYTE_KANJI, e.BYTE, y), C = []), v.concat(T, h, C).sort(function(S, E) {
7259
- return S.index - E.index;
7260
- }).map(function(S) {
7258
+ return s.isKanjiModeEnabled() ? (h = d(r.BYTE, e.BYTE, y), C = d(r.KANJI, e.KANJI, y)) : (h = d(r.BYTE_KANJI, e.BYTE, y), C = []), v.concat(T, h, C).sort(function(I, E) {
7259
+ return I.index - E.index;
7260
+ }).map(function(I) {
7261
7261
  return {
7262
- data: S.data,
7263
- mode: S.mode,
7264
- length: S.length
7262
+ data: I.data,
7263
+ mode: I.mode,
7264
+ length: I.length
7265
7265
  };
7266
7266
  });
7267
7267
  }
@@ -7319,9 +7319,9 @@ var Xr = lo.exports;
7319
7319
  const T = {}, h = { start: {} };
7320
7320
  let C = ["start"];
7321
7321
  for (let w = 0; w < y.length; w++) {
7322
- const S = y[w], E = [];
7323
- for (let R = 0; R < S.length; R++) {
7324
- const U = S[R], M = "" + w + R;
7322
+ const I = y[w], E = [];
7323
+ for (let R = 0; R < I.length; R++) {
7324
+ const U = I[R], M = "" + w + R;
7325
7325
  E.push(M), T[M] = { node: U, lastCount: 0 }, h[M] = {};
7326
7326
  for (let N = 0; N < C.length; N++) {
7327
7327
  const V = C[N];
@@ -7356,9 +7356,9 @@ var Xr = lo.exports;
7356
7356
  return typeof h == "string" ? T.push(_(h, null)) : h.data && T.push(_(h.data, h.mode)), T;
7357
7357
  }, []);
7358
7358
  }, n.fromString = function(v, T) {
7359
- const h = u(v, s.isKanjiModeEnabled()), C = b(h), w = g(C, T), S = l.find_path(w.map, "start", "end"), E = [];
7360
- for (let R = 1; R < S.length - 1; R++)
7361
- E.push(w.table[S[R]].node);
7359
+ const h = u(v, s.isKanjiModeEnabled()), C = b(h), w = g(C, T), I = l.find_path(w.map, "start", "end"), E = [];
7360
+ for (let R = 1; R < I.length - 1; R++)
7361
+ E.push(w.table[I[R]].node);
7362
7362
  return n.fromArray(m(E));
7363
7363
  }, n.rawSplit = function(v) {
7364
7364
  return n.fromArray(
@@ -7441,9 +7441,9 @@ function us(n, e, t) {
7441
7441
  const g = new Array(r), _ = new Array(r);
7442
7442
  let y = 0;
7443
7443
  const v = new Uint8Array(n.buffer);
7444
- for (let S = 0; S < r; S++) {
7445
- const E = S < l ? d : u;
7446
- g[S] = v.slice(b, b + E), _[S] = m.encode(g[S]), b += E, y = Math.max(y, E);
7444
+ for (let I = 0; I < r; I++) {
7445
+ const E = I < l ? d : u;
7446
+ g[I] = v.slice(b, b + E), _[I] = m.encode(g[I]), b += E, y = Math.max(y, E);
7447
7447
  }
7448
7448
  const T = new Uint8Array(a);
7449
7449
  let h = 0, C, w;
@@ -7667,7 +7667,7 @@ const hs = { class: "flex items-center justify-center" }, ys = { class: "w-full
7667
7667
  "dialog-button": Z(() => [
7668
7668
  L(u, {
7669
7669
  placement: "bottom",
7670
- content: I(o)("brand.template.shareMenu.maintenanceTooltip")
7670
+ content: S(o)("brand.template.shareMenu.maintenanceTooltip")
7671
7671
  }, {
7672
7672
  default: Z(() => [
7673
7673
  L(d, {
@@ -7680,7 +7680,7 @@ const hs = { class: "flex items-center justify-center" }, ys = { class: "w-full
7680
7680
  }, 8, ["content"])
7681
7681
  ]),
7682
7682
  "dialog-header": Z(() => [
7683
- Co(pe(I(o)("brand.template.shareMenu.share")), 1)
7683
+ Co(pe(S(o)("brand.template.shareMenu.share")), 1)
7684
7684
  ]),
7685
7685
  default: Z(() => [
7686
7686
  B("div", hs, [
@@ -7694,11 +7694,11 @@ const hs = { class: "flex items-center justify-center" }, ys = { class: "w-full
7694
7694
  B("div", ys, [
7695
7695
  L(d, {
7696
7696
  variant: "secondary",
7697
- label: I(o)("brand.common.cancel"),
7697
+ label: S(o)("brand.common.cancel"),
7698
7698
  onClick: c[0] || (c[0] = (m) => i.value = !1)
7699
7699
  }, null, 8, ["label"]),
7700
7700
  L(d, {
7701
- label: I(o)("brand.template.shareMenu.copyPublicLinkView"),
7701
+ label: S(o)("brand.template.shareMenu.copyPublicLinkView"),
7702
7702
  onClick: s
7703
7703
  }, null, 8, ["label"])
7704
7704
  ])
@@ -7747,7 +7747,7 @@ const hs = { class: "flex items-center justify-center" }, ys = { class: "w-full
7747
7747
  variant: "tertiary",
7748
7748
  "prepend-icon": "save",
7749
7749
  onClick: s,
7750
- disabled: I(e).isSaved()
7750
+ disabled: S(e).isSaved()
7751
7751
  }, null, 8, ["disabled"]),
7752
7752
  L(Ar)
7753
7753
  ])
@@ -7868,7 +7868,7 @@ const ws = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
7868
7868
  title: "Member",
7869
7869
  className: "block"
7870
7870
  })) : q("", !0),
7871
- L(I(zn), {
7871
+ L(S(zn), {
7872
7872
  class: ye(["w-full h-full flex flex-col gap-16", { "min-h-[600px]": i.value.type == "Homepage" }]),
7873
7873
  modelValue: o.value,
7874
7874
  "onUpdate:modelValue": c[0] || (c[0] = (g) => o.value = g),
@@ -8278,9 +8278,9 @@ class zt extends qt {
8278
8278
  let p = u == null ? void 0 : u.res;
8279
8279
  const m = (u == null ? void 0 : u.usedKey) || r, b = (u == null ? void 0 : u.exactUsedKey) || r, g = ["[object Number]", "[object Function]", "[object RegExp]"], _ = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, v = t.count !== void 0 && !F(t.count), T = zt.hasDefaultValue(t), h = v ? this.pluralResolver.getSuffix(c, t.count, t) : "", C = t.ordinal && v ? this.pluralResolver.getSuffix(c, t.count, {
8280
8280
  ordinal: !1
8281
- }) : "", w = v && !t.ordinal && t.count === 0, S = w && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${h}`] || t[`defaultValue${C}`] || t.defaultValue;
8281
+ }) : "", w = v && !t.ordinal && t.count === 0, I = w && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${h}`] || t[`defaultValue${C}`] || t.defaultValue;
8282
8282
  let E = p;
8283
- y && !p && T && (E = S);
8283
+ y && !p && T && (E = I);
8284
8284
  const R = bn(E), U = Object.prototype.toString.apply(E);
8285
8285
  if (y && E && R && g.indexOf(U) < 0 && !(F(_) && Array.isArray(E))) {
8286
8286
  if (!t.returnObjects && !this.options.returnObjects) {
@@ -8298,7 +8298,7 @@ class zt extends qt {
8298
8298
  const G = `${V}${i}${K}`;
8299
8299
  T && !p ? N[K] = this.translate(G, {
8300
8300
  ...t,
8301
- defaultValue: bn(S) ? S[K] : void 0,
8301
+ defaultValue: bn(I) ? I[K] : void 0,
8302
8302
  joinArrays: !1,
8303
8303
  ns: s
8304
8304
  }) : N[K] = this.translate(G, {
@@ -8313,10 +8313,10 @@ class zt extends qt {
8313
8313
  p = p.join(_), p && (p = this.extendTranslation(p, e, t, a));
8314
8314
  else {
8315
8315
  let M = !1, N = !1;
8316
- !this.isValidLookup(p) && T && (M = !0, p = S), this.isValidLookup(p) || (N = !0, p = r);
8317
- const K = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : p, G = T && S !== p && this.options.updateMissing;
8316
+ !this.isValidLookup(p) && T && (M = !0, p = I), this.isValidLookup(p) || (N = !0, p = r);
8317
+ const K = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : p, G = T && I !== p && this.options.updateMissing;
8318
8318
  if (N || M || G) {
8319
- if (this.logger.log(G ? "updateKey" : "missingKey", c, l, r, G ? S : p), i) {
8319
+ if (this.logger.log(G ? "updateKey" : "missingKey", c, l, r, G ? I : p), i) {
8320
8320
  const ae = this.resolve(r, {
8321
8321
  ...t,
8322
8322
  keySeparator: !1
@@ -8337,9 +8337,9 @@ class zt extends qt {
8337
8337
  this.options.saveMissing && (this.options.saveMissingPlurals && v ? se.forEach((ae) => {
8338
8338
  const Oe = this.pluralResolver.getSuffixes(ae, t);
8339
8339
  w && t[`defaultValue${this.options.pluralSeparator}zero`] && Oe.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Oe.push(`${this.options.pluralSeparator}zero`), Oe.forEach((Ne) => {
8340
- Ae([ae], r + Ne, t[`defaultValue${Ne}`] || S);
8340
+ Ae([ae], r + Ne, t[`defaultValue${Ne}`] || I);
8341
8341
  });
8342
- }) : Ae(se, r, S));
8342
+ }) : Ae(se, r, I));
8343
8343
  }
8344
8344
  p = this.extendTranslation(p, e, t, u, a), N && p === r && this.options.appendNamespaceToMissingKey && (p = `${l}:${r}`), (N || M) && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${r}` : r, M ? p : void 0, t));
8345
8345
  }
@@ -8411,12 +8411,12 @@ class zt extends qt {
8411
8411
  if ((w = this.i18nFormat) != null && w.addLookupKeys)
8412
8412
  this.i18nFormat.addLookupKeys(h, d, T, _, t);
8413
8413
  else {
8414
- let S;
8415
- p && (S = this.pluralResolver.getSuffix(T, t.count, t));
8414
+ let I;
8415
+ p && (I = this.pluralResolver.getSuffix(T, t.count, t));
8416
8416
  const E = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
8417
- if (p && (h.push(d + S), t.ordinal && S.indexOf(R) === 0 && h.push(d + S.replace(R, this.options.pluralSeparator)), m && h.push(d + E)), b) {
8417
+ if (p && (h.push(d + I), t.ordinal && I.indexOf(R) === 0 && h.push(d + I.replace(R, this.options.pluralSeparator)), m && h.push(d + E)), b) {
8418
8418
  const U = `${d}${this.options.contextSeparator}${t.context}`;
8419
- h.push(U), p && (h.push(U + S), t.ordinal && S.indexOf(R) === 0 && h.push(U + S.replace(R, this.options.pluralSeparator)), m && h.push(U + E));
8419
+ h.push(U), p && (h.push(U + I), t.ordinal && I.indexOf(R) === 0 && h.push(U + I.replace(R, this.options.pluralSeparator)), m && h.push(U + E));
8420
8420
  }
8421
8421
  }
8422
8422
  let C;
@@ -10853,7 +10853,7 @@ const Ws = [
10853
10853
  setup(n) {
10854
10854
  const { t: e } = He();
10855
10855
  return (t, a) => (D(), H("div", null, [
10856
- t.label ? (D(), H("div", pl, pe(I(e)(t.label)), 1)) : q("", !0),
10856
+ t.label ? (D(), H("div", pl, pe(S(e)(t.label)), 1)) : q("", !0),
10857
10857
  B("div", fl, [
10858
10858
  Oa(t.$slots, "default")
10859
10859
  ])
@@ -10883,7 +10883,7 @@ const Ws = [
10883
10883
  return (i, r) => {
10884
10884
  const s = J("FmTab");
10885
10885
  return D(), H("div", null, [
10886
- B("div", bl, pe(I(e)(i.title)), 1),
10886
+ B("div", bl, pe(i.title), 1),
10887
10887
  L(wn),
10888
10888
  B("div", gl, [
10889
10889
  (D(!0), H(ke, null, ht(t.value, (l) => (D(), te(s, {
@@ -10909,7 +10909,7 @@ const Ws = [
10909
10909
  t ? t.register(e) : console.warn("ConfigTabItem is to be used with ConfigTab as parent");
10910
10910
  }), (a, o) => {
10911
10911
  var i;
10912
- return ((i = I(t)) == null ? void 0 : i.currentTab.value) === a.value ? (D(), H("div", yl, [
10912
+ return ((i = S(t)) == null ? void 0 : i.currentTab.value) === a.value ? (D(), H("div", yl, [
10913
10913
  B("div", vl, [
10914
10914
  Oa(a.$slots, "default")
10915
10915
  ])
@@ -10961,7 +10961,7 @@ const Ws = [
10961
10961
  }
10962
10962
  }
10963
10963
  return (l, c) => (D(), H("div", Tl, [
10964
- t.value ? (D(), te(I(ko), {
10964
+ t.value ? (D(), te(S(ko), {
10965
10965
  config: { rootClasses: s },
10966
10966
  type: "form",
10967
10967
  actions: !1,
@@ -10971,9 +10971,9 @@ const Ws = [
10971
10971
  preserve: ""
10972
10972
  }, {
10973
10973
  default: Z(() => [
10974
- L(I(Ro), {
10974
+ L(S(Ro), {
10975
10975
  schema: a.value,
10976
- library: I(i)
10976
+ library: S(i)
10977
10977
  }, null, 8, ["schema", "library"])
10978
10978
  ]),
10979
10979
  _: 1
@@ -11026,7 +11026,7 @@ const Ws = [
11026
11026
  ), (d, u) => {
11027
11027
  const p = J("FmCircularProgress"), m = J("FmOverlay");
11028
11028
  return D(), H("div", _l, [
11029
- L(I(Ho), {
11029
+ L(S(Ho), {
11030
11030
  position: "top-right",
11031
11031
  "rich-colors": "",
11032
11032
  "close-button": "",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, computed as n, resolveComponent as c, openBlock as m, createBlock as d } from "vue";
2
- import { u as i } from "./app-BoWWGa_f.js";
2
+ import { u as i } from "./app-p3PSkafU.js";
3
3
  const x = /* @__PURE__ */ s({
4
4
  __name: "ButtonGroup",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as f } from "vue";
2
- import { r as g, I as h } from "./image-BSKzm8T4.js";
2
+ import { r as g, I as h } from "./image-Bsuqx0Uc.js";
3
3
  import { useCoreStore as I } from "@feedmepos/mf-common";
4
4
  import "./main-DBrQC_KK.js";
5
5
  import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";