@feedmepos/mf-connect 0.1.6-prod → 0.1.7-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-h2dVjw9L.js → Analytic-BHUjWmWc.js} +8 -8
- package/dist/{App-CXrVHcny.js → App-DAdGpI5T.js} +6 -6
- package/dist/{Broadcast-C_yjBlnL.js → Broadcast-dSC_IWRT.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DlFuK-tl.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BYLjv_MC.js} +8 -8
- package/dist/{Card-C17suLtX.js → Card-CV--HQCf.js} +79 -79
- package/dist/{Collections-RLi8GDg4.js → Collections-C5AwcMd2.js} +4 -4
- package/dist/{Credit-Dv7s8DIe.js → Credit-Mw2-ee1A.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-IHXloR99.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DBqGYQoP.js} +24 -24
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CF5PYFA_.js → EffectSheet.vue_vue_type_style_index_0_lang-DntdUZvW.js} +7 -7
- package/dist/{Experience-BIzDDFyk.js → Experience-Cneieb2k.js} +8 -8
- package/dist/{Game-BMaTj33g.js → Game-XO-w3IYe.js} +8 -8
- package/dist/{Marketing-CyhukCLP.js → Marketing-WNiCzebg.js} +5 -5
- package/dist/{Member-zer945n8.js → Member-Cc2sLq_z.js} +4 -4
- package/dist/{MemberList-DYuJ7zL8.js → MemberList-C9iVHMNN.js} +14 -14
- package/dist/{MemberTransactions-CTSDCP5l.js → MemberTransactions-D2_hoAkF.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CgyISRx8.js → MessageInput.vue_vue_type_script_setup_true_lang-BG-RqK-c.js} +2 -2
- package/dist/{Mission-WlpetlVu.js → Mission-TWktiQ4z.js} +8 -8
- package/dist/{Point-CztxYcHB.js → Point-eD94WtKZ.js} +8 -8
- package/dist/{Promotion-BSY95E_F.js → Promotion-BVm2_c6F.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-TAHpaMcq.js → RuleGroup.vue_vue_type_script_setup_true_lang-vme-OSpF.js} +15 -15
- package/dist/{Segment-F5xQrTdm.js → Segment-DDf44nYK.js} +13 -13
- package/dist/{Setting-CUss203b.js → Setting-DBhakAQ9.js} +8 -8
- package/dist/{Store-HyiCzc5y.js → Store-BxIKHQxH.js} +13 -13
- package/dist/{StoreRewards-BfA932tQ.js → StoreRewards-GEg3D_yp.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-S2GV65Rt.js → StoreTransactions.vue_vue_type_script_setup_true_lang-0hsnAYU6.js} +10 -10
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CaA7whd1.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-D_QbjkVF.js} +1 -1
- package/dist/{Tier-BqCLi1sl.js → Tier-bzoKkoGK.js} +15 -15
- package/dist/{Title-BI9NyV6o.js → Title-C_655234.js} +15 -15
- package/dist/{Transaction-BUsRoBXj.js → Transaction-CO65XSq0.js} +2 -2
- package/dist/{Voucher-BznqKTOB.js → Voucher-vMQztwvD.js} +11 -11
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-4aanN1eE.js → ZodTextField.vue_vue_type_script_setup_true_lang-C-EjkZIX.js} +1 -1
- package/dist/{app-XHvwT6FM.js → app-BvmH1YQF.js} +39 -39
- package/dist/{app-3zMNAWkV.js → app-Rhn3A8yy.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-lYitM-yL.js → business-mSU6aNgB.js} +1 -1
- package/dist/{campaign-Cl0NbdpC.js → campaign-CB8P_b1j.js} +2 -2
- package/dist/{collection.fn-DbVyCNRi.js → collection.fn-xMtdil0c.js} +2 -2
- package/dist/{dto-BaZzwx_T.js → dto-BebECM0V.js} +51 -51
- package/dist/{effect-CXtr0Nlo.js → effect-kjeWRBoV.js} +1 -1
- package/dist/{email-addresses-DqXTgHKC.js → email-addresses-DS30WNct.js} +1 -1
- package/dist/{export-j1OtIT1o.js → export-Ckc3bUlY.js} +3 -3
- package/dist/{helper-DlRuo5GI.js → helper-CGV9vPCE.js} +1 -1
- package/dist/{index-DwRi3psi.js → index-BAfqMFHL.js} +2 -2
- package/dist/{index-CjUjE7dl.js → index-BCB-3g-3.js} +1 -1
- package/dist/{index-DS9-ZqlQ.js → index-BlLAyQkt.js} +1 -1
- package/dist/{index-DYQjW1uN.js → index-C0jOFgHh.js} +1 -1
- package/dist/{index-Bq4I_fsY.js → index-CEzvwQKD.js} +1 -1
- package/dist/{index-DlbyUoT4.js → index-C_fJ9N2I.js} +3 -3
- package/dist/{index-WYBGtKwd.js → index-Ct3rbI6P.js} +1 -1
- package/dist/{index-DQCnGxGm.js → index-CuDehNVP.js} +5 -5
- package/dist/{index-DZEnaQqg.js → index-CussemBD.js} +1 -1
- package/dist/{index-Bepc89BT.js → index-D3LzGPEW.js} +5 -5
- package/dist/{index-CyiaPcaN.js → index-D8-_XalW.js} +4 -4
- package/dist/{index-BrT_bG9g.js → index-MzOjD6tJ.js} +2 -2
- package/dist/{index.esm2017-D2LRRJwn.js → index.esm2017-C80DuMeI.js} +1 -1
- package/dist/{loading-DOjtN9Ta.js → loading-CjckWt50.js} +4 -4
- package/dist/{membership-CjVKjQzp.js → membership-DTNXBuUA.js} +3 -3
- package/dist/{money-EzQt3GZO.js → money-hcxWNxvM.js} +1 -1
- package/dist/{number-2zhnh0d7.js → number-vCjVvxnh.js} +1 -1
- package/dist/{rule-jHFqgYs_.js → rule-DTf5dUoT.js} +3 -3
- package/dist/{rule-builder-Ba9oTg7E.js → rule-builder-DNP54pwr.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-ypT0QAuq.js → template-DtZzRQzT.js} +4 -4
- package/dist/{usePagination-DYqru0sl.js → usePagination-BLFMf0Pz.js} +1 -1
- package/dist/{vue-i18n-B8lZHLrO.js → vue-i18n-I3aPtNi-.js} +248 -248
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as j, ref as y, watch as X, onMounted as I, resolveComponent as x, openBlock as d, createBlock as A, withCtx as L, createVNode as h, unref as t, createElementVNode as i, createElementBlock as k, Fragment as $, renderList as D, computed as G, toDisplayString as O, isRef as T, createSlots as Y, createCommentVNode as V, createTextVNode as ee, reactive as te, onBeforeMount as ae } from "vue";
|
|
2
2
|
import { _ as ne } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import "./index-
|
|
4
|
-
import { F as le, C as oe } from "./dto-
|
|
3
|
+
import "./index-D8-_XalW.js";
|
|
4
|
+
import { F as le, C as oe } from "./dto-BebECM0V.js";
|
|
5
5
|
import { useRouter as se } from "vue-router";
|
|
6
|
-
import { c as R } from "./index-
|
|
7
|
-
import { _ as re, Z as ie } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { c as R } from "./index-CEzvwQKD.js";
|
|
7
|
+
import { _ as re, Z as ie } from "./ZodTextField.vue_vue_type_script_setup_true_lang-C-EjkZIX.js";
|
|
8
8
|
import { J as ue } from "./JsonViewer-v8_C7l5N.js";
|
|
9
|
-
import { u as ce } from "./loading-
|
|
9
|
+
import { u as ce } from "./loading-CjckWt50.js";
|
|
10
10
|
import { useSnackbar as me } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as de } from "./app-wDQR6dpb.js";
|
|
12
12
|
import { g as pe } from "./object-qECH92oz.js";
|
|
13
|
-
import { u as ve } from "./campaign-
|
|
14
|
-
import { u as fe } from "./membership-
|
|
15
|
-
import { u as ye } from "./vue-i18n-
|
|
13
|
+
import { u as ve } from "./campaign-CB8P_b1j.js";
|
|
14
|
+
import { u as fe } from "./membership-DTNXBuUA.js";
|
|
15
|
+
import { u as ye } from "./vue-i18n-I3aPtNi-.js";
|
|
16
16
|
const _e = { class: "ml-32 flex flex-col" }, ge = /* @__PURE__ */ j({
|
|
17
17
|
__name: "CampaignCard",
|
|
18
18
|
props: {
|
|
@@ -2,15 +2,15 @@ import { defineComponent as lt, ref as te, h as Q, watch as ut, resolveComponent
|
|
|
2
2
|
import { useRouter as nn, useRoute as ht, RouterView as rn } from "vue-router";
|
|
3
3
|
import { useCoreStore as We, FeedMeAuth as sn } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as on } from "./app-wDQR6dpb.js";
|
|
5
|
-
import { u as an } from "./business-
|
|
6
|
-
import "./index-
|
|
5
|
+
import { u as an } from "./business-mSU6aNgB.js";
|
|
6
|
+
import "./index-BlLAyQkt.js";
|
|
7
7
|
import { components as Z, useSnackbar as cn, useDialog as ln } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as un } from "./vue-i18n-
|
|
9
|
-
import { R as f } from "./app-
|
|
8
|
+
import { u as un } from "./vue-i18n-I3aPtNi-.js";
|
|
9
|
+
import { R as f } from "./app-BvmH1YQF.js";
|
|
10
10
|
import { J as dn } from "./JsonViewer-v8_C7l5N.js";
|
|
11
|
-
import { r as ye, L as hn, g as ft, i as fn, a as pn, _ as je, C as Ge, b as mn, S as z, c as w, d as j, E as Se, e as gn, f as pt, h as _n, j as vn, k as mt, l as g, m as In, F as Re, n as Tn, q as K, o as wn, p as yn, s as En, t as kn, u as bn } from "./index.esm2017-
|
|
11
|
+
import { r as ye, L as hn, g as ft, i as fn, a as pn, _ as je, C as Ge, b as mn, S as z, c as w, d as j, E as Se, e as gn, f as pt, h as _n, j as vn, k as mt, l as g, m as In, F as Re, n as Tn, q as K, o as wn, p as yn, s as En, t as kn, u as bn } from "./index.esm2017-C80DuMeI.js";
|
|
12
12
|
import { _ as Pe } from "./tslib.es6-BCqqvLQ_.js";
|
|
13
|
-
import { S as Be, c as Sn } from "./index-
|
|
13
|
+
import { S as Be, c as Sn } from "./index-D8-_XalW.js";
|
|
14
14
|
const Rn = /* @__PURE__ */ lt({
|
|
15
15
|
__name: "NavigationTab",
|
|
16
16
|
setup(n) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as N, ref as h, computed as U, onMounted as j, resolveComponent as r, openBlock as l, createElementBlock as y, Fragment as b, createVNode as i, unref as t, createElementVNode as n, withCtx as v, renderList as E, createBlock as w, resolveDynamicComponent as H, toDisplayString as d, createCommentVNode as q, h as z } from "vue";
|
|
2
2
|
import { _ as G } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as Q } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as W, p as X } from "./loading-
|
|
5
|
-
import { u as Y } from "./business-
|
|
6
|
-
import { u as Z } from "./campaign-
|
|
7
|
-
import { g as B, a as A } from "./dto-
|
|
8
|
-
import { u as ee } from "./vue-i18n-
|
|
4
|
+
import { u as W, p as X } from "./loading-CjckWt50.js";
|
|
5
|
+
import { u as Y } from "./business-mSU6aNgB.js";
|
|
6
|
+
import { u as Z } from "./campaign-CB8P_b1j.js";
|
|
7
|
+
import { g as B, a as A } from "./dto-BebECM0V.js";
|
|
8
|
+
import { u as ee } from "./vue-i18n-I3aPtNi-.js";
|
|
9
9
|
import { _ as te } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as ae } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as oe } from "./template-
|
|
12
|
-
import { c as _ } from "./index-
|
|
10
|
+
import { _ as ae } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DBqGYQoP.js";
|
|
11
|
+
import { u as oe } from "./template-DtZzRQzT.js";
|
|
12
|
+
import { c as _ } from "./index-CEzvwQKD.js";
|
|
13
13
|
const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-center justify-between w-full" }, ce = { class: "flex gap-8 overflow-x-auto" }, ie = { 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" }, me = { class: "space-y-4" }, de = { class: "fm-typo-en-body-lg-600" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ue = { key: 0 }, fe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, ge = /* @__PURE__ */ n("img", {
|
|
14
14
|
src: G,
|
|
15
15
|
class: "aspect-square w-[150px]"
|
|
@@ -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-CussemBD.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-DNP54pwr.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-MzOjD6tJ.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-CuDehNVP.js";
|
|
7
|
+
import "./index-C_fJ9N2I.js";
|
|
8
|
+
import "./index-D3LzGPEW.js";
|
|
9
|
+
import "./index-BAfqMFHL.js";
|
|
10
|
+
import "./index-BCB-3g-3.js";
|
|
11
11
|
function validateRule(data, r, date) {
|
|
12
12
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
13
13
|
function meetConditions(e) {
|
|
@@ -2,24 +2,24 @@ import { defineComponent as ee, ref as b, computed as G, watch as ve, onMounted
|
|
|
2
2
|
import { _ as ke } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { h as ie } from "./moment-BWErdI6_.js";
|
|
4
4
|
import { useDialog as Te, components as Re } from "@feedmepos/ui-library";
|
|
5
|
-
import { p as Ae, u as te, f as le } from "./loading-
|
|
5
|
+
import { p as Ae, u as te, f as le } from "./loading-CjckWt50.js";
|
|
6
6
|
import { u as Ce } from "./app-wDQR6dpb.js";
|
|
7
|
-
import { u as oe } from "./membership-
|
|
8
|
-
import { _ as de } from "./index-
|
|
9
|
-
import { m as
|
|
7
|
+
import { u as oe } from "./membership-DTNXBuUA.js";
|
|
8
|
+
import { _ as de } from "./index-D3LzGPEW.js";
|
|
9
|
+
import { m as se } from "./index-Ct3rbI6P.js";
|
|
10
10
|
import { _ as pe } from "./ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import { l as Oe } from "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
11
|
+
import "./index-MzOjD6tJ.js";
|
|
12
|
+
import "./index-CussemBD.js";
|
|
13
|
+
import { l as Oe } from "./index-CuDehNVP.js";
|
|
14
|
+
import "./index-C_fJ9N2I.js";
|
|
15
|
+
import "./index-BAfqMFHL.js";
|
|
16
|
+
import "./index-BCB-3g-3.js";
|
|
17
17
|
import { g as Ie } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
18
18
|
import { a as Ne } from "./object-qECH92oz.js";
|
|
19
|
-
import { u as xe } from "./business-
|
|
20
|
-
import { a as De, _ as we, w as Ue } from "./usePagination-
|
|
21
|
-
import { e as He, C as Fe } from "./export-
|
|
22
|
-
import { u as Pe } from "./vue-i18n-
|
|
19
|
+
import { u as xe } from "./business-mSU6aNgB.js";
|
|
20
|
+
import { a as De, _ as we, w as Ue } from "./usePagination-BLFMf0Pz.js";
|
|
21
|
+
import { e as He, C as Fe } from "./export-Ckc3bUlY.js";
|
|
22
|
+
import { u as Pe } from "./vue-i18n-I3aPtNi-.js";
|
|
23
23
|
import { o as Be } from "./objectId-dwaoBfJX.js";
|
|
24
24
|
const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number type", -1), Ve = { class: "space-y-16" }, Ge = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number Settings", -1), Le = { class: "gap-16 grid grid-cols-2" }, je = { class: "space-y-16" }, $e = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Card Settings", -1), Ke = {
|
|
25
25
|
key: 0,
|
|
@@ -83,10 +83,10 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
83
83
|
var l;
|
|
84
84
|
return (l = E.membership.design) == null ? void 0 : l[A.value];
|
|
85
85
|
}
|
|
86
|
-
), u = b(!1),
|
|
86
|
+
), u = b(!1), a = G(
|
|
87
87
|
() => E.sortedStoreCategories.flatMap((l) => l.bundles)
|
|
88
88
|
);
|
|
89
|
-
async function
|
|
89
|
+
async function s(l) {
|
|
90
90
|
var D, H;
|
|
91
91
|
if (await ((D = R.value) == null ? void 0 : D.validateInputs()), !h.value) return;
|
|
92
92
|
l.design = (H = P.value) == null ? void 0 : H.image;
|
|
@@ -98,7 +98,7 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
98
98
|
);
|
|
99
99
|
console.log(t), await w(
|
|
100
100
|
async () => {
|
|
101
|
-
const B = await
|
|
101
|
+
const B = await se.createCards(l);
|
|
102
102
|
console.log(B), await c("success"), t && await c("export", B);
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -132,7 +132,7 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
132
132
|
m("div", Je, [
|
|
133
133
|
d(K, {
|
|
134
134
|
label: "Save",
|
|
135
|
-
onClick: t[17] || (t[17] = (C) =>
|
|
135
|
+
onClick: t[17] || (t[17] = (C) => s(n(r))),
|
|
136
136
|
loading: n(Ce)().isLoading
|
|
137
137
|
}, null, 8, ["loading"]),
|
|
138
138
|
d(K, {
|
|
@@ -152,7 +152,7 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
152
152
|
onValidationFailed: t[16] || (t[16] = (C) => h.value = !1)
|
|
153
153
|
}, {
|
|
154
154
|
default: k(() => {
|
|
155
|
-
var C,
|
|
155
|
+
var C, ae, re;
|
|
156
156
|
return [
|
|
157
157
|
m("div", null, [
|
|
158
158
|
Me,
|
|
@@ -258,7 +258,7 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
258
258
|
d(de, {
|
|
259
259
|
label: "Activate bundle on bind",
|
|
260
260
|
placeholder: "Select bundle",
|
|
261
|
-
items: n(
|
|
261
|
+
items: n(a).filter((o) => !o.stripePriceId).map((o) => ({ label: o.name, value: o._id })),
|
|
262
262
|
modelValue: n(r).bundle,
|
|
263
263
|
"onUpdate:modelValue": t[12] || (t[12] = (o) => n(r).bundle = o)
|
|
264
264
|
}, {
|
|
@@ -272,11 +272,11 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
272
272
|
]),
|
|
273
273
|
_: 1
|
|
274
274
|
}, 8, ["items", "modelValue"]),
|
|
275
|
-
(
|
|
275
|
+
(ae = (C = n(E).store) == null ? void 0 : C.stripe) != null && ae.apiKey ? (_(), I(de, {
|
|
276
276
|
key: 0,
|
|
277
277
|
label: "Linked subscription bundle",
|
|
278
278
|
placeholder: "Select bundle",
|
|
279
|
-
items: n(
|
|
279
|
+
items: n(a).filter((o) => o.stripePriceId).map((o) => ({ label: o.name, value: o._id })),
|
|
280
280
|
modelValue: n(r).subscriptionBundle,
|
|
281
281
|
"onUpdate:modelValue": t[14] || (t[14] = (o) => n(r).subscriptionBundle = o)
|
|
282
282
|
}, {
|
|
@@ -320,7 +320,7 @@ const Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
|
-
var z = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_066dbdda-bfbf-4ae3-8736-352d7af36175", 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.19.0 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_066dbdda-bfbf-4ae3-8736-352d7af36175", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.0/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.12.5", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "710", 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_dependencies_i18next: "24.2.1", 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: "20250323.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:6341", 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: "14336128824", 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: "fc7564c37a14a77f0ff6148b7022af0e7cd31a8b", 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.19.0/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_70d6cbf4-b55a-40a2-a7a0-96d52731f38a", INVOCATION_ID: "c1303e4ce59b4b26a88315f58fc2d248", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.0/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: "46", 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 385", 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.6-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", npm_package_dependencies_vue_i18n: "10.0.5", 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: "fc7564c37a14a77f0ff6148b7022af0e7cd31a8b", 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_066dbdda-bfbf-4ae3-8736-352d7af36175", 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_066dbdda-bfbf-4ae3-8736-352d7af36175", 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_066dbdda-bfbf-4ae3-8736-352d7af36175", 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" } }, J = Math.floor(Math.random() * 16777215), ce = p.index = parseInt(Math.random() * 16777215, 10), me = (typeof z > "u" || typeof z.pid != "number" ? Math.floor(Math.random() * 1e5) : z.pid) % 65535, ue = (() => {
|
|
323
|
+
var z = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e5f2602f-9687-424f-afc0-cd7a7f1ed9b7", 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.19.0 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_e5f2602f-9687-424f-afc0-cd7a7f1ed9b7", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.0/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.12.5", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "708", 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_dependencies_i18next: "24.2.1", 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: "20250413.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.8/x64", JOURNAL_STREAM: "8:6064", 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: "14567833844", 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: "7a7435e15c43523eaee568565a284c409fe8e956", 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.19.0/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_fdd488aa-41af-42dd-a657-2a0337c3a64e", INVOCATION_ID: "a7b8c1040a5e447c995bb7e797f8eb50", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.0/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: "49", 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 438", 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.7-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", npm_package_dependencies_vue_i18n: "10.0.5", 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: "7a7435e15c43523eaee568565a284c409fe8e956", 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_e5f2602f-9687-424f-afc0-cd7a7f1ed9b7", 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_e5f2602f-9687-424f-afc0-cd7a7f1ed9b7", 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_e5f2602f-9687-424f-afc0-cd7a7f1ed9b7", 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" } }, J = Math.floor(Math.random() * 16777215), ce = p.index = parseInt(Math.random() * 16777215, 10), me = (typeof z > "u" || typeof z.pid != "number" ? Math.floor(Math.random() * 1e5) : z.pid) % 65535, ue = (() => {
|
|
324
324
|
try {
|
|
325
325
|
return _Buffer;
|
|
326
326
|
} catch {
|
|
@@ -460,10 +460,10 @@ p.prototype[tn] = function() {
|
|
|
460
460
|
};
|
|
461
461
|
p.prototype.toJSON = p.prototype.toHexString;
|
|
462
462
|
p.prototype.toString = p.prototype.toHexString;
|
|
463
|
-
const on = /* @__PURE__ */ Ie(Ze),
|
|
463
|
+
const on = /* @__PURE__ */ Ie(Ze), sn = {
|
|
464
464
|
key: 0,
|
|
465
465
|
class: "grid grid-cols-1 gap-8"
|
|
466
|
-
},
|
|
466
|
+
}, an = { class: "flex items-center gap-8" }, rn = { class: "flex items-center gap-8" }, ln = 5, dn = /* @__PURE__ */ ee({
|
|
467
467
|
__name: "CardDesignSheet",
|
|
468
468
|
emits: ["success"],
|
|
469
469
|
setup(e, { expose: i, emit: x }) {
|
|
@@ -471,12 +471,12 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
471
471
|
b(), b(!1);
|
|
472
472
|
const c = b(), v = b(null);
|
|
473
473
|
G(() => {
|
|
474
|
-
var u,
|
|
475
|
-
return Math.min((((
|
|
474
|
+
var u, a;
|
|
475
|
+
return Math.min((((a = (u = c.value) == null ? void 0 : u.design) == null ? void 0 : a.length) ?? 0) + 1, ln);
|
|
476
476
|
});
|
|
477
477
|
const L = x, r = G(() => {
|
|
478
|
-
var u,
|
|
479
|
-
return ((
|
|
478
|
+
var u, a;
|
|
479
|
+
return ((a = (u = E.membership) == null ? void 0 : u.design) == null ? void 0 : a.filter((s) => s.image)) || [];
|
|
480
480
|
}), y = b(!1);
|
|
481
481
|
function V(u) {
|
|
482
482
|
y.value = u;
|
|
@@ -487,19 +487,19 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
487
487
|
async function T() {
|
|
488
488
|
await w(
|
|
489
489
|
async () => {
|
|
490
|
-
var
|
|
491
|
-
const u = Ne(c.value),
|
|
492
|
-
if (
|
|
490
|
+
var s;
|
|
491
|
+
const u = Ne(c.value), a = Oe.parse(u);
|
|
492
|
+
if (a.design = (a == null ? void 0 : a.design) || [], v.value) {
|
|
493
493
|
const l = on().toHexString(), t = await le.update(
|
|
494
494
|
le.designPath(l, v.value),
|
|
495
495
|
v.value
|
|
496
496
|
);
|
|
497
|
-
(
|
|
497
|
+
(s = a.design) == null || s.push({
|
|
498
498
|
_id: l,
|
|
499
499
|
image: t
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
|
-
await
|
|
502
|
+
await se.update(a), await P(), await L("success"), v.value = null, h.value = !1;
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
message: "Saving card design",
|
|
@@ -507,16 +507,16 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
507
507
|
}
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
async function A(u,
|
|
511
|
-
u ? v.value = u :
|
|
510
|
+
async function A(u, a) {
|
|
511
|
+
u ? v.value = u : a && R.open({
|
|
512
512
|
title: "Delete Design",
|
|
513
513
|
message: "Are you sure you want to delete this design?",
|
|
514
514
|
primaryActions: { text: "Delete", close: !0 },
|
|
515
515
|
secondaryActions: { text: "Cancel", close: !1 }
|
|
516
516
|
}).onPrimary(async () => {
|
|
517
517
|
var l, t;
|
|
518
|
-
const
|
|
519
|
-
console.log(
|
|
518
|
+
const s = (l = c.value.design) == null ? void 0 : l.findIndex((D) => D._id == a);
|
|
519
|
+
console.log(s), s !== -1 && ((t = c.value.design) == null || t.splice(s, 1)), await T();
|
|
520
520
|
}).onSecondary(() => {
|
|
521
521
|
R.close();
|
|
522
522
|
});
|
|
@@ -528,20 +528,20 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
528
528
|
showSheet: V
|
|
529
529
|
}), ne(async () => {
|
|
530
530
|
await P(), r.value.length || (h.value = !0);
|
|
531
|
-
}), (u,
|
|
532
|
-
const
|
|
531
|
+
}), (u, a) => {
|
|
532
|
+
const s = f("FmButton"), l = f("FmSideSheet");
|
|
533
533
|
return _(), I(l, {
|
|
534
534
|
"max-width": 560,
|
|
535
535
|
"dismiss-away": !0,
|
|
536
536
|
header: "Manage Design",
|
|
537
537
|
modelValue: n(y),
|
|
538
538
|
"onUpdate:modelValue": [
|
|
539
|
-
|
|
540
|
-
|
|
539
|
+
a[2] || (a[2] = (t) => Q(y) ? y.value = t : null),
|
|
540
|
+
a[3] || (a[3] = (t) => y.value = t)
|
|
541
541
|
]
|
|
542
542
|
}, Se({
|
|
543
543
|
default: k(() => [
|
|
544
|
-
n(h) ? O("", !0) : (_(), N("div",
|
|
544
|
+
n(h) ? O("", !0) : (_(), N("div", sn, [
|
|
545
545
|
(_(!0), N(M, null, Z(n(r), (t) => (_(), I(pe, {
|
|
546
546
|
key: String(t._id),
|
|
547
547
|
"image-fit": "cover",
|
|
@@ -554,7 +554,7 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
554
554
|
"delete-button": !1
|
|
555
555
|
}, {
|
|
556
556
|
"delete-button": k(() => [
|
|
557
|
-
d(
|
|
557
|
+
d(s, {
|
|
558
558
|
class: "!text-neutral-50 !bg-neutral-700",
|
|
559
559
|
icon: "delete",
|
|
560
560
|
variant: "tertiary",
|
|
@@ -580,16 +580,16 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
580
580
|
name: "side-sheet-footer",
|
|
581
581
|
fn: k(() => [
|
|
582
582
|
m("div", rn, [
|
|
583
|
-
d(
|
|
583
|
+
d(s, {
|
|
584
584
|
label: "Save",
|
|
585
585
|
onClick: T,
|
|
586
586
|
disabled: !n(v)
|
|
587
587
|
}, null, 8, ["disabled"]),
|
|
588
|
-
d(
|
|
588
|
+
d(s, {
|
|
589
589
|
label: "Cancel",
|
|
590
590
|
type: "button",
|
|
591
591
|
variant: "tertiary",
|
|
592
|
-
onClick:
|
|
592
|
+
onClick: a[1] || (a[1] = (t) => h.value = !1)
|
|
593
593
|
})
|
|
594
594
|
])
|
|
595
595
|
]),
|
|
@@ -597,16 +597,16 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
597
597
|
} : {
|
|
598
598
|
name: "side-sheet-footer",
|
|
599
599
|
fn: k(() => [
|
|
600
|
-
m("div",
|
|
601
|
-
d(
|
|
600
|
+
m("div", an, [
|
|
601
|
+
d(s, {
|
|
602
602
|
label: "Add Design",
|
|
603
603
|
onClick: U
|
|
604
604
|
}),
|
|
605
|
-
d(
|
|
605
|
+
d(s, {
|
|
606
606
|
label: "Cancel",
|
|
607
607
|
type: "button",
|
|
608
608
|
variant: "tertiary",
|
|
609
|
-
onClick:
|
|
609
|
+
onClick: a[0] || (a[0] = (t) => y.value = !1)
|
|
610
610
|
})
|
|
611
611
|
])
|
|
612
612
|
]),
|
|
@@ -622,18 +622,18 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
622
622
|
__name: "Card",
|
|
623
623
|
setup(e) {
|
|
624
624
|
const { minor: i, global: x } = te, w = b(), E = b(), R = xe(), h = oe(), { t: c } = Pe(), v = G(
|
|
625
|
-
() => h.sortedStoreCategories.flatMap((
|
|
625
|
+
() => h.sortedStoreCategories.flatMap((a) => a.bundles)
|
|
626
626
|
), L = [
|
|
627
627
|
{
|
|
628
628
|
header: c("connect.loyalty.card.table.card_number"),
|
|
629
|
-
accessorFn: (
|
|
629
|
+
accessorFn: (a) => a.serialNumber
|
|
630
630
|
},
|
|
631
631
|
{
|
|
632
632
|
header: c("connect.loyalty.card.table.redeemed_by"),
|
|
633
633
|
accessorKey: "user",
|
|
634
634
|
enableSorting: !1,
|
|
635
|
-
cell(
|
|
636
|
-
const
|
|
635
|
+
cell(a) {
|
|
636
|
+
const s = a.row.original.pf_member;
|
|
637
637
|
return W(
|
|
638
638
|
"div",
|
|
639
639
|
{
|
|
@@ -641,44 +641,44 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
641
641
|
},
|
|
642
642
|
[
|
|
643
643
|
W(Re.FmAvatar, {
|
|
644
|
-
name:
|
|
645
|
-
src: (
|
|
644
|
+
name: s != null && s.photoUrl || s == null ? void 0 : s.name,
|
|
645
|
+
src: (s == null ? void 0 : s.photoUrl) ?? void 0,
|
|
646
646
|
size: "sm"
|
|
647
647
|
}),
|
|
648
|
-
W("span", { class: "fm-typo-en-body-sm-400" },
|
|
648
|
+
W("span", { class: "fm-typo-en-body-sm-400" }, s == null ? void 0 : s.name)
|
|
649
649
|
]
|
|
650
650
|
);
|
|
651
651
|
}
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
654
|
header: c("connect.loyalty.card.table.phone"),
|
|
655
|
-
accessorFn: (
|
|
656
|
-
var
|
|
657
|
-
return ((
|
|
655
|
+
accessorFn: (a) => {
|
|
656
|
+
var s;
|
|
657
|
+
return ((s = a.pf_member) == null ? void 0 : s.phoneNumber) || "-";
|
|
658
658
|
},
|
|
659
659
|
accessorKey: "pf_member.phoneNumber"
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
662
|
header: c("connect.loyalty.card.table.created_at"),
|
|
663
663
|
accessorKey: "_id",
|
|
664
|
-
accessorFn: (
|
|
664
|
+
accessorFn: (a) => ie(Be(a._id.toString())).format("DD MMM YYYY hh:mmA")
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
667
|
header: c("connect.loyalty.card.table.bundle"),
|
|
668
|
-
accessorFn: (
|
|
669
|
-
var
|
|
670
|
-
return ((
|
|
668
|
+
accessorFn: (a) => {
|
|
669
|
+
var s;
|
|
670
|
+
return ((s = v.value.find((l) => l._id === a.bundle)) == null ? void 0 : s.name) || "-";
|
|
671
671
|
}
|
|
672
672
|
},
|
|
673
673
|
{
|
|
674
674
|
header: c("connect.loyalty.card.table.redeemed_at"),
|
|
675
675
|
accessorKey: "redeemedAt",
|
|
676
|
-
accessorFn: (
|
|
676
|
+
accessorFn: (a) => a.redeemedAt ? ie(a.redeemedAt).format("DD MMM YYYY hh:mmA") : "-"
|
|
677
677
|
}
|
|
678
|
-
], { tableMeta: r, rowData: y, onSort: V, debouncedFetchData: U, onSearch: T } = De(
|
|
678
|
+
], { tableMeta: r, rowData: y, onSort: V, debouncedFetchData: U, onSearch: T } = De(se.readCards);
|
|
679
679
|
async function A() {
|
|
680
|
-
var
|
|
681
|
-
await U(), (
|
|
680
|
+
var a;
|
|
681
|
+
await U(), (a = w.value) == null || a.showSheet(!1);
|
|
682
682
|
}
|
|
683
683
|
const P = G(() => R.isPremium ? [
|
|
684
684
|
{
|
|
@@ -692,12 +692,12 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
692
692
|
isPrimary: !0
|
|
693
693
|
}
|
|
694
694
|
] : []);
|
|
695
|
-
async function u(
|
|
696
|
-
const
|
|
695
|
+
async function u(a) {
|
|
696
|
+
const s = new Fe(), l = a.map((t) => ({
|
|
697
697
|
CardNumber: t
|
|
698
698
|
}));
|
|
699
|
-
|
|
700
|
-
|
|
699
|
+
s.addRecords(l), await Ue(
|
|
700
|
+
s.buildExcel(),
|
|
701
701
|
`cards-${(/* @__PURE__ */ new Date()).toISOString()}.xlsx`,
|
|
702
702
|
{
|
|
703
703
|
bookType: "xlsx",
|
|
@@ -710,13 +710,13 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
710
710
|
await x(async () => {
|
|
711
711
|
await R.readPremium(), await h.readMemberStore(), await h.readMembership(), await A();
|
|
712
712
|
});
|
|
713
|
-
}), (
|
|
713
|
+
}), (a, s) => {
|
|
714
714
|
const l = f("FmPill"), t = f("FmPageHead"), D = f("FmSearch"), H = f("FmButton"), B = f("FmCard");
|
|
715
715
|
return _(), N(M, null, [
|
|
716
716
|
d(t, {
|
|
717
717
|
title: n(c)("connect.loyalty.card.title"),
|
|
718
718
|
actions: n(P),
|
|
719
|
-
"onClick:action":
|
|
719
|
+
"onClick:action": s[0] || (s[0] = (g) => {
|
|
720
720
|
var $, F;
|
|
721
721
|
console.log(g), g === "design" && (($ = n(E)) == null || $.showSheet(!0)), g === "create" && ((F = n(w)) == null || F.showSheet(!0));
|
|
722
722
|
})
|
|
@@ -739,7 +739,7 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
739
739
|
class: "mt-4",
|
|
740
740
|
modelValue: n(r).searchValue,
|
|
741
741
|
"onUpdate:modelValue": [
|
|
742
|
-
|
|
742
|
+
s[1] || (s[1] = (g) => n(r).searchValue = g),
|
|
743
743
|
n(T)
|
|
744
744
|
],
|
|
745
745
|
placeholder: "Search",
|
|
@@ -761,7 +761,7 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
761
761
|
"page-index": n(r).pageIndex,
|
|
762
762
|
"page-size": n(r).pageSize,
|
|
763
763
|
onSortChange: n(V),
|
|
764
|
-
onPageChange:
|
|
764
|
+
onPageChange: s[2] || (s[2] = (g) => {
|
|
765
765
|
n(U)({
|
|
766
766
|
pageSize: g.pageSize,
|
|
767
767
|
pageIndex: g.pageIndex
|
|
@@ -785,7 +785,7 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
785
785
|
label: n(c)("connect.loyalty.card.actions.add"),
|
|
786
786
|
icon: "add",
|
|
787
787
|
disabled: !n(R).isPremium,
|
|
788
|
-
onClick:
|
|
788
|
+
onClick: s[3] || (s[3] = () => {
|
|
789
789
|
var g;
|
|
790
790
|
return (g = n(w)) == null ? void 0 : g.showSheet(!0);
|
|
791
791
|
})
|
|
@@ -794,7 +794,7 @@ const on = /* @__PURE__ */ Ie(Ze), an = {
|
|
|
794
794
|
variant: "secondary",
|
|
795
795
|
label: n(c)("connect.loyalty.card.actions.manage_design"),
|
|
796
796
|
disabled: !n(R).isPremium,
|
|
797
|
-
onClick:
|
|
797
|
+
onClick: s[4] || (s[4] = () => {
|
|
798
798
|
var g;
|
|
799
799
|
return (g = n(E)) == null ? void 0 : g.showSheet(!0);
|
|
800
800
|
})
|
|
@@ -4,14 +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-CjckWt50.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, a as ue, _ as de, w as ce } from "./usePagination-
|
|
11
|
+
import { c as N } from "./index-CEzvwQKD.js";
|
|
12
|
+
import { u as Y, a as ue, _ as de, w as ce } from "./usePagination-BLFMf0Pz.js";
|
|
13
13
|
import { g as me } from "./user-Bm4KttFq.js";
|
|
14
|
-
import { m as pe } from "./index-
|
|
14
|
+
import { m as pe } from "./index-Ct3rbI6P.js";
|
|
15
15
|
import { o as fe } from "./objectId-dwaoBfJX.js";
|
|
16
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({
|
|
17
17
|
__name: "CreateCollectionSheet",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as N, ref as S, computed as j, h as M, onMounted as A, resolveComponent as i, openBlock as l, createElementBlock as y, Fragment as h, createVNode as c, unref as t, createElementVNode as n, withCtx as C, renderList as H, createBlock as v, resolveDynamicComponent as q, toDisplayString as g, createCommentVNode as z } from "vue";
|
|
2
2
|
import { _ as G } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as O } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as Q, u as W } from "./loading-
|
|
5
|
-
import { u as X } from "./business-
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
7
|
-
import { g as V, a as L } from "./dto-
|
|
8
|
-
import { u as Z } from "./vue-i18n-
|
|
4
|
+
import { p as Q, u as W } from "./loading-CjckWt50.js";
|
|
5
|
+
import { u as X } from "./business-mSU6aNgB.js";
|
|
6
|
+
import { u as Y } from "./campaign-CB8P_b1j.js";
|
|
7
|
+
import { g as V, a as L } from "./dto-BebECM0V.js";
|
|
8
|
+
import { u as Z } from "./vue-i18n-I3aPtNi-.js";
|
|
9
9
|
import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as te } from "./template-
|
|
12
|
-
import { c as _ } from "./index-
|
|
10
|
+
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DBqGYQoP.js";
|
|
11
|
+
import { u as te } from "./template-DtZzRQzT.js";
|
|
12
|
+
import { c as _ } from "./index-CEzvwQKD.js";
|
|
13
13
|
const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-center justify-between w-full" }, re = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, ce = { class: "flex w-full gap-4 items-center" }, ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, le = { class: "space-y-4" }, me = { class: "fm-typo-en-body-lg-600" }, de = { 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" }, ue = { key: 0 }, fe = /* @__PURE__ */ n("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, " No results found ", -1), ye = [
|
|
14
14
|
fe
|
|
15
15
|
], ge = /* @__PURE__ */ n("img", {
|