@feedmepos/mf-connect 0.1.121-dev → 0.1.122-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/dist/{App-DwtaLO6F.js → App-Otfhp3H1.js} +10 -10
- package/dist/{AuditLogs-s572aHLw.js → AuditLogs-C4DQ624f.js} +12 -12
- package/dist/{Bin-BBaVggZI.js → Bin-B5aee7-4.js} +8 -8
- package/dist/{Broadcast-CqAQ3EmE.js → Broadcast-BAQl4nEs.js} +12 -12
- package/dist/{CampaignAnalytic-34bfP8iY.js → CampaignAnalytic-mc0rWnt4.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BvAAxE3a.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C06IzthB.js} +8 -8
- package/dist/{Card-8hlnKnhk.js → Card-CoeclAye.js} +22 -22
- package/dist/{Collections-BJ0-UjKf.js → Collections-DIamDQDK.js} +8 -8
- package/dist/{Credit-DJNc__yp.js → Credit-CoIPdhRy.js} +12 -12
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BvilcyyB.js → DateRangeChip.vue_vue_type_script_setup_true_lang-nI2oXZiR.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSjOHBhA.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CXNf6M-7.js} +35 -35
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DFzVuuEy.js → EffectSheet.vue_vue_type_style_index_0_lang-BZ42IxXy.js} +6 -6
- package/dist/{Experience-D-cUhjWc.js → Experience-bJSkl9Xm.js} +13 -13
- package/dist/{FileSaver.min-DKYYse6A.js → FileSaver.min-CFKCOdNt.js} +1 -1
- package/dist/{Game-DdFV90Kp.js → Game-DMoyicRl.js} +13 -13
- package/dist/{GiftCardSetup-Dz0AN159.js → GiftCardSetup-B28jebxX.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-GCp3IFaC.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-il1_TmfZ.js} +7 -7
- package/dist/{Goals-Dg_kAezl.js → Goals-B9XRX-to.js} +4 -4
- package/dist/{Grab-BSQt4deB.js → Grab-CNXLDEKx.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B_H1Bgy1.js → ImageInput.vue_vue_type_script_setup_true_lang-BZH5In2V.js} +1 -1
- package/dist/{Index-ZSup3I7J.js → Index-BgGZBhf8.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DisF-jcd.js → LocationPicker.vue_vue_type_script_setup_true_lang-M6eRk_nC.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BHhjZOYi.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DQCpH8dV.js} +1 -1
- package/dist/{LoyaltyDashboard-D8BhHsaw.js → LoyaltyDashboard-B-vMpAdx.js} +15 -15
- package/dist/{MainLayout-BBnhRxyR.js → MainLayout-rv2xd7Yc.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-DFrPlj5u.js → MainLayout.vue_vue_type_script_setup_true_lang-BMwNt98l.js} +3 -3
- package/dist/{Marketing-5F9LLn91.js → Marketing-Wu2M2xPV.js} +4 -4
- package/dist/{MarketingMaterialEdit-C7dD4Bzw.js → MarketingMaterialEdit-C5s0grZF.js} +6 -6
- package/dist/{Member-Dk4JeGru.js → Member-D02_98Yo.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-ISolD_Qg.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DGVDww0P.js} +23 -23
- package/dist/{MemberImportHistory-C0Ep8L2q.js → MemberImportHistory-ZqjppSHQ.js} +7 -7
- package/dist/{MemberList-BsuPfBgk.js → MemberList-DpWX6mT9.js} +14 -14
- package/dist/{MemberTransactions-mZ3fHw5O.js → MemberTransactions-BiE7FtKT.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-1weyRM8c.js → MessageInput.vue_vue_type_script_setup_true_lang-DUtNRTNB.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-caED3JRW.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DD5GkLoA.js} +1 -1
- package/dist/{Mission-C7DqUOJz.js → Mission-D3uyaxrt.js} +14 -14
- package/dist/{Overview-U201nBVO.js → Overview-C80up9Cz.js} +20 -20
- package/dist/{Overview-VABLg36G.js → Overview-Dzs2l9dt.js} +4 -4
- package/dist/{Point-DU6Ndv35.js → Point-CtyqLefg.js} +14 -14
- package/dist/{Promotion-9UhZXNPb.js → Promotion-C1pB_Mup.js} +14 -14
- package/dist/{Queue-CUxMedbd.js → Queue-DkmBLRMM.js} +12 -12
- package/dist/{Record-BIftCQzV.js → Record-B5onEmZr.js} +9 -9
- package/dist/{Review-lyVgTfsP.js → Review-fkpAgnWl.js} +2 -2
- package/dist/{ReviewFacebookCallback-Da5G19bE.js → ReviewFacebookCallback-CLeQP52t.js} +5 -5
- package/dist/{ReviewGoogleCallback-B41PXfsj.js → ReviewGoogleCallback-Cj9zmCme.js} +5 -5
- package/dist/{Reward-BMun_Rs4.js → Reward-BNt4rJXG.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-3TONrUQu.js → RewardGroup.vue_vue_type_script_setup_true_lang-CJbD7izQ.js} +13 -13
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DHzFgr4h.js → RuleGroup.vue_vue_type_script_setup_true_lang-ie0okvmi.js} +14 -14
- package/dist/{Segment-1VS7ycXi.js → Segment-9weq5m6d.js} +25 -25
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-C5iJSlxi.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-j_DlD4Uz.js} +14 -14
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CXY9Wyk9.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-Bq1XKmWl.js} +4 -4
- package/dist/{Setting-BdtzvKjt.js → Setting-DadiBCUq.js} +14 -14
- package/dist/{SettingAdvertisements-BO2l3HBT.js → SettingAdvertisements-BdXfSnNM.js} +12 -12
- package/dist/{Settings-CvYawDU5.js → Settings-SF-Ai88W.js} +5 -5
- package/dist/{Store-DWQz-MgY.js → Store-D3cAsGJ6.js} +26 -26
- package/dist/{StoreRewards-Bfwuqxf-.js → StoreRewards-C2y1M4Ps.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-CBwmDKAw.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DX8nrBZd.js} +24 -24
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CHzFjo24.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CjBucvpJ.js} +2 -2
- package/dist/{Tier-CKn-l-wY.js → Tier-Dci8VbpH.js} +26 -26
- package/dist/{Title-BXDk69uL.js → Title-D4BpqJPQ.js} +22 -22
- package/dist/{Transaction-D4HQO4i9.js → Transaction-1biUZvIt.js} +2 -2
- package/dist/{Upselling-CikWzKq7.js → Upselling-BTqqiZlc.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-um124o4t.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-D7W1cxlp.js} +6 -6
- package/dist/{Voucher-BGIyw4jq.js → Voucher-DSygKr_u.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BKyZj5SP.js → VoucherEditor.vue_vue_type_script_setup_true_lang-JL1V_LbU.js} +12 -12
- package/dist/{WhatsappAccount-Cd82g_xj.js → WhatsappAccount-CZ-js350.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DWy8kS66.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DBiqtHgs.js} +1 -1
- package/dist/{WhatsappBot-auQhO8zk.js → WhatsappBot-Bygdlech.js} +6 -6
- package/dist/{WhatsappBotLogs-CWuJzK9W.js → WhatsappBotLogs-BFLRYeQf.js} +6 -6
- package/dist/{WhatsappBotSettings-B8KXMpIF.js → WhatsappBotSettings-COZEGQxT.js} +4 -4
- package/dist/{WhatsappLayout-DxooAkkL.js → WhatsappLayout-DEzbS1SP.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-CYHmgQ2v.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DUX8zJnw.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DilxQM_z.js → ZodTextField.vue_vue_type_script_setup_true_lang-BJFYIRZl.js} +2 -2
- package/dist/{app-BG-zK89d.js → app-gGao9t7Z.js} +70 -70
- package/dist/app.js +1 -1
- package/dist/{base.export-BcMuREGH.js → base.export-cVWgL6vy.js} +2 -2
- package/dist/{business-9_NOI2V9.js → business-DbDh-BxN.js} +1 -1
- package/dist/{campaign-DjBTRZyA.js → campaign-B9tq1vZv.js} +8 -8
- package/dist/{campaign-8y_9SvKP.js → campaign-D8jV7hA8.js} +2 -2
- package/dist/{campaign.fn-COkPH1QE.js → campaign.fn-DiQIanat.js} +142 -142
- package/dist/{collection.fn-yXurU9iv.js → collection.fn-DBfMa_P2.js} +2 -2
- package/dist/{currency-YzyBFtDU.js → currency-SZSbDgAr.js} +1 -1
- package/dist/{duplicateCampaign-dRWioann.js → duplicateCampaign-3K1VYqMD.js} +2 -2
- package/dist/{effect-bMGarJZ6.js → effect-CVTuOMbk.js} +1 -1
- package/dist/{email-addresses-Ciu83j_3.js → email-addresses-DpVS_e0D.js} +2 -2
- package/dist/{feature-flag-H5D1Cob5.js → feature-flag-orm4I4-0.js} +1 -1
- package/dist/{helper-BH9HMikb.js → helper-Ct1_-IEp.js} +1 -1
- package/dist/{index-BxwJfT08.js → index-B2GJ653R.js} +3 -3
- package/dist/{index-_giqGuYM.js → index-B6hbCvzb.js} +1 -1
- package/dist/{index-BvKJM3M2.js → index-BOoNJIJh.js} +2 -2
- package/dist/{index-RvJ5cq__.js → index-BUDFQtMG.js} +3 -3
- package/dist/{index-CJAFz9Nn.js → index-BXXLVdgj.js} +1 -1
- package/dist/{index-DbxiG50D.js → index-BeGbQvrb.js} +2 -2
- package/dist/{index-Ye3qFt34.js → index-Bz2GhZNd.js} +2 -2
- package/dist/{index-B7-Uvnfn.js → index-COAgKj0v.js} +2 -2
- package/dist/{index-pnM5q4c_.js → index-CONIxgEK.js} +4 -4
- package/dist/{index-CH-KHkm5.js → index-Clg5CVmr.js} +1 -1
- package/dist/{index-Cyf05z_2.js → index-CrluLS6Q.js} +2 -2
- package/dist/{index-BaTnDV-T.js → index-DBpHsVZR.js} +2 -2
- package/dist/{index-taPHgOqE.js → index-DCuUA8EI.js} +7 -7
- package/dist/{index-DpkoCl4z.js → index-DFePTLAw.js} +8 -8
- package/dist/{index-DkMy7WpU.js → index-DW5cDL7l.js} +2 -2
- package/dist/{index-BHO82_Ix.js → index-DwofBI5n.js} +1 -1
- package/dist/{index-DYu7ZdQt.js → index-MlhU8ucu.js} +1 -1
- package/dist/{index-CIOidYvo.js → index-NN_GXe7Q.js} +1 -1
- package/dist/{index-CooParq-.js → index-uIOAK7Yt.js} +4 -4
- package/dist/{index-MWNnMT2T.js → index-vfdh50L9.js} +1 -1
- package/dist/{index.esm2017-CLxZor1Y.js → index.esm2017-ZSQn8C-d.js} +32 -32
- package/dist/{loading-CsOSUWBd.js → loading-B-xDCOdo.js} +1 -1
- package/dist/{lodash-CshibTzh.js → lodash-DFW9UbwC.js} +1 -1
- package/dist/{member-import-BdaGAjjt.js → member-import-J0fm9uzH.js} +1 -1
- package/dist/{membership-C5JWO1FM.js → membership-B8KWhxBD.js} +2 -2
- package/dist/{money-Blt5EM43.js → money-CSIA5h2F.js} +1 -1
- package/dist/{number-COm3MiH8.js → number-mHKvdu_x.js} +1 -1
- package/dist/objectid-BVNgDFLu.js +145 -0
- package/dist/{onboarding-BbQDJOOS.js → onboarding-CbvpduVK.js} +3 -3
- package/dist/{onboardingSetup-BLISY52M.js → onboardingSetup-pQHr4ATi.js} +2 -2
- package/dist/{plugins-De_chCYU.js → plugins-D_LhWxFb.js} +3 -3
- package/dist/{reward-Dl8Zoxe_.js → reward-CFEIG_Fc.js} +1 -1
- package/dist/{rule-D6_iss3O.js → rule-Dqxm0TiU.js} +9 -9
- package/dist/{template-Cw6j1cLX.js → template-BKPcMDwU.js} +37 -34
- package/dist/{timezone-CA5FwOyy.js → timezone-CijbubTV.js} +1 -1
- package/dist/{transaction.fn-DI_NeGQb.js → transaction.fn-Bg5w0js6.js} +2 -2
- package/dist/{trigger-CuymoMM-.js → trigger-Z2ynsa7k.js} +5 -5
- package/dist/{useMarketingMaterialActions-Bz0Kgvgd.js → useMarketingMaterialActions-Dgm-u9Nu.js} +4 -4
- package/dist/{usePagination-yb1rupwa.js → usePagination-Dlw4BUF1.js} +1 -1
- package/dist/{user-QSKyFaMI.js → user-BRNDlg4h.js} +1 -1
- package/dist/{vue-i18n-B_qtODCw.js → vue-i18n-h2H0nxj-.js} +341 -341
- package/dist/{xlsx--RjkGa9A.js → xlsx-CnlrcvXS.js} +1 -1
- package/dist/{zod-CmPMd-h0.js → zod-DPWT8J03.js} +1 -1
- package/package.json +1 -1
- package/dist/objectid-DQTx3-ee.js +0 -145
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as Fe, o as Ze } from "./index-
|
|
1
|
+
import { n as Fe, o as Ze } from "./index-DBpHsVZR.js";
|
|
2
2
|
import { h as _ } from "./moment-D7p2TMB-.js";
|
|
3
3
|
import { a as pe, b as N, c as y } from "./tslib.es6-BCqqvLQ_.js";
|
|
4
|
-
import { u as re } from "./membership-
|
|
5
|
-
import { R as K, i as he } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
4
|
+
import { u as re } from "./membership-B8KWhxBD.js";
|
|
5
|
+
import { R as K, i as he } from "./index-DCuUA8EI.js";
|
|
6
|
+
import "./index-uIOAK7Yt.js";
|
|
7
|
+
import "./index-BUDFQtMG.js";
|
|
8
|
+
import "./index-CONIxgEK.js";
|
|
9
|
+
import "./index-BeGbQvrb.js";
|
|
10
10
|
import "./index-I9lmcd2w.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import { u as Ge } from "./business-
|
|
11
|
+
import "./index-MlhU8ucu.js";
|
|
12
|
+
import { u as Ge } from "./business-DbDh-BxN.js";
|
|
13
13
|
var fe = [
|
|
14
14
|
"MO",
|
|
15
15
|
"TU",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as L, openBlock as
|
|
1
|
+
import { defineComponent as L, openBlock as r, createBlock as C, resolveDynamicComponent as A, unref as e, ref as B, computed as j, onMounted as M, resolveComponent as g, withCtx as m, createElementVNode as l, createElementBlock as h, createVNode as c, normalizeClass as b, createTextVNode as k, toDisplayString as u, Fragment as S, renderList as N, createCommentVNode as I } from "vue";
|
|
2
2
|
import { _ as q } from "./remy-icon-BhUGu2NI.js";
|
|
3
|
-
import { u as J } from "./campaign-
|
|
3
|
+
import { u as J } from "./campaign-D8jV7hA8.js";
|
|
4
4
|
import { useDialog as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { F as H } from "./index-
|
|
6
|
-
import { _ as U } from "./lodash-
|
|
7
|
-
import { C as K } from "./campaign-
|
|
5
|
+
import { F as H } from "./index-DCuUA8EI.js";
|
|
6
|
+
import { _ as U } from "./lodash-DFW9UbwC.js";
|
|
7
|
+
import { C as K } from "./campaign-B9tq1vZv.js";
|
|
8
8
|
import { J as Q } from "./JsonViewer-v8_C7l5N.js";
|
|
9
|
-
import { u as W } from "./vue-i18n-
|
|
10
|
-
import { u as X } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as W } from "./vue-i18n-h2H0nxj-.js";
|
|
10
|
+
import { u as X } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CXNf6M-7.js";
|
|
11
11
|
import { u as Y } from "./remy-Qz_pNsUS.js";
|
|
12
12
|
const Z = /* @__PURE__ */ L({
|
|
13
13
|
__name: "CampaignChip",
|
|
@@ -16,12 +16,12 @@ const Z = /* @__PURE__ */ L({
|
|
|
16
16
|
},
|
|
17
17
|
setup(f) {
|
|
18
18
|
const d = K[f.type];
|
|
19
|
-
return (p, y) => (
|
|
19
|
+
return (p, y) => (r(), C(A(e(d).chip())));
|
|
20
20
|
}
|
|
21
21
|
}), ee = { class: "flex flex-nowrap gap-x-2 grow h-full" }, te = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "p-8 w-1/4"
|
|
24
|
-
}, ne = { class: "flex flex-col grow p-24" }, oe = { class: "space-y-4" }, le = { class: "fm-typo-en-title-sm-800" }, ae = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, se = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, ie = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, ce = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, pe = { class: "fm-typo-en-title-sm-800" },
|
|
24
|
+
}, ne = { class: "flex flex-col grow p-24" }, oe = { class: "space-y-4" }, le = { class: "fm-typo-en-title-sm-800" }, ae = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, se = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, ie = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, ce = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, pe = { class: "fm-typo-en-title-sm-800" }, re = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, me = { class: "flex gap-4 items-end justify-end py-8" }, ue = { class: "flex items-center gap-8" }, de = /* @__PURE__ */ L({
|
|
25
25
|
__name: "TemplateDialog",
|
|
26
26
|
props: {
|
|
27
27
|
campaignType: {
|
|
@@ -45,8 +45,8 @@ const Z = /* @__PURE__ */ L({
|
|
|
45
45
|
);
|
|
46
46
|
return s.campaignType ? i.filter(
|
|
47
47
|
(a) => {
|
|
48
|
-
var
|
|
49
|
-
return ((_ = (
|
|
48
|
+
var v, _;
|
|
49
|
+
return ((_ = (v = a.defaultValue) == null ? void 0 : v.campaign) == null ? void 0 : _.type) === s.campaignType;
|
|
50
50
|
}
|
|
51
51
|
) : n.value.intention === null ? U.sampleSize(i, 7) : i.filter(
|
|
52
52
|
(a) => a.intention.includes(n.value.intention)
|
|
@@ -68,20 +68,23 @@ const Z = /* @__PURE__ */ L({
|
|
|
68
68
|
t("connect.templateDialog.remyGoal", {
|
|
69
69
|
goal: t(`connect.templateDialog.intention.${n.value.intention}`)
|
|
70
70
|
})
|
|
71
|
-
), p.close(), $.activate({
|
|
71
|
+
), p.close(), $.activate({
|
|
72
|
+
prompt: i.join(" "),
|
|
73
|
+
forceNewConversation: !0
|
|
74
|
+
});
|
|
72
75
|
}
|
|
73
76
|
function E() {
|
|
74
77
|
const i = n.value.template;
|
|
75
78
|
s.onOk(y.templates.find((a) => a._id === i)), p.close();
|
|
76
79
|
}
|
|
77
80
|
return (i, a) => {
|
|
78
|
-
const
|
|
79
|
-
return
|
|
80
|
-
default:
|
|
81
|
+
const v = g("FmChip"), _ = g("FmListItem"), P = g("FmList"), F = g("FmCard"), x = g("FmButton"), z = g("FmSpacer");
|
|
82
|
+
return r(), C(F, { class: "h-[534px] max-w-6xl" }, {
|
|
83
|
+
default: m(() => [
|
|
81
84
|
l("div", ee, [
|
|
82
|
-
s.campaignType ?
|
|
85
|
+
s.campaignType ? I("", !0) : (r(), h("div", te, [
|
|
83
86
|
c(P, null, {
|
|
84
|
-
default:
|
|
87
|
+
default: m(() => [
|
|
85
88
|
c(_, {
|
|
86
89
|
class: b([{
|
|
87
90
|
"bg-fm-color-system-warning-100": e(n).intention === null
|
|
@@ -90,19 +93,19 @@ const Z = /* @__PURE__ */ L({
|
|
|
90
93
|
e(n).intention = null, e(n).template = null;
|
|
91
94
|
})
|
|
92
95
|
}, {
|
|
93
|
-
append:
|
|
94
|
-
c(
|
|
96
|
+
append: m(() => [
|
|
97
|
+
c(v, {
|
|
95
98
|
label: e(t)("connect.templateDialog.hot"),
|
|
96
99
|
variant: "critical"
|
|
97
100
|
}, null, 8, ["label"])
|
|
98
101
|
]),
|
|
99
|
-
default:
|
|
102
|
+
default: m(() => [
|
|
100
103
|
k(u(e(t)("connect.templateDialog.mostPopular")) + " ", 1)
|
|
101
104
|
]),
|
|
102
105
|
_: 1
|
|
103
106
|
}, 8, ["class"]),
|
|
104
|
-
(
|
|
105
|
-
key:
|
|
107
|
+
(r(!0), h(S, null, N(e(H).options, (o, w) => (r(), C(_, {
|
|
108
|
+
key: w,
|
|
106
109
|
class: b(["rounded-sm", {
|
|
107
110
|
"bg-fm-color-system-warning-100": e(n).intention === o
|
|
108
111
|
}]),
|
|
@@ -111,7 +114,7 @@ const Z = /* @__PURE__ */ L({
|
|
|
111
114
|
e(n).intention = o, e(n).template = null;
|
|
112
115
|
}
|
|
113
116
|
}, {
|
|
114
|
-
default:
|
|
117
|
+
default: m(() => [
|
|
115
118
|
k(u(e(t)(`connect.templateDialog.intention.${o}`)), 1)
|
|
116
119
|
]),
|
|
117
120
|
_: 2
|
|
@@ -128,15 +131,15 @@ const Z = /* @__PURE__ */ L({
|
|
|
128
131
|
l("div", se, [
|
|
129
132
|
c(Q, { json: e(D) }, null, 8, ["json"]),
|
|
130
133
|
l("div", ie, [
|
|
131
|
-
(
|
|
132
|
-
key:
|
|
134
|
+
(r(!0), h(S, null, N(e(D), (o, w) => (r(), C(F, {
|
|
135
|
+
key: w,
|
|
133
136
|
variant: "outlined",
|
|
134
137
|
class: b(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
|
|
135
138
|
"bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(n).template === o._id.toString()
|
|
136
139
|
}]),
|
|
137
140
|
onClick: (T) => e(n).template = o._id.toString()
|
|
138
141
|
}, {
|
|
139
|
-
default:
|
|
142
|
+
default: m(() => {
|
|
140
143
|
var T, O;
|
|
141
144
|
return [
|
|
142
145
|
l("div", ce, [
|
|
@@ -145,15 +148,15 @@ const Z = /* @__PURE__ */ L({
|
|
|
145
148
|
}, null, 8, ["type"])
|
|
146
149
|
]),
|
|
147
150
|
l("div", pe, u(e(d)(o.name_locale, o.name)), 1),
|
|
148
|
-
l("p",
|
|
151
|
+
l("p", re, u(e(d)(o.description_locale, o.description ?? "")), 1)
|
|
149
152
|
];
|
|
150
153
|
}),
|
|
151
154
|
_: 2
|
|
152
155
|
}, 1032, ["class", "onClick"]))), 128))
|
|
153
156
|
])
|
|
154
157
|
]),
|
|
155
|
-
l("div",
|
|
156
|
-
c(
|
|
158
|
+
l("div", me, [
|
|
159
|
+
c(x, {
|
|
157
160
|
class: "sm:w-full xs:w-full",
|
|
158
161
|
variant: "plain",
|
|
159
162
|
label: e(t)("connect.templateDialog.customCampaign"),
|
|
@@ -162,7 +165,7 @@ const Z = /* @__PURE__ */ L({
|
|
|
162
165
|
}, null, 8, ["label"]),
|
|
163
166
|
s.campaignType && ["PROMOTION", "VOUCHER", "BROADCAST", "POINT", "COIN", "CREDIT"].includes(
|
|
164
167
|
s.campaignType
|
|
165
|
-
) ? (
|
|
168
|
+
) ? (r(), C(x, {
|
|
166
169
|
key: 0,
|
|
167
170
|
class: "sm:w-full xs:w-full",
|
|
168
171
|
variant: "tertiary",
|
|
@@ -170,7 +173,7 @@ const Z = /* @__PURE__ */ L({
|
|
|
170
173
|
size: "md",
|
|
171
174
|
onClick: V
|
|
172
175
|
}, {
|
|
173
|
-
default:
|
|
176
|
+
default: m(() => [
|
|
174
177
|
l("span", ue, [
|
|
175
178
|
a[2] || (a[2] = l("img", {
|
|
176
179
|
src: q,
|
|
@@ -181,16 +184,16 @@ const Z = /* @__PURE__ */ L({
|
|
|
181
184
|
])
|
|
182
185
|
]),
|
|
183
186
|
_: 1
|
|
184
|
-
}, 8, ["label"])) :
|
|
187
|
+
}, 8, ["label"])) : I("", !0),
|
|
185
188
|
c(z, { class: "sm:hidden xs:hidden" }),
|
|
186
|
-
c(
|
|
189
|
+
c(x, {
|
|
187
190
|
class: "sm:w-full xs:w-full",
|
|
188
191
|
variant: "tertiary",
|
|
189
192
|
label: e(t)("connect.templateDialog.cancel"),
|
|
190
193
|
size: "md",
|
|
191
194
|
onClick: a[1] || (a[1] = (o) => e(p).close())
|
|
192
195
|
}, null, 8, ["label"]),
|
|
193
|
-
c(
|
|
196
|
+
c(x, {
|
|
194
197
|
class: "sm:w-full xs:w-full",
|
|
195
198
|
variant: "primary",
|
|
196
199
|
label: e(t)("connect.templateDialog.start"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { s as u } from "./index-
|
|
1
|
+
import "./index-uIOAK7Yt.js";
|
|
2
|
+
import { s as u } from "./index-vfdh50L9.js";
|
|
3
3
|
function i(l) {
|
|
4
4
|
var c, f;
|
|
5
5
|
const e = (c = l.metadata) == null ? void 0 : c.operator, t = typeof e == "string" ? e : [e == null ? void 0 : e.name, e == null ? void 0 : e.phoneNumber, e == null ? void 0 : e.email].filter(Boolean).join(" / ") || (e == null ? void 0 : e.uid);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as u, createBlock as p, unref as r } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { R as i } from "./index-
|
|
4
|
-
import { a as E } from "./RuleGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { l as e, C as d } from "./index-
|
|
6
|
-
import { i as n } from "./plugins-
|
|
2
|
+
import "./index-DBpHsVZR.js";
|
|
3
|
+
import { R as i } from "./index-DCuUA8EI.js";
|
|
4
|
+
import { a as E } from "./RuleGroup.vue_vue_type_script_setup_true_lang-ie0okvmi.js";
|
|
5
|
+
import { l as e, C as d } from "./index-CONIxgEK.js";
|
|
6
|
+
import { i as n } from "./plugins-D_LhWxFb.js";
|
|
7
7
|
const L = /* @__PURE__ */ m({
|
|
8
8
|
__name: "BillRuleGroup",
|
|
9
9
|
props: {
|
package/dist/{useMarketingMaterialActions-Bz0Kgvgd.js → useMarketingMaterialActions-Dgm-u9Nu.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as b } from "./vue-i18n-
|
|
1
|
+
import { u as b } from "./vue-i18n-h2H0nxj-.js";
|
|
2
2
|
import { useSnackbar as h } from "@feedmepos/ui-library";
|
|
3
|
-
import { c as k, p as I } from "./plugins-
|
|
4
|
-
import { S as o, g as c, d as M } from "./index-
|
|
5
|
-
import { u as y } from "./loading-
|
|
3
|
+
import { c as k, p as I } from "./plugins-D_LhWxFb.js";
|
|
4
|
+
import { S as o, g as c, d as M } from "./index-Bz2GhZNd.js";
|
|
5
|
+
import { u as y } from "./loading-B-xDCOdo.js";
|
|
6
6
|
const l = (e) => M(`businesses/${e}/marketing-materials`), v = {
|
|
7
7
|
async createMarketingMaterial(e) {
|
|
8
8
|
const t = o.getBusinessId();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as P, computed as v, ref as w, onMounted as $, watch as M, resolveComponent as D, openBlock as u, createElementBlock as p, createVNode as r, unref as n, createElementVNode as s, createCommentVNode as N, toDisplayString as b } from "vue";
|
|
2
2
|
import { _ as S } from "./FmTableSelection.vue_vue_type_script_setup_true_lang-DzcUc0_w.js";
|
|
3
|
-
import { l as E } from "./lodash-
|
|
3
|
+
import { l as E } from "./lodash-DFW9UbwC.js";
|
|
4
4
|
const R = { class: "" }, A = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "w-full flex flex-col gap-16 items-center py-16"
|