@feedmepos/mf-order-setting 0.0.79 → 0.0.80

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 (35) hide show
  1. package/dist/{DisplaySystemView-BKTYE0GI.js → DisplaySystemView-B4Ja1kBe.js} +2 -2
  2. package/dist/{KioskDevicesView-B3AWg9QR.js → KioskDevicesView-jYkKGyRX.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-s79NGSsG.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Wicz8r3Q.js} +4 -4
  4. package/dist/{KioskSettingView-D8-2hQT9.js → KioskSettingView-CDO8VdiK.js} +4 -4
  5. package/dist/{KioskView-CrbUYY75.js → KioskView-Dex_N5wi.js} +6 -6
  6. package/dist/{OrderSettingsView-BPv13A7B.js → OrderSettingsView-D4YqwLji.js} +9728 -9551
  7. package/dist/{app-rzXWOYA2.js → app-DxJcADSR.js} +296 -236
  8. package/dist/app.js +1 -1
  9. package/dist/{firebase-storage-BTc4aPcq.js → firebase-storage-GDIc9Lze.js} +1 -1
  10. package/dist/frontend/mf-order/src/app.d.ts +60 -0
  11. package/dist/frontend/mf-order/src/main.d.ts +60 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +27 -0
  13. package/dist/frontend/mf-order/src/views/order-settings/queue/code-setting-band.d.ts +19 -0
  14. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  15. package/dist/{index-BQLc4wu7.js → index-BOw_SLS3.js} +1 -1
  16. package/dist/{index-DMgNRp_k.js → index-BP2ZDwqX.js} +2 -2
  17. package/dist/{index-1TKkR2Bs.js → index-CTRKXPzk.js} +3 -3
  18. package/dist/{index-BoJCd-Jk.js → index-Dl-iHqtg.js} +1 -1
  19. package/dist/{order.dto-Ck2nw6IY.js → order.dto-BkJSHx_a.js} +197 -170
  20. package/dist/package/entity/order-setting/order-setting.do.d.ts +79 -0
  21. package/dist/package/entity/order-setting/order-setting.dto.d.ts +158 -0
  22. package/dist/package/entity/order-setting/queue/queue.do.d.ts +158 -0
  23. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +62 -0
  24. package/dist/package/entity/queue/queue.dto.d.ts +62 -0
  25. package/dist/package/entity/restaurant/restaurant.dto.d.ts +158 -0
  26. package/package.json +1 -1
  27. package/src/locales/en-US.json +15 -0
  28. package/src/locales/ja-JP.json +15 -0
  29. package/src/locales/th-TH.json +16 -1
  30. package/src/locales/zh-CN.json +16 -1
  31. package/src/views/order-settings/queue/QueueSetting.vue +294 -2
  32. package/src/views/order-settings/queue/code-setting-band.spec.ts +69 -0
  33. package/src/views/order-settings/queue/code-setting-band.ts +27 -0
  34. package/src/views/order-settings/queue/queue-wait-estimate-dto.spec.ts +131 -0
  35. package/vite.config.ts +1 -1
@@ -2,8 +2,8 @@ import { ref as w, defineComponent as pe, computed as W, onBeforeMount as we, on
2
2
  import { useI18n as ye, useCoreStore as _e } from "@feedmepos/mf-common";
3
3
  import { u as Pe } from "./snackbar-DZQ0_reQ.js";
4
4
  import { defineStore as $e } from "pinia";
5
- import { g as le, a as Ue, c as Ie } from "./index-BQLc4wu7.js";
6
- import { u as Ve } from "./firebase-storage-BTc4aPcq.js";
5
+ import { g as le, a as Ue, c as Ie } from "./index-BOw_SLS3.js";
6
+ import { u as Ve } from "./firebase-storage-GDIc9Lze.js";
7
7
  import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  function he(r) {
9
9
  return r ? JSON.parse(
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-s79NGSsG.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Wicz8r3Q.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,11 +1,11 @@
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, a as Be, p as Re } from "./index-BQLc4wu7.js";
5
- import "./order.dto-Ck2nw6IY.js";
4
+ import { r as J, g as ue, a as Be, p as Re } from "./index-BOw_SLS3.js";
5
+ import "./order.dto-BkJSHx_a.js";
6
6
  import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
7
- import { d as ce, s as be } from "./index-BoJCd-Jk.js";
8
- import { c as Ne, g as Ke, a as xe } from "./app-rzXWOYA2.js";
7
+ import { d as ce, s as be } from "./index-Dl-iHqtg.js";
8
+ import { c as Ne, g as Ke, a as xe } from "./app-DxJcADSR.js";
9
9
  async function Ue() {
10
10
  const t = await J().get("/kiosk/otp");
11
11
  return ue(t);
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as te, computed as C, ref as M, onMounted as re, resolveComponent as P, openBlock as T, createBlock as z, withCtx as _, createVNode as d, unref as a, createElementVNode as r, withDirectives as R, vShow as U, toDisplayString as f, watch as de, createElementBlock as q, createCommentVNode as ee } from "vue";
2
- import { e as le } from "./app-rzXWOYA2.js";
3
- import { b as u, c as se } from "./order.dto-Ck2nw6IY.js";
4
- import { _ as ie, u as ue, a as me } from "./index-1TKkR2Bs.js";
2
+ import { e as le } from "./app-DxJcADSR.js";
3
+ import { b as u, c as se } from "./order.dto-BkJSHx_a.js";
4
+ import { _ as ie, u as ue, a as me } from "./index-CTRKXPzk.js";
5
5
  import { useI18n as ne, useCoreStore as pe } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as ce } from "@feedmepos/ui-library";
7
- import { u as ye } from "./firebase-storage-BTc4aPcq.js";
7
+ import { u as ye } from "./firebase-storage-GDIc9Lze.js";
8
8
  const fe = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, ve = { class: "ml-7" }, be = { class: "ml-7" }, ge = { class: "flex flex-row gap-9" }, Ie = /* @__PURE__ */ te({
9
9
  __name: "KioskPaymentTypeSection",
10
10
  props: {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as G, openBlock as _, createElementBlock as Q, createElementVNode as y, toDisplayString as A, unref as i, ref as f, defineAsyncComponent as re, computed as T, onMounted as ce, watch as ue, resolveComponent as w, createVNode as U, withCtx as oe, createBlock as E, createCommentVNode as F } from "vue";
2
- import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-s79NGSsG.js";
2
+ import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Wicz8r3Q.js";
3
3
  import { useDialog as ie, useSnackbar as me } from "@feedmepos/ui-library";
4
4
  import { useI18n as z, useCoreStore as ye } from "@feedmepos/mf-common";
5
- import { S as N } from "./index-BQLc4wu7.js";
5
+ import { S as N } from "./index-BOw_SLS3.js";
6
6
  import { defineStore as fe } from "pinia";
7
- import { O as H } from "./index-DMgNRp_k.js";
8
- import { F as ve, a as be } from "./order.dto-Ck2nw6IY.js";
9
- import { u as _e } from "./app-rzXWOYA2.js";
7
+ import { O as H } from "./index-BP2ZDwqX.js";
8
+ import { F as ve, a as be } from "./order.dto-BkJSHx_a.js";
9
+ import { u as _e } from "./app-DxJcADSR.js";
10
10
  const Ce = { class: "flex flex-col gap-5 pb-6" }, he = { class: "fm-typo-en-body-md-400 block" }, Pe = { class: "fm-typo-en-title-md-600" }, we = /* @__PURE__ */ G({
11
11
  __name: "KioskOtpDialog",
12
12
  props: {
@@ -307,7 +307,7 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
307
307
  setup(e) {
308
308
  var $, M;
309
309
  const { t: a } = z(), { canManageOrderSetting: l } = _e(), c = re(
310
- () => import("./KioskSettingView-D8-2hQT9.js")
310
+ () => import("./KioskSettingView-CDO8VdiK.js")
311
311
  ), t = f("device"), n = se(), u = Ue(), o = pe(), p = ie(), { currentRestaurant: d, restaurants: m, changeRestaurant: C } = ye(), v = me(), h = f((($ = d.value) == null ? void 0 : $._id) ?? void 0), I = f(null), x = f(""), D = f(null), q = T(() => {
312
312
  const r = x.value.trim().toLowerCase();
313
313
  return m.value.filter(