@feedmepos/mf-connect 0.1.119-prod → 0.1.121-dev

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 (146) hide show
  1. package/dist/{App-BN2LKM3u.js → App-DwtaLO6F.js} +147 -135
  2. package/dist/AuditLogs-s572aHLw.js +2016 -0
  3. package/dist/{Bin-DpQ1atb7.js → Bin-BBaVggZI.js} +8 -8
  4. package/dist/{Broadcast-c1ZyYClI.js → Broadcast-CqAQ3EmE.js} +22 -21
  5. package/dist/{CampaignAnalytic-w1hIlc2r.js → CampaignAnalytic-34bfP8iY.js} +7 -7
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D7U6evm1.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BvAAxE3a.js} +8 -9
  7. package/dist/{Card-De53Xgbe.js → Card-8hlnKnhk.js} +22 -22
  8. package/dist/{Collections-BL2RD3FU.js → Collections-BJ0-UjKf.js} +197 -185
  9. package/dist/{Credit-2KvFFcwR.js → Credit-DJNc__yp.js} +21 -20
  10. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CKSs2nYE.js → DateRangeChip.vue_vue_type_script_setup_true_lang-BvilcyyB.js} +1 -1
  11. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js +4439 -0
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Jy7HkK5Z.js → EffectSheet.vue_vue_type_style_index_0_lang-DFzVuuEy.js} +30 -30
  13. package/dist/{Experience-Cb0jHtVo.js → Experience-D-cUhjWc.js} +32 -31
  14. package/dist/{FileSaver.min-UDgZF_Cv.js → FileSaver.min-DKYYse6A.js} +1 -1
  15. package/dist/{Game-BnysxSMs.js → Game-DdFV90Kp.js} +19 -18
  16. package/dist/{GiftCardSetup-s1OR6xQq.js → GiftCardSetup-Dz0AN159.js} +31 -31
  17. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-D108r20x.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-GCp3IFaC.js} +7 -7
  18. package/dist/{Goals-BAieLPzR.js → Goals-Dg_kAezl.js} +4 -4
  19. package/dist/Grab-BSQt4deB.js +301 -0
  20. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B9Jgq5Bp.js → ImageInput.vue_vue_type_script_setup_true_lang-B_H1Bgy1.js} +1 -1
  21. package/dist/{Index-DnX16GAE.js → Index-ZSup3I7J.js} +10 -10
  22. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DeM-WG6m.js → LocationPicker.vue_vue_type_script_setup_true_lang-DisF-jcd.js} +1 -1
  23. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BAN69FOS.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BHhjZOYi.js} +1 -1
  24. package/dist/{LoyaltyDashboard-D8g6OSbC.js → LoyaltyDashboard-D8BhHsaw.js} +15 -15
  25. package/dist/{MainLayout-DWABjpQn.js → MainLayout-BBnhRxyR.js} +1 -1
  26. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-COp7iulq.js → MainLayout.vue_vue_type_script_setup_true_lang-DFrPlj5u.js} +16 -16
  27. package/dist/{Marketing-Dagatr0y.js → Marketing-5F9LLn91.js} +4 -4
  28. package/dist/{MarketingMaterialEdit-DYVzNDpM.js → MarketingMaterialEdit-C7dD4Bzw.js} +214 -211
  29. package/dist/{Member-DAxdEF_Z.js → Member-Dk4JeGru.js} +7 -7
  30. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-nBg7Hckj.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-ISolD_Qg.js} +39 -47
  31. package/dist/{MemberImportHistory-2gx6FnLh.js → MemberImportHistory-C0Ep8L2q.js} +7 -7
  32. package/dist/{MemberList-By_gGl-J.js → MemberList-BsuPfBgk.js} +103 -105
  33. package/dist/{MemberTransactions-BEF-4ZNp.js → MemberTransactions-mZ3fHw5O.js} +1 -1
  34. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Bs8wKx9B.js → MessageInput.vue_vue_type_script_setup_true_lang-1weyRM8c.js} +12 -12
  35. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DN3mWfKj.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-caED3JRW.js} +1 -1
  36. package/dist/{Mission-jg15lBxo.js → Mission-C7DqUOJz.js} +22 -21
  37. package/dist/{Overview-C7WfdzfV.js → Overview-U201nBVO.js} +20 -20
  38. package/dist/{Overview-BFKLTAk1.js → Overview-VABLg36G.js} +145 -144
  39. package/dist/{Point-dv9WgWTQ.js → Point-DU6Ndv35.js} +22 -21
  40. package/dist/{Promotion-mFPF_8jO.js → Promotion-9UhZXNPb.js} +137 -131
  41. package/dist/{Queue-BQoR_M5H.js → Queue-CUxMedbd.js} +45 -45
  42. package/dist/{Record-1JZ1N5iX.js → Record-BIftCQzV.js} +9 -9
  43. package/dist/{Review-B52AxCeT.js → Review-lyVgTfsP.js} +2 -2
  44. package/dist/ReviewFacebookCallback-Da5G19bE.js +225 -0
  45. package/dist/{ReviewGoogleCallback-DO6SVFIC.js → ReviewGoogleCallback-B41PXfsj.js} +5 -5
  46. package/dist/{Reward-Cp4jPAB0.js → Reward-BMun_Rs4.js} +16 -16
  47. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DLD6X13Z.js → RewardGroup.vue_vue_type_script_setup_true_lang-3TONrUQu.js} +13 -13
  48. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHzFgr4h.js +1923 -0
  49. package/dist/{Segment-DaKw0YXF.js → Segment-1VS7ycXi.js} +303 -306
  50. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bj3OQ_JJ.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-C5iJSlxi.js} +14 -14
  51. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B1Otak97.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CXY9Wyk9.js} +4 -4
  52. package/dist/{Setting-DveUrt8J.js → Setting-BdtzvKjt.js} +159 -148
  53. package/dist/{SettingAdvertisements-QRXOMNnM.js → SettingAdvertisements-BO2l3HBT.js} +12 -12
  54. package/dist/Settings-CvYawDU5.js +286 -0
  55. package/dist/{Store-DjdXRw3V.js → Store-DWQz-MgY.js} +28 -28
  56. package/dist/{StoreRewards-CjlGrc9E.js → StoreRewards-Bfwuqxf-.js} +15 -15
  57. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CBwmDKAw.js +1319 -0
  58. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CHzFjo24.js +7007 -0
  59. package/dist/{Tier-D74Oh2np.js → Tier-CKn-l-wY.js} +2575 -687
  60. package/dist/{Title-CeeviOW8.js → Title-BXDk69uL.js} +95 -94
  61. package/dist/{Transaction-CWdw0ITl.js → Transaction-D4HQO4i9.js} +2 -2
  62. package/dist/Upselling-CikWzKq7.js +1032 -0
  63. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-B9nf-9s0.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-um124o4t.js} +26 -26
  64. package/dist/{Voucher-C0nNXMtv.js → Voucher-BGIyw4jq.js} +19 -19
  65. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DxZLsQq9.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BKyZj5SP.js} +12 -12
  66. package/dist/{WhatsappAccount-CoLSjCQ2.js → WhatsappAccount-Cd82g_xj.js} +6 -6
  67. package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DkHPlGgT.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DWy8kS66.js} +1 -1
  68. package/dist/{WhatsappBot-kLb3kUav.js → WhatsappBot-auQhO8zk.js} +6 -6
  69. package/dist/{WhatsappBotLogs-jcYaHs0t.js → WhatsappBotLogs-CWuJzK9W.js} +6 -6
  70. package/dist/{WhatsappBotSettings-B6jJD61h.js → WhatsappBotSettings-B8KXMpIF.js} +4 -4
  71. package/dist/{WhatsappLayout-C24bIjI2.js → WhatsappLayout-DxooAkkL.js} +3 -3
  72. package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-9a_grP76.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-CYHmgQ2v.js} +3 -3
  73. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-i8Wc2mCr.js → ZodTextField.vue_vue_type_script_setup_true_lang-DilxQM_z.js} +2 -2
  74. package/dist/{app-C06bAZj3.js → app-BG-zK89d.js} +4181 -3401
  75. package/dist/app.js +4 -3
  76. package/dist/{base.export-CgNRhKu8.js → base.export-BcMuREGH.js} +2 -2
  77. package/dist/{business-D23Dt1x4.js → business-9_NOI2V9.js} +1 -1
  78. package/dist/{campaign-FVcbXtrP.js → campaign-8y_9SvKP.js} +34 -28
  79. package/dist/{campaign-DfEvGigm.js → campaign-DjBTRZyA.js} +121 -94
  80. package/dist/{campaign.enum-BqekIiiN.js → campaign.enum-Dx-Zo68Q.js} +2 -1
  81. package/dist/campaign.fn-COkPH1QE.js +776 -0
  82. package/dist/{collection.fn-DC1AMI9o.js → collection.fn-yXurU9iv.js} +2 -2
  83. package/dist/{currency-Bra2RJK4.js → currency-YzyBFtDU.js} +1 -1
  84. package/dist/duplicateCampaign-dRWioann.js +51 -0
  85. package/dist/{effect-EL4V3pAu.js → effect-bMGarJZ6.js} +1 -1
  86. package/dist/{email-addresses-Ddtf1x_y.js → email-addresses-Ciu83j_3.js} +2 -2
  87. package/dist/{feature-flag-umACX47C.js → feature-flag-H5D1Cob5.js} +70 -70
  88. package/dist/google-BQK68wbe.js +5 -0
  89. package/dist/{helper-DqDOnLCf.js → helper-BH9HMikb.js} +1 -1
  90. package/dist/{index-CEh6ryp2.js → index-B7-Uvnfn.js} +19 -6
  91. package/dist/{index-DuCJtx1m.js → index-BHO82_Ix.js} +1 -1
  92. package/dist/{index-B_BmgKrh.js → index-BaTnDV-T.js} +2699 -2613
  93. package/dist/{index-C3hAzzS2.js → index-BvKJM3M2.js} +29 -15
  94. package/dist/{index-rcfcslIC.js → index-BxwJfT08.js} +197 -197
  95. package/dist/{index-C6p9Lsvf.js → index-CH-KHkm5.js} +1 -1
  96. package/dist/{index-B2lqC_hH.js → index-CIOidYvo.js} +1 -1
  97. package/dist/{index-BzwwXWpZ.js → index-CJAFz9Nn.js} +1 -1
  98. package/dist/{index-ByVPdKdB.js → index-CooParq-.js} +682 -581
  99. package/dist/{index-pfmx-Gor.js → index-Cyf05z_2.js} +2 -2
  100. package/dist/{index-Bvk61_w_.js → index-DYu7ZdQt.js} +1 -1
  101. package/dist/{index-B3U3KZl0.js → index-DbxiG50D.js} +2 -2
  102. package/dist/{index-BkKu2G2c.js → index-DkMy7WpU.js} +2 -2
  103. package/dist/{index-LjoAs_nX.js → index-DpkoCl4z.js} +10 -10
  104. package/dist/{index-C3lk4GHF.js → index-MWNnMT2T.js} +4 -4
  105. package/dist/{index-DK9zxpDu.js → index-RvJ5cq__.js} +3 -3
  106. package/dist/{index-iVbjwKxc.js → index-Ye3qFt34.js} +10 -10
  107. package/dist/{index-BTjhdlN_.js → index-_giqGuYM.js} +1 -1
  108. package/dist/{index-TDCPGtW3.js → index-pnM5q4c_.js} +389 -232
  109. package/dist/{index-BroF2fC8.js → index-taPHgOqE.js} +608 -251
  110. package/dist/{index.esm2017-DCuQPCX2.js → index.esm2017-CLxZor1Y.js} +111 -111
  111. package/dist/{loading-CQm1DKWE.js → loading-CsOSUWBd.js} +1 -1
  112. package/dist/{lodash-C2wVbAap.js → lodash-CshibTzh.js} +1 -1
  113. package/dist/{member-import-BLEmTRso.js → member-import-BdaGAjjt.js} +1 -1
  114. package/dist/{membership-XycnxPEW.js → membership-C5JWO1FM.js} +2 -2
  115. package/dist/{money-DY_QGzd1.js → money-Blt5EM43.js} +1 -1
  116. package/dist/{number-BHthf4qF.js → number-COm3MiH8.js} +1 -1
  117. package/dist/objectid-DQTx3-ee.js +145 -0
  118. package/dist/{onboarding-BOJw54Fn.js → onboarding-BbQDJOOS.js} +36 -36
  119. package/dist/{onboardingSetup-Cf2u1tXu.js → onboardingSetup-BLISY52M.js} +2 -2
  120. package/dist/{plugins-DKQeoL_e.js → plugins-De_chCYU.js} +3 -3
  121. package/dist/{reward-D4RIYSpl.js → reward-Dl8Zoxe_.js} +1 -1
  122. package/dist/{rule-Ba-s0L_w.js → rule-D6_iss3O.js} +572 -492
  123. package/dist/style.css +1 -1
  124. package/dist/template-Cw6j1cLX.js +224 -0
  125. package/dist/{timezone-CAc8xi1h.js → timezone-CA5FwOyy.js} +1 -1
  126. package/dist/{transaction.fn-Cp2hnhyU.js → transaction.fn-DI_NeGQb.js} +2 -2
  127. package/dist/{trigger-3ebhNBX7.js → trigger-CuymoMM-.js} +9 -9
  128. package/dist/{useMarketingMaterialActions-6URv8neP.js → useMarketingMaterialActions-Bz0Kgvgd.js} +4 -4
  129. package/dist/{usePagination-C-fyMmiy.js → usePagination-yb1rupwa.js} +1 -1
  130. package/dist/{user-T-iXTrYV.js → user-QSKyFaMI.js} +1 -1
  131. package/dist/vue-i18n-B_qtODCw.js +2365 -0
  132. package/dist/{xlsx-B8OqaJfb.js → xlsx--RjkGa9A.js} +224 -224
  133. package/dist/{zod-DZkNj425.js → zod-CmPMd-h0.js} +1 -1
  134. package/package.json +8 -3
  135. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js +0 -3493
  136. package/dist/ReviewFacebookCallback-ihTdiI8V.js +0 -238
  137. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-pdHRjCt8.js +0 -1884
  138. package/dist/Settings-D9D-mkBa.js +0 -179
  139. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DnwMpqzf.js +0 -1265
  140. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-I5-5BV4h.js +0 -142
  141. package/dist/campaign.fn-0MNUj1fZ.js +0 -776
  142. package/dist/google-C3S8u0mT.js +0 -4
  143. package/dist/objectid-CPCAqIiC.js +0 -145
  144. package/dist/rule-builder-D0B0DPao.js +0 -102
  145. package/dist/template-B40I16Yg.js +0 -236
  146. package/dist/vue-i18n-DzsxJorb.js +0 -2365
@@ -1,22 +1,23 @@
1
1
  import { defineComponent as Y, ref as B, computed as z, h as b, onMounted as J, resolveComponent as m, openBlock as u, createElementBlock as x, Fragment as k, createVNode as i, unref as o, withCtx as v, createElementVNode as n, toDisplayString as f, renderList as Q, createBlock as F, resolveDynamicComponent as W } from "vue";
2
2
  import { _ as X } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as Z, components as P } from "@feedmepos/ui-library";
4
- import { p as ee } from "./plugins-DKQeoL_e.js";
5
- import { u as te } from "./loading-CQm1DKWE.js";
6
- import { u as oe } from "./business-D23Dt1x4.js";
7
- import { u as ae } from "./campaign-FVcbXtrP.js";
8
- import { g as ne, a as V, b as R } from "./campaign-DfEvGigm.js";
9
- import { u as ie, c as re, p as se } from "./template-B40I16Yg.js";
10
- import { _ as le } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
11
- import { _ as ce } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js";
12
- import { u as me } from "./vue-i18n-DzsxJorb.js";
13
- import "./index-BzwwXWpZ.js";
14
- import { u as pe } from "./onboardingSetup-Cf2u1tXu.js";
15
- import { a as de } from "./index-BroF2fC8.js";
4
+ import { p as ee } from "./plugins-De_chCYU.js";
5
+ import { u as te } from "./loading-CsOSUWBd.js";
6
+ import { u as oe } from "./business-9_NOI2V9.js";
7
+ import { u as ae } from "./campaign-8y_9SvKP.js";
8
+ import { a as ne, b as V, c as R } from "./campaign-DjBTRZyA.js";
9
+ import { c as ie, p as re } from "./duplicateCampaign-dRWioann.js";
10
+ import { _ as se } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
11
+ import { _ as le } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js";
12
+ import { u as ce } from "./template-Cw6j1cLX.js";
13
+ import { u as me } from "./vue-i18n-B_qtODCw.js";
14
+ import "./index-CJAFz9Nn.js";
15
+ import { u as pe } from "./onboardingSetup-BLISY52M.js";
16
+ import { b as de } from "./index-taPHgOqE.js";
16
17
  import { useRouter as ue } from "vue-router";
17
- import { c as g } from "./index-BkKu2G2c.js";
18
- import { R as fe } from "./app-C06bAZj3.js";
19
- const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, _e = { class: "px-24 flex flex-col gap-y-16" }, he = { class: "flex items-center justify-between w-full" }, we = { class: "flex gap-8 overflow-x-auto" }, Ce = { class: "space-y-8" }, be = { class: "flex w-full gap-4 items-center" }, ve = { class: "space-y-4" }, xe = { class: "fm-typo-en-body-lg-600" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fe = { class: "flex items-center gap-8" }, Pe = { class: "flex flex-col gap-16 text-center" }, Se = { class: "fm-typo-en-title-sm-800" }, Ne = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ze = /* @__PURE__ */ Y({
18
+ import { c as g } from "./index-DkMy7WpU.js";
19
+ import { R as fe } from "./app-BG-zK89d.js";
20
+ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, _e = { class: "px-24 flex flex-col gap-y-16" }, he = { class: "flex items-center justify-between w-full" }, we = { class: "flex gap-8 overflow-x-auto" }, Ce = { class: "space-y-8" }, be = { class: "flex w-full gap-4 items-center" }, ve = { class: "space-y-4" }, xe = { class: "fm-typo-en-body-lg-600" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fe = { class: "flex items-center gap-8" }, Pe = { class: "flex flex-col gap-16 text-center" }, Se = { class: "fm-typo-en-title-sm-800" }, Ne = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Je = /* @__PURE__ */ Y({
20
21
  __name: "Point",
21
22
  setup(Ie) {
22
23
  const { t: r } = me(), E = ue(), $ = {
@@ -26,7 +27,7 @@ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-60
26
27
  value: "create",
27
28
  isPrimary: !0,
28
29
  prependIcon: "add"
29
- }, D = ie("COIN", Z()), y = oe(), p = ae(), { global: T, minor: S } = te, l = B({
30
+ }, D = ce("COIN", Z()), y = oe(), p = ae(), { global: T, minor: S } = te, l = B({
30
31
  searchKey: "",
31
32
  location: []
32
33
  });
@@ -120,9 +121,9 @@ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-60
120
121
  }
121
122
  async function L(e) {
122
123
  var s;
123
- if (!await re(e.name))
124
+ if (!await ie(e.name))
124
125
  return;
125
- const t = await g.readById(e._id), c = se(t, {
126
+ const t = await g.readById(e._id), c = re(t, {
126
127
  keepCollectible: !0
127
128
  });
128
129
  (s = h.value) == null || s.showSheet(
@@ -181,7 +182,7 @@ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-60
181
182
  o(p).campaigns.point && o(p).campaigns.point.length > 0 ? (u(), x(k, { key: 0 }, [
182
183
  n("div", he, [
183
184
  n("div", we, [
184
- i(le, {
185
+ i(se, {
185
186
  label: `${o(r)("connect.common.location")}: `,
186
187
  "right-icon": "keyboard_arrow_down",
187
188
  modelValue: o(l).location,
@@ -281,7 +282,7 @@ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-60
281
282
  ]),
282
283
  _: 1
283
284
  })),
284
- i(ce, {
285
+ i(le, {
285
286
  ref_key: "sheetRef",
286
287
  ref: h,
287
288
  "onSubmit:modelValue": U
@@ -292,5 +293,5 @@ const ge = { class: "flex items-center" }, ye = { class: "fm-typo-en-title-md-60
292
293
  }
293
294
  });
294
295
  export {
295
- ze as default
296
+ Je as default
296
297
  };
@@ -1,41 +1,42 @@
1
- import { defineComponent as H, ref as b, resolveComponent as p, openBlock as y, createBlock as T, unref as a, isRef as ae, withCtx as V, createElementVNode as r, createVNode as s, computed as ie, h as O, onMounted as se, createElementBlock as A, Fragment as L, renderList as re, resolveDynamicComponent as le, toDisplayString as P } from "vue";
2
- import { _ as ce } from "./campaign-CpzFl8Vr.js";
3
- import { useDialog as me, components as M } from "@feedmepos/ui-library";
4
- import { p as D } from "./plugins-DKQeoL_e.js";
5
- import { u as ue } from "./loading-CQm1DKWE.js";
6
- import { u as pe } from "./business-D23Dt1x4.js";
7
- import { u as de } from "./campaign-FVcbXtrP.js";
8
- import { u as fe } from "./vue-i18n-DzsxJorb.js";
9
- import { g as ye, a as q } from "./campaign-DfEvGigm.js";
10
- import { u as ge, c as he, p as _e } from "./template-B40I16Yg.js";
11
- import { e as K } from "./effect-EL4V3pAu.js";
12
- import { c as E } from "./string-Gcy5IM_H.js";
13
- import "./index-BzwwXWpZ.js";
14
- import { _ as we } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXb7v7wc.js";
15
- import { c as g } from "./index-BkKu2G2c.js";
16
- import { _ as Q } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
17
- import { u as ve } from "./onboardingSetup-Cf2u1tXu.js";
18
- import { useRouter as be } from "vue-router";
19
- import { R as Ce } from "./app-C06bAZj3.js";
20
- const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
1
+ import { defineComponent as z, ref as C, resolveComponent as p, openBlock as y, createBlock as T, unref as a, isRef as ie, withCtx as V, createElementVNode as i, createVNode as r, computed as se, h as P, onMounted as re, createElementBlock as L, Fragment as A, renderList as le, resolveDynamicComponent as ce, toDisplayString as w } from "vue";
2
+ import { _ as me } from "./campaign-CpzFl8Vr.js";
3
+ import { useDialog as ue, components as M } from "@feedmepos/ui-library";
4
+ import { p as j } from "./plugins-De_chCYU.js";
5
+ import { u as pe } from "./loading-CsOSUWBd.js";
6
+ import { u as de } from "./business-9_NOI2V9.js";
7
+ import { u as fe } from "./campaign-8y_9SvKP.js";
8
+ import { u as ye } from "./vue-i18n-B_qtODCw.js";
9
+ import { g as q, a as ge, b as K } from "./campaign-DjBTRZyA.js";
10
+ import { c as he, p as _e } from "./duplicateCampaign-dRWioann.js";
11
+ import { e as E } from "./effect-bMGarJZ6.js";
12
+ import { c as Q } from "./string-Gcy5IM_H.js";
13
+ import "./index-CJAFz9Nn.js";
14
+ import { _ as we } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js";
15
+ import { c as g } from "./index-DkMy7WpU.js";
16
+ import { u as be } from "./template-Cw6j1cLX.js";
17
+ import { _ as H } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
18
+ import { u as ve } from "./onboardingSetup-BLISY52M.js";
19
+ import { useRouter as Ce } from "vue-router";
20
+ import { R as Se } from "./app-BG-zK89d.js";
21
+ const xe = { class: "space-y-8" }, Fe = /* @__PURE__ */ z({
21
22
  __name: "QueueSheet",
22
23
  emits: ["update:model-value"],
23
- setup(z, { expose: n, emit: B }) {
24
- const d = b(!1), w = b([]);
24
+ setup(G, { expose: n, emit: B }) {
25
+ const d = C(!1), b = C([]);
25
26
  async function I() {
26
27
  d.value = !0;
27
- const i = await g.getPromotionQueue();
28
- console.log(i, "jobs"), w.value = i;
28
+ const s = await g.getPromotionQueue();
29
+ console.log(s, "jobs"), b.value = s;
29
30
  }
30
- const C = [
31
+ const S = [
31
32
  {
32
33
  header: "Started At",
33
- accessorFn: (i) => i.createdAt,
34
+ accessorFn: (s) => s.createdAt,
34
35
  enableSorting: !0
35
36
  },
36
37
  {
37
38
  header: "Campaigns",
38
- accessorFn: (i) => i.campaigns
39
+ accessorFn: (s) => s.campaigns
39
40
  // cell(props) {
40
41
  // const r = props.row.original;
41
42
  // return h('div', {
@@ -46,27 +47,27 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
46
47
  ];
47
48
  return n({
48
49
  showSheet: I
49
- }), (i, u) => {
50
+ }), (s, u) => {
50
51
  const v = p("FmTable"), R = p("FmSideSheet");
51
52
  return y(), T(R, {
52
53
  "max-width": 550,
53
54
  header: "Promotion Sync Queue",
54
55
  modelValue: a(d),
55
56
  "onUpdate:modelValue": [
56
- u[1] || (u[1] = (f) => ae(d) ? d.value = f : null),
57
+ u[1] || (u[1] = (f) => ie(d) ? d.value = f : null),
57
58
  u[2] || (u[2] = (f) => d.value = f)
58
59
  ]
59
60
  }, {
60
61
  default: V(() => [
61
- r("div", Se, [
62
- u[3] || (u[3] = r("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Promotion synchronizing to your restaurant(s) is queued here. Depending on the number of campaigns and restaurants, this process may take several minutes. No task displayed here means there are no pending promotions to sync. ", -1)),
63
- s(v, {
64
- modelValue: i.tableRef,
65
- "onUpdate:modelValue": u[0] || (u[0] = (f) => i.tableRef = f),
66
- "column-filter": i.jobFilters,
67
- "column-defs": C,
68
- "row-data": a(w),
69
- "hide-footer": a(w).length <= 10
62
+ i("div", xe, [
63
+ u[3] || (u[3] = i("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Promotion synchronizing to your restaurant(s) is queued here. Depending on the number of campaigns and restaurants, this process may take several minutes. No task displayed here means there are no pending promotions to sync. ", -1)),
64
+ r(v, {
65
+ modelValue: s.tableRef,
66
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => s.tableRef = f),
67
+ "column-filter": s.jobFilters,
68
+ "column-defs": S,
69
+ "row-data": a(b),
70
+ "hide-footer": a(b).length <= 10
70
71
  }, null, 8, ["modelValue", "column-filter", "row-data", "hide-footer"])
71
72
  ])
72
73
  ]),
@@ -74,10 +75,10 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
74
75
  }, 8, ["modelValue"]);
75
76
  };
76
77
  }
77
- }), xe = { class: "px-24 flex flex-col gap-y-16" }, Fe = { class: "flex items-center justify-between w-full" }, Oe = { class: "flex gap-8 overflow-x-auto" }, Pe = { class: "space-y-8" }, Te = { class: "flex w-full gap-4 items-center" }, Ve = { class: "space-y-4" }, Ie = { class: "fm-typo-en-body-lg-600" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "flex items-center gap-8" }, Le = { class: "flex flex-col gap-16 text-center" }, Me = { class: "fm-typo-en-title-sm-800" }, Be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, to = /* @__PURE__ */ H({
78
+ }), ke = { class: "px-24 flex flex-col gap-y-16" }, Oe = { class: "flex items-center justify-between w-full" }, Pe = { class: "flex gap-8 overflow-x-auto" }, Te = { class: "space-y-8" }, Ve = { class: "flex w-full gap-4 items-center" }, Ie = { class: "space-y-4" }, Re = { class: "fm-typo-en-body-lg-600" }, Le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "flex items-center gap-8" }, Be = { class: "flex flex-col gap-16 text-center" }, Ne = { class: "fm-typo-en-title-sm-800" }, De = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, io = /* @__PURE__ */ z({
78
79
  __name: "Promotion",
79
- setup(z) {
80
- const { t: n } = fe(), B = {
80
+ setup(G) {
81
+ const { t: n } = ye(), B = {
81
82
  label: n("connect.promotion.createCampaign"),
82
83
  value: "create",
83
84
  isPrimary: !0,
@@ -87,12 +88,12 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
87
88
  value: "sync",
88
89
  isPrimary: !1,
89
90
  prependIcon: "refresh"
90
- }, w = {
91
+ }, b = {
91
92
  label: "Queue",
92
93
  value: "queue",
93
94
  isPrimary: !1,
94
95
  prependIcon: "work_history"
95
- }, I = ge("PROMOTION", me()), C = pe(), i = de(), { global: u, minor: v } = ue, R = be(), f = [
96
+ }, I = be("PROMOTION", ue()), S = de(), s = fe(), { global: u, minor: v } = pe, R = Ce(), f = [
96
97
  {
97
98
  label: "Bill promotion",
98
99
  value: "BILL"
@@ -101,87 +102,91 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
101
102
  label: "Item promotion",
102
103
  value: "ITEM"
103
104
  }
104
- ], c = b({
105
+ ], c = C({
105
106
  searchKey: "",
106
107
  location: [],
107
108
  effectType: []
108
109
  });
109
- function G(e) {
110
+ function Y(e) {
110
111
  const o = c.value.location;
111
112
  return !o || o.length === 0 || !e.targetLocation ? !0 : Array.isArray(o) ? o.some((m) => {
112
113
  var l;
113
114
  return (l = e == null ? void 0 : e.targetLocation) == null ? void 0 : l.includes(m);
114
115
  }) : e.targetLocation.includes(o);
115
116
  }
116
- function Y(e) {
117
- var l, x;
117
+ function J(e) {
118
+ var l, k;
118
119
  const o = c.value.effectType;
119
120
  if (!o || o.length === 0) return !0;
120
- const m = (x = (l = e.effect) == null ? void 0 : l.options) == null ? void 0 : x.target;
121
+ const m = (k = (l = e.effect) == null ? void 0 : l.options) == null ? void 0 : k.target;
121
122
  return o.includes(m);
122
123
  }
123
- const h = ie(
124
- () => i.campaigns.promotion.filter(
125
- (e) => G(e) && Y(e)
124
+ const h = se(
125
+ () => s.campaigns.promotion.filter(
126
+ (e) => Y(e) && J(e)
126
127
  )
127
- ), J = [
128
+ ), W = [
128
129
  {
129
130
  header: n("connect.promotion.promotionTitle"),
130
131
  accessorFn: (e) => e.name
131
132
  },
133
+ {
134
+ header: n("connect.promotion.campaignDate"),
135
+ accessorFn: (e) => q(e)
136
+ },
132
137
  {
133
138
  header: n("connect.promotion.status"),
134
- accessorFn: (e) => ye(e),
139
+ accessorFn: (e) => ge(e),
135
140
  cell(e) {
136
- return q(e.row.original);
141
+ return K(e.row.original);
137
142
  }
138
143
  },
139
144
  {
140
145
  header: n("connect.promotion.type"),
141
- accessorFn: (e) => `${E.title(e.effect.options.target)} promotion`
146
+ accessorFn: (e) => `${Q.title(e.effect.options.target)} promotion`
142
147
  },
143
148
  {
144
149
  header: n("connect.promotion.summary"),
145
- accessorFn: (e) => K(e.effect)
150
+ accessorFn: (e) => E(e.effect)
146
151
  },
147
152
  {
148
153
  header: n("connect.promotion.actions"),
149
154
  cell(e) {
150
- return O("div", { class: "flex items-center gap-8 justify-end" }, [
151
- O(M.FmButton, {
155
+ return P("div", { class: "flex items-center gap-8 justify-end" }, [
156
+ P(M.FmButton, {
152
157
  variant: "tertiary",
153
158
  icon: "insights",
154
159
  iconColor: "neutral-gray-400",
155
160
  onClick: async (o) => {
156
- o.stopPropagation(), await U(e.row.original);
161
+ o.stopPropagation(), await $(e.row.original);
157
162
  }
158
163
  }),
159
- O(M.FmButton, {
164
+ P(M.FmButton, {
160
165
  variant: "tertiary",
161
166
  icon: "content_copy",
162
167
  iconColor: "neutral-gray-400",
163
168
  onClick: async (o) => {
164
- o.stopPropagation(), await j(e.row.original);
169
+ o.stopPropagation(), await U(e.row.original);
165
170
  }
166
171
  }),
167
- O(M.FmButton, {
172
+ P(M.FmButton, {
168
173
  variant: "tertiary",
169
174
  icon: "delete",
170
175
  iconColor: "neutral-gray-400",
171
176
  onClick: (o) => {
172
- o.stopPropagation(), $(e.row.original);
177
+ o.stopPropagation(), D(e.row.original);
173
178
  }
174
179
  })
175
180
  ]);
176
181
  }
177
182
  }
178
- ], S = b(), N = b();
179
- async function $(e) {
180
- await D.remove(
183
+ ], x = C(), N = C();
184
+ async function D(e) {
185
+ await j.remove(
181
186
  n("connect.promotion.confirmRemove", { name: e.name })
182
187
  ) && await v(
183
188
  async () => {
184
- await g.delete(e._id), await i.read("PROMOTION");
189
+ await g.delete(e._id), await s.read("PROMOTION");
185
190
  },
186
191
  {
187
192
  message: n("connect.promotion.removing", { name: e.name }),
@@ -191,13 +196,13 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
191
196
  }
192
197
  );
193
198
  }
194
- async function k(e) {
199
+ async function F(e) {
195
200
  e ? await o() : I.open(async (m) => {
196
201
  await o(m);
197
202
  });
198
203
  async function o(m) {
199
204
  var l;
200
- (l = S.value) == null || l.showSheet(
205
+ (l = x.value) == null || l.showSheet(
201
206
  !0,
202
207
  "PROMOTION",
203
208
  e ? await g.readById(e._id) : void 0,
@@ -205,28 +210,28 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
205
210
  );
206
211
  }
207
212
  }
208
- async function U(e) {
213
+ async function $(e) {
209
214
  await R.push({
210
- name: Ce["$connect-CAMPAIGN_PROMOTION_ANALYTIC"],
215
+ name: Se["$connect-CAMPAIGN_PROMOTION_ANALYTIC"],
211
216
  params: { id: e._id }
212
217
  });
213
218
  }
214
- async function j(e) {
219
+ async function U(e) {
215
220
  var l;
216
221
  if (!await he(e.name))
217
222
  return;
218
223
  const o = await g.readById(e._id), m = _e(o);
219
- (l = S.value) == null || l.showSheet(
224
+ (l = x.value) == null || l.showSheet(
220
225
  !0,
221
226
  "PROMOTION",
222
227
  m,
223
228
  o.template
224
229
  );
225
230
  }
226
- async function W(e) {
231
+ async function X(e) {
227
232
  await v(
228
233
  async () => {
229
- e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await i.read("PROMOTION");
234
+ e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await s.read("PROMOTION");
230
235
  },
231
236
  {
232
237
  message: n(
@@ -238,14 +243,14 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
238
243
  }
239
244
  );
240
245
  }
241
- async function X(e) {
246
+ async function Z(e) {
242
247
  var o;
243
248
  switch (e) {
244
249
  case "create":
245
- k();
250
+ F();
246
251
  break;
247
252
  case "sync":
248
- await D.confirm(
253
+ await j.confirm(
249
254
  "Are you sure you want to synchronize all promotions to POS?",
250
255
  "Force sync"
251
256
  ) && v(
@@ -263,41 +268,41 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
263
268
  break;
264
269
  }
265
270
  }
266
- const Z = ve();
267
- return se(async () => {
271
+ const ee = ve();
272
+ return re(async () => {
268
273
  var e;
269
274
  await u(async () => {
270
- await C.readLocations(), await i.read("PROMOTION");
271
- }), await Z.consume() === "PROMOTION_CUSTOM" && ((e = S.value) == null || e.showSheet(!0, "PROMOTION"));
275
+ await S.readLocations(), await s.read("PROMOTION");
276
+ }), await ee.consume() === "PROMOTION_CUSTOM" && ((e = x.value) == null || e.showSheet(!0, "PROMOTION"));
272
277
  }), (e, o) => {
273
- const m = p("FmPageHead"), l = p("FmSearch"), x = p("FmTable"), ee = p("FmChip"), F = p("FmButton"), oe = p("FmListItem"), te = p("FmList"), ne = p("FmCard");
274
- return y(), A(L, null, [
275
- s(m, {
278
+ const m = p("FmPageHead"), l = p("FmSearch"), k = p("FmTable"), oe = p("FmChip"), O = p("FmButton"), te = p("FmListItem"), ne = p("FmList"), ae = p("FmCard");
279
+ return y(), L(A, null, [
280
+ r(m, {
276
281
  title: a(n)("connect.promotion.title"),
277
- actions: a(h).length > 0 ? [B, d, w] : [],
278
- "onClick:action": X
282
+ actions: a(h).length > 0 ? [B, d, b] : [],
283
+ "onClick:action": Z
279
284
  }, null, 8, ["title", "actions"]),
280
- r("div", xe, [
281
- s(l, {
285
+ i("div", ke, [
286
+ r(l, {
282
287
  modelValue: c.value.searchKey,
283
288
  "onUpdate:modelValue": o[0] || (o[0] = (t) => c.value.searchKey = t),
284
289
  class: "hidden xs:!block sm:!block border-b-2 border-fm-color-neutral-gray-100",
285
290
  placeholder: a(n)("connect.promotion.search"),
286
291
  collapsible: ""
287
292
  }, null, 8, ["modelValue", "placeholder"]),
288
- a(h) && a(h).length > 0 ? (y(), A(L, { key: 0 }, [
289
- r("div", Fe, [
290
- r("div", Oe, [
291
- s(Q, {
293
+ a(h) && a(h).length > 0 ? (y(), L(A, { key: 0 }, [
294
+ i("div", Oe, [
295
+ i("div", Pe, [
296
+ r(H, {
292
297
  label: `${a(n)("connect.common.location")}: `,
293
298
  "right-icon": "keyboard_arrow_down",
294
299
  modelValue: c.value.location,
295
300
  "onUpdate:modelValue": o[1] || (o[1] = (t) => c.value.location = t),
296
301
  icon: "storefront",
297
302
  "show-item-label": !0,
298
- items: a(C).locationOptions
303
+ items: a(S).locationOptions
299
304
  }, null, 8, ["label", "modelValue", "items"]),
300
- s(Q, {
305
+ r(H, {
301
306
  label: "Type:",
302
307
  "right-icon": "keyboard_arrow_down",
303
308
  modelValue: c.value.effectType,
@@ -307,7 +312,7 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
307
312
  items: f
308
313
  }, null, 8, ["modelValue"])
309
314
  ]),
310
- s(l, {
315
+ r(l, {
311
316
  modelValue: c.value.searchKey,
312
317
  "onUpdate:modelValue": o[3] || (o[3] = (t) => c.value.searchKey = t),
313
318
  class: "xs:hidden sm:hidden",
@@ -315,61 +320,62 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
315
320
  collapsible: ""
316
321
  }, null, 8, ["modelValue"])
317
322
  ]),
318
- s(x, {
323
+ r(k, {
319
324
  class: "xs:hidden sm:hidden",
320
325
  "row-data": a(h),
321
- "column-defs": J,
326
+ "column-defs": W,
322
327
  "search-value": c.value.searchKey,
323
328
  "column-filter": [],
324
- onRowClick: o[4] || (o[4] = (t) => k(t.original)),
329
+ onRowClick: o[4] || (o[4] = (t) => F(t.original)),
325
330
  "hide-footer": a(h).length < 10
326
331
  }, null, 8, ["row-data", "search-value", "hide-footer"]),
327
- s(te, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
332
+ r(ne, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
328
333
  default: V(() => [
329
- (y(!0), A(L, null, re(a(h).filter(
334
+ (y(!0), L(A, null, le(a(h).filter(
330
335
  (t) => t.name.toLowerCase().includes(c.value.searchKey.toLowerCase())
331
- ), (t) => (y(), T(oe, {
336
+ ), (t) => (y(), T(te, {
332
337
  key: t._id.toString(),
333
- onClick: (_) => k(t),
338
+ onClick: (_) => F(t),
334
339
  class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
335
340
  }, {
336
341
  default: V(() => [
337
- r("div", Pe, [
338
- r("div", Te, [
339
- (y(), T(le(a(q)(t)))),
340
- s(ee, {
342
+ i("div", Te, [
343
+ i("div", Ve, [
344
+ (y(), T(ce(a(K)(t)))),
345
+ r(oe, {
341
346
  class: "!text-fm-color-typo-info !bg-fm-color-system-info-100",
342
347
  compact: !0,
343
- label: `${a(E).title(t.effect.options.target)} promotion`
348
+ label: `${a(Q).title(t.effect.options.target)} promotion`
344
349
  }, null, 8, ["label"])
345
350
  ]),
346
- r("div", Ve, [
347
- r("div", Ie, P(t.name), 1),
348
- r("div", Re, P(a(K)(t.effect)), 1)
351
+ i("div", Ie, [
352
+ i("div", Re, w(t.name), 1),
353
+ i("div", Le, w(a(E)(t.effect)), 1),
354
+ i("div", Ae, w(a(n)("connect.promotion.campaignDate")) + ": " + w(a(q)(t)), 1)
349
355
  ])
350
356
  ]),
351
- r("div", Ae, [
352
- s(F, {
357
+ i("div", Me, [
358
+ r(O, {
353
359
  icon: "insights",
354
360
  "icon-color": "neutral-gray-400",
355
361
  variant: "tertiary",
356
362
  onClick: async (_) => {
357
- _.stopPropagation(), await U(t);
363
+ _.stopPropagation(), await $(t);
358
364
  }
359
365
  }, null, 8, ["onClick"]),
360
- s(F, {
366
+ r(O, {
361
367
  icon: "content_copy",
362
368
  "icon-color": "neutral-gray-400",
363
369
  variant: "tertiary",
364
370
  onClick: async (_) => {
365
- _.stopPropagation(), await j(t);
371
+ _.stopPropagation(), await U(t);
366
372
  }
367
373
  }, null, 8, ["onClick"]),
368
- s(F, {
374
+ r(O, {
369
375
  icon: "delete",
370
376
  "icon-color": "neutral-gray-400",
371
377
  variant: "tertiary",
372
- onClick: (_) => (_.stopPropagation(), $(t))
378
+ onClick: (_) => (_.stopPropagation(), D(t))
373
379
  }, null, 8, ["onClick"])
374
380
  ])
375
381
  ]),
@@ -378,36 +384,36 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
378
384
  ]),
379
385
  _: 1
380
386
  })
381
- ], 64)) : (y(), T(ne, {
387
+ ], 64)) : (y(), T(ae, {
382
388
  key: 1,
383
389
  variant: "outlined",
384
390
  class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
385
391
  }, {
386
392
  default: V(() => [
387
- o[6] || (o[6] = r("img", {
388
- src: ce,
393
+ o[6] || (o[6] = i("img", {
394
+ src: me,
389
395
  class: "aspect-square w-[150px]"
390
396
  }, null, -1)),
391
- r("div", Le, [
392
- r("div", Me, P(a(n)("connect.promotion.createPromotionCampaign")), 1),
393
- r("div", Be, P(a(n)("connect.promotion.description")), 1)
397
+ i("div", Be, [
398
+ i("div", Ne, w(a(n)("connect.promotion.createPromotionCampaign")), 1),
399
+ i("div", De, w(a(n)("connect.promotion.description")), 1)
394
400
  ]),
395
- s(F, {
401
+ r(O, {
396
402
  variant: "primary",
397
403
  label: a(n)("connect.promotion.createPromotionCampaign"),
398
404
  icon: "add",
399
- onClick: o[5] || (o[5] = (t) => k())
405
+ onClick: o[5] || (o[5] = (t) => F())
400
406
  }, null, 8, ["label"])
401
407
  ]),
402
408
  _: 1
403
409
  }))
404
410
  ]),
405
- s(we, {
411
+ r(we, {
406
412
  ref_key: "sheetRef",
407
- ref: S,
408
- "onSubmit:modelValue": W
413
+ ref: x,
414
+ "onSubmit:modelValue": X
409
415
  }, null, 512),
410
- s(ke, {
416
+ r(Fe, {
411
417
  ref_key: "queueSheetRef",
412
418
  ref: N
413
419
  }, null, 512)
@@ -416,5 +422,5 @@ const Se = { class: "space-y-8" }, ke = /* @__PURE__ */ H({
416
422
  }
417
423
  });
418
424
  export {
419
- to as default
425
+ io as default
420
426
  };