@feedmepos/mf-order-setting 0.0.94 → 0.0.95-dev.20261022T143049Z.39795843901

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.
@@ -2,11 +2,11 @@ import { ref as K, defineComponent as he, computed as V, watch as be, resolveCom
2
2
  import { useRoute as Qn, useRouter as es } from "vue-router";
3
3
  import { useI18n as Pe, useCoreStore as at, RestaurantSelector as ts } from "@feedmepos/mf-common";
4
4
  import { u as Ka } from "./snackbar-DZQ0_reQ.js";
5
- import { G as Ja, g as nt, b as os, H as as, n as so } from "./order.dto-CUp8zhQC.js";
5
+ import { G as Ja, g as nt, b as os, H as as, n as so } from "./order.dto-CJgroFti.js";
6
6
  import { defineStore as ns } from "pinia";
7
7
  import { useDialogChild as ss, useDialog as Za } from "@feedmepos/ui-library";
8
- import { _ as We, u as ls, e as rs } from "./featureFlag-C4gAe_F4.js";
9
- import { A as is, v as Ya, u as ds } from "./app-BQ0W0_dt.js";
8
+ import { _ as We, u as ls, e as rs } from "./featureFlag-BVYtYDE3.js";
9
+ import { A as is, v as Ya, u as ds } from "./app-DXFl_O5c.js";
10
10
  function Xa(e) {
11
11
  return JSON.parse(JSON.stringify(e));
12
12
  }
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Dzqwhj40.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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-CUp8zhQC.js";
4
+ import { r as J, g as ue, b as Be, p as Re } from "./order.dto-CJgroFti.js";
5
5
  import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
6
- import { d as ce, s as be } from "./index-CGiJXVU3.js";
7
- import { c as Ne, g as Ke, a as xe } from "./app-BQ0W0_dt.js";
6
+ import { d as ce, s as be } from "./index-CIwf0p6e.js";
7
+ import { c as Ne, g as Ke, a as xe } from "./app-DXFl_O5c.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-BQ0W0_dt.js";
3
- import { c as f, K as Le, d as Me } from "./order.dto-CUp8zhQC.js";
4
- import { _ as We, u as De, a as $e } from "./index-BFJ4YEfL.js";
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-DXFl_O5c.js";
3
+ import { c as f, K as Le, d as Me } from "./order.dto-CJgroFti.js";
4
+ import { _ as We, u as De, a as $e } from "./index-CRzEdsma.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({
@@ -254,7 +254,7 @@ function Ze(o) {
254
254
  }
255
255
  function ea() {
256
256
  var e;
257
- return (((e = Je.firebase) == null ? void 0 : e.storageBucket) ?? Xe.firebase.storageBucket ?? "image.feedme.cc").replace(/^https?:\/\//, "").replace(/\/+$/, "");
257
+ return (((e = Je.firebase) == null ? void 0 : e.storageBucket) ?? Xe.firebase.storageBucket ?? "image.feedmedev.cc").replace(/^https?:\/\//, "").replace(/\/+$/, "");
258
258
  }
259
259
  function aa(o) {
260
260
  const s = o.replace(/^\/+/, "");
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as X, openBlock as h, createElementBlock as Q, createElementVNode as f, toDisplayString as A, unref as m, ref as v, defineAsyncComponent as ue, computed as U, onMounted as ce, watch as re, resolveComponent as P, createVNode as L, withCtx as oe, createBlock as E, createCommentVNode as K } from "vue";
2
- import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js";
2
+ import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Dzqwhj40.js";
3
3
  import { useDialog as me, useSnackbar as ie } from "@feedmepos/ui-library";
4
4
  import { useI18n as z, useCoreStore as fe } from "@feedmepos/mf-common";
5
- import { F as ye, a as ve, S as M } from "./order.dto-CUp8zhQC.js";
5
+ import { F as ye, a as ve, S as M } from "./order.dto-CJgroFti.js";
6
6
  import { defineStore as be } from "pinia";
7
- import { O as W } from "./index-DSB009Br.js";
8
- import { u as _e } from "./app-BQ0W0_dt.js";
7
+ import { O as W } from "./index-Bd-jwCOT.js";
8
+ import { u as _e } from "./app-DXFl_O5c.js";
9
9
  const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, we = { class: "fm-typo-en-title-md-600" }, Pe = /* @__PURE__ */ X({
10
10
  __name: "KioskOtpDialog",
11
11
  props: {
@@ -343,7 +343,7 @@ const Ge = { class: "py-[1.5rem]" }, He = { class: "px-[1.5rem]" }, Xe = { class
343
343
  setup(e) {
344
344
  var V, $;
345
345
  const { t: a } = z(), { canManageOrderSetting: n } = _e(), c = ue(
346
- () => import("./KioskSettingView-Ba1sLolg.js")
346
+ () => import("./KioskSettingView-DribOudf.js")
347
347
  ), t = v("device"), l = se(), r = Ke(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = fe(), b = ie(), y = v(((V = d.value) == null ? void 0 : V._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = U(() => {
348
348
  const u = R.value.trim().toLowerCase();
349
349
  return i.value.filter(
@@ -1,14 +1,14 @@
1
1
  import { ref as xe, computed as Fe, defineComponent as mt, onMounted as yn, onUnmounted as w0, resolveComponent as Ae, openBlock as ie, createBlock as at, withCtx as et, createElementVNode as N, createVNode as ee, toDisplayString as he, unref as U, createElementBlock as pe, isRef as vk, Fragment as Xe, renderList as gt, createCommentVNode as Re, watch as Ft, renderSlot as _c, normalizeClass as _t, reactive as Lt, createTextVNode as xt, nextTick as yk, shallowRef as kG, Teleport as OG, withModifiers as Pc, withDirectives as Jh, vModelText as Zh, toRaw as fA, normalizeStyle as RG, createSlots as DG, h as PG, withKeys as bk, resolveDynamicComponent as MG } from "vue";
2
2
  import { useDialog as ma, useSnackbar as _k } from "@feedmepos/ui-library";
3
3
  import { useI18n as vt, useCoreStore as Dt } from "@feedmepos/mf-common";
4
- import { e as Et, i as NG, c as ri, j as q$, k as xG, g as Ek, l as ai, m as G$, n as UG, o as K$, p as BG, q as E$, t as jG } from "./app-BQ0W0_dt.js";
5
- import { e as ku, f as Xh, h as $n, g as Ku, m as hA, i as Gt, S as LG, T as wc, C as xn, j as Mc, k as Nu, l as VG, n as qG, o as Sk, q as GG, s as KG, t as Ln, u as Yi, v as Su, O as $A, w as gA, x as vA, y as yA, z as zG, A as e$, B as YG, D as HG } from "./order.dto-CUp8zhQC.js";
6
- import { O as ya, s as WG } from "./index-DSB009Br.js";
7
- import { u as on, r as $t, _ as Fk, a as uo, b as t$ } from "./index-BFJ4YEfL.js";
8
- import { r as QG, d as kt, s as JG } from "./index-CGiJXVU3.js";
4
+ import { e as Et, i as NG, c as ri, j as q$, k as xG, g as Ek, l as ai, m as G$, n as UG, o as K$, p as BG, q as E$, t as jG } from "./app-DXFl_O5c.js";
5
+ import { e as ku, f as Xh, h as $n, g as Ku, m as hA, i as Gt, S as LG, T as wc, C as xn, j as Mc, k as Nu, l as VG, n as qG, o as Sk, q as GG, s as KG, t as Ln, u as Yi, v as Su, O as $A, w as gA, x as vA, y as yA, z as zG, A as e$, B as YG, D as HG } from "./order.dto-CJgroFti.js";
6
+ import { O as ya, s as WG } from "./index-Bd-jwCOT.js";
7
+ import { u as on, r as $t, _ as Fk, a as uo, b as t$ } from "./index-CRzEdsma.js";
8
+ import { r as QG, d as kt, s as JG } from "./index-CIwf0p6e.js";
9
9
  import { defineStore as Ck } from "pinia";
10
10
  import { u as tn } from "./snackbar-DZQ0_reQ.js";
11
- import { _ as Or, u as ZG, e as XG } from "./featureFlag-C4gAe_F4.js";
11
+ import { _ as Or, u as ZG, e as XG } from "./featureFlag-BVYtYDE3.js";
12
12
  import { useRouter as eK } from "vue-router";
13
13
  function tK(o, c) {
14
14
  return o ? o.autoAccept ? o.autoAcceptPaidOnly ? c : !0 : !1 : null;
@@ -262,7 +262,7 @@ const op = {
262
262
  enabled: "Enabled",
263
263
  enableDriveThru: "Enable Drive Thru",
264
264
  enableDriveThruSublabel: "Enable drive thru ordering for customers",
265
- enableQueueOrder: "Enable Queue Order",
265
+ enableQueueOrder: "Enable Queue Pre-Order",
266
266
  enableServiceCharge: "Enable Service Charge",
267
267
  end: "End",
268
268
  enterAddress: "Enter Address",
@@ -1606,7 +1606,7 @@ const op = {
1606
1606
  promptAnonymousLoginDialog: "为匿名用户弹出登入对话框",
1607
1607
  queue: "排队",
1608
1608
  queueSettings: "排队设置",
1609
- enableQueueOrder: "启用排队订单",
1609
+ enableQueueOrder: "启用排队预点餐",
1610
1610
  autoCalledLimit: "自动呼叫限制",
1611
1611
  duration: "持续时间",
1612
1612
  disableRemoteQueue: "禁用远程排队",
@@ -2760,7 +2760,7 @@ const op = {
2760
2760
  promptAnonymousLoginDialog: "แสดงหน้าต่างให้เข้าสู่ระบบเมื่อสั่งอาหารโดยไม่เข้าสู่ระบบ",
2761
2761
  queue: "คิว",
2762
2762
  queueSettings: "การตั้งค่าคิว",
2763
- enableQueueOrder: "เปิดใช้งานการสั่งอาหารผ่านระบบคิว",
2763
+ enableQueueOrder: "เปิดใช้งานการสั่งอาหารล่วงหน้าระหว่างรอคิว",
2764
2764
  autoCalledLimit: "จำนวนครั้งในการเรียกคิวอัตโนมัติ",
2765
2765
  duration: "ระยะเวลา",
2766
2766
  disableRemoteQueue: "ปิดการรับคิวออนไลน์",
@@ -3648,7 +3648,7 @@ const op = {
3648
3648
  promptAnonymousLoginDialog: "匿名注文時にログインダイアログを表示",
3649
3649
  queue: "順番待ち",
3650
3650
  queueSettings: "順番待ち設定",
3651
- enableQueueOrder: "順番待ち注文を有効にする",
3651
+ enableQueueOrder: "順番待ち事前注文を有効にする",
3652
3652
  autoCalledLimit: "自動呼び出し制限",
3653
3653
  duration: "時間",
3654
3654
  disableRemoteQueue: "リモート順番待ちを無効にする",
@@ -5722,7 +5722,7 @@ const op = {
5722
5722
  }, gp = {
5723
5723
  order: up,
5724
5724
  menu: mp
5725
- }, hp = "0.0.94", fp = "fmmf";
5725
+ }, hp = "0.0.95-dev.20261022T143049Z.39795843901", fp = "fmmf";
5726
5726
  let Rd = !1;
5727
5727
  function Ap() {
5728
5728
  Rd || (Rd = !0, console.log(
@@ -22292,14 +22292,14 @@ wI();
22292
22292
  let rr = null;
22293
22293
  function bd() {
22294
22294
  return rr || (rr = gv().length > 0 ? sd() : Qh({
22295
- apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4",
22296
- authDomain: "feedme-253402.firebaseapp.com",
22297
- projectId: "feedme-253402",
22298
- storageBucket: "image.feedme.cc",
22299
- messagingSenderId: "128512026847",
22300
- appId: "1:128512026847:web:c2d7610ae1874f01dc616a",
22301
- measurementId: "G-4D8B9X2THG",
22302
- databaseURL: "https://feedme-253402.firebaseio.com"
22295
+ apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4",
22296
+ authDomain: "feedme-dev-4c3ef.firebaseapp.com",
22297
+ projectId: "feedme-dev-4c3ef",
22298
+ storageBucket: "image.feedmedev.cc",
22299
+ messagingSenderId: "458797803788",
22300
+ appId: "1:458797803788:web:37f2af2926a84288f0c129",
22301
+ measurementId: "G-YH5GZ1DF39",
22302
+ databaseURL: "https://feedme-dev-4c3ef.firebaseio.com"
22303
22303
  }), rr);
22304
22304
  }
22305
22305
  function wC() {
@@ -24277,14 +24277,14 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
24277
24277
  // allow access via either subject (coverSubject = OR fallback).
24278
24278
  path: Ni.KioskRoute,
24279
24279
  name: "Kiosk",
24280
- component: wi(cn(() => import("./KioskView-CeKSWYbI.js"))),
24280
+ component: wi(cn(() => import("./KioskView-Jcflbpx9.js"))),
24281
24281
  meta: ji([{ ...Cg, coverSubject: vC.subject }])
24282
24282
  },
24283
24283
  {
24284
24284
  path: Ni.KioskDeviceRoute,
24285
24285
  name: "Kiosk Device",
24286
24286
  component: wi(
24287
- cn(() => import("./KioskDevicesView-DvUq9eFa.js"))
24287
+ cn(() => import("./KioskDevicesView-BYQr8p55.js"))
24288
24288
  ),
24289
24289
  meta: ji([Cg])
24290
24290
  },
@@ -24294,7 +24294,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
24294
24294
  path: Ni.KioskOrderSettingRoute,
24295
24295
  name: "Kiosk Order Setting",
24296
24296
  component: wi(
24297
- cn(() => import("./KioskSettingView-Ba1sLolg.js"))
24297
+ cn(() => import("./KioskSettingView-DribOudf.js"))
24298
24298
  ),
24299
24299
  meta: ji([ns])
24300
24300
  },
@@ -24302,7 +24302,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
24302
24302
  path: Ni.OrderSettingView,
24303
24303
  name: "Order Setting View",
24304
24304
  component: wi(
24305
- cn(() => import("./OrderSettingsView-CdxkPS_V.js"))
24305
+ cn(() => import("./OrderSettingsView-YZkCJsGS.js"))
24306
24306
  ),
24307
24307
  meta: ji([ns])
24308
24308
  },
@@ -24310,7 +24310,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
24310
24310
  path: Ni.DisplaySystemView,
24311
24311
  name: "Display System View",
24312
24312
  component: wi(
24313
- cn(() => import("./DisplaySystemView-Doh1JUoe.js"))
24313
+ cn(() => import("./DisplaySystemView-CXrS1yIT.js"))
24314
24314
  ),
24315
24315
  meta: ji([{ ...ns, coverSubject: Ue.Subject.Business.miniProgram_brandkit }])
24316
24316
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as e, x as r, y as o } from "./app-BQ0W0_dt.js";
1
+ import { _ as e, x as r, y as o } from "./app-DXFl_O5c.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -2,7 +2,7 @@ var le = Object.defineProperty;
2
2
  var ue = (S, c, v) => c in S ? le(S, c, { enumerable: !0, configurable: !0, writable: !0, value: v }) : S[c] = v;
3
3
  var ot = (S, c, v) => ue(S, typeof c != "symbol" ? c + "" : c, v);
4
4
  import { readonly as Pt, ref as Ut } from "vue";
5
- import { c as st } from "./app-BQ0W0_dt.js";
5
+ import { c as st } from "./app-DXFl_O5c.js";
6
6
  const _e = (S, c) => {
7
7
  const v = S.__vccOpts || S;
8
8
  for (const [d, s] of c)