@feedmepos/mf-connect 0.1.103-prod → 0.1.105-beta.1
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/{App-WQh18XPc.js → App-CsGCNHBx.js} +44 -43
- package/dist/{Bin-IbjpWo35.js → Bin-CEzJQ2fp.js} +8 -8
- package/dist/{Broadcast-BijdkG1f.js → Broadcast-DinQIuUI.js} +11 -11
- package/dist/CampaignAnalytic-B9ecowKf.js +1826 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D_YHOQWW.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BfVohrMN.js} +6 -6
- package/dist/{Card-Bp8BecBk.js → Card-y413-t0y.js} +19 -19
- package/dist/{Collections-QlS-tKVT.js → Collections-BryT5ufr.js} +21 -21
- package/dist/{Credit-D77lPO5s.js → Credit-BVqcBVPd.js} +118 -93
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-B9XP8UeF.js +53 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DA6dCw8Y.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DenseCvA.js} +815 -609
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DLSOD5uV.js → EffectSheet.vue_vue_type_style_index_0_lang-CzDCUJ51.js} +12 -12
- package/dist/{Experience-DzbJiEkB.js → Experience-BIf25_au.js} +109 -84
- package/dist/{FileSaver.min-DMdx33O6.js → FileSaver.min-DcDxTlEv.js} +1 -1
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js +138 -0
- package/dist/Game-CPFwbnwg.js +355 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B8sYzU76.js → ImageInput.vue_vue_type_script_setup_true_lang-D1_02khe.js} +1 -1
- package/dist/{Index-BrH7zJgF.js → Index-9d6DE1WI.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BdnOZYPt.js → LocationPicker.vue_vue_type_script_setup_true_lang-DVqpfwuC.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-Zm2-QRhl.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CY7T4ZrE.js} +1 -1
- package/dist/LoyaltyDashboard-L-dd3bBX.js +2865 -0
- package/dist/{MainLayout-D0w3tXfh.js → MainLayout-B0hVJj0s.js} +3 -3
- package/dist/{Marketing-Bj4eecVJ.js → Marketing-CzQOE5-T.js} +4 -4
- package/dist/{MarketingMaterialEdit-BwrUAQ5g.js → MarketingMaterialEdit-CpnMbm4V.js} +6 -6
- package/dist/Member-BPXOBKnT.js +649 -0
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-W-sQlF8i.js +1286 -0
- package/dist/MemberImportHistory-l5sPRJhS.js +187 -0
- package/dist/MemberList-BaFdqz1y.js +336 -0
- package/dist/{MemberTransactions-B1vwo1rI.js → MemberTransactions-BnzHspeV.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-l8vxv1iA.js → MessageInput.vue_vue_type_script_setup_true_lang-Tn7i0ON5.js} +13 -13
- package/dist/MetricInfoTooltip.vue_vue_type_script_setup_true_lang-Dk5jBNjr.js +40 -0
- package/dist/Mission-DwnJVGqw.js +359 -0
- package/dist/{Overview-CB0ZUJrT.js → Overview-Bkk6uY8w.js} +5 -5
- package/dist/{Overview-Dmga8twr.js → Overview-DxxN2iR6.js} +54 -54
- package/dist/Point-CF3bo1z2.js +287 -0
- package/dist/Promotion-BK_vpI2V.js +417 -0
- package/dist/{Queue-C3YE5GyB.js → Queue-BV3LRLDX.js} +47 -47
- package/dist/{Record-BmOaeVjS.js → Record-BsPu-3k0.js} +10 -10
- package/dist/{Review-BxkuBAsN.js → Review-Dbx2GIDF.js} +2 -2
- package/dist/{ReviewFacebookCallback-Cea69Y-B.js → ReviewFacebookCallback-4XmFbOgX.js} +5 -5
- package/dist/{ReviewGoogleCallback-BYb4WfJu.js → ReviewGoogleCallback-D8ZHqblT.js} +5 -5
- package/dist/{Reward-Dtrl4mTA.js → Reward-L350gxt_.js} +17 -17
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-sF1tR7Xt.js → RewardGroup.vue_vue_type_script_setup_true_lang-C83AonvA.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-cVQnjaRr.js → RuleGroup.vue_vue_type_script_setup_true_lang-C1ZmO0v3.js} +279 -286
- package/dist/{Segment-Cp-6-rVY.js → Segment-BYiiwMUQ.js} +71 -71
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-D4LpGMJI.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-UcQB3IId.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-24LPf74Z.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DekalcJe.js} +4 -4
- package/dist/{Setting-BJ8tKVyJ.js → Setting-eSozeH-1.js} +59 -59
- package/dist/{SettingAdvertisements-CVN2-ow-.js → SettingAdvertisements-kpV1JOcA.js} +13 -13
- package/dist/{Settings-C1cZ4Ul9.js → Settings-I0ImYOOQ.js} +5 -5
- package/dist/{Store-CPOnmTss.js → Store-C8QSVLw_.js} +24 -24
- package/dist/{StoreRewards-v5eeYGVK.js → StoreRewards-C70avm1_.js} +16 -16
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BeeUp_g7.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CSPdPLsO.js} +327 -386
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-KpT7bdu4.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-WYa8H6Cw.js} +2 -2
- package/dist/{Tier-I99UH0xV.js → Tier-CZZDn7iP.js} +23 -23
- package/dist/{Title-CMRp4pX_.js → Title-BvljZZSL.js} +22 -22
- package/dist/{Transaction-B8qt8Ye0.js → Transaction-DXLXu8I9.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-QeAi2nrG.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Dwge_i6h.js} +6 -6
- package/dist/{Voucher-BOHAMVZe.js → Voucher-DIdx7Ot3.js} +153 -131
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BmPhkmd-.js → VoucherEditor.vue_vue_type_script_setup_true_lang-D_UeSwP6.js} +115 -121
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-ZCpWiXGk.js → ZodTextField.vue_vue_type_script_setup_true_lang-DY6VnVJA.js} +2 -2
- package/dist/{app-CGvP2lXl.js → app-DIqUapcm.js} +27807 -25649
- package/dist/app.js +1 -1
- package/dist/{business-BzmZPBOG.js → business-xP99MCox.js} +5 -5
- package/dist/{campaign-CJZlkuiR.js → campaign-C4MOBm91.js} +49 -48
- package/dist/{campaign-BmwtMiFP.js → campaign-PkzGqdYO.js} +2 -2
- package/dist/{campaign.enum-DumeHZOS.js → campaign.enum-BUclGILF.js} +1 -1
- package/dist/{campaign.fn-D0CbtE4k.js → campaign.fn-DJVXo9cD.js} +81 -81
- package/dist/{collectible.enum-nrHykvO1.js → collectible.enum-B_YepKWT.js} +1 -1
- package/dist/{collection.fn-DiyFyUl7.js → collection.fn-DAkP3LJ8.js} +2 -2
- package/dist/{effect-BnIGzzLo.js → effect-DrJYnZ16.js} +1 -1
- package/dist/{email-addresses-tjXJdzCY.js → email-addresses-DYXMxvqS.js} +2 -2
- package/dist/{export-Ck8ycGxw.js → export-0Jq4Vo5Y.js} +3 -3
- package/dist/{helper-BHgAkmrz.js → helper-CG763cr5.js} +1 -1
- package/dist/{index-cnFHwNFy.js → index-5Ms90cPU.js} +1 -1
- package/dist/{index-dVfpSXT7.js → index-8e6lLivz.js} +3 -3
- package/dist/{index-qIrN5YA8.js → index-BA3CoioK.js} +10 -10
- package/dist/{index-VJrNyZUx.js → index-BFuyvvVh.js} +1 -1
- package/dist/{index-BBU2_kd6.js → index-BHEZDY8s.js} +3 -3
- package/dist/{index-4PxwTlfE.js → index-BQdlKlsg.js} +9 -9
- package/dist/{index-W-l8HyOk.js → index-ByvnSHRv.js} +18 -2
- package/dist/{index-B-yKEua7.js → index-CB1OaNpY.js} +5 -5
- package/dist/{index-Cnkr1PfZ.js → index-CFRM165i.js} +6 -6
- package/dist/{index-CMGtT4mp.js → index-CU3Wrg9t.js} +1 -1
- package/dist/index-CuVAmjYs.js +137 -0
- package/dist/{index-BwZ8iuRW.js → index-D5zLX78G.js} +1 -1
- package/dist/{index-DHCiP2WT.js → index-DJRR8jk8.js} +1 -1
- package/dist/{index-mF4DrbA_.js → index-JPLeqrlu.js} +680 -680
- package/dist/{index-BozgrjRA.js → index-VZk5ArC3.js} +10 -9
- package/dist/{timezone-xffU-pT6.js → index-tPhZ8CGt.js} +105 -122
- package/dist/{index.esm2017-BbfP9mo3.js → index.esm2017-DuXfdRdC.js} +130 -130
- package/dist/{loading-B89df4lM.js → loading-DwS6f7JW.js} +1 -1
- package/dist/{lodash-CNIdP6dH.js → lodash-Bqpt7DBE.js} +1 -1
- package/dist/member-import-BaHtDv3F.js +187 -0
- package/dist/{membership-xRz6MrAl.js → membership-AYipXBeR.js} +3 -3
- package/dist/{money-CrfU06vj.js → money-BtRy4sUv.js} +1 -1
- package/dist/{number-DAcFWa0g.js → number-KwWSNC_F.js} +1 -1
- package/dist/object-BYyQ0PZp.js +18 -0
- package/dist/objectid-D6VZ6WZS.js +145 -0
- package/dist/{plugins-BAOJz-5e.js → plugins-B9HEUuta.js} +87 -87
- package/dist/{reward-DV1PXPKT.js → reward-ktfRKJP7.js} +1 -1
- package/dist/{rule-BZBeYy7D.js → rule-Bm4V-BxA.js} +3 -3
- package/dist/{rule-builder-BuBh_voP.js → rule-builder-KkxzK5K-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-D_4yac6N.js → template-Z0h3NgI8.js} +7 -7
- package/dist/timezone-BxeR2L3i.js +20 -0
- package/dist/transaction.fn-rwxZJxCB.js +64 -0
- package/dist/{trigger-De4OtE_Z.js → trigger-woxMK7-q.js} +5 -5
- package/dist/{useMarketingMaterialActions-CR-3UVH-.js → useMarketingMaterialActions-BCckL9jC.js} +3 -3
- package/dist/{usePagination-Cz1z0Cox.js → usePagination-ChnknACA.js} +1 -1
- package/dist/{user-83vF8U4p.js → user-C-uStXdl.js} +1 -1
- package/dist/{vue-i18n-miVa3rNb.js → vue-i18n-DMRuXVEL.js} +307 -307
- package/dist/{xlsx-Cs6dDN_G.js → xlsx-DIVka-fb.js} +224 -224
- package/dist/{zod-BgYRWcOQ.js → zod-hoW-zibE.js} +1 -1
- package/package.json +4 -3
- package/dist/Analytic-Dcw2QZ7k.js +0 -427
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +0 -58
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +0 -129
- package/dist/Game-tQP4LYyf.js +0 -330
- package/dist/Member-D75eeIZY.js +0 -280
- package/dist/MemberList-BeZ9rqzr.js +0 -1602
- package/dist/Mission-J6_fYNS7.js +0 -334
- package/dist/Point-DWZ9xDIG.js +0 -262
- package/dist/Promotion-Ql-Dn2Uc.js +0 -392
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-BhdPS29D.js +0 -181
- package/dist/dto-CBpbRIlX.js +0 -216
- package/dist/index-D-Fz1BGi.js +0 -85
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectid-D0AHYrGl.js +0 -145
|
@@ -2,16 +2,17 @@ import { defineComponent as De, ref as ee, h as Y, computed as ne, watch as xe,
|
|
|
2
2
|
import { useRouter as yt, useRoute as wt, RouterView as dn } from "vue-router";
|
|
3
3
|
import { useCoreStore as me, FeedMeAuth as hn } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as fn } from "./app-wDQR6dpb.js";
|
|
5
|
-
import { u as pn } from "./business-
|
|
6
|
-
import "./index-
|
|
5
|
+
import { u as pn } from "./business-xP99MCox.js";
|
|
6
|
+
import "./index-DJRR8jk8.js";
|
|
7
7
|
import { components as Q, useSnackbar as mn, useDialog as gn } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as Tt } from "./vue-i18n-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { u as Tt } from "./vue-i18n-DMRuXVEL.js";
|
|
9
|
+
import { m as _n } from "./index-tPhZ8CGt.js";
|
|
10
|
+
import { C as Xe } from "./timezone-BxeR2L3i.js";
|
|
11
|
+
import { R as f, A as vn, a as Qe } from "./app-DIqUapcm.js";
|
|
11
12
|
import { J as In } from "./JsonViewer-v8_C7l5N.js";
|
|
12
|
-
import { r as Oe, L as yn, g as kt, i as wn, a as Tn, _ as Ze, C as et, b as kn, S as re, c as A, d as K, E as Fe, e as En, f as Et, h as bn, j as Sn, k as bt, l as y, m as Rn, F as Ve, n as An, q as se, o as Pn, p as Cn, s as Nn, t as On, u as Ln } from "./index.esm2017-
|
|
13
|
+
import { r as Oe, L as yn, g as kt, i as wn, a as Tn, _ as Ze, C as et, b as kn, S as re, c as A, d as K, E as Fe, e as En, f as Et, h as bn, j as Sn, k as bt, l as y, m as Rn, F as Ve, n as An, q as se, o as Pn, p as Cn, s as Nn, t as On, u as Ln } from "./index.esm2017-DuXfdRdC.js";
|
|
13
14
|
import { _ as $e } from "./tslib.es6-BCqqvLQ_.js";
|
|
14
|
-
import { S as tt, c as Mn } from "./index-
|
|
15
|
+
import { S as tt, c as Mn } from "./index-VZk5ArC3.js";
|
|
15
16
|
const Un = { class: "flex flex-col h-full justify-between py-16" }, Dn = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, xn = /* @__PURE__ */ De({
|
|
16
17
|
__name: "NavigationTab",
|
|
17
18
|
setup(n) {
|
|
@@ -169,7 +170,7 @@ function Vn() {
|
|
|
169
170
|
} catch {
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
|
-
const $n = { class: "flex flex-col gap-12" }, Hn = { class: "fm-corner-radius-xxl bg-fm-color-primary-oats flex items-start gap-4 self-start px-12 py-4" }, jn = { class: "fm-typo-en-body-sm-600 text-fm-color-primary" }, Wn = { class: "fm-typo-en-title-sm-800 max-w-[560px] leading-[42px]" },
|
|
173
|
+
const $n = { class: "flex flex-col gap-12" }, Hn = { class: "fm-corner-radius-xxl bg-fm-color-primary-oats flex items-start gap-4 self-start px-12 py-4" }, jn = { class: "fm-typo-en-body-sm-600 text-fm-color-primary" }, Wn = { class: "fm-typo-en-title-sm-800 max-w-[560px] leading-[42px]" }, Gn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary max-w-[600px]" }, Bn = { class: "flex flex-col gap-24 pb-8" }, zn = { class: "grid grid-cols-1 gap-16 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-3" }, qn = { class: "fm-corner-radius-sm bg-fm-color-primary-oats flex h-40 w-40 shrink-0 items-center justify-center" }, Kn = { class: "fm-typo-en-body-lg-600" }, Jn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Yn = { class: "shrink-0" }, Xn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Qn = { class: "flex w-full flex-col gap-12 px-[16px]" }, Zn = { class: "flex flex-wrap items-center gap-12" }, ei = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary" }, ti = /* @__PURE__ */ De({
|
|
173
174
|
__name: "AiMarketingPromoDialog",
|
|
174
175
|
setup(n) {
|
|
175
176
|
let e = !1;
|
|
@@ -227,7 +228,7 @@ const $n = { class: "flex flex-col gap-12" }, Hn = { class: "fm-corner-radius-xx
|
|
|
227
228
|
_("span", jn, R(p(t)("connect.marketing.whatsNew.badge")), 1)
|
|
228
229
|
]),
|
|
229
230
|
_("h1", Wn, R(p(t)("connect.marketing.whatsNew.title")), 1),
|
|
230
|
-
_("p",
|
|
231
|
+
_("p", Gn, R(p(t)("connect.marketing.whatsNew.subtitle")), 1)
|
|
231
232
|
])
|
|
232
233
|
]),
|
|
233
234
|
"dialog-footer": X(() => [
|
|
@@ -251,7 +252,7 @@ const $n = { class: "flex flex-col gap-12" }, Hn = { class: "fm-corner-radius-xx
|
|
|
251
252
|
])
|
|
252
253
|
]),
|
|
253
254
|
default: X(() => [
|
|
254
|
-
_("div",
|
|
255
|
+
_("div", Bn, [
|
|
255
256
|
_("div", zn, [
|
|
256
257
|
(H(), pe(It, null, cn(c, (k) => S(v, {
|
|
257
258
|
key: k.key,
|
|
@@ -1087,7 +1088,7 @@ async function Ii(n, e) {
|
|
|
1087
1088
|
* See the License for the specific language governing permissions and
|
|
1088
1089
|
* limitations under the License.
|
|
1089
1090
|
*/
|
|
1090
|
-
class
|
|
1091
|
+
class B {
|
|
1091
1092
|
constructor() {
|
|
1092
1093
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
|
1093
1094
|
}
|
|
@@ -1139,7 +1140,7 @@ class G {
|
|
|
1139
1140
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + i * 1e3;
|
|
1140
1141
|
}
|
|
1141
1142
|
static fromJSON(e, t) {
|
|
1142
|
-
const { refreshToken: i, accessToken: r, expirationTime: s } = t, o = new
|
|
1143
|
+
const { refreshToken: i, accessToken: r, expirationTime: s } = t, o = new B();
|
|
1143
1144
|
return i && (u(typeof i == "string", "internal-error", {
|
|
1144
1145
|
appName: e
|
|
1145
1146
|
}), o.refreshToken = i), r && (u(typeof r == "string", "internal-error", {
|
|
@@ -1159,7 +1160,7 @@ class G {
|
|
|
1159
1160
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
|
1160
1161
|
}
|
|
1161
1162
|
_clone() {
|
|
1162
|
-
return Object.assign(new
|
|
1163
|
+
return Object.assign(new B(), this.toJSON());
|
|
1163
1164
|
}
|
|
1164
1165
|
_performRefresh() {
|
|
1165
1166
|
return P("not implemented");
|
|
@@ -1276,7 +1277,7 @@ class C {
|
|
|
1276
1277
|
"internal-error"
|
|
1277
1278
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
1278
1279
|
);
|
|
1279
|
-
const on =
|
|
1280
|
+
const on = B.fromJSON(this.name, Ye);
|
|
1280
1281
|
u(
|
|
1281
1282
|
typeof k == "string",
|
|
1282
1283
|
e,
|
|
@@ -1315,7 +1316,7 @@ class C {
|
|
|
1315
1316
|
* @param idTokenResponse
|
|
1316
1317
|
*/
|
|
1317
1318
|
static async _fromIdTokenResponse(e, t, i = !1) {
|
|
1318
|
-
const r = new
|
|
1319
|
+
const r = new B();
|
|
1319
1320
|
r.updateFromServerResponse(t);
|
|
1320
1321
|
const s = new C({
|
|
1321
1322
|
uid: t.localId,
|
|
@@ -1337,7 +1338,7 @@ class C {
|
|
|
1337
1338
|
"internal-error"
|
|
1338
1339
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
1339
1340
|
);
|
|
1340
|
-
const s = r.providerUserInfo !== void 0 ? Ut(r.providerUserInfo) : [], o = !(r.email && r.passwordHash) && !(s != null && s.length), c = new
|
|
1341
|
+
const s = r.providerUserInfo !== void 0 ? Ut(r.providerUserInfo) : [], o = !(r.email && r.passwordHash) && !(s != null && s.length), c = new B();
|
|
1341
1342
|
c.updateFromIdToken(i);
|
|
1342
1343
|
const a = new C({
|
|
1343
1344
|
uid: r.localId,
|
|
@@ -1533,7 +1534,7 @@ function ot(n) {
|
|
|
1533
1534
|
return "Blackberry";
|
|
1534
1535
|
if (jt(e))
|
|
1535
1536
|
return "Webos";
|
|
1536
|
-
if (
|
|
1537
|
+
if (Ge(e))
|
|
1537
1538
|
return "Safari";
|
|
1538
1539
|
if ((e.includes("chrome/") || Ft(e)) && !e.includes("edge/"))
|
|
1539
1540
|
return "Chrome";
|
|
@@ -1549,7 +1550,7 @@ function ot(n) {
|
|
|
1549
1550
|
function xt(n = y()) {
|
|
1550
1551
|
return /firefox\//i.test(n);
|
|
1551
1552
|
}
|
|
1552
|
-
function
|
|
1553
|
+
function Ge(n = y()) {
|
|
1553
1554
|
const e = n.toLowerCase();
|
|
1554
1555
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
|
1555
1556
|
}
|
|
@@ -1604,7 +1605,7 @@ function Ti() {
|
|
|
1604
1605
|
* See the License for the specific language governing permissions and
|
|
1605
1606
|
* limitations under the License.
|
|
1606
1607
|
*/
|
|
1607
|
-
function
|
|
1608
|
+
function Gt(n, e = []) {
|
|
1608
1609
|
let t;
|
|
1609
1610
|
switch (n) {
|
|
1610
1611
|
case "Browser":
|
|
@@ -2097,7 +2098,7 @@ class Ri {
|
|
|
2097
2098
|
), this.persistenceManager;
|
|
2098
2099
|
}
|
|
2099
2100
|
_logFramework(e) {
|
|
2100
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
|
2101
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = Gt(this.config.clientPlatform, this._getFrameworks()));
|
|
2101
2102
|
}
|
|
2102
2103
|
_getFrameworks() {
|
|
2103
2104
|
return this.frameworks;
|
|
@@ -2162,7 +2163,7 @@ class at {
|
|
|
2162
2163
|
* See the License for the specific language governing permissions and
|
|
2163
2164
|
* limitations under the License.
|
|
2164
2165
|
*/
|
|
2165
|
-
let
|
|
2166
|
+
let Be = {
|
|
2166
2167
|
async loadJS() {
|
|
2167
2168
|
throw new Error("Unable to load external scripts");
|
|
2168
2169
|
},
|
|
@@ -2171,13 +2172,13 @@ let Ge = {
|
|
|
2171
2172
|
gapiScript: ""
|
|
2172
2173
|
};
|
|
2173
2174
|
function Ai(n) {
|
|
2174
|
-
|
|
2175
|
+
Be = n;
|
|
2175
2176
|
}
|
|
2176
2177
|
function Pi(n) {
|
|
2177
|
-
return
|
|
2178
|
+
return Be.loadJS(n);
|
|
2178
2179
|
}
|
|
2179
2180
|
function Ci() {
|
|
2180
|
-
return
|
|
2181
|
+
return Be.gapiScript;
|
|
2181
2182
|
}
|
|
2182
2183
|
function Ni(n) {
|
|
2183
2184
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
|
@@ -2229,7 +2230,7 @@ function Mi(n, e, t) {
|
|
|
2229
2230
|
"invalid-emulator-scheme"
|
|
2230
2231
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
|
2231
2232
|
);
|
|
2232
|
-
const r = !1, s =
|
|
2233
|
+
const r = !1, s = Bt(e), { host: o, port: c } = Ui(e), a = c === null ? "" : `:${c}`;
|
|
2233
2234
|
i.config.emulator = { url: `${s}//${o}${a}/` }, i.settings.appVerificationDisabledForTesting = !0, i.emulatorConfig = Object.freeze({
|
|
2234
2235
|
host: o,
|
|
2235
2236
|
port: c,
|
|
@@ -2237,12 +2238,12 @@ function Mi(n, e, t) {
|
|
|
2237
2238
|
options: Object.freeze({ disableWarnings: r })
|
|
2238
2239
|
}), Di();
|
|
2239
2240
|
}
|
|
2240
|
-
function
|
|
2241
|
+
function Bt(n) {
|
|
2241
2242
|
const e = n.indexOf(":");
|
|
2242
2243
|
return e < 0 ? "" : n.substr(0, e + 1);
|
|
2243
2244
|
}
|
|
2244
2245
|
function Ui(n) {
|
|
2245
|
-
const e =
|
|
2246
|
+
const e = Bt(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
|
2246
2247
|
if (!t)
|
|
2247
2248
|
return { host: "", port: null };
|
|
2248
2249
|
const i = t[2].split("@").pop() || "", r = /^(\[[^\]]+\])(:|$)/.exec(i);
|
|
@@ -2988,7 +2989,7 @@ async function ji(n, e) {
|
|
|
2988
2989
|
function Wi(n, e, t, i) {
|
|
2989
2990
|
return K(n).onIdTokenChanged(e, t, i);
|
|
2990
2991
|
}
|
|
2991
|
-
function
|
|
2992
|
+
function Gi(n, e, t) {
|
|
2992
2993
|
return K(n).beforeAuthStateChanged(e, t);
|
|
2993
2994
|
}
|
|
2994
2995
|
const Ie = "__sak";
|
|
@@ -3049,9 +3050,9 @@ class Jt {
|
|
|
3049
3050
|
* See the License for the specific language governing permissions and
|
|
3050
3051
|
* limitations under the License.
|
|
3051
3052
|
*/
|
|
3052
|
-
function
|
|
3053
|
+
function Bi() {
|
|
3053
3054
|
const n = y();
|
|
3054
|
-
return
|
|
3055
|
+
return Ge(n) || Te(n);
|
|
3055
3056
|
}
|
|
3056
3057
|
const zi = 1e3, qi = 10;
|
|
3057
3058
|
class Yt extends Jt {
|
|
@@ -3060,7 +3061,7 @@ class Yt extends Jt {
|
|
|
3060
3061
|
() => window.localStorage,
|
|
3061
3062
|
"LOCAL"
|
|
3062
3063
|
/* PersistenceType.LOCAL */
|
|
3063
|
-
), this.boundEventHandler = (e, t) => this.onStorageEvent(e, t), this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.safariLocalStorageNotSynced =
|
|
3064
|
+
), this.boundEventHandler = (e, t) => this.onStorageEvent(e, t), this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.safariLocalStorageNotSynced = Bi() && Ti(), this.fallbackToPolling = Wt(), this._shouldAllowMigration = !0;
|
|
3064
3065
|
}
|
|
3065
3066
|
forAllChangedKeys(e) {
|
|
3066
3067
|
for (const t of Object.keys(this.listeners)) {
|
|
@@ -3878,9 +3879,9 @@ class rn {
|
|
|
3878
3879
|
* limitations under the License.
|
|
3879
3880
|
*/
|
|
3880
3881
|
const dr = new oe(2e3, 1e4);
|
|
3881
|
-
class
|
|
3882
|
+
class G extends rn {
|
|
3882
3883
|
constructor(e, t, i, r, s) {
|
|
3883
|
-
super(e, t, r, s), this.provider = i, this.authWindow = null, this.pollId = null,
|
|
3884
|
+
super(e, t, r, s), this.provider = i, this.authWindow = null, this.pollId = null, G.currentPopupAction && G.currentPopupAction.cancel(), G.currentPopupAction = this;
|
|
3884
3885
|
}
|
|
3885
3886
|
async executeNotNull() {
|
|
3886
3887
|
const e = await this.execute();
|
|
@@ -3922,7 +3923,7 @@ class B extends rn {
|
|
|
3922
3923
|
));
|
|
3923
3924
|
}
|
|
3924
3925
|
cleanUp() {
|
|
3925
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
|
3926
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, G.currentPopupAction = null;
|
|
3926
3927
|
}
|
|
3927
3928
|
pollUserCancellation() {
|
|
3928
3929
|
const e = () => {
|
|
@@ -3946,7 +3947,7 @@ class B extends rn {
|
|
|
3946
3947
|
e();
|
|
3947
3948
|
}
|
|
3948
3949
|
}
|
|
3949
|
-
|
|
3950
|
+
G.currentPopupAction = null;
|
|
3950
3951
|
/**
|
|
3951
3952
|
* @license
|
|
3952
3953
|
* Copyright 2020 Google LLC
|
|
@@ -4398,7 +4399,7 @@ function Wr(n, e) {
|
|
|
4398
4399
|
* See the License for the specific language governing permissions and
|
|
4399
4400
|
* limitations under the License.
|
|
4400
4401
|
*/
|
|
4401
|
-
const
|
|
4402
|
+
const Gr = "__/auth/handler", Br = "emulator/auth/handler", zr = encodeURIComponent("fac");
|
|
4402
4403
|
async function mt(n, e, t, i, r, s) {
|
|
4403
4404
|
u(
|
|
4404
4405
|
n.config.authDomain,
|
|
@@ -4436,7 +4437,7 @@ async function mt(n, e, t, i, r, s) {
|
|
|
4436
4437
|
return `${qr(n)}?${se(c).slice(1)}${l}`;
|
|
4437
4438
|
}
|
|
4438
4439
|
function qr({ config: n }) {
|
|
4439
|
-
return n.emulator ? je(n,
|
|
4440
|
+
return n.emulator ? je(n, Br) : `https://${n.authDomain}/${Gr}`;
|
|
4440
4441
|
}
|
|
4441
4442
|
/**
|
|
4442
4443
|
* @license
|
|
@@ -4512,7 +4513,7 @@ class Kr {
|
|
|
4512
4513
|
return this.originValidationPromises[t] || (this.originValidationPromises[t] = br(e)), this.originValidationPromises[t];
|
|
4513
4514
|
}
|
|
4514
4515
|
get _shouldInitProactively() {
|
|
4515
|
-
return Wt() ||
|
|
4516
|
+
return Wt() || Ge() || Te();
|
|
4516
4517
|
}
|
|
4517
4518
|
}
|
|
4518
4519
|
const Jr = Kr;
|
|
@@ -4613,7 +4614,7 @@ function Qr(n) {
|
|
|
4613
4614
|
apiHost: "identitytoolkit.googleapis.com",
|
|
4614
4615
|
tokenApiHost: "securetoken.googleapis.com",
|
|
4615
4616
|
apiScheme: "https",
|
|
4616
|
-
sdkClientVersion:
|
|
4617
|
+
sdkClientVersion: Gt(n)
|
|
4617
4618
|
}, l = new Ri(i, r, s, a);
|
|
4618
4619
|
return Li(l, t), l;
|
|
4619
4620
|
},
|
|
@@ -4689,7 +4690,7 @@ function ns(n = Sn()) {
|
|
|
4689
4690
|
const s = new URL(i, location.origin);
|
|
4690
4691
|
if (location.origin === s.origin) {
|
|
4691
4692
|
const o = ts(s.toString());
|
|
4692
|
-
|
|
4693
|
+
Gi(t, o, () => o(t.currentUser)), Wi(t, (c) => o(c));
|
|
4693
4694
|
}
|
|
4694
4695
|
}
|
|
4695
4696
|
const r = bn("auth");
|
|
@@ -4720,11 +4721,11 @@ Qr(
|
|
|
4720
4721
|
"Browser"
|
|
4721
4722
|
/* ClientPlatform.BROWSER */
|
|
4722
4723
|
);
|
|
4723
|
-
var rs = { firebase: { apiKey: "
|
|
4724
|
+
var rs = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com", importFilesBucketUrl: "feedme-dev-4c3ef.appspot.com", clientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" }, ss = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc", voucherAppUrl: "https://voucher.feedmedev.cc/" };
|
|
4724
4725
|
const os = {
|
|
4725
4726
|
key: 2,
|
|
4726
4727
|
class: "h-full w-full"
|
|
4727
|
-
}, as = ["src"],
|
|
4728
|
+
}, as = ["src"], ks = /* @__PURE__ */ De({
|
|
4728
4729
|
__name: "App",
|
|
4729
4730
|
setup(n) {
|
|
4730
4731
|
const e = me(), t = fn(), i = pn(), r = mn(), s = gn(), o = wt(), c = ee(o.query.showHeader !== "false"), a = ee(!1), { currentBusiness: l } = me(), d = ee(!1), h = ne(() => i.version), m = ne(() => {
|
|
@@ -4772,5 +4773,5 @@ const os = {
|
|
|
4772
4773
|
}
|
|
4773
4774
|
});
|
|
4774
4775
|
export {
|
|
4775
|
-
|
|
4776
|
+
ks as default
|
|
4776
4777
|
};
|
|
@@ -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-DwS6f7JW.js";
|
|
4
|
+
import { u as R } from "./business-xP99MCox.js";
|
|
5
|
+
import { C as A } from "./campaign-C4MOBm91.js";
|
|
6
|
+
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DenseCvA.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-DekalcJe.js";
|
|
9
|
+
import { u as D } from "./vue-i18n-DMRuXVEL.js";
|
|
10
10
|
import { h as E } from "./moment-D7p2TMB-.js";
|
|
11
|
-
import { p as I } from "./plugins-
|
|
12
|
-
import { c as g } from "./index-
|
|
11
|
+
import { p as I } from "./plugins-B9HEUuta.js";
|
|
12
|
+
import { c as g } from "./index-ByvnSHRv.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,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as H, ref as C, computed as q, onMounted as z, resolveComponent as m, openBlock as d, createElementBlock as h, Fragment as v, createVNode as i, unref as a, createElementVNode as n, withCtx as x, renderList as G, createBlock as S, resolveDynamicComponent as J, toDisplayString as u, createCommentVNode as Q, h as k } from "vue";
|
|
2
2
|
import { _ as W } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as X, components as L } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as Y } from "./plugins-
|
|
5
|
-
import { u as Z } from "./loading-
|
|
6
|
-
import { u as ee } from "./business-
|
|
7
|
-
import { u as te } from "./campaign-
|
|
8
|
-
import { a as V, b as R, g as ae } from "./campaign-
|
|
9
|
-
import { u as oe, c as ne, p as se } from "./template-
|
|
10
|
-
import { u as ce } from "./vue-i18n-
|
|
11
|
-
import { _ as ie } from "./FilterChip.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { _ as re } from "./MessageInput.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as le } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { c as f } from "./index-
|
|
4
|
+
import { p as Y } from "./plugins-B9HEUuta.js";
|
|
5
|
+
import { u as Z } from "./loading-DwS6f7JW.js";
|
|
6
|
+
import { u as ee } from "./business-xP99MCox.js";
|
|
7
|
+
import { u as te } from "./campaign-PkzGqdYO.js";
|
|
8
|
+
import { a as V, b as R, g as ae } from "./campaign-C4MOBm91.js";
|
|
9
|
+
import { u as oe, c as ne, p as se } from "./template-Z0h3NgI8.js";
|
|
10
|
+
import { u as ce } from "./vue-i18n-DMRuXVEL.js";
|
|
11
|
+
import { _ as ie } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
12
|
+
import { _ as re } from "./MessageInput.vue_vue_type_script_setup_true_lang-Tn7i0ON5.js";
|
|
13
|
+
import { _ as le } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DenseCvA.js";
|
|
14
|
+
import { c as f } from "./index-ByvnSHRv.js";
|
|
15
15
|
const me = { class: "px-24 flex flex-col gap-y-16" }, de = { class: "flex items-center justify-between w-full" }, pe = { class: "flex gap-8 overflow-x-auto" }, ue = { class: "space-y-8" }, fe = { class: "flex w-full gap-4 items-center" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "space-y-4" }, _e = { class: "fm-typo-en-body-lg-600" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "flex items-center gap-8" }, be = { key: 0 }, Ce = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, ve = { class: "flex flex-col gap-16 text-center" }, xe = { class: "fm-typo-en-title-sm-800" }, Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = /* @__PURE__ */ H({
|
|
16
16
|
__name: "Broadcast",
|
|
17
17
|
setup(ke) {
|