@feedmepos/mf-connect 0.1.96-prod → 0.1.98-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 (120) hide show
  1. package/dist/{App-NtFnJR3D.js → App-EPNXLOQz.js} +118 -106
  2. package/dist/AuditLogs-CadZXkap.js +2013 -0
  3. package/dist/{Bin-DvJgE8J0.js → Bin-CEWFX1MK.js} +8 -8
  4. package/dist/{Broadcast-BygITJjC.js → Broadcast-DC8W46mc.js} +18 -17
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVuhePfe.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DsojUEnT.js} +5 -6
  6. package/dist/{Card-BY8qbjNS.js → Card-BLFHOVL5.js} +19 -19
  7. package/dist/{Collections-CXZxfQmy.js → Collections-CVQV9gAI.js} +197 -185
  8. package/dist/{Credit-Dj4gJd18.js → Credit-Bvd1uiUU.js} +18 -17
  9. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +58 -0
  10. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js +3377 -0
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-IH5P2GQ4.js → EffectSheet.vue_vue_type_style_index_0_lang-L8fftBYg.js} +105 -101
  12. package/dist/{Experience-CKLT-XKN.js → Experience-bKhm3DP2.js} +35 -34
  13. package/dist/{FileSaver.min-CqZKU_4D.js → FileSaver.min-CgnAdnBE.js} +1 -1
  14. package/dist/{Game-CMXXSxs7.js → Game-BTZ5Ftp5.js} +16 -15
  15. package/dist/Grab-DMuSoVGl.js +300 -0
  16. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B4u8lwM_.js → ImageInput.vue_vue_type_script_setup_true_lang-hMmCNoZI.js} +1 -1
  17. package/dist/{Index-CFGAKZTu.js → Index-BNh-_EZa.js} +10 -10
  18. package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-COoygUYu.js +48 -0
  19. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-UfQtiVK3.js → LottieAnimation.vue_vue_type_script_setup_true_lang-D0wKkrBj.js} +1 -1
  20. package/dist/LoyaltyDashboard-Do06Mjzo.js +1082 -0
  21. package/dist/{MainLayout-UCAW-wwn.js → MainLayout-C_Zu8e2b.js} +1 -1
  22. package/dist/{Marketing-HU2MkAbE.js → Marketing-DHTow_lX.js} +4 -4
  23. package/dist/{MarketingMaterialEdit-CS7hzmeA.js → MarketingMaterialEdit-BZqVEaXl.js} +214 -211
  24. package/dist/{Member-BG1gvC8G.js → Member-DNQICbO9.js} +20 -20
  25. package/dist/{MemberList-C7l5YNJF.js → MemberList-B5f-zT_3.js} +50 -51
  26. package/dist/{MemberTransactions-RQD9xfSN.js → MemberTransactions-BmmgHC1I.js} +1 -1
  27. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CcTrvGEk.js → MessageInput.vue_vue_type_script_setup_true_lang-DhlFz8So.js} +11 -11
  28. package/dist/{Mission-B2ynmUaz.js → Mission-CyUldhj4.js} +35 -34
  29. package/dist/{Overview-DI1MMGCM.js → Overview-If_YcRY8.js} +19 -19
  30. package/dist/{Point-DkLfnk6D.js → Point-DXgR4D2b.js} +30 -29
  31. package/dist/{Promotion-BDsMtw76.js → Promotion-8KrS5PGT.js} +111 -105
  32. package/dist/{Queue-Bu5PffRS.js → Queue-ypegp0sQ.js} +43 -43
  33. package/dist/{Record-C9zk5pr8.js → Record-C1eVdBIL.js} +10 -10
  34. package/dist/Review-fsYAsdHU.js +871 -0
  35. package/dist/ReviewFacebookCallback-zNKnoxr_.js +243 -0
  36. package/dist/ReviewGoogleCallback-CpCT0ZYL.js +213 -0
  37. package/dist/{Reward-DLyMbKCK.js → Reward-B_k-VLJn.js} +17 -17
  38. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-XWcV6P7K.js → RewardGroup.vue_vue_type_script_setup_true_lang-BUl5B7lH.js} +12 -12
  39. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D93zAujE.js +1911 -0
  40. package/dist/{Segment-CkvTGYMI.js → Segment-PJLbJ6YE.js} +77 -78
  41. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CmoGA4QY.js → SelectItems.vue_vue_type_script_setup_true_lang-BLwf6QCO.js} +21 -21
  42. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-D0fupqWp.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-VoddUHxA.js} +12 -12
  43. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CdPBhSHS.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DOXfYdxf.js} +4 -4
  44. package/dist/{Setting-3aaebMiz.js → Setting-DItVUJHA.js} +259 -248
  45. package/dist/{SettingAdvertisements-B1rlNyFd.js → SettingAdvertisements-Bfvr60OW.js} +13 -13
  46. package/dist/{Store-7BnWIZ7G.js → Store-hyTJyNWv.js} +24 -24
  47. package/dist/{StoreRewards-CjcrPRwJ.js → StoreRewards-B7c20AF5.js} +16 -16
  48. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Bl438tVa.js +1130 -0
  49. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DBb3Zfuz.js +7007 -0
  50. package/dist/{Tier-BJpbCCsL.js → Tier-CuulnY8J.js} +544 -469
  51. package/dist/{Title-CqpbvePy.js → Title-Bf9ZiFGW.js} +93 -92
  52. package/dist/{Transaction-B8gpL3cS.js → Transaction-reVAaf86.js} +2 -2
  53. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DDoia_qu.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BZP9jfwG.js} +6 -6
  54. package/dist/{Voucher-DQ6i1GyQ.js → Voucher-E8R2cCl-.js} +28 -27
  55. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BudfxMvl.js → VoucherEditor.vue_vue_type_script_setup_true_lang-1mclPYkp.js} +12 -12
  56. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B43ehs2w.js → ZodTextField.vue_vue_type_script_setup_true_lang-xP5smS4G.js} +2 -2
  57. package/dist/{app-Cdi9yyaa.js → app-BdRRCAGj.js} +47089 -32960
  58. package/dist/app.js +4 -3
  59. package/dist/{business-BPhMhPp8.js → business-caUtvXxX.js} +1 -1
  60. package/dist/{campaign-DHqBhgh5.js → campaign-CDFEhdIH.js} +13 -7
  61. package/dist/{campaign-DLWpOBzd.js → campaign-CPtzFxiR.js} +114 -64
  62. package/dist/campaign.enum-p1buII_I.js +26 -0
  63. package/dist/campaign.fn-DerIK7yj.js +776 -0
  64. package/dist/{collectible.enum-EoZwnXkR.js → collectible.enum-CJ30_XmW.js} +1 -1
  65. package/dist/duplicateCampaign-DLfhHm07.js +51 -0
  66. package/dist/effect-BJC34M9S.js +89 -0
  67. package/dist/{email-addresses-CuhtzvMR.js → email-addresses-D1aYCi0p.js} +2 -2
  68. package/dist/{export-D2wb3Zzg.js → export-ChFEuUc5.js} +3 -3
  69. package/dist/{helper-B80tn5O6.js → helper-BNWd3eM2.js} +1 -1
  70. package/dist/{timezone-BIzl2Gac.js → index-0SZADZbB.js} +21 -20
  71. package/dist/{index-B85ryzLj.js → index-6ZSFSZ-H.js} +769 -205
  72. package/dist/index-B4dazSVT.js +48 -0
  73. package/dist/{index-C7XyuCH8.js → index-B9xvXnEM.js} +3 -3
  74. package/dist/{index-Dg-VScjz.js → index-BWQK3rqq.js} +3 -3
  75. package/dist/{index-D1_JoBc_.js → index-BoeHTTcl.js} +1 -1
  76. package/dist/{index-CCfDzgJb.js → index-Br17eSOV.js} +1 -1
  77. package/dist/{index-HzTI8A55.js → index-CAVSuo6k.js} +1996 -1968
  78. package/dist/{index-B0S0BGjb.js → index-CIin0Pv0.js} +1 -1
  79. package/dist/{index-BVXwb1vw.js → index-CeSEAz_T.js} +1 -1
  80. package/dist/{index-DDLHaeVd.js → index-DNsYSxpY.js} +1539 -1267
  81. package/dist/index-Dcn4qaYt.js +67 -0
  82. package/dist/{index-DA5sHUgD.js → index-Do2cnzep.js} +1 -1
  83. package/dist/{index-v9zPLkiJ.js → index-Dp3CLZSg.js} +7 -7
  84. package/dist/{index.esm2017-CfogVJWR.js → index.esm2017-CYGo-PcK.js} +173 -173
  85. package/dist/{loading-_HLw0JNH.js → loading-DtPQnEA5.js} +1 -1
  86. package/dist/{lodash-7LLl_N0k.js → lodash-BvTKz5Pn.js} +1 -1
  87. package/dist/{membership-Dl34LatD.js → membership-Csnvqeql.js} +3 -3
  88. package/dist/{money-Ca4jlK9c.js → money-CwRxILG1.js} +1 -1
  89. package/dist/{number-CWjqupZw.js → number-qcECHCpu.js} +1 -1
  90. package/dist/object-BYyQ0PZp.js +18 -0
  91. package/dist/objectid-BKWyHH4F.js +145 -0
  92. package/dist/{plugins-uNooTC4W.js → plugins-BBpKk0ld.js} +94 -95
  93. package/dist/{reward-BRIYprM8.js → reward-CX1axU5-.js} +1 -1
  94. package/dist/{rule-CkUScWS-.js → rule-pKsATz8r.js} +505 -487
  95. package/dist/style.css +1 -1
  96. package/dist/template-BSuapoPb.js +188 -0
  97. package/dist/{trigger-Dd92AYz3.js → trigger-DnMktlx-.js} +5 -5
  98. package/dist/{useMarketingMaterialActions-DlEYiRxQ.js → useMarketingMaterialActions-Bu0-ny3z.js} +3 -3
  99. package/dist/{usePagination--trERWY4.js → usePagination-CzfJhepV.js} +1 -1
  100. package/dist/{user-CI-tPhnX.js → user-BLDWqYm_.js} +1 -1
  101. package/dist/vue-i18n-bssxjuw_.js +2365 -0
  102. package/dist/{xlsx-BtsmiXIl.js → xlsx-xNwsJDub.js} +1 -1
  103. package/dist/{zod-Cq4jls5y.js → zod-Cu18aMVT.js} +1 -1
  104. package/package.json +8 -4
  105. package/dist/Analytic-l10g_BkW.js +0 -426
  106. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Djcv8RCR.js +0 -2223
  107. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BW2MrhuC.js +0 -1888
  108. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C3mmS25r.js +0 -1118
  109. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-TVsbx26f.js +0 -142
  110. package/dist/campaign.enum-C7BourYN.js +0 -20
  111. package/dist/campaign.fn-PjAM2LtF.js +0 -776
  112. package/dist/collection.fn-Ds616d3q.js +0 -26
  113. package/dist/dto-5fg5RWhP.js +0 -216
  114. package/dist/effect-BJva6Fjl.js +0 -78
  115. package/dist/index-CmGQazKB.js +0 -55
  116. package/dist/object-qECH92oz.js +0 -26
  117. package/dist/objectid-BGNEnJDn.js +0 -145
  118. package/dist/rule-builder-Ds-h-MuV.js +0 -102
  119. package/dist/template-0zuNVS82.js +0 -236
  120. package/dist/vue-i18n-BIM-SckA.js +0 -2365
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, ref as P, onMounted as Q, computed as q, resolveComponent as V, openBlock as d, createElementBlock as F, renderSlot as W, toDisplayString as b, createCommentVNode as f, createBlock as u, unref as e, isRef as G, createVNode as w, normalizeClass as Z, watch as X, withCtx as h, resolveDynamicComponent as R, Fragment as _, createElementVNode as C, createTextVNode as ee } from "vue";
2
- import { z as te, h as le } from "./app-Cdi9yyaa.js";
3
- import { Z as m } from "./zod-Cq4jls5y.js";
4
- import { g as oe, f as ae } from "./index-HzTI8A55.js";
5
- import { u as T } from "./vue-i18n-BIM-SckA.js";
6
- import { s as O } from "./effect-BJva6Fjl.js";
7
- import { p as ne } from "./plugins-uNooTC4W.js";
1
+ import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as h, normalizeClass as Z, watch as X, withCtx as w, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
2
+ import { z as te, l as le } from "./app-BdRRCAGj.js";
3
+ import { Z as r } from "./zod-Cu18aMVT.js";
4
+ import { g as oe, f as ae } from "./index-CAVSuo6k.js";
5
+ import { u as I } from "./vue-i18n-bssxjuw_.js";
6
+ import { s as S } from "./effect-BJC34M9S.js";
7
+ import { p as ne } from "./plugins-BBpKk0ld.js";
8
8
  const ie = { class: "flex flex-col gap-8" }, de = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-body-lg-600"
@@ -38,83 +38,83 @@ const ie = { class: "flex flex-col gap-8" }, de = {
38
38
  }
39
39
  },
40
40
  emits: ["update:model-value"],
41
- setup(t, { emit: S }) {
42
- var U, A;
43
- const { t: n } = T(), i = t, v = S, a = [
41
+ setup(t, { emit: C }) {
42
+ var A, U;
43
+ const { t: n } = I(), i = t, v = C, a = [
44
44
  { label: n("connect.template.validity_option.date_range"), value: "range" },
45
45
  { label: n("connect.template.validity_option.custom"), value: "custom" }
46
- ], c = P(!1);
46
+ ], c = O(!1);
47
47
  Q(() => {
48
48
  c.value = i.modelValue && Object.entries(i.modelValue).filter(
49
- ([r, s]) => r != "followFirstReceive" && s != null
49
+ ([m, s]) => m != "followFirstReceive" && s != null
50
50
  ).length > 0;
51
51
  });
52
- const l = P(
53
- i.type ? a.find((r) => r.value === i.type) : (U = i.modelValue) != null && U.validBefore || (A = i.modelValue) != null && A.validAfter ? a[0] : a[1]
54
- ), g = q(
52
+ const l = O(
53
+ i.type ? a.find((m) => m.value === i.type) : (A = i.modelValue) != null && A.validBefore || (U = i.modelValue) != null && U.validAfter ? a[0] : a[1]
54
+ ), g = G(
55
55
  () => i.forCredit ? oe : ae
56
- ), y = q(() => {
57
- const r = g.value.safeParse(i.modelValue);
58
- return r.success ? [] : r.error.errors;
56
+ ), y = G(() => {
57
+ const m = g.value.safeParse(i.modelValue);
58
+ return m.success ? [] : m.error.errors;
59
59
  });
60
- function o(r) {
61
- v("update:model-value", r);
60
+ function o(m) {
61
+ v("update:model-value", m);
62
62
  }
63
- function k(r) {
64
- var s, D;
65
- if (r.value == "range")
63
+ function D(m) {
64
+ var s, R;
65
+ if (m.value == "range")
66
66
  return o({
67
67
  followFirstReceive: (s = i.modelValue) == null ? void 0 : s.followFirstReceive,
68
68
  validAfter: void 0,
69
69
  validBefore: void 0
70
70
  });
71
- if (r.value == "custom")
71
+ if (m.value == "custom")
72
72
  return c.value = !1, o({
73
- validForDay: (D = i.modelValue) == null ? void 0 : D.validForDay
73
+ validForDay: (R = i.modelValue) == null ? void 0 : R.validForDay
74
74
  });
75
75
  }
76
- return (r, s) => {
77
- var $, j, E, M, N, L, z, H;
78
- const D = V("FmButtonGroup"), Y = V("FmSimpleDateRangePicker"), J = V("FmSwitch"), K = V("FmStepperField"), I = V("FmHelperText");
79
- return d(), F("div", ie, [
80
- W(r.$slots, "label", {}, () => [
81
- t.label ? (d(), F("div", de, b(t.label), 1)) : f("", !0)
76
+ return (m, s) => {
77
+ var E, $, j, M, H, N, L, z;
78
+ const R = x("FmButtonGroup"), Y = x("FmSimpleDateRangePicker"), J = x("FmSwitch"), K = x("FmStepperField"), T = x("FmHelperText");
79
+ return d(), b("div", ie, [
80
+ W(m.$slots, "label", {}, () => [
81
+ t.label ? (d(), b("div", de, V(t.label), 1)) : f("", !0)
82
82
  ]),
83
- t.type ? f("", !0) : (d(), u(D, {
83
+ t.type ? f("", !0) : (d(), u(R, {
84
84
  key: 0,
85
85
  modelValue: e(l),
86
86
  "onUpdate:modelValue": [
87
- s[0] || (s[0] = (p) => G(l) ? l.value = p : null),
88
- s[1] || (s[1] = (p) => k(p))
87
+ s[0] || (s[0] = (p) => q(l) ? l.value = p : null),
88
+ s[1] || (s[1] = (p) => D(p))
89
89
  ],
90
90
  items: a
91
91
  }, null, 8, ["modelValue"])),
92
- e(l).value === "range" ? (d(), F("div", se, [
93
- w(Y, {
92
+ e(l).value === "range" ? (d(), b("div", se, [
93
+ h(Y, {
94
94
  "model-value": {
95
- startDate: ($ = t.modelValue) != null && $.validAfter ? new Date((j = t.modelValue) == null ? void 0 : j.validAfter).toISOString() : null,
96
- endDate: (E = t.modelValue) != null && E.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
95
+ startDate: (E = t.modelValue) != null && E.validAfter ? new Date(($ = t.modelValue) == null ? void 0 : $.validAfter).toISOString() : null,
96
+ endDate: (j = t.modelValue) != null && j.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
97
97
  },
98
98
  "onUpdate:modelValue": s[2] || (s[2] = (p) => {
99
- var x;
99
+ var F;
100
100
  o({
101
- followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive,
101
+ followFirstReceive: (F = i.modelValue) == null ? void 0 : F.followFirstReceive,
102
102
  validAfter: new Date(p.startDate).toISOString(),
103
103
  validBefore: new Date(p.endDate).toISOString()
104
104
  });
105
105
  })
106
106
  }, null, 8, ["model-value"])
107
- ])) : e(l).value === "custom" ? (d(), F("div", me, [
107
+ ])) : e(l).value === "custom" ? (d(), b("div", me, [
108
108
  t.forCredit ? f("", !0) : (d(), u(J, {
109
109
  key: 0,
110
110
  "model-value": e(c),
111
111
  label: e(n)("connect.template.validity_option.expire"),
112
112
  "label-placement": "right",
113
113
  "onUpdate:modelValue": s[3] || (s[3] = (p) => {
114
- var x;
114
+ var F;
115
115
  c.value = p, o({
116
116
  validForDay: p ? 1 : void 0,
117
- followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive
117
+ followFirstReceive: (F = i.modelValue) == null ? void 0 : F.followFirstReceive
118
118
  });
119
119
  })
120
120
  }, null, 8, ["model-value", "label"])),
@@ -129,28 +129,28 @@ const ie = { class: "flex flex-col gap-8" }, de = {
129
129
  "show-steppers": !1,
130
130
  max: 99999,
131
131
  "append-text": e(n)("connect.template.validity_option.days"),
132
- "model-value": ((N = i.modelValue) == null ? void 0 : N.validForDay) ?? null,
132
+ "model-value": ((H = i.modelValue) == null ? void 0 : H.validForDay) ?? null,
133
133
  "onUpdate:modelValue": s[4] || (s[4] = (p) => {
134
- var x;
134
+ var F;
135
135
  return o({
136
136
  validForDay: p == null ? void 0 : parseInt(p.toString()),
137
- followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive
137
+ followFirstReceive: (F = i.modelValue) == null ? void 0 : F.followFirstReceive
138
138
  });
139
139
  })
140
140
  }, null, 8, ["label", "class", "disabled", "append-text", "model-value"])) : f("", !0)
141
141
  ])) : f("", !0),
142
- ((L = i.modelValue) == null ? void 0 : L.followFirstReceive) === !0 && e(c) ? (d(), u(I, {
142
+ ((N = i.modelValue) == null ? void 0 : N.followFirstReceive) === !0 && e(c) ? (d(), u(T, {
143
143
  key: 3,
144
144
  text: e(n)("connect.template.validity_option.expire_follow_first_receive")
145
145
  }, null, 8, ["text"])) : f("", !0),
146
- w(I, {
147
- text: t.helperText || (((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(m).helperText(e(y), "")),
148
- state: t.helperText ? "error" : ((H = i.modelValue) == null ? void 0 : H.validForDay) === 0 ? "warning" : e(m).helperState(e(y), "")
146
+ h(T, {
147
+ text: t.helperText || (((L = i.modelValue) == null ? void 0 : L.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(r).helperText(e(y), "")),
148
+ state: t.helperText ? "error" : ((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? "warning" : e(r).helperState(e(y), "")
149
149
  }, null, 8, ["text", "state"])
150
150
  ]);
151
151
  };
152
152
  }
153
- }), ue = { class: "space-y-8" }, Se = /* @__PURE__ */ B({
153
+ }), ue = { class: "space-y-8" }, Ce = /* @__PURE__ */ B({
154
154
  __name: "CollectibleOptionInput",
155
155
  props: {
156
156
  modelValue: {
@@ -169,11 +169,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
169
169
  }
170
170
  },
171
171
  emits: ["update:model-value"],
172
- setup(t, { emit: S }) {
173
- const { t: n } = T(), i = t, v = S, a = P(i.modelValue ?? {});
172
+ setup(t, { emit: C }) {
173
+ const { t: n } = I(), i = t, v = C, a = O(i.modelValue ?? {});
174
174
  return X(a, () => v("update:model-value", a.value)), (c, l) => {
175
- const g = V("FmSwitch"), y = V("FmStepperField");
176
- return d(), F("div", ue, [
175
+ const g = x("FmSwitch"), y = x("FmStepperField");
176
+ return d(), b("div", ue, [
177
177
  t.isMission ? f("", !0) : (d(), u(g, {
178
178
  key: 0,
179
179
  label: e(n)("connect.template.enable_transfer"),
@@ -181,21 +181,21 @@ const ie = { class: "flex flex-col gap-8" }, de = {
181
181
  modelValue: e(a).enableTransfer,
182
182
  "onUpdate:modelValue": l[0] || (l[0] = (o) => e(a).enableTransfer = o)
183
183
  }, null, 8, ["label", "modelValue"])),
184
- t.noCampaign ? f("", !0) : (d(), F("div", {
184
+ t.noCampaign ? f("", !0) : (d(), b("div", {
185
185
  key: 1,
186
186
  class: Z(["grid gap-16", t.isMission ? "" : "grid-cols-2"])
187
187
  }, [
188
- w(y, {
188
+ h(y, {
189
189
  modelValue: e(a).maxPerUser,
190
190
  "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).maxPerUser = o),
191
191
  "show-steppers": !1,
192
- rules: [e(m).ruleAtPath(t.schema, "maxPerUser")],
192
+ rules: [e(r).ruleAtPath(t.schema, "maxPerUser")],
193
193
  "helper-text": e(n)("connect.template.leave_empty_unlimited")
194
194
  }, {
195
- label: h(() => [
196
- (d(), u(R(
197
- e(m).toInputLabel(
198
- e(m).typeAtPath(t.schema, "maxPerUser"),
195
+ label: w(() => [
196
+ (d(), u(P(
197
+ e(r).toInputLabel(
198
+ e(r).typeAtPath(t.schema, "maxPerUser"),
199
199
  e(n)("connect.template.max_per_user")
200
200
  )
201
201
  )))
@@ -207,13 +207,13 @@ const ie = { class: "flex flex-col gap-8" }, de = {
207
207
  modelValue: e(a).maxReceive,
208
208
  "onUpdate:modelValue": l[2] || (l[2] = (o) => e(a).maxReceive = o),
209
209
  "show-steppers": !1,
210
- rules: [e(m).ruleAtPath(t.schema, "maxReceive")],
210
+ rules: [e(r).ruleAtPath(t.schema, "maxReceive")],
211
211
  "helper-text": e(n)("connect.template.leave_empty_unlimited")
212
212
  }, {
213
- label: h(() => [
214
- (d(), u(R(
215
- e(m).toInputLabel(
216
- e(m).typeAtPath(t.schema, "maxReceive"),
213
+ label: w(() => [
214
+ (d(), u(P(
215
+ e(r).toInputLabel(
216
+ e(r).typeAtPath(t.schema, "maxReceive"),
217
217
  e(n)("connect.template.max_distribute")
218
218
  )
219
219
  )))
@@ -221,18 +221,18 @@ const ie = { class: "flex flex-col gap-8" }, de = {
221
221
  _: 1
222
222
  }, 8, ["modelValue", "rules", "helper-text"]))
223
223
  ], 2)),
224
- t.isMission ? f("", !0) : (d(), F(_, { key: 2 }, [
225
- w(y, {
224
+ t.isMission ? f("", !0) : (d(), b(_, { key: 2 }, [
225
+ h(y, {
226
226
  modelValue: e(a).maxUse,
227
227
  "onUpdate:modelValue": l[3] || (l[3] = (o) => e(a).maxUse = o),
228
228
  "append-text": "use(s)",
229
229
  "show-steppers": !1,
230
- rules: [e(m).ruleAtPath(t.schema, "maxUse")]
230
+ rules: [e(r).ruleAtPath(t.schema, "maxUse")]
231
231
  }, {
232
- label: h(() => [
233
- (d(), u(R(
234
- e(m).toInputLabel(
235
- e(m).typeAtPath(t.schema, "maxUse"),
232
+ label: w(() => [
233
+ (d(), u(P(
234
+ e(r).toInputLabel(
235
+ e(r).typeAtPath(t.schema, "maxUse"),
236
236
  e(n)("connect.template.usage_count")
237
237
  )
238
238
  )))
@@ -245,19 +245,19 @@ const ie = { class: "flex flex-col gap-8" }, de = {
245
245
  "onUpdate:modelValue": l[4] || (l[4] = (o) => e(a).cooldown = o),
246
246
  "append-text": "minute(s)",
247
247
  "show-steppers": !1,
248
- rules: [e(m).ruleAtPath(t.schema, "cooldown")]
248
+ rules: [e(r).ruleAtPath(t.schema, "cooldown")]
249
249
  }, {
250
- label: h(() => [
251
- (d(), u(R(
252
- e(m).toInputLabel(
253
- e(m).typeAtPath(t.schema, "cooldown"),
250
+ label: w(() => [
251
+ (d(), u(P(
252
+ e(r).toInputLabel(
253
+ e(r).typeAtPath(t.schema, "cooldown"),
254
254
  e(n)("connect.template.cooldown")
255
255
  )
256
256
  )))
257
257
  ]),
258
258
  _: 1
259
259
  }, 8, ["modelValue", "rules"])) : f("", !0),
260
- w(re, {
260
+ h(re, {
261
261
  modelValue: e(a).validityOption,
262
262
  "onUpdate:modelValue": l[5] || (l[5] = (o) => e(a).validityOption = o),
263
263
  label: e(n)("connect.template.validity_option.title")
@@ -269,7 +269,10 @@ const ie = { class: "flex flex-col gap-8" }, de = {
269
269
  }), ce = { class: "space-y-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = {
270
270
  key: 1,
271
271
  class: "border-1 rounded-md flex gap-16 items-center justify-between px-16 py-12"
272
- }, ve = { class: "fm-typo-en-body-lg-400" }, ye = { class: "text-fm-color-typo-secondary" }, Ue = /* @__PURE__ */ B({
272
+ }, ve = { class: "fm-typo-en-body-lg-400" }, ye = { class: "text-fm-color-typo-secondary" }, Ve = {
273
+ key: 0,
274
+ class: "fm-typo-en-body-md-500 text-fm-color-typo-error mt-4"
275
+ }, Ae = /* @__PURE__ */ B({
273
276
  __name: "EffectSheet",
274
277
  props: {
275
278
  modelValue: { type: Object },
@@ -278,33 +281,34 @@ const ie = { class: "flex flex-col gap-8" }, de = {
278
281
  }
279
282
  },
280
283
  emits: ["update:model-value"],
281
- setup(t, { emit: S }) {
282
- const { t: n } = T(), i = S, v = P(!1);
284
+ setup(t, { emit: C }) {
285
+ const { t: n } = I(), i = C, v = O(!1);
283
286
  async function a(c) {
284
287
  c.stopPropagation(), await ne.remove(n("connect.effect.removeConfirm")) && i("update:model-value", null);
285
288
  }
286
289
  return (c, l) => {
287
- const g = V("FmButton"), y = V("FmSideSheet");
290
+ const g = x("FmButton"), y = x("FmSideSheet");
288
291
  return d(), u(y, {
289
292
  "max-width": 550,
290
293
  header: e(n)("connect.effect.title"),
291
294
  modelValue: e(v),
292
295
  "onUpdate:modelValue": [
293
- l[2] || (l[2] = (o) => G(v) ? v.value = o : null),
296
+ l[2] || (l[2] = (o) => q(v) ? v.value = o : null),
294
297
  l[3] || (l[3] = (o) => v.value = o)
295
298
  ]
296
299
  }, {
297
- "side-sheet-button": h(() => {
298
- var o, k, U, A;
300
+ "side-sheet-button": w(() => {
301
+ var o, D, A, U, m, s;
299
302
  return [
300
- C("div", ce, [
301
- C("div", pe, b(e(n)("connect.effect.description")), 1),
302
- t.modelValue ? (d(), F("div", fe, [
303
- C("div", ve, [
304
- C("div", null, b((o = e(O)(t.modelValue)) == null ? void 0 : o.type), 1),
305
- C("div", ye, b((k = e(O)(t.modelValue)) == null ? void 0 : k.adjustment) + " " + b(e(n)("connect.effect.with")) + " " + b((U = e(O)(t.modelValue)) == null ? void 0 : U.requirements) + " " + b((A = e(O)(t.modelValue)) == null ? void 0 : A.maxCap), 1)
303
+ k("div", ce, [
304
+ k("div", pe, V(e(n)("connect.effect.description")), 1),
305
+ t.modelValue ? (d(), b("div", fe, [
306
+ k("div", ve, [
307
+ k("div", null, V((o = e(S)(t.modelValue)) == null ? void 0 : o.type), 1),
308
+ k("div", ye, V((D = e(S)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((A = e(S)(t.modelValue)) == null ? void 0 : A.requirements) + " " + V((U = e(S)(t.modelValue)) == null ? void 0 : U.maxCap), 1),
309
+ (m = e(S)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(S)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
306
310
  ]),
307
- w(g, {
311
+ h(g, {
308
312
  icon: "delete",
309
313
  "icon-color": "neutral-gray-400",
310
314
  variant: "tertiary",
@@ -321,15 +325,15 @@ const ie = { class: "flex flex-col gap-8" }, de = {
321
325
  ])
322
326
  ];
323
327
  }),
324
- "side-sheet-footer": h(() => [...l[4] || (l[4] = [
325
- ee(b(void 0), -1)
328
+ "side-sheet-footer": w(() => [...l[4] || (l[4] = [
329
+ ee(V(void 0), -1)
326
330
  ])]),
327
- default: h(() => [
328
- w(e(le), {
331
+ default: w(() => [
332
+ h(e(le), {
329
333
  class: "fm-effect-sheet",
330
334
  title: "",
331
335
  "can-set-auto-apply": t.canSetAutoApply,
332
- "disable-effects": t.canSetAutoApply ? ["PAYMENT"] : void 0,
336
+ "disable-effects": t.canSetAutoApply ? ["PAYMENT"] : ["PRICE_CHANGE"],
333
337
  "initial-value": t.modelValue,
334
338
  onOnConfirm: l[0] || (l[0] = (o) => (i("update:model-value", o), v.value = !1)),
335
339
  onOnCancel: l[1] || (l[1] = (o) => v.value = !1)
@@ -341,7 +345,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
341
345
  }
342
346
  });
343
347
  export {
344
- Ue as _,
345
- Se as a,
348
+ Ae as _,
349
+ Ce as a,
346
350
  re as b
347
351
  };
@@ -1,34 +1,35 @@
1
- import { defineComponent as M, ref as P, computed as H, onMounted as q, resolveComponent as m, openBlock as d, createElementBlock as w, Fragment as C, createVNode as i, unref as o, createElementVNode as n, withCtx as v, renderList as z, createBlock as b, resolveDynamicComponent as G, toDisplayString as _, h as k } from "vue";
1
+ import { defineComponent as M, ref as P, computed as H, onMounted as q, resolveComponent as m, openBlock as d, createElementBlock as w, Fragment as C, createVNode as s, unref as o, createElementVNode as n, withCtx as v, renderList as z, createBlock as b, resolveDynamicComponent as G, toDisplayString as _, h as k } from "vue";
2
2
  import { _ as J } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as Q, components as B } from "@feedmepos/ui-library";
4
- import { p as W } from "./plugins-uNooTC4W.js";
5
- import { u as X } from "./loading-_HLw0JNH.js";
6
- import { u as Y } from "./business-BPhMhPp8.js";
7
- import { u as Z, c as u } from "./campaign-DHqBhgh5.js";
8
- import { a as I, b as V, g as ee } from "./campaign-DLWpOBzd.js";
9
- import { u as te, c as oe, p as ae } from "./template-0zuNVS82.js";
10
- import { u as ne } from "./vue-i18n-BIM-SckA.js";
11
- import { _ as re } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
12
- import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Djcv8RCR.js";
13
- const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, me = { class: "space-y-8" }, pe = { class: "flex w-full gap-4 items-center" }, de = { class: "space-y-4" }, ue = { class: "fm-typo-en-body-lg-600" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "flex items-center gap-8" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ M({
4
+ import { p as W } from "./plugins-BBpKk0ld.js";
5
+ import { u as X } from "./loading-DtPQnEA5.js";
6
+ import { u as Y } from "./business-caUtvXxX.js";
7
+ import { u as Z, c as u } from "./campaign-CDFEhdIH.js";
8
+ import { b as I, c as V, a as ee } from "./campaign-CPtzFxiR.js";
9
+ import { c as te, p as oe } from "./duplicateCampaign-DLfhHm07.js";
10
+ import { u as ae } from "./vue-i18n-bssxjuw_.js";
11
+ import { _ as ne } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
12
+ import { _ as re } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js";
13
+ import { u as ie } from "./template-BSuapoPb.js";
14
+ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, le = { class: "flex gap-8 overflow-x-auto" }, me = { class: "space-y-8" }, pe = { class: "flex w-full gap-4 items-center" }, de = { class: "space-y-4" }, ue = { class: "fm-typo-en-body-lg-600" }, fe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "flex items-center gap-8" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ne = /* @__PURE__ */ M({
14
15
  __name: "Experience",
15
16
  setup(xe) {
16
- const { t: r } = ne(), T = {
17
+ const { t: r } = ae(), T = {
17
18
  label: r("connect.program.common.actions.create", {
18
19
  type: r("connect.program.experience.title").toLowerCase()
19
20
  }),
20
21
  value: "create",
21
22
  isPrimary: !0,
22
23
  prependIcon: "add"
23
- }, N = te("POINT", Q()), $ = Y(), p = Z(), { global: D, minor: F } = X, c = P({
24
+ }, N = ie("POINT", Q()), $ = Y(), p = Z(), { global: D, minor: F } = X, c = P({
24
25
  searchKey: "",
25
26
  location: []
26
27
  });
27
28
  function K(e) {
28
29
  const t = c.value.location;
29
30
  return !t || t.length === 0 || !e.targetLocation ? !0 : Array.isArray(t) ? t.some((l) => {
30
- var s;
31
- return (s = e == null ? void 0 : e.targetLocation) == null ? void 0 : s.includes(l);
31
+ var i;
32
+ return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
32
33
  }) : e.targetLocation.includes(t);
33
34
  }
34
35
  const f = H(
@@ -90,8 +91,8 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
90
91
  await t(l);
91
92
  });
92
93
  async function t(l) {
93
- var s;
94
- (s = h.value) == null || s.showSheet(
94
+ var i;
95
+ (i = h.value) == null || i.showSheet(
95
96
  !0,
96
97
  "POINT",
97
98
  e ? await u.readById(e._id) : void 0,
@@ -100,13 +101,13 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
100
101
  }
101
102
  }
102
103
  async function L(e) {
103
- var s;
104
- if (!await oe(e.name))
104
+ var i;
105
+ if (!await te(e.name))
105
106
  return;
106
- const t = await u.readById(e._id), l = ae(t, {
107
+ const t = await u.readById(e._id), l = oe(t, {
107
108
  keepCollectible: !0
108
109
  });
109
- (s = h.value) == null || s.showSheet(
110
+ (i = h.value) == null || i.showSheet(
110
111
  !0,
111
112
  "POINT",
112
113
  l,
@@ -134,15 +135,15 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
134
135
  await p.read("POINT");
135
136
  });
136
137
  }), (e, t) => {
137
- const l = m("FmPageHead"), s = m("FmSearch"), R = m("FmTable"), x = m("FmButton"), j = m("FmListItem"), E = m("FmList"), U = m("FmCard");
138
+ const l = m("FmPageHead"), i = m("FmSearch"), R = m("FmTable"), x = m("FmButton"), j = m("FmListItem"), E = m("FmList"), U = m("FmCard");
138
139
  return d(), w(C, null, [
139
- i(l, {
140
+ s(l, {
140
141
  title: o(r)("connect.program.experience.title"),
141
142
  actions: o(f).length > 0 ? [T] : [],
142
143
  "onClick:action": t[0] || (t[0] = () => g())
143
144
  }, null, 8, ["title", "actions"]),
144
- n("div", ie, [
145
- i(s, {
145
+ n("div", se, [
146
+ s(i, {
146
147
  modelValue: o(c).searchKey,
147
148
  "onUpdate:modelValue": t[1] || (t[1] = (a) => o(c).searchKey = a),
148
149
  class: "hidden xs:!block sm:!block border-b-2 border-fm-color-neutral-gray-100",
@@ -152,7 +153,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
152
153
  o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (d(), w(C, { key: 0 }, [
153
154
  n("div", ce, [
154
155
  n("div", le, [
155
- i(re, {
156
+ s(ne, {
156
157
  label: `${o(r)("connect.common.location")}: `,
157
158
  "right-icon": "keyboard_arrow_down",
158
159
  modelValue: o(c).location,
@@ -162,7 +163,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
162
163
  items: o($).locationOptions
163
164
  }, null, 8, ["label", "modelValue", "items"])
164
165
  ]),
165
- i(s, {
166
+ s(i, {
166
167
  modelValue: o(c).searchKey,
167
168
  "onUpdate:modelValue": t[3] || (t[3] = (a) => o(c).searchKey = a),
168
169
  class: "xs:hidden sm:hidden",
@@ -170,7 +171,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
170
171
  collapsible: ""
171
172
  }, null, 8, ["modelValue"])
172
173
  ]),
173
- i(R, {
174
+ s(R, {
174
175
  class: "xs:hidden sm:hidden",
175
176
  "row-data": o(f),
176
177
  "column-defs": O,
@@ -179,7 +180,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
179
180
  onRowClick: t[4] || (t[4] = (a) => g(a.original)),
180
181
  "hide-footer": o(f).length < 10
181
182
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
182
- i(E, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
183
+ s(E, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
183
184
  default: v(() => [
184
185
  (d(!0), w(C, null, z(o(f).filter(
185
186
  (a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
@@ -199,7 +200,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
199
200
  ])
200
201
  ]),
201
202
  n("div", ge, [
202
- i(x, {
203
+ s(x, {
203
204
  icon: "content_copy",
204
205
  "icon-color": "neutral-gray-400",
205
206
  variant: "tertiary",
@@ -207,7 +208,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
207
208
  y.stopPropagation(), await L(a);
208
209
  }
209
210
  }, null, 8, ["onClick"]),
210
- i(x, {
211
+ s(x, {
211
212
  icon: "delete",
212
213
  "icon-color": "neutral-gray-400",
213
214
  variant: "tertiary",
@@ -234,7 +235,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
234
235
  n("div", _e, _(o(r)("connect.program.experience.empty_state.title")), 1),
235
236
  n("div", he, _(o(r)("connect.program.experience.empty_state.description")), 1)
236
237
  ]),
237
- i(x, {
238
+ s(x, {
238
239
  variant: "primary",
239
240
  label: "Create experience program",
240
241
  icon: "add",
@@ -243,7 +244,7 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
243
244
  ]),
244
245
  _: 1
245
246
  })),
246
- i(se, {
247
+ s(re, {
247
248
  ref_key: "sheetRef",
248
249
  ref: h,
249
250
  "onSubmit:modelValue": A
@@ -254,5 +255,5 @@ const ie = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
254
255
  }
255
256
  });
256
257
  export {
257
- Te as default
258
+ Ne as default
258
259
  };
@@ -1,4 +1,4 @@
1
- import { c as s } from "./app-Cdi9yyaa.js";
1
+ import { c as s } from "./app-BdRRCAGj.js";
2
2
  var E = { exports: {} };
3
3
  (function(h, j) {
4
4
  (function(p, i) {
@@ -1,17 +1,18 @@
1
1
  import { defineComponent as W, ref as P, computed as J, onMounted as Q, resolveComponent as m, openBlock as f, createElementBlock as V, Fragment as A, createVNode as r, unref as o, withCtx as x, createElementVNode as n, toDisplayString as g, renderList as X, createBlock as L, resolveDynamicComponent as Y, h as c } from "vue";
2
2
  import { _ as Z } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as ee, components as y } from "@feedmepos/ui-library";
4
- import { c as te, p as oe } from "./plugins-uNooTC4W.js";
5
- import { u as ae } from "./loading-_HLw0JNH.js";
6
- import { u as ne } from "./business-BPhMhPp8.js";
7
- import { u as ie, c as _ } from "./campaign-DHqBhgh5.js";
8
- import { a as D, b as G, g as se } from "./campaign-DLWpOBzd.js";
9
- import { c as re, p as le, u as ce } from "./template-0zuNVS82.js";
10
- import { _ as me } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
11
- import { _ as de } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Djcv8RCR.js";
12
- import { u as ue } from "./vue-i18n-BIM-SckA.js";
13
- import { _ as pe } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-D0fupqWp.js";
14
- const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ye = { class: "px-24 flex flex-col gap-y-16" }, _e = { class: "flex items-center justify-between w-full" }, he = { class: "flex gap-8 overflow-x-auto" }, we = { class: "space-y-8" }, Ce = { class: "flex w-full gap-4 items-center" }, xe = { class: "space-y-4" }, ve = { class: "fm-typo-en-body-lg-600" }, be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fe = { class: "flex items-center gap-8" }, Se = { class: "flex flex-col gap-16 text-center" }, Pe = { class: "fm-typo-en-title-sm-800" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, He = /* @__PURE__ */ W({
4
+ import { c as te, p as oe } from "./plugins-BBpKk0ld.js";
5
+ import { u as ae } from "./loading-DtPQnEA5.js";
6
+ import { u as ne } from "./business-caUtvXxX.js";
7
+ import { u as ie, c as _ } from "./campaign-CDFEhdIH.js";
8
+ import { b as D, c as G, a as se } from "./campaign-CPtzFxiR.js";
9
+ import { c as re, p as le } from "./duplicateCampaign-DLfhHm07.js";
10
+ import { _ as ce } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
11
+ import { _ as me } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js";
12
+ import { u as de } from "./template-BSuapoPb.js";
13
+ import { u as ue } from "./vue-i18n-bssxjuw_.js";
14
+ import { _ as pe } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-VoddUHxA.js";
15
+ const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ye = { class: "px-24 flex flex-col gap-y-16" }, _e = { class: "flex items-center justify-between w-full" }, he = { class: "flex gap-8 overflow-x-auto" }, we = { class: "space-y-8" }, Ce = { class: "flex w-full gap-4 items-center" }, xe = { class: "space-y-4" }, ve = { class: "fm-typo-en-body-lg-600" }, be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fe = { class: "flex items-center gap-8" }, Se = { class: "flex flex-col gap-16 text-center" }, Pe = { class: "fm-typo-en-title-sm-800" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ne = /* @__PURE__ */ W({
15
16
  __name: "Game",
16
17
  setup(Ae) {
17
18
  const { t: d } = ue(), K = {
@@ -21,7 +22,7 @@ const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-60
21
22
  value: "create",
22
23
  isPrimary: !0,
23
24
  prependIcon: "add"
24
- }, B = ee(), U = ce("GAME", B), h = ne(), u = ie(), { global: I, minor: R } = ae, l = P({
25
+ }, B = ee(), U = de("GAME", B), h = ne(), u = ie(), { global: I, minor: R } = ae, l = P({
25
26
  searchKey: "",
26
27
  location: []
27
28
  });
@@ -212,7 +213,7 @@ const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-60
212
213
  o(u).campaigns.token && o(u).campaigns.token.length > 0 ? (f(), V(A, { key: 0 }, [
213
214
  n("div", _e, [
214
215
  n("div", he, [
215
- r(me, {
216
+ r(ce, {
216
217
  label: `${o(d)("connect.common.location")}: `,
217
218
  "right-icon": "keyboard_arrow_down",
218
219
  modelValue: o(l).location,
@@ -310,7 +311,7 @@ const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-60
310
311
  ]),
311
312
  _: 1
312
313
  })),
313
- r(de, {
314
+ r(me, {
314
315
  ref_key: "sheetRef",
315
316
  ref: v,
316
317
  "onSubmit:modelValue": H
@@ -325,5 +326,5 @@ const fe = { class: "flex items-center" }, ge = { class: "fm-typo-en-title-md-60
325
326
  }
326
327
  });
327
328
  export {
328
- He as default
329
+ Ne as default
329
330
  };