@feedmepos/mf-order-setting 0.0.86 → 0.0.87

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 (44) hide show
  1. package/dist/{DisplaySystemView-DjFBEWoq.js → DisplaySystemView-Dx4As33V.js} +1 -1
  2. package/dist/{KioskDevicesView-RKMdLuB3.js → KioskDevicesView-Ziu9ekHK.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Bki-OF23.js} +3 -3
  4. package/dist/{KioskSettingView-CzelEig6.js → KioskSettingView-BlLW-tDD.js} +3 -3
  5. package/dist/{KioskView-Bi5Kc4cS.js → KioskView-CzlaEjMR.js} +5 -5
  6. package/dist/{OrderSettingsView-BfxrjGAi.js → OrderSettingsView-B69It-yu.js} +16654 -16507
  7. package/dist/{app-Bg-n-Eug.js → app-C8jy3wlN.js} +324 -248
  8. package/dist/app.js +1 -1
  9. package/dist/common/sms/index.d.ts +14 -3
  10. package/dist/frontend/mf-order/src/app.d.ts +76 -0
  11. package/dist/frontend/mf-order/src/main.d.ts +76 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
  13. package/dist/frontend/mf-order/src/views/order-settings/components/NotifyChannelEditor.vue.d.ts +11 -0
  14. package/dist/frontend/mf-order/src/views/order-settings/components/notify-channel-country.d.ts +1 -0
  15. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  16. package/dist/{index-C7Ug4fCi.js → index-DNvUwB59.js} +1 -1
  17. package/dist/{index-g_rocKrp.js → index-DiRlxqKH.js} +2 -2
  18. package/dist/{index-0eYg6XEb.js → index-VtBPFvME.js} +1 -1
  19. package/dist/{order.dto-MKeJAj6d.js → order.dto-CFw4X11T.js} +3708 -3631
  20. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +10 -1
  21. package/dist/package/entity/index.d.ts +2 -0
  22. package/dist/package/entity/index.frontend.d.ts +2 -0
  23. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +7 -0
  24. package/dist/package/entity/order-setting/notification/notification.enum.d.ts +50 -0
  25. package/dist/package/entity/order-setting/notification/notification.route.d.ts +91 -0
  26. package/dist/package/entity/order-setting/order-setting.do.d.ts +10 -0
  27. package/dist/package/entity/order-setting/order-setting.dto.d.ts +20 -0
  28. package/dist/package/entity/order-setting/queue/queue.do.d.ts +17 -0
  29. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +4 -0
  30. package/dist/package/entity/order-setting/sms/sms.do.d.ts +14 -0
  31. package/dist/package/entity/order-setting/sms/sms.dto.d.ts +4 -0
  32. package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -0
  33. package/package.json +1 -1
  34. package/src/locales/en-US.json +20 -1
  35. package/src/locales/ja-JP.json +20 -1
  36. package/src/locales/th-TH.json +20 -1
  37. package/src/locales/zh-CN.json +20 -1
  38. package/src/views/order-settings/OrderSettingsView.vue +1 -1
  39. package/src/views/order-settings/components/NotifyChannelEditor.vue +130 -0
  40. package/src/views/order-settings/components/notify-channel-country.spec.ts +20 -0
  41. package/src/views/order-settings/components/notify-channel-country.ts +21 -0
  42. package/src/views/order-settings/queue/QueueSetting.vue +7 -0
  43. package/src/views/order-settings/sms/SmsSetting.vue +41 -1
  44. package/src/views/order-settings/sms/notify-channels-dto.spec.ts +42 -0
@@ -1,7 +1,7 @@
1
1
  import { ref as W, defineComponent as be, computed as L, watch as Ee, resolveComponent as Z, openBlock as g, createBlock as ae, Teleport as Va, createElementBlock as b, withModifiers as Fe, createElementVNode as f, toDisplayString as P, unref as p, createCommentVNode as G, createVNode as D, withCtx as Ne, normalizeStyle as Y, normalizeClass as oe, Fragment as ee, createTextVNode as xe, onScopeDispose as Hn, renderList as ce, resolveDirective as qa, withDirectives as kt, useModel as Kn, mergeModels as Zn, withKeys as Jn, vModelText as Xn, onMounted as Wa, onBeforeUnmount as Qn } from "vue";
2
2
  import { useI18n as we, useCoreStore as Kt } from "@feedmepos/mf-common";
3
3
  import { u as Yn } from "./snackbar-DZQ0_reQ.js";
4
- import { D as Ga, g as je, b as eo, z as to, A as va } from "./order.dto-MKeJAj6d.js";
4
+ import { D as Ga, g as je, b as eo, E as to, G as va } from "./order.dto-CFw4X11T.js";
5
5
  import { defineStore as ao } from "pinia";
6
6
  import "@feedmepos/ui-library";
7
7
  import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Bki-OF23.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-MKeJAj6d.js";
4
+ import { r as J, g as ue, b as Be, p as Re } from "./order.dto-CFw4X11T.js";
5
5
  import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
6
- import { d as ce, s as be } from "./index-C7Ug4fCi.js";
7
- import { c as Ne, g as Ke, a as xe } from "./app-Bg-n-Eug.js";
6
+ import { d as ce, s as be } from "./index-DNvUwB59.js";
7
+ import { c as Ne, g as Ke, a as xe } from "./app-C8jy3wlN.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 ye, computed as x, ref as Y, onMounted as Ae, 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 b, watch as Re, createElementBlock as E, createCommentVNode as z, Fragment as te, renderList as ne, normalizeClass as Ee } from "vue";
2
- import { e as ue, b as ve, s as fe, d as Ue, r as me, f as pe, h as Fe } from "./app-Bg-n-Eug.js";
3
- import { c as v, K as Ne, d as Oe } from "./order.dto-MKeJAj6d.js";
4
- import { _ as Le, u as Me, a as De } from "./index-g_rocKrp.js";
2
+ import { e as ue, b as ve, s as fe, d as Ue, r as me, f as pe, h as Fe } from "./app-C8jy3wlN.js";
3
+ import { c as v, K as Ne, d as Oe } from "./order.dto-CFw4X11T.js";
4
+ import { _ as Le, u as Me, a as De } from "./index-DiRlxqKH.js";
5
5
  import { useI18n as be, FeedMeAuth as ge, useCoreStore as $e } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as We } from "@feedmepos/ui-library";
7
7
  const Ye = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, Ke = { class: "ml-7" }, je = { class: "ml-7" }, qe = { class: "flex flex-row gap-9" }, Be = /* @__PURE__ */ ye({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as G, openBlock as h, createElementBlock as Q, createElementVNode as y, toDisplayString as A, unref as m, ref as v, defineAsyncComponent as ue, computed as T, onMounted as ce, watch as re, resolveComponent as w, createVNode as U, withCtx as oe, createBlock as K, createCommentVNode as E } from "vue";
2
- import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js";
2
+ import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Bki-OF23.js";
3
3
  import { useDialog as me, useSnackbar as ie } from "@feedmepos/ui-library";
4
4
  import { useI18n as z, useCoreStore as ye } from "@feedmepos/mf-common";
5
- import { F as fe, a as ve, S as N } from "./order.dto-MKeJAj6d.js";
5
+ import { F as fe, a as ve, S as N } from "./order.dto-CFw4X11T.js";
6
6
  import { defineStore as be } from "pinia";
7
- import { O as j } from "./index-0eYg6XEb.js";
8
- import { u as _e } from "./app-Bg-n-Eug.js";
7
+ import { O as j } from "./index-VtBPFvME.js";
8
+ import { u as _e } from "./app-C8jy3wlN.js";
9
9
  const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, Pe = { class: "fm-typo-en-title-md-600" }, we = /* @__PURE__ */ G({
10
10
  __name: "KioskOtpDialog",
11
11
  props: {
@@ -333,7 +333,7 @@ const je = { class: "py-[1.5rem]" }, He = { class: "px-[1.5rem]" }, We = { class
333
333
  setup(e) {
334
334
  var $, M;
335
335
  const { t: a } = z(), { canManageOrderSetting: n } = _e(), c = ue(
336
- () => import("./KioskSettingView-CzelEig6.js")
336
+ () => import("./KioskSettingView-BlLW-tDD.js")
337
337
  ), t = v("device"), l = se(), r = Ue(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = ye(), b = ie(), f = v((($ = d.value) == null ? void 0 : $._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = T(() => {
338
338
  const u = R.value.trim().toLowerCase();
339
339
  return i.value.filter(