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

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 (113) hide show
  1. package/dist/Analytic-O-qZWrFp.js +761 -0
  2. package/dist/{App-JwvQzmaf.js → App-BWZ2EE71.js} +364 -352
  3. package/dist/AuditLogs-DlmcFEta.js +1887 -0
  4. package/dist/{Bin-Boq091DE.js → Bin-C-Ha-4yF.js} +8 -8
  5. package/dist/{Broadcast-D7BIjPzg.js → Broadcast-Bo3QS8lS.js} +27 -25
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-ZFe69JWe.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-4vUMzH-l.js} +18 -18
  7. package/dist/{Card-C7v8otBk.js → Card-Bs1TDE0e.js} +159 -159
  8. package/dist/{Collections-C_pyDZJp.js → Collections-Dy5RN7Js.js} +103 -91
  9. package/dist/{Credit-B6I7vIo2.js → Credit-Bqc4dw1s.js} +74 -74
  10. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
  11. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DHQBxqsk.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6AmN3o3.js} +490 -488
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-cqK2WTuO.js → EffectSheet.vue_vue_type_style_index_0_lang-BzwADnKp.js} +91 -89
  13. package/dist/{Experience-RU6iI7eH.js → Experience-C2e2T7B-.js} +42 -42
  14. package/dist/{FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js → FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js} +2 -6
  15. package/dist/{Game-B9Ojuamc.js → Game-C86eEhcx.js} +32 -32
  16. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +144 -0
  17. package/dist/{Index-Dv-YN9YC.js → Index-BRGweFco.js} +10 -10
  18. package/dist/Marketing-CnnrnXbS.js +20073 -0
  19. package/dist/{Member-BX81V3ON.js → Member-B3o0Zhcw.js} +76 -76
  20. package/dist/MemberList-BpE1IjED.js +1606 -0
  21. package/dist/MemberOverview-wL_ailso.js +58 -0
  22. package/dist/{MemberTransactions-C0FinB5E.js → MemberTransactions-C4hao-d9.js} +1 -1
  23. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DZS17c8D.js → MessageInput.vue_vue_type_script_setup_true_lang-D9zfmqLs.js} +36 -36
  24. package/dist/{Mission-BV76Qq3Y.js → Mission-BURXfzjd.js} +21 -21
  25. package/dist/{Overview-CMK4VRZl.js → Overview-D_hrrM4O.js} +335 -335
  26. package/dist/{Point-CQWKh1jv.js → Point-CJXkJY5Q.js} +43 -41
  27. package/dist/Promotion-CunJrh42.js +289 -0
  28. package/dist/{Queue-CFNfJSux.js → Queue-v5Itg9J4.js} +52 -52
  29. package/dist/{Record-7_ssnQnB.js → Record-DJe4tg9R.js} +9 -9
  30. package/dist/{Reward-DOe1Tn2f.js → Reward-Y9aHpny5.js} +173 -173
  31. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BsgR-dCL.js → RewardGroup.vue_vue_type_script_setup_true_lang-1KAjCblO.js} +11 -11
  32. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BPw5L06B.js → RuleGroup.vue_vue_type_script_setup_true_lang-Cr99ikbK.js} +635 -548
  33. package/dist/Segment-DVT8uDn8.js +882 -0
  34. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DPsLdEU8.js → SelectItems.vue_vue_type_script_setup_true_lang-BhJ-oVMb.js} +2 -2
  35. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BAJLRxOM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-b5bjfBvc.js} +11 -11
  36. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DUUzFkIc.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DoKAgSLE.js} +3 -3
  37. package/dist/{Setting-Bojfmtwf.js → Setting-BU5778gG.js} +432 -432
  38. package/dist/{Store-dfiUtq-f.js → Store-IWg0POAU.js} +211 -211
  39. package/dist/StoreRewards-CIjHcVoh.js +423 -0
  40. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cx05-OPF.js +1029 -0
  41. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D8ey57Te.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BcOvr526.js} +1 -1
  42. package/dist/{Tier-BIDShXJ6.js → Tier-iN30KD7g.js} +107 -107
  43. package/dist/{Title-CDdkVwEu.js → Title-Duh_Srek.js} +133 -131
  44. package/dist/{Transaction-lAUnd1c_.js → Transaction-DLBA7Svl.js} +2 -2
  45. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BwaD8Nwy.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DLD5d43d.js} +6 -6
  46. package/dist/{Voucher-BARDbixZ.js → Voucher-cTvlMN0Y.js} +153 -123
  47. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DkjojUvD.js +419 -0
  48. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CIk3GKLH.js → ZodTextField.vue_vue_type_script_setup_true_lang-C5S-bi5J.js} +1 -1
  49. package/dist/{app-Cq8zUKBx.js → app-A3oEKLq5.js} +1 -1
  50. package/dist/{app-KtD-iU16.js → app-De-yQ1CJ.js} +164 -125
  51. package/dist/app.js +4 -3
  52. package/dist/business-B2JBpm4y.js +79 -0
  53. package/dist/{campaign-NqTts9bj.js → campaign-Bhur0NJx.js} +9 -9
  54. package/dist/{campaign-DwArKZ1r.js → campaign-vkzui6F2.js} +5 -3
  55. package/dist/{campaign.enum-DQayyk1f.js → campaign.enum-DCYkKGhd.js} +1 -1
  56. package/dist/{campaign.fn-6uf_Z5m1.js → campaign.fn--affTEi5.js} +161 -161
  57. package/dist/{collectible.enum-CgjtJh8V.js → collectible.enum-CLBCnfev.js} +1 -1
  58. package/dist/{collection.fn-DuqcY399.js → collection.fn-bA8q0KYy.js} +2 -2
  59. package/dist/{dto-CQRn2lAW.js → dto-RCcWeYE0.js} +4 -4
  60. package/dist/{effect-B-sUUnjd.js → effect-D7qRfPe_.js} +1 -1
  61. package/dist/{email-addresses-D-kPsNBn.js → email-addresses-a8PqViID.js} +1 -1
  62. package/dist/{export-B28oHptg.js → export-BneqNRn4.js} +3 -3
  63. package/dist/{helper-DuBp_oW-.js → helper-DfvvxOyO.js} +1 -1
  64. package/dist/{index-CCNfzZ5t.js → index-2LpkG8Ye.js} +1 -1
  65. package/dist/{index-C2wsUy05.js → index-4kMeSNTr.js} +11447 -10969
  66. package/dist/{index-BgdUU6Za.js → index-B0T9GDIZ.js} +1 -1
  67. package/dist/{index-CczG_ilB.js → index-BWTvsoH0.js} +1 -1
  68. package/dist/index-CMBPIb8x.js +32260 -0
  69. package/dist/{index-DF4V4vur.js → index-CTKMdxSm.js} +1 -1
  70. package/dist/index-CVAWGMus.js +56 -0
  71. package/dist/index-CbsJ6vMJ.js +31 -0
  72. package/dist/{index-CSWnS__O.js → index-CrFUhsZO.js} +1 -1
  73. package/dist/index-CsaQJMAR.js +66 -0
  74. package/dist/{index-CmOaBe_x.js → index-CtDqXnOp.js} +535 -460
  75. package/dist/{index-CECYN1oL.js → index-D0GnMoag.js} +181 -79
  76. package/dist/{index-BCslSeGm.js → index-DMrIQqFt.js} +1 -1
  77. package/dist/{index-BZYbNzed.js → index-DeXvASjP.js} +3 -3
  78. package/dist/{index-CUdis4Jl.js → index-y-7yUm2e.js} +10 -9
  79. package/dist/{index.esm2017-CVwbgLS0.js → index.esm2017-JtyypweZ.js} +127 -127
  80. package/dist/{loading-C-BSh5_w.js → loading-a-FqrwqI.js} +1 -1
  81. package/dist/{membership-BPpTsVq5.js → membership-CGVtil5J.js} +3 -3
  82. package/dist/{money-BSxQcP_f.js → money-CTc1l_Cq.js} +1 -1
  83. package/dist/{number-p7RPdTQ7.js → number-W3R-0nYP.js} +1 -1
  84. package/dist/objectid-BU0Y8iAN.js +145 -0
  85. package/dist/{plugins-5mIceCPA.js → plugins-D2sSgTSl.js} +2 -2
  86. package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
  87. package/dist/{reward-CaZY5kqg.js → reward-atP8vnNn.js} +1 -1
  88. package/dist/{rule-builder-yn_upY7a.js → rule-builder-BB29ZJ_C.js} +17 -17
  89. package/dist/{rule-DB6XK-iD.js → rule-eA5IvnjB.js} +3 -3
  90. package/dist/style.css +1 -1
  91. package/dist/{template-DbmV0nWD.js → template-DhBeDaAm.js} +64 -64
  92. package/dist/{trigger-DPl3HG2o.js → trigger-Bq_pZj1J.js} +7 -7
  93. package/dist/{usePagination-JoYaROkV.js → usePagination-BeF5K3M7.js} +85 -85
  94. package/dist/{user-DzwHXhvX.js → user-B-bhVFIG.js} +1 -1
  95. package/dist/{vue-i18n-BnN9jlFK.js → vue-i18n-D-h8VDSx.js} +343 -343
  96. package/dist/{xlsx-CrsYUgcS.js → xlsx-DsByAcZl.js} +226 -226
  97. package/package.json +5 -3
  98. package/dist/Analytic-C1LCniPD.js +0 -427
  99. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +0 -144
  100. package/dist/Marketing-CFgCJV0g.js +0 -317
  101. package/dist/MemberList-BjX8ND1p.js +0 -1606
  102. package/dist/MemberOverview-C2n9oJZh.js +0 -58
  103. package/dist/Promotion-CnFaEvhL.js +0 -255
  104. package/dist/Segment-DUP0JWK5.js +0 -882
  105. package/dist/StoreRewards-DJj-oM2n.js +0 -423
  106. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-oRUpDbZ_.js +0 -995
  107. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-bDQs5ACo.js +0 -419
  108. package/dist/business-CFMUx5qO.js +0 -78
  109. package/dist/index-CuJ5OZqA.js +0 -29566
  110. package/dist/index-CuvNtC_M.js +0 -61
  111. package/dist/index-Dbd4WA4r.js +0 -61
  112. package/dist/index-mtAI1Gyn.js +0 -44
  113. package/dist/objectid-DkD1hn1F.js +0 -145
@@ -0,0 +1,58 @@
1
+ import { defineComponent as c, resolveComponent as r, openBlock as s, createElementBlock as n, Fragment as a, createElementVNode as e, createVNode as v, withCtx as p, renderList as u, normalizeClass as y, toDisplayString as l, createCommentVNode as _ } from "vue";
2
+ const b = { class: "bg-gradient-to-r from-orange-200 p-24 to-blue-200 via-pink-100 mx-[-24px]" }, 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" }, w = /* @__PURE__ */ c({
3
+ __name: "MemberOverview",
4
+ setup(k) {
5
+ const m = [
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 (C, o) => {
29
+ const i = r("FmCard");
30
+ return r("FmButton"), s(), n(a, null, [
31
+ e("div", b, [
32
+ v(i, {
33
+ variant: "outlined",
34
+ class: "flex flex-col gap-16 p-16"
35
+ }, {
36
+ default: p(() => [
37
+ o[0] || (o[0] = e("div", { class: "fm-typo-en-body-lg-600" }, "Member overview", -1)),
38
+ e("div", g, [
39
+ (s(), n(a, null, u(m, (t, d) => e("div", {
40
+ key: t.key,
41
+ class: y(["px-8", { "xs:!border-r": d % 2 == 0 }])
42
+ }, [
43
+ e("div", x, l(t.key), 1),
44
+ e("div", f, l(t.value), 1)
45
+ ], 2)), 64))
46
+ ])
47
+ ]),
48
+ _: 1
49
+ })
50
+ ]),
51
+ _("", !0)
52
+ ], 64);
53
+ };
54
+ }
55
+ });
56
+ export {
57
+ w 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-oRUpDbZ_.js";
2
+ import { _ as k, a as x } from "./StoreTransactions.vue_vue_type_script_setup_true_lang-Cx05-OPF.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-5mIceCPA.js";
3
- import { B as Y } from "./index-CmOaBe_x.js";
4
- import "./index-CuJ5OZqA.js";
2
+ import { p as X } from "./plugins-D2sSgTSl.js";
3
+ import { B as Y } from "./index-CtDqXnOp.js";
4
+ import "./index-CMBPIb8x.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-BPpTsVq5.js";
9
+ import { u as se } from "./membership-CGVtil5J.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
- }, Ie = {
50
+ }, ke = {
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((u) => {
58
- u.src.includes(e) && (d = !0);
57
+ return n.forEach((c) => {
58
+ c.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 ce = 0;
79
- const ue = I({
78
+ let ue = 0;
79
+ const ce = I({
80
80
  name: "EmailEditor",
81
81
  props: {
82
82
  editorId: String,
@@ -105,7 +105,7 @@ const ue = I({
105
105
  },
106
106
  computed: {
107
107
  id() {
108
- return this.editorId || `editor-${++ce}`;
108
+ return this.editorId || `editor-${++ue}`;
109
109
  }
110
110
  },
111
111
  setup() {
@@ -150,14 +150,14 @@ const ue = I({
150
150
  }
151
151
  }
152
152
  }), me = ["id"];
153
- function pe(e, n, d, u, a, m) {
153
+ function pe(e, n, d, c, 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(ue, [["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(ce, [["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(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
171
171
  },
172
172
  emits: ["update:design"],
173
173
  setup(e, { expose: n, emit: d }) {
174
- const u = w(!1), a = w(null), m = w(!1), x = e, c = w({
174
+ const c = w(!1), a = w(null), m = w(!1), x = e, u = w({
175
175
  html: "",
176
176
  design: x.design,
177
177
  title: x.title || ""
178
178
  });
179
179
  function E(o) {
180
- u.value = o;
180
+ c.value = o;
181
181
  }
182
182
  const L = d;
183
183
  function k() {
184
184
  a.value && (a.value.exportHtml((o) => {
185
- c.value = {
185
+ u.value = {
186
186
  html: o.html,
187
187
  design: o.design,
188
- title: c.value.title
189
- }, L("update:design", c.value);
188
+ title: u.value.title
189
+ }, L("update:design", u.value);
190
190
  }), E(!1));
191
191
  }
192
192
  return n({
@@ -194,8 +194,8 @@ const he = /* @__PURE__ */ Q(ue, [["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(u),
198
- "onUpdate:modelValue": t[4] || (t[4] = (l) => P(u) ? u.value = l : null),
197
+ modelValue: i(c),
198
+ "onUpdate:modelValue": t[4] || (t[4] = (l) => P(c) ? c.value = l : null),
199
199
  header: "Email editor",
200
200
  "max-width": 1280
201
201
  }, {
@@ -217,8 +217,8 @@ const he = /* @__PURE__ */ Q(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
217
217
  }, null, 8, ["json"])),
218
218
  A(g(f, {
219
219
  label: "Email title",
220
- modelValue: i(c).title,
221
- "onUpdate:modelValue": t[0] || (t[0] = (l) => i(c).title = l)
220
+ modelValue: i(u).title,
221
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => i(u).title = l)
222
222
  }, null, 8, ["modelValue"]), [
223
223
  [B, i(m)]
224
224
  ]),
@@ -254,7 +254,7 @@ const he = /* @__PURE__ */ Q(ue, [["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 = /* @__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({
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({
258
258
  __name: "MessageInput",
259
259
  props: {
260
260
  allowEmail: {
@@ -295,7 +295,7 @@ const he = /* @__PURE__ */ Q(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
295
295
  },
296
296
  emits: ["update:model-value"],
297
297
  setup(e, { emit: n }) {
298
- const d = oe(), u = se(), a = e, m = n;
298
+ const d = oe(), c = 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(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
319
319
  );
320
320
  X.confirm(t, "Preview message", "OK");
321
321
  }
322
- function c(o, t = "SMS") {
322
+ function u(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(ue, [["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 = u.membership) == null ? void 0 : M.brand) || d.currentBusiness.value.name || "", t = 160;
334
+ const o = ((M = c.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(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
377
377
  m("update:model-value", {
378
378
  ...a.modelValue,
379
379
  variables: a.variables
380
- }), a.modelValue || c("");
380
+ }), a.modelValue || u("");
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(ue, [["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) => c("", s.label))
389
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => u("", 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
- c(s, "EMAIL");
396
+ u(s, "EMAIL");
397
397
  })
398
398
  }, null, 8, ["design", "title"])) : (h(), F(T, { key: 2 }, [
399
399
  S("div", ve, [
400
- Se,
400
+ t[2] || (t[2] = S("div", { class: "fm-typo-en-body-lg-400" }, "Add message", -1)),
401
401
  g(f, {
402
402
  icon: "visibility",
403
403
  label: "Preview message",
@@ -405,15 +405,15 @@ const he = /* @__PURE__ */ Q(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
405
405
  onClick: x
406
406
  })
407
407
  ]),
408
- S("div", xe, [
408
+ S("div", Se, [
409
409
  g(y, {
410
410
  "model-value": (v = e.modelValue) == null ? void 0 : v.content,
411
- "onUpdate:modelValue": c,
411
+ "onUpdate:modelValue": u,
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", Ee, [
416
+ S("div", xe, [
417
417
  g(j, { placement: "left-end" }, {
418
418
  "menu-button": $(() => [
419
419
  g(f, {
@@ -430,9 +430,9 @@ const he = /* @__PURE__ */ Q(ue, [["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: (Ve) => {
433
+ onClick: (Ee) => {
434
434
  var D;
435
- return c(((D = e.modelValue) == null ? void 0 : D.content) + `{{${s}}}`);
435
+ return u(((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(ue, [["render", pe], ["__scopeId", "data-v-a9a2bb94
450
450
  }
451
451
  });
452
452
  export {
453
- Ie as M,
454
- Ue as _
453
+ ke as M,
454
+ Ie as _
455
455
  };
@@ -1,24 +1,21 @@
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-C-BSh5_w.js";
4
- import { g as X, a as B, b as P } from "./campaign-NqTts9bj.js";
5
- import { a as Y, p as Z } from "./plugins-5mIceCPA.js";
6
- import { u as ee } from "./business-CFMUx5qO.js";
7
- import { u as oe } from "./campaign-DwArKZ1r.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";
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-DbmV0nWD.js";
11
- import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DHQBxqsk.js";
12
- import { s as ie } from "./index-CuvNtC_M.js";
13
- import { u as ce } from "./vue-i18n-BnN9jlFK.js";
14
- import { _ as re } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-BAJLRxOM.js";
15
- import { c as h } from "./index-CczG_ilB.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({
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({
20
17
  __name: "Mission",
21
- setup(be) {
18
+ setup(Ce) {
22
19
  const { t: n } = ce(), R = {
23
20
  label: n("connect.program.common.actions.create", {
24
21
  type: n("connect.program.mission.title").toLowerCase()
@@ -263,10 +260,13 @@ const le = { class: "px-24 flex flex-col gap-y-16" }, me = { class: "flex items-
263
260
  class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
264
261
  }, {
265
262
  default: C(() => [
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)
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)
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
- Ae as default
295
+ Oe as default
296
296
  };