@feedmepos/mf-connect 0.0.21-prod → 0.0.22-prod
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-C6F4G25g.js → Analytic-DiZyXVa2.js} +21 -19
- package/dist/App-B56fA1JN.js +176 -0
- package/dist/{Broadcast-DO2VP__g.js → Broadcast-ixoPXMt8.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0aQTASM.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DlgKZtNO.js} +8 -8
- package/dist/{Card-DZyOKMh6.js → Card-aw5tdKY-.js} +39 -37
- package/dist/{Collections-DLyCIlvd.js → Collections-CMD-SLC3.js} +16 -14
- package/dist/{Credit-DRdsjXky.js → Credit-CEVk1_sX.js} +7 -7
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-733A3xAJ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Co6j2tz0.js} +23 -20
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CvtX7ULa.js → EffectSheet.vue_vue_type_style_index_0_lang-xXv4IrKd.js} +5 -5
- package/dist/{Experience-D33O1vby.js → Experience-CSui9603.js} +7 -7
- package/dist/{Game-BrYvnjMK.js → Game-PodGVfdS.js} +7 -7
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Dby96cpu.js → ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js} +1 -1
- package/dist/JsonViewer-v8_C7l5N.js +87 -0
- package/dist/{MainLayout-Cex8qsGf.js → MainLayout-DpZC6o3R.js} +2 -1
- package/dist/{Marketing-6ATQUGoF.js → Marketing-CbrFzK0w.js} +13 -12
- package/dist/{Member-CCIVIzDM.js → Member-DnrQEiiV.js} +31 -30
- package/dist/{MemberList-Cs0LD8gi.js → MemberList-7Te6kVOJ.js} +33 -30
- package/dist/{MemberTransactions-CLE7hYWY.js → MemberTransactions-BUp_0bkL.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DcKMh_2f.js → MessageInput.vue_vue_type_script_setup_true_lang-BrxCjH9R.js} +2 -2
- package/dist/{Mission-BHI8zTMK.js → Mission-Bp16rwVh.js} +14 -14
- package/dist/{Point-CHxmW_O8.js → Point-DnzgCjC2.js} +7 -7
- package/dist/{Promotion-C8CqdNGj.js → Promotion-BmhVCYgN.js} +8 -8
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C9C8o4ON.js → RuleGroup.vue_vue_type_script_setup_true_lang-BuELQmoo.js} +16 -15
- package/dist/{Segment-CvNLrjIH.js → Segment-CCrLEh0A.js} +19 -18
- package/dist/{Setting-oXiZZAub.js → Setting-v0gKscv9.js} +11 -10
- package/dist/{Store-WLcxJNzp.js → Store-CHDu8Rop.js} +51 -47
- package/dist/{StoreRewards-CMrnEHsB.js → StoreRewards-D_vBCPZl.js} +108 -105
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-bgEBVCXH.js → StoreTransactions.vue_vue_type_script_setup_true_lang-zDJEaBmd.js} +106 -108
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6gZzsja.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CVf5Jjj1.js} +6 -6
- package/dist/{Tier-BwXb3Pk1.js → Tier-C5gbgtcG.js} +25 -24
- package/dist/{Title-BOyT9mEy.js → Title-CojucJrP.js} +15 -15
- package/dist/{Transaction-wwnoXk9w.js → Transaction-D1i5IH7D.js} +1 -1
- package/dist/{Voucher-BbpSPfL0.js → Voucher-VuXKhD49.js} +55 -51
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-Cok2f-SL.js +2974 -0
- package/dist/{app-Bw4vX2Xq.js → app-Df5HEUc7.js} +1 -1
- package/dist/app-wDQR6dpb.js +39 -0
- package/dist/app.js +2 -2
- package/dist/business-zehruO7m.js +78 -0
- package/dist/{campaign-BAxYqkWK.js → campaign-BDdGYC5z.js} +7 -7
- package/dist/{dto-CwGNrCVP.js → dto-X3oNeL7n.js} +41 -41
- package/dist/{effect-OIGvEMnu.js → effect-Cl3gXAd9.js} +1 -1
- package/dist/{export-pnyF_Nqa.js → export-COy97xf1.js} +3 -3
- package/dist/{helper-1r9zsTyt.js → helper-BMCigtw-.js} +1 -1
- package/dist/{index-BULhetR6.js → index-9ijJtga8.js} +1 -1
- package/dist/{app-CzpQo8NQ.js → index-BENEb_BE.js} +9660 -13019
- package/dist/index-BEWobmlN.js +11 -0
- package/dist/{index-Shw3boHM.js → index-Bi8rxPHs.js} +1 -1
- package/dist/{index-COXwd1ca.js → index-Btbk-4q4.js} +3 -3
- package/dist/{index-C33oGCbQ.js → index-CXwywdbf.js} +5 -5
- package/dist/{index-s63kYMDU.js → index-Cl6-R6oj.js} +1 -1
- package/dist/{index-CFW6MW-j.js → index-DEunD6Nb.js} +46 -39
- package/dist/{index-6xeKaiuc.js → index-DcRKYwqb.js} +3 -3
- package/dist/{index-AeZIrHi3.js → index-SusoyGmN.js} +6 -7
- package/dist/{index-DdgrIdtX.js → index-ucUyNm2f.js} +177 -168
- package/dist/{index-C9XT87dh.js → index-ueVq8lE0.js} +6 -5
- package/dist/{loading-D7uTV0-9.js → loading-B7ZGAeOi.js} +28 -26
- package/dist/{lodash-O836mjN1.js → lodash-B5I3zXaY.js} +1 -1
- package/dist/{membership-BRlmOhUi.js → membership-JcEfpV3H.js} +3 -3
- package/dist/{money-BdNZ4vMR.js → money-DFguRQja.js} +1 -1
- package/dist/number-CojWykn9.js +12 -0
- package/dist/{rule-2GUvtk01.js → rule-C_lc6_Vf.js} +2 -2
- package/dist/{rule-builder-B3FwMkHG.js → rule-builder-C3AmhP2r.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-COZoDCgl.js → template-TVj4e3Q0.js} +5 -5
- package/dist/{usePagination-CwZ7gv3m.js → usePagination-JoYaROkV.js} +1 -1
- package/dist/{xlsx-B2_kvHAq.js → xlsx-zY8O-RaE.js} +1 -1
- package/package.json +1 -1
- package/dist/number-CNiMHNNi.js +0 -12
|
@@ -3,15 +3,17 @@ var oe = (b, r, d) => r in b ? ee(b, r, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var z = (b, r, d) => oe(b, typeof r != "symbol" ? r + "" : r, d);
|
|
4
4
|
import { defineComponent as G, ref as g, computed as H, watch as O, resolveComponent as c, openBlock as h, createBlock as L, unref as e, isRef as K, withCtx as R, createElementVNode as v, createVNode as s, createElementBlock as P, Fragment as N, renderList as te, createCommentVNode as U, onMounted as ae, h as T } from "vue";
|
|
5
5
|
import { h as j } from "./moment-BWErdI6_.js";
|
|
6
|
-
import {
|
|
7
|
-
import { components as
|
|
8
|
-
import { u as J, a as
|
|
6
|
+
import { R as le } from "./index-BEWobmlN.js";
|
|
7
|
+
import { components as ne } from "@feedmepos/ui-library";
|
|
8
|
+
import { u as J, a as se } from "./loading-B7ZGAeOi.js";
|
|
9
|
+
import { J as re } from "./JsonViewer-v8_C7l5N.js";
|
|
10
|
+
import { u as ie } from "./app-wDQR6dpb.js";
|
|
9
11
|
import { useRoute as Q } from "vue-router";
|
|
10
|
-
import { c as E } from "./index-
|
|
11
|
-
import { u as Y, w as ue } from "./xlsx-
|
|
12
|
+
import { c as E } from "./index-Bi8rxPHs.js";
|
|
13
|
+
import { u as Y, w as ue } from "./xlsx-zY8O-RaE.js";
|
|
12
14
|
import { g as de } from "./user-Bm4KttFq.js";
|
|
13
|
-
import { u as ce, _ as me } from "./usePagination-
|
|
14
|
-
import { m as pe } from "./index-
|
|
15
|
+
import { u as ce, _ as me } from "./usePagination-JoYaROkV.js";
|
|
16
|
+
import { m as pe } from "./index-9ijJtga8.js";
|
|
15
17
|
import { o as fe } from "./objectId-dwaoBfJX.js";
|
|
16
18
|
const ge = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Code type", -1), be = { class: "space-y-16" }, Ce = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Settings", -1), ve = { class: "gap-16 grid grid-cols-2" }, he = { class: "flex items-center gap-8" }, ye = /* @__PURE__ */ G({
|
|
17
19
|
__name: "CreateCollectionSheet",
|
|
@@ -107,7 +109,7 @@ const ge = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Code t
|
|
|
107
109
|
s($, {
|
|
108
110
|
label: "Save",
|
|
109
111
|
onClick: o[12] || (o[12] = (t) => l(e(a))),
|
|
110
|
-
loading: e(
|
|
112
|
+
loading: e(ie)().isLoading
|
|
111
113
|
}, null, 8, ["loading"]),
|
|
112
114
|
s($, {
|
|
113
115
|
label: "Cancel",
|
|
@@ -118,7 +120,7 @@ const ge = /* @__PURE__ */ v("div", { class: "fm-typo-en-body-lg-600" }, "Code t
|
|
|
118
120
|
])
|
|
119
121
|
]),
|
|
120
122
|
default: R(() => [
|
|
121
|
-
s(
|
|
123
|
+
s(re, { json: e(a) }, null, 8, ["json"]),
|
|
122
124
|
s(X, {
|
|
123
125
|
ref_key: "form",
|
|
124
126
|
ref: I,
|
|
@@ -252,7 +254,7 @@ const p = {
|
|
|
252
254
|
rowsPerPage: 1e3,
|
|
253
255
|
page: 1,
|
|
254
256
|
rowsNumber: 0
|
|
255
|
-
}, Ve = { class: "px-24 flex flex-col gap-y-32 pb-24" }, we = { class: "flex items-center justify-end py-4 xs:hidden" },
|
|
257
|
+
}, Ve = { class: "px-24 flex flex-col gap-y-32 pb-24" }, we = { class: "flex items-center justify-end py-4 xs:hidden" }, Le = /* @__PURE__ */ G({
|
|
256
258
|
__name: "Collections",
|
|
257
259
|
setup(b) {
|
|
258
260
|
const r = Q(), d = g(), F = H(() => r.params.id), B = g(!1), { custom: I } = J, k = [
|
|
@@ -261,13 +263,13 @@ const p = {
|
|
|
261
263
|
accessorKey: "_id",
|
|
262
264
|
cell(n) {
|
|
263
265
|
return T("div", { class: "flex items-center" }, [
|
|
264
|
-
T(
|
|
266
|
+
T(ne.FmIcon, {
|
|
265
267
|
name: "content_copy",
|
|
266
268
|
outline: !0,
|
|
267
269
|
size: "sm",
|
|
268
270
|
class: "cursor-pointer mr-4",
|
|
269
271
|
onClick: (l) => {
|
|
270
|
-
l.preventDefault(), l.stopPropagation(),
|
|
272
|
+
l.preventDefault(), l.stopPropagation(), se(
|
|
271
273
|
n.row.original.code || n.row.original._id.toString()
|
|
272
274
|
);
|
|
273
275
|
}
|
|
@@ -385,7 +387,7 @@ const p = {
|
|
|
385
387
|
isPrimary: !0
|
|
386
388
|
}
|
|
387
389
|
],
|
|
388
|
-
"onClick:back": l[0] || (l[0] = (u) => e(
|
|
390
|
+
"onClick:back": l[0] || (l[0] = (u) => e(le).back()),
|
|
389
391
|
"onClick:action": l[1] || (l[1] = (u) => {
|
|
390
392
|
var w;
|
|
391
393
|
u === "create" && ((w = e(d)) == null || w.showSheet(!0)), u === "export" && V();
|
|
@@ -436,5 +438,5 @@ const p = {
|
|
|
436
438
|
}
|
|
437
439
|
});
|
|
438
440
|
export {
|
|
439
|
-
|
|
441
|
+
Le as default
|
|
440
442
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as U, ref as k, computed as A, onMounted as N, resolveComponent as i, openBlock as l, createElementBlock as f, Fragment as g, createVNode as r, unref as o, createElementVNode as s, withCtx as h, renderList as j, createBlock as C, resolveDynamicComponent as M, toDisplayString as y, createCommentVNode as H, 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 { u as O, p as Q } from "./loading-
|
|
5
|
-
import {
|
|
6
|
-
import { u as X } from "./campaign-
|
|
7
|
-
import { g as S, b as V } from "./dto-
|
|
4
|
+
import { u as O, p as Q } from "./loading-B7ZGAeOi.js";
|
|
5
|
+
import { u as W } from "./business-zehruO7m.js";
|
|
6
|
+
import { u as X } from "./campaign-BDdGYC5z.js";
|
|
7
|
+
import { g as S, b as V } from "./dto-X3oNeL7n.js";
|
|
8
8
|
import { _ as Y } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as ee } from "./template-
|
|
11
|
-
import { c as _ } from "./index-
|
|
9
|
+
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Co6j2tz0.js";
|
|
10
|
+
import { u as ee } from "./template-TVj4e3Q0.js";
|
|
11
|
+
import { c as _ } from "./index-Bi8rxPHs.js";
|
|
12
12
|
const te = { class: "px-24 flex flex-col gap-y-16" }, oe = { class: "flex items-center justify-between w-full" }, ae = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, ne = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "space-y-4" }, le = { class: "fm-typo-en-body-lg-600" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { key: 0 }, ue = /* @__PURE__ */ s("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, " No results found ", -1), pe = [
|
|
13
13
|
ue
|
|
14
14
|
], fe = /* @__PURE__ */ s("img", {
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, ref, watch, resolveComponent, createElementBlock, createElementVNode, Fragment, renderList, createVNode, isRef, createCommentVNode, withCtx, normalizeClass, toDisplayString, renderSlot, createTextVNode, resolveDynamicComponent, toRefs, normalizeStyle, createSlots } from "vue";
|
|
2
|
-
import { _ } from "./lodash-
|
|
3
|
-
import {
|
|
2
|
+
import { _ } from "./lodash-B5I3zXaY.js";
|
|
3
|
+
import { z } from "./app-Cok2f-SL.js";
|
|
4
4
|
import { Z as ZodHelper, _ as _sfc_main$u } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
|
|
5
|
-
import { c as getCampaignSummaryObject, d as campaignRefinement, e as CampaignDtos, C as CampaignOptions, f as campaignTransform } from "./dto-
|
|
6
|
-
import { u as useMembershipStore, C as CollectibleOptions } from "./membership-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { c as getCampaignSummaryObject, d as campaignRefinement, e as CampaignDtos, C as CampaignOptions, f as campaignTransform } from "./dto-X3oNeL7n.js";
|
|
6
|
+
import { u as useMembershipStore, C as CollectibleOptions } from "./membership-JcEfpV3H.js";
|
|
7
|
+
import { u as useBusinessStore } from "./business-zehruO7m.js";
|
|
8
|
+
import { a as FdoEarningOption, b as F_GAME_TYPE, F as FdtoCollectibleConfig } from "./index-ucUyNm2f.js";
|
|
9
|
+
import { i as isRuleGroup, R as RuleBuilder, a as isRuleEntry } from "./rule-builder-C3AmhP2r.js";
|
|
10
|
+
import { J as JsonViewer } from "./JsonViewer-v8_C7l5N.js";
|
|
9
11
|
import { h as hooks } from "./moment-BWErdI6_.js";
|
|
10
|
-
import { b as F_CAMPAIGN_TRIGGER_TYPE, C as CAMPAIGN_TRIGGER, c as FdoCreditLoyaltyReward, d as FdtoRandomReward, e as F_MISSION_TYPE, f as FdtoThresholdReward, g as FdoMission, h as featureVersionMapping } from "./index-
|
|
11
|
-
import { _ as _sfc_main$v } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { _ as _sfc_main$w, a as _sfc_main$x, b as _sfc_main$z } from "./EffectSheet.vue_vue_type_style_index_0_lang-
|
|
13
|
-
import { _ as _sfc_main$y } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as _sfc_main$r, a as _sfc_main$s, b as _sfc_main$t } from "./RuleGroup.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { p as prompt, c as cases, f as firebaseStorage, u as useLoading } from "./loading-
|
|
16
|
-
import { _ as _sfc_main$q, T as TEMPLATES } from "./index-
|
|
17
|
-
import { _ as _sfc_main$A } from "./MessageInput.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { c as calculateNextScheduleAt, S as SummarizeRrule, R as RRule } from "./rule-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./index-
|
|
12
|
+
import { b as F_CAMPAIGN_TRIGGER_TYPE, C as CAMPAIGN_TRIGGER, c as FdoCreditLoyaltyReward, d as FdtoRandomReward, e as F_MISSION_TYPE, f as FdtoThresholdReward, g as FdoMission, h as featureVersionMapping } from "./index-ueVq8lE0.js";
|
|
13
|
+
import { _ as _sfc_main$v } from "./ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js";
|
|
14
|
+
import { _ as _sfc_main$w, a as _sfc_main$x, b as _sfc_main$z } from "./EffectSheet.vue_vue_type_style_index_0_lang-xXv4IrKd.js";
|
|
15
|
+
import { _ as _sfc_main$y } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CVf5Jjj1.js";
|
|
16
|
+
import { _ as _sfc_main$r, a as _sfc_main$s, b as _sfc_main$t } from "./RuleGroup.vue_vue_type_script_setup_true_lang-BuELQmoo.js";
|
|
17
|
+
import { p as prompt, c as cases, f as firebaseStorage, u as useLoading } from "./loading-B7ZGAeOi.js";
|
|
18
|
+
import { _ as _sfc_main$q, T as TEMPLATES } from "./index-CXwywdbf.js";
|
|
19
|
+
import { _ as _sfc_main$A } from "./MessageInput.vue_vue_type_script_setup_true_lang-BrxCjH9R.js";
|
|
20
|
+
import { c as calculateNextScheduleAt, S as SummarizeRrule, R as RRule } from "./rule-C_lc6_Vf.js";
|
|
21
|
+
import { c as core, S as SvcConfig } from "./index-BENEb_BE.js";
|
|
22
|
+
import "./index-SusoyGmN.js";
|
|
23
|
+
import "./index-Btbk-4q4.js";
|
|
24
|
+
import "./index-DEunD6Nb.js";
|
|
25
|
+
import "./index-Cl6-R6oj.js";
|
|
23
26
|
import { useCoreStore } from "@feedmepos/mf-common";
|
|
24
|
-
import { i as initCollectibleConfig } from "./helper-
|
|
27
|
+
import { i as initCollectibleConfig } from "./helper-BMCigtw-.js";
|
|
25
28
|
import { C as CollectionUtils } from "./collection.fn-DHlfGYAC.js";
|
|
26
29
|
import { s as sentenceCase$1 } from "./index-CuvNtC_M.js";
|
|
27
30
|
import { useDialog } from "@feedmepos/ui-library";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as O, ref as R, onMounted as J, computed as z, resolveComponent as y, openBlock as s, createElementBlock as x, renderSlot as K, toDisplayString as S, createCommentVNode as f, createBlock as p, unref as e, isRef as H, createVNode as b, normalizeClass as q, watch as Q, withCtx as F, resolveDynamicComponent as k, Fragment as W, createElementVNode as A, createTextVNode as X } from "vue";
|
|
2
|
-
import { z as _ } from "./app-
|
|
2
|
+
import { z as _ } from "./app-Cok2f-SL.js";
|
|
3
3
|
import { Z as d } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
|
|
4
|
-
import { g as ee, h as te } from "./index-
|
|
5
|
-
import { s as C } from "./effect-
|
|
6
|
-
import { p as le } from "./loading-
|
|
7
|
-
import { E as oe } from "./app-
|
|
4
|
+
import { g as ee, h as te } from "./index-ucUyNm2f.js";
|
|
5
|
+
import { s as C } from "./effect-Cl3gXAd9.js";
|
|
6
|
+
import { p as le } from "./loading-B7ZGAeOi.js";
|
|
7
|
+
import { E as oe } from "./app-Df5HEUc7.js";
|
|
8
8
|
const ae = { class: "flex flex-col gap-8" }, ne = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-body-lg-600"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as O, ref as k, computed as U, onMounted as A, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as _, createVNode as r, unref as a, createElementVNode as n, withCtx as h, renderList as D, createBlock as x, resolveDynamicComponent as j, toDisplayString as f, h as M } from "vue";
|
|
2
2
|
import { _ as H } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as q, components as z } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as G, p as J } from "./loading-
|
|
5
|
-
import {
|
|
6
|
-
import { u as W } from "./campaign-
|
|
7
|
-
import { g as S, b as V } from "./dto-
|
|
4
|
+
import { u as G, p as J } from "./loading-B7ZGAeOi.js";
|
|
5
|
+
import { u as Q } from "./business-zehruO7m.js";
|
|
6
|
+
import { u as W } from "./campaign-BDdGYC5z.js";
|
|
7
|
+
import { g as S, b as V } from "./dto-X3oNeL7n.js";
|
|
8
8
|
import { _ as X } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as Z } from "./template-
|
|
11
|
-
import { c as y } from "./index-
|
|
9
|
+
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Co6j2tz0.js";
|
|
10
|
+
import { u as Z } from "./template-TVj4e3Q0.js";
|
|
11
|
+
import { c as y } from "./index-Bi8rxPHs.js";
|
|
12
12
|
const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, oe = { class: "flex gap-8 overflow-x-auto" }, ae = { class: "space-y-8" }, ne = { class: "flex w-full gap-4 items-center" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, re = { class: "space-y-4" }, ie = { class: "fm-typo-en-body-lg-600" }, le = { 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" }, me = /* @__PURE__ */ n("img", {
|
|
13
13
|
src: H,
|
|
14
14
|
class: "aspect-square w-[150px]"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as j, ref as L, computed as D, onMounted as H, resolveComponent as l, openBlock as c, createElementBlock as w, Fragment as x, createVNode as i, unref as a, withCtx as y, createElementVNode as n, renderList as N, createBlock as b, resolveDynamicComponent as q, toDisplayString as _, h as m } from "vue";
|
|
2
2
|
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as v } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as O, a as Q, p as W } from "./loading-
|
|
5
|
-
import {
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
7
|
-
import { g as A, b as B } from "./dto-
|
|
4
|
+
import { u as O, a as Q, p as W } from "./loading-B7ZGAeOi.js";
|
|
5
|
+
import { u as X } from "./business-zehruO7m.js";
|
|
6
|
+
import { u as Y } from "./campaign-BDdGYC5z.js";
|
|
7
|
+
import { g as A, b as B } from "./dto-X3oNeL7n.js";
|
|
8
8
|
import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
9
|
-
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as te } from "./template-
|
|
11
|
-
import { c as h } from "./index-
|
|
9
|
+
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Co6j2tz0.js";
|
|
10
|
+
import { u as te } from "./template-TVj4e3Q0.js";
|
|
11
|
+
import { c as h } from "./index-Bi8rxPHs.js";
|
|
12
12
|
const oe = { class: "flex items-center" }, ae = /* @__PURE__ */ n("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, "Game", -1), ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-center justify-between w-full" }, ie = { class: "flex gap-8 overflow-x-auto" }, le = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, ce = { 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" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = /* @__PURE__ */ n("img", {
|
|
13
13
|
src: z,
|
|
14
14
|
class: "aspect-square w-[150px]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as o, createElementVNode as n, defineComponent as $, ref as h, onMounted as j, resolveComponent as m, renderSlot as v, toDisplayString as i, createCommentVNode as b, normalizeStyle as C, unref as s, Fragment as x, createVNode as w, withCtx as f, createTextVNode as g, normalizeClass as R, createBlock as F } from "vue";
|
|
2
|
-
import { _ as V } from "./
|
|
2
|
+
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const z = {}, H = { class: "animate-pulse flex space-x-4 bg-gray-300 dark:bg-gray-700 items-center justify-center rounded w-full h-full" }, N = /* @__PURE__ */ n("svg", {
|
|
4
4
|
class: "dark:text-gray-600 h-10 text-gray-200 w-10",
|
|
5
5
|
"aria-hidden": "true",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as x, ref as k, resolveComponent as _, openBlock as n, createElementBlock as r, unref as t, createBlock as A, toDisplayString as i, createCommentVNode as u, Fragment as w, renderList as C, createVNode as g, normalizeClass as J } from "vue";
|
|
2
|
+
import { u as B } from "./app-wDQR6dpb.js";
|
|
3
|
+
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const V = { class: "flex justify-start" }, $ = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "ml-0"
|
|
7
|
+
}, F = {
|
|
8
|
+
key: 2,
|
|
9
|
+
class: "text-red-600"
|
|
10
|
+
}, S = { key: 3 }, q = { key: 4 }, I = { key: 0 }, z = /* @__PURE__ */ x({
|
|
11
|
+
__name: "JsonNode",
|
|
12
|
+
props: {
|
|
13
|
+
node: {
|
|
14
|
+
type: Object,
|
|
15
|
+
required: !0
|
|
16
|
+
},
|
|
17
|
+
keyName: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: !1,
|
|
20
|
+
default: ""
|
|
21
|
+
},
|
|
22
|
+
expanded: {
|
|
23
|
+
type: Boolean
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(e) {
|
|
27
|
+
const s = e, c = typeof s.node == "object" && s.node !== null, y = c || Array.isArray(s.node), a = k(y && s.expanded || !1), d = k(), h = () => {
|
|
28
|
+
a.value = !a.value;
|
|
29
|
+
}, v = (o) => Array.isArray(o) ? `[Array(${o.length})]` : typeof o == "object" && o !== null ? `{${Object.keys(o).length ? "…" : ""}}` : "", m = (o) => typeof o == "string" ? `"${o}"` : String(o), p = typeof s.node == "function" && m(s.node) !== "function () { [native code] }" && !d.value;
|
|
30
|
+
return (o, l) => {
|
|
31
|
+
const b = _("FmIcon"), j = _("JsonNode", !0);
|
|
32
|
+
return n(), r("div", V, [
|
|
33
|
+
t(y) ? (n(), A(b, {
|
|
34
|
+
key: 0,
|
|
35
|
+
onClick: h,
|
|
36
|
+
class: "cursor-pointer mt-[2px]",
|
|
37
|
+
name: t(a) ? "arrow_drop_down" : "arrow_right",
|
|
38
|
+
size: "sm"
|
|
39
|
+
}, null, 8, ["name"])) : (n(), r("span", $)),
|
|
40
|
+
e.keyName || e.keyName == "0" ? (n(), r("span", F, i(e.keyName) + ": ", 1)) : u("", !0),
|
|
41
|
+
t(c) && !t(a) ? (n(), r("span", S, i(v(e.node)), 1)) : t(c) && t(a) ? (n(), r("div", q, [
|
|
42
|
+
(n(!0), r(w, null, C(e.node, (N, f) => (n(), r("div", { key: f }, [
|
|
43
|
+
g(j, {
|
|
44
|
+
node: N,
|
|
45
|
+
"key-name": f
|
|
46
|
+
}, null, 8, ["node", "key-name"])
|
|
47
|
+
]))), 128)),
|
|
48
|
+
Object.keys(e.node || {}).length == 0 ? (n(), r("div", I, i(Array.isArray(e.node) ? "[]" : "{}"), 1)) : u("", !0)
|
|
49
|
+
])) : (n(), r("span", {
|
|
50
|
+
key: 5,
|
|
51
|
+
class: J(["text-gray-800", {
|
|
52
|
+
"cursor-pointer text-blue-500": t(p) && !t(d)
|
|
53
|
+
}]),
|
|
54
|
+
onClick: l[0] || (l[0] = () => {
|
|
55
|
+
t(p) && typeof s.node == "function" && (d.value = s.node());
|
|
56
|
+
})
|
|
57
|
+
}, i(t(d) || m(e.node)), 3))
|
|
58
|
+
]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}), E = {
|
|
62
|
+
key: 0,
|
|
63
|
+
class: "json-viewer"
|
|
64
|
+
}, D = /* @__PURE__ */ x({
|
|
65
|
+
__name: "JsonViewer",
|
|
66
|
+
props: {
|
|
67
|
+
json: {
|
|
68
|
+
type: Object,
|
|
69
|
+
required: !0
|
|
70
|
+
},
|
|
71
|
+
expand: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !1
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
setup(e) {
|
|
77
|
+
return (s, c) => t(B)().debugMode ? (n(), r("div", E, [
|
|
78
|
+
g(z, {
|
|
79
|
+
node: e.json,
|
|
80
|
+
expanded: e.expand
|
|
81
|
+
}, null, 8, ["node", "expanded"])
|
|
82
|
+
])) : u("", !0);
|
|
83
|
+
}
|
|
84
|
+
}), R = /* @__PURE__ */ O(D, [["__scopeId", "data-v-d8502b13"]]);
|
|
85
|
+
export {
|
|
86
|
+
R as J
|
|
87
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, resolveComponent, unref, createBlock, createVNode, normalizeClass, createCommentVNode, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
3
|
+
import { u as useAppStore } from "./app-wDQR6dpb.js";
|
|
3
4
|
import { useRoute } from "vue-router";
|
|
4
5
|
const v = "4.8.0", meta = {
|
|
5
6
|
g: "LottieFiles AE ",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { openBlock as c, createElementBlock as u, defineComponent as D, ref as
|
|
1
|
+
import { openBlock as c, createElementBlock as u, defineComponent as D, ref as M, onMounted as z, computed as $, resolveComponent as l, Fragment as C, createVNode as r, unref as m, createElementVNode as o, withCtx as x, renderList as Y, createBlock as A, toDisplayString as B, createCommentVNode as H, h as G } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { components as j } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as q, p as X } from "./loading-
|
|
4
|
+
import { u as q, p as X } from "./loading-B7ZGAeOi.js";
|
|
5
5
|
import { defineStore as Q } from "pinia";
|
|
6
|
-
import { F } from "./index-
|
|
6
|
+
import { F } from "./index-Cl6-R6oj.js";
|
|
7
7
|
import { useCoreStore as W } from "@feedmepos/mf-common";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { g as y, S as Z, b as ee } from "./index-BENEb_BE.js";
|
|
9
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
import { u as ae } from "./campaign-BDdGYC5z.js";
|
|
10
11
|
import { h as ne } from "./moment-BWErdI6_.js";
|
|
11
12
|
var oe = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", marketingV1Portal: "https://marketing-v1.feedme.cc" };
|
|
12
13
|
const h = () => {
|
|
@@ -137,7 +138,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
137
138
|
], ye = /* @__PURE__ */ o("img", {
|
|
138
139
|
src: J,
|
|
139
140
|
class: "w-[150px]"
|
|
140
|
-
}, null, -1), he = /* @__PURE__ */ o("p", { class: "fm-typo-en-title-sm-800" }, "Create marketing material", -1), _e = /* @__PURE__ */ o("p", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" }, " Boost your marketing efforts effortlessly with our AI-powered tools. Generate stunning images and captivating captions for your desired platform. ", -1),
|
|
141
|
+
}, null, -1), he = /* @__PURE__ */ o("p", { class: "fm-typo-en-title-sm-800" }, "Create marketing material", -1), _e = /* @__PURE__ */ o("p", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" }, " Boost your marketing efforts effortlessly with our AI-powered tools. Generate stunning images and captivating captions for your desired platform. ", -1), Ve = /* @__PURE__ */ D({
|
|
141
142
|
__name: "Marketing",
|
|
142
143
|
setup(n) {
|
|
143
144
|
const s = {
|
|
@@ -145,7 +146,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
145
146
|
value: "create",
|
|
146
147
|
isPrimary: !0,
|
|
147
148
|
prependIcon: "add"
|
|
148
|
-
}, p =
|
|
149
|
+
}, p = M(!1), _ = S(), k = ae(), { global: P, minor: T } = q;
|
|
149
150
|
z(async () => {
|
|
150
151
|
await P(async () => {
|
|
151
152
|
await k.read(), await _.readMarketingMaterial();
|
|
@@ -153,7 +154,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
153
154
|
});
|
|
154
155
|
const d = $(() => _.marketing.filter(
|
|
155
156
|
(t) => t.name.includes(i.value.searchKey.toLowerCase())
|
|
156
|
-
)), g =
|
|
157
|
+
)), g = M(
|
|
157
158
|
S().defaultMarketing
|
|
158
159
|
), L = [
|
|
159
160
|
{
|
|
@@ -204,7 +205,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
204
205
|
async function f(t) {
|
|
205
206
|
t ? g.value = JSON.parse(JSON.stringify(t)) : g.value = JSON.parse(JSON.stringify(S().defaultMarketing)), p.value = !0;
|
|
206
207
|
}
|
|
207
|
-
const i =
|
|
208
|
+
const i = M({
|
|
208
209
|
searchKey: ""
|
|
209
210
|
});
|
|
210
211
|
return (t, e) => {
|
|
@@ -264,14 +265,14 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
264
265
|
o("div", me, [
|
|
265
266
|
o("div", de, B(a.name), 1),
|
|
266
267
|
o("div", ue, B(a.campaign === null || a.campaign === void 0 ? "-" : (w = m(k).campaigns.all.find(
|
|
267
|
-
(
|
|
268
|
+
(b) => b._id === a.campaign
|
|
268
269
|
)) == null ? void 0 : w.name), 1)
|
|
269
270
|
]),
|
|
270
271
|
r(V, {
|
|
271
272
|
icon: "delete",
|
|
272
273
|
"icon-color": "neutral-gray-400",
|
|
273
274
|
variant: "tertiary",
|
|
274
|
-
onClick: (
|
|
275
|
+
onClick: (b) => (b.stopPropagation(), I(a))
|
|
275
276
|
}, null, 8, ["onClick"])
|
|
276
277
|
];
|
|
277
278
|
}),
|
|
@@ -304,5 +305,5 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
304
305
|
}
|
|
305
306
|
});
|
|
306
307
|
export {
|
|
307
|
-
|
|
308
|
+
Ve as default
|
|
308
309
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as R, computed as f, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as R, computed as f, ref as p, watch as T, resolveComponent as m, openBlock as d, createElementBlock as k, Fragment as B, createVNode as _, unref as n, createElementVNode as E, createBlock as M, createCommentVNode as A } from "vue";
|
|
2
|
+
import "./index-BEWobmlN.js";
|
|
3
3
|
import { useRouter as L } from "vue-router";
|
|
4
|
-
import { m as N } from "./index-
|
|
4
|
+
import { m as N } from "./index-DcRKYwqb.js";
|
|
5
|
+
import { R as s } from "./app-Cok2f-SL.js";
|
|
5
6
|
const Y = { class: "px-24 flex flex-col gap-y-16 pb-24" }, y = /* @__PURE__ */ R({
|
|
6
7
|
__name: "Member",
|
|
7
|
-
setup(
|
|
8
|
+
setup(h) {
|
|
8
9
|
const e = L(), o = [
|
|
9
10
|
// {
|
|
10
11
|
// label: 'Overview',
|
|
@@ -20,7 +21,7 @@ const Y = { class: "px-24 flex flex-col gap-y-16 pb-24" }, y = /* @__PURE__ */ R
|
|
|
20
21
|
// },
|
|
21
22
|
{
|
|
22
23
|
label: "Member list",
|
|
23
|
-
value:
|
|
24
|
+
value: s["$connect-LOYALTY_MEMBER_LIST"],
|
|
24
25
|
actions: [
|
|
25
26
|
// {
|
|
26
27
|
// label: 'Import member',
|
|
@@ -35,52 +36,52 @@ const Y = { class: "px-24 flex flex-col gap-y-16 pb-24" }, y = /* @__PURE__ */ R
|
|
|
35
36
|
// },
|
|
36
37
|
]
|
|
37
38
|
}
|
|
38
|
-
],
|
|
39
|
-
var a;
|
|
40
|
-
return e.currentRoute.value.name !=
|
|
41
|
-
title:
|
|
42
|
-
actions:
|
|
39
|
+
], r = f(() => {
|
|
40
|
+
var a, c, i;
|
|
41
|
+
return e.currentRoute.value.name != s["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? {
|
|
42
|
+
title: u.value.label,
|
|
43
|
+
actions: u.value.actions,
|
|
43
44
|
description: void 0
|
|
44
|
-
} : (
|
|
45
|
+
} : (u.value = o[1], {
|
|
45
46
|
backButton: !0,
|
|
46
47
|
title: "Member's transactions",
|
|
47
48
|
actions: [],
|
|
48
|
-
description: (a =
|
|
49
|
+
description: `${(a = l.value) == null ? void 0 : a.name} (${(c = l.value) == null ? void 0 : c._id}) (${(i = l.value) == null ? void 0 : i.phoneNumber})`,
|
|
49
50
|
onBackButton: async () => {
|
|
50
|
-
await e.push({ name:
|
|
51
|
+
await e.push({ name: s["$connect-LOYALTY_MEMBER_LIST"] });
|
|
51
52
|
}
|
|
52
53
|
});
|
|
53
|
-
}),
|
|
54
|
+
}), u = p(
|
|
54
55
|
o.find((t) => t.value === e.currentRoute.value.name) ?? o[0]
|
|
55
|
-
),
|
|
56
|
-
async function
|
|
56
|
+
), l = p();
|
|
57
|
+
async function b(t) {
|
|
57
58
|
await e.push({ name: t });
|
|
58
59
|
}
|
|
59
60
|
return T(
|
|
60
61
|
() => e.currentRoute.value.name,
|
|
61
62
|
async (t) => {
|
|
62
|
-
|
|
63
|
+
u.value = o.find((c) => c.value === t) ?? o[0];
|
|
63
64
|
const a = e.currentRoute.value.params.id;
|
|
64
|
-
a && (
|
|
65
|
+
a && (l.value = await N.readById(a)), await e.push({ name: t });
|
|
65
66
|
}
|
|
66
67
|
), (t, a) => {
|
|
67
|
-
const
|
|
68
|
-
return
|
|
69
|
-
|
|
70
|
-
actions: n(
|
|
71
|
-
title: n(
|
|
72
|
-
description: n(
|
|
73
|
-
"back-button": n(
|
|
74
|
-
"onClick:back": n(
|
|
68
|
+
const c = m("FmPageHead"), i = m("FmTabs"), v = m("RouterView");
|
|
69
|
+
return d(), k(B, null, [
|
|
70
|
+
_(c, {
|
|
71
|
+
actions: n(r).actions,
|
|
72
|
+
title: n(r).title,
|
|
73
|
+
description: n(r).description,
|
|
74
|
+
"back-button": n(r).backButton,
|
|
75
|
+
"onClick:back": n(r).onBackButton
|
|
75
76
|
}, null, 8, ["actions", "title", "description", "back-button", "onClick:back"]),
|
|
76
77
|
E("div", Y, [
|
|
77
|
-
n(e).currentRoute.value.name != n(
|
|
78
|
+
n(e).currentRoute.value.name != n(s)["$connect-LOYALTY_MEMBER_TRANSACTIONS"] ? (d(), M(i, {
|
|
78
79
|
key: 0,
|
|
79
|
-
"model-value": n(
|
|
80
|
+
"model-value": n(u).value,
|
|
80
81
|
items: o,
|
|
81
|
-
"onUpdate:modelValue":
|
|
82
|
+
"onUpdate:modelValue": b
|
|
82
83
|
}, null, 8, ["model-value"])) : A("", !0),
|
|
83
|
-
|
|
84
|
+
_(v)
|
|
84
85
|
])
|
|
85
86
|
], 64);
|
|
86
87
|
};
|