@feedmepos/mf-connect 0.1.38-beta.44 → 0.1.38-beta.46
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/{Analytic-DaVlIGf-.js → Analytic-BGKCj1jr.js} +13 -13
- package/dist/{App-BuWDQu4h.js → App-Rjzbi736.js} +7 -7
- package/dist/{AuditLogs-Dg-AmPCL.js → AuditLogs-Dip8piV3.js} +9 -9
- package/dist/{Bin-BLZqBirZ.js → Bin-DOvnUMsH.js} +8 -8
- package/dist/{Broadcast-CO9pC5-Y.js → Broadcast-xcZBuHpL.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BzeOFGn3.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dizv5GP_.js} +6 -6
- package/dist/{Card-DxC4SzhE.js → Card-CKjNEigS.js} +18 -18
- package/dist/{Collections-Dl24kiOy.js → Collections-x5ofCSJN.js} +74 -73
- package/dist/{Credit-Dx9iReBU.js → Credit-BWBu_w2L.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-B31p-9aH.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js} +1143 -1117
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-YjvIstf7.js +348 -0
- package/dist/{Experience-CeTt_14y.js → Experience-pkdcwDSi.js} +8 -8
- package/dist/{Game-BiD0onYI.js → Game-Dna43QZe.js} +9 -9
- package/dist/{Grab-IOWWGsOE.js → Grab-C9Z_Zfe8.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js → ImageInput.vue_vue_type_script_setup_true_lang-DElYlMlB.js} +44 -43
- package/dist/{Index-D3z5IdXJ.js → Index-DRIWf1NE.js} +10 -10
- package/dist/{Marketing-b1cfAMZ3.js → Marketing-usRTwLLw.js} +7 -7
- package/dist/{Member-BSUAVJcD.js → Member-B70QVgJa.js} +10 -10
- package/dist/{MemberList-CnXn01xK.js → MemberList-JI4mBPfA.js} +25 -25
- package/dist/{MemberTransactions-C_oE-NJv.js → MemberTransactions-DYHJdzBn.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BYlfLbKK.js → MessageInput.vue_vue_type_script_setup_true_lang-Dvr2n1Qk.js} +5090 -5091
- package/dist/{Mission-BJpdXP_V.js → Mission-D8FTOnMy.js} +9 -9
- package/dist/{Overview-CW5f7sAz.js → Overview-CaxFeeVL.js} +19 -19
- package/dist/{Point-BlW29FTE.js → Point-I9wVIa2q.js} +8 -8
- package/dist/{Promotion-BLbBVMGg.js → Promotion-CWFtbYmb.js} +9 -9
- package/dist/{Queue-IKQPAf2s.js → Queue-BmjIEX84.js} +10 -10
- package/dist/{Record-BpAB2Eun.js → Record-DuvGrBry.js} +8 -8
- package/dist/{Reward-CRyvWOwo.js → Reward-BQ36_7d0.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CbL_JmWH.js → RewardGroup.vue_vue_type_script_setup_true_lang-0AbXVk_6.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BF98epZo.js → RuleGroup.vue_vue_type_script_setup_true_lang-pwHQUtHq.js} +596 -592
- package/dist/{Segment-C0lbV7EJ.js → Segment-ClGmNf-7.js} +23 -23
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-D1lUfj_I.js → SelectItems.vue_vue_type_script_setup_true_lang-CGsYilHx.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CurmIKU-.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bbisi3wu.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BM-fztkT.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CRnHuPPI.js} +3 -3
- package/dist/{Setting-BIgHzM4O.js → Setting-DtRP7-KR.js} +14 -14
- package/dist/{SettingAdvertisements-pSKo469B.js → SettingAdvertisements-9gG904yk.js} +12 -12
- package/dist/{Store-Czn9bmJY.js → Store-j8N8l1e7.js} +21 -21
- package/dist/{StoreRewards-BEgyufA-.js → StoreRewards-9o5EngS4.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DzlPKkvb.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Bs54sDKB.js} +31 -29
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Dt-fITiT.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CqBeBxgc.js} +1 -1
- package/dist/{Tier-uoxXOOmb.js → Tier-N4Fwb4c2.js} +23 -23
- package/dist/{Title-QaZ_Qzwk.js → Title-BisuO_Bq.js} +20 -20
- package/dist/{Transaction-By9Q6BcR.js → Transaction-BvL-lHUW.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-ChoSRMz9.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-D3zT4NEB.js} +6 -6
- package/dist/{Voucher-DD9c1bOC.js → Voucher-BNVS0bf_.js} +12 -12
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-BdAaQtUx.js +421 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B1E0-61O.js → ZodTextField.vue_vue_type_script_setup_true_lang-Db5UjYDs.js} +2 -2
- package/dist/{app-D1EzxIEG.js → app-5gFoCIZ5.js} +2285 -795
- package/dist/{app-C-L8YbbE.js → app-HOMrHaJX.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-B9L1wZ9V.js → business-DrOrg91y.js} +1 -1
- package/dist/{campaign-BR7cO_ag.js → campaign-D-0jxXgS.js} +1 -1
- package/dist/campaign-DxZjTV1c.js +233 -0
- package/dist/{campaign.enum-OFeKrvOv.js → campaign.enum-DfqdgPF7.js} +1 -1
- package/dist/{campaign.fn-B9PtQJx6.js → campaign.fn-BA9SsYlS.js} +23 -23
- package/dist/{collectible.enum-BE8Vnk8X.js → collectible.enum-CUY4edTO.js} +1 -1
- package/dist/{collection.fn-CSzvUULo.js → collection.fn-BUyLrKuP.js} +2 -2
- package/dist/{dto-DH8S9-Ib.js → dto-CdsbCKbi.js} +4 -4
- package/dist/{effect-DZGMEmET.js → effect-CHvrDcct.js} +1 -1
- package/dist/{email-addresses-Clhn0_GY.js → email-addresses-BQGuEvTh.js} +1 -1
- package/dist/{export-D2-7Mdk_.js → export-CgyLGAFe.js} +3 -3
- package/dist/{helper-A850CYX-.js → helper-CUXD11Bp.js} +1 -1
- package/dist/{index-DBkatkYW.js → index-BMpQ1Eq2.js} +1 -1
- package/dist/{index-CaRmY5ov.js → index-BTzBc44a.js} +4 -4
- package/dist/{index-Di6vuuEG.js → index-BmOfDfwV.js} +222 -217
- package/dist/{index-Fx5b3dyw.js → index-Bsz-Af4_.js} +2 -2
- package/dist/{index-CLvKSnsU.js → index-D-Qagjww.js} +3 -3
- package/dist/{index-DZ2N0Xar.js → index-DQlMaN5j.js} +1023 -1023
- package/dist/{index-ti-HnLrW.js → index-DUBEbnDX.js} +1 -1
- package/dist/{index-CZtsEfNW.js → index-DUZWoVeF.js} +1 -1
- package/dist/{index-DgS92jOx.js → index-DrRjJg2A.js} +1 -1
- package/dist/{index-aXnPGrHU.js → index-DtcXk4cG.js} +1 -1
- package/dist/{index-Ddj2NyfT.js → index-Dvy1ftAd.js} +1 -1
- package/dist/{index-DIFcHxGK.js → index-ePW_CRtd.js} +1 -1
- package/dist/{index-BIX6P8Ch.js → index-uliDTEHQ.js} +3 -3
- package/dist/{index.esm2017-CeG_Fc0h.js → index.esm2017-CJJcI6HI.js} +1 -1
- package/dist/{loading-BTmVuA3F.js → loading-O2OJnB-v.js} +1 -1
- package/dist/{membership-855TzqV2.js → membership-kVwD3i5I.js} +3 -3
- package/dist/{money-q7C-U4gP.js → money-CvRqEjZN.js} +1 -1
- package/dist/{number-D_GEDOMH.js → number-BtM53Gqu.js} +1 -1
- package/dist/{objectid-BMt_qSOq.js → objectid-BbEyb60f.js} +12 -12
- package/dist/{campaign-DBsKNNfL.js → plugins-nuoNiWZV.js} +783 -788
- package/dist/{reward-BzhG23G8.js → reward-C904TC9N.js} +1 -1
- package/dist/{rule-hkruDWXK.js → rule-B2r0vrQs.js} +3 -3
- package/dist/{rule-builder-CDKwRPm6.js → rule-builder-DxCXxYrs.js} +1 -1
- package/dist/template-C8z7oS1X.js +188 -0
- package/dist/{timezone-CczMDZJW.js → timezone-C-mgrIzx.js} +1 -1
- package/dist/trigger-DrmYFT7r.js +213 -0
- package/dist/{user-vV0mHSKf.js → user-C_PXVgnR.js} +1 -1
- package/dist/{vue-i18n-C3xXE7er.js → vue-i18n-CBY1MepG.js} +111 -111
- package/dist/{xlsx-DwllaYd7.js → xlsx-DmlvPg-W.js} +1 -1
- package/dist/{zod-Bg2FbC-D.js → zod-DlxxgJ-R.js} +32 -31
- package/package.json +1 -1
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-C7EGat91.js +0 -348
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DgCjZuxC.js +0 -419
- package/dist/plugins-DYwCm0Ql.js +0 -208
- package/dist/template-Bzs20Hr7.js +0 -190
- package/dist/trigger-C67D78R1.js +0 -144
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { defineComponent as B, ref as P, onMounted as Q, computed as q, resolveComponent as V, openBlock as d, createElementBlock as F, renderSlot as W, toDisplayString as b, createCommentVNode as f, createBlock as u, unref as e, isRef as G, createVNode as g, normalizeClass as Z, watch as X, withCtx as w, resolveDynamicComponent as R, Fragment as _, createElementVNode as C, createTextVNode as ee } from "vue";
|
|
2
|
+
import { z as te } from "./app-5gFoCIZ5.js";
|
|
3
|
+
import { Z as m } from "./zod-DlxxgJ-R.js";
|
|
4
|
+
import { g as le, f as oe } from "./index-Bsz-Af4_.js";
|
|
5
|
+
import { u as T } from "./vue-i18n-CBY1MepG.js";
|
|
6
|
+
import { s as O } from "./effect-CHvrDcct.js";
|
|
7
|
+
import { p as ae } from "./plugins-nuoNiWZV.js";
|
|
8
|
+
import { e as ne } from "./app-HOMrHaJX.js";
|
|
9
|
+
const ie = { class: "flex flex-col gap-8" }, de = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "fm-typo-en-body-lg-600"
|
|
12
|
+
}, se = { key: 1 }, me = {
|
|
13
|
+
key: 2,
|
|
14
|
+
class: "space-y-16"
|
|
15
|
+
}, re = /* @__PURE__ */ B({
|
|
16
|
+
__name: "ValidityInput",
|
|
17
|
+
props: {
|
|
18
|
+
label: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
disabled: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
type: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: void 0
|
|
28
|
+
},
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: Object,
|
|
31
|
+
required: !0
|
|
32
|
+
},
|
|
33
|
+
forCredit: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
helperText: {
|
|
38
|
+
type: String
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
emits: ["update:model-value"],
|
|
42
|
+
setup(t, { emit: S }) {
|
|
43
|
+
var U, A;
|
|
44
|
+
const { t: n } = T(), i = t, v = S, a = [
|
|
45
|
+
{ label: n("connect.template.validity_option.date_range"), value: "range" },
|
|
46
|
+
{ label: n("connect.template.validity_option.custom"), value: "custom" }
|
|
47
|
+
], c = P(!1);
|
|
48
|
+
Q(() => {
|
|
49
|
+
c.value = i.modelValue && Object.entries(i.modelValue).filter(
|
|
50
|
+
([r, s]) => r != "followFirstReceive" && s != null
|
|
51
|
+
).length > 0;
|
|
52
|
+
});
|
|
53
|
+
const l = P(
|
|
54
|
+
i.type ? a.find((r) => r.value === i.type) : (U = i.modelValue) != null && U.validBefore || (A = i.modelValue) != null && A.validAfter ? a[0] : a[1]
|
|
55
|
+
), h = q(
|
|
56
|
+
() => i.forCredit ? le : oe
|
|
57
|
+
), y = q(() => {
|
|
58
|
+
const r = h.value.safeParse(i.modelValue);
|
|
59
|
+
return r.success ? [] : r.error.errors;
|
|
60
|
+
});
|
|
61
|
+
function o(r) {
|
|
62
|
+
v("update:model-value", r);
|
|
63
|
+
}
|
|
64
|
+
function k(r) {
|
|
65
|
+
var s, D;
|
|
66
|
+
if (r.value == "range")
|
|
67
|
+
return o({
|
|
68
|
+
followFirstReceive: (s = i.modelValue) == null ? void 0 : s.followFirstReceive,
|
|
69
|
+
validAfter: void 0,
|
|
70
|
+
validBefore: void 0
|
|
71
|
+
});
|
|
72
|
+
if (r.value == "custom")
|
|
73
|
+
return c.value = !1, o({
|
|
74
|
+
validForDay: (D = i.modelValue) == null ? void 0 : D.validForDay
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
return (r, s) => {
|
|
78
|
+
var $, j, E, M, N, L, z, H;
|
|
79
|
+
const D = V("FmButtonGroup"), Y = V("FmSimpleDateRangePicker"), J = V("FmSwitch"), K = V("FmStepperField"), I = V("FmHelperText");
|
|
80
|
+
return d(), F("div", ie, [
|
|
81
|
+
W(r.$slots, "label", {}, () => [
|
|
82
|
+
t.label ? (d(), F("div", de, b(t.label), 1)) : f("", !0)
|
|
83
|
+
]),
|
|
84
|
+
t.type ? f("", !0) : (d(), u(D, {
|
|
85
|
+
key: 0,
|
|
86
|
+
modelValue: e(l),
|
|
87
|
+
"onUpdate:modelValue": [
|
|
88
|
+
s[0] || (s[0] = (p) => G(l) ? l.value = p : null),
|
|
89
|
+
s[1] || (s[1] = (p) => k(p))
|
|
90
|
+
],
|
|
91
|
+
items: a
|
|
92
|
+
}, null, 8, ["modelValue"])),
|
|
93
|
+
e(l).value === "range" ? (d(), F("div", se, [
|
|
94
|
+
g(Y, {
|
|
95
|
+
"model-value": {
|
|
96
|
+
startDate: ($ = t.modelValue) != null && $.validAfter ? new Date((j = t.modelValue) == null ? void 0 : j.validAfter).toISOString() : null,
|
|
97
|
+
endDate: (E = t.modelValue) != null && E.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
|
|
98
|
+
},
|
|
99
|
+
"onUpdate:modelValue": s[2] || (s[2] = (p) => {
|
|
100
|
+
var x;
|
|
101
|
+
o({
|
|
102
|
+
followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive,
|
|
103
|
+
validAfter: new Date(p.startDate).toISOString(),
|
|
104
|
+
validBefore: new Date(p.endDate).toISOString()
|
|
105
|
+
});
|
|
106
|
+
})
|
|
107
|
+
}, null, 8, ["model-value"])
|
|
108
|
+
])) : e(l).value === "custom" ? (d(), F("div", me, [
|
|
109
|
+
t.forCredit ? f("", !0) : (d(), u(J, {
|
|
110
|
+
key: 0,
|
|
111
|
+
"model-value": e(c),
|
|
112
|
+
label: e(n)("connect.template.validity_option.expire"),
|
|
113
|
+
"label-placement": "right",
|
|
114
|
+
"onUpdate:modelValue": s[3] || (s[3] = (p) => {
|
|
115
|
+
var x;
|
|
116
|
+
c.value = p, o({
|
|
117
|
+
validForDay: p ? 1 : void 0,
|
|
118
|
+
followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive
|
|
119
|
+
});
|
|
120
|
+
})
|
|
121
|
+
}, null, 8, ["model-value", "label"])),
|
|
122
|
+
e(c) || t.forCredit ? (d(), u(K, {
|
|
123
|
+
key: 1,
|
|
124
|
+
label: e(n)("connect.template.validity_option.after_day"),
|
|
125
|
+
class: Z([{
|
|
126
|
+
"opacity-50 pointer-events-none": !e(c) && !t.forCredit
|
|
127
|
+
}, "mt-[-4px]"]),
|
|
128
|
+
"max-fraction-digits": 0,
|
|
129
|
+
disabled: !e(c) && !t.forCredit,
|
|
130
|
+
"show-steppers": !1,
|
|
131
|
+
max: 99999,
|
|
132
|
+
"append-text": e(n)("connect.template.validity_option.days"),
|
|
133
|
+
"model-value": ((N = i.modelValue) == null ? void 0 : N.validForDay) ?? null,
|
|
134
|
+
"onUpdate:modelValue": s[4] || (s[4] = (p) => {
|
|
135
|
+
var x;
|
|
136
|
+
return o({
|
|
137
|
+
validForDay: p == null ? void 0 : parseInt(p.toString()),
|
|
138
|
+
followFirstReceive: (x = i.modelValue) == null ? void 0 : x.followFirstReceive
|
|
139
|
+
});
|
|
140
|
+
})
|
|
141
|
+
}, null, 8, ["label", "class", "disabled", "append-text", "model-value"])) : f("", !0)
|
|
142
|
+
])) : f("", !0),
|
|
143
|
+
((L = i.modelValue) == null ? void 0 : L.followFirstReceive) === !0 && e(c) ? (d(), u(I, {
|
|
144
|
+
key: 3,
|
|
145
|
+
text: e(n)("connect.template.validity_option.expire_follow_first_receive")
|
|
146
|
+
}, null, 8, ["text"])) : f("", !0),
|
|
147
|
+
g(I, {
|
|
148
|
+
text: t.helperText || (((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(m).helperText(e(y), "")),
|
|
149
|
+
state: t.helperText ? "error" : ((H = i.modelValue) == null ? void 0 : H.validForDay) === 0 ? "warning" : e(m).helperState(e(y), "")
|
|
150
|
+
}, null, 8, ["text", "state"])
|
|
151
|
+
]);
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
}), ue = { class: "space-y-8" }, Ue = /* @__PURE__ */ B({
|
|
155
|
+
__name: "CollectibleOptionInput",
|
|
156
|
+
props: {
|
|
157
|
+
modelValue: {
|
|
158
|
+
type: Object
|
|
159
|
+
},
|
|
160
|
+
noCampaign: {
|
|
161
|
+
type: Boolean
|
|
162
|
+
},
|
|
163
|
+
schema: {
|
|
164
|
+
type: Object,
|
|
165
|
+
default: () => te.any()
|
|
166
|
+
},
|
|
167
|
+
isMission: {
|
|
168
|
+
type: Boolean,
|
|
169
|
+
default: !1
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
emits: ["update:model-value"],
|
|
173
|
+
setup(t, { emit: S }) {
|
|
174
|
+
const { t: n } = T(), i = t, v = S, a = P(i.modelValue ?? {});
|
|
175
|
+
return X(a, () => v("update:model-value", a.value)), (c, l) => {
|
|
176
|
+
const h = V("FmSwitch"), y = V("FmStepperField");
|
|
177
|
+
return d(), F("div", ue, [
|
|
178
|
+
t.isMission ? f("", !0) : (d(), u(h, {
|
|
179
|
+
key: 0,
|
|
180
|
+
label: e(n)("connect.template.enable_transfer"),
|
|
181
|
+
"label-placement": "right",
|
|
182
|
+
modelValue: e(a).enableTransfer,
|
|
183
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => e(a).enableTransfer = o)
|
|
184
|
+
}, null, 8, ["label", "modelValue"])),
|
|
185
|
+
t.noCampaign ? f("", !0) : (d(), F("div", {
|
|
186
|
+
key: 1,
|
|
187
|
+
class: Z(["grid gap-16", t.isMission ? "" : "grid-cols-2"])
|
|
188
|
+
}, [
|
|
189
|
+
g(y, {
|
|
190
|
+
modelValue: e(a).maxPerUser,
|
|
191
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).maxPerUser = o),
|
|
192
|
+
"show-steppers": !1,
|
|
193
|
+
rules: [e(m).ruleAtPath(t.schema, "maxPerUser")],
|
|
194
|
+
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
195
|
+
}, {
|
|
196
|
+
label: w(() => [
|
|
197
|
+
(d(), u(R(
|
|
198
|
+
e(m).toInputLabel(
|
|
199
|
+
e(m).typeAtPath(t.schema, "maxPerUser"),
|
|
200
|
+
e(n)("connect.template.max_per_user")
|
|
201
|
+
)
|
|
202
|
+
)))
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}, 8, ["modelValue", "rules", "helper-text"]),
|
|
206
|
+
t.isMission ? f("", !0) : (d(), u(y, {
|
|
207
|
+
key: 0,
|
|
208
|
+
modelValue: e(a).maxReceive,
|
|
209
|
+
"onUpdate:modelValue": l[2] || (l[2] = (o) => e(a).maxReceive = o),
|
|
210
|
+
"show-steppers": !1,
|
|
211
|
+
rules: [e(m).ruleAtPath(t.schema, "maxReceive")],
|
|
212
|
+
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
213
|
+
}, {
|
|
214
|
+
label: w(() => [
|
|
215
|
+
(d(), u(R(
|
|
216
|
+
e(m).toInputLabel(
|
|
217
|
+
e(m).typeAtPath(t.schema, "maxReceive"),
|
|
218
|
+
e(n)("connect.template.max_distribute")
|
|
219
|
+
)
|
|
220
|
+
)))
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}, 8, ["modelValue", "rules", "helper-text"]))
|
|
224
|
+
], 2)),
|
|
225
|
+
t.isMission ? f("", !0) : (d(), F(_, { key: 2 }, [
|
|
226
|
+
g(y, {
|
|
227
|
+
modelValue: e(a).maxUse,
|
|
228
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => e(a).maxUse = o),
|
|
229
|
+
"append-text": "use(s)",
|
|
230
|
+
"show-steppers": !1,
|
|
231
|
+
rules: [e(m).ruleAtPath(t.schema, "maxUse")]
|
|
232
|
+
}, {
|
|
233
|
+
label: w(() => [
|
|
234
|
+
(d(), u(R(
|
|
235
|
+
e(m).toInputLabel(
|
|
236
|
+
e(m).typeAtPath(t.schema, "maxUse"),
|
|
237
|
+
e(n)("connect.template.usage_count")
|
|
238
|
+
)
|
|
239
|
+
)))
|
|
240
|
+
]),
|
|
241
|
+
_: 1
|
|
242
|
+
}, 8, ["modelValue", "rules"]),
|
|
243
|
+
e(a).maxUse && e(a).maxUse > 1 ? (d(), u(y, {
|
|
244
|
+
key: 0,
|
|
245
|
+
modelValue: e(a).cooldown,
|
|
246
|
+
"onUpdate:modelValue": l[4] || (l[4] = (o) => e(a).cooldown = o),
|
|
247
|
+
"append-text": "minute(s)",
|
|
248
|
+
"show-steppers": !1,
|
|
249
|
+
rules: [e(m).ruleAtPath(t.schema, "cooldown")]
|
|
250
|
+
}, {
|
|
251
|
+
label: w(() => [
|
|
252
|
+
(d(), u(R(
|
|
253
|
+
e(m).toInputLabel(
|
|
254
|
+
e(m).typeAtPath(t.schema, "cooldown"),
|
|
255
|
+
e(n)("connect.template.cooldown")
|
|
256
|
+
)
|
|
257
|
+
)))
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
}, 8, ["modelValue", "rules"])) : f("", !0),
|
|
261
|
+
g(re, {
|
|
262
|
+
modelValue: e(a).validityOption,
|
|
263
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => e(a).validityOption = o),
|
|
264
|
+
label: e(n)("connect.template.validity_option.title")
|
|
265
|
+
}, null, 8, ["modelValue", "label"])
|
|
266
|
+
], 64))
|
|
267
|
+
]);
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}), ce = { class: "space-y-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = {
|
|
271
|
+
key: 1,
|
|
272
|
+
class: "border-1 rounded-md flex gap-16 items-center justify-between px-16 py-12"
|
|
273
|
+
}, ve = { class: "fm-typo-en-body-lg-400" }, ye = { class: "text-fm-color-typo-secondary" }, Ae = /* @__PURE__ */ B({
|
|
274
|
+
__name: "EffectSheet",
|
|
275
|
+
props: {
|
|
276
|
+
modelValue: { type: Object },
|
|
277
|
+
canSetAutoApply: {
|
|
278
|
+
type: Boolean
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
emits: ["update:model-value"],
|
|
282
|
+
setup(t, { emit: S }) {
|
|
283
|
+
const { t: n } = T(), i = S, v = P(!1);
|
|
284
|
+
async function a(c) {
|
|
285
|
+
c.stopPropagation(), await ae.remove(n("connect.effect.removeConfirm")) && i("update:model-value", null);
|
|
286
|
+
}
|
|
287
|
+
return (c, l) => {
|
|
288
|
+
const h = V("FmButton"), y = V("FmSideSheet");
|
|
289
|
+
return d(), u(y, {
|
|
290
|
+
"max-width": 550,
|
|
291
|
+
header: e(n)("connect.effect.title"),
|
|
292
|
+
modelValue: e(v),
|
|
293
|
+
"onUpdate:modelValue": [
|
|
294
|
+
l[2] || (l[2] = (o) => G(v) ? v.value = o : null),
|
|
295
|
+
l[3] || (l[3] = (o) => v.value = o)
|
|
296
|
+
]
|
|
297
|
+
}, {
|
|
298
|
+
"side-sheet-button": w(() => {
|
|
299
|
+
var o, k, U, A;
|
|
300
|
+
return [
|
|
301
|
+
C("div", ce, [
|
|
302
|
+
C("div", pe, b(e(n)("connect.effect.description")), 1),
|
|
303
|
+
t.modelValue ? (d(), F("div", fe, [
|
|
304
|
+
C("div", ve, [
|
|
305
|
+
C("div", null, b((o = e(O)(t.modelValue)) == null ? void 0 : o.type), 1),
|
|
306
|
+
C("div", ye, b((k = e(O)(t.modelValue)) == null ? void 0 : k.adjustment) + " " + b(e(n)("connect.effect.with")) + " " + b((U = e(O)(t.modelValue)) == null ? void 0 : U.requirements) + " " + b((A = e(O)(t.modelValue)) == null ? void 0 : A.maxCap), 1)
|
|
307
|
+
]),
|
|
308
|
+
g(h, {
|
|
309
|
+
icon: "delete",
|
|
310
|
+
"icon-color": "neutral-gray-400",
|
|
311
|
+
variant: "tertiary",
|
|
312
|
+
onClick: a
|
|
313
|
+
})
|
|
314
|
+
])) : (d(), u(h, {
|
|
315
|
+
key: 0,
|
|
316
|
+
label: e(n)("connect.effect.title"),
|
|
317
|
+
icon: "add",
|
|
318
|
+
"icon-color": "primary",
|
|
319
|
+
variant: "secondary",
|
|
320
|
+
class: "border-fm-color-primary text-fm-color-primary"
|
|
321
|
+
}, null, 8, ["label"]))
|
|
322
|
+
])
|
|
323
|
+
];
|
|
324
|
+
}),
|
|
325
|
+
"side-sheet-footer": w(() => [...l[4] || (l[4] = [
|
|
326
|
+
ee(b(void 0), -1)
|
|
327
|
+
])]),
|
|
328
|
+
default: w(() => [
|
|
329
|
+
g(e(ne), {
|
|
330
|
+
class: "fm-effect-sheet",
|
|
331
|
+
title: "",
|
|
332
|
+
"can-set-auto-apply": t.canSetAutoApply,
|
|
333
|
+
"disable-effects": t.canSetAutoApply ? ["PAYMENT"] : void 0,
|
|
334
|
+
"initial-value": t.modelValue,
|
|
335
|
+
onOnConfirm: l[0] || (l[0] = (o) => (i("update:model-value", o), v.value = !1)),
|
|
336
|
+
onOnCancel: l[1] || (l[1] = (o) => v.value = !1)
|
|
337
|
+
}, null, 8, ["can-set-auto-apply", "disable-effects", "initial-value"])
|
|
338
|
+
]),
|
|
339
|
+
_: 1
|
|
340
|
+
}, 8, ["header", "modelValue"]);
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
export {
|
|
345
|
+
Ae as _,
|
|
346
|
+
Ue as a,
|
|
347
|
+
re as b
|
|
348
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as E, ref as S, computed as U, onMounted as j, resolveComponent as m, openBlock as p, createElementBlock as _, Fragment as x, createVNode as c, unref as o, createElementVNode as a, withCtx as h, renderList as M, createBlock as w, resolveDynamicComponent as H, toDisplayString as u, h as q } from "vue";
|
|
2
2
|
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as G, components as J } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as Q } from "./plugins-
|
|
5
|
-
import { u as W } from "./loading-
|
|
6
|
-
import { u as X } from "./business-
|
|
7
|
-
import { u as Y, c as g } from "./campaign-
|
|
8
|
-
import { a as L, b as V, g as Z } from "./campaign-
|
|
9
|
-
import { u as ee } from "./vue-i18n-
|
|
4
|
+
import { p as Q } from "./plugins-nuoNiWZV.js";
|
|
5
|
+
import { u as W } from "./loading-O2OJnB-v.js";
|
|
6
|
+
import { u as X } from "./business-DrOrg91y.js";
|
|
7
|
+
import { u as Y, c as g } from "./campaign-D-0jxXgS.js";
|
|
8
|
+
import { a as L, b as V, g as Z } from "./campaign-DxZjTV1c.js";
|
|
9
|
+
import { u as ee } from "./vue-i18n-CBY1MepG.js";
|
|
10
10
|
import { _ as te } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
11
|
-
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as ne } from "./template-
|
|
11
|
+
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js";
|
|
12
|
+
import { u as ne } from "./template-C8z7oS1X.js";
|
|
13
13
|
const ae = { class: "px-24 flex flex-col gap-y-16" }, re = { class: "flex items-center justify-between w-full" }, se = { class: "flex gap-8 overflow-x-auto" }, ce = { class: "space-y-8" }, ie = { class: "flex w-full gap-4 items-center" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = { class: "space-y-4" }, de = { class: "fm-typo-en-body-lg-600" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = { class: "flex flex-col gap-16 text-center" }, ye = { class: "fm-typo-en-title-sm-800" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Be = /* @__PURE__ */ E({
|
|
14
14
|
__name: "Experience",
|
|
15
15
|
setup(_e) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as q, ref as b, computed as z, onMounted as W, resolveComponent as c, openBlock as g, createElementBlock as k, Fragment as F, createVNode as s, unref as o, withCtx as w, createElementVNode as n, toDisplayString as u, renderList as J, createBlock as S, resolveDynamicComponent as Q, h as m } from "vue";
|
|
2
2
|
import { _ as X } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as Y, components as x } from "@feedmepos/ui-library";
|
|
4
|
-
import { a as Z, p as ee } from "./plugins-
|
|
5
|
-
import { u as te } from "./loading-
|
|
6
|
-
import { u as oe } from "./business-
|
|
7
|
-
import { u as ae, c as C } from "./campaign-
|
|
8
|
-
import { a as E, b as K, g as ne } from "./campaign-
|
|
4
|
+
import { a as Z, p as ee } from "./plugins-nuoNiWZV.js";
|
|
5
|
+
import { u as te } from "./loading-O2OJnB-v.js";
|
|
6
|
+
import { u as oe } from "./business-DrOrg91y.js";
|
|
7
|
+
import { u as ae, c as C } from "./campaign-D-0jxXgS.js";
|
|
8
|
+
import { a as E, b as K, g as ne } from "./campaign-DxZjTV1c.js";
|
|
9
9
|
import { _ as se } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
10
|
-
import { _ as ie } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as re } from "./template-
|
|
12
|
-
import { u as le } from "./vue-i18n-
|
|
13
|
-
import { _ as ce } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as ie } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js";
|
|
11
|
+
import { u as re } from "./template-C8z7oS1X.js";
|
|
12
|
+
import { u as le } from "./vue-i18n-CBY1MepG.js";
|
|
13
|
+
import { _ as ce } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bbisi3wu.js";
|
|
14
14
|
const me = { class: "flex items-center" }, de = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, ue = { class: "px-24 flex flex-col gap-y-16" }, pe = { class: "flex items-center justify-between w-full" }, fe = { class: "flex gap-8 overflow-x-auto" }, ge = { class: "space-y-8" }, ye = { class: "flex w-full gap-4 items-center" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, he = { class: "space-y-4" }, we = { class: "fm-typo-en-body-lg-600" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ve = { class: "flex flex-col gap-16 text-center" }, be = { class: "fm-typo-en-title-sm-800" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ q({
|
|
15
15
|
__name: "Game",
|
|
16
16
|
setup(Fe) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as q, ref as L, computed as z, h as J, onMounted as Q, resolveComponent as u, openBlock as f, createElementBlock as k, Fragment as F, createVNode as l, unref as i, withCtx as x, createElementVNode as m, renderList as W, createBlock as O, resolveDynamicComponent as X, toDisplayString as Y } from "vue";
|
|
2
2
|
import { _ as Z } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as ee, components as te } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as P } from "./plugins-
|
|
5
|
-
import { u as oe } from "./loading-
|
|
6
|
-
import { u as ne } from "./business-
|
|
7
|
-
import { u as ae, c as C } from "./campaign-
|
|
8
|
-
import { u as se } from "./vue-i18n-
|
|
4
|
+
import { p as P } from "./plugins-nuoNiWZV.js";
|
|
5
|
+
import { u as oe } from "./loading-O2OJnB-v.js";
|
|
6
|
+
import { u as ne } from "./business-DrOrg91y.js";
|
|
7
|
+
import { u as ae, c as C } from "./campaign-D-0jxXgS.js";
|
|
8
|
+
import { u as se } from "./vue-i18n-CBY1MepG.js";
|
|
9
9
|
import { h as d } from "./moment-D7p2TMB-.js";
|
|
10
|
-
import { g as re, a as V } from "./campaign-
|
|
11
|
-
import { s as ie, _ as ce } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as le } from "./template-
|
|
10
|
+
import { g as re, a as V } from "./campaign-DxZjTV1c.js";
|
|
11
|
+
import { s as ie, _ as ce } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js";
|
|
12
|
+
import { u as le } from "./template-C8z7oS1X.js";
|
|
13
13
|
import { _ as $ } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
14
14
|
const me = { class: "px-24 flex flex-col gap-y-16" }, ue = { class: "flex items-center justify-between w-full" }, de = { class: "flex gap-8 overflow-x-auto" }, pe = { class: "space-y-8" }, fe = { class: "flex w-full gap-4 items-center" }, ge = { class: "flex flex-col gap-16 text-center" }, ye = { class: "fm-typo-en-title-sm-800" }, be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye = /* @__PURE__ */ q({
|
|
15
15
|
__name: "Grab",
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { openBlock as l, createElementBlock as o, createElementVNode as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { openBlock as l, createElementBlock as o, createElementVNode as r, defineComponent as $, ref as b, onMounted as I, resolveComponent as f, renderSlot as x, toDisplayString as s, createCommentVNode as h, normalizeStyle as V, unref as i, Fragment as w, createVNode as F, withCtx as g, createTextVNode as p, normalizeClass as z, createBlock as k } from "vue";
|
|
2
|
+
import { u as R } from "./vue-i18n-CBY1MepG.js";
|
|
3
|
+
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const N = {}, D = { class: "animate-pulse flex space-x-4 bg-gray-300 dark:bg-gray-700 items-center justify-center rounded w-full h-full" };
|
|
5
|
+
function L(e, d) {
|
|
6
|
+
return l(), o("div", D, [...d[0] || (d[0] = [
|
|
7
|
+
r("svg", {
|
|
7
8
|
class: "dark:text-gray-600 h-10 text-gray-200 w-10",
|
|
8
9
|
"aria-hidden": "true",
|
|
9
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
11
|
fill: "currentColor",
|
|
11
12
|
viewBox: "0 0 20 18"
|
|
12
13
|
}, [
|
|
13
|
-
|
|
14
|
+
r("path", { d: "M18 0H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm4.376 10.481A1 1 0 0 1 16 15H4a1 1 0 0 1-.895-1.447l3.5-7A1 1 0 0 1 7.468 6a.965.965 0 0 1 .9.5l2.775 4.757 1.546-1.887a1 1 0 0 1 1.618.1l2.541 4a1 1 0 0 1 .028 1.011Z" })
|
|
14
15
|
], -1)
|
|
15
16
|
])]);
|
|
16
17
|
}
|
|
17
|
-
const
|
|
18
|
+
const T = /* @__PURE__ */ H(N, [["render", L]]), U = { class: "max-w-full max-h-[400px] space-y-4" }, Z = { key: 0 }, _ = { class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400" }, A = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "h-full w-full relative bg-fm-color-neutral-white p-12 border-2 border-dashed border-fm-color-neutral-gray-300 rounded-md flex flex-col items-center justify-center gap-8 hover:border-fm-color-neutral-gray-400"
|
|
20
|
-
},
|
|
21
|
+
}, E = ["src"], M = ["src"], q = { class: "absolute right-0 top-0" }, J = /* @__PURE__ */ $({
|
|
21
22
|
__name: "ImageInput",
|
|
22
23
|
props: {
|
|
23
24
|
required: {
|
|
@@ -57,7 +58,7 @@ const D = /* @__PURE__ */ z(H, [["render", A]]), I = { class: "max-w-full max-h-
|
|
|
57
58
|
},
|
|
58
59
|
recommendedSize: {
|
|
59
60
|
type: String,
|
|
60
|
-
default:
|
|
61
|
+
default: void 0
|
|
61
62
|
},
|
|
62
63
|
deleteButton: {
|
|
63
64
|
type: Boolean,
|
|
@@ -66,72 +67,72 @@ const D = /* @__PURE__ */ z(H, [["render", A]]), I = { class: "max-w-full max-h-
|
|
|
66
67
|
},
|
|
67
68
|
emits: ["update:file"],
|
|
68
69
|
setup(e, { emit: d }) {
|
|
69
|
-
const c = e, a =
|
|
70
|
+
const { t: y } = R(), c = e, a = b({
|
|
70
71
|
loading: !1,
|
|
71
72
|
imgsrc: c.thumbnail
|
|
72
|
-
}), m =
|
|
73
|
+
}), m = b(!1), v = d;
|
|
73
74
|
async function u(t) {
|
|
74
|
-
return t == null ? (a.value.imgsrc = void 0,
|
|
75
|
+
return t == null ? (a.value.imgsrc = void 0, v("update:file", null)) : (m.value = !!t.type.startsWith("video/"), a.value.loading = !0, a.value.imgsrc = URL.createObjectURL(t), a.value.loading = !1, v("update:file", t));
|
|
75
76
|
}
|
|
76
|
-
return
|
|
77
|
+
return I(() => {
|
|
77
78
|
var t;
|
|
78
79
|
c.file && u(c.file), (t = c.thumbnail) != null && t.includes("mp4") && (m.value = !0);
|
|
79
80
|
}), (t, n) => {
|
|
80
|
-
const
|
|
81
|
-
return l(), o("div",
|
|
82
|
-
|
|
83
|
-
e.label ? (l(), o("div",
|
|
81
|
+
const S = f("FmDropField"), B = f("FmHelperText"), j = f("FmButton");
|
|
82
|
+
return l(), o("div", U, [
|
|
83
|
+
x(t.$slots, "label", {}, () => [
|
|
84
|
+
e.label ? (l(), o("div", Z, s(e.label), 1)) : h("", !0)
|
|
84
85
|
]),
|
|
85
|
-
|
|
86
|
-
style:
|
|
86
|
+
r("div", {
|
|
87
|
+
style: V({ "aspect-ratio": e.aspectRatio }),
|
|
87
88
|
class: "flex flex-col max-h-full max-w-full"
|
|
88
89
|
}, [
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
i(a).loading ? (l(), k(T, { key: 1 })) : (l(), o(w, { key: 0 }, [
|
|
91
|
+
i(a).imgsrc ? (l(), o("div", A, [
|
|
92
|
+
i(m) ? (l(), o("video", {
|
|
92
93
|
key: 1,
|
|
93
|
-
src:
|
|
94
|
+
src: i(a).imgsrc || e.thumbnail,
|
|
94
95
|
class: "w-full h-full",
|
|
95
96
|
controls: ""
|
|
96
|
-
}, null, 8,
|
|
97
|
+
}, null, 8, M)) : (l(), o("img", {
|
|
97
98
|
key: 0,
|
|
98
|
-
class:
|
|
99
|
-
src:
|
|
100
|
-
}, null, 10,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
e.deleteButton ? (l(),
|
|
99
|
+
class: z([`object-${e.imageFit}`, "w-full h-full"]),
|
|
100
|
+
src: i(a).imgsrc || e.thumbnail
|
|
101
|
+
}, null, 10, E)),
|
|
102
|
+
r("div", q, [
|
|
103
|
+
x(t.$slots, "delete-button"),
|
|
104
|
+
e.deleteButton ? (l(), k(j, {
|
|
104
105
|
key: 0,
|
|
105
106
|
class: "!text-neutral-50 !bg-neutral-700",
|
|
106
107
|
icon: "delete",
|
|
107
108
|
variant: "tertiary",
|
|
108
109
|
disabled: e.disabled,
|
|
109
|
-
onClick: n[1] || (n[1] = (
|
|
110
|
-
}, null, 8, ["disabled"])) :
|
|
110
|
+
onClick: n[1] || (n[1] = (C) => u(null))
|
|
111
|
+
}, null, 8, ["disabled"])) : h("", !0)
|
|
111
112
|
])
|
|
112
|
-
])) : (l(), o(
|
|
113
|
-
|
|
113
|
+
])) : (l(), o(w, { key: 0 }, [
|
|
114
|
+
F(S, {
|
|
114
115
|
class: "flex-1 hihiha",
|
|
115
116
|
accept: e.accept,
|
|
116
117
|
disabled: e.disabled,
|
|
117
118
|
onFileUpload: u,
|
|
118
|
-
onFileRejected: n[0] || (n[0] = (
|
|
119
|
+
onFileRejected: n[0] || (n[0] = (C) => u(null))
|
|
119
120
|
}, {
|
|
120
121
|
label: g(() => [...n[2] || (n[2] = [
|
|
121
|
-
p(
|
|
122
|
+
p(s(void 0), -1)
|
|
122
123
|
])]),
|
|
123
124
|
"helper-text": g(() => [...n[3] || (n[3] = [
|
|
124
|
-
p(
|
|
125
|
+
p(s(void 0), -1)
|
|
125
126
|
])]),
|
|
126
127
|
"accept-text": g(() => [
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
p("
|
|
128
|
+
r("div", _, [
|
|
129
|
+
r("div", null, " (" + s(e.recommendedSize ?? i(y)("connect.common.imageInput.recommendedSize")) + ") ", 1),
|
|
130
|
+
p(" " + s(i(y)("connect.common.imageInput.accepts", { accept: e.accept })), 1)
|
|
130
131
|
])
|
|
131
132
|
]),
|
|
132
133
|
_: 1
|
|
133
134
|
}, 8, ["accept", "disabled"]),
|
|
134
|
-
|
|
135
|
+
F(B, { text: "" })
|
|
135
136
|
], 64))
|
|
136
137
|
], 64))
|
|
137
138
|
], 4)
|
|
@@ -140,5 +141,5 @@ const D = /* @__PURE__ */ z(H, [["render", A]]), I = { class: "max-w-full max-h-
|
|
|
140
141
|
}
|
|
141
142
|
});
|
|
142
143
|
export {
|
|
143
|
-
|
|
144
|
+
J as _
|
|
144
145
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as U, ref as g, watch as O, onMounted as I, resolveComponent as m, openBlock as b, createBlock as j, withCtx as P, createTextVNode as z, toDisplayString as B, createElementVNode as c, createVNode as o, unref as e, createElementBlock as F, createCommentVNode as W, normalizeClass as G, computed as L, Fragment as q, isRef as J } from "vue";
|
|
2
|
-
import { u as H } from "./vue-i18n-
|
|
3
|
-
import "./index-
|
|
2
|
+
import { u as H } from "./vue-i18n-CBY1MepG.js";
|
|
3
|
+
import "./index-DtcXk4cG.js";
|
|
4
4
|
import { useRouter as K } from "vue-router";
|
|
5
|
-
import { u as Q } from "./loading-
|
|
6
|
-
import { f as V, p as X } from "./plugins-
|
|
7
|
-
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Q } from "./loading-O2OJnB-v.js";
|
|
6
|
+
import { f as V, p as X } from "./plugins-nuoNiWZV.js";
|
|
7
|
+
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-0AbXVk_6.js";
|
|
8
8
|
import { useDialog as ee, useSnackbar as ne, FmButtonVariant as p } from "@feedmepos/ui-library";
|
|
9
|
-
import { r as N } from "./index-
|
|
10
|
-
import { u as ae } from "./reward-
|
|
11
|
-
import { u as oe } from "./business-
|
|
12
|
-
import { u as te } from "./membership-
|
|
13
|
-
import { R as $ } from "./app-
|
|
9
|
+
import { r as N } from "./index-Dvy1ftAd.js";
|
|
10
|
+
import { u as ae } from "./reward-C904TC9N.js";
|
|
11
|
+
import { u as oe } from "./business-DrOrg91y.js";
|
|
12
|
+
import { u as te } from "./membership-kVwD3i5I.js";
|
|
13
|
+
import { R as $ } from "./app-5gFoCIZ5.js";
|
|
14
14
|
const re = { class: "space-y-24" }, le = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: /* @__PURE__ */ G([
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ref as pt, reactive as Ai, defineComponent as Ot, mergeModels as Wt, useModel as Nt, onMounted as fe, resolveComponent as dt, openBlock as nt, createBlock as _t, withCtx as yt, createElementVNode as G, createVNode as ht, unref as V, createElementBlock as ft, Fragment as Tt, renderList as At, normalizeClass as Ft, toDisplayString as Pt, Transition as Fi, withDirectives as Et, renderSlot as ei, vShow as Mt, isRef as Bt, computed as St, watch as Yt, resolveDirective as Di, createTextVNode as Te, vModelText as Ue, createCommentVNode as Lt, nextTick as Mi, normalizeStyle as Ut, createStaticVNode as Li, h as Ri } from "vue";
|
|
2
2
|
import { _ as ji } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useSnackbar as de, useDialog as Ii, components as Bi } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as zi } from "./plugins-
|
|
5
|
-
import { u as ii } from "./loading-
|
|
4
|
+
import { p as zi } from "./plugins-nuoNiWZV.js";
|
|
5
|
+
import { u as ii } from "./loading-O2OJnB-v.js";
|
|
6
6
|
import { defineStore as Ui } from "pinia";
|
|
7
|
-
import { F as _e } from "./index-
|
|
7
|
+
import { F as _e } from "./index-BMpQ1Eq2.js";
|
|
8
8
|
import { useCoreStore as De } from "@feedmepos/mf-common";
|
|
9
|
-
import { g as ne, S as ni, b as Xi, r as Ce } from "./index-
|
|
10
|
-
import { _ as Ni } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { g as ne, S as ni, b as Xi, r as Ce } from "./index-D-Qagjww.js";
|
|
10
|
+
import { _ as Ni } from "./ImageInput.vue_vue_type_script_setup_true_lang-DElYlMlB.js";
|
|
11
11
|
import { s as ri, c as Zt } from "./index-CsaQJMAR.js";
|
|
12
|
-
import { u as si } from "./campaign-
|
|
12
|
+
import { u as si } from "./campaign-D-0jxXgS.js";
|
|
13
13
|
import { _ as Wi } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
import { h as Vi } from "./moment-D7p2TMB-.js";
|
|
15
|
-
import { u as Yi } from "./vue-i18n-
|
|
15
|
+
import { u as Yi } from "./vue-i18n-CBY1MepG.js";
|
|
16
16
|
var Hi = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc", voucherAppUrl: "https://voucher.feedmedev.cc/" };
|
|
17
17
|
const re = () => {
|
|
18
18
|
const g = ni.getBusinessId();
|