@feedmepos/mf-connect 0.1.38-beta.47 → 0.1.38-beta.49
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-CAogVBbz.js → Analytic-BQGW_-c3.js} +13 -13
- package/dist/{App-Hk9Qp_9n.js → App-BYOr_3in.js} +7 -7
- package/dist/{AuditLogs-DXAviajL.js → AuditLogs-B_T5_CiH.js} +9 -9
- package/dist/{Bin-BUME6A-K.js → Bin-C1xrtDE0.js} +8 -8
- package/dist/{Broadcast-6j-bVq_R.js → Broadcast-GxpCUcrZ.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BK-bxPIJ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DUnMhv4S.js} +7 -6
- package/dist/{Card-CEzRiRr7.js → Card-0oDoiIRu.js} +18 -18
- package/dist/{Collections-H0bZgYS3.js → Collections-rYjZyG69.js} +6 -6
- package/dist/{Credit-B0_OxcWl.js → Credit-DsH1Bc3y.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BfltVeTD.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7eMDETW.js} +202 -193
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-d-ru4lAo.js → EffectSheet.vue_vue_type_style_index_0_lang--iiw8XH6.js} +7 -7
- package/dist/{Experience-zLqm7xJ6.js → Experience-DlX6PfWR.js} +8 -8
- package/dist/{Game-D2KPc_Vp.js → Game-D0QqnZ2e.js} +9 -9
- package/dist/{Grab-HG6F8i9C.js → Grab-6F-Z0_F6.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-k42dFcVK.js → ImageInput.vue_vue_type_script_setup_true_lang-DZHaJART.js} +1 -1
- package/dist/{Index-C84kG2wA.js → Index-xZ25tvPZ.js} +10 -10
- package/dist/{Marketing-gh_hPaiO.js → Marketing-Chdt0nui.js} +7 -7
- package/dist/{Member-BUUz_hjg.js → Member-CNE_CmUr.js} +13 -12
- package/dist/{MemberList-B9XfhGt9.js → MemberList-DyIkeWwP.js} +25 -25
- package/dist/{MemberTransactions-BsJA7NcV.js → MemberTransactions-SYjVSwvU.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-dn_IeeR9.js → MessageInput.vue_vue_type_script_setup_true_lang-CCkSlsWQ.js} +8 -8
- package/dist/{Mission-Bd0d_AYG.js → Mission-CgWBJtr6.js} +9 -9
- package/dist/{Overview-CGQjA3Ot.js → Overview-BtsOQR97.js} +19 -19
- package/dist/{Point-DEQ4ymAU.js → Point-BJoB6lGN.js} +8 -8
- package/dist/{Promotion-DhTdXoqt.js → Promotion-Bspz7mj9.js} +9 -9
- package/dist/{Queue-Dh-Hhbzq.js → Queue-DFPvtMwZ.js} +10 -10
- package/dist/{Record-Bw0nY_98.js → Record-DmJXlqg1.js} +8 -8
- package/dist/{Reward-BWZ_GAVV.js → Reward-CS2dRJRI.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DLNocZF6.js → RewardGroup.vue_vue_type_script_setup_true_lang-IlNqykKZ.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-sLOHH7BQ.js → RuleGroup.vue_vue_type_script_setup_true_lang-BDFJqGHC.js} +15 -15
- package/dist/{Segment-DfUL3j0L.js → Segment-C0u4NNJx.js} +29 -29
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-ywplihQC.js → SelectItems.vue_vue_type_script_setup_true_lang-C4i9ZzGe.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DlJTZbF_.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-AP5kVvEF.js} +31 -30
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CjULlVQ6.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BKZKWxKi.js} +3 -3
- package/dist/{Setting-D5Mdmyv8.js → Setting-BefPl5s7.js} +632 -578
- package/dist/{SettingAdvertisements-CpMp76lW.js → SettingAdvertisements-DGNSNlfS.js} +12 -12
- package/dist/{Store-CmGB2qRm.js → Store-Ci8NoL5C.js} +613 -608
- package/dist/StoreRewards-DYmb7TZc.js +535 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-De2JVQBj.js → StoreTransactions.vue_vue_type_script_setup_true_lang-C2oHSA6v.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BAPYQVVs.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DgQwfKcF.js} +1 -1
- package/dist/{Tier-D7E3Cf43.js → Tier-4boFdwfx.js} +23 -23
- package/dist/{Title-DtKyCzFy.js → Title-Cgh40Avw.js} +23 -22
- package/dist/{Transaction-CEJO4C9e.js → Transaction-Z2U5elSk.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CW7FvVxQ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B5-J1FET.js} +6 -6
- package/dist/{Voucher-mWrvHP6m.js → Voucher-W8Oxnzpv.js} +12 -12
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-2_sr6jYm.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CHYLFObC.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-Cx5QxJYR.js → ZodTextField.vue_vue_type_script_setup_true_lang-B61Mje_C.js} +2 -2
- package/dist/{app-G_Bgzof6.js → app-BU48DR8E.js} +33 -33
- package/dist/{app-DwnfpsMe.js → app-CrFBlZQC.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-Bm1ILQsj.js → business-BXXPV_BJ.js} +1 -1
- package/dist/{campaign-Dcqk3cH6.js → campaign-CFNs4abH.js} +8 -8
- package/dist/{campaign-BegYGV2g.js → campaign-Dan0mmow.js} +1 -1
- package/dist/{campaign.enum-Di8zWEBT.js → campaign.enum-C2FJOSn5.js} +1 -1
- package/dist/{campaign.fn-R-qkQwCc.js → campaign.fn-_QD-klUZ.js} +111 -111
- package/dist/{collectible.enum-CcMxBWQm.js → collectible.enum-ef49SjA4.js} +1 -1
- package/dist/{collection.fn-DB1UThBX.js → collection.fn-BLlJd7Mr.js} +2 -2
- package/dist/{dto-Dw2vmeAy.js → dto-BJeHlJPS.js} +4 -4
- package/dist/{effect-CMNhsAGz.js → effect-D5J5xLJX.js} +1 -1
- package/dist/{email-addresses-DAyJYGyu.js → email-addresses-CgCtARgI.js} +1 -1
- package/dist/{export-DlRLDRaa.js → export-Zzk4jiBl.js} +3 -3
- package/dist/{helper-BmJHGK8Y.js → helper-BLELjodn.js} +22 -7
- package/dist/{index-rz-9vvSo.js → index-7_8Sujrx.js} +3 -3
- package/dist/{index-C_ngmqTP.js → index-BGHhNcXH.js} +1 -1
- package/dist/{index-CyvlmNYw.js → index-BS1mIYfK.js} +1 -1
- package/dist/{index-BecLQlNQ.js → index-BqvUAoPO.js} +1 -1
- package/dist/{index-D_Kckj4e.js → index-C-YRCQZ4.js} +1 -1
- package/dist/{index-DAF5ATGM.js → index-CJHTigmz.js} +2195 -2002
- package/dist/{index-Ct9g1o30.js → index-CvmXvyLj.js} +1 -1
- package/dist/{index-DeWjB6gf.js → index-DITIOfs4.js} +1 -1
- package/dist/{index-BHvDESXI.js → index-DZanCQd8.js} +3 -3
- package/dist/{index-B3lpCXw9.js → index-DemX8i2v.js} +6 -6
- package/dist/{index-xdFaZ2Wu.js → index-Dgnwhbhv.js} +362 -346
- package/dist/{index-DDHF6lur.js → index-OZj06Ttw.js} +558 -555
- package/dist/{index-TQl8R7QE.js → index-_uDo6MR6.js} +1 -1
- package/dist/{index.esm2017-C-eM4VXU.js → index.esm2017-CT9d1NRD.js} +1 -1
- package/dist/{loading-CF1kz4k0.js → loading-up7stUln.js} +1 -1
- package/dist/{membership-CSRsOqrJ.js → membership-BbEmnTSf.js} +3 -3
- package/dist/{money-CSCfOeMr.js → money-DVfpKSC6.js} +1 -1
- package/dist/{number-CWEGy5pi.js → number-BAwtHKVN.js} +1 -1
- package/dist/{objectid-B-dM6CuY.js → objectid-D72PsUrT.js} +4 -4
- package/dist/{plugins-BWvse3U_.js → plugins-C7_WZRNH.js} +3 -3
- package/dist/{reward-BxbKJnBb.js → reward-XSRjQepF.js} +1 -1
- package/dist/{rule-DsCiQRPf.js → rule-CRsnYcDX.js} +3 -3
- package/dist/{rule-builder-DEDIT9kB.js → rule-builder-BO6eO4WG.js} +1 -1
- package/dist/{template-DAmBa5-r.js → template-Dml8mXUA.js} +5 -5
- package/dist/{timezone-BbWwPB6u.js → timezone-CBvYuUvv.js} +1 -1
- package/dist/{trigger-DPxfKox3.js → trigger-CNN8uWUi.js} +5 -5
- package/dist/user-DYhRGvv5.js +55 -0
- package/dist/{vue-i18n-0m1EPiB2.js → vue-i18n-Bq3nuxaj.js} +2 -2
- package/dist/{xlsx-Dwl2GpmQ.js → xlsx-DNBXAk5t.js} +1 -1
- package/dist/{zod-DDxCAQkH.js → zod-BSmgtLPD.js} +1 -1
- package/package.json +1 -1
- package/dist/StoreRewards-CBy-Behd.js +0 -423
- package/dist/user-DLQWP5gQ.js +0 -54
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as A, computed as B, resolveComponent as k, openBlock as n, createElementBlock as T, createElementVNode as C, createVNode as b, unref as e, createTextVNode as te, toDisplayString as $, withCtx as q, onMounted as z, createBlock as g, createCommentVNode as M, ref as L, Fragment as h, renderList as N, normalizeClass as W, watch as pe, resolveDynamicComponent as ae, onBeforeMount as ue, isRef as ye, createSlots as se } from "vue";
|
|
2
|
-
import { m as ce, C as ve, n as be, a as fe, o as ge } from "./index-
|
|
3
|
-
import { R as D, a as ke } from "./rule-builder-
|
|
2
|
+
import { m as ce, C as ve, n as be, a as fe, o as ge } from "./index-OZj06Ttw.js";
|
|
3
|
+
import { R as D, a as ke } from "./rule-builder-BO6eO4WG.js";
|
|
4
4
|
import { useDialog as le, useDialogChild as ie, useSnackbar as Ve } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as me } from "./vue-i18n-
|
|
6
|
-
import { a as Ee, R, S as Te, C as H, W as Se, T as re, O as ne } from "./rule-
|
|
7
|
-
import { p as Fe } from "./plugins-
|
|
5
|
+
import { u as me } from "./vue-i18n-Bq3nuxaj.js";
|
|
6
|
+
import { a as Ee, R, S as Te, C as H, W as Se, T as re, O as ne } from "./rule-CRsnYcDX.js";
|
|
7
|
+
import { p as Fe } from "./plugins-C7_WZRNH.js";
|
|
8
8
|
import { h as J } from "./moment-D7p2TMB-.js";
|
|
9
|
-
import { z as Ue } from "./app-
|
|
10
|
-
import { u as Q } from "./membership-
|
|
11
|
-
import { u as X } from "./business-
|
|
12
|
-
import "./index-
|
|
9
|
+
import { z as Ue } from "./app-BU48DR8E.js";
|
|
10
|
+
import { u as Q } from "./membership-BbEmnTSf.js";
|
|
11
|
+
import { u as X } from "./business-BXXPV_BJ.js";
|
|
12
|
+
import "./index-CJHTigmz.js";
|
|
13
13
|
import { _ as O } from "./CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js";
|
|
14
14
|
import { c as de } from "./object-qECH92oz.js";
|
|
15
|
-
import { Z } from "./zod-
|
|
16
|
-
import { _ as xe } from "./SelectItems.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
15
|
+
import { Z } from "./zod-BSmgtLPD.js";
|
|
16
|
+
import { _ as xe } from "./SelectItems.vue_vue_type_script_setup_true_lang-C4i9ZzGe.js";
|
|
17
|
+
import "./index-DemX8i2v.js";
|
|
18
|
+
import "./index-Dgnwhbhv.js";
|
|
19
|
+
import "./index-CvmXvyLj.js";
|
|
20
|
+
import "./index-7_8Sujrx.js";
|
|
21
21
|
const Re = { class: "flex items-center justify-between" }, Ye = { class: "flex items-center gap-8 xs:flex-wrap" }, Ce = { class: "text-fm-color-primary line-clamp-1 text-ellipsis" }, De = /* @__PURE__ */ A({
|
|
22
22
|
__name: "RuleEntry",
|
|
23
23
|
props: {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as z, resolveComponent as S, openBlock as p, createElementBlock as k, createElementVNode as l, createVNode as r, unref as t, createCommentVNode as le, withCtx as E, Fragment as O, renderList as ie, createBlock as J, toDisplayString as R, normalizeClass as re, onMounted as Se, computed as ce, isRef as Ie, createSlots as Me, h as Y, onBeforeMount as Te } from "vue";
|
|
2
2
|
import { _ as Ee } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { n as Ae, p as De } from "./plugins-
|
|
4
|
-
import { u as $e } from "./loading-
|
|
3
|
+
import { n as Ae, p as De } from "./plugins-C7_WZRNH.js";
|
|
4
|
+
import { u as $e } from "./loading-up7stUln.js";
|
|
5
5
|
import { FmButtonVariant as ae, useSnackbar as Re, components as X } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as we, _ as Fe } from "./usePagination-Ds-cuHop.js";
|
|
7
|
-
import { u as be } from "./vue-i18n-
|
|
8
|
-
import "./index-
|
|
9
|
-
import { i as Pe, j as $, c as fe } from "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { R as ge } from "./rule-builder-
|
|
19
|
-
import { _ as Le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
20
|
-
import { _ as ze } from "./RuleGroup.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { u as Oe, v as je, w as qe } from "./index.esm2017-
|
|
7
|
+
import { u as be } from "./vue-i18n-Bq3nuxaj.js";
|
|
8
|
+
import "./index-DemX8i2v.js";
|
|
9
|
+
import { i as Pe, j as $, c as fe } from "./index-Dgnwhbhv.js";
|
|
10
|
+
import "./index-OZj06Ttw.js";
|
|
11
|
+
import { F as ye, z as Be } from "./index-CJHTigmz.js";
|
|
12
|
+
import "./index-CvmXvyLj.js";
|
|
13
|
+
import "./index-7_8Sujrx.js";
|
|
14
|
+
import { u as ne, w as he } from "./xlsx-DNBXAk5t.js";
|
|
15
|
+
import { e as Ne, M as Ve } from "./email-addresses-CgCtARgI.js";
|
|
16
|
+
import { Z as Ye } from "./zod-BSmgtLPD.js";
|
|
17
|
+
import { u as Ue } from "./app-wDQR6dpb.js";
|
|
18
|
+
import { R as ge } from "./rule-builder-BO6eO4WG.js";
|
|
19
|
+
import { _ as Le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-B61Mje_C.js";
|
|
20
|
+
import { _ as ze } from "./RuleGroup.vue_vue_type_script_setup_true_lang-BDFJqGHC.js";
|
|
21
|
+
import { u as Oe, v as je, w as qe } from "./index.esm2017-CT9d1NRD.js";
|
|
22
22
|
import { F as Ge } from "./FileSaver.min-NlMItPOc.js";
|
|
23
23
|
import { h as H } from "./moment-D7p2TMB-.js";
|
|
24
|
-
import { s as B, u as He } from "./membership-
|
|
24
|
+
import { s as B, u as He } from "./membership-BbEmnTSf.js";
|
|
25
25
|
import { o as Je } from "./objectId-dwaoBfJX.js";
|
|
26
|
-
import { u as Ce } from "./business-
|
|
27
|
-
import { f as Qe } from "./number-
|
|
28
|
-
import { t as We } from "./money-
|
|
29
|
-
import "./index-
|
|
26
|
+
import { u as Ce } from "./business-BXXPV_BJ.js";
|
|
27
|
+
import { f as Qe } from "./number-BAwtHKVN.js";
|
|
28
|
+
import { t as We } from "./money-DVfpKSC6.js";
|
|
29
|
+
import "./index-_uDo6MR6.js";
|
|
30
30
|
import { useRouter as Ze } from "vue-router";
|
|
31
|
-
import { m as ve } from "./index-
|
|
32
|
-
import { R as _e } from "./app-
|
|
31
|
+
import { m as ve } from "./index-DITIOfs4.js";
|
|
32
|
+
import { R as _e } from "./app-BU48DR8E.js";
|
|
33
33
|
const Ke = Pe.extend({
|
|
34
34
|
_id: ye.optional(),
|
|
35
35
|
business: ye.optional(),
|
|
36
|
-
file:
|
|
36
|
+
file: Be.any().nullish()
|
|
37
37
|
});
|
|
38
38
|
var Xe = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com", importFilesBucketUrl: "feedme-dev-4c3ef.appspot.com", clientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
|
39
39
|
const et = { class: "flex flex-col space-y-16" }, tt = {
|
|
@@ -315,7 +315,7 @@ const et = { class: "flex flex-col space-y-16" }, tt = {
|
|
|
315
315
|
__name: "SegmentSheet",
|
|
316
316
|
emits: ["update:model-value"],
|
|
317
317
|
setup(e, { expose: v, emit: _ }) {
|
|
318
|
-
const C =
|
|
318
|
+
const C = Ue(), m = z(!1), f = z(!1), w = {
|
|
319
319
|
name: "",
|
|
320
320
|
isActive: !0,
|
|
321
321
|
type: $.enum.DYNAMIC,
|
|
@@ -403,7 +403,7 @@ const et = { class: "flex flex-col space-y-16" }, tt = {
|
|
|
403
403
|
modelValue: t(n).name,
|
|
404
404
|
"onUpdate:modelValue": s[1] || (s[1] = (u) => t(n).name = u),
|
|
405
405
|
label: "Segment title",
|
|
406
|
-
schema: t(
|
|
406
|
+
schema: t(Ye).typeAtPath(t(F), "name")
|
|
407
407
|
}, null, 8, ["modelValue", "schema"]),
|
|
408
408
|
l("div", xt, [
|
|
409
409
|
s[10] || (s[10] = l("div", { class: "fm-typo-en-title-sm-800" }, "Segment Type", -1)),
|
|
@@ -475,7 +475,7 @@ const kt = {
|
|
|
475
475
|
const v = ce(() => Ct.locations.map((T) => ({
|
|
476
476
|
label: T.name,
|
|
477
477
|
value: T._id
|
|
478
|
-
}))), _ = (i =
|
|
478
|
+
}))), _ = (i = Ne.parseOneAddress(
|
|
479
479
|
e == null ? void 0 : e.email
|
|
480
480
|
)) != null && i.domain.includes("feedmepos.com") ? void 0 : e.email, C = (b = ((c = e == null ? void 0 : e.collection) == null ? void 0 : c.TITLE) || []) == null ? void 0 : b.reduce(
|
|
481
481
|
(T, L) => {
|
|
@@ -651,7 +651,7 @@ const kt = {
|
|
|
651
651
|
rowsPerPage: 1e3,
|
|
652
652
|
page: 1,
|
|
653
653
|
rowsNumber: 0
|
|
654
|
-
}, u = new
|
|
654
|
+
}, u = new Ve(), P = (await ve.read({
|
|
655
655
|
limit: 1,
|
|
656
656
|
skip: 0,
|
|
657
657
|
sortBy: o.sortBy,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as N, computed as f, ref as V, onMounted as H, resolveComponent as _, openBlock as c, createElementBlock as u, createVNode as i, withCtx as S, createElementVNode as p, toDisplayString as q, normalizeClass as A, Fragment as b, renderList as j, createCommentVNode as B } from "vue";
|
|
2
|
-
import { C as D } from "./app-
|
|
3
|
-
import "./index-
|
|
2
|
+
import { C as D } from "./app-CrFBlZQC.js";
|
|
3
|
+
import "./index-CJHTigmz.js";
|
|
4
4
|
import { c as E } from "./object-qECH92oz.js";
|
|
5
5
|
const M = { class: "flex flex-col flex-nowrap" }, T = { class: "flex gap-16 items-center w-full" }, $ = { class: "flex grow items-center" }, z = { class: "grow text-fm-color-typo-secondary" }, K = { key: 0 }, J = { class: "px-16" }, X = /* @__PURE__ */ N({
|
|
6
6
|
__name: "SelectItems",
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { defineComponent as L, ref as p, computed as C, onMounted as P, resolveComponent as i, openBlock as $, createBlock as D, unref as e, isRef as H, withCtx as S, createElementVNode as v, createVNode as c, toDisplayString as w } from "vue";
|
|
2
|
-
import { u as O } from "./loading-
|
|
3
|
-
import { p as Z } from "./plugins-
|
|
2
|
+
import { u as O } from "./loading-up7stUln.js";
|
|
3
|
+
import { p as Z } from "./plugins-C7_WZRNH.js";
|
|
4
4
|
import { u as q } from "./app-wDQR6dpb.js";
|
|
5
|
-
import { m as z } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as G } from "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
5
|
+
import { m as z } from "./index-DITIOfs4.js";
|
|
6
|
+
import "./index-DemX8i2v.js";
|
|
7
|
+
import { b as G } from "./index-Dgnwhbhv.js";
|
|
8
|
+
import "./index-OZj06Ttw.js";
|
|
9
|
+
import "./index-CJHTigmz.js";
|
|
10
|
+
import "./index-CvmXvyLj.js";
|
|
11
|
+
import "./index-7_8Sujrx.js";
|
|
12
|
+
import { Z as d } from "./zod-BSmgtLPD.js";
|
|
13
|
+
import { z as Y } from "./app-BU48DR8E.js";
|
|
14
|
+
import { u as j } from "./vue-i18n-Bq3nuxaj.js";
|
|
15
|
+
import { c as J } from "./campaign-Dan0mmow.js";
|
|
16
|
+
const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-400" }, W = { class: "flex items-center gap-8" }, he = /* @__PURE__ */ L({
|
|
16
17
|
__name: "SendCollectionSheet",
|
|
17
18
|
emits: ["success"],
|
|
18
19
|
setup(X, { expose: V, emit: I }) {
|
|
19
|
-
const { t:
|
|
20
|
+
const { t: m } = j(), { minor: k } = O, A = I, n = p({
|
|
20
21
|
memberId: [],
|
|
21
22
|
amount: 1,
|
|
22
23
|
ref: ""
|
|
@@ -26,9 +27,9 @@ const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-
|
|
|
26
27
|
var a;
|
|
27
28
|
switch ((a = h.value) == null ? void 0 : a.type) {
|
|
28
29
|
case "MISSION":
|
|
29
|
-
return
|
|
30
|
+
return m("connect.sendCollectionSheet.stamp");
|
|
30
31
|
case "GAME":
|
|
31
|
-
return
|
|
32
|
+
return m("connect.sendCollectionSheet.game_token");
|
|
32
33
|
default:
|
|
33
34
|
return "Unknown";
|
|
34
35
|
}
|
|
@@ -58,24 +59,24 @@ const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-
|
|
|
58
59
|
label: `${s.name} (${s.phoneNumber})`,
|
|
59
60
|
value: s._id
|
|
60
61
|
}));
|
|
61
|
-
const
|
|
62
|
-
await new Promise((s) => setTimeout(s,
|
|
62
|
+
const l = 100;
|
|
63
|
+
await new Promise((s) => setTimeout(s, l));
|
|
63
64
|
}
|
|
64
65
|
async function U() {
|
|
65
66
|
var t;
|
|
66
67
|
await Z.confirm(
|
|
67
|
-
|
|
68
|
+
m("connect.sendCollectionSheet.confirmation_message", {
|
|
68
69
|
amount: n.value.amount,
|
|
69
70
|
type: F.value,
|
|
70
|
-
memberName: f.value ? (t = b.value.find((
|
|
71
|
+
memberName: f.value ? (t = b.value.find((l) => l.value === f.value)) == null ? void 0 : t.label : "Unknown Member"
|
|
71
72
|
}),
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
m("connect.common.confirm"),
|
|
74
|
+
m("connect.common.confirm"),
|
|
75
|
+
m("connect.common.cancel")
|
|
75
76
|
) && await k(
|
|
76
77
|
async () => {
|
|
77
|
-
var
|
|
78
|
-
await J.sendStamp((
|
|
78
|
+
var l;
|
|
79
|
+
await J.sendStamp((l = h.value) == null ? void 0 : l._id.toString(), {
|
|
79
80
|
memberId: n.value.memberId,
|
|
80
81
|
amount: n.value.amount,
|
|
81
82
|
ref: n.value.ref
|
|
@@ -93,11 +94,11 @@ const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-
|
|
|
93
94
|
}), P(async () => {
|
|
94
95
|
await y("");
|
|
95
96
|
}), (a, t) => {
|
|
96
|
-
const
|
|
97
|
+
const l = i("FmCard"), s = i("FmSelect"), B = i("FmStepperField"), N = i("FmTextField"), E = i("FmForm"), x = i("FmButton"), R = i("FmSideSheet");
|
|
97
98
|
return $(), D(R, {
|
|
98
99
|
"max-width": 560,
|
|
99
100
|
"dismiss-away": !0,
|
|
100
|
-
header: e(
|
|
101
|
+
header: e(m)("connect.sendCollectionSheet.title", {
|
|
101
102
|
type: e(F)
|
|
102
103
|
}),
|
|
103
104
|
modelValue: e(r),
|
|
@@ -133,14 +134,14 @@ const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-
|
|
|
133
134
|
blameFormChildOnValidationFailed: ""
|
|
134
135
|
}, {
|
|
135
136
|
default: S(() => [
|
|
136
|
-
c(
|
|
137
|
+
c(l, {
|
|
137
138
|
variant: "outlined",
|
|
138
139
|
class: "p-16"
|
|
139
140
|
}, {
|
|
140
141
|
default: S(() => {
|
|
141
142
|
var o;
|
|
142
143
|
return [
|
|
143
|
-
v("div", K, w(e(
|
|
144
|
+
v("div", K, w(e(m)("connect.campaign.common.campaign")), 1),
|
|
144
145
|
v("div", Q, w((o = e(h)) == null ? void 0 : o.name), 1)
|
|
145
146
|
];
|
|
146
147
|
}),
|
|
@@ -184,5 +185,5 @@ const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-
|
|
|
184
185
|
}
|
|
185
186
|
});
|
|
186
187
|
export {
|
|
187
|
-
|
|
188
|
+
he as _
|
|
188
189
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as L, ref as c, watch as S, onMounted as R, resolveComponent as f, openBlock as j, createBlock as B, unref as t, isRef as _, withCtx as V, createElementVNode as v, createVNode as m, toDisplayString as N } from "vue";
|
|
2
2
|
import { J as A } from "./JsonViewer-v8_C7l5N.js";
|
|
3
|
-
import { u as E } from "./loading-
|
|
3
|
+
import { u as E } from "./loading-up7stUln.js";
|
|
4
4
|
import { u as P } from "./app-wDQR6dpb.js";
|
|
5
5
|
import { l as U } from "./lodash-B5I3zXaY.js";
|
|
6
|
-
import { m as D } from "./index-
|
|
7
|
-
import { c as J } from "./campaign-
|
|
6
|
+
import { m as D } from "./index-DITIOfs4.js";
|
|
7
|
+
import { c as J } from "./campaign-Dan0mmow.js";
|
|
8
8
|
const O = { class: "space-y-16" }, T = { class: "fm-typo-en-body-md-600" }, $ = { class: "flex items-center justify-end" }, q = { class: "flex items-center gap-8" }, ee = /* @__PURE__ */ L({
|
|
9
9
|
__name: "SendVoucherSheet",
|
|
10
10
|
emits: ["success"],
|