@feedmepos/mf-connect 0.1.0-beta.54 → 0.1.0-beta.56
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-DNI1i_SI.js → Analytic-D_D92i4G.js} +11 -11
- package/dist/{App-DObCjrhE.js → App-QpezWBnJ.js} +10 -6
- package/dist/{AuditLogs-DImm4Ydu.js → AuditLogs-D2pZEngG.js} +12 -11
- package/dist/{Bin-CcNRMd0x.js → Bin-DBf0InBH.js} +8 -8
- package/dist/{Broadcast-BotivEx9.js → Broadcast-DAk3nU0-.js} +55 -54
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Ba3NttQm.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-vEnLN5sN.js} +6 -6
- package/dist/{Card-1LyRUNDz.js → Card-Bu-Z11ti.js} +15 -15
- package/dist/Collections-CXUv8OGD.js +459 -0
- package/dist/{Credit-C4FehhPS.js → Credit-BRu7pvJ8.js} +42 -41
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BlTxHhHW.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bg5H5bLD.js} +28 -28
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CEfunKXB.js → EffectSheet.vue_vue_type_style_index_0_lang-CD-3CQjK.js} +6 -6
- package/dist/{Experience-gBfv7ru-.js → Experience-CGM9hWQF.js} +39 -38
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/{Game-R9RusPq4.js → Game-CCv8_6AO.js} +45 -44
- package/dist/{Index-DIwqSHLL.js → Index-DXTc6Yk3.js} +10 -10
- package/dist/{Marketing-CZYD2ddp.js → Marketing-9qidJ_bk.js} +6 -6
- package/dist/Member-I6-Pr4Fh.js +319 -0
- package/dist/{MemberList-DqeHySdg.js → MemberList-BWDjjtpG.js} +24 -24
- package/dist/{MemberTransactions-CXy0zxGc.js → MemberTransactions-_PT_WTRE.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CbTndvQx.js → MessageInput.vue_vue_type_script_setup_true_lang-K6aZwciE.js} +5 -5
- package/dist/{Mission-Dt2R9JVy.js → Mission-DWfkmcdf.js} +36 -35
- package/dist/{Overview-BrSbdy2_.js → Overview-QMdBRBlA.js} +17 -17
- package/dist/{Point-BB4OoQ9O.js → Point-DwZQVgF_.js} +49 -48
- package/dist/{Promotion-Cd-4VoeS.js → Promotion-DYmwS5O9.js} +33 -32
- package/dist/Queue-6MPd1asH.js +244 -0
- package/dist/{Record-jvc_mbY3.js → Record-CCxdtJJr.js} +7 -7
- package/dist/{Reward-BlbNKLJO.js → Reward-C4VcRpIW.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DPA6NyE3.js → RewardGroup.vue_vue_type_script_setup_true_lang-BES7zeqg.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DeDE4FBr.js → RuleGroup.vue_vue_type_script_setup_true_lang-Dd3Ljndp.js} +12 -12
- package/dist/{Segment-IxmlRjfR.js → Segment-bcXOjAzv.js} +14 -14
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DGXsFLVO.js → SelectItems.vue_vue_type_script_setup_true_lang-Ci5ykIt2.js} +2 -2
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CIuHzjZF.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CpHvvfH0.js} +3 -3
- package/dist/{Setting-D2KZjG9v.js → Setting-CZQT4bGV.js} +10 -10
- package/dist/{Store-BAtjSdn-.js → Store-DN55d_IW.js} +122 -119
- package/dist/{StoreRewards-zWZU6tL0.js → StoreRewards-BTnHFOZx.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DPGqXgEM.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BJcBvSI0.js} +155 -151
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CpM53JM7.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DpRC1Opy.js} +1 -1
- package/dist/{Tier-CfrVPz6a.js → Tier-B7WlTtk_.js} +19 -19
- package/dist/{Title-CUrZfzDs.js → Title-CGHvbMsj.js} +19 -19
- package/dist/{Transaction-DBjMeSL6.js → Transaction-Cce4r0cs.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BnGFcBsw.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-KYefM4Ey.js} +6 -6
- package/dist/{Voucher-k0x5ghAp.js → Voucher-BRryWivA.js} +44 -43
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-B3Zbbg8H.js → VoucherEditor.vue_vue_type_script_setup_true_lang-D9efKb13.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BCtEZ3YW.js → ZodTextField.vue_vue_type_script_setup_true_lang-BRPkxkU5.js} +1 -1
- package/dist/{app-BX_kcnjN.js → app-Cy8_Vaxo.js} +1 -1
- package/dist/{app-C27ny1rN.js → app-DTlg8MKp.js} +172 -142
- package/dist/app.js +1 -1
- package/dist/{business-CaL8dhbB.js → business-BMaADexo.js} +1 -1
- package/dist/{campaign-BEPgE5CH.js → campaign-C8fB-bPD.js} +12 -12
- package/dist/{campaign-D1IDv9pf.js → campaign-Cy1er8EV.js} +2 -2
- package/dist/{campaign.enum-DPtLnWTT.js → campaign.enum-C1u87jO3.js} +1 -1
- package/dist/{campaign.fn-gbTZCSx4.js → campaign.fn-Ba2PAVOQ.js} +54 -54
- package/dist/{collectible.enum-BGp0i5br.js → collectible.enum-TJ2-owoP.js} +1 -1
- package/dist/{collection.fn-BRYSNJcJ.js → collection.fn-Be0qsf0j.js} +2 -2
- package/dist/{dto-CKsjCDtT.js → dto-CYkVsWtG.js} +4 -4
- package/dist/{effect-COM0bU6H.js → effect-BsKfDszn.js} +1 -1
- package/dist/{email-addresses-8dkAXaaH.js → email-addresses-udodm5zn.js} +1 -1
- package/dist/{export-BOyaDPx1.js → export-BANYPH3S.js} +3 -3
- package/dist/{helper-BPWsTSo7.js → helper-B4n2GzUT.js} +1 -1
- package/dist/{index-syqkAq4m.js → index-CTnXuOHy.js} +1 -1
- package/dist/{index-CPhjQE7M.js → index-CZh5_4r2.js} +1 -1
- package/dist/{index-KMvP72cy.js → index-C_uA0tpL.js} +3 -3
- package/dist/{index-DOCmOcoV.js → index-DXsJh2qk.js} +355 -316
- package/dist/{index-C9HOsq0v.js → index-DvVCTYVh.js} +1 -1
- package/dist/{index-3cal5Crf.js → index-DxkyGhLq.js} +9 -9
- package/dist/{index-DnwoMUg-.js → index-H50yBk-G.js} +1 -1
- package/dist/{index-ziYFMe26.js → index-JDYQ7e_j.js} +3 -3
- package/dist/{index-BcGf92gd.js → index-JYlCBixV.js} +24 -21
- package/dist/{index-CPPpEEkl.js → index-fxGxOKSf.js} +10 -10
- package/dist/{index-EZiP7ATV.js → index-jD3VA_Wp.js} +1 -1
- package/dist/{index-M-cFQZfx.js → index-l7oroAM_.js} +1 -1
- package/dist/{index.esm2017-Bkj89W-b.js → index.esm2017-uOw4t7a-.js} +90 -90
- package/dist/{loading--fQbVp4h.js → loading-LKg7ETnZ.js} +1 -1
- package/dist/{membership-Bz5Os9GI.js → membership-Ce1306Ft.js} +3 -3
- package/dist/{money-m-8Q9Cic.js → money-asfLa4Lt.js} +1 -1
- package/dist/{number-BL2f3-uB.js → number-CQDR1ZIe.js} +1 -1
- package/dist/objectid-CPbhwwne.js +145 -0
- package/dist/{plugins-BHMrdAR2.js → plugins-Du32AI_-.js} +1189 -1189
- package/dist/{reward-fbGsZP19.js → reward-BgF2Ig1i.js} +1 -1
- package/dist/{rule-C4G5Qgb9.js → rule-B3tx1ogH.js} +3 -3
- package/dist/{rule-builder-t9GpaWj-.js → rule-builder-CrturC5Q.js} +1 -1
- package/dist/{template-DQJGwq08.js → template-DcEa3i5E.js} +4 -4
- package/dist/{trigger-Iva-VDNY.js → trigger-c_TWDwnV.js} +4 -4
- package/dist/{user-Ck3D1xfX.js → user-CUTqlbQz.js} +1 -1
- package/dist/{vue-i18n-D3N-L0QD.js → vue-i18n-bLo1ykBN.js} +157 -157
- package/dist/{xlsx-CcF8Y9u8.js → xlsx-BUKrzqzV.js} +1 -1
- package/package.json +6 -4
- package/dist/Collections-CCwwox7X.js +0 -449
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-CLFeMi0j.js +0 -169
- package/dist/Member-CLlV_z9S.js +0 -69
- package/dist/objectid-Uw4EvP0I.js +0 -145
|
@@ -1,22 +1,22 @@
|
|
|
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 le } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./campaign-
|
|
3
|
+
import "./index-JDYQ7e_j.js";
|
|
4
|
+
import "./campaign-C8fB-bPD.js";
|
|
5
5
|
import { useRouter as ne } from "vue-router";
|
|
6
|
-
import { c as R } from "./index-
|
|
7
|
-
import { _ as oe } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { c as R } from "./index-CTnXuOHy.js";
|
|
7
|
+
import { _ as oe } from "./ZodTextField.vue_vue_type_script_setup_true_lang-BRPkxkU5.js";
|
|
8
8
|
import { Z as se } from "./zod-Bg2FbC-D.js";
|
|
9
|
-
import { F as re } from "./dto-
|
|
9
|
+
import { F as re } from "./dto-CYkVsWtG.js";
|
|
10
10
|
import { J as ie } from "./JsonViewer-v8_C7l5N.js";
|
|
11
|
-
import "./plugins-
|
|
11
|
+
import "./plugins-Du32AI_-.js";
|
|
12
12
|
import { useSnackbar as ue } from "@feedmepos/ui-library";
|
|
13
13
|
import { u as ce } from "./app-wDQR6dpb.js";
|
|
14
|
-
import { u as me } from "./loading
|
|
15
|
-
import { C as de } from "./campaign.fn-
|
|
14
|
+
import { u as me } from "./loading-LKg7ETnZ.js";
|
|
15
|
+
import { C as de } from "./campaign.fn-Ba2PAVOQ.js";
|
|
16
16
|
import { g as pe } from "./object-qECH92oz.js";
|
|
17
|
-
import { u as ve } from "./campaign-
|
|
18
|
-
import { u as fe } from "./membership-
|
|
19
|
-
import { u as ye } from "./vue-i18n-
|
|
17
|
+
import { u as ve } from "./campaign-Cy1er8EV.js";
|
|
18
|
+
import { u as fe } from "./membership-Ce1306Ft.js";
|
|
19
|
+
import { u as ye } from "./vue-i18n-bLo1ykBN.js";
|
|
20
20
|
const ge = { class: "ml-32 flex flex-col" }, _e = /* @__PURE__ */ j({
|
|
21
21
|
__name: "CampaignCard",
|
|
22
22
|
props: {
|
|
@@ -2,15 +2,15 @@ import { defineComponent as lt, ref as ne, h as B, 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-BMaADexo.js";
|
|
6
|
+
import "./index-l7oroAM_.js";
|
|
7
7
|
import { components as q, useSnackbar as cn, useDialog as ln } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as un } from "./vue-i18n-
|
|
9
|
-
import { R as h } from "./app-
|
|
8
|
+
import { u as un } from "./vue-i18n-bLo1ykBN.js";
|
|
9
|
+
import { R as h } from "./app-DTlg8MKp.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 J, 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 Y, 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 J, 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 Y, o as wn, p as yn, s as En, t as kn, u as bn } from "./index.esm2017-uOw4t7a-.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-JDYQ7e_j.js";
|
|
14
14
|
import { Y as Rn } from "./remy-vue-client-Cpppk9h-.js";
|
|
15
15
|
const Pn = /* @__PURE__ */ lt({
|
|
16
16
|
__name: "NavigationTab",
|
|
@@ -122,6 +122,10 @@ const Pn = /* @__PURE__ */ lt({
|
|
|
122
122
|
{
|
|
123
123
|
label: e("connect.navigation.bin"),
|
|
124
124
|
value: h["$connect-BIN"]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: e("connect.navigation.queue"),
|
|
128
|
+
value: h["$connect-QUEUE"]
|
|
125
129
|
}
|
|
126
130
|
], r = nn(), s = ht(), o = i.reduce((a, l) => [...(l.children ?? []).map((d) => d.value), ...a, l.value], []);
|
|
127
131
|
ut(
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { defineComponent as ze, ref as xe, resolveComponent as $e, openBlock as P, createBlock as pi, unref as h, isRef as xi, withCtx as We, createElementVNode as x, createElementBlock as Q, Fragment as qe, renderList as Xe, toDisplayString as G, watch as ki, onBeforeMount as _i, createVNode as q, createCommentVNode as Si, h as Y } from "vue";
|
|
2
2
|
import { components as Ke } from "@feedmepos/ui-library";
|
|
3
|
-
import { c as Pe, a as Je } from "./plugins-
|
|
3
|
+
import { c as Pe, a as Je } from "./plugins-Du32AI_-.js";
|
|
4
4
|
import { h as J } from "./moment-BWErdI6_.js";
|
|
5
|
-
import { _ as Qe
|
|
5
|
+
import { _ as Qe } from "./FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js";
|
|
6
|
+
import { _ as Ei } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js";
|
|
6
7
|
import { u as Ai, _ as Ri } from "./usePagination-BeF5K3M7.js";
|
|
7
|
-
import { d as he, e as Oi } from "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { g as Ci, S as Ii, b as Ti } from "./index-
|
|
8
|
+
import { d as he, e as Oi } from "./index-fxGxOKSf.js";
|
|
9
|
+
import "./index-DXsJh2qk.js";
|
|
10
|
+
import "./index-DxkyGhLq.js";
|
|
11
|
+
import "./index-CZh5_4r2.js";
|
|
12
|
+
import "./index-C_uA0tpL.js";
|
|
13
|
+
import { g as Ci, S as Ii, b as Ti } from "./index-JDYQ7e_j.js";
|
|
13
14
|
import { o as Mi } from "./objectId-dwaoBfJX.js";
|
|
14
|
-
import { u as Di } from "./vue-i18n-
|
|
15
|
+
import { u as Di } from "./vue-i18n-bLo1ykBN.js";
|
|
15
16
|
var Li = "2.0.3", Fe = 500, Ze = "user-agent", ie = "", ei = "?", ke = "function", N = "undefined", te = "object", Ve = "string", E = "browser", M = "cpu", T = "device", C = "engine", O = "os", Z = "result", r = "name", e = "type", o = "vendor", a = "version", A = "architecture", pe = "major", i = "model", be = "console", w = "mobile", g = "tablet", k = "smarttv", I = "wearable", Ae = "xr", me = "embedded", se = "inapp", Ge = "brands", W = "formFactors", Ye = "fullVersionList", ee = "platform", je = "platformVersion", Se = "bitness", B = "sec-ch-ua", Ui = B + "-full-version-list", Hi = B + "-arch", qi = B + "-" + Se, Pi = B + "-form-factors", Fi = B + "-" + w, Vi = B + "-" + i, fi = B + "-" + ee, Ni = fi + "-version", hi = [Ge, Ye, w, i, ee, je, A, W, Se], ge = "Amazon", X = "Apple", ii = "ASUS", ti = "BlackBerry", j = "Google", oi = "Huawei", ri = "Lenovo", ai = "Honor", ve = "LG", Re = "Microsoft", Oe = "Motorola", Ce = "Nvidia", si = "OnePlus", Ie = "OPPO", ne = "Samsung", ni = "Sharp", le = "Sony", Te = "Xiaomi", Me = "Zebra", li = "Chrome", di = "Chromium", H = "Chromecast", Bi = "Edge", de = "Firefox", ue = "Opera", De = "Facebook", ui = "Sogou", K = "Mobile ", ce = " Browser", Ne = "Windows", zi = typeof window !== N, R = zi && window.navigator ? window.navigator : void 0, F = R && R.userAgentData ? R.userAgentData : void 0, $i = function(t, n) {
|
|
16
17
|
var s = {}, m = n;
|
|
17
18
|
if (!_e(n)) {
|
|
@@ -1863,7 +1864,7 @@ const Yi = { class: "space-y-16" }, ji = { class: "fm-typo-en-body-md-400 text-f
|
|
|
1863
1864
|
]);
|
|
1864
1865
|
};
|
|
1865
1866
|
}
|
|
1866
|
-
}), ct = { class: "px-24 flex flex-col gap-y-32 pb-24" },
|
|
1867
|
+
}), ct = { class: "px-24 flex flex-col gap-y-32 pb-24" }, Rt = /* @__PURE__ */ ze({
|
|
1867
1868
|
__name: "AuditLogs",
|
|
1868
1869
|
setup(t) {
|
|
1869
1870
|
const { t: n } = Di();
|
|
@@ -1881,5 +1882,5 @@ const Yi = { class: "space-y-16" }, ji = { class: "fm-typo-en-body-md-400 text-f
|
|
|
1881
1882
|
}
|
|
1882
1883
|
});
|
|
1883
1884
|
export {
|
|
1884
|
-
|
|
1885
|
+
Rt as default
|
|
1885
1886
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as C, ref as c, h as s, onMounted as x, resolveComponent as d, openBlock as S, createElementBlock as B, Fragment as M, createVNode as l, unref as o, createElementVNode as u } from "vue";
|
|
2
2
|
import { components as p } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as K } from "./loading
|
|
4
|
-
import { u as R } from "./business-
|
|
5
|
-
import { C as A } from "./campaign-
|
|
6
|
-
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as K } from "./loading-LKg7ETnZ.js";
|
|
4
|
+
import { u as R } from "./business-BMaADexo.js";
|
|
5
|
+
import { C as A } from "./campaign-C8fB-bPD.js";
|
|
6
|
+
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bg5H5bLD.js";
|
|
7
7
|
import { _ as U } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
8
|
-
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as D } from "./vue-i18n-
|
|
8
|
+
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-CpHvvfH0.js";
|
|
9
|
+
import { u as D } from "./vue-i18n-bLo1ykBN.js";
|
|
10
10
|
import { h as E } from "./moment-BWErdI6_.js";
|
|
11
|
-
import { p as I } from "./plugins-
|
|
12
|
-
import { c as g } from "./index-
|
|
11
|
+
import { p as I } from "./plugins-Du32AI_-.js";
|
|
12
|
+
import { c as g } from "./index-CTnXuOHy.js";
|
|
13
13
|
const T = { class: "px-24 flex flex-col gap-y-16" }, $ = { class: "flex items-center justify-between w-full" }, j = { class: "flex gap-8 overflow-x-auto" }, oe = /* @__PURE__ */ C({
|
|
14
14
|
__name: "Bin",
|
|
15
15
|
setup(H) {
|
|
@@ -1,25 +1,25 @@
|
|
|
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 { p as W } from "./plugins-
|
|
5
|
-
import { u as X } from "./loading
|
|
6
|
-
import { u as Y } from "./business-
|
|
7
|
-
import { u as Z } from "./campaign-
|
|
8
|
-
import {
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as
|
|
13
|
-
import { c as _ } from "./index-
|
|
14
|
-
const
|
|
4
|
+
import { p as W } from "./plugins-Du32AI_-.js";
|
|
5
|
+
import { u as X } from "./loading-LKg7ETnZ.js";
|
|
6
|
+
import { u as Y } from "./business-BMaADexo.js";
|
|
7
|
+
import { u as Z } from "./campaign-Cy1er8EV.js";
|
|
8
|
+
import { a as B, b as A, g as ee } from "./campaign-C8fB-bPD.js";
|
|
9
|
+
import { u as te } from "./vue-i18n-bLo1ykBN.js";
|
|
10
|
+
import { _ as ae } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
11
|
+
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bg5H5bLD.js";
|
|
12
|
+
import { u as ne } from "./template-DcEa3i5E.js";
|
|
13
|
+
import { c as _ } from "./index-CTnXuOHy.js";
|
|
14
|
+
const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, ie = { class: "flex gap-8 overflow-x-auto" }, re = { class: "space-y-8" }, le = { class: "flex w-full gap-4 items-center" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "space-y-4" }, pe = { class: "fm-typo-en-body-lg-600" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = { key: 0 }, ge = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ N({
|
|
15
15
|
__name: "Broadcast",
|
|
16
|
-
setup(
|
|
17
|
-
const { t: s } =
|
|
16
|
+
setup(be) {
|
|
17
|
+
const { t: s } = te(), V = {
|
|
18
18
|
label: s("connect.campaign.common.createCampaign"),
|
|
19
19
|
value: "create",
|
|
20
20
|
isPrimary: !0,
|
|
21
21
|
prependIcon: "add"
|
|
22
|
-
}, D =
|
|
22
|
+
}, D = ne("BROADCAST", J()), R = Y(), m = Z(), { global: L, minor: C } = X, T = h((/* @__PURE__ */ new Date()).toISOString()), c = h({
|
|
23
23
|
searchKey: "",
|
|
24
24
|
location: null
|
|
25
25
|
}), f = U(
|
|
@@ -33,6 +33,7 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
header: "Status",
|
|
36
|
+
accessorFn: (e) => ee(e),
|
|
36
37
|
cell(e) {
|
|
37
38
|
return B(e.row.original);
|
|
38
39
|
}
|
|
@@ -52,17 +53,17 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
52
53
|
variant: "tertiary",
|
|
53
54
|
icon: "delete",
|
|
54
55
|
iconColor: "neutral-gray-400",
|
|
55
|
-
onClick: (
|
|
56
|
-
|
|
56
|
+
onClick: (a) => {
|
|
57
|
+
a.stopPropagation(), S(e.row.original);
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
|
-
],
|
|
62
|
+
], x = h();
|
|
62
63
|
async function S(e) {
|
|
63
64
|
await W.remove(
|
|
64
65
|
s("campaign.common.remove.confirm", { name: e.name })
|
|
65
|
-
) && await
|
|
66
|
+
) && await C(
|
|
66
67
|
async () => {
|
|
67
68
|
await _.delete(e._id), await m.read("BROADCAST");
|
|
68
69
|
},
|
|
@@ -73,12 +74,12 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
73
74
|
);
|
|
74
75
|
}
|
|
75
76
|
async function g(e) {
|
|
76
|
-
T.value = (/* @__PURE__ */ new Date()).toISOString(), e ? await
|
|
77
|
-
await
|
|
77
|
+
T.value = (/* @__PURE__ */ new Date()).toISOString(), e ? await a() : D.open(async (p) => {
|
|
78
|
+
await a(p);
|
|
78
79
|
});
|
|
79
|
-
async function
|
|
80
|
+
async function a(p) {
|
|
80
81
|
var u;
|
|
81
|
-
(u =
|
|
82
|
+
(u = x.value) == null || u.showSheet(
|
|
82
83
|
!0,
|
|
83
84
|
"BROADCAST",
|
|
84
85
|
e ? await _.readById(e._id) : void 0,
|
|
@@ -87,7 +88,7 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
async function K(e) {
|
|
90
|
-
await
|
|
91
|
+
await C(
|
|
91
92
|
async () => {
|
|
92
93
|
e.campaign._id ? await _.update(e.campaign._id, e) : await _.create(e), await m.read("BROADCAST");
|
|
93
94
|
},
|
|
@@ -105,28 +106,28 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
105
106
|
await L(async () => {
|
|
106
107
|
await m.read("BROADCAST");
|
|
107
108
|
});
|
|
108
|
-
}), (e,
|
|
109
|
+
}), (e, a) => {
|
|
109
110
|
const p = r("FmPageHead"), u = r("FmSearch"), O = r("FmTable"), F = r("FmButton"), $ = r("FmListItem"), P = r("FmList"), M = r("FmCard");
|
|
110
111
|
return l(), y(b, null, [
|
|
111
112
|
i(p, {
|
|
112
113
|
title: t(s)("connect.campaign.broadcast.title"),
|
|
113
114
|
actions: t(f).length > 0 ? [V] : [],
|
|
114
|
-
"onClick:action":
|
|
115
|
+
"onClick:action": a[0] || (a[0] = () => g())
|
|
115
116
|
}, null, 8, ["title", "actions"]),
|
|
116
|
-
n("div",
|
|
117
|
+
n("div", se, [
|
|
117
118
|
i(u, {
|
|
118
119
|
modelValue: t(c).searchKey,
|
|
119
|
-
"onUpdate:modelValue":
|
|
120
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => t(c).searchKey = o),
|
|
120
121
|
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
121
122
|
placeholder: t(s)("connect.campaign.common.search"),
|
|
122
123
|
collapsible: ""
|
|
123
124
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
124
125
|
t(m).campaigns.broadcast && t(m).campaigns.broadcast.length > 0 ? (l(), y(b, { key: 0 }, [
|
|
125
|
-
n("div",
|
|
126
|
-
n("div",
|
|
127
|
-
i(
|
|
126
|
+
n("div", ce, [
|
|
127
|
+
n("div", ie, [
|
|
128
|
+
i(ae, {
|
|
128
129
|
modelValue: t(c).location,
|
|
129
|
-
"onUpdate:modelValue":
|
|
130
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => t(c).location = o),
|
|
130
131
|
label: `${t(s)("connect.campaign.common.location")}: `,
|
|
131
132
|
"show-item-label": !0,
|
|
132
133
|
icon: "storefront",
|
|
@@ -136,7 +137,7 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
136
137
|
]),
|
|
137
138
|
i(u, {
|
|
138
139
|
modelValue: t(c).searchKey,
|
|
139
|
-
"onUpdate:modelValue":
|
|
140
|
+
"onUpdate:modelValue": a[3] || (a[3] = (o) => t(c).searchKey = o),
|
|
140
141
|
class: "xs:hidden",
|
|
141
142
|
placeholder: "search",
|
|
142
143
|
collapsible: ""
|
|
@@ -148,34 +149,34 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
148
149
|
"column-defs": I,
|
|
149
150
|
"search-value": t(c).searchKey,
|
|
150
151
|
"column-filter": [],
|
|
151
|
-
onRowClick:
|
|
152
|
+
onRowClick: a[4] || (a[4] = (o) => g(o.original)),
|
|
152
153
|
"hide-footer": !0
|
|
153
154
|
}, null, 8, ["row-data", "search-value"]),
|
|
154
155
|
i(P, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
155
156
|
default: v(() => [
|
|
156
157
|
(l(!0), y(b, null, E(t(f).filter(
|
|
157
|
-
(
|
|
158
|
-
), (
|
|
159
|
-
key:
|
|
160
|
-
onClick: (k) => g(
|
|
158
|
+
(o) => o.name.toLowerCase().includes(t(c).searchKey.toLowerCase())
|
|
159
|
+
), (o) => (l(), w($, {
|
|
160
|
+
key: o._id.toString(),
|
|
161
|
+
onClick: (k) => g(o),
|
|
161
162
|
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
162
163
|
}, {
|
|
163
164
|
default: v(() => [
|
|
164
|
-
n("div",
|
|
165
|
-
n("div",
|
|
166
|
-
(l(), w(H(t(B)(
|
|
167
|
-
n("div",
|
|
165
|
+
n("div", re, [
|
|
166
|
+
n("div", le, [
|
|
167
|
+
(l(), w(H(t(B)(o)))),
|
|
168
|
+
n("div", me, d(o.currentReceive ?? 0) + " sent ", 1)
|
|
168
169
|
]),
|
|
169
|
-
n("div",
|
|
170
|
-
n("div",
|
|
171
|
-
n("div",
|
|
170
|
+
n("div", de, [
|
|
171
|
+
n("div", pe, d(o.name), 1),
|
|
172
|
+
n("div", ue, d(t(A)(o)), 1)
|
|
172
173
|
])
|
|
173
174
|
]),
|
|
174
175
|
i(F, {
|
|
175
176
|
icon: "delete",
|
|
176
177
|
"icon-color": "neutral-gray-400",
|
|
177
178
|
variant: "tertiary",
|
|
178
|
-
onClick: (k) => (k.stopPropagation(), S(
|
|
179
|
+
onClick: (k) => (k.stopPropagation(), S(o))
|
|
179
180
|
}, null, 8, ["onClick"])
|
|
180
181
|
]),
|
|
181
182
|
_: 2
|
|
@@ -183,8 +184,8 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
183
184
|
]),
|
|
184
185
|
_: 1
|
|
185
186
|
}),
|
|
186
|
-
t(f).length == 0 ? (l(), y("div",
|
|
187
|
-
n("div",
|
|
187
|
+
t(f).length == 0 ? (l(), y("div", fe, [
|
|
188
|
+
n("div", ge, d(t(s)("connect.campaign.common.noResults")), 1)
|
|
188
189
|
])) : q("", !0)
|
|
189
190
|
], 64)) : (l(), w(M, {
|
|
190
191
|
key: 1,
|
|
@@ -192,26 +193,26 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
192
193
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
193
194
|
}, {
|
|
194
195
|
default: v(() => [
|
|
195
|
-
|
|
196
|
+
a[6] || (a[6] = n("img", {
|
|
196
197
|
src: G,
|
|
197
198
|
class: "aspect-square w-[150px]"
|
|
198
199
|
}, null, -1)),
|
|
199
|
-
n("div",
|
|
200
|
-
n("div",
|
|
201
|
-
n("div",
|
|
200
|
+
n("div", ye, [
|
|
201
|
+
n("div", _e, d(t(s)("connect.campaign.broadcast.create.title")), 1),
|
|
202
|
+
n("div", he, d(t(s)("connect.campaign.broadcast.create.description")), 1)
|
|
202
203
|
]),
|
|
203
204
|
i(F, {
|
|
204
205
|
variant: "primary",
|
|
205
206
|
label: t(s)("connect.campaign.broadcast.create.button"),
|
|
206
207
|
icon: "add",
|
|
207
|
-
onClick:
|
|
208
|
+
onClick: a[5] || (a[5] = (o) => g())
|
|
208
209
|
}, null, 8, ["label"])
|
|
209
210
|
]),
|
|
210
211
|
_: 1
|
|
211
212
|
})),
|
|
212
213
|
i(oe, {
|
|
213
214
|
ref_key: "sheetRef",
|
|
214
|
-
ref:
|
|
215
|
+
ref: x,
|
|
215
216
|
"onSubmit:modelValue": K
|
|
216
217
|
}, null, 512)
|
|
217
218
|
])
|
|
@@ -220,5 +221,5 @@ const ne = { class: "px-24 flex flex-col gap-y-16" }, se = { class: "flex items-
|
|
|
220
221
|
}
|
|
221
222
|
});
|
|
222
223
|
export {
|
|
223
|
-
|
|
224
|
+
Te as default
|
|
224
225
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as RuleOperator, _ } from "./index-
|
|
2
|
-
import { i as isRuleGroup } from "./rule-builder-
|
|
1
|
+
import { R as RuleOperator, _ } from "./index-DxkyGhLq.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-CrturC5Q.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-
|
|
5
|
+
import "./index-fxGxOKSf.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-DXsJh2qk.js";
|
|
7
|
+
import "./index-CZh5_4r2.js";
|
|
8
|
+
import "./index-C_uA0tpL.js";
|
|
9
9
|
function validateRule(data, r, date) {
|
|
10
10
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
11
11
|
function meetConditions(e) {
|
|
@@ -2,27 +2,27 @@ import { defineComponent as Z, ref as y, computed as E, watch as ce, onMounted a
|
|
|
2
2
|
import { _ as be } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { h as ne } from "./moment-BWErdI6_.js";
|
|
4
4
|
import { useDialog as ge, components as oe } from "@feedmepos/ui-library";
|
|
5
|
-
import { p as de, f as se, n as ve } from "./plugins-
|
|
6
|
-
import { u as J } from "./loading
|
|
5
|
+
import { p as de, f as se, n as ve } from "./plugins-Du32AI_-.js";
|
|
6
|
+
import { u as J } from "./loading-LKg7ETnZ.js";
|
|
7
7
|
import { u as ue } from "./app-wDQR6dpb.js";
|
|
8
|
-
import { u as W } from "./membership-
|
|
8
|
+
import { u as W } from "./membership-Ce1306Ft.js";
|
|
9
9
|
import { _ as Q } from "./CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js";
|
|
10
|
-
import { m as L } from "./index-
|
|
11
|
-
import { z as ye } from "./app-
|
|
10
|
+
import { m as L } from "./index-DvVCTYVh.js";
|
|
11
|
+
import { z as ye } from "./app-DTlg8MKp.js";
|
|
12
12
|
import { Z as xe } from "./zod-Bg2FbC-D.js";
|
|
13
13
|
import { _ as ie } from "./ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js";
|
|
14
|
-
import "./index-
|
|
15
|
-
import { h as Ce } from "./index-
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import { O as Se } from "./objectid-
|
|
14
|
+
import "./index-fxGxOKSf.js";
|
|
15
|
+
import { h as Ce } from "./index-DXsJh2qk.js";
|
|
16
|
+
import "./index-DxkyGhLq.js";
|
|
17
|
+
import "./index-CZh5_4r2.js";
|
|
18
|
+
import "./index-C_uA0tpL.js";
|
|
19
|
+
import { O as Se } from "./objectid-CPbhwwne.js";
|
|
20
20
|
import { a as _e, c as he } from "./object-qECH92oz.js";
|
|
21
|
-
import { u as we } from "./business-
|
|
22
|
-
import { w as ke } from "./xlsx-
|
|
23
|
-
import { a as Fe, C as Ve } from "./export-
|
|
21
|
+
import { u as we } from "./business-BMaADexo.js";
|
|
22
|
+
import { w as ke } from "./xlsx-BUKrzqzV.js";
|
|
23
|
+
import { a as Fe, C as Ve } from "./export-BANYPH3S.js";
|
|
24
24
|
import { u as $e, _ as Me } from "./usePagination-BeF5K3M7.js";
|
|
25
|
-
import { u as Be } from "./vue-i18n-
|
|
25
|
+
import { u as Be } from "./vue-i18n-bLo1ykBN.js";
|
|
26
26
|
import { o as Ue } from "./objectId-dwaoBfJX.js";
|
|
27
27
|
const De = { class: "space-y-16" }, Ae = { class: "gap-16 grid grid-cols-2" }, Ne = { class: "space-y-16" }, Pe = {
|
|
28
28
|
key: 0,
|