@feedmepos/mf-order-setting 0.0.104 → 0.0.105

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.
Files changed (32) hide show
  1. package/dist/{DisplaySystemView-vuipxGRx.js → DisplaySystemView-CFr9DnaD.js} +4 -4
  2. package/dist/{FoodCourtInvitationsView-BZMsiArC.js → FoodCourtInvitationsView-Bo174yfB.js} +4 -4
  3. package/dist/{FoodCourtOrderSettingsView-i4bTicbZ.js → FoodCourtOrderSettingsView-uUe53O0Z.js} +1 -1
  4. package/dist/{FoodCourtOrdersView-CZM4c0bp.js → FoodCourtOrdersView-CxC5oGp2.js} +4 -4
  5. package/dist/{FoodCourtStallsView-BLeIFnAy.js → FoodCourtStallsView-BEpRBmSL.js} +2 -2
  6. package/dist/{FoodCourtStatusView-1oG0L1NW.js → FoodCourtStatusView-DA7mdsuf.js} +1 -1
  7. package/dist/{KioskDevicesView-AuzH288u.js → KioskDevicesView-BY9Egk75.js} +1 -1
  8. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-C1OGpYPP.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CxroxD-b.js} +5 -5
  9. package/dist/{KioskSettingView-BWcj91OM.js → KioskSettingView-DPaQ7YFV.js} +3 -3
  10. package/dist/{KioskView-Cj5FSqJn.js → KioskView-BYL0u6kj.js} +8 -8
  11. package/dist/{OrderSettingsView-Cl8fOtbj.js → OrderSettingsView-BBHAhgE9.js} +14212 -14191
  12. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-c8v_szfd.js → RestaurantSelector.vue_vue_type_script_setup_true_lang--9bdtLE1.js} +1 -1
  13. package/dist/{app-Cf1H6V1s.js → app-BV2USn83.js} +1616 -1378
  14. package/dist/app.js +1 -1
  15. package/dist/{dayjs.min-D-VxMFb0.js → dayjs.min-Bp4Kgnt_.js} +1 -1
  16. package/dist/{featureFlag-rUt7H5aH.js → featureFlag-C1uGG7u6.js} +1 -1
  17. package/dist/frontend/mf-order/src/app.d.ts +222 -0
  18. package/dist/frontend/mf-order/src/main.d.ts +222 -0
  19. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{index-CtKOHwTp.js → index-0GuybwuA.js} +1 -1
  21. package/dist/{index-ffTQvJeM.js → index-CRNutZC_.js} +4 -4
  22. package/dist/{index-C3BPAUoF.js → index-D0ZIByef.js} +1 -1
  23. package/dist/{index-CMaJn6Yc.js → index-HF3qh9qG.js} +1 -1
  24. package/dist/{index-GZ4oNEnl.js → index-KWOCCun9.js} +2 -2
  25. package/dist/{order.dto-Dk3w1iY7.js → order.dto-GQaBESZq.js} +2 -2
  26. package/dist/{useInternalUser-8uTpJ7hZ.js → useInternalUser-C39xpsBU.js} +1 -1
  27. package/package.json +1 -1
  28. package/src/locales/en-US.json +111 -0
  29. package/src/locales/th-TH.json +116 -5
  30. package/src/views/order-settings/reservation/CopySettingsSheet.vue +21 -21
  31. package/src/views/order-settings/reservation/ReservationSetting.vue +226 -148
  32. package/src/views/order-settings/reservation/reservation-pos-note.spec.ts +1 -1
@@ -2,13 +2,13 @@ import { ref as K, defineComponent as he, computed as V, watch as be, resolveCom
2
2
  import { useRoute as ts, useRouter as os } from "vue-router";
3
3
  import { useI18n as Pe, useCoreStore as nt, RestaurantSelector as as } from "@feedmepos/mf-common";
4
4
  import { u as Ja } from "./snackbar-DZQ0_reQ.js";
5
- import { D as Za } from "./order.dto-Dk3w1iY7.js";
5
+ import { D as Za } from "./order.dto-GQaBESZq.js";
6
6
  import { defineStore as ns } from "pinia";
7
- import { g as st, S as Ya, d as ss, c as so } from "./index-CMaJn6Yc.js";
7
+ import { g as st, S as Ya, d as ss, c as so } from "./index-HF3qh9qG.js";
8
8
  import { useDialogChild as ls, useDialog as Xa } from "@feedmepos/ui-library";
9
9
  import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { A as rs, v as Qa, u as is } from "./app-Cf1H6V1s.js";
11
- import { u as ds, e as us } from "./featureFlag-rUt7H5aH.js";
10
+ import { A as rs, v as Qa, u as is } from "./app-BV2USn83.js";
11
+ import { u as ds, e as us } from "./featureFlag-C1uGG7u6.js";
12
12
  function en(e) {
13
13
  return JSON.parse(JSON.stringify(e));
14
14
  }
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as P, resolveComponent as C, openBlock as l, createBlock as T, withCtx as E, createVNode as f, unref as a, createCommentVNode as I, ref as g, computed as S, watch as Y, createElementVNode as u, toDisplayString as v, createElementBlock as m, Fragment as J, withKeys as O, h as H, isRef as W } from "vue";
2
- import { d as Q } from "./dayjs.min-D-VxMFb0.js";
2
+ import { d as Q } from "./dayjs.min-Bp4Kgnt_.js";
3
3
  import { useI18n as R, useCoreStore as X } from "@feedmepos/mf-common";
4
4
  import { useDialog as Z, components as ee } from "@feedmepos/ui-library";
5
5
  import { u as te } from "./snackbar-DZQ0_reQ.js";
6
6
  import { u as oe } from "./search-BAPEUu1R.js";
7
- import { g as B, b as q } from "./index-CMaJn6Yc.js";
8
- import { f as ae } from "./index-CtKOHwTp.js";
7
+ import { g as B, b as q } from "./index-HF3qh9qG.js";
8
+ import { f as ae } from "./index-0GuybwuA.js";
9
9
  import { i as ne, n as D, k as re, l as se, e as K, M as le, m as ie, o as ue } from "./food-court-member-joC8tmsI.js";
10
- import { _ as de } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-c8v_szfd.js";
10
+ import { _ as de } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang--9bdtLE1.js";
11
11
  const U = () => q("/foodcourt-v2/join-codes"), V = {
12
12
  /** One item per court that has a row for this restaurant. */
13
13
  async listMemberships(p) {
@@ -5,7 +5,7 @@ import { u as re } from "./useFoodCourtContext-2p5sJMcB.js";
5
5
  import { onBeforeRouteLeave as ne } from "vue-router";
6
6
  import { u as W } from "./index-Cmb4sEqq.js";
7
7
  import { u as Q } from "./snackbar-DZQ0_reQ.js";
8
- import { F as D } from "./index-CtKOHwTp.js";
8
+ import { F as D } from "./index-0GuybwuA.js";
9
9
  function le(r, n) {
10
10
  async function o() {
11
11
  return !r.value || await n();
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as We, ref as H, computed as ie, watch as Te, resolveComponent as G, openBlock as T, createBlock as ce, unref as h, withCtx as ne, createElementBlock as U, createElementVNode as _, toDisplayString as I, createVNode as j, Fragment as re, renderList as ve, createCommentVNode as le, createTextVNode as Le, normalizeClass as ur, h as fr } from "vue";
2
- import { d as X } from "./dayjs.min-D-VxMFb0.js";
2
+ import { d as X } from "./dayjs.min-Bp4Kgnt_.js";
3
3
  import { useRoute as cr, useRouter as mr } from "vue-router";
4
4
  import { useI18n as Qe } from "@feedmepos/mf-common";
5
5
  import { components as vr } from "@feedmepos/ui-library";
6
6
  import { u as Ze } from "./snackbar-DZQ0_reQ.js";
7
7
  import { u as pr } from "./useFoodCourtContext-2p5sJMcB.js";
8
- import { d as De } from "./index-CtKOHwTp.js";
8
+ import { d as De } from "./index-0GuybwuA.js";
9
9
  import { e as Se } from "./food-court-member-joC8tmsI.js";
10
- import { a as hr } from "./index-C3BPAUoF.js";
11
- import { a as yr } from "./index-CMaJn6Yc.js";
10
+ import { a as hr } from "./index-D0ZIByef.js";
11
+ import { a as yr } from "./index-HF3qh9qG.js";
12
12
  const we = ["PAID", "PENDING_PAYMENT", "CANCELLED"], pe = {
13
13
  PAID: { variant: "success", labelKey: "order.foodCourt.orders.statusPaid" },
14
14
  PENDING_PAYMENT: { variant: "warning", labelKey: "order.foodCourt.orders.statusPendingPayment" },
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as G, computed as $, resolveComponent as w, openBlock as u, createBlock as P, withCtx as R, createElementBlock as _, Fragment as X, renderList as ne, unref as t, createVNode as C, createCommentVNode as z, ref as N, watch as ee, createElementVNode as b, toDisplayString as T, nextTick as ie, h as D, isRef as ue } from "vue";
2
- import { d as se } from "./dayjs.min-D-VxMFb0.js";
2
+ import { d as se } from "./dayjs.min-Bp4Kgnt_.js";
3
3
  import { useI18n as K } from "@feedmepos/mf-common";
4
4
  import { useDialog as ce, components as te } from "@feedmepos/ui-library";
5
5
  import { u as oe } from "./snackbar-DZQ0_reQ.js";
6
6
  import { u as me } from "./useFoodCourtContext-2p5sJMcB.js";
7
7
  import { u as fe } from "./search-BAPEUu1R.js";
8
- import { a as U, b as O } from "./index-CtKOHwTp.js";
8
+ import { a as U, b as O } from "./index-0GuybwuA.js";
9
9
  import { S as pe, a as ve, b as le, J as q, c as ae, f as Ce, j as ye, d as ge, e as Q, r as re, s as be, g as Z, h as _e, t as xe } from "./food-court-member-joC8tmsI.js";
10
10
  const he = /* @__PURE__ */ G({
11
11
  __name: "StallRowActions",
@@ -2,7 +2,7 @@ import { defineComponent as B, ref as c, watch as N, resolveComponent as u, open
2
2
  import { useI18n as H } from "@feedmepos/mf-common";
3
3
  import { u as z } from "./snackbar-DZQ0_reQ.js";
4
4
  import { u as D } from "./useFoodCourtContext-2p5sJMcB.js";
5
- import { c as b } from "./index-CtKOHwTp.js";
5
+ import { c as b } from "./index-0GuybwuA.js";
6
6
  import { e as x } from "./food-court-member-joC8tmsI.js";
7
7
  const K = { class: "py-[1.5rem]" }, L = {
8
8
  key: 0,
@@ -1,4 +1,4 @@
1
- import { d as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-C1OGpYPP.js";
1
+ import { d as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-CxroxD-b.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,12 @@
1
1
  import { ref as K, defineComponent as H, resolveComponent as D, openBlock as i, createElementBlock as u, createElementVNode as s, toDisplayString as l, unref as o, createVNode as h, computed as k, createBlock as $, withCtx as U, createCommentVNode as x, Fragment as L, renderList as Y, createTextVNode as F, watch as Pe, normalizeClass as $e, renderSlot as nt } from "vue";
2
2
  import { useI18n as Z, useCoreStore as at } from "@feedmepos/mf-common";
3
3
  import { defineStore as Le } from "pinia";
4
- import { r as ee, g as oe, S as Fe, p as Ke } from "./index-CMaJn6Yc.js";
5
- import "./order.dto-Dk3w1iY7.js";
4
+ import { r as ee, g as oe, S as Fe, p as Ke } from "./index-HF3qh9qG.js";
5
+ import "./order.dto-GQaBESZq.js";
6
6
  import { useSnackbar as Me, useDialog as ot } from "@feedmepos/ui-library";
7
- import { d as G } from "./dayjs.min-D-VxMFb0.js";
8
- import { c as rt, g as st, a as Be } from "./app-Cf1H6V1s.js";
9
- import { s as Se, u as it } from "./useInternalUser-8uTpJ7hZ.js";
7
+ import { d as G } from "./dayjs.min-Bp4Kgnt_.js";
8
+ import { c as rt, g as st, a as Be } from "./app-BV2USn83.js";
9
+ import { s as Se, u as it } from "./useInternalUser-C39xpsBU.js";
10
10
  async function lt() {
11
11
  const e = await ee().get("/kiosk/otp");
12
12
  return oe(e);
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Re, computed as C, ref as R, onMounted as ve, resolveComponent as E, openBlock as k, createBlock as de, withCtx as L, createVNode as i, unref as a, createElementVNode as t, withDirectives as A, vShow as U, toDisplayString as u, reactive as ta, watch as Ce, nextTick as me, onBeforeUnmount as na, createElementBlock as V, normalizeStyle as Pe, Fragment as B, renderList as j, normalizeClass as ae, createCommentVNode as D, toRaw as oa } from "vue";
2
- import { e as Ve, b as Ee, s as Fe, d as sa, r as Te, f as Ae, h as ra } from "./app-Cf1H6V1s.js";
3
- import { b as h, K as da, c as ia } from "./order.dto-Dk3w1iY7.js";
4
- import { _ as ua, u as ca } from "./index-ffTQvJeM.js";
2
+ import { e as Ve, b as Ee, s as Fe, d as sa, r as Te, f as Ae, h as ra } from "./app-BV2USn83.js";
3
+ import { b as h, K as da, c as ia } from "./order.dto-GQaBESZq.js";
4
+ import { _ as ua, u as ca } from "./index-CRNutZC_.js";
5
5
  import { useI18n as Ne, FeedMeAuth as Oe, useCoreStore as pa } from "@feedmepos/mf-common";
6
6
  import { u as ma } from "./index-Cmb4sEqq.js";
7
7
  import { useSnackbar as ya } from "@feedmepos/ui-library";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as z, computed as I, h as L, resolveComponent as C, openBlock as y, createElementBlock as h, createElementVNode as f, toDisplayString as _, unref as i, createVNode as P, Fragment as g, renderList as de, createBlock as A, resolveDynamicComponent as Le, createCommentVNode as F, normalizeClass as Ae, ref as x, defineAsyncComponent as Ee, watch as j, withDirectives as Re, withCtx as X, vShow as Ke } from "vue";
2
- import { s as oe, l as N, _ as Fe, a as De, b as Ue, u as ge, c as Ne, d as $e, e as re } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-C1OGpYPP.js";
3
- import { d as qe } from "./dayjs.min-D-VxMFb0.js";
2
+ import { s as oe, l as N, _ as Fe, a as De, b as Ue, u as ge, c as Ne, d as $e, e as re } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-CxroxD-b.js";
3
+ import { d as qe } from "./dayjs.min-Bp4Kgnt_.js";
4
4
  import { useI18n as Q, useCoreStore as Be } from "@feedmepos/mf-common";
5
5
  import { components as Me, useDialog as Ve, useSnackbar as je } from "@feedmepos/ui-library";
6
6
  import { onBeforeRouteLeave as Xe } from "vue-router";
7
- import { S as H, a as se } from "./index-CMaJn6Yc.js";
7
+ import { S as H, a as se } from "./index-HF3qh9qG.js";
8
8
  import { defineStore as We } from "pinia";
9
- import { O as W } from "./index-GZ4oNEnl.js";
10
- import { F as Ge, a as He } from "./order.dto-Dk3w1iY7.js";
11
- import { u as Ye } from "./app-Cf1H6V1s.js";
12
- import { u as ze } from "./useInternalUser-8uTpJ7hZ.js";
9
+ import { O as W } from "./index-KWOCCun9.js";
10
+ import { F as Ge, a as He } from "./order.dto-GQaBESZq.js";
11
+ import { u as Ye } from "./app-BV2USn83.js";
12
+ import { u as ze } from "./useInternalUser-C39xpsBU.js";
13
13
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const Je = { class: "flex flex-col gap-4" }, Ze = { class: "fm-typo-en-title-sm-600 block" }, Se = {
15
15
  class: "hidden xs:flex flex-col gap-8",
@@ -517,7 +517,7 @@ const Ba = { class: "py-[1.5rem]" }, Ma = { class: "px-[1.5rem]" }, Va = { class
517
517
  setup(e) {
518
518
  var ne;
519
519
  const { t: a } = Q(), { canManageOrderSetting: l } = Ye(), { isInternal: r } = ze(), t = Ee(
520
- () => import("./KioskSettingView-BWcj91OM.js")
520
+ () => import("./KioskSettingView-DPaQ7YFV.js")
521
521
  ), n = x("device"), o = ge(), u = Ta(), d = Ne(), s = Ve(), { currentRestaurant: m, restaurants: b, changeRestaurant: T } = Be(), w = je(), v = x(((ne = m.value) == null ? void 0 : ne._id) ?? void 0), E = x(null), $ = x(""), J = x(null), Z = I(() => {
522
522
  const c = $.value.trim().toLowerCase();
523
523
  return b.value.filter(