@feedmepos/mf-connect 0.1.118-prod → 0.1.119-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.
- package/README.md +12 -8
- package/dist/{App-BHcTqLff.js → App-z-u6skb5.js} +349 -337
- package/dist/AuditLogs-J0UJ3HJW.js +2016 -0
- package/dist/{Bin-DWhXJmHo.js → Bin-Dh9RAgYi.js} +8 -8
- package/dist/{Broadcast-Ct1DL8Pd.js → Broadcast-Dg6azPS8.js} +22 -21
- package/dist/{CampaignAnalytic-BSEKCM-4.js → CampaignAnalytic-CVB4dstO.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BxRg2Wu8.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DYgBeT23.js} +8 -9
- package/dist/{Card-B7DwrAPH.js → Card-CY736Ul0.js} +22 -22
- package/dist/{Collections-BJw4JJq_.js → Collections-CdTKWkZZ.js} +197 -185
- package/dist/{Credit-BteIGXkp.js → Credit-CUhEKlMI.js} +21 -20
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CSFwIzOS.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CBwgeTXh.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BC4jTtVY.js +4439 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BDZ21UHA.js → EffectSheet.vue_vue_type_style_index_0_lang-D5-EKqG9.js} +30 -30
- package/dist/{Experience-C_VQVfJX.js → Experience-CMp09U-6.js} +32 -31
- package/dist/{FileSaver.min-CMiQUZQE.js → FileSaver.min-Bq5McdmK.js} +1 -1
- package/dist/{Game-BiHMrMBF.js → Game-Dv5NvG-q.js} +19 -18
- package/dist/{GiftCardSetup-DtJIm6oI.js → GiftCardSetup-SO2Tk5In.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-BKGnPAEj.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-CgG5vHCp.js} +7 -7
- package/dist/{Goals-B7VjLMDT.js → Goals-BEwQP4cY.js} +4 -4
- package/dist/Grab-npbL7p7S.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-C9ecPgpJ.js → ImageInput.vue_vue_type_script_setup_true_lang-BDGEqsWE.js} +1 -1
- package/dist/{Index-D_DIHKZG.js → Index-8F2LOWng.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DSwB0Ubn.js → LocationPicker.vue_vue_type_script_setup_true_lang-BwAjki7Y.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-dk8_eVwd.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DK4C0Y9j.js} +1 -1
- package/dist/{LoyaltyDashboard-DOgHeJdK.js → LoyaltyDashboard-rWm0b8cm.js} +15 -15
- package/dist/{MainLayout-CfYgoXLS.js → MainLayout-ezbgp2IQ.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Bz2LGHUd.js → MainLayout.vue_vue_type_script_setup_true_lang-1QY5-U5y.js} +3 -3
- package/dist/{Marketing-B6TCrwaR.js → Marketing-DcWF4xVc.js} +4 -4
- package/dist/{MarketingMaterialEdit-Bu3a9NGj.js → MarketingMaterialEdit-C1bXj_hU.js} +214 -211
- package/dist/{Member-X51KrYXV.js → Member-CgDZqGsV.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-CYU21JaO.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dh1_j06F.js} +39 -47
- package/dist/{MemberImportHistory-CHd9fx7E.js → MemberImportHistory-DT3QJ5se.js} +7 -7
- package/dist/{MemberList-D4L3bSlw.js → MemberList-Bm05jnbk.js} +103 -105
- package/dist/{MemberTransactions-CEgjfhnX.js → MemberTransactions-D90tTpdC.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-zsaig_yK.js → MessageInput.vue_vue_type_script_setup_true_lang-jvgjOXXA.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-YZQkKG66.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CxL-Nh6i.js} +1 -1
- package/dist/{Mission-BEVtvY0-.js → Mission-D_l2eJI3.js} +22 -21
- package/dist/{Overview-DVoXXZ16.js → Overview-1AYfTeMD.js} +20 -20
- package/dist/{Overview-4QRkldza.js → Overview-BOZBnorP.js} +145 -144
- package/dist/{Point-BJmebaL9.js → Point-Cqy4XzeG.js} +22 -21
- package/dist/{Promotion-DWZZBofu.js → Promotion-9RDNbCgB.js} +137 -131
- package/dist/{Queue-DLdsyhCT.js → Queue-D2Eie_np.js} +45 -45
- package/dist/{Record-QOD3XELf.js → Record-e4B--FD8.js} +9 -9
- package/dist/{Review-CKmhyuqj.js → Review-DcUpSvc-.js} +2 -2
- package/dist/ReviewFacebookCallback-BhHdYb4X.js +225 -0
- package/dist/{ReviewGoogleCallback-CDriVQPZ.js → ReviewGoogleCallback-JPkamgo2.js} +5 -5
- package/dist/Reward-BQJw-R8V.js +444 -0
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-ZgYX2QwC.js → RewardGroup.vue_vue_type_script_setup_true_lang-D_DSQ8q2.js} +13 -13
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DfWjXTx3.js +1923 -0
- package/dist/{Segment-URdB0lnl.js → Segment-Cjdqsqqg.js} +303 -306
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DmI2LAsz.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-g-CJUZBF.js} +14 -14
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-lbH0b170.js} +4 -4
- package/dist/{Setting-BDIHH2Wk.js → Setting-B3HK4mtx.js} +159 -148
- package/dist/{SettingAdvertisements-CkJYZnIN.js → SettingAdvertisements-BQFJpdIm.js} +12 -12
- package/dist/Settings-DKWkiRuA.js +286 -0
- package/dist/{Store-CV0kYncl.js → Store-mp1LyXwr.js} +28 -28
- package/dist/{StoreRewards-30kSkAZ_.js → StoreRewards-DiSB6d7_.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BAYKqf-Y.js +1319 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-be7ksTJw.js +7007 -0
- package/dist/{Tier-DiQSC3iv.js → Tier-CxaXh96q.js} +2575 -687
- package/dist/{Title-DixxpjAg.js → Title-Byz0TGpi.js} +95 -94
- package/dist/{Transaction-DQK4LUGD.js → Transaction-CNXulI3o.js} +2 -2
- package/dist/Upselling-Dto64bmE.js +1013 -0
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CL-GKkuD.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C0bfVZf8.js} +26 -26
- package/dist/{Voucher-CSVlk_Hr.js → Voucher-CVw3E8Y4.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CiSoy0Ky.js → VoucherEditor.vue_vue_type_script_setup_true_lang-C0d3ktXA.js} +12 -12
- package/dist/{WhatsappAccount-CQYbv2Ew.js → WhatsappAccount-5vLzjaIV.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DjgRo9iA.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CwGBRX-Q.js} +1 -1
- package/dist/{WhatsappBot-DdO9Bfvh.js → WhatsappBot-BWJbD7Gk.js} +6 -6
- package/dist/{WhatsappBotLogs-CjjWJGND.js → WhatsappBotLogs-C8gpmZyC.js} +6 -6
- package/dist/{WhatsappBotSettings-DYGx-kRr.js → WhatsappBotSettings-BvPnKHz-.js} +4 -4
- package/dist/WhatsappLayout-DJXhXeXf.js +21 -0
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DTUytfe5.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-BxUYjrWQ.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DdCUr_Zm.js → ZodTextField.vue_vue_type_script_setup_true_lang-CkjzVKif.js} +2 -2
- package/dist/{app-CqQeNnGq.js → app-BF1vds2J.js} +11496 -10741
- package/dist/app.js +4 -3
- package/dist/{base.export-Dls5LQeu.js → base.export-B7FU8J4P.js} +2 -2
- package/dist/{business-gvLSQklz.js → business-DkUMhys1.js} +1 -1
- package/dist/{campaign-Cd6GmA4U.js → campaign-0AgQP43B.js} +34 -28
- package/dist/{campaign-BqazvOUj.js → campaign-C9cVkGMF.js} +121 -94
- package/dist/{campaign.enum-BqekIiiN.js → campaign.enum-Dx-Zo68Q.js} +2 -1
- package/dist/campaign.fn-N6rJeDUx.js +776 -0
- package/dist/{collection.fn-CERMsFPh.js → collection.fn-B_QnW0e3.js} +2 -2
- package/dist/{currency-IkiKiNg1.js → currency-XQmondpC.js} +1 -1
- package/dist/duplicateCampaign-CvQRWP-Z.js +51 -0
- package/dist/{effect-j_T62HBN.js → effect-Mwn1x6qN.js} +1 -1
- package/dist/{email-addresses-CN1kPlEj.js → email-addresses-DQQAi6-l.js} +2 -2
- package/dist/{feature-flag-DDfyOLsv.js → feature-flag-B1VMMZMd.js} +144 -144
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-DVUe13eh.js → helper-D1R8vyjc.js} +1 -1
- package/dist/{index-fNYUguDQ.js → index-BU6CU5MP.js} +389 -232
- package/dist/{index-DALsfLV7.js → index-Bm43wR8L.js} +2699 -2613
- package/dist/{index-jS16KX9p.js → index-Bym-ZIcv.js} +1 -1
- package/dist/{index-BvoOJdfc.js → index-C9Nbb7wc.js} +2 -2
- package/dist/{index-UJHdDEG1.js → index-CLlGMbnP.js} +1 -1
- package/dist/{index-BvkqHehI.js → index-CPB7j8Wn.js} +10 -10
- package/dist/{index-COuLtOaw.js → index-CRAuAyO3.js} +1 -1
- package/dist/{index-k7FFxt_M.js → index-Cg8Z5eYT.js} +2 -2
- package/dist/{index-CPyK4a5J.js → index-CzE9ZPDV.js} +4 -4
- package/dist/{index-Cjy0SXCn.js → index-D5BwAYuA.js} +197 -197
- package/dist/{index-ep_Kxxid.js → index-DMfCzjiA.js} +2 -2
- package/dist/{index-DMiaWY0s.js → index-DQnCdGWe.js} +682 -581
- package/dist/{index-D_1pnadB.js → index-DaUhJ6xV.js} +29 -15
- package/dist/{index-9RBtEPPj.js → index-P8DDRVa3.js} +1 -1
- package/dist/{index-C_SaKemI.js → index-Rs75lw-x.js} +1 -1
- package/dist/{index-C-IajuP1.js → index-ZYrey0SM.js} +10 -10
- package/dist/{index-CWGbeg5X.js → index-eR9mqPPV.js} +19 -6
- package/dist/{index-BmIfGArh.js → index-mOGrVzUV.js} +3 -3
- package/dist/{index-lzQ6ehOk.js → index-ug7pxPAX.js} +608 -251
- package/dist/{index-DzbVgUEP.js → index-ytSMcSMt.js} +1 -1
- package/dist/{index.esm2017-vJKhLfdu.js → index.esm2017-Gkctw9Mb.js} +111 -111
- package/dist/{loading-jZV2Dm--.js → loading-kUQqT44G.js} +1 -1
- package/dist/{lodash-C2pLek0l.js → lodash-B4AjV7YZ.js} +1 -1
- package/dist/{member-import-BKI7soRD.js → member-import-CwDUG5mj.js} +1 -1
- package/dist/{membership-smdlFpPr.js → membership-BI6U8-eM.js} +2 -2
- package/dist/{money-5XyTnYwW.js → money-Bum-AbB7.js} +1 -1
- package/dist/{number-DHU9qJJQ.js → number-uAoNqG-N.js} +1 -1
- package/dist/objectid-CPTCMH2h.js +145 -0
- package/dist/{onboarding-C_5pyGx-.js → onboarding-wtYzQipv.js} +36 -36
- package/dist/{onboardingSetup-Bd1V-Ipy.js → onboardingSetup-DlYM-oqd.js} +2 -2
- package/dist/{plugins-D1Ru-da5.js → plugins-BGyTPNfc.js} +3 -3
- package/dist/{reward-BqPl68Xk.js → reward-D0xtG-bp.js} +1 -1
- package/dist/{rule-WBrRXwL-.js → rule-BAA5-vRj.js} +572 -492
- package/dist/style.css +1 -1
- package/dist/template-DKgW9ul3.js +188 -0
- package/dist/{timezone-O4qrCDcK.js → timezone-Bbw2OeEP.js} +1 -1
- package/dist/{transaction.fn-CY_F8Nb8.js → transaction.fn-DZdNjP_E.js} +2 -2
- package/dist/{trigger-D-vySeIB.js → trigger-BpotFb7G.js} +9 -9
- package/dist/{useMarketingMaterialActions-kA6SLHy_.js → useMarketingMaterialActions-CQ1M0N9c.js} +4 -4
- package/dist/{usePagination-AYE_RJH2.js → usePagination-qALFI_Td.js} +1 -1
- package/dist/{user-DJcMkYXP.js → user-X_94TRIK.js} +1 -1
- package/dist/vue-i18n-CRFpVnMa.js +2365 -0
- package/dist/{xlsx--s3hBdDk.js → xlsx-DW48eXDT.js} +224 -224
- package/dist/{zod-IpHRbxaJ.js → zod-BAP9II5C.js} +1 -1
- package/package.json +8 -3
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js +0 -3496
- package/dist/ReviewFacebookCallback-C6DlaJ_j.js +0 -238
- package/dist/Reward-DftoZfPN.js +0 -442
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHmBwLNP.js +0 -1884
- package/dist/Settings-9gaegvYJ.js +0 -179
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Dgwyk3NA.js +0 -1265
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CDUhH6wp.js +0 -142
- package/dist/WhatsappLayout-B6k_79Kl.js +0 -21
- package/dist/campaign.fn-C0oMb1fs.js +0 -776
- package/dist/google-C3S8u0mT.js +0 -4
- package/dist/objectid-jT5g6pGt.js +0 -145
- package/dist/rule-builder-DAlSbaWh.js +0 -102
- package/dist/template-DDquG4Xc.js +0 -236
- package/dist/vue-i18n-kXHiDb_1.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-
|
|
5
|
-
import { u as te } from "./loading-
|
|
6
|
-
import { u as oe } from "./business-
|
|
7
|
-
import { u as ae } from "./campaign-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { u as
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
4
|
+
import { p as ee } from "./plugins-BGyTPNfc.js";
|
|
5
|
+
import { u as te } from "./loading-kUQqT44G.js";
|
|
6
|
+
import { u as oe } from "./business-DkUMhys1.js";
|
|
7
|
+
import { u as ae } from "./campaign-0AgQP43B.js";
|
|
8
|
+
import { a as ne, b as V, c as R } from "./campaign-C9cVkGMF.js";
|
|
9
|
+
import { c as ie, p as re } from "./duplicateCampaign-CvQRWP-Z.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-BC4jTtVY.js";
|
|
12
|
+
import { u as ce } from "./template-DKgW9ul3.js";
|
|
13
|
+
import { u as me } from "./vue-i18n-CRFpVnMa.js";
|
|
14
|
+
import "./index-Bym-ZIcv.js";
|
|
15
|
+
import { u as pe } from "./onboardingSetup-DlYM-oqd.js";
|
|
16
|
+
import { b as de } from "./index-ug7pxPAX.js";
|
|
16
17
|
import { useRouter as ue } from "vue-router";
|
|
17
|
-
import { c as g } from "./index-
|
|
18
|
-
import { R as fe } from "./app-
|
|
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" },
|
|
18
|
+
import { c as g } from "./index-DMfCzjiA.js";
|
|
19
|
+
import { R as fe } from "./app-BF1vds2J.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 =
|
|
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
|
|
124
|
+
if (!await ie(e.name))
|
|
124
125
|
return;
|
|
125
|
-
const t = await g.readById(e._id), c =
|
|
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(
|
|
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(
|
|
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
|
-
|
|
296
|
+
Je as default
|
|
296
297
|
};
|
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { useDialog as
|
|
4
|
-
import { p as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { g as
|
|
10
|
-
import {
|
|
11
|
-
import { e as
|
|
12
|
-
import { c as
|
|
13
|
-
import "./index-
|
|
14
|
-
import { _ as we } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { c as g } from "./index-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
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-BGyTPNfc.js";
|
|
5
|
+
import { u as pe } from "./loading-kUQqT44G.js";
|
|
6
|
+
import { u as de } from "./business-DkUMhys1.js";
|
|
7
|
+
import { u as fe } from "./campaign-0AgQP43B.js";
|
|
8
|
+
import { u as ye } from "./vue-i18n-CRFpVnMa.js";
|
|
9
|
+
import { g as q, a as ge, b as K } from "./campaign-C9cVkGMF.js";
|
|
10
|
+
import { c as he, p as _e } from "./duplicateCampaign-CvQRWP-Z.js";
|
|
11
|
+
import { e as E } from "./effect-Mwn1x6qN.js";
|
|
12
|
+
import { c as Q } from "./string-Gcy5IM_H.js";
|
|
13
|
+
import "./index-Bym-ZIcv.js";
|
|
14
|
+
import { _ as we } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BC4jTtVY.js";
|
|
15
|
+
import { c as g } from "./index-DMfCzjiA.js";
|
|
16
|
+
import { u as be } from "./template-DKgW9ul3.js";
|
|
17
|
+
import { _ as H } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
18
|
+
import { u as ve } from "./onboardingSetup-DlYM-oqd.js";
|
|
19
|
+
import { useRouter as Ce } from "vue-router";
|
|
20
|
+
import { R as Se } from "./app-BF1vds2J.js";
|
|
21
|
+
const xe = { class: "space-y-8" }, Fe = /* @__PURE__ */ z({
|
|
21
22
|
__name: "QueueSheet",
|
|
22
23
|
emits: ["update:model-value"],
|
|
23
|
-
setup(
|
|
24
|
-
const d =
|
|
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
|
|
28
|
-
console.log(
|
|
28
|
+
const s = await g.getPromotionQueue();
|
|
29
|
+
console.log(s, "jobs"), b.value = s;
|
|
29
30
|
}
|
|
30
|
-
const
|
|
31
|
+
const S = [
|
|
31
32
|
{
|
|
32
33
|
header: "Started At",
|
|
33
|
-
accessorFn: (
|
|
34
|
+
accessorFn: (s) => s.createdAt,
|
|
34
35
|
enableSorting: !0
|
|
35
36
|
},
|
|
36
37
|
{
|
|
37
38
|
header: "Campaigns",
|
|
38
|
-
accessorFn: (
|
|
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
|
-
}), (
|
|
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) =>
|
|
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
|
-
|
|
62
|
-
u[3] || (u[3] =
|
|
63
|
-
|
|
64
|
-
modelValue:
|
|
65
|
-
"onUpdate:modelValue": u[0] || (u[0] = (f) =>
|
|
66
|
-
"column-filter":
|
|
67
|
-
"column-defs":
|
|
68
|
-
"row-data": a(
|
|
69
|
-
"hide-footer": a(
|
|
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
|
-
}),
|
|
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(
|
|
80
|
-
const { t: n } =
|
|
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
|
-
},
|
|
91
|
+
}, b = {
|
|
91
92
|
label: "Queue",
|
|
92
93
|
value: "queue",
|
|
93
94
|
isPrimary: !1,
|
|
94
95
|
prependIcon: "work_history"
|
|
95
|
-
}, I =
|
|
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 =
|
|
105
|
+
], c = C({
|
|
105
106
|
searchKey: "",
|
|
106
107
|
location: [],
|
|
107
108
|
effectType: []
|
|
108
109
|
});
|
|
109
|
-
function
|
|
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
|
|
117
|
-
var l,
|
|
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 = (
|
|
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 =
|
|
124
|
-
() =>
|
|
125
|
-
(e) =>
|
|
124
|
+
const h = se(
|
|
125
|
+
() => s.campaigns.promotion.filter(
|
|
126
|
+
(e) => Y(e) && J(e)
|
|
126
127
|
)
|
|
127
|
-
),
|
|
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) =>
|
|
139
|
+
accessorFn: (e) => ge(e),
|
|
135
140
|
cell(e) {
|
|
136
|
-
return
|
|
141
|
+
return K(e.row.original);
|
|
137
142
|
}
|
|
138
143
|
},
|
|
139
144
|
{
|
|
140
145
|
header: n("connect.promotion.type"),
|
|
141
|
-
accessorFn: (e) => `${
|
|
146
|
+
accessorFn: (e) => `${Q.title(e.effect.options.target)} promotion`
|
|
142
147
|
},
|
|
143
148
|
{
|
|
144
149
|
header: n("connect.promotion.summary"),
|
|
145
|
-
accessorFn: (e) =>
|
|
150
|
+
accessorFn: (e) => E(e.effect)
|
|
146
151
|
},
|
|
147
152
|
{
|
|
148
153
|
header: n("connect.promotion.actions"),
|
|
149
154
|
cell(e) {
|
|
150
|
-
return
|
|
151
|
-
|
|
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
|
|
161
|
+
o.stopPropagation(), await $(e.row.original);
|
|
157
162
|
}
|
|
158
163
|
}),
|
|
159
|
-
|
|
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
|
|
169
|
+
o.stopPropagation(), await U(e.row.original);
|
|
165
170
|
}
|
|
166
171
|
}),
|
|
167
|
-
|
|
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(),
|
|
177
|
+
o.stopPropagation(), D(e.row.original);
|
|
173
178
|
}
|
|
174
179
|
})
|
|
175
180
|
]);
|
|
176
181
|
}
|
|
177
182
|
}
|
|
178
|
-
],
|
|
179
|
-
async function
|
|
180
|
-
await
|
|
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
|
|
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
|
|
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 =
|
|
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
|
|
213
|
+
async function $(e) {
|
|
209
214
|
await R.push({
|
|
210
|
-
name:
|
|
215
|
+
name: Se["$connect-CAMPAIGN_PROMOTION_ANALYTIC"],
|
|
211
216
|
params: { id: e._id }
|
|
212
217
|
});
|
|
213
218
|
}
|
|
214
|
-
async function
|
|
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 =
|
|
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
|
|
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
|
|
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
|
|
246
|
+
async function Z(e) {
|
|
242
247
|
var o;
|
|
243
248
|
switch (e) {
|
|
244
249
|
case "create":
|
|
245
|
-
|
|
250
|
+
F();
|
|
246
251
|
break;
|
|
247
252
|
case "sync":
|
|
248
|
-
await
|
|
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
|
|
267
|
-
return
|
|
271
|
+
const ee = ve();
|
|
272
|
+
return re(async () => {
|
|
268
273
|
var e;
|
|
269
274
|
await u(async () => {
|
|
270
|
-
await
|
|
271
|
-
}), await
|
|
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"),
|
|
274
|
-
return y(), A
|
|
275
|
-
|
|
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,
|
|
278
|
-
"onClick:action":
|
|
282
|
+
actions: a(h).length > 0 ? [B, d, b] : [],
|
|
283
|
+
"onClick:action": Z
|
|
279
284
|
}, null, 8, ["title", "actions"]),
|
|
280
|
-
|
|
281
|
-
|
|
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
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
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(
|
|
303
|
+
items: a(S).locationOptions
|
|
299
304
|
}, null, 8, ["label", "modelValue", "items"]),
|
|
300
|
-
|
|
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
|
-
|
|
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
|
-
|
|
323
|
+
r(k, {
|
|
319
324
|
class: "xs:hidden sm:hidden",
|
|
320
325
|
"row-data": a(h),
|
|
321
|
-
"column-defs":
|
|
326
|
+
"column-defs": W,
|
|
322
327
|
"search-value": c.value.searchKey,
|
|
323
328
|
"column-filter": [],
|
|
324
|
-
onRowClick: o[4] || (o[4] = (t) =>
|
|
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
|
-
|
|
332
|
+
r(ne, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
|
|
328
333
|
default: V(() => [
|
|
329
|
-
(y(!0), A
|
|
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(
|
|
336
|
+
), (t) => (y(), T(te, {
|
|
332
337
|
key: t._id.toString(),
|
|
333
|
-
onClick: (_) =>
|
|
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
|
-
|
|
338
|
-
|
|
339
|
-
(y(), T(
|
|
340
|
-
|
|
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(
|
|
348
|
+
label: `${a(Q).title(t.effect.options.target)} promotion`
|
|
344
349
|
}, null, 8, ["label"])
|
|
345
350
|
]),
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
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
|
-
|
|
352
|
-
|
|
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
|
|
363
|
+
_.stopPropagation(), await $(t);
|
|
358
364
|
}
|
|
359
365
|
}, null, 8, ["onClick"]),
|
|
360
|
-
|
|
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
|
|
371
|
+
_.stopPropagation(), await U(t);
|
|
366
372
|
}
|
|
367
373
|
}, null, 8, ["onClick"]),
|
|
368
|
-
|
|
374
|
+
r(O, {
|
|
369
375
|
icon: "delete",
|
|
370
376
|
"icon-color": "neutral-gray-400",
|
|
371
377
|
variant: "tertiary",
|
|
372
|
-
onClick: (_) => (_.stopPropagation(),
|
|
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(
|
|
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] =
|
|
388
|
-
src:
|
|
393
|
+
o[6] || (o[6] = i("img", {
|
|
394
|
+
src: me,
|
|
389
395
|
class: "aspect-square w-[150px]"
|
|
390
396
|
}, null, -1)),
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
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
|
-
|
|
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) =>
|
|
405
|
+
onClick: o[5] || (o[5] = (t) => F())
|
|
400
406
|
}, null, 8, ["label"])
|
|
401
407
|
]),
|
|
402
408
|
_: 1
|
|
403
409
|
}))
|
|
404
410
|
]),
|
|
405
|
-
|
|
411
|
+
r(we, {
|
|
406
412
|
ref_key: "sheetRef",
|
|
407
|
-
ref:
|
|
408
|
-
"onSubmit:modelValue":
|
|
413
|
+
ref: x,
|
|
414
|
+
"onSubmit:modelValue": X
|
|
409
415
|
}, null, 512),
|
|
410
|
-
|
|
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
|
-
|
|
425
|
+
io as default
|
|
420
426
|
};
|