@feedmepos/mf-connect 0.0.7 → 0.0.8
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-D-E67IbN.js → Analytic-BxRuK2P2.js} +8 -8
- package/dist/{Broadcast-NjpOa4PK.js → Broadcast-BqGojAWW.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-7KnDJ-sV.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B-VzcVMS.js} +8 -8
- package/dist/{Card-BOEkf7wo.js → Card-Dlj5jQp4.js} +54 -54
- package/dist/{Collections-sLYCpBxu.js → Collections-DvdDRozp.js} +181 -186
- package/dist/{Credit-DU2_9ex7.js → Credit-BeHm7_2S.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBO6OHrM.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js} +170 -160
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CTvGOX7T.js → EffectSheet.vue_vue_type_style_index_0_lang-hwXvdiut.js} +2999 -2978
- package/dist/{Experience-DGNdVxuU.js → Experience-CtDY9u4Y.js} +8 -8
- package/dist/{Game-B1i79HLc.js → Game-DjaYuqcb.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-DzdMpEl_.js → ImageInput.vue_vue_type_script_setup_true_lang-Bq5-Gl9N.js} +1 -1
- package/dist/{MainLayout-CfgDdm6k.js → MainLayout-B-iAZM2k.js} +1 -1
- package/dist/{Marketing-CBre7DEM.js → Marketing-BJJltAh-.js} +6 -6
- package/dist/{Member-BfvuL8GL.js → Member-eJ9Pdi5w.js} +2 -2
- package/dist/{MemberList-CQ17Q4V7.js → MemberList-CrhMqUfJ.js} +12 -12
- package/dist/{MemberTransactions-Cviim4GX.js → MemberTransactions-DRET8mSQ.js} +2 -2
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-j31pc2Wx.js → MessageInput.vue_vue_type_script_setup_true_lang-D-ttMwn2.js} +2 -2
- package/dist/{Point-9ta-6dJv.js → Point-DPTOgJbC.js} +8 -8
- package/dist/{Promotion-CBmH5FNG.js → Promotion-wzkRuNqO.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-r9Q-pOrs.js → RuleGroup.vue_vue_type_script_setup_true_lang-Z06eB5i5.js} +12 -12
- package/dist/{Segment-ZUtFZM5W.js → Segment-DnsPrP7Q.js} +10 -10
- package/dist/{Setting-TQdqaKPQ.js → Setting-CXuZu0-m.js} +9 -9
- package/dist/{Store-DX1ALcTQ.js → Store-4Um9keEp.js} +12 -12
- package/dist/{StoreRewards-Bd1ZFUQM.js → StoreRewards-B-UFeyQM.js} +10 -10
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-D0L-LkOm.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BAyotuXd.js} +5 -5
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-C0xL6Ua_.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-I_XFpctY.js} +1 -1
- package/dist/Tier-C6KVsxGO.js +818 -0
- package/dist/{Title-YJtGygMA.js → Title-DuN1ahIM.js} +236 -236
- package/dist/{Transaction-DmvmaPk6.js → Transaction-DdfX7Xfe.js} +1 -1
- package/dist/{Voucher-D88gJYa3.js → Voucher-DarXrxZr.js} +99 -94
- package/dist/{app-g6ra_l_x.js → app-CxBTTB31.js} +1266 -1251
- package/dist/app.js +1 -1
- package/dist/{campaign-DdY0vnwY.js → campaign-B0aXkadj.js} +7 -7
- package/dist/dto-BtdVC-Ab.js +1093 -0
- package/dist/{effect-CghM-w8z.js → effect-BUN6rkQM.js} +1 -1
- package/dist/{helper-xWsMhdHl.js → helper-Cpq3x8K5.js} +1 -1
- package/dist/{index-CVSXd2FW.js → index-0GYrZr4L.js} +138 -132
- package/dist/{index-Dz8i7yJ_.js → index-8clzk3uX.js} +1 -1
- package/dist/{index-D71HFulf.js → index-BTntbYTS.js} +1 -1
- package/dist/{index-B4ootZIL.js → index-BvnZdJBY.js} +2 -2
- package/dist/{index-Cl-b6jYW.js → index-C6NgUSl2.js} +1 -1
- package/dist/{index-Bp8rb1uM.js → index-CK9yJMj7.js} +34 -34
- package/dist/{index-BSF_A6Bx.js → index-D2Juhkdw.js} +2 -2
- package/dist/{index-C5UTq5_2.js → index-DDSLx7vu.js} +2 -2
- package/dist/{index-gLwPyXKM.js → index-Dg-PMgXV.js} +1 -1
- package/dist/index-DysVCkrx.js +1735 -0
- package/dist/libs/packages/core/src/campaign/campaign.enum.d.ts +6 -0
- package/dist/libs/packages/core/src/campaign/campaign.fn.d.ts +2 -0
- package/dist/libs/packages/core/src/template/templates.d.ts +7 -0
- package/dist/{loading-DClM7b3o.js → loading-Cxp7sI5p.js} +2 -2
- package/dist/{lodash-wTDGx83S.js → lodash-DsT1nK-T.js} +1 -1
- package/dist/{membership-BEDm55VI.js → membership-DtD45RXh.js} +4 -4
- package/dist/{money-CPy2C0LJ.js → money-CFI1TMCS.js} +1 -1
- package/dist/{number-ROACK3bi.js → number-BBtf4fYz.js} +1 -1
- package/dist/packages/connect/src/api/index.d.ts +3 -0
- package/dist/packages/connect/src/api/settings/index.d.ts +1 -1
- package/dist/packages/connect/src/main.d.ts +1 -1
- package/dist/{plugins-CJou3ejy.js → plugins-B_d-WFtN.js} +4 -4
- package/dist/{rule-Cp7qN96m.js → rule-CB9Qlcx1.js} +2 -2
- package/dist/{rule-builder-OR4oX_mq.js → rule-builder-BIKcA4Bg.js} +1 -1
- package/dist/{template-Dk2sky27.js → template-qlb46PGl.js} +5 -5
- package/dist/{usePagination-DRHXkOF-.js → usePagination-CX66ab1Y.js} +1 -1
- package/dist/{xlsx-C5St1Lch.js → xlsx-DMaFso0k.js} +1 -1
- package/package.json +2 -2
- package/dist/Tier-DAUABM7F.js +0 -818
- package/dist/dto-BQHDb7XC.js +0 -353
- package/dist/index-CPU_mtDw.js +0 -1742
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as I, openBlock as l, createElementBlock as h, Fragment as V, renderList as P, createElementVNode as a, toDisplayString as U, createCommentVNode as B, resolveComponent as S, createBlock as F, withCtx as O, createVNode as p, unref as n, ref as C, computed as G, onMounted as q, watch as X, isRef as N, createSlots as Y, createTextVNode as ee, reactive as te, onBeforeMount as ae, normalizeClass as ne } from "vue";
|
|
2
2
|
import { _ as oe } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { f as le } from "./number-
|
|
4
|
-
import { C as se, F as ie, a as re } from "./dto-
|
|
3
|
+
import { f as le } from "./number-BBtf4fYz.js";
|
|
4
|
+
import { C as se, F as ie, a as re } from "./dto-BtdVC-Ab.js";
|
|
5
5
|
import { useRouter as ce } from "vue-router";
|
|
6
|
-
import { c as T } from "./index-
|
|
6
|
+
import { c as T } from "./index-BTntbYTS.js";
|
|
7
7
|
import { _ as ue, Z as de } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
|
|
8
|
-
import { J as me, u as pe } from "./app-
|
|
9
|
-
import "./plugins-
|
|
8
|
+
import { J as me, u as pe } from "./app-CxBTTB31.js";
|
|
9
|
+
import "./plugins-B_d-WFtN.js";
|
|
10
10
|
import { useSnackbar as fe } from "@feedmepos/ui-library";
|
|
11
|
-
import { u as ve } from "./loading-
|
|
11
|
+
import { u as ve } from "./loading-Cxp7sI5p.js";
|
|
12
12
|
import { g as ye } from "./object-qECH92oz.js";
|
|
13
|
-
import { u as _e } from "./campaign-
|
|
14
|
-
import { m as ge } from "./index-
|
|
13
|
+
import { u as _e } from "./campaign-B0aXkadj.js";
|
|
14
|
+
import { m as ge } from "./index-Dg-PMgXV.js";
|
|
15
15
|
const he = { class: "divide-x flex flex-wrap" }, be = { class: "fm-typo-en-body-md-400 mb-2 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-title-sm-800" }, Ce = /* @__PURE__ */ I({
|
|
16
16
|
__name: "CampaignStat",
|
|
17
17
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as P, ref as g, computed as U, onMounted as M, resolveComponent as i, openBlock as l, 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 C, 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 { p as Q } from "./plugins-
|
|
5
|
-
import { u as W } from "./loading-
|
|
6
|
-
import { a as X } from "./app-
|
|
7
|
-
import { u as Y } from "./campaign-
|
|
8
|
-
import { g as F, b as k } from "./dto-
|
|
4
|
+
import { p as Q } from "./plugins-B_d-WFtN.js";
|
|
5
|
+
import { u as W } from "./loading-Cxp7sI5p.js";
|
|
6
|
+
import { a as X } from "./app-CxBTTB31.js";
|
|
7
|
+
import { u as Y } from "./campaign-B0aXkadj.js";
|
|
8
|
+
import { g as F, b as k } from "./dto-BtdVC-Ab.js";
|
|
9
9
|
import { _ as Z } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as te } from "./template-
|
|
12
|
-
import { c as y } from "./index-
|
|
10
|
+
import { _ as ee } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js";
|
|
11
|
+
import { u as te } from "./template-qlb46PGl.js";
|
|
12
|
+
import { c as y } from "./index-BTntbYTS.js";
|
|
13
13
|
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" }, ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, le = { 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 = [
|
|
14
14
|
ue
|
|
15
15
|
], 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-D2Juhkdw.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-BIKcA4Bg.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-DDSLx7vu.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-0GYrZr4L.js";
|
|
7
|
+
import "./index-DysVCkrx.js";
|
|
8
|
+
import "./index-CK9yJMj7.js";
|
|
9
|
+
import "./index-BvnZdJBY.js";
|
|
10
|
+
import "./index-8clzk3uX.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,25 @@
|
|
|
1
1
|
var Ee = Object.defineProperty;
|
|
2
2
|
var Se = (e, s, b) => s in e ? Ee(e, s, { enumerable: !0, configurable: !0, writable: !0, value: b }) : e[s] = b;
|
|
3
3
|
var se = (e, s, b) => Se(e, typeof s != "symbol" ? s + "" : s, b);
|
|
4
|
-
import { defineComponent as Q, ref as h, computed as F, watch as ke, onMounted as Z, resolveComponent as E, openBlock as _, createBlock as O, unref as n, isRef as z, withCtx as y, createElementVNode as
|
|
4
|
+
import { defineComponent as Q, ref as h, computed as F, watch as ke, onMounted as Z, resolveComponent as E, openBlock as _, createBlock as O, unref as n, isRef as z, withCtx as y, createElementVNode as g, createVNode as u, createElementBlock as x, Fragment as B, renderList as J, createCommentVNode as A, normalizeClass as Te, createSlots as Re, h as X } from "vue";
|
|
5
5
|
import { h as ae } from "./moment-BWErdI6_.js";
|
|
6
6
|
import { useDialog as Ae, components as ye } from "@feedmepos/ui-library";
|
|
7
|
-
import { p as Ce, f as re } from "./plugins-
|
|
8
|
-
import { u as ce } from "./loading-
|
|
9
|
-
import { u as Ie, g as Oe, a as Ne } from "./app-
|
|
10
|
-
import { u as ee } from "./membership-
|
|
11
|
-
import { _ as ie } from "./index-
|
|
12
|
-
import { m as ne } from "./index-
|
|
13
|
-
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import {
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
7
|
+
import { p as Ce, f as re } from "./plugins-B_d-WFtN.js";
|
|
8
|
+
import { u as ce } from "./loading-Cxp7sI5p.js";
|
|
9
|
+
import { u as Ie, g as Oe, a as Ne } from "./app-CxBTTB31.js";
|
|
10
|
+
import { u as ee } from "./membership-DtD45RXh.js";
|
|
11
|
+
import { _ as ie } from "./index-CK9yJMj7.js";
|
|
12
|
+
import { m as ne } from "./index-C6NgUSl2.js";
|
|
13
|
+
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-Bq5-Gl9N.js";
|
|
14
|
+
import "./index-DDSLx7vu.js";
|
|
15
|
+
import "./index-D2Juhkdw.js";
|
|
16
|
+
import { h as xe } from "./index-0GYrZr4L.js";
|
|
17
|
+
import "./index-DysVCkrx.js";
|
|
18
|
+
import "./index-BvnZdJBY.js";
|
|
19
|
+
import "./index-8clzk3uX.js";
|
|
20
20
|
import { a as De } from "./object-qECH92oz.js";
|
|
21
|
-
import { u as W, w as Ue } from "./xlsx-
|
|
22
|
-
import { u as we, _ as He } from "./usePagination-
|
|
21
|
+
import { u as W, w as Ue } from "./xlsx-DMaFso0k.js";
|
|
22
|
+
import { u as we, _ as He } from "./usePagination-CX66ab1Y.js";
|
|
23
23
|
import { o as Be } from "./objectId-dwaoBfJX.js";
|
|
24
24
|
class Fe {
|
|
25
25
|
constructor() {
|
|
@@ -36,14 +36,14 @@ class Fe {
|
|
|
36
36
|
return W.book_append_sheet(s, b, "Card(s)"), s;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
const Pe = /* @__PURE__ */
|
|
39
|
+
const Pe = /* @__PURE__ */ g("div", { class: "fm-typo-en-body-lg-600" }, "Number type", -1), Ve = { class: "space-y-16" }, Me = /* @__PURE__ */ g("div", { class: "fm-typo-en-body-lg-600" }, "Number Settings", -1), Ge = { class: "gap-16 grid grid-cols-2" }, Le = { class: "space-y-16" }, je = /* @__PURE__ */ g("div", { class: "fm-typo-en-body-lg-600" }, "Card Settings", -1), $e = {
|
|
40
40
|
key: 0,
|
|
41
41
|
class: "flex flex-col gap-[16px] w-full"
|
|
42
|
-
}, Ke = { class: "flex flex-col gap-[8px]" }, Xe = /* @__PURE__ */
|
|
42
|
+
}, Ke = { class: "flex flex-col gap-[8px]" }, Xe = /* @__PURE__ */ g("p", { class: "fm-typo-en-title-sm-800" }, "Design preview", -1), We = ["src"], Ye = { class: "flex pt-[24px] gap-[24px]" }, qe = ["src", "onClick", "alt"], ze = { class: "flex items-center gap-8" }, Je = /* @__PURE__ */ Q({
|
|
43
43
|
__name: "CreateCardSheet",
|
|
44
44
|
emits: ["success", "export"],
|
|
45
45
|
setup(e, { expose: s, emit: b }) {
|
|
46
|
-
const { minor: U } = ce, S = ee(), w = h(), k = h(!1),
|
|
46
|
+
const { minor: U } = ce, S = ee(), w = h(), k = h(!1), f = b, v = h(!1);
|
|
47
47
|
function P(i) {
|
|
48
48
|
v.value = i, i && (a.value = {
|
|
49
49
|
quantity: 1,
|
|
@@ -114,7 +114,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
114
114
|
console.log(t), await U(
|
|
115
115
|
async () => {
|
|
116
116
|
const V = await ne.createCards(i);
|
|
117
|
-
console.log(V), await
|
|
117
|
+
console.log(V), await f("success"), t && await f("export", V);
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
message: "Creating card(s)",
|
|
@@ -132,7 +132,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
132
132
|
), Z(async () => {
|
|
133
133
|
await S.readMemberStore();
|
|
134
134
|
}), (i, t) => {
|
|
135
|
-
const C = E("FmRadio"), L = E("FmRadioGroup"), V = E("FmSwitch"),
|
|
135
|
+
const C = E("FmRadio"), L = E("FmRadioGroup"), V = E("FmSwitch"), fe = E("FmStepperField"), ge = E("FmSelect"), M = E("FmTextField"), be = E("FmTextarea"), j = E("FmButton"), he = E("FmForm"), ve = E("FmSideSheet");
|
|
136
136
|
return _(), O(ve, {
|
|
137
137
|
"max-width": 560,
|
|
138
138
|
"dismiss-away": !0,
|
|
@@ -144,7 +144,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
144
144
|
]
|
|
145
145
|
}, {
|
|
146
146
|
"side-sheet-footer": y(() => [
|
|
147
|
-
|
|
147
|
+
g("div", ze, [
|
|
148
148
|
u(j, {
|
|
149
149
|
label: "Save",
|
|
150
150
|
onClick: t[17] || (t[17] = (I) => c(n(a))),
|
|
@@ -169,7 +169,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
169
169
|
default: y(() => {
|
|
170
170
|
var I, te, oe;
|
|
171
171
|
return [
|
|
172
|
-
|
|
172
|
+
g("div", null, [
|
|
173
173
|
Pe,
|
|
174
174
|
u(L, {
|
|
175
175
|
modelValue: n(R),
|
|
@@ -187,7 +187,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
187
187
|
_: 1
|
|
188
188
|
}, 8, ["modelValue"])
|
|
189
189
|
]),
|
|
190
|
-
|
|
190
|
+
g("div", Ve, [
|
|
191
191
|
Me,
|
|
192
192
|
n(R) === "bulk" ? (_(), x(B, { key: 0 }, [
|
|
193
193
|
u(V, {
|
|
@@ -199,14 +199,14 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
199
199
|
"onUpdate:modelValue": t[1] || (t[1] = () => m.value = !n(m))
|
|
200
200
|
}, null, 8, ["model-value"]),
|
|
201
201
|
n(m) ? (_(), x(B, { key: 0 }, [
|
|
202
|
-
u(
|
|
202
|
+
u(fe, {
|
|
203
203
|
"model-value": n(a).codeConfig.length || null,
|
|
204
204
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => n(a).codeConfig.length = o),
|
|
205
205
|
label: "Code length",
|
|
206
206
|
rules: [(o) => Number(o) >= 1 || "Code length must at least 1"],
|
|
207
207
|
required: !0
|
|
208
208
|
}, null, 8, ["model-value", "rules"]),
|
|
209
|
-
u(
|
|
209
|
+
u(ge, {
|
|
210
210
|
label: "Charset",
|
|
211
211
|
"model-value": n(H),
|
|
212
212
|
items: D,
|
|
@@ -222,7 +222,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
222
222
|
label: "Custom Charset",
|
|
223
223
|
required: ""
|
|
224
224
|
}, null, 8, ["modelValue"])) : A("", !0),
|
|
225
|
-
|
|
225
|
+
g("div", Ge, [
|
|
226
226
|
u(M, {
|
|
227
227
|
modelValue: n(a).codeConfig.prefix,
|
|
228
228
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => n(a).codeConfig.prefix = o),
|
|
@@ -262,7 +262,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
262
262
|
placeholder: "(For multiple numbers, please enter in the new row.)"
|
|
263
263
|
}, null, 8, ["modelValue", "rules"])) : A("", !0)
|
|
264
264
|
]),
|
|
265
|
-
|
|
265
|
+
g("div", Le, [
|
|
266
266
|
je,
|
|
267
267
|
u(V, {
|
|
268
268
|
"label-placement": "right",
|
|
@@ -307,13 +307,13 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
307
307
|
}, 8, ["items", "modelValue"])) : A("", !0)
|
|
308
308
|
]),
|
|
309
309
|
n(S).membership.design ? (_(), x("div", $e, [
|
|
310
|
-
|
|
310
|
+
g("div", Ke, [
|
|
311
311
|
Xe,
|
|
312
|
-
|
|
312
|
+
g("img", {
|
|
313
313
|
src: (oe = n(r)) == null ? void 0 : oe.image,
|
|
314
314
|
class: "aspect-[16/9]"
|
|
315
315
|
}, null, 8, We),
|
|
316
|
-
|
|
316
|
+
g("div", Ye, [
|
|
317
317
|
(_(!0), x(B, null, J(n(S).membership.design, (o, $) => (_(), x("img", {
|
|
318
318
|
src: o.image,
|
|
319
319
|
key: `image_${$}`,
|
|
@@ -335,7 +335,7 @@ const Pe = /* @__PURE__ */ f("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_276d2a1b-dd71-4553-8288-254d7781a3e3", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", 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.14.2 npm/? node/v20.18.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_276d2a1b-dd71-4553-8288-254d7781a3e3", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.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.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "478", npm_package_dependencies__feedmepos_ui_library: "1.2.56", npm_package_dependencies_dayjs: "^1.11.11", 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.4", npm_package_devDependencies_typescript: "^5.4.5", 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 && pnpm build:dts && pnpm build-types", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", 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: "20241112.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.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/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.3/x64", JOURNAL_STREAM: "8:18546", 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", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11946490778", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8b89fa2306551934b722d96176826bd42a096c5b", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", 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/prepare-portal-v3", 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.14.2/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.14.2/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.14.2/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.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_b4914a47-1eb4-4686-be76-cd2d620722b1", INVOCATION_ID: "d7367b5d7cba44589df5f3551b34548c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.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: "2", 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.9", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 196", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "prepare-portal-v3", 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.4", 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.14.2/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.2/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.2/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.2/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.2/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.2/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.7", 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: "8b89fa2306551934b722d96176826bd42a096c5b", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/prepare-portal-v3", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", LEIN_HOME: "/usr/local/lib/lein", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_276d2a1b-dd71-4553-8288-254d7781a3e3", JAVA_HOME: "/usr/lib/jvm/temurin-11-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.14.2/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", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_276d2a1b-dd71-4553-8288-254d7781a3e3", 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.38", 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", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_276d2a1b-dd71-4553-8288-254d7781a3e3", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" } }, q = Math.floor(Math.random() * 16777215), de = d.index = parseInt(Math.random() * 16777215, 10), pe = (typeof Y > "u" || typeof Y.pid != "number" ? Math.floor(Math.random() * 1e5) : Y.pid) % 65535, ue = (() => {
|
|
338
|
+
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ee2b1673-f198-4064-b4d7-05d8b8b0870f", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", 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.14.3 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ee2b1673-f198-4064-b4d7-05d8b8b0870f", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/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.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "478", npm_package_dependencies__feedmepos_ui_library: "1.2.56", npm_package_dependencies_dayjs: "^1.11.11", 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.4", npm_package_devDependencies_typescript: "^5.4.5", 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 && pnpm build:dts && pnpm build-types", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", 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: "20241124.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.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/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.3/x64", JOURNAL_STREAM: "8:18584", 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", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12081660639", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ffe754b16b53f11aae737020ed72c8c4c4412d63", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", 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.14.3/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.14.3/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.14.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/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_77aa348d-e348-4527-a0b8-3fdc2dfb480b", INVOCATION_ID: "1fd09bb9dabf47beb064eea8924de866", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/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: "4", 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.10", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 457", 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.4", 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.14.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.8", 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: "ffe754b16b53f11aae737020ed72c8c4c4412d63", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", 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", LEIN_HOME: "/usr/local/lib/lein", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ee2b1673-f198-4064-b4d7-05d8b8b0870f", JAVA_HOME: "/usr/lib/jvm/temurin-11-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.14.3/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", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ee2b1673-f198-4064-b4d7-05d8b8b0870f", 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.38", 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", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ee2b1673-f198-4064-b4d7-05d8b8b0870f", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" } }, q = Math.floor(Math.random() * 16777215), de = d.index = parseInt(Math.random() * 16777215, 10), pe = (typeof Y > "u" || typeof Y.pid != "number" ? Math.floor(Math.random() * 1e5) : Y.pid) % 65535, ue = (() => {
|
|
339
339
|
try {
|
|
340
340
|
return _Buffer;
|
|
341
341
|
} catch {
|
|
@@ -484,10 +484,10 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
484
484
|
setup(e, { expose: s, emit: b }) {
|
|
485
485
|
const { minor: U } = ce, S = ee(), w = Ae(), k = h(!1);
|
|
486
486
|
h(), h(!1);
|
|
487
|
-
const
|
|
487
|
+
const f = h(), v = h(null);
|
|
488
488
|
F(() => {
|
|
489
489
|
var m, l;
|
|
490
|
-
return Math.min((((l = (m =
|
|
490
|
+
return Math.min((((l = (m = f.value) == null ? void 0 : m.design) == null ? void 0 : l.length) ?? 0) + 1, rn);
|
|
491
491
|
});
|
|
492
492
|
const P = b, a = F(() => {
|
|
493
493
|
var m, l;
|
|
@@ -503,7 +503,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
503
503
|
await U(
|
|
504
504
|
async () => {
|
|
505
505
|
var c;
|
|
506
|
-
const m = De(
|
|
506
|
+
const m = De(f.value), l = xe.parse(m);
|
|
507
507
|
if (l.design = (l == null ? void 0 : l.design) || [], v.value) {
|
|
508
508
|
const i = tn().toHexString(), t = await re.update(
|
|
509
509
|
re.designPath(i, v.value),
|
|
@@ -530,14 +530,14 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
530
530
|
secondaryActions: { text: "Cancel", close: !1 }
|
|
531
531
|
}).onPrimary(async () => {
|
|
532
532
|
var i, t;
|
|
533
|
-
const c = (i =
|
|
534
|
-
console.log(c), c !== -1 && ((t =
|
|
533
|
+
const c = (i = f.value.design) == null ? void 0 : i.findIndex((C) => C._id == l);
|
|
534
|
+
console.log(c), c !== -1 && ((t = f.value.design) == null || t.splice(c, 1)), await R();
|
|
535
535
|
}).onSecondary(() => {
|
|
536
536
|
w.close();
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
539
|
async function r() {
|
|
540
|
-
await S.readMembership(),
|
|
540
|
+
await S.readMembership(), f.value = S.membership;
|
|
541
541
|
}
|
|
542
542
|
return s({
|
|
543
543
|
showSheet: D
|
|
@@ -594,7 +594,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
594
594
|
n(k) ? {
|
|
595
595
|
name: "side-sheet-footer",
|
|
596
596
|
fn: y(() => [
|
|
597
|
-
|
|
597
|
+
g("div", an, [
|
|
598
598
|
u(c, {
|
|
599
599
|
label: "Save",
|
|
600
600
|
onClick: R,
|
|
@@ -612,7 +612,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
612
612
|
} : {
|
|
613
613
|
name: "side-sheet-footer",
|
|
614
614
|
fn: y(() => [
|
|
615
|
-
|
|
615
|
+
g("div", sn, [
|
|
616
616
|
u(c, {
|
|
617
617
|
label: "Add Design",
|
|
618
618
|
onClick: H
|
|
@@ -630,7 +630,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
630
630
|
]), 1032, ["modelValue"]);
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
|
-
}), dn = { class: "flex items-center" }, pn = /* @__PURE__ */
|
|
633
|
+
}), dn = { class: "flex items-center" }, pn = /* @__PURE__ */ g("span", { class: "fm-typo-en-title-sm-800" }, " Card ", -1), un = { class: "px-24 flex flex-col pb-24" }, mn = { class: "flex items-center justify-end py-4 xs:hidden" }, Hn = /* @__PURE__ */ Q({
|
|
634
634
|
__name: "Card",
|
|
635
635
|
setup(e) {
|
|
636
636
|
const s = h(), b = h(), U = Ne(), S = ee(), w = F(
|
|
@@ -685,7 +685,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
685
685
|
header: "Redeemed at",
|
|
686
686
|
accessorFn: (p) => p.redeemedAt ? ae(p.redeemedAt).format("DD MMM YYYY hh:mmA") : "-"
|
|
687
687
|
}
|
|
688
|
-
], { tableMeta:
|
|
688
|
+
], { tableMeta: f, rowData: v, onSort: P, debouncedFetchData: a, onSearch: N } = we(ne.readCards);
|
|
689
689
|
async function D() {
|
|
690
690
|
var p;
|
|
691
691
|
await a(), (p = s.value) == null || p.showSheet(!1);
|
|
@@ -730,7 +730,7 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
730
730
|
})
|
|
731
731
|
}, {
|
|
732
732
|
title: y(() => [
|
|
733
|
-
|
|
733
|
+
g("div", dn, [
|
|
734
734
|
pn,
|
|
735
735
|
n(U).isPremium ? A("", !0) : (_(), O(m, {
|
|
736
736
|
key: 0,
|
|
@@ -741,31 +741,31 @@ const tn = /* @__PURE__ */ Oe(Qe), on = {
|
|
|
741
741
|
]),
|
|
742
742
|
_: 1
|
|
743
743
|
}, 8, ["actions"]),
|
|
744
|
-
|
|
744
|
+
g("div", un, [
|
|
745
745
|
u(c, {
|
|
746
746
|
class: "hidden xs:flex border-b border-fm-color-neutral-gray-100",
|
|
747
|
-
modelValue: n(
|
|
748
|
-
"onUpdate:modelValue": r[1] || (r[1] = (i) => n(
|
|
747
|
+
modelValue: n(f).searchValue,
|
|
748
|
+
"onUpdate:modelValue": r[1] || (r[1] = (i) => n(f).searchValue = i),
|
|
749
749
|
placeholder: "Search",
|
|
750
750
|
collapsible: ""
|
|
751
751
|
}, null, 8, ["modelValue"]),
|
|
752
|
-
|
|
752
|
+
g("div", mn, [
|
|
753
753
|
u(c, {
|
|
754
|
-
modelValue: n(
|
|
755
|
-
"onUpdate:modelValue": r[2] || (r[2] = (i) => n(
|
|
754
|
+
modelValue: n(f).searchValue,
|
|
755
|
+
"onUpdate:modelValue": r[2] || (r[2] = (i) => n(f).searchValue = i),
|
|
756
756
|
placeholder: "Search",
|
|
757
757
|
collapsible: ""
|
|
758
758
|
}, null, 8, ["modelValue"])
|
|
759
759
|
]),
|
|
760
760
|
u(He, {
|
|
761
|
-
loading: n(
|
|
761
|
+
loading: n(f).isLoading,
|
|
762
762
|
"row-data": n(v),
|
|
763
|
-
"row-count": n(
|
|
763
|
+
"row-count": n(f).totalRows,
|
|
764
764
|
"column-defs": k,
|
|
765
765
|
"shrink-at": !1,
|
|
766
|
-
"page-count": n(
|
|
767
|
-
"page-index": n(
|
|
768
|
-
"page-size": n(
|
|
766
|
+
"page-count": n(f).pageCount,
|
|
767
|
+
"page-index": n(f).pageIndex,
|
|
768
|
+
"page-size": n(f).pageSize,
|
|
769
769
|
onSortChange: n(P),
|
|
770
770
|
onPageChange: r[3] || (r[3] = (i) => {
|
|
771
771
|
n(a)({ pageSize: i.pageSize, pageIndex: i.pageIndex });
|