@feedmepos/mf-order-setting 0.0.89 → 0.0.90
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/{DisplaySystemView-BA-5JObJ.js → DisplaySystemView-tosCa7Ej.js} +1 -1
- package/dist/{KioskDevicesView-CgdnW9N9.js → KioskDevicesView-WuOTJ9Fi.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-C9X9ziUm.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DdHfATyN.js} +3 -3
- package/dist/{KioskSettingView-CVck01e7.js → KioskSettingView-Bsja2OqT.js} +3 -3
- package/dist/{KioskView-DKY2QEh5.js → KioskView-BH5qGTM_.js} +5 -5
- package/dist/{OrderSettingsView-CEPIZmHA.js → OrderSettingsView-D6V1ztiS.js} +8 -6
- package/dist/{app-C9nnuR9O.js → app-DsMk7W2h.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Gk7389CW.js → index-BUDM0Rqn.js} +1 -1
- package/dist/{index-BaC_Douy.js → index-C2n1MV_1.js} +2 -2
- package/dist/{index-DGAU5Dhc.js → index-DGDiI0fr.js} +1 -1
- package/dist/{order.dto-CfCfBJYu.js → order.dto-BRDWWgMV.js} +1 -1
- package/package.json +1 -1
- package/src/helpers/timezone.spec.ts +8 -0
- package/src/helpers/timezone.ts +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as W, defineComponent as be, computed as L, watch as Ee, resolveComponent as Z, openBlock as g, createBlock as ae, Teleport as Va, createElementBlock as b, withModifiers as Fe, createElementVNode as f, toDisplayString as P, unref as p, createCommentVNode as G, createVNode as D, withCtx as Ne, normalizeStyle as Y, normalizeClass as oe, Fragment as ee, createTextVNode as xe, onScopeDispose as Hn, renderList as ce, resolveDirective as qa, withDirectives as kt, useModel as Kn, mergeModels as Zn, withKeys as Jn, vModelText as Xn, onMounted as Wa, onBeforeUnmount as Qn } from "vue";
|
|
2
2
|
import { useI18n as we, useCoreStore as Kt } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as Yn } from "./snackbar-DZQ0_reQ.js";
|
|
4
|
-
import { D as Ga, g as je, b as eo, E as to, G as va } from "./order.dto-
|
|
4
|
+
import { D as Ga, g as je, b as eo, E as to, G as va } from "./order.dto-BRDWWgMV.js";
|
|
5
5
|
import { defineStore as ao } from "pinia";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as C, defineComponent as Q, resolveComponent as x, openBlock as l, createElementBlock as m, createElementVNode as a, toDisplayString as d, unref as s, createVNode as v, computed as _, createBlock as M, withCtx as K, createCommentVNode as D, Fragment as q, renderList as G, watch as he, normalizeClass as $e, createTextVNode as te, renderSlot as Me } from "vue";
|
|
2
2
|
import { useI18n as ne, useCoreStore as Ve } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as ge } from "pinia";
|
|
4
|
-
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-
|
|
4
|
+
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-BRDWWgMV.js";
|
|
5
5
|
import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as ce, s as be } from "./index-
|
|
7
|
-
import { c as Ne, g as Ke, a as xe } from "./app-
|
|
6
|
+
import { d as ce, s as be } from "./index-DGDiI0fr.js";
|
|
7
|
+
import { c as Ne, g as Ke, a as xe } from "./app-DsMk7W2h.js";
|
|
8
8
|
async function Ue() {
|
|
9
9
|
const t = await J().get("/kiosk/otp");
|
|
10
10
|
return ue(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as fe, computed as x, ref as Y, onMounted as Ee, resolveComponent as V, openBlock as w, createBlock as oe, withCtx as R, createVNode as i, unref as a, createElementVNode as d, withDirectives as F, vShow as N, toDisplayString as v, watch as Ue, createElementBlock as E, createCommentVNode as B, Fragment as te, renderList as ne, normalizeClass as Fe } from "vue";
|
|
2
|
-
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-
|
|
3
|
-
import { c as f, K as Le, d as Me } from "./order.dto-
|
|
4
|
-
import { _ as We, u as De, a as $e } from "./index-
|
|
2
|
+
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-DsMk7W2h.js";
|
|
3
|
+
import { c as f, K as Le, d as Me } from "./order.dto-BRDWWgMV.js";
|
|
4
|
+
import { _ as We, u as De, a as $e } from "./index-C2n1MV_1.js";
|
|
5
5
|
import { useI18n as he, FeedMeAuth as Ie, useCoreStore as Ye } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as Ge } from "@feedmepos/ui-library";
|
|
7
7
|
const Ke = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, je = { class: "ml-7" }, qe = { class: "ml-7" }, Be = { class: "flex flex-row gap-9" }, He = /* @__PURE__ */ fe({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as X, openBlock as _, createElementBlock as Q, createElementVNode as y, toDisplayString as A, unref as d, ref as v, defineAsyncComponent as ue, computed as T, onMounted as ce, watch as re, resolveComponent as w, createVNode as U, withCtx as oe, createBlock as K, createCommentVNode as E } from "vue";
|
|
2
|
-
import { u as se, a as pe, _ as me } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as se, a as pe, _ as me } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-DdHfATyN.js";
|
|
3
3
|
import { useDialog as de, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as z, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
5
|
-
import { F as fe, a as ve, S as N } from "./order.dto-
|
|
5
|
+
import { F as fe, a as ve, S as N } from "./order.dto-BRDWWgMV.js";
|
|
6
6
|
import { defineStore as be } from "pinia";
|
|
7
|
-
import { O as W } from "./index-
|
|
8
|
-
import { u as he } from "./app-
|
|
7
|
+
import { O as W } from "./index-BUDM0Rqn.js";
|
|
8
|
+
import { u as he } from "./app-DsMk7W2h.js";
|
|
9
9
|
const _e = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, Pe = { class: "fm-typo-en-title-md-600" }, we = /* @__PURE__ */ X({
|
|
10
10
|
__name: "KioskOtpDialog",
|
|
11
11
|
props: {
|
|
@@ -339,7 +339,7 @@ const We = { class: "py-[1.5rem]" }, je = { class: "px-[1.5rem]" }, Ge = { class
|
|
|
339
339
|
setup(e) {
|
|
340
340
|
var $, M;
|
|
341
341
|
const { t: a } = z(), { canManageOrderSetting: n } = he(), c = ue(
|
|
342
|
-
() => import("./KioskSettingView-
|
|
342
|
+
() => import("./KioskSettingView-Bsja2OqT.js")
|
|
343
343
|
), t = v("device"), l = se(), r = Ue(), o = pe(), p = de(), { currentRestaurant: m, restaurants: i, changeRestaurant: C } = ye(), b = ie(), f = v((($ = m.value) == null ? void 0 : $._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = T(() => {
|
|
344
344
|
const u = R.value.trim().toLowerCase();
|
|
345
345
|
return i.value.filter(
|
|
@@ -4,11 +4,11 @@ var _c = (l, c, p) => SG(l, typeof c != "symbol" ? c + "" : c, p);
|
|
|
4
4
|
import { ref as Ue, computed as Ie, defineComponent as mt, onMounted as Dn, onUnmounted as j$, resolveComponent as Oe, openBlock as le, createBlock as st, withCtx as lt, createElementVNode as G, createVNode as oe, toDisplayString as $e, unref as x, createElementBlock as ye, isRef as pk, Fragment as ot, renderList as Et, createCommentVNode as Be, watch as At, renderSlot as Ec, normalizeClass as St, reactive as Vt, createTextVNode as Wn, nextTick as FG, shallowRef as CG, Teleport as IG, withModifiers as mk, withDirectives as Qf, vModelText as Wf, toRaw as cA, normalizeStyle as wG, readonly as Jf, createSlots as AG, h as TG, withKeys as kG, resolveDynamicComponent as OG } from "vue";
|
|
5
5
|
import { useDialog as Va, useSnackbar as hk } from "@feedmepos/ui-library";
|
|
6
6
|
import { useI18n as bt, useCoreStore as xt } from "@feedmepos/mf-common";
|
|
7
|
-
import { e as yt, i as RG, c as va, j as L$, k as DG, g as fk, l as ri, m as V$, n as PG, o as q$, p as MG, q as _$, t as NG } from "./app-
|
|
8
|
-
import { e as Ru, f as Zf, h as Sn, g as xc, m as pA, i as Gt, S as xG, T as kc, C as Kn, j as mA, k as Uu, l as UG, n as BG, o as jG, q as LG, s as Hn, t as Yi, u as Fu, O as hA, v as fA, w as $A, x as gA, y as VG, z as Xf, A as qG } from "./order.dto-
|
|
9
|
-
import { O as ya, s as GG } from "./index-
|
|
10
|
-
import { u as fn, r as gt, _ as $k, a as io, b as e$ } from "./index-
|
|
11
|
-
import { r as KG, d as Ot, s as zG } from "./index-
|
|
7
|
+
import { e as yt, i as RG, c as va, j as L$, k as DG, g as fk, l as ri, m as V$, n as PG, o as q$, p as MG, q as _$, t as NG } from "./app-DsMk7W2h.js";
|
|
8
|
+
import { e as Ru, f as Zf, h as Sn, g as xc, m as pA, i as Gt, S as xG, T as kc, C as Kn, j as mA, k as Uu, l as UG, n as BG, o as jG, q as LG, s as Hn, t as Yi, u as Fu, O as hA, v as fA, w as $A, x as gA, y as VG, z as Xf, A as qG } from "./order.dto-BRDWWgMV.js";
|
|
9
|
+
import { O as ya, s as GG } from "./index-BUDM0Rqn.js";
|
|
10
|
+
import { u as fn, r as gt, _ as $k, a as io, b as e$ } from "./index-C2n1MV_1.js";
|
|
11
|
+
import { r as KG, d as Ot, s as zG } from "./index-DGDiI0fr.js";
|
|
12
12
|
import { defineStore as gk } from "pinia";
|
|
13
13
|
import { u as $n } from "./snackbar-DZQ0_reQ.js";
|
|
14
14
|
import { _ as $i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -54692,8 +54692,10 @@ const iJ = {
|
|
|
54692
54692
|
// +05
|
|
54693
54693
|
VN: "Asia/Ho_Chi_Minh",
|
|
54694
54694
|
// +07
|
|
54695
|
-
PH: "Asia/Manila"
|
|
54695
|
+
PH: "Asia/Manila",
|
|
54696
54696
|
// +08
|
|
54697
|
+
GB: "Europe/London"
|
|
54698
|
+
// GMT (+00) / BST (+01)
|
|
54697
54699
|
};
|
|
54698
54700
|
function uJ() {
|
|
54699
54701
|
const l = xt().currentCountry.value, c = l ? iJ[l] : void 0;
|
|
@@ -4910,7 +4910,7 @@ const xA = {
|
|
|
4910
4910
|
}, op = {
|
|
4911
4911
|
order: ip,
|
|
4912
4912
|
menu: rp
|
|
4913
|
-
}, ap = "0.0.
|
|
4913
|
+
}, ap = "0.0.90", sp = "fmmf";
|
|
4914
4914
|
let Cd = !1;
|
|
4915
4915
|
function dp() {
|
|
4916
4916
|
Cd || (Cd = !0, console.log(
|
|
@@ -23358,14 +23358,14 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23358
23358
|
// allow access via either subject (coverSubject = OR fallback).
|
|
23359
23359
|
path: wi.KioskRoute,
|
|
23360
23360
|
name: "Kiosk",
|
|
23361
|
-
component: Oi(un(() => import("./KioskView-
|
|
23361
|
+
component: Oi(un(() => import("./KioskView-BH5qGTM_.js"))),
|
|
23362
23362
|
meta: Ni([{ ...yg, coverSubject: cC.subject }])
|
|
23363
23363
|
},
|
|
23364
23364
|
{
|
|
23365
23365
|
path: wi.KioskDeviceRoute,
|
|
23366
23366
|
name: "Kiosk Device",
|
|
23367
23367
|
component: Oi(
|
|
23368
|
-
un(() => import("./KioskDevicesView-
|
|
23368
|
+
un(() => import("./KioskDevicesView-WuOTJ9Fi.js"))
|
|
23369
23369
|
),
|
|
23370
23370
|
meta: Ni([yg])
|
|
23371
23371
|
},
|
|
@@ -23375,7 +23375,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23375
23375
|
path: wi.KioskOrderSettingRoute,
|
|
23376
23376
|
name: "Kiosk Order Setting",
|
|
23377
23377
|
component: Oi(
|
|
23378
|
-
un(() => import("./KioskSettingView-
|
|
23378
|
+
un(() => import("./KioskSettingView-Bsja2OqT.js"))
|
|
23379
23379
|
),
|
|
23380
23380
|
meta: Ni([$a])
|
|
23381
23381
|
},
|
|
@@ -23383,7 +23383,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23383
23383
|
path: wi.OrderSettingView,
|
|
23384
23384
|
name: "Order Setting View",
|
|
23385
23385
|
component: Oi(
|
|
23386
|
-
un(() => import("./OrderSettingsView-
|
|
23386
|
+
un(() => import("./OrderSettingsView-D6V1ztiS.js"))
|
|
23387
23387
|
),
|
|
23388
23388
|
meta: Ni([$a])
|
|
23389
23389
|
},
|
|
@@ -23391,7 +23391,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23391
23391
|
path: wi.DisplaySystemView,
|
|
23392
23392
|
name: "Display System View",
|
|
23393
23393
|
component: Oi(
|
|
23394
|
-
un(() => import("./DisplaySystemView-
|
|
23394
|
+
un(() => import("./DisplaySystemView-tosCa7Ej.js"))
|
|
23395
23395
|
),
|
|
23396
23396
|
meta: Ni([$a])
|
|
23397
23397
|
}
|
package/dist/app.js
CHANGED