@feedmepos/mf-connect 0.1.38-beta.1 → 0.1.38-prod

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.
Files changed (108) hide show
  1. package/dist/Analytic-Dc1l0CZK.js +427 -0
  2. package/dist/{App-BWZ2EE71.js → App-BLg0CWv-.js} +352 -364
  3. package/dist/{Bin-C-Ha-4yF.js → Bin-DDbKIePj.js} +8 -8
  4. package/dist/{Broadcast-Bo3QS8lS.js → Broadcast-CihKie6G.js} +40 -40
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-4vUMzH-l.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DbdBGvgR.js} +18 -18
  6. package/dist/{Card-Bs1TDE0e.js → Card-h1dYFE_s.js} +159 -159
  7. package/dist/{Collections-Dy5RN7Js.js → Collections-DUXdnJqQ.js} +91 -103
  8. package/dist/{Credit-Bqc4dw1s.js → Credit-CsGEuX9p.js} +74 -74
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6AmN3o3.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-0gMUNtdO.js} +488 -488
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BzwADnKp.js → EffectSheet.vue_vue_type_style_index_0_lang-CQDnl97F.js} +94 -94
  11. package/dist/{Experience-C2e2T7B-.js → Experience-CBbqYrql.js} +41 -41
  12. package/dist/{Game-C86eEhcx.js → Game-CicPpdT5.js} +31 -31
  13. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +144 -0
  14. package/dist/{Index-BRGweFco.js → Index-Xgvlt4vk.js} +10 -10
  15. package/dist/Marketing-CqOAQgg4.js +319 -0
  16. package/dist/{Member-B3o0Zhcw.js → Member-D1k4ZQ95.js} +76 -76
  17. package/dist/MemberList-BdV9sxO_.js +1606 -0
  18. package/dist/MemberOverview-C2n9oJZh.js +58 -0
  19. package/dist/{MemberTransactions-C4hao-d9.js → MemberTransactions-Q0_4nT4e.js} +1 -1
  20. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D9zfmqLs.js → MessageInput.vue_vue_type_script_setup_true_lang-COGCJGRc.js} +36 -36
  21. package/dist/{Mission-BURXfzjd.js → Mission-D-TW52zn.js} +21 -21
  22. package/dist/{Overview-D_hrrM4O.js → Overview-BleJmxHa.js} +335 -335
  23. package/dist/{Point-CJXkJY5Q.js → Point-B7BYX9us.js} +41 -41
  24. package/dist/{Promotion-CunJrh42.js → Promotion-BphlQC55.js} +42 -42
  25. package/dist/{Queue-v5Itg9J4.js → Queue-DJfZqO1f.js} +51 -51
  26. package/dist/{Record-DJe4tg9R.js → Record-Bv1P0s2g.js} +9 -9
  27. package/dist/{Reward-Y9aHpny5.js → Reward-CRyEjr47.js} +173 -173
  28. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-1KAjCblO.js → RewardGroup.vue_vue_type_script_setup_true_lang-Ckqox5Ut.js} +11 -11
  29. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Cr99ikbK.js → RuleGroup.vue_vue_type_script_setup_true_lang-Dp4ku9ep.js} +431 -431
  30. package/dist/Segment-Br0Y5hzV.js +882 -0
  31. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BhJ-oVMb.js → SelectItems.vue_vue_type_script_setup_true_lang-BuB-qwcM.js} +2 -2
  32. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-b5bjfBvc.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DanHGQXC.js} +11 -11
  33. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DoKAgSLE.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCKUXnGl.js} +3 -3
  34. package/dist/{Setting-BU5778gG.js → Setting-BPFArJMv.js} +432 -432
  35. package/dist/{Store-IWg0POAU.js → Store-e_odFoS5.js} +210 -210
  36. package/dist/StoreRewards-wXhyzIFI.js +423 -0
  37. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CVPQt-bn.js +995 -0
  38. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BcOvr526.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CWJmeeo-.js} +1 -1
  39. package/dist/{Tier-iN30KD7g.js → Tier-GfdGRbTX.js} +106 -106
  40. package/dist/{Title-Duh_Srek.js → Title-C2ZyFxNf.js} +131 -133
  41. package/dist/{Transaction-DLBA7Svl.js → Transaction-Dv8yYXJS.js} +2 -2
  42. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DLD5d43d.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CK_4iMCA.js} +6 -6
  43. package/dist/{Voucher-cTvlMN0Y.js → Voucher-CBujqgnF.js} +37 -37
  44. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CgooH4yn.js +419 -0
  45. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C5S-bi5J.js → ZodTextField.vue_vue_type_script_setup_true_lang-B8pgaARn.js} +1 -1
  46. package/dist/{app-De-yQ1CJ.js → app-B2Cgyy70.js} +124 -161
  47. package/dist/{app-A3oEKLq5.js → app-B8E3wp8L.js} +1 -1
  48. package/dist/app.js +3 -4
  49. package/dist/{business-B2JBpm4y.js → business-BRidHvRK.js} +1 -1
  50. package/dist/{campaign-vkzui6F2.js → campaign-B0vnIan2.js} +3 -5
  51. package/dist/{campaign-Bhur0NJx.js → campaign-B7v0a8YV.js} +9 -9
  52. package/dist/{campaign.enum-DCYkKGhd.js → campaign.enum-NH5faqyS.js} +1 -1
  53. package/dist/{campaign.fn--affTEi5.js → campaign.fn-BPHARk3Y.js} +161 -161
  54. package/dist/{collectible.enum-CLBCnfev.js → collectible.enum-Cun9w38h.js} +1 -1
  55. package/dist/{collection.fn-bA8q0KYy.js → collection.fn-RR5q6jqi.js} +2 -2
  56. package/dist/{dto-RCcWeYE0.js → dto-DK1VnGlq.js} +4 -4
  57. package/dist/{effect-D7qRfPe_.js → effect-CI4ZR8HW.js} +1 -1
  58. package/dist/{email-addresses-a8PqViID.js → email-addresses-bguwgnrW.js} +1 -1
  59. package/dist/{export-BneqNRn4.js → export-CcepocZB.js} +3 -3
  60. package/dist/{helper-DfvvxOyO.js → helper-BM1JTEFS.js} +1 -1
  61. package/dist/{index-CbsJ6vMJ.js → index-B0Slqiqo.js} +1 -1
  62. package/dist/{index-y-7yUm2e.js → index-B6_uPXyL.js} +9 -9
  63. package/dist/{index-CTKMdxSm.js → index-BS3AjuVw.js} +1 -1
  64. package/dist/{index-2LpkG8Ye.js → index-BfGdztHf.js} +1 -1
  65. package/dist/{index-D0GnMoag.js → index-CBuCx_0r.js} +79 -168
  66. package/dist/{index-4kMeSNTr.js → index-CLkqja9X.js} +385 -376
  67. package/dist/{index-DMrIQqFt.js → index-Cm_6xScD.js} +1 -1
  68. package/dist/index-CuvNtC_M.js +61 -0
  69. package/dist/index-DHEJX75j.js +44 -0
  70. package/dist/{index-CMBPIb8x.js → index-D_gLVFsk.js} +941 -932
  71. package/dist/{index-BWTvsoH0.js → index-DbjZHuoG.js} +1 -1
  72. package/dist/{index-CrFUhsZO.js → index-De1JnaPh.js} +1 -1
  73. package/dist/{index-DeXvASjP.js → index-Di6bqaLm.js} +3 -3
  74. package/dist/{index-CtDqXnOp.js → index-DjycZwfg.js} +448 -515
  75. package/dist/{index-B0T9GDIZ.js → index-vs1HgFHz.js} +1 -1
  76. package/dist/{index.esm2017-JtyypweZ.js → index.esm2017-DANlqJ4g.js} +127 -127
  77. package/dist/{loading-a-FqrwqI.js → loading-BXu9ofEu.js} +1 -1
  78. package/dist/{membership-CGVtil5J.js → membership-BBb7gdZg.js} +3 -3
  79. package/dist/{money-CTc1l_Cq.js → money-C02BW-pt.js} +1 -1
  80. package/dist/{number-W3R-0nYP.js → number-D7tIDv2q.js} +1 -1
  81. package/dist/objectid-oVX5A5oa.js +145 -0
  82. package/dist/{plugins-D2sSgTSl.js → plugins-B5tuGbFw.js} +2 -2
  83. package/dist/{reward-atP8vnNn.js → reward-CE-bnnnQ.js} +1 -1
  84. package/dist/{rule-eA5IvnjB.js → rule-BN5R8pYj.js} +3 -3
  85. package/dist/{rule-builder-BB29ZJ_C.js → rule-builder-16JDtaoI.js} +17 -17
  86. package/dist/style.css +1 -1
  87. package/dist/{template-DhBeDaAm.js → template-C-zyZgxl.js} +64 -64
  88. package/dist/{trigger-Bq_pZj1J.js → trigger-DCLjl3mM.js} +4 -4
  89. package/dist/{usePagination-BeF5K3M7.js → usePagination-JoYaROkV.js} +85 -85
  90. package/dist/{user-B-bhVFIG.js → user-C7bmFOaT.js} +1 -1
  91. package/dist/{vue-i18n-D-h8VDSx.js → vue-i18n-Cts9OsqE.js} +277 -277
  92. package/dist/{xlsx-DsByAcZl.js → xlsx-CJ5ufXk3.js} +226 -226
  93. package/package.json +3 -5
  94. package/dist/Analytic-O-qZWrFp.js +0 -761
  95. package/dist/AuditLogs-DlmcFEta.js +0 -1887
  96. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +0 -58
  97. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +0 -144
  98. package/dist/Marketing-CnnrnXbS.js +0 -20073
  99. package/dist/MemberList-BpE1IjED.js +0 -1606
  100. package/dist/MemberOverview-wL_ailso.js +0 -58
  101. package/dist/Segment-DVT8uDn8.js +0 -882
  102. package/dist/StoreRewards-CIjHcVoh.js +0 -423
  103. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cx05-OPF.js +0 -1029
  104. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DkjojUvD.js +0 -419
  105. package/dist/index-CVAWGMus.js +0 -56
  106. package/dist/index-CsaQJMAR.js +0 -66
  107. package/dist/objectid-BU0Y8iAN.js +0 -145
  108. package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
@@ -0,0 +1,58 @@
1
+ import { defineComponent as d, resolveComponent as o, openBlock as r, createElementBlock as s, Fragment as a, createElementVNode as e, createVNode as c, withCtx as v, renderList as p, normalizeClass as _, toDisplayString as n, createCommentVNode as u } from "vue";
2
+ const y = { class: "bg-gradient-to-r from-orange-200 p-24 to-blue-200 via-pink-100 mx-[-24px]" }, b = /* @__PURE__ */ e("div", { class: "fm-typo-en-body-lg-600" }, "Member overview", -1), g = { class: "grid grid-cols-6 xs:grid-cols-2 gap-4 divide-x xs:divide-x-0" }, x = { class: "fm-typo-body-md-400 fm-typo-en-body-md-400 mb-2 text-fm-color-typo-secondary" }, f = { class: "fm-typo-en-title-sm-800" }, F = /* @__PURE__ */ d({
3
+ __name: "MemberOverview",
4
+ setup(k) {
5
+ const l = [
6
+ {
7
+ key: "Total member",
8
+ value: 4
9
+ },
10
+ {
11
+ key: "New member",
12
+ value: 2
13
+ },
14
+ {
15
+ key: "Member average spend",
16
+ value: 100
17
+ },
18
+ {
19
+ key: "Average visit time",
20
+ value: 567
21
+ },
22
+ {
23
+ key: "Member growth",
24
+ value: "100%"
25
+ },
26
+ { key: "Inactive member", value: 0 }
27
+ ];
28
+ return (h, C) => {
29
+ const i = o("FmCard");
30
+ return o("FmButton"), r(), s(a, null, [
31
+ e("div", y, [
32
+ c(i, {
33
+ variant: "outlined",
34
+ class: "flex flex-col gap-16 p-16"
35
+ }, {
36
+ default: v(() => [
37
+ b,
38
+ e("div", g, [
39
+ (r(), s(a, null, p(l, (t, m) => e("div", {
40
+ key: t.key,
41
+ class: _(["px-8", { "xs:!border-r": m % 2 == 0 }])
42
+ }, [
43
+ e("div", x, n(t.key), 1),
44
+ e("div", f, n(t.value), 1)
45
+ ], 2)), 64))
46
+ ])
47
+ ]),
48
+ _: 1
49
+ })
50
+ ]),
51
+ u("", !0)
52
+ ], 64);
53
+ };
54
+ }
55
+ });
56
+ export {
57
+ F as default
58
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, ref as p, resolveComponent as _, openBlock as a, createElementBlock as f, createVNode as v, unref as o, createBlock as u, createCommentVNode as b } from "vue";
2
- import { _ as k, a as x } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-Cx05-OPF.js";
2
+ import { _ as k, a as x } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-CVPQt-bn.js";
3
3
  import { useRouter as y } from "vue-router";
4
4
  const C = { class: "flex flex-col gap-y-32 pb-24" }, F = /* @__PURE__ */ d({
5
5
  __name: "MemberTransactions",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as I, shallowRef as G, openBlock as h, createElementBlock as F, normalizeStyle as z, ref as w, resolveComponent as b, createBlock as C, unref as i, isRef as P, withCtx as $, createVNode as g, createElementVNode as S, createCommentVNode as H, withDirectives as A, vShow as B, computed as q, onMounted as J, Fragment as T, renderList as Z, normalizeClass as K, toDisplayString as W } from "vue";
2
- import { p as X } from "./plugins-D2sSgTSl.js";
3
- import { B as Y } from "./index-CtDqXnOp.js";
4
- import "./index-CMBPIb8x.js";
2
+ import { p as X } from "./plugins-B5tuGbFw.js";
3
+ import { B as Y } from "./index-DjycZwfg.js";
4
+ import "./index-D_gLVFsk.js";
5
5
  import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import { _ as ee, S as te } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js";
7
7
  import { c as ne } from "./object-qECH92oz.js";
8
8
  import { useCoreStore as oe } from "@feedmepos/mf-common";
9
- import { u as se } from "./membership-CGVtil5J.js";
9
+ import { u as se } from "./membership-BBb7gdZg.js";
10
10
  const ae = {
11
11
  "user.name": {
12
12
  name: "User name"
@@ -47,15 +47,15 @@ const ae = {
47
47
  "membership.url": {
48
48
  name: "Membership URL"
49
49
  }
50
- }, ke = {
50
+ }, Ie = {
51
51
  MY: ["user.phoneNumber", "membership.url"]
52
52
  }, ie = "https://editor.unlayer.com/embed.js?2", N = [];
53
53
  let O = !1;
54
54
  const re = (e) => {
55
55
  const n = document.querySelectorAll("script");
56
56
  let d = !1;
57
- return n.forEach((c) => {
58
- c.src.includes(e) && (d = !0);
57
+ return n.forEach((u) => {
58
+ u.src.includes(e) && (d = !0);
59
59
  }), d;
60
60
  }, le = (e) => {
61
61
  N.push(e);
@@ -75,8 +75,8 @@ const re = (e) => {
75
75
  }, document.head.appendChild(d);
76
76
  }
77
77
  };
78
- let ue = 0;
79
- const ce = I({
78
+ let ce = 0;
79
+ const ue = I({
80
80
  name: "EmailEditor",
81
81
  props: {
82
82
  editorId: String,
@@ -105,7 +105,7 @@ const ce = I({
105
105
  },
106
106
  computed: {
107
107
  id() {
108
- return this.editorId || `editor-${++ue}`;
108
+ return this.editorId || `editor-${++ce}`;
109
109
  }
110
110
  },
111
111
  setup() {
@@ -150,14 +150,14 @@ const ce = I({
150
150
  }
151
151
  }
152
152
  }), me = ["id"];
153
- function pe(e, n, d, c, a, m) {
153
+ function pe(e, n, d, u, a, m) {
154
154
  return h(), F("div", {
155
155
  id: e.id,
156
156
  class: "unlayer-editor",
157
157
  style: z({ minHeight: e.minHeight })
158
158
  }, null, 12, me);
159
159
  }
160
- const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94"]]), ge = { class: "h-full flex flex-col" }, fe = { class: "flex items-center gap-8" }, be = /* @__PURE__ */ I({
160
+ const he = /* @__PURE__ */ Q(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94"]]), ge = { class: "h-full flex flex-col" }, fe = { class: "flex items-center gap-8" }, be = /* @__PURE__ */ I({
161
161
  __name: "EmailEditorSheet",
162
162
  props: {
163
163
  design: {
@@ -171,22 +171,22 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
171
171
  },
172
172
  emits: ["update:design"],
173
173
  setup(e, { expose: n, emit: d }) {
174
- const c = w(!1), a = w(null), m = w(!1), x = e, u = w({
174
+ const u = w(!1), a = w(null), m = w(!1), x = e, c = w({
175
175
  html: "",
176
176
  design: x.design,
177
177
  title: x.title || ""
178
178
  });
179
179
  function E(o) {
180
- c.value = o;
180
+ u.value = o;
181
181
  }
182
182
  const L = d;
183
183
  function k() {
184
184
  a.value && (a.value.exportHtml((o) => {
185
- u.value = {
185
+ c.value = {
186
186
  html: o.html,
187
187
  design: o.design,
188
- title: u.value.title
189
- }, L("update:design", u.value);
188
+ title: c.value.title
189
+ }, L("update:design", c.value);
190
190
  }), E(!1));
191
191
  }
192
192
  return n({
@@ -194,8 +194,8 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
194
194
  }), (o, t) => {
195
195
  const r = b("FmButton"), f = b("FmTextField"), y = b("FmSideSheet");
196
196
  return h(), C(y, {
197
- modelValue: i(c),
198
- "onUpdate:modelValue": t[4] || (t[4] = (l) => P(c) ? c.value = l : null),
197
+ modelValue: i(u),
198
+ "onUpdate:modelValue": t[4] || (t[4] = (l) => P(u) ? u.value = l : null),
199
199
  header: "Email editor",
200
200
  "max-width": 1280
201
201
  }, {
@@ -217,8 +217,8 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
217
217
  }, null, 8, ["json"])),
218
218
  A(g(f, {
219
219
  label: "Email title",
220
- modelValue: i(u).title,
221
- "onUpdate:modelValue": t[0] || (t[0] = (l) => i(u).title = l)
220
+ modelValue: i(c).title,
221
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => i(c).title = l)
222
222
  }, null, 8, ["modelValue"]), [
223
223
  [B, i(m)]
224
224
  ]),
@@ -254,7 +254,7 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
254
254
  }, 8, ["modelValue"]);
255
255
  };
256
256
  }
257
- }), ye = { class: "space-y-4" }, ve = { class: "flex items-center gap-8 justify-between" }, Se = { class: "relative" }, xe = { class: "absolute bottom-[24px] right-[4px]" }, Ie = /* @__PURE__ */ I({
257
+ }), ye = { class: "space-y-4" }, ve = { class: "flex items-center gap-8 justify-between" }, Se = /* @__PURE__ */ S("div", { class: "fm-typo-en-body-lg-400" }, "Add message", -1), xe = { class: "relative" }, Ee = { class: "absolute bottom-[24px] right-[4px]" }, Ue = /* @__PURE__ */ I({
258
258
  __name: "MessageInput",
259
259
  props: {
260
260
  allowEmail: {
@@ -295,7 +295,7 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
295
295
  },
296
296
  emits: ["update:model-value"],
297
297
  setup(e, { emit: n }) {
298
- const d = oe(), c = se(), a = e, m = n;
298
+ const d = oe(), u = se(), a = e, m = n;
299
299
  function x() {
300
300
  var r;
301
301
  const o = {
@@ -319,7 +319,7 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
319
319
  );
320
320
  X.confirm(t, "Preview message", "OK");
321
321
  }
322
- function u(o, t = "SMS") {
322
+ function c(o, t = "SMS") {
323
323
  m("update:model-value", {
324
324
  channel: t,
325
325
  content: t == "SMS" ? o : o.html,
@@ -331,7 +331,7 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
331
331
  }
332
332
  const E = w(a.helperState || "none"), L = q(() => {
333
333
  var M, _;
334
- const o = ((M = c.membership) == null ? void 0 : M.brand) || d.currentBusiness.value.name || "", t = 160;
334
+ const o = ((M = u.membership) == null ? void 0 : M.brand) || d.currentBusiness.value.name || "", t = 160;
335
335
  let r = t;
336
336
  const f = ((_ = a.modelValue) == null ? void 0 : _.content.replace(/{{([^}]+)}}/g, (v, s) => {
337
337
  switch (s) {
@@ -377,7 +377,7 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
377
377
  m("update:model-value", {
378
378
  ...a.modelValue,
379
379
  variables: a.variables
380
- }), a.modelValue || u("");
380
+ }), a.modelValue || c("");
381
381
  }), (o, t) => {
382
382
  var p, V, M, _, v;
383
383
  const r = b("FmButtonGroup"), f = b("FmButton"), y = b("FmTextarea"), l = b("FmMenuItem"), j = b("FmMenu");
@@ -386,18 +386,18 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
386
386
  key: 0,
387
387
  items: k,
388
388
  "model-value": { label: (p = e.modelValue) == null ? void 0 : p.channel },
389
- "onUpdate:modelValue": t[0] || (t[0] = (s) => u("", s.label))
389
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => c("", s.label))
390
390
  }, null, 8, ["model-value"])) : H("", !0),
391
391
  ((V = e.modelValue) == null ? void 0 : V.channel) == "EMAIL" ? (h(), C(be, {
392
392
  key: 1,
393
393
  design: (M = e.modelValue) == null ? void 0 : M.design,
394
394
  title: ((_ = e.modelValue) == null ? void 0 : _.title) || void 0,
395
395
  "onUpdate:design": t[1] || (t[1] = (s) => {
396
- u(s, "EMAIL");
396
+ c(s, "EMAIL");
397
397
  })
398
398
  }, null, 8, ["design", "title"])) : (h(), F(T, { key: 2 }, [
399
399
  S("div", ve, [
400
- t[2] || (t[2] = S("div", { class: "fm-typo-en-body-lg-400" }, "Add message", -1)),
400
+ Se,
401
401
  g(f, {
402
402
  icon: "visibility",
403
403
  label: "Preview message",
@@ -405,15 +405,15 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
405
405
  onClick: x
406
406
  })
407
407
  ]),
408
- S("div", Se, [
408
+ S("div", xe, [
409
409
  g(y, {
410
410
  "model-value": (v = e.modelValue) == null ? void 0 : v.content,
411
- "onUpdate:modelValue": u,
411
+ "onUpdate:modelValue": c,
412
412
  "show-word-count": !0,
413
413
  placeholder: e.placeholder,
414
414
  "helper-state": i(E) || "none"
415
415
  }, null, 8, ["model-value", "placeholder", "helper-state"]),
416
- S("div", xe, [
416
+ S("div", Ee, [
417
417
  g(j, { placement: "left-end" }, {
418
418
  "menu-button": $(() => [
419
419
  g(f, {
@@ -430,9 +430,9 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
430
430
  return h(), C(l, {
431
431
  key: s,
432
432
  label: ((U = i(ae)[s]) == null ? void 0 : U.name) || s,
433
- onClick: (Ee) => {
433
+ onClick: (Ve) => {
434
434
  var D;
435
- return u(((D = e.modelValue) == null ? void 0 : D.content) + `{{${s}}}`);
435
+ return c(((D = e.modelValue) == null ? void 0 : D.content) + `{{${s}}}`);
436
436
  }
437
437
  }, null, 8, ["label", "onClick"]);
438
438
  }), 128))
@@ -450,6 +450,6 @@ const he = /* @__PURE__ */ Q(ce, [["render", pe], ["__scopeId", "data-v-a9a2bb94
450
450
  }
451
451
  });
452
452
  export {
453
- ke as M,
454
- Ie as _
453
+ Ie as M,
454
+ Ue as _
455
455
  };
@@ -1,21 +1,24 @@
1
1
  import { defineComponent as H, ref as w, computed as q, h as l, onMounted as z, resolveComponent as m, openBlock as p, createElementBlock as x, Fragment as v, createVNode as c, unref as t, createElementVNode as s, withCtx as C, renderList as W, createBlock as b, resolveDynamicComponent as G, toDisplayString as u } from "vue";
2
2
  import { _ as J } from "./campaign-CpzFl8Vr.js";
3
- import { u as Q } from "./loading-a-FqrwqI.js";
4
- import { g as X, a as B, b as P } from "./campaign-Bhur0NJx.js";
5
- import { a as Y, p as Z } from "./plugins-D2sSgTSl.js";
6
- import { u as ee } from "./business-B2JBpm4y.js";
7
- import { u as oe } from "./campaign-vkzui6F2.js";
3
+ import { u as Q } from "./loading-BXu9ofEu.js";
4
+ import { g as X, a as B, b as P } from "./campaign-B7v0a8YV.js";
5
+ import { a as Y, p as Z } from "./plugins-B5tuGbFw.js";
6
+ import { u as ee } from "./business-BRidHvRK.js";
7
+ import { u as oe } from "./campaign-B0vnIan2.js";
8
8
  import { useDialog as te, components as _ } from "@feedmepos/ui-library";
9
9
  import { _ as ne } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
10
- import { u as ae } from "./template-DhBeDaAm.js";
11
- import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6AmN3o3.js";
12
- import { s as ie } from "./index-CsaQJMAR.js";
13
- import { u as ce } from "./vue-i18n-D-h8VDSx.js";
14
- import { _ as re } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-b5bjfBvc.js";
15
- import { c as h } from "./index-BWTvsoH0.js";
16
- const le = { class: "px-24 flex flex-col gap-y-16" }, me = { class: "flex items-center justify-between w-full" }, de = { class: "flex gap-8 overflow-x-auto" }, pe = { class: "space-y-8" }, ue = { class: "flex w-full gap-4 items-center" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "space-y-4" }, ye = { class: "fm-typo-en-body-lg-600" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "flex flex-col gap-16 text-center" }, xe = { class: "fm-typo-en-title-sm-800" }, ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Oe = /* @__PURE__ */ H({
10
+ import { u as ae } from "./template-C-zyZgxl.js";
11
+ import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-0gMUNtdO.js";
12
+ import { s as ie } from "./index-CuvNtC_M.js";
13
+ import { u as ce } from "./vue-i18n-Cts9OsqE.js";
14
+ import { _ as re } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-DanHGQXC.js";
15
+ import { c as h } from "./index-DbjZHuoG.js";
16
+ const le = { class: "px-24 flex flex-col gap-y-16" }, me = { class: "flex items-center justify-between w-full" }, de = { class: "flex gap-8 overflow-x-auto" }, pe = { class: "space-y-8" }, ue = { class: "flex w-full gap-4 items-center" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "space-y-4" }, ye = { class: "fm-typo-en-body-lg-600" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = /* @__PURE__ */ s("img", {
17
+ src: J,
18
+ class: "aspect-square w-[150px]"
19
+ }, null, -1), xe = { class: "flex flex-col gap-16 text-center" }, ve = { class: "fm-typo-en-title-sm-800" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = /* @__PURE__ */ H({
17
20
  __name: "Mission",
18
- setup(Ce) {
21
+ setup(be) {
19
22
  const { t: n } = ce(), R = {
20
23
  label: n("connect.program.common.actions.create", {
21
24
  type: n("connect.program.mission.title").toLowerCase()
@@ -260,13 +263,10 @@ const le = { class: "px-24 flex flex-col gap-y-16" }, me = { class: "flex items-
260
263
  class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
261
264
  }, {
262
265
  default: C(() => [
263
- o[6] || (o[6] = s("img", {
264
- src: J,
265
- class: "aspect-square w-[150px]"
266
- }, null, -1)),
267
- s("div", we, [
268
- s("div", xe, u(t(n)("connect.campaign.mission.createProgram")), 1),
269
- s("div", ve, u(t(n)("connect.campaign.mission.description")), 1)
266
+ we,
267
+ s("div", xe, [
268
+ s("div", ve, u(t(n)("connect.campaign.mission.createProgram")), 1),
269
+ s("div", Ce, u(t(n)("connect.campaign.mission.description")), 1)
270
270
  ]),
271
271
  c(M, {
272
272
  variant: "primary",
@@ -292,5 +292,5 @@ const le = { class: "px-24 flex flex-col gap-y-16" }, me = { class: "flex items-
292
292
  }
293
293
  });
294
294
  export {
295
- Oe as default
295
+ Ae as default
296
296
  };