@feedmepos/mf-order-setting 0.0.93 → 0.0.94

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-BMRCs7o8.js → DisplaySystemView-Doh1JUoe.js} +3 -3
  2. package/dist/{KioskDevicesView-BCZOqou3.js → KioskDevicesView-DvUq9eFa.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js} +3 -3
  4. package/dist/{KioskSettingView-DIvpRwFV.js → KioskSettingView-Ba1sLolg.js} +3 -3
  5. package/dist/{KioskView-w4txC9m2.js → KioskView-CeKSWYbI.js} +5 -5
  6. package/dist/{OrderSettingsView-BPuBA2QC.js → OrderSettingsView-CdxkPS_V.js} +17715 -17601
  7. package/dist/{app-xZAaURng.js → app-BQ0W0_dt.js} +289 -241
  8. package/dist/app.js +1 -1
  9. package/dist/{featureFlag-Cbj0uMaM.js → featureFlag-C4gAe_F4.js} +1 -1
  10. package/dist/frontend/mf-order/src/api/native-app/index.d.ts +2 -0
  11. package/dist/frontend/mf-order/src/app.d.ts +48 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +48 -0
  13. package/dist/frontend/mf-order/src/views/order-settings/components/push-availability.d.ts +13 -0
  14. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  15. package/dist/{index-BAFwfvqv.js → index-BFJ4YEfL.js} +2 -2
  16. package/dist/{index-BxQKdXyN.js → index-CGiJXVU3.js} +1 -1
  17. package/dist/{index-Cipbdi6i.js → index-DSB009Br.js} +1 -1
  18. package/dist/{order.dto-yLICIGDQ.js → order.dto-CUp8zhQC.js} +18 -18
  19. package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +74 -74
  20. package/package.json +1 -1
  21. package/src/api/native-app/index.ts +26 -0
  22. package/src/api/native-app/native-app.spec.ts +42 -0
  23. package/src/locales/en-US.json +12 -0
  24. package/src/locales/ja-JP.json +12 -0
  25. package/src/locales/th-TH.json +12 -0
  26. package/src/locales/zh-CN.json +12 -0
  27. package/src/views/order-settings/components/NotifyChannelEditor.spec.ts +184 -0
  28. package/src/views/order-settings/components/NotifyChannelEditor.vue +84 -5
  29. package/src/views/order-settings/components/push-availability.spec.ts +59 -0
  30. package/src/views/order-settings/components/push-availability.ts +78 -0
  31. package/src/views/order-settings/queue/QueueSetting.vue +7 -0
  32. package/src/views/order-settings/sms/SmsSetting.vue +11 -0
@@ -2,11 +2,11 @@ import { ref as K, defineComponent as he, computed as V, watch as be, resolveCom
2
2
  import { useRoute as Qn, useRouter as es } from "vue-router";
3
3
  import { useI18n as Pe, useCoreStore as at, RestaurantSelector as ts } from "@feedmepos/mf-common";
4
4
  import { u as Ka } from "./snackbar-DZQ0_reQ.js";
5
- import { E as Ja, g as nt, b as os, G as as, H as so } from "./order.dto-yLICIGDQ.js";
5
+ import { G as Ja, g as nt, b as os, H as as, n as so } from "./order.dto-CUp8zhQC.js";
6
6
  import { defineStore as ns } from "pinia";
7
7
  import { useDialogChild as ss, useDialog as Za } from "@feedmepos/ui-library";
8
- import { _ as We, u as ls, e as rs } from "./featureFlag-Cbj0uMaM.js";
9
- import { A as is, v as Ya, u as ds } from "./app-xZAaURng.js";
8
+ import { _ as We, u as ls, e as rs } from "./featureFlag-C4gAe_F4.js";
9
+ import { A as is, v as Ya, u as ds } from "./app-BQ0W0_dt.js";
10
10
  function Xa(e) {
11
11
  return JSON.parse(JSON.stringify(e));
12
12
  }
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.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-yLICIGDQ.js";
4
+ import { r as J, g as ue, b as Be, p as Re } from "./order.dto-CUp8zhQC.js";
5
5
  import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
6
- import { d as ce, s as be } from "./index-BxQKdXyN.js";
7
- import { c as Ne, g as Ke, a as xe } from "./app-xZAaURng.js";
6
+ import { d as ce, s as be } from "./index-CGiJXVU3.js";
7
+ import { c as Ne, g as Ke, a as xe } from "./app-BQ0W0_dt.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 fe, computed as x, ref as Y, onMounted as Ee, 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 v, watch as Ue, createElementBlock as E, createCommentVNode as B, Fragment as te, renderList as ne, normalizeClass as Fe } from "vue";
2
- import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-xZAaURng.js";
3
- import { c as f, K as Le, d as Me } from "./order.dto-yLICIGDQ.js";
4
- import { _ as We, u as De, a as $e } from "./index-BAFwfvqv.js";
2
+ import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-BQ0W0_dt.js";
3
+ import { c as f, K as Le, d as Me } from "./order.dto-CUp8zhQC.js";
4
+ import { _ as We, u as De, a as $e } from "./index-BFJ4YEfL.js";
5
5
  import { useI18n as he, FeedMeAuth as Ie, useCoreStore as Ye } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as Ge } from "@feedmepos/ui-library";
7
7
  const Ke = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, je = { class: "ml-7" }, qe = { class: "ml-7" }, Be = { class: "flex flex-row gap-9" }, He = /* @__PURE__ */ fe({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as X, openBlock as h, createElementBlock as Q, createElementVNode as f, toDisplayString as A, unref as m, ref as v, defineAsyncComponent as ue, computed as U, onMounted as ce, watch as re, resolveComponent as P, createVNode as L, withCtx as oe, createBlock as E, createCommentVNode as K } from "vue";
2
- import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js";
2
+ import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js";
3
3
  import { useDialog as me, useSnackbar as ie } from "@feedmepos/ui-library";
4
4
  import { useI18n as z, useCoreStore as fe } from "@feedmepos/mf-common";
5
- import { F as ye, a as ve, S as M } from "./order.dto-yLICIGDQ.js";
5
+ import { F as ye, a as ve, S as M } from "./order.dto-CUp8zhQC.js";
6
6
  import { defineStore as be } from "pinia";
7
- import { O as W } from "./index-Cipbdi6i.js";
8
- import { u as _e } from "./app-xZAaURng.js";
7
+ import { O as W } from "./index-DSB009Br.js";
8
+ import { u as _e } from "./app-BQ0W0_dt.js";
9
9
  const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, we = { class: "fm-typo-en-title-md-600" }, Pe = /* @__PURE__ */ X({
10
10
  __name: "KioskOtpDialog",
11
11
  props: {
@@ -343,7 +343,7 @@ const Ge = { class: "py-[1.5rem]" }, He = { class: "px-[1.5rem]" }, Xe = { class
343
343
  setup(e) {
344
344
  var V, $;
345
345
  const { t: a } = z(), { canManageOrderSetting: n } = _e(), c = ue(
346
- () => import("./KioskSettingView-DIvpRwFV.js")
346
+ () => import("./KioskSettingView-Ba1sLolg.js")
347
347
  ), t = v("device"), l = se(), r = Ke(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = fe(), b = ie(), y = v(((V = d.value) == null ? void 0 : V._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = U(() => {
348
348
  const u = R.value.trim().toLowerCase();
349
349
  return i.value.filter(