@feedmepos/mf-order-setting 0.0.35 → 0.0.37

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 (41) hide show
  1. package/dist/{KioskDevicesView-wPKewwAS.js → KioskDevicesView-D9PQ22G6.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BuwHk_0a.js} +2 -2
  3. package/dist/{KioskSettingView-CV54HpY2.js → KioskSettingView-C98iSa7q.js} +1 -1
  4. package/dist/{KioskView-B4mggCt0.js → KioskView-C6s4u6vt.js} +7 -7
  5. package/dist/{OrderSettingsView-Cp3aV3Ps.js → OrderSettingsView-DFB_C-VO.js} +6031 -5898
  6. package/dist/{app-DlQj6ZP0.js → app-86WCOyBO.js} +21 -9
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-C_sCJHuD.js → dayjs.min-BiuO1l2_.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +12 -0
  10. package/dist/frontend/mf-order/src/helpers/order-setting.d.ts +6 -0
  11. package/dist/frontend/mf-order/src/main.d.ts +12 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +27 -0
  13. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  14. package/dist/{index-Cvhc_ltu.js → index-DZKSDqn_.js} +2 -2
  15. package/dist/menu.dto-CT1XwUKO.js +127978 -0
  16. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +24 -24
  17. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +48 -48
  18. package/dist/package/entity/order/menu/menu.dto.d.ts +10 -0
  19. package/dist/package/entity/order/order-item/order-item.dto.d.ts +48 -48
  20. package/dist/package/entity/order/order.do.d.ts +20 -8
  21. package/dist/package/entity/order/order.dto.d.ts +280 -164
  22. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -0
  23. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +18 -0
  24. package/dist/package/entity/order-setting/order-setting.do.d.ts +168 -0
  25. package/dist/package/entity/order-setting/order-setting.dto.d.ts +134 -0
  26. package/dist/package/entity/order-setting/queue/queue.do.d.ts +95 -1613
  27. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +62 -110
  28. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +72 -0
  29. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +101 -0
  30. package/dist/package/entity/queue/queue.do.d.ts +18 -6
  31. package/dist/package/entity/queue/queue.dto.d.ts +52 -38
  32. package/dist/package/entity/restaurant/restaurant.dto.d.ts +81 -17
  33. package/package.json +1 -1
  34. package/src/helpers/order-setting.ts +20 -0
  35. package/src/locales/en-US.json +4 -0
  36. package/src/locales/th-TH.json +4 -0
  37. package/src/locales/zh-CN.json +4 -0
  38. package/src/stores/menu/menu.ts +1 -1
  39. package/src/stores/order-setting/mapper.ts +56 -56
  40. package/src/views/order-settings/general/GeneralSetting.vue +159 -4
  41. package/dist/menu.dto-CeUdKgTW.js +0 -103445
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BuwHk_0a.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,8 +2,8 @@ import { defineComponent as T, ref as f, resolveComponent as b, createElementBlo
2
2
  import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
3
3
  import { useI18n as K } from "@feedmepos/mf-common";
4
4
  import { defineStore as X } from "pinia";
5
- import { r as D, g as U, D as Z } from "./dayjs.min-C_sCJHuD.js";
6
- import "./menu.dto-CeUdKgTW.js";
5
+ import { r as D, g as U, D as Z } from "./dayjs.min-BiuO1l2_.js";
6
+ import "./menu.dto-CT1XwUKO.js";
7
7
  const ee = /* @__PURE__ */ T({
8
8
  __name: "KioskUnbindConfirm",
9
9
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as U, resolveComponent as T, createElementBlock as I, openBlock as v, createElementVNode as m, toDisplayString as V, unref as l, Fragment as B, renderList as j, createVNode as o, computed as D, withDirectives as Y, vShow as W, createBlock as M, createCommentVNode as L, ref as O, onMounted as te, withCtx as R, createTextVNode as le } from "vue";
2
2
  import { useI18n as F } from "@feedmepos/mf-common";
3
- import { F as $, c as y } from "./menu.dto-CeUdKgTW.js";
3
+ import { F as $, c as y } from "./menu.dto-CT1XwUKO.js";
4
4
  import { _ as ie, u as de } from "./index-BXsnV_eO.js";
5
5
  import { useSnackbar as oe } from "@feedmepos/ui-library";
6
6
  function ue(P, h) {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as I, computed as b, createElementBlock as y, openBlock as c, normalizeClass as X, createCommentVNode as _, createElementVNode as o, toDisplayString as m, unref as d, Fragment as Z, renderList as ee, ref as k, defineAsyncComponent as te, watch as ae, resolveComponent as S, createVNode as P, withCtx as ne, withDirectives as se, vShow as oe, createBlock as R } from "vue";
2
- import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js";
2
+ import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BuwHk_0a.js";
3
3
  import { useI18n as A, useCoreStore as de } from "@feedmepos/mf-common";
4
- import { F as V, a as ie, b as ce } from "./menu.dto-CeUdKgTW.js";
4
+ import { F as V, a as ie, b as ce } from "./menu.dto-CT1XwUKO.js";
5
5
  import { useDialog as ue, useSnackbar as pe, useBreakpoints as me } from "@feedmepos/ui-library";
6
6
  import { defineStore as ye } from "pinia";
7
- import { O as B, c as D } from "./index-Cvhc_ltu.js";
7
+ import { O as B, c as D } from "./index-DZKSDqn_.js";
8
8
  const fe = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-title-sm-600"
@@ -143,10 +143,10 @@ const fe = {
143
143
  nfc: !1
144
144
  },
145
145
  eWallet: {
146
- qrPay: !1,
147
- scanPay: !1,
146
+ terminalQrPay: !1,
148
147
  terminalScanPay: !1,
149
- terminalQrPay: !1
148
+ qrPay: !1,
149
+ scanPay: !1
150
150
  }
151
151
  }
152
152
  },
@@ -315,7 +315,7 @@ const fe = {
315
315
  setup(t) {
316
316
  var F, q;
317
317
  const { t: e } = A(), r = te(
318
- () => import("./KioskSettingView-CV54HpY2.js")
318
+ () => import("./KioskSettingView-C98iSa7q.js")
319
319
  ), l = k("device"), n = re(), s = Le(), u = ue(), { currentRestaurant: i, restaurants: a, changeRestaurant: p } = de(), v = pe(), h = me(), K = b(() => h.breakpoints.value.xs), w = k(((F = i.value) == null ? void 0 : F._id) ?? void 0), j = b(() => a.value.map((f) => ({
320
320
  label: f.profile.name,
321
321
  value: f._id