@feedmepos/mf-connect 0.0.16-beta.16 → 0.0.16-beta.18
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-bLizLbJa.js → Analytic-CtN1ps0b.js} +9 -9
- package/dist/{App-Ds7CQc12.js → App-DKcnHxTS.js} +43 -43
- package/dist/{Broadcast-B5Mg-uve.js → Broadcast-DkE7uG6w.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D3dhzlYF.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-jo4EHIFY.js} +8 -8
- package/dist/{Card-CgZQnEp0.js → Card-D4EG52dB.js} +83 -83
- package/dist/{Collections-ByuAY_DC.js → Collections-UGss4GAR.js} +4 -4
- package/dist/{Credit-DIYIylxA.js → Credit-Dd1JsMo6.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BOsLG0Eo.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-LgbV1nrN.js} +22 -22
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DoWhCxMM.js → EffectSheet.vue_vue_type_style_index_0_lang-jLSHHA60.js} +5 -5
- package/dist/{Experience-jY58vCoP.js → Experience-CS8rkZVz.js} +8 -8
- package/dist/{Game-DA5L8V6j.js → Game-BYDcOLN5.js} +8 -8
- package/dist/{Marketing-eIz4iGsy.js → Marketing-DawHHNls.js} +5 -5
- package/dist/{Member-DH9DEHRX.js → Member-A8lqZqM-.js} +4 -4
- package/dist/{MemberList-CMIXdSgs.js → MemberList-pFJ8pkGT.js} +13 -13
- package/dist/{MemberTransactions-7-iQ_cAu.js → MemberTransactions-BHcjOX9D.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-MP4mEA9t.js → MessageInput.vue_vue_type_script_setup_true_lang-COKCmuxZ.js} +2 -2
- package/dist/{Mission-Coa_hN6d.js → Mission-DWG2P4h7.js} +8 -8
- package/dist/{Point-CSlYPQXh.js → Point-BrH5ER6r.js} +8 -8
- package/dist/{Promotion-z1v93j2v.js → Promotion-pYH0Y-AT.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-gzMPpCaM.js → RuleGroup.vue_vue_type_script_setup_true_lang-Dknliw4I.js} +14 -14
- package/dist/{Segment-Al61bHYD.js → Segment-iKbRNJG8.js} +8 -8
- package/dist/{Setting-K6eahN7Y.js → Setting-v_jxhVto.js} +8 -8
- package/dist/{Store-DZv8Iguk.js → Store-DNzvDrO_.js} +12 -12
- package/dist/{StoreRewards-CxeLRjwp.js → StoreRewards-DORuRLq5.js} +11 -11
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Bt6NwaZh.js +818 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DkfJijAI.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CbESCb0m.js} +1 -1
- package/dist/{Tier-BqApC3pq.js → Tier-DuEHtj5H.js} +14 -14
- package/dist/{Title-Caq8OXfR.js → Title-L_ufD4R-.js} +14 -14
- package/dist/{Transaction-BvlF1azu.js → Transaction-BBnIdaq3.js} +2 -2
- package/dist/{Voucher-CXOjQhZj.js → Voucher-DsbOHqro.js} +11 -11
- package/dist/{app-Bm5Jq5v0.js → app-DdvtKR5x.js} +1 -1
- package/dist/{app-DeWid7Tl.js → app-Dga5LDlm.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/{business-Fy1TH_4l.js → business-DysOxSOF.js} +1 -1
- package/dist/{campaign-D1xpuZuL.js → campaign-C7Jfgz0z.js} +2 -2
- package/dist/{collection.fn-ClUU74TS.js → collection.fn-CT96I68c.js} +2 -2
- package/dist/{dto-LHzgwiGa.js → dto-YB2yK041.js} +124 -124
- package/dist/{effect-yGgbWnDg.js → effect-DAtZ4nZd.js} +1 -1
- package/dist/{export-DhsfFfY2.js → export-BlF7Uosa.js} +3 -3
- package/dist/{helper-Bux3pQOn.js → helper-C7uMyPCu.js} +1 -1
- package/dist/{index-BGpLHO9A.js → index--dBBYlzV.js} +1 -1
- package/dist/{index-Bn4XQbxl.js → index-B7OG8RlU.js} +1 -1
- package/dist/{index-Bqaj48b1.js → index-C1Ub1gL9.js} +3 -3
- package/dist/{index-BIyOsBh2.js → index-CDjJ2_Lg.js} +2 -2
- package/dist/{index-DOuM3gj5.js → index-CLvnKGzB.js} +2 -2
- package/dist/{index-B673OjWB.js → index-CMgf-95s.js} +6 -5
- package/dist/{index-DmhSJMOI.js → index-Cb3it1dc.js} +3 -3
- package/dist/{index-DQuLzu9p.js → index-DDE4VEHY.js} +1 -1
- package/dist/{index-CzeHKjyw.js → index-DeAOKs2f.js} +1 -1
- package/dist/{index-BMTJaXOh.js → index-Dto3eeso.js} +1 -1
- package/dist/{index-JKtwv4CK.js → index-HCGqlt2c.js} +21 -6
- package/dist/{index-BpvStEh1.js → index-ot-U556x.js} +1 -1
- package/dist/{index.esm2017-loatrfCL.js → index.esm2017-CLz5E_oP.js} +1 -1
- package/dist/{loading-C_-Tqxyl.js → loading-DYp1_Ob9.js} +4 -4
- package/dist/{membership-Kdzaj6qq.js → membership-B9ZVj57H.js} +3 -3
- package/dist/{money-CwE68qJA.js → money-BlZOfl2m.js} +1 -1
- package/dist/{number-CiFKdycE.js → number-B8hMhTnS.js} +1 -1
- package/dist/{rule-BoYiMCxm.js → rule-BkvUiOIs.js} +2 -2
- package/dist/{rule-builder-CSPbn4Du.js → rule-builder-DL25yQPg.js} +1 -1
- package/dist/{template-Lql9BEp7.js → template-CTxeYj_L.js} +4 -4
- package/dist/{vue-i18n-D8eFv8xb.js → vue-i18n-ofAhdlHM.js} +333 -333
- package/dist/{xlsx-Q-Uj-BEy.js → xlsx-CuAwZc2m.js} +1 -1
- package/package.json +1 -1
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BCh6NZyD.js +0 -795
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as D, openBlock as r, createElementBlock as R, Fragment as x, renderList as C, createElementVNode as e, toDisplayString as w, createCommentVNode as h, resolveComponent as X, createBlock as j, withCtx as T, createVNode as F, unref as o, ref as v, computed as O, onMounted as Z, watch as eo, isRef as Q, createSlots as io, createTextVNode as to, reactive as ao, onBeforeMount as ro, normalizeClass as G } from "vue";
|
|
2
2
|
import { _ as Ko } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { f as no } from "./number-
|
|
4
|
-
import { C as Ao, F as Uo, a as lo } from "./dto-
|
|
3
|
+
import { f as no } from "./number-B8hMhTnS.js";
|
|
4
|
+
import { C as Ao, F as Uo, a as lo } from "./dto-YB2yK041.js";
|
|
5
5
|
import { useRouter as $ } from "vue-router";
|
|
6
|
-
import { c as N } from "./index-
|
|
6
|
+
import { c as N } from "./index-DDE4VEHY.js";
|
|
7
7
|
import { _ as Fo } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js";
|
|
8
8
|
import { Z as so } from "./zod-W_PvIofQ.js";
|
|
9
9
|
import { J as po } from "./JsonViewer-v8_C7l5N.js";
|
|
10
|
-
import { u as co } from "./loading-
|
|
10
|
+
import { u as co } from "./loading-DYp1_Ob9.js";
|
|
11
11
|
import { useSnackbar as Ro } from "@feedmepos/ui-library";
|
|
12
12
|
import { u as uo } from "./app-wDQR6dpb.js";
|
|
13
13
|
import { g as mo } from "./object-qECH92oz.js";
|
|
14
|
-
import { u as fo } from "./campaign-
|
|
15
|
-
import { u as Vo } from "./membership-
|
|
16
|
-
import { u as qo } from "./vue-i18n-
|
|
17
|
-
import { r as vo } from "./index-
|
|
18
|
-
import { m as Po } from "./index-
|
|
14
|
+
import { u as fo } from "./campaign-C7Jfgz0z.js";
|
|
15
|
+
import { u as Vo } from "./membership-B9ZVj57H.js";
|
|
16
|
+
import { u as qo } from "./vue-i18n-ofAhdlHM.js";
|
|
17
|
+
import { r as vo } from "./index-C1Ub1gL9.js";
|
|
18
|
+
import { m as Po } from "./index-B7OG8RlU.js";
|
|
19
19
|
const Xo = { class: "divide-x flex flex-wrap" }, yo = { class: "fm-typo-en-body-md-400 mb-2 text-fm-color-typo-secondary" }, So = { class: "fm-typo-en-title-sm-800" }, zo = /* @__PURE__ */ D({
|
|
20
20
|
__name: "CampaignStat",
|
|
21
21
|
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-DysOxSOF.js";
|
|
6
|
+
import "./index-Dto3eeso.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-ofAhdlHM.js";
|
|
9
|
+
import { R as f } from "./app-Dga5LDlm.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 be, e as gn, f as pt, h as _n, j as vn, k as mt, l as
|
|
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 be, 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 Sn } from "./index.esm2017-CLz5E_oP.js";
|
|
12
12
|
import { _ as Pe } from "./tslib.es6-BCqqvLQ_.js";
|
|
13
|
-
import { S as Be } from "./index-
|
|
13
|
+
import { S as Be } from "./index-C1Ub1gL9.js";
|
|
14
14
|
const bn = /* @__PURE__ */ lt({
|
|
15
15
|
__name: "NavigationTab",
|
|
16
16
|
setup(n) {
|
|
@@ -1105,7 +1105,7 @@ class E {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
static _fromJSON(e, t) {
|
|
1107
1107
|
var i, r, s, o, c, a, l, d;
|
|
1108
|
-
const h = (i = t.displayName) !== null && i !== void 0 ? i : void 0,
|
|
1108
|
+
const h = (i = t.displayName) !== null && i !== void 0 ? i : void 0, _ = (r = t.email) !== null && r !== void 0 ? r : void 0, F = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, M = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, p = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, m = (a = t._redirectEventId) !== null && a !== void 0 ? a : void 0, v = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, x = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: _e, emailVerified: De, isAnonymous: Fe, providerData: ve, stsTokenManager: xe } = t;
|
|
1109
1109
|
u(
|
|
1110
1110
|
_e && xe,
|
|
1111
1111
|
e,
|
|
@@ -1118,7 +1118,7 @@ class E {
|
|
|
1118
1118
|
e,
|
|
1119
1119
|
"internal-error"
|
|
1120
1120
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
1121
|
-
), R(h, e.name), R(
|
|
1121
|
+
), R(h, e.name), R(_, e.name), u(
|
|
1122
1122
|
typeof De == "boolean",
|
|
1123
1123
|
e,
|
|
1124
1124
|
"internal-error"
|
|
@@ -1128,11 +1128,11 @@ class E {
|
|
|
1128
1128
|
e,
|
|
1129
1129
|
"internal-error"
|
|
1130
1130
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
1131
|
-
), R(F, e.name), R(M, e.name), R(p, e.name), R(
|
|
1131
|
+
), R(F, e.name), R(M, e.name), R(p, e.name), R(m, e.name), R(v, e.name), R(x, e.name);
|
|
1132
1132
|
const Ie = new E({
|
|
1133
1133
|
uid: _e,
|
|
1134
1134
|
auth: e,
|
|
1135
|
-
email:
|
|
1135
|
+
email: _,
|
|
1136
1136
|
emailVerified: De,
|
|
1137
1137
|
displayName: h,
|
|
1138
1138
|
isAnonymous: Fe,
|
|
@@ -1143,7 +1143,7 @@ class E {
|
|
|
1143
1143
|
createdAt: v,
|
|
1144
1144
|
lastLoginAt: x
|
|
1145
1145
|
});
|
|
1146
|
-
return ve && Array.isArray(ve) && (Ie.providerData = ve.map((Jt) => Object.assign({}, Jt))),
|
|
1146
|
+
return ve && Array.isArray(ve) && (Ie.providerData = ve.map((Jt) => Object.assign({}, Jt))), m && (Ie._redirectEventId = m), Ie;
|
|
1147
1147
|
}
|
|
1148
1148
|
/**
|
|
1149
1149
|
* Initialize a User from an idToken server response
|
|
@@ -1382,39 +1382,39 @@ function Ye(n) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return "Other";
|
|
1384
1384
|
}
|
|
1385
|
-
function bt(n =
|
|
1385
|
+
function bt(n = g()) {
|
|
1386
1386
|
return /firefox\//i.test(n);
|
|
1387
1387
|
}
|
|
1388
|
-
function Ne(n =
|
|
1388
|
+
function Ne(n = g()) {
|
|
1389
1389
|
const e = n.toLowerCase();
|
|
1390
1390
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
|
1391
1391
|
}
|
|
1392
|
-
function Rt(n =
|
|
1392
|
+
function Rt(n = g()) {
|
|
1393
1393
|
return /crios\//i.test(n);
|
|
1394
1394
|
}
|
|
1395
|
-
function Pt(n =
|
|
1395
|
+
function Pt(n = g()) {
|
|
1396
1396
|
return /iemobile/i.test(n);
|
|
1397
1397
|
}
|
|
1398
|
-
function At(n =
|
|
1398
|
+
function At(n = g()) {
|
|
1399
1399
|
return /android/i.test(n);
|
|
1400
1400
|
}
|
|
1401
|
-
function Ct(n =
|
|
1401
|
+
function Ct(n = g()) {
|
|
1402
1402
|
return /blackberry/i.test(n);
|
|
1403
1403
|
}
|
|
1404
|
-
function Ot(n =
|
|
1404
|
+
function Ot(n = g()) {
|
|
1405
1405
|
return /webos/i.test(n);
|
|
1406
1406
|
}
|
|
1407
|
-
function fe(n =
|
|
1407
|
+
function fe(n = g()) {
|
|
1408
1408
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
|
1409
1409
|
}
|
|
1410
|
-
function Bn(n =
|
|
1410
|
+
function Bn(n = g()) {
|
|
1411
1411
|
var e;
|
|
1412
1412
|
return fe(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
|
1413
1413
|
}
|
|
1414
1414
|
function qn() {
|
|
1415
1415
|
return wn() && document.documentMode === 10;
|
|
1416
1416
|
}
|
|
1417
|
-
function Nt(n =
|
|
1417
|
+
function Nt(n = g()) {
|
|
1418
1418
|
return fe(n) || At(n) || Ot(n) || Ct(n) || /windows phone/i.test(n) || Pt(n);
|
|
1419
1419
|
}
|
|
1420
1420
|
function zn() {
|
|
@@ -1444,10 +1444,10 @@ function Lt(n, e = []) {
|
|
|
1444
1444
|
let t;
|
|
1445
1445
|
switch (n) {
|
|
1446
1446
|
case "Browser":
|
|
1447
|
-
t = Ye(
|
|
1447
|
+
t = Ye(g());
|
|
1448
1448
|
break;
|
|
1449
1449
|
case "Worker":
|
|
1450
|
-
t = `${Ye(
|
|
1450
|
+
t = `${Ye(g())}-${n}`;
|
|
1451
1451
|
break;
|
|
1452
1452
|
default:
|
|
1453
1453
|
t = n;
|
|
@@ -2886,7 +2886,7 @@ class xt {
|
|
|
2886
2886
|
* limitations under the License.
|
|
2887
2887
|
*/
|
|
2888
2888
|
function gi() {
|
|
2889
|
-
const n =
|
|
2889
|
+
const n = g();
|
|
2890
2890
|
return Ne(n) || fe(n);
|
|
2891
2891
|
}
|
|
2892
2892
|
const _i = 1e3, vi = 10;
|
|
@@ -3206,9 +3206,9 @@ class wi {
|
|
|
3206
3206
|
o = {
|
|
3207
3207
|
messageChannel: r,
|
|
3208
3208
|
onMessage(h) {
|
|
3209
|
-
const
|
|
3210
|
-
if (
|
|
3211
|
-
switch (
|
|
3209
|
+
const _ = h;
|
|
3210
|
+
if (_.data.eventId === l)
|
|
3211
|
+
switch (_.data.status) {
|
|
3212
3212
|
case "ack":
|
|
3213
3213
|
clearTimeout(d), s = setTimeout(
|
|
3214
3214
|
() => {
|
|
@@ -3222,7 +3222,7 @@ class wi {
|
|
|
3222
3222
|
);
|
|
3223
3223
|
break;
|
|
3224
3224
|
case "done":
|
|
3225
|
-
clearTimeout(s), c(
|
|
3225
|
+
clearTimeout(s), c(_.data.response);
|
|
3226
3226
|
break;
|
|
3227
3227
|
default:
|
|
3228
3228
|
clearTimeout(d), clearTimeout(s), a(new Error(
|
|
@@ -4194,9 +4194,9 @@ function fr(n, e, t, i = lr, r = ur) {
|
|
|
4194
4194
|
height: r.toString(),
|
|
4195
4195
|
top: s,
|
|
4196
4196
|
left: o
|
|
4197
|
-
}), l =
|
|
4197
|
+
}), l = g().toLowerCase();
|
|
4198
4198
|
t && (c = Rt(l) ? dr : t), bt(l) && (e = e || hr, a.scrollbars = "yes");
|
|
4199
|
-
const d = Object.entries(a).reduce((
|
|
4199
|
+
const d = Object.entries(a).reduce((_, [F, M]) => `${_}${F}=${M},`, "");
|
|
4200
4200
|
if (Bn(l) && c !== "_self")
|
|
4201
4201
|
return pr(e || "", c), new rt(null);
|
|
4202
4202
|
const h = window.open(e || "", c, d);
|
|
@@ -4563,44 +4563,44 @@ const Or = {
|
|
|
4563
4563
|
}, Nr = ["src"], qr = /* @__PURE__ */ lt({
|
|
4564
4564
|
__name: "App",
|
|
4565
4565
|
setup(n) {
|
|
4566
|
-
const e = We(), t = on(), i = an(), r = cn(), s = ln(), o = ht(), c = te(o.query.showHeader !== "false"), a = te(!1), { currentBusiness: l } = We(), d = te(!1), h = Ve(() => i.version),
|
|
4567
|
-
const p = e.currentCountry.value || "MY",
|
|
4568
|
-
return `${Cr.marketingV1Portal}/b/${v}/marketing/overview?showHeader=false&country=${p}&token=${
|
|
4566
|
+
const e = We(), t = on(), i = an(), r = cn(), s = ln(), o = ht(), c = te(o.query.showHeader !== "false"), a = te(!1), { currentBusiness: l } = We(), d = te(!1), h = Ve(() => i.version), _ = Ve(() => {
|
|
4567
|
+
const p = e.currentCountry.value || "MY", m = Be.getIdToken(), v = l.value._id;
|
|
4568
|
+
return `${Cr.marketingV1Portal}/b/${v}/marketing/overview?showHeader=false&country=${p}&token=${m}`;
|
|
4569
4569
|
});
|
|
4570
4570
|
async function F() {
|
|
4571
4571
|
if (En().length) {
|
|
4572
4572
|
console.warn("CONNECT: initFirebase: Firebase already initialized");
|
|
4573
4573
|
return;
|
|
4574
4574
|
}
|
|
4575
|
-
const p = kn(Ar.firebase),
|
|
4576
|
-
await fi(v,
|
|
4575
|
+
const p = kn(Ar.firebase), m = await sn.getCustomToken(), v = Rr();
|
|
4576
|
+
await fi(v, m), Sn(p), console.log("initFirebase", p);
|
|
4577
4577
|
}
|
|
4578
4578
|
const M = async () => {
|
|
4579
4579
|
d.value = !1, await tn(), console.log("forceRerender"), Be.setBusinessId(l.value._id), await i.readPremium(), !a.value && h.value === "v2" ? e.registerSidebarComponent(bn) : e.hideSidebarToggle(!0), await F(), a.value = !0, d.value = !0;
|
|
4580
4580
|
};
|
|
4581
4581
|
return Xt(() => {
|
|
4582
4582
|
if (t.initProvider(r, s), !c.value) {
|
|
4583
|
-
const p = document.getElementsByClassName("app-header")[0],
|
|
4584
|
-
p == null || p.classList.add("!hidden"),
|
|
4583
|
+
const p = document.getElementsByClassName("app-header")[0], m = document.getElementsByClassName("app-sidebar")[0], v = document.getElementsByClassName("app-container")[0], x = document.getElementsByTagName("main")[0];
|
|
4584
|
+
p == null || p.classList.add("!hidden"), m == null || m.classList.add("!pt-0"), v == null || v.classList.add("!pt-0"), x == null || x.classList.add("!pt-0"), e.hideSidebarToggle(!0);
|
|
4585
4585
|
}
|
|
4586
|
-
l.value != null && M();
|
|
4586
|
+
l.value != null && (console.log("App mounted, forceRerender"), M());
|
|
4587
4587
|
}), ut(
|
|
4588
4588
|
() => e.currentBusiness.value,
|
|
4589
|
-
async (p) => {
|
|
4590
|
-
p != null && M();
|
|
4589
|
+
async (p, m) => {
|
|
4590
|
+
console.log("Current business changed"), p != null && p != m && (console.log("forceRerender when business changes"), M());
|
|
4591
4591
|
}
|
|
4592
|
-
), (p,
|
|
4592
|
+
), (p, m) => (ne(), He(Qt, null, [
|
|
4593
4593
|
P(d) && P(h) === "v2" ? (ne(), dt(P(rn), { key: 0 })) : $e("", !0),
|
|
4594
4594
|
P(d) && P(h) !== "v2" ? (ne(), He("div", Or, [
|
|
4595
4595
|
Zt(dn, {
|
|
4596
|
-
json: { url: P(
|
|
4596
|
+
json: { url: P(_) }
|
|
4597
4597
|
}, null, 8, ["json"]),
|
|
4598
4598
|
en("iframe", {
|
|
4599
4599
|
allow: "clipboard-read; clipboard-write",
|
|
4600
4600
|
frameBorder: "0",
|
|
4601
4601
|
height: "100%",
|
|
4602
4602
|
width: "100%",
|
|
4603
|
-
src: P(
|
|
4603
|
+
src: P(_)
|
|
4604
4604
|
}, null, 8, Nr)
|
|
4605
4605
|
])) : $e("", !0)
|
|
4606
4606
|
], 64));
|
|
@@ -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, b as A } from "./dto-
|
|
8
|
-
import { u as ee } from "./vue-i18n-
|
|
4
|
+
import { u as W, p as X } from "./loading-DYp1_Ob9.js";
|
|
5
|
+
import { u as Y } from "./business-DysOxSOF.js";
|
|
6
|
+
import { u as Z } from "./campaign-C7Jfgz0z.js";
|
|
7
|
+
import { g as B, b as A } from "./dto-YB2yK041.js";
|
|
8
|
+
import { u as ee } from "./vue-i18n-ofAhdlHM.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-LgbV1nrN.js";
|
|
11
|
+
import { u as oe } from "./template-CTxeYj_L.js";
|
|
12
|
+
import { c as _ } from "./index-DDE4VEHY.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 = { class: "flex flex-col gap-16 text-center" }, ye = { class: "fm-typo-en-title-sm-800" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = /* @__PURE__ */ N({
|
|
14
14
|
__name: "Broadcast",
|
|
15
15
|
setup(he) {
|
|
@@ -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--dBBYlzV.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-DL25yQPg.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-CDjJ2_Lg.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-CMgf-95s.js";
|
|
7
|
+
import "./index-Cb3it1dc.js";
|
|
8
|
+
import "./index-HCGqlt2c.js";
|
|
9
|
+
import "./index-CLvnKGzB.js";
|
|
10
|
+
import "./index-ot-U556x.js";
|
|
11
11
|
function validateRule(data, r, date) {
|
|
12
12
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
13
13
|
function meetConditions(e) {
|