@feedmepos/mf-order-setting 0.0.100 → 0.0.102

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 (43) hide show
  1. package/dist/{DisplaySystemView-bnG_JNDd.js → DisplaySystemView-jnt6letY.js} +4 -4
  2. package/dist/{FoodCourtInvitationsView-DbuetF4z.js → FoodCourtInvitationsView-DoynqFWB.js} +4 -4
  3. package/dist/{FoodCourtOrderSettingsView-BXgApCVG.js → FoodCourtOrderSettingsView-DYZLhTHy.js} +1 -1
  4. package/dist/{FoodCourtOrdersView-K0iC1arR.js → FoodCourtOrdersView-CAPOycT3.js} +3 -3
  5. package/dist/{FoodCourtStallsView-DijfdyBw.js → FoodCourtStallsView-CRMTt5BB.js} +2 -2
  6. package/dist/{FoodCourtStatusView-DTriHcSD.js → FoodCourtStatusView-C-b-eI-8.js} +1 -1
  7. package/dist/{KioskDevicesView-d2SWWkhC.js → KioskDevicesView-B0U9JxRl.js} +1 -1
  8. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DA6c96uZ.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js} +5 -5
  9. package/dist/{KioskSettingView-I7Hgzrvr.js → KioskSettingView-rdom_aS8.js} +3 -3
  10. package/dist/{KioskView-B_lLNsaU.js → KioskView-DOON9zR6.js} +6 -6
  11. package/dist/{OrderSettingsView-8OS93YGL.js → OrderSettingsView-BBCnekaj.js} +10959 -10953
  12. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-K0oCZMt8.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js} +1 -1
  13. package/dist/{app-qdN8kXAM.js → app-Dvk30CIa.js} +511 -507
  14. package/dist/app.js +1 -1
  15. package/dist/{dayjs.min-C-IKwmsU.js → dayjs.min-DUFHhM7O.js} +1 -1
  16. package/dist/{featureFlag-z_-AhzUC.js → featureFlag-BvcirzHS.js} +1 -1
  17. package/dist/frontend/mf-order/src/api/order-setting/index.d.ts +3 -1
  18. package/dist/frontend/mf-order/src/api/order-setting/queue-counter.d.ts +14 -0
  19. package/dist/frontend/mf-order/src/app.d.ts +4 -0
  20. package/dist/frontend/mf-order/src/main.d.ts +4 -0
  21. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{index-BxK-mqfV.js → index-C4n5H7t3.js} +1 -1
  23. package/dist/index-C5n6lil6.js +39 -0
  24. package/dist/{index-DjtNAyFp.js → index-CGxCWKHB.js} +4 -4
  25. package/dist/{index-BK-RT8YN.js → index-CW4VlFWz.js} +1 -1
  26. package/dist/{index-WSlqpTW2.js → index-CaHG3M7C.js} +1 -1
  27. package/dist/{index-DfsaaxdM.js → index-ILnighyU.js} +1 -1
  28. package/dist/{order.dto-BTF8MlM5.js → order.dto-Cb_gh3iB.js} +1119 -1116
  29. package/dist/package/entity/order-setting/order-setting.dto.d.ts +236 -2
  30. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +263 -0
  31. package/package.json +1 -1
  32. package/src/api/order-setting/index.ts +4 -2
  33. package/src/api/order-setting/queue-counter.spec.ts +74 -0
  34. package/src/api/order-setting/queue-counter.ts +34 -0
  35. package/src/locales/en-US.json +1 -0
  36. package/src/locales/ja-JP.json +1 -0
  37. package/src/locales/th-TH.json +1 -0
  38. package/src/locales/zh-CN.json +1 -0
  39. package/src/views/order-settings/queue/QueueSetting.source.spec.ts +29 -0
  40. package/src/views/order-settings/queue/QueueSetting.vue +22 -1
  41. package/src/views/order-settings/reservation/ReservationSetting.vue +710 -715
  42. package/src/views/order-settings/reservation/reservation-pos-note.spec.ts +42 -0
  43. package/dist/index-DeUtM1Z8.js +0 -24
@@ -1,7 +1,7 @@
1
1
  var dn = Object.defineProperty;
2
2
  var pn = (e, t, n) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var je = (e, t, n) => pn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { e as Ct } from "./app-qdN8kXAM.js";
4
+ import { e as Ct } from "./app-Dvk30CIa.js";
5
5
  import { useCoreStore as Y } from "@feedmepos/mf-common";
6
6
  function Ut(e, t) {
7
7
  return function() {
@@ -0,0 +1,39 @@
1
+ import { g as s, s as o, a as g, r as u } from "./index-C4n5H7t3.js";
2
+ import "./order.dto-Cb_gh3iB.js";
3
+ function S(t, n = () => !1) {
4
+ var i;
5
+ const e = (i = t.queueSettings) == null ? void 0 : i.codeSettings;
6
+ return e ? {
7
+ ...t,
8
+ queueSettings: {
9
+ ...t.queueSettings,
10
+ codeSettings: e.map((r, a) => {
11
+ if (n(r, a)) return r;
12
+ const { current: m, ...c } = r;
13
+ return c;
14
+ })
15
+ }
16
+ } : t;
17
+ }
18
+ async function d() {
19
+ const t = await u().get("/order-settings");
20
+ return s(t);
21
+ }
22
+ async function f(t, n) {
23
+ const e = await u().put("/order-settings", S(t, n));
24
+ return s(e);
25
+ }
26
+ const O = {
27
+ getOrderSetting: d,
28
+ updateOrderSetting: f
29
+ };
30
+ async function p() {
31
+ return s(await o().get(`balance/${g.getBusinessId()}`));
32
+ }
33
+ const l = {
34
+ read: p
35
+ };
36
+ export {
37
+ O,
38
+ l as s
39
+ };
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as H, ref as V, resolveComponent as R, openBlock as f, createElementBlock as T, createElementVNode as v, toDisplayString as S, createVNode as b, unref as x, createBlock as z, computed as U, watch as oe, onMounted as re, withCtx as N, createTextVNode as se, createCommentVNode as E, Fragment as ie, renderList as le, renderSlot as ae } from "vue";
2
- import { e as g } from "./app-qdN8kXAM.js";
2
+ import { e as g } from "./app-Dvk30CIa.js";
3
3
  import { useDialog as ue } from "@feedmepos/ui-library";
4
4
  import { useI18n as Y, useCoreStore as ne } from "@feedmepos/mf-common";
5
5
  import { defineStore as de } from "pinia";
6
- import { r as F, g as a, b as O, a as Q } from "./index-BxK-mqfV.js";
7
- import "./order.dto-BTF8MlM5.js";
8
- import { a as q } from "./index-BK-RT8YN.js";
6
+ import { r as F, g as a, b as O, a as Q } from "./index-C4n5H7t3.js";
7
+ import "./order.dto-Cb_gh3iB.js";
8
+ import { a as q } from "./index-CW4VlFWz.js";
9
9
  const ce = /* @__PURE__ */ H({
10
10
  __name: "OfflinePaymentTypeDialogContent",
11
11
  props: {
@@ -1,4 +1,4 @@
1
- import { c as Le, j as ea } from "./app-qdN8kXAM.js";
1
+ import { c as Le, j as ea } from "./app-Dvk30CIa.js";
2
2
  function Ct(me) {
3
3
  throw new Error('Could not dynamically require "' + me + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -1,4 +1,4 @@
1
- import { g as a, b as o } from "./index-BxK-mqfV.js";
1
+ import { g as a, b as o } from "./index-C4n5H7t3.js";
2
2
  const n = (e) => o(`/food-court-v2/${e}`), u = {
3
3
  async getDineIn(e) {
4
4
  return a(await n(e).get("/dine-in"));
@@ -1,4 +1,4 @@
1
- import { g as Kr } from "./app-qdN8kXAM.js";
1
+ import { g as Kr } from "./app-Dvk30CIa.js";
2
2
  var k = { exports: {} }, se, er;
3
3
  function H() {
4
4
  if (er) return se;