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