@feedmepos/mf-connect 0.1.0-prod → 0.1.1-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-D1vIDmhJ.js → Analytic-C2etD-eu.js} +7 -7
- package/dist/{App-DHrfWG8l.js → App-DlRvkDpN.js} +205 -205
- package/dist/{Broadcast-B2rxZAZi.js → Broadcast-DpCGUS6r.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D2a9rcXK.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Cj4IcH5D.js} +8 -8
- package/dist/{Card-Dr6pTTM0.js → Card-DjGC6jmq.js} +70 -71
- package/dist/{Collections-0tbg0MFt.js → Collections-Q2pYWnJF.js} +11 -12
- package/dist/{Credit-KbB_7Jq-.js → Credit-DOIq2VYW.js} +7 -7
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-we7ADwFk.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D7ML8ePp.js} +36 -33
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-VBNyvZCJ.js → EffectSheet.vue_vue_type_style_index_0_lang-CyxWG5I7.js} +5 -5
- package/dist/{Experience-C_Q9Iml8.js → Experience-DUst4I0H.js} +7 -7
- package/dist/{Game-BwODw7M6.js → Game-CXnQR-wV.js} +7 -7
- package/dist/{Marketing-QOKTAS_T.js → Marketing-CZfHsMFC.js} +4 -4
- package/dist/{Member-d7RIGRm1.js → Member-CX5Ohgeg.js} +3 -3
- package/dist/MemberList-D8I3SaAs.js +1040 -0
- package/dist/{MemberTransactions-D-pnlXiP.js → MemberTransactions-DfZNbCHD.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-3VS7JnK6.js → MessageInput.vue_vue_type_script_setup_true_lang-BxFVEoBX.js} +2 -2
- package/dist/{Mission-BAKDm4VZ.js → Mission-S1pwDbqp.js} +7 -7
- package/dist/{Point-Puu0jKz0.js → Point-BdLUcGZy.js} +7 -7
- package/dist/{Promotion-DRIaUvJi.js → Promotion-DWAeQGkU.js} +8 -8
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DTdfYGya.js → RuleGroup.vue_vue_type_script_setup_true_lang-Dux_NMO5.js} +86 -77
- package/dist/Segment-CXSE8Bzf.js +560 -0
- package/dist/{Setting-DLB2ywCp.js → Setting-CLuXuEId.js} +7 -7
- package/dist/Store-Be3cui0S.js +1533 -0
- package/dist/{StoreRewards-DZfqUeYR.js → StoreRewards-zFy_w8p4.js} +10 -10
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-RTfozD01.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DxGJKgbc.js} +10 -10
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BGI78ycg.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-Dreo45H1.js} +1 -1
- package/dist/{Tier-BnQRujpX.js → Tier-ChzcISYF.js} +13 -13
- package/dist/{Title-BPf1tUFx.js → Title-DQSjhBkT.js} +13 -13
- package/dist/{Transaction-ese0oNrz.js → Transaction-CeWmWpN_.js} +1 -1
- package/dist/{Voucher--gtOZQx1.js → Voucher-BkLIxiZN.js} +10 -10
- package/dist/{app-Bt59niI-.js → app-CLNirPsB.js} +24 -24
- package/dist/{app-DHE61XdR.js → app-DuNsy0aC.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-BSo7EPan.js → business-COGiTmLD.js} +1 -1
- package/dist/{campaign-CsOje3Ap.js → campaign-BHZMjQi5.js} +2 -2
- package/dist/{collection.fn-BYQfFJOr.js → collection.fn-sAxtYO_r.js} +2 -2
- package/dist/{dto-CfEXSCq6.js → dto-ndeeV_nc.js} +50 -50
- package/dist/{effect-Bn_ofYS3.js → effect-BQt0rkdT.js} +1 -1
- package/dist/email-addresses-B3PazwKs.js +705 -0
- package/dist/{export-CMR243CF.js → export-D6r-xNji.js} +3 -3
- package/dist/{helper-BqOQRtvW.js → helper-CrjQw_Et.js} +1 -1
- package/dist/{index-Boo5np6l.js → index-Btlj28Vg.js} +1 -1
- package/dist/{index-D_f2lmK2.js → index-Buy-yvAZ.js} +319 -304
- package/dist/{index-CHO4_zsT.js → index-C3AAy__p.js} +1 -1
- package/dist/{index-DbP04yeg.js → index-CHAaFSD2.js} +1 -1
- package/dist/{index-Da142OER.js → index-Cg3RFxc9.js} +34 -33
- package/dist/{index-DEZsrQ2f.js → index-CqpEhMr6.js} +3 -3
- package/dist/{index-CC1GV8OW.js → index-CvHj-wYi.js} +1 -1
- package/dist/index-DGLmbBnE.js +28997 -0
- package/dist/{index-FvlaxwGB.js → index-DXpd07G3.js} +2 -2
- package/dist/{index-BaBNmzUb.js → index-Daax_BQa.js} +1 -1
- package/dist/{index-BWnFs-Cb.js → index-DrLEuIe1.js} +5 -5
- package/dist/{index-DtPe-TEm.js → index-tSEYvA-2.js} +3 -3
- package/dist/{index.esm2017-ePm--Atp.js → index.esm2017-a5BlZ76G.js} +1 -1
- package/dist/{loading-KNmEMBUB.js → loading-B3XGyQ8W.js} +4 -4
- package/dist/{membership-DKoVIS1a.js → membership-GIOJ1ptN.js} +3 -3
- package/dist/{money-CkD3zl5C.js → money-z7VwzhZP.js} +1 -1
- package/dist/{number-BDsGpOXm.js → number-DHYb2ua_.js} +1 -1
- package/dist/{rule-builder-DHf6wfaQ.js → rule-builder-CcsWd5r9.js} +1 -1
- package/dist/{rule-CzamI50_.js → rule-iIEblTE4.js} +179 -177
- package/dist/{template-CFAIPoD7.js → template-DMRMDZOW.js} +4 -4
- package/dist/{xlsx-BDJMaozs.js → usePagination-CNFe0T2B.js} +3246 -3025
- package/package.json +2 -2
- package/dist/MemberList-CK9629ew.js +0 -1737
- package/dist/Segment-DpBxGuuu.js +0 -435
- package/dist/Store-8DO6ITWc.js +0 -1513
- package/dist/index-BLDYTxnc.js +0 -28058
- package/dist/usePagination-JoYaROkV.js +0 -223
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as P, ref as g, computed as U, onMounted as M, resolveComponent as l, openBlock as i, createElementBlock as f, Fragment as _, createVNode as r, unref as a, createElementVNode as s, withCtx as h, renderList as j, createBlock as w, resolveDynamicComponent as E, toDisplayString as b, 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 Q, p as W } from "./loading-
|
|
5
|
-
import { u as X } from "./business-
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
7
|
-
import { g as F, b as k } from "./dto-
|
|
4
|
+
import { u as Q, p as W } from "./loading-B3XGyQ8W.js";
|
|
5
|
+
import { u as X } from "./business-COGiTmLD.js";
|
|
6
|
+
import { u as Y } from "./campaign-BHZMjQi5.js";
|
|
7
|
+
import { g as F, b as k } from "./dto-ndeeV_nc.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 y } from "./index-
|
|
9
|
+
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D7ML8ePp.js";
|
|
10
|
+
import { u as te } from "./template-DMRMDZOW.js";
|
|
11
|
+
import { c as y } from "./index-Btlj28Vg.js";
|
|
12
12
|
const oe = { class: "px-24 flex flex-col gap-y-16" }, ae = { class: "flex items-center justify-between w-full" }, se = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, re = { class: "flex w-full gap-4 items-center" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "space-y-4" }, ce = { class: "fm-typo-en-body-lg-600" }, 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,13 +1,13 @@
|
|
|
1
|
-
import { R as RuleOperator, _ } from "./index-
|
|
2
|
-
import { i as isRuleGroup } from "./rule-builder-
|
|
1
|
+
import { R as RuleOperator, _ } from "./index-Buy-yvAZ.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-CcsWd5r9.js";
|
|
3
3
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createVNode, toDisplayString } from "vue";
|
|
4
4
|
import { useDialog } from "@feedmepos/ui-library";
|
|
5
|
-
import "./index-
|
|
6
|
-
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
5
|
+
import "./index-DXpd07G3.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-Cg3RFxc9.js";
|
|
7
|
+
import "./index-tSEYvA-2.js";
|
|
8
|
+
import "./index-DrLEuIe1.js";
|
|
9
|
+
import "./index-CqpEhMr6.js";
|
|
10
|
+
import "./index-Daax_BQa.js";
|
|
11
11
|
function validateRule(data, r, date) {
|
|
12
12
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
13
13
|
function meetConditions(e) {
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as
|
|
1
|
+
import { defineComponent as Z, ref as f, computed as V, watch as he, onMounted as ee, resolveComponent as g, openBlock as _, createBlock as N, unref as n, isRef as J, withCtx as T, createElementVNode as m, createVNode as l, createElementBlock as x, Fragment as B, renderList as Q, createCommentVNode as I, normalizeClass as ve, createSlots as Ee, withModifiers as Se, h as W } from "vue";
|
|
2
2
|
import { _ as ke } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { h as re } from "./moment-BWErdI6_.js";
|
|
4
4
|
import { useDialog as Te, components as Re } from "@feedmepos/ui-library";
|
|
5
|
-
import { p as ye, u as ne, f as ie } from "./loading-
|
|
5
|
+
import { p as ye, u as ne, f as ie } from "./loading-B3XGyQ8W.js";
|
|
6
6
|
import { u as Ae } from "./app-wDQR6dpb.js";
|
|
7
|
-
import { u as te } from "./membership-
|
|
8
|
-
import { _ as le } from "./index-
|
|
9
|
-
import { m as oe } from "./index-
|
|
7
|
+
import { u as te } from "./membership-GIOJ1ptN.js";
|
|
8
|
+
import { _ as le } from "./index-DrLEuIe1.js";
|
|
9
|
+
import { m as oe } from "./index-CvHj-wYi.js";
|
|
10
10
|
import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import { l as Ce } from "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
11
|
+
import "./index-DXpd07G3.js";
|
|
12
|
+
import "./index-Buy-yvAZ.js";
|
|
13
|
+
import { l as Ce } from "./index-Cg3RFxc9.js";
|
|
14
|
+
import "./index-tSEYvA-2.js";
|
|
15
|
+
import "./index-CqpEhMr6.js";
|
|
16
|
+
import "./index-Daax_BQa.js";
|
|
17
17
|
import { g as Oe } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
18
18
|
import { a as Ie } from "./object-qECH92oz.js";
|
|
19
|
-
import { u as Ne } from "./business-
|
|
20
|
-
import {
|
|
21
|
-
import { e as
|
|
22
|
-
import { u as Ue, _ as He } from "./usePagination-JoYaROkV.js";
|
|
19
|
+
import { u as Ne } from "./business-COGiTmLD.js";
|
|
20
|
+
import { a as xe, _ as De, w as we } from "./usePagination-CNFe0T2B.js";
|
|
21
|
+
import { e as Ue, C as He } from "./export-D6r-xNji.js";
|
|
23
22
|
import { o as Fe } from "./objectId-dwaoBfJX.js";
|
|
24
23
|
const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number type", -1), Be = { class: "space-y-16" }, Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number Settings", -1), Ve = { class: "gap-16 grid grid-cols-2" }, Ge = { class: "space-y-16" }, Le = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Card Settings", -1), je = {
|
|
25
24
|
key: 0,
|
|
@@ -28,7 +27,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
28
27
|
__name: "CreateCardSheet",
|
|
29
28
|
emits: ["success", "export"],
|
|
30
29
|
setup(e, { expose: i, emit: D }) {
|
|
31
|
-
const { minor: w } = ne, v = te(), y =
|
|
30
|
+
const { minor: w } = ne, v = te(), y = f(), b = f(!1), A = D, h = f(!1);
|
|
32
31
|
function E(p) {
|
|
33
32
|
h.value = p, p && (a.value = {
|
|
34
33
|
quantity: 1,
|
|
@@ -42,7 +41,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
43
|
}
|
|
45
|
-
const a =
|
|
44
|
+
const a = f({
|
|
46
45
|
quantity: 1,
|
|
47
46
|
code: "",
|
|
48
47
|
codeConfig: {
|
|
@@ -78,15 +77,15 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
78
77
|
{ label: "Alphabetic Uppercase", value: "ABCDEFGHIJKLMNOPQRSTUVWXYZ" },
|
|
79
78
|
{ label: "Numbers", value: "0123456789" },
|
|
80
79
|
{ label: "Custom", value: "" }
|
|
81
|
-
], F =
|
|
80
|
+
], F = f(H[0].value), S = f("bulk"), U = f(0), P = V(
|
|
82
81
|
() => {
|
|
83
82
|
var p;
|
|
84
83
|
return (p = v.membership.design) == null ? void 0 : p[U.value];
|
|
85
84
|
}
|
|
86
|
-
), r =
|
|
85
|
+
), r = f(!1), o = V(
|
|
87
86
|
() => v.sortedStoreCategories.flatMap((p) => p.bundles)
|
|
88
87
|
);
|
|
89
|
-
async function
|
|
88
|
+
async function u(p) {
|
|
90
89
|
var R, M;
|
|
91
90
|
if (await ((R = y.value) == null ? void 0 : R.validateInputs()), !b.value) return;
|
|
92
91
|
p.design = (M = P.value) == null ? void 0 : M.image;
|
|
@@ -98,8 +97,8 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
98
97
|
);
|
|
99
98
|
console.log(t), await w(
|
|
100
99
|
async () => {
|
|
101
|
-
const
|
|
102
|
-
console.log(
|
|
100
|
+
const c = await oe.createCards(p);
|
|
101
|
+
console.log(c), await A("success"), t && await A("export", c);
|
|
103
102
|
},
|
|
104
103
|
{
|
|
105
104
|
message: "Creating card(s)",
|
|
@@ -117,7 +116,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
117
116
|
), ee(async () => {
|
|
118
117
|
await v.readMemberStore();
|
|
119
118
|
}), (p, t) => {
|
|
120
|
-
const R =
|
|
119
|
+
const R = g("FmRadio"), M = g("FmRadioGroup"), c = g("FmSwitch"), j = g("FmStepperField"), $ = g("FmSelect"), G = g("FmTextField"), ge = g("FmTextarea"), K = g("FmButton"), fe = g("FmForm"), be = g("FmSideSheet");
|
|
121
120
|
return _(), N(be, {
|
|
122
121
|
"max-width": 560,
|
|
123
122
|
"dismiss-away": !0,
|
|
@@ -132,7 +131,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
132
131
|
m("div", qe, [
|
|
133
132
|
l(K, {
|
|
134
133
|
label: "Save",
|
|
135
|
-
onClick: t[17] || (t[17] = (O) =>
|
|
134
|
+
onClick: t[17] || (t[17] = (O) => u(n(a))),
|
|
136
135
|
loading: n(Ae)().isLoading
|
|
137
136
|
}, null, 8, ["loading"]),
|
|
138
137
|
l(K, {
|
|
@@ -144,7 +143,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
144
143
|
])
|
|
145
144
|
]),
|
|
146
145
|
default: T(() => [
|
|
147
|
-
l(
|
|
146
|
+
l(fe, {
|
|
148
147
|
ref_key: "form",
|
|
149
148
|
ref: y,
|
|
150
149
|
class: "space-y-40",
|
|
@@ -175,7 +174,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
175
174
|
m("div", Be, [
|
|
176
175
|
Me,
|
|
177
176
|
n(S) === "bulk" ? (_(), x(B, { key: 0 }, [
|
|
178
|
-
l(
|
|
177
|
+
l(c, {
|
|
179
178
|
"model-value": n(r),
|
|
180
179
|
"label-placement": "right",
|
|
181
180
|
value: "true",
|
|
@@ -238,7 +237,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
238
237
|
"helper-text": `${n(a).quantity} card will be created`
|
|
239
238
|
}, null, 8, ["modelValue", "rules", "helper-text"])
|
|
240
239
|
], 64)) : I("", !0),
|
|
241
|
-
n(S) !== "bulk" ? (_(), N(
|
|
240
|
+
n(S) !== "bulk" ? (_(), N(ge, {
|
|
242
241
|
key: 1,
|
|
243
242
|
modelValue: n(a).code,
|
|
244
243
|
"onUpdate:modelValue": t[9] || (t[9] = (s) => n(a).code = s),
|
|
@@ -249,7 +248,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
249
248
|
]),
|
|
250
249
|
m("div", Ge, [
|
|
251
250
|
Le,
|
|
252
|
-
l(
|
|
251
|
+
l(c, {
|
|
253
252
|
"label-placement": "right",
|
|
254
253
|
label: "Set card number on bind",
|
|
255
254
|
"model-value": n(a).setCardOnBind || !1,
|
|
@@ -303,7 +302,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
303
302
|
src: s.image,
|
|
304
303
|
key: `image_${Y}`,
|
|
305
304
|
class: ve(["w-[112px] h-[63px] cursor-pointer", `${n(U) === Y ? "border-[2px] border-fm-color-primary" : ""}`]),
|
|
306
|
-
onClick: (
|
|
305
|
+
onClick: (gn) => U.value = Y,
|
|
307
306
|
alt: `ai_image_predict_${Y}`,
|
|
308
307
|
style: { objectFit: "cover" }
|
|
309
308
|
}, null, 10, We))), 128))
|
|
@@ -320,7 +319,7 @@ const Pe = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
320
319
|
};
|
|
321
320
|
}
|
|
322
321
|
});
|
|
323
|
-
var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7fa65f6d-9c10-46c2-bbb3-afc23348b564", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7fa65f6d-9c10-46c2-bbb3-afc23348b564", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "709", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250302.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:5733", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13766889031", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7265cbb13a4c2df04acdad83b2d307299a184e78", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c3087fdb-7cba-4cb6-8135-9a421204aa1b", INVOCATION_ID: "2834d0941f87484e8be62e36823c6c5d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "38", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 257", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.6", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.0-prod", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "7265cbb13a4c2df04acdad83b2d307299a184e78", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7fa65f6d-9c10-46c2-bbb3-afc23348b564", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7fa65f6d-9c10-46c2-bbb3-afc23348b564", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7fa65f6d-9c10-46c2-bbb3-afc23348b564", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account" } }, z = Math.floor(Math.random() * 16777215), pe = d.index = parseInt(Math.random() * 16777215, 10), me = (typeof q > "u" || typeof q.pid != "number" ? Math.floor(Math.random() * 1e5) : q.pid) % 65535, ce = (() => {
|
|
322
|
+
var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9a6bce63-5782-4e59-9845-2acc2b7616e6", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9a6bce63-5782-4e59-9845-2acc2b7616e6", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "709", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:5840", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13894478128", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "771fee1199582cb336001e5d81ae7a065f027419", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_11d55cb7-144d-41c9-b813-63e543d97dab", INVOCATION_ID: "2abb177eca3a425aa43411d00b33d752", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "41", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 306", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.14.6", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.1-prod", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "771fee1199582cb336001e5d81ae7a065f027419", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9a6bce63-5782-4e59-9845-2acc2b7616e6", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9a6bce63-5782-4e59-9845-2acc2b7616e6", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9a6bce63-5782-4e59-9845-2acc2b7616e6", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account" } }, z = Math.floor(Math.random() * 16777215), pe = d.index = parseInt(Math.random() * 16777215, 10), me = (typeof q > "u" || typeof q.pid != "number" ? Math.floor(Math.random() * 1e5) : q.pid) % 65535, ue = (() => {
|
|
324
323
|
try {
|
|
325
324
|
return _Buffer;
|
|
326
325
|
} catch {
|
|
@@ -335,7 +334,7 @@ var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/sa
|
|
|
335
334
|
}, _e = [];
|
|
336
335
|
for (var k = 0; k < 256; k++)
|
|
337
336
|
_e[k] = (k <= 15 ? "0" : "") + k.toString(16);
|
|
338
|
-
var
|
|
337
|
+
var ce = new RegExp("^[0-9a-fA-F]{24}$"), L = [];
|
|
339
338
|
k = 0;
|
|
340
339
|
for (; k < 10; ) L[48 + k] = k++;
|
|
341
340
|
for (; k < 16; ) L[55 + k] = L[87 + k] = k++;
|
|
@@ -379,7 +378,7 @@ d.createFromHexString = function(e) {
|
|
|
379
378
|
return new d(i);
|
|
380
379
|
};
|
|
381
380
|
d.isValid = function(e) {
|
|
382
|
-
return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 &&
|
|
381
|
+
return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && ce.test(e) : e instanceof d ? !0 : X(e) ? d.isValid(e.toString("hex")) : typeof e.toHexString == "function" && ue && (e.id instanceof ue || typeof e.id == "string") ? e.id.length === 12 || e.id.length === 24 && ce.test(e.id) : !1;
|
|
383
382
|
};
|
|
384
383
|
d.prototype = {
|
|
385
384
|
constructor: d,
|
|
@@ -467,17 +466,17 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
467
466
|
__name: "CardDesignSheet",
|
|
468
467
|
emits: ["success"],
|
|
469
468
|
setup(e, { expose: i, emit: D }) {
|
|
470
|
-
const { minor: w } = ne, v = te(), y = Te(), b =
|
|
471
|
-
|
|
472
|
-
const A =
|
|
469
|
+
const { minor: w } = ne, v = te(), y = Te(), b = f(!1);
|
|
470
|
+
f(), f(!1);
|
|
471
|
+
const A = f(), h = f(null);
|
|
473
472
|
V(() => {
|
|
474
473
|
var r, o;
|
|
475
474
|
return Math.min((((o = (r = A.value) == null ? void 0 : r.design) == null ? void 0 : o.length) ?? 0) + 1, an);
|
|
476
475
|
});
|
|
477
476
|
const E = D, a = V(() => {
|
|
478
477
|
var r, o;
|
|
479
|
-
return ((o = (r = v.membership) == null ? void 0 : r.design) == null ? void 0 : o.filter((
|
|
480
|
-
}), C =
|
|
478
|
+
return ((o = (r = v.membership) == null ? void 0 : r.design) == null ? void 0 : o.filter((u) => u.image)) || [];
|
|
479
|
+
}), C = f(!1);
|
|
481
480
|
function H(r) {
|
|
482
481
|
C.value = r;
|
|
483
482
|
}
|
|
@@ -487,14 +486,14 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
487
486
|
async function S() {
|
|
488
487
|
await w(
|
|
489
488
|
async () => {
|
|
490
|
-
var
|
|
489
|
+
var u;
|
|
491
490
|
const r = Ie(A.value), o = Ce.parse(r);
|
|
492
491
|
if (o.design = (o == null ? void 0 : o.design) || [], h.value) {
|
|
493
492
|
const p = nn().toHexString(), t = await ie.update(
|
|
494
493
|
ie.designPath(p, h.value),
|
|
495
494
|
h.value
|
|
496
495
|
);
|
|
497
|
-
(
|
|
496
|
+
(u = o.design) == null || u.push({
|
|
498
497
|
_id: p,
|
|
499
498
|
image: t
|
|
500
499
|
});
|
|
@@ -515,8 +514,8 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
515
514
|
secondaryActions: { text: "Cancel", close: !1 }
|
|
516
515
|
}).onPrimary(async () => {
|
|
517
516
|
var p, t;
|
|
518
|
-
const
|
|
519
|
-
console.log(
|
|
517
|
+
const u = (p = A.value.design) == null ? void 0 : p.findIndex((R) => R._id == o);
|
|
518
|
+
console.log(u), u !== -1 && ((t = A.value.design) == null || t.splice(u, 1)), await S();
|
|
520
519
|
}).onSecondary(() => {
|
|
521
520
|
y.close();
|
|
522
521
|
});
|
|
@@ -529,7 +528,7 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
529
528
|
}), ee(async () => {
|
|
530
529
|
await P(), a.value.length || (b.value = !0);
|
|
531
530
|
}), (r, o) => {
|
|
532
|
-
const
|
|
531
|
+
const u = g("FmButton"), p = g("FmSideSheet");
|
|
533
532
|
return _(), N(p, {
|
|
534
533
|
"max-width": 560,
|
|
535
534
|
"dismiss-away": !0,
|
|
@@ -554,7 +553,7 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
554
553
|
"delete-button": !1
|
|
555
554
|
}, {
|
|
556
555
|
"delete-button": T(() => [
|
|
557
|
-
l(
|
|
556
|
+
l(u, {
|
|
558
557
|
class: "!text-neutral-50 !bg-neutral-700",
|
|
559
558
|
icon: "delete",
|
|
560
559
|
variant: "tertiary",
|
|
@@ -580,12 +579,12 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
580
579
|
name: "side-sheet-footer",
|
|
581
580
|
fn: T(() => [
|
|
582
581
|
m("div", sn, [
|
|
583
|
-
l(
|
|
582
|
+
l(u, {
|
|
584
583
|
label: "Save",
|
|
585
584
|
onClick: S,
|
|
586
585
|
disabled: !n(h)
|
|
587
586
|
}, null, 8, ["disabled"]),
|
|
588
|
-
l(
|
|
587
|
+
l(u, {
|
|
589
588
|
label: "Cancel",
|
|
590
589
|
type: "button",
|
|
591
590
|
variant: "tertiary",
|
|
@@ -598,11 +597,11 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
598
597
|
name: "side-sheet-footer",
|
|
599
598
|
fn: T(() => [
|
|
600
599
|
m("div", on, [
|
|
601
|
-
l(
|
|
600
|
+
l(u, {
|
|
602
601
|
label: "Add Design",
|
|
603
602
|
onClick: F
|
|
604
603
|
}),
|
|
605
|
-
l(
|
|
604
|
+
l(u, {
|
|
606
605
|
label: "Cancel",
|
|
607
606
|
type: "button",
|
|
608
607
|
variant: "tertiary",
|
|
@@ -615,16 +614,16 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
615
614
|
]), 1032, ["modelValue"]);
|
|
616
615
|
};
|
|
617
616
|
}
|
|
618
|
-
}), ln = { class: "flex items-center" }, dn = /* @__PURE__ */ m("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, " Card ", -1), pn = { class: "px-24 flex flex-col pb-24 gap-y-16" }, mn = { class: "flex items-center justify-end" },
|
|
617
|
+
}), ln = { class: "flex items-center" }, dn = /* @__PURE__ */ m("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, " Card ", -1), pn = { class: "px-24 flex flex-col pb-24 gap-y-16" }, mn = { class: "flex items-center justify-end" }, un = /* @__PURE__ */ m("img", {
|
|
619
618
|
src: ke,
|
|
620
619
|
class: "aspect-square w-[150px]"
|
|
621
|
-
}, null, -1),
|
|
620
|
+
}, null, -1), cn = /* @__PURE__ */ m("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
622
621
|
/* @__PURE__ */ m("div", { class: "fm-typo-en-title-sm-800" }, "Create member card"),
|
|
623
622
|
/* @__PURE__ */ m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Track and manage member card to keep customers engaged with your business. ")
|
|
624
|
-
], -1), _n = { class: "flex gap-x-8" },
|
|
623
|
+
], -1), _n = { class: "flex gap-x-8" }, Bn = /* @__PURE__ */ Z({
|
|
625
624
|
__name: "Card",
|
|
626
625
|
setup(e) {
|
|
627
|
-
const { minor: i, global: D } = ne, w =
|
|
626
|
+
const { minor: i, global: D } = ne, w = f(), v = f(), y = Ne(), b = te(), A = V(
|
|
628
627
|
() => b.sortedStoreCategories.flatMap((r) => r.bundles)
|
|
629
628
|
), h = [
|
|
630
629
|
{
|
|
@@ -670,7 +669,7 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
670
669
|
header: "Bundle",
|
|
671
670
|
accessorFn: (r) => {
|
|
672
671
|
var o;
|
|
673
|
-
return ((o = A.value.find((
|
|
672
|
+
return ((o = A.value.find((u) => u._id === r.bundle)) == null ? void 0 : o.name) || "-";
|
|
674
673
|
}
|
|
675
674
|
},
|
|
676
675
|
{
|
|
@@ -678,7 +677,7 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
678
677
|
accessorKey: "redeemedAt",
|
|
679
678
|
accessorFn: (r) => r.redeemedAt ? re(r.redeemedAt).format("DD MMM YYYY hh:mmA") : "-"
|
|
680
679
|
}
|
|
681
|
-
], { tableMeta: E, rowData: a, onSort: C, debouncedFetchData: H, onSearch: F } =
|
|
680
|
+
], { tableMeta: E, rowData: a, onSort: C, debouncedFetchData: H, onSearch: F } = xe(oe.readCards);
|
|
682
681
|
async function S() {
|
|
683
682
|
var r;
|
|
684
683
|
await H(), (r = w.value) == null || r.showSheet(!1);
|
|
@@ -696,10 +695,10 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
696
695
|
}
|
|
697
696
|
] : []);
|
|
698
697
|
async function P(r) {
|
|
699
|
-
const o = new
|
|
698
|
+
const o = new He(), u = r.map((p) => ({
|
|
700
699
|
CardNumber: p
|
|
701
700
|
}));
|
|
702
|
-
o.addRecords(
|
|
701
|
+
o.addRecords(u), await we(
|
|
703
702
|
o.buildExcel(),
|
|
704
703
|
`cards-${(/* @__PURE__ */ new Date()).toISOString()}.xlsx`,
|
|
705
704
|
{
|
|
@@ -714,20 +713,20 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
714
713
|
await y.readPremium(), await b.readMemberStore(), await b.readMembership(), await S();
|
|
715
714
|
});
|
|
716
715
|
}), (r, o) => {
|
|
717
|
-
const
|
|
716
|
+
const u = g("FmPill"), p = g("FmPageHead"), t = g("FmSearch"), R = g("FmButton"), M = g("FmCard");
|
|
718
717
|
return _(), x(B, null, [
|
|
719
718
|
l(p, {
|
|
720
719
|
title: "Card",
|
|
721
720
|
actions: n(U),
|
|
722
|
-
"onClick:action": o[0] || (o[0] = (
|
|
721
|
+
"onClick:action": o[0] || (o[0] = (c) => {
|
|
723
722
|
var j, $;
|
|
724
|
-
console.log(
|
|
723
|
+
console.log(c), c === "design" && ((j = n(v)) == null || j.showSheet(!0)), c === "create" && (($ = n(w)) == null || $.showSheet(!0));
|
|
725
724
|
})
|
|
726
725
|
}, {
|
|
727
726
|
title: T(() => [
|
|
728
727
|
m("div", ln, [
|
|
729
728
|
dn,
|
|
730
|
-
l(
|
|
729
|
+
l(u, {
|
|
731
730
|
class: "ml-8",
|
|
732
731
|
variant: "premium"
|
|
733
732
|
})
|
|
@@ -742,7 +741,7 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
742
741
|
class: "mt-4",
|
|
743
742
|
modelValue: n(E).searchValue,
|
|
744
743
|
"onUpdate:modelValue": [
|
|
745
|
-
o[1] || (o[1] = (
|
|
744
|
+
o[1] || (o[1] = (c) => n(E).searchValue = c),
|
|
746
745
|
n(F)
|
|
747
746
|
],
|
|
748
747
|
placeholder: "Search",
|
|
@@ -751,10 +750,10 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
751
750
|
l(R, {
|
|
752
751
|
icon: "ios_share",
|
|
753
752
|
variant: "tertiary",
|
|
754
|
-
onClick: Se(n(
|
|
753
|
+
onClick: Se(n(Ue), ["prevent"])
|
|
755
754
|
}, null, 8, ["onClick"])
|
|
756
755
|
]),
|
|
757
|
-
l(
|
|
756
|
+
l(De, {
|
|
758
757
|
loading: n(E).isLoading,
|
|
759
758
|
"row-data": n(a),
|
|
760
759
|
"row-count": n(E).totalRows,
|
|
@@ -764,10 +763,10 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
764
763
|
"page-index": n(E).pageIndex,
|
|
765
764
|
"page-size": n(E).pageSize,
|
|
766
765
|
onSortChange: n(C),
|
|
767
|
-
onPageChange: o[2] || (o[2] = (
|
|
766
|
+
onPageChange: o[2] || (o[2] = (c) => {
|
|
768
767
|
n(H)({
|
|
769
|
-
pageSize:
|
|
770
|
-
pageIndex:
|
|
768
|
+
pageSize: c.pageSize,
|
|
769
|
+
pageIndex: c.pageIndex
|
|
771
770
|
});
|
|
772
771
|
})
|
|
773
772
|
}, null, 8, ["loading", "row-data", "row-count", "page-count", "page-index", "page-size", "onSortChange"])
|
|
@@ -777,8 +776,8 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
777
776
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
778
777
|
}, {
|
|
779
778
|
default: T(() => [
|
|
780
|
-
cn,
|
|
781
779
|
un,
|
|
780
|
+
cn,
|
|
782
781
|
m("div", _n, [
|
|
783
782
|
l(R, {
|
|
784
783
|
variant: "primary",
|
|
@@ -786,8 +785,8 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
786
785
|
icon: "add",
|
|
787
786
|
disabled: !n(y).isPremium,
|
|
788
787
|
onClick: o[3] || (o[3] = () => {
|
|
789
|
-
var
|
|
790
|
-
return (
|
|
788
|
+
var c;
|
|
789
|
+
return (c = n(w)) == null ? void 0 : c.showSheet(!0);
|
|
791
790
|
})
|
|
792
791
|
}, null, 8, ["disabled"]),
|
|
793
792
|
l(R, {
|
|
@@ -795,8 +794,8 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
795
794
|
label: "Manage Design",
|
|
796
795
|
disabled: !n(y).isPremium,
|
|
797
796
|
onClick: o[4] || (o[4] = () => {
|
|
798
|
-
var
|
|
799
|
-
return (
|
|
797
|
+
var c;
|
|
798
|
+
return (c = n(v)) == null ? void 0 : c.showSheet(!0);
|
|
800
799
|
})
|
|
801
800
|
}, null, 8, ["disabled"])
|
|
802
801
|
])
|
|
@@ -820,5 +819,5 @@ const nn = /* @__PURE__ */ Oe(Je), tn = {
|
|
|
820
819
|
}
|
|
821
820
|
});
|
|
822
821
|
export {
|
|
823
|
-
|
|
822
|
+
Bn as default
|
|
824
823
|
};
|
|
@@ -4,15 +4,14 @@ var z = (f, r, d) => oe(f, typeof r != "symbol" ? r + "" : r, d);
|
|
|
4
4
|
import { defineComponent as G, ref as p, computed as H, watch as O, resolveComponent as u, openBlock as y, createBlock as L, unref as e, isRef as K, withCtx as I, createElementVNode as b, createVNode as s, createElementBlock as P, Fragment as R, 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
6
|
import { components as le } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as J, a as ne } from "./loading-
|
|
7
|
+
import { u as J, a as ne } from "./loading-B3XGyQ8W.js";
|
|
8
8
|
import { J as se } from "./JsonViewer-v8_C7l5N.js";
|
|
9
9
|
import { u as re } from "./app-wDQR6dpb.js";
|
|
10
10
|
import { useRoute as Q, useRouter as ie } from "vue-router";
|
|
11
|
-
import { c as N } from "./index-
|
|
12
|
-
import { u as Y,
|
|
13
|
-
import { g as
|
|
14
|
-
import {
|
|
15
|
-
import { m as pe } from "./index-CC1GV8OW.js";
|
|
11
|
+
import { c as N } from "./index-Btlj28Vg.js";
|
|
12
|
+
import { u as Y, a as ue, _ as de, w as ce } from "./usePagination-CNFe0T2B.js";
|
|
13
|
+
import { g as me } from "./user-Bm4KttFq.js";
|
|
14
|
+
import { m as pe } from "./index-CvHj-wYi.js";
|
|
16
15
|
import { o as fe } from "./objectId-dwaoBfJX.js";
|
|
17
16
|
const ge = /* @__PURE__ */ b("div", { class: "fm-typo-en-body-lg-600" }, "Code type", -1), be = { class: "space-y-16" }, Ce = /* @__PURE__ */ b("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({
|
|
18
17
|
__name: "CreateCollectionSheet",
|
|
@@ -253,7 +252,7 @@ const m = {
|
|
|
253
252
|
rowsPerPage: 1e3,
|
|
254
253
|
page: 1,
|
|
255
254
|
rowsNumber: 0
|
|
256
|
-
}, Ve = { class: "px-24 flex flex-col gap-y-32 pb-24" }, we = { class: "flex items-center justify-end py-4 xs:hidden" },
|
|
255
|
+
}, Ve = { class: "px-24 flex flex-col gap-y-32 pb-24" }, we = { class: "flex items-center justify-end py-4 xs:hidden" }, De = /* @__PURE__ */ G({
|
|
257
256
|
__name: "Collections",
|
|
258
257
|
setup(f) {
|
|
259
258
|
const r = ie(), d = Q(), S = p(), F = H(() => d.params.id), k = p(!1), { custom: _ } = J, E = [
|
|
@@ -287,7 +286,7 @@ const m = {
|
|
|
287
286
|
enableSorting: !1,
|
|
288
287
|
cell(n) {
|
|
289
288
|
const l = n.row.original.pf_user;
|
|
290
|
-
return
|
|
289
|
+
return me(l);
|
|
291
290
|
}
|
|
292
291
|
},
|
|
293
292
|
{
|
|
@@ -321,7 +320,7 @@ const m = {
|
|
|
321
320
|
}, q = (n) => {
|
|
322
321
|
const l = g[d.name];
|
|
323
322
|
return (o) => l(n, o);
|
|
324
|
-
}, { tableMeta: a, rowData: A, onSort: B, debouncedFetchData: C, onSearch: c } =
|
|
323
|
+
}, { tableMeta: a, rowData: A, onSort: B, debouncedFetchData: C, onSearch: c } = ue(q(F.value));
|
|
325
324
|
async function x() {
|
|
326
325
|
var n;
|
|
327
326
|
await C(), (n = S.value) == null || n.showSheet(!1);
|
|
@@ -355,7 +354,7 @@ const m = {
|
|
|
355
354
|
}
|
|
356
355
|
m.page++;
|
|
357
356
|
}
|
|
358
|
-
await
|
|
357
|
+
await ce(
|
|
359
358
|
n.buildExcel(),
|
|
360
359
|
`members-${(/* @__PURE__ */ new Date()).toISOString()}.xlsx`,
|
|
361
360
|
{
|
|
@@ -414,7 +413,7 @@ const m = {
|
|
|
414
413
|
collapsible: ""
|
|
415
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
416
415
|
]),
|
|
417
|
-
s(
|
|
416
|
+
s(de, {
|
|
418
417
|
loading: e(a).isLoading,
|
|
419
418
|
"row-data": e(A),
|
|
420
419
|
"column-defs": E,
|
|
@@ -437,5 +436,5 @@ const m = {
|
|
|
437
436
|
}
|
|
438
437
|
});
|
|
439
438
|
export {
|
|
440
|
-
|
|
439
|
+
De as default
|
|
441
440
|
};
|
|
@@ -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 { u as W } from "./business-
|
|
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-B3XGyQ8W.js";
|
|
5
|
+
import { u as W } from "./business-COGiTmLD.js";
|
|
6
|
+
import { u as X } from "./campaign-BHZMjQi5.js";
|
|
7
|
+
import { g as S, b as V } from "./dto-ndeeV_nc.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-D7ML8ePp.js";
|
|
10
|
+
import { u as ee } from "./template-DMRMDZOW.js";
|
|
11
|
+
import { c as _ } from "./index-Btlj28Vg.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", {
|