@feedmepos/mf-menu 0.32.80-alpha.1 → 0.32.80-alpha.2
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.
- package/dist/{App-B_3q-jGV.js → App-BPZg4pLc.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-EzaxIWYe.js → ApplyProduct.vue_vue_type_script_setup_true_lang-B7ScMyxd.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-BofETSvD.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DVDns9wB.js} +3 -3
- package/dist/{Catalog-Cdt9ih1h.js → Catalog-B2AZFUkz.js} +43 -41
- package/dist/{CatalogBinding-BSF_MBL4.js → CatalogBinding-1JkR29_G.js} +3 -3
- package/dist/{Category-DyerLCh0.js → Category-B5ZvYX7Z.js} +4 -4
- package/dist/{Category-CfVPbRcF.js → Category-U6oCFl13.js} +4 -4
- package/dist/{CookingGuide-CDaqQrbu.js → CookingGuide-BWeO-2BE.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BohTZA1b.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhDGAjuD.js} +1 -1
- package/dist/{Group-CNlxhmKi.js → Group-DEqF-2Ec.js} +3 -3
- package/dist/{Group-DXuLmwp7.js → Group-DYCaOa1j.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CUeNDucZ.js → Group.vue_vue_type_script_setup_true_lang-Cz_OgBw3.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DTXGNwei.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CZRL6oLu.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-D2wipPlD.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C4-035Ok.js} +217 -213
- package/dist/{Ingredient-ClEU9d77.js → Ingredient-UJvy8okw.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B9y36l7Y.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DbnGp6QN.js} +2 -2
- package/dist/{LinkProductSideSheet-DIgFv7G8.js → LinkProductSideSheet-CyfNHiCW.js} +4 -4
- package/dist/{MenuSetting-B4uEdB84.js → MenuSetting-CcpTsmtI.js} +161 -159
- package/dist/{OrderPacing-Ckq0cn6U.js → OrderPacing-DVeA5Ys_.js} +5 -5
- package/dist/{PrintRoute-h4nV5d7l.js → PrintRoute-siBlcAE2.js} +5 -5
- package/dist/{Product-9Yniz1GD.js → Product-qiwLUX8u.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Cy28bZo-.js → Product.vue_vue_type_script_setup_true_lang-BSt5cRw3.js} +14 -14
- package/dist/{ProductInternalTools-CGD4s7yB.js → ProductInternalTools-D1faZsDQ.js} +6 -6
- package/dist/{Products-J5WF8m00.js → Products-Bh_LcJAk.js} +40 -40
- package/dist/{Publish-oDvTFTqc.js → Publish-_SOH6j46.js} +4 -4
- package/dist/{Recipe-ZwC2_bE7.js → Recipe-Db6euS5p.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DEloDluj.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Q8g6Chsx.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CaueZdW6.js → RuleView.vue_vue_type_script_setup_true_lang-D_yLnxKQ.js} +211 -211
- package/dist/{Scheduler-BlJFlQ0V.js → Scheduler-EyZm0fJM.js} +3 -3
- package/dist/{ServingSequence-CRMsO0FH.js → ServingSequence-C2ENIvYn.js} +3 -3
- package/dist/{Setting-BvzmMD4U.js → Setting-EskhQnob.js} +89 -87
- package/dist/{Subcategory-5yQK2PNE.js → Subcategory-CPQgIkuh.js} +6 -6
- package/dist/{Takeaway-SdnEo_31.js → Takeaway-BWWBwve9.js} +1 -1
- package/dist/{Takeaway-C5PTXMIC.js → Takeaway-BqAt5Bba.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Dz-pq1E9.js → Takeaway.vue_vue_type_script_setup_true_lang-iUVhkaxh.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CwlUzo8B.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CbovAr2w.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DGPLhhqq.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DE9zBQfA.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ByaA26hm.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B6XUvI7o.js} +16 -16
- package/dist/{Unit-DRcJ41tY.js → Unit-ItHUxnF0.js} +2 -2
- package/dist/{Variant-CAq9W_f6.js → Variant-Xl4HcjYa.js} +3 -3
- package/dist/{_id_-i1n5B-gX.js → _id_-BETifIkG.js} +10 -10
- package/dist/{app-Qr9iwBkJ.js → app-CCnyILTK.js} +1 -1
- package/dist/{app-BlT8oUHl.js → app-Cj0pR2T4.js} +33 -33
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status--OiV7O46.js → linked-status-yKfTOgyX.js} +3 -3
- package/dist/assets/{menu-export-DQYly0C_.js → menu-export-CVG-AbK2.js} +3 -3
- package/dist/assets/{override-menu-DgGkfRxw.js → override-menu-B3OvgK_l.js} +3 -3
- package/dist/assets/{validate-menu-F4qdvd9o.js → validate-menu-CALVTmyh.js} +2 -2
- package/dist/{catalog-Cad8inAT.js → catalog-_745fqJH.js} +1 -1
- package/dist/{catalogSetting-B_5ExaFJ.js → catalogSetting-DqkosGOo.js} +1 -1
- package/dist/{currency-fqDiv99h.js → currency-BjlwJz4O.js} +1 -1
- package/dist/{dayjs.min-BlPKU-gB.js → dayjs.min-B_7TJNn-.js} +2 -2
- package/dist/{discardConfirm-DE1ldA28.js → discardConfirm-CNbn-98W.js} +1 -1
- package/dist/{index-C8lGawTH.js → index-CT_V152O.js} +1 -1
- package/dist/{index-BTUj9IUq.js → index-D7eteYCJ.js} +6 -6
- package/dist/{index-CjcE1rZ3.js → index-D_7F5hbU.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-XXTier47.js → index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js} +6 -6
- package/dist/{item-MMgj5alr.js → item-D7VvCAQD.js} +19 -19
- package/dist/{jszip.min-D8q6HCPG.js → jszip.min-B89bGJ8y.js} +3 -3
- package/dist/{linkProducts-5dv9mRyr.js → linkProducts-spdYc2yf.js} +4 -4
- package/dist/{memberPricing-DZKM5Nl6.js → memberPricing-CIokC3Z_.js} +1 -1
- package/dist/{menu-BqWVpw6-.js → menu-B-kiQo1d.js} +1 -1
- package/dist/{menuV2-DFMrgNS9.js → menuV2-C798b4XY.js} +59 -59
- package/dist/{order_pacing-CsGy0Zk1.js → order_pacing-Bk74xJkO.js} +5 -5
- package/dist/{priceTier-CBqD2V2j.js → priceTier-vPn2WO6f.js} +1 -1
- package/dist/{rules-UVdf2gqd.js → rules-BDmHbNiR.js} +3 -3
- package/dist/{scheduler-ZXmJ1ioG.js → scheduler-zfuywFUG.js} +5 -5
- package/dist/{toExcel-Bp1Wb0dt.js → toExcel-DKRoeuWL.js} +2 -2
- package/dist/{unit-BjNF91RV.js → unit-DZ4-dxHz.js} +3 -3
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ import { storeToRefs as Q } from "pinia";
|
|
|
3
3
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
4
4
|
import { useBreakpoints as X, useSnackbar as j, components as Z, FmButtonVariant as D, FmButtonColorThemeVariant as ee, useDialog as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { b as z, j as A, u as Y, h as R, i as U, _ as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as z, j as A, u as Y, h as R, i as U, _ as ne } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
7
7
|
import { _ as te } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-D_yLnxKQ.js";
|
|
9
9
|
import { d as le } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
10
|
-
import { _ as se } from "./app-
|
|
10
|
+
import { _ as se } from "./app-Cj0pR2T4.js";
|
|
11
11
|
import { c as ie } from "./createForm-BoUQeZTd.js";
|
|
12
|
-
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { O as de, u as ue, m as me } from "./order_pacing-
|
|
12
|
+
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-DVDns9wB.js";
|
|
13
|
+
import { O as de, u as ue, m as me } from "./order_pacing-Bk74xJkO.js";
|
|
14
14
|
const pe = { key: 0 }, _e = { class: "flex justify-end items-center" }, ge = { class: "w-[320px]" }, fe = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "flex-1 flex flex-col min-h-0"
|
|
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as P, computed as p, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useBreakpoints as oe, useSnackbar as ne, useDialog as ae } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as le } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as re } from "./app-
|
|
6
|
-
import { f as Y, h as U, i as M, K as X, u as se, j as ie, b as ue, _ as de } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as ce, l as me } from "./discardConfirm-
|
|
8
|
-
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { L as pe } from "./LinkProductSideSheet-
|
|
5
|
+
import { _ as re } from "./app-Cj0pR2T4.js";
|
|
6
|
+
import { f as Y, h as U, i as M, K as X, u as se, j as ie, b as ue, _ as de } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
7
|
+
import { u as ce, l as me } from "./discardConfirm-CNbn-98W.js";
|
|
8
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-D_yLnxKQ.js";
|
|
9
|
+
import { L as pe } from "./LinkProductSideSheet-CyfNHiCW.js";
|
|
10
10
|
import { _ as _e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
11
11
|
const fe = { class: "fm-typo-en-title-md-600" }, ve = { class: "space-y-32" }, ye = { class: "space-y-16" }, ge = { class: "flex items-center gap-8" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, be = { class: "flex-1" }, ke = { class: "grow overflow-y-auto" }, xe = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, Fe = { class: "px-16 py-8 flex-1" }, Ie = { class: "py-8" }, Ce = { class: "flex gap-8 items-center justify-start" }, we = /* @__PURE__ */ H({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ref as F, computed as x, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as g, createVNode as d, unref as n, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as M, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as at, useModel as ot, renderSlot as ye, watch as ie, createTextVNode as nt, watchEffect as rt, nextTick as Oe, resolveDynamicComponent as st, onMounted as ut, h as O, isRef as qe, normalizeStyle as xt } from "vue";
|
|
2
|
-
import { l as be } from "./discardConfirm-
|
|
3
|
-
import { u as Ie, o as we, a as ce, f as Ue, I as Ct, T as wt, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { l as be } from "./discardConfirm-CNbn-98W.js";
|
|
3
|
+
import { u as Ie, o as we, a as ce, f as Ue, I as Ct, T as wt, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
4
4
|
import { useI18n as $e, useCoreStore as De, useCustomAttributes as kt } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as Ve } from "./menu-
|
|
6
|
-
import { L as We } from "./LinkProductSideSheet-
|
|
7
|
-
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as St } from "./linkProducts-
|
|
10
|
-
import { f as Vt, o as Ft, a as It, m as $t } from "./menuV2-
|
|
11
|
-
import { w as it, ap as Tt, aq as Pt, M as At, G as Rt, ar as Ye } from "./item-
|
|
5
|
+
import { u as Ve } from "./menu-B-kiQo1d.js";
|
|
6
|
+
import { L as We } from "./LinkProductSideSheet-CyfNHiCW.js";
|
|
7
|
+
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Q8g6Chsx.js";
|
|
8
|
+
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhDGAjuD.js";
|
|
9
|
+
import { u as St } from "./linkProducts-spdYc2yf.js";
|
|
10
|
+
import { f as Vt, o as Ft, a as It, m as $t } from "./menuV2-C798b4XY.js";
|
|
11
|
+
import { w as it, ap as Tt, aq as Pt, M as At, G as Rt, ar as Ye } from "./item-D7VvCAQD.js";
|
|
12
12
|
import { b as Ze, H as Mt } from "./app-5fxKLAzS.js";
|
|
13
13
|
import { useBreakpoints as ct, components as ee, useDialog as Ot, FmButtonColorThemeVariant as W, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
14
|
-
import { f as Ne, h as Re, g as Ut, F as zt } from "./index-
|
|
15
|
-
import { _ as Ke, d as Nt, e as Dt } from "./app-
|
|
14
|
+
import { f as Ne, h as Re, g as Ut, F as zt } from "./index-CT_V152O.js";
|
|
15
|
+
import { _ as Ke, d as Nt, e as Dt } from "./app-Cj0pR2T4.js";
|
|
16
16
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
17
|
-
import { _ as Kt } from "./index-
|
|
18
|
-
import { r as Bt, _ as jt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Kt } from "./index-D7eteYCJ.js";
|
|
18
|
+
import { r as Bt, _ as jt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C4-035Ok.js";
|
|
19
19
|
import { _ as Je } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
20
20
|
import { c as Et } from "./check-C9mY6LiX.js";
|
|
21
|
-
import { f as Gt } from "./currency-
|
|
21
|
+
import { f as Gt } from "./currency-BjlwJz4O.js";
|
|
22
22
|
import { w as Lt } from "./tooltip-B5BiPMx9.js";
|
|
23
23
|
function qt(h, e, c = h) {
|
|
24
24
|
const r = F(!0), o = x(() => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as W, ref as v, computed as M, resolveComponent as G, createElementBlock as c, openBlock as i, createElementVNode as s, createVNode as k, unref as h, createCommentVNode as B, normalizeClass as R, toDisplayString as $, createStaticVNode as A, Fragment as T, renderList as O, createBlock as re, withCtx as D } from "vue";
|
|
2
|
-
import { J as V, F as ie } from "./jszip.min-
|
|
3
|
-
import { l as Z } from "./discardConfirm-
|
|
2
|
+
import { J as V, F as ie } from "./jszip.min-B89bGJ8y.js";
|
|
3
|
+
import { l as Z } from "./discardConfirm-CNbn-98W.js";
|
|
4
4
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as P, useSnackbar as q, useDialog as de, FmButtonColorThemeVariant as z } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as me, u as ue, q as pe, y as ge, z as fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as me, u as ue, q as pe, y as ge, z as fe } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
7
7
|
import { _ as he } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as be, a as ye } from "./menu-
|
|
9
|
-
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ai as _e, aj as we, ak as xe, al as Ie, am as ke } from "./item-
|
|
8
|
+
import { u as be, a as ye } from "./menu-B-kiQo1d.js";
|
|
9
|
+
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-BSt5cRw3.js";
|
|
10
|
+
import { ai as _e, aj as we, ak as xe, al as Ie, am as ke } from "./item-D7VvCAQD.js";
|
|
11
11
|
const Ce = { class: "h-full flex flex-col" }, Ue = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, je = { class: "flex gap-8" }, $e = { class: "border-b border-gray-200" }, Fe = { class: "flex" }, Se = { class: "flex-1 overflow-hidden" }, ze = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as T } from "./dayjs.min-
|
|
3
|
-
import { J as ie, F as le } from "./jszip.min-
|
|
4
|
-
import { l as j } from "./discardConfirm-
|
|
5
|
-
import { w as ue } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as Q, b as X, a as H, e as q, F as ee, d as ce, m as me, f as de, g as pe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { h as V, A as
|
|
1
|
+
import { defineComponent as B, computed as d, ref as K, resolveComponent as F, createBlock as p, openBlock as l, unref as e, withCtx as _, createElementVNode as f, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as z, Fragment as R } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-B_7TJNn-.js";
|
|
3
|
+
import { J as ie, F as le } from "./jszip.min-B89bGJ8y.js";
|
|
4
|
+
import { l as j } from "./discardConfirm-CNbn-98W.js";
|
|
5
|
+
import { w as ue } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C4-035Ok.js";
|
|
6
|
+
import { u as Q, b as X, a as H, e as q, F as ee, d as ce, m as me, f as de, g as pe } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
7
|
+
import { h as V, A as G } from "./app-Cj0pR2T4.js";
|
|
8
8
|
import { useCoreStore as te, useI18n as fe } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as oe, useDialogChild as _e, useSnackbar as ne, useBreakpoints as ge, FmButtonVariant as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as ve, a as
|
|
9
|
+
import { useDialog as oe, useDialogChild as _e, useSnackbar as ne, useBreakpoints as ge, FmButtonVariant as I, FmButtonColorThemeVariant as x } from "@feedmepos/ui-library";
|
|
10
|
+
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
11
|
+
import { _ as ve, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
12
12
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
13
|
-
import { u as ye, a as ke } from "./menu-
|
|
14
|
-
import { w as xe } from "./item-
|
|
15
|
-
import { _ as J, a as he } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { L as W } from "./LinkProductSideSheet-
|
|
17
|
-
import { _ as Se } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { u as Ce } from "./linkProducts-
|
|
19
|
-
import { m as Me } from "./toExcel-
|
|
20
|
-
const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "flex justify-end gap-8" }, Ve = /* @__PURE__ */
|
|
13
|
+
import { u as ye, a as ke } from "./menu-B-kiQo1d.js";
|
|
14
|
+
import { w as xe } from "./item-D7VvCAQD.js";
|
|
15
|
+
import { _ as J, a as he } from "./Product.vue_vue_type_script_setup_true_lang-BSt5cRw3.js";
|
|
16
|
+
import { L as W } from "./LinkProductSideSheet-CyfNHiCW.js";
|
|
17
|
+
import { _ as Se } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B6XUvI7o.js";
|
|
18
|
+
import { u as Ce } from "./linkProducts-spdYc2yf.js";
|
|
19
|
+
import { m as Me } from "./toExcel-DKRoeuWL.js";
|
|
20
|
+
const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "flex justify-end gap-8" }, Ve = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
@@ -25,7 +25,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
27
|
setup(A) {
|
|
28
|
-
const o = A, c = d(() => o.message.replace("[[value]]", o.value)), y =
|
|
28
|
+
const o = A, c = d(() => o.message.replace("[[value]]", o.value)), y = K(""), a = oe(), { emitAction: h } = _e();
|
|
29
29
|
return (g, i) => {
|
|
30
30
|
const S = F("FmTextField"), v = F("FmButton"), C = F("FmForm");
|
|
31
31
|
return l(), p(C, {
|
|
@@ -34,7 +34,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
34
34
|
}, {
|
|
35
35
|
default: _(() => [
|
|
36
36
|
f("div", we, [
|
|
37
|
-
f("div", null,
|
|
37
|
+
f("div", null, Z(g.description), 1),
|
|
38
38
|
f("div", { innerHTML: c.value }, null, 8, Fe),
|
|
39
39
|
f("div", null, [
|
|
40
40
|
u(S, {
|
|
@@ -65,10 +65,10 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
65
65
|
}, 8, ["on-validation-success"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), Ae = /* @__PURE__ */
|
|
68
|
+
}), Ae = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
70
|
setup(A) {
|
|
71
|
-
const o = Q(), c = te(), { isRestaurantLevelMenu: y } = c, a = ne(), { minor: h } = X(a), g =
|
|
71
|
+
const o = Q(), c = te(), { isRestaurantLevelMenu: y } = c, a = ne(), { minor: h } = X(a), g = K(!1), i = oe();
|
|
72
72
|
async function S() {
|
|
73
73
|
v.value || g.value || i.open({
|
|
74
74
|
title: "Migrate to new version",
|
|
@@ -116,7 +116,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ee = "/assets/menu-export-
|
|
119
|
+
}), Ee = "/assets/menu-export-CVG-AbK2.js", Te = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ie = { class: "flex items-center" }, De = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Be = { class: "fm-typo-en-body-md-600 font-semibold" }, Ye = { class: "flex gap-8" }, ot = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
121
|
setup(A) {
|
|
122
122
|
const { t: o } = fe(), c = te(), y = X(ne()), a = Q(), h = d(() => a.rules.item), g = xe(), i = d(() => !a.state.currentSchedulerId), S = d(() => c.currentCountry.value ? ce(c.currentCountry.value).map((n) => n.code) : []), { selectedCategories: v } = ye(), C = d(() => ({
|
|
@@ -169,7 +169,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
169
169
|
const {
|
|
170
170
|
menuItems: M,
|
|
171
171
|
categories: b,
|
|
172
|
-
linkItemRules:
|
|
172
|
+
linkItemRules: Y,
|
|
173
173
|
handleSubmit: N,
|
|
174
174
|
catalogManager: L,
|
|
175
175
|
schedulerManager: P
|
|
@@ -179,14 +179,14 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
179
179
|
action: V.Action.manage,
|
|
180
180
|
subject: V.Subject.Business.menu_menuManagement
|
|
181
181
|
};
|
|
182
|
-
return
|
|
182
|
+
return G([t], n).granted;
|
|
183
183
|
}), U = d(() => {
|
|
184
184
|
var s;
|
|
185
185
|
const n = ((s = c.sessionUser.value) == null ? void 0 : s.permissions) ?? [], t = {
|
|
186
186
|
action: V.Action.manage,
|
|
187
187
|
subject: V.Subject.Business.menu_importExport
|
|
188
188
|
};
|
|
189
|
-
return
|
|
189
|
+
return G([t], n).granted;
|
|
190
190
|
});
|
|
191
191
|
return ke().resetOnMount(), (n, t) => {
|
|
192
192
|
const s = F("fm-button");
|
|
@@ -199,21 +199,21 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
199
199
|
]),
|
|
200
200
|
"append-heading": _(() => [
|
|
201
201
|
f("div", Te, [
|
|
202
|
-
f("div",
|
|
203
|
-
f("div",
|
|
204
|
-
f("p",
|
|
202
|
+
f("div", Ie, [
|
|
203
|
+
f("div", De, [
|
|
204
|
+
f("p", Be, Z(m.value), 1)
|
|
205
205
|
])
|
|
206
206
|
]),
|
|
207
|
-
f("div",
|
|
207
|
+
f("div", Ye, [
|
|
208
208
|
se.value ? (l(), p(J, { key: 1 }, {
|
|
209
209
|
default: _(({ trigger: r }) => [
|
|
210
210
|
u(ve, null, {
|
|
211
211
|
default: _(() => [
|
|
212
|
-
u(
|
|
212
|
+
u(O, {
|
|
213
213
|
label: e(o)("menu.products.actions.export"),
|
|
214
214
|
onClick: E
|
|
215
215
|
}, null, 8, ["label"]),
|
|
216
|
-
u(
|
|
216
|
+
u(O, {
|
|
217
217
|
label: e(o)("menu.products.actions.import"),
|
|
218
218
|
onClick: r
|
|
219
219
|
}, null, 8, ["label", "onClick"])
|
|
@@ -229,7 +229,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
229
229
|
label: e(o)("menu.tree_editor.title"),
|
|
230
230
|
"bg-color": e(x).NeutralGray100,
|
|
231
231
|
"text-color": e(x).TypoSecondary,
|
|
232
|
-
variant: e(
|
|
232
|
+
variant: e(I).Primary,
|
|
233
233
|
onClick: r
|
|
234
234
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
235
235
|
]),
|
|
@@ -239,7 +239,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
239
239
|
key: 1,
|
|
240
240
|
"bg-color": e(x).NeutralGray100,
|
|
241
241
|
"text-color": e(x).TypoSecondary,
|
|
242
|
-
variant: e(
|
|
242
|
+
variant: e(I).Primary,
|
|
243
243
|
label: e(o)("menu.products.actions.export"),
|
|
244
244
|
onClick: E
|
|
245
245
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
@@ -248,7 +248,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
248
248
|
u(s, {
|
|
249
249
|
"bg-color": e(x).NeutralGray100,
|
|
250
250
|
"text-color": e(x).TypoSecondary,
|
|
251
|
-
variant: e(
|
|
251
|
+
variant: e(I).Primary,
|
|
252
252
|
label: e(o)("menu.products.actions.import"),
|
|
253
253
|
onClick: r
|
|
254
254
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
@@ -257,7 +257,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
257
257
|
})) : w("", !0)
|
|
258
258
|
], 64)),
|
|
259
259
|
m.value > 0 ? (l(), z(R, { key: 2 }, [
|
|
260
|
-
h.value.create ? (l(), p(
|
|
260
|
+
h.value.create ? (l(), p(D, {
|
|
261
261
|
key: 0,
|
|
262
262
|
label: e(o)("menu.products.actions.add"),
|
|
263
263
|
"prepend-icon": "add",
|
|
@@ -269,12 +269,12 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
269
269
|
"show-variant": !1,
|
|
270
270
|
"menu-items": e(M),
|
|
271
271
|
categories: e(b),
|
|
272
|
-
"link-item-rules": e(
|
|
272
|
+
"link-item-rules": e(Y),
|
|
273
273
|
"no-scheduler": i.value,
|
|
274
274
|
onSubmit: e(N)
|
|
275
275
|
}, {
|
|
276
276
|
default: _(({ trigger: r }) => [
|
|
277
|
-
u(
|
|
277
|
+
u(D, {
|
|
278
278
|
label: e(o)("menu.products.actions.link"),
|
|
279
279
|
"prepend-icon": "link",
|
|
280
280
|
onClick: r
|
|
@@ -288,12 +288,12 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
288
288
|
"show-variant": !1,
|
|
289
289
|
"menu-items": e(M),
|
|
290
290
|
categories: e(b),
|
|
291
|
-
"link-item-rules": e(
|
|
291
|
+
"link-item-rules": e(Y),
|
|
292
292
|
"no-scheduler": i.value,
|
|
293
293
|
onSubmit: e(N)
|
|
294
294
|
}, {
|
|
295
295
|
default: _(({ trigger: r }) => [
|
|
296
|
-
u(
|
|
296
|
+
u(D, {
|
|
297
297
|
label: e(o)("menu.products.actions.apply_scheduler"),
|
|
298
298
|
onClick: r
|
|
299
299
|
}, null, 8, ["label", "onClick"])
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as M, computed as $, onMounted as we, resolveComponent as A, createElementBlock as N, openBlock as C, createVNode as _, createElementVNode as h, toDisplayString as K, unref as p, Fragment as H, renderList as te, createBlock as W, watch as Re, withCtx as j, h as E, normalizeClass as ke, createCommentVNode as ae, createTextVNode as Me, mergeProps as Ye, normalizeStyle as Je, renderSlot as We, withModifiers as re, onUnmounted as Qe } from "vue";
|
|
2
2
|
import { useRouter as Xe } from "vue-router";
|
|
3
3
|
import { O as Ze, b as et } from "./app-5fxKLAzS.js";
|
|
4
|
-
import { a as tt, e as at, b as De, O as lt, _ as Oe, P as z, u as Ue, f as Ne, F as st } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as tt, e as at, b as De, O as lt, _ as Oe, P as z, u as Ue, f as Ne, F as st } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
5
5
|
import { formatDateTime as ie, useI18n as le, useAppLocale as ce, useCoreStore as xe, RestaurantSelector as Te, prefersHour12 as nt } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as Se, useDialogChild as ot, useProxiedModel as ut, useDialog as Be, components as oe, FmButtonVariant as $e } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as rt } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
-
import { _ as it } from "./app-
|
|
8
|
+
import { _ as it } from "./app-Cj0pR2T4.js";
|
|
9
9
|
import { a as ct, w as dt } from "./tooltip-B5BiPMx9.js";
|
|
10
|
-
import { D as q } from "./dayjs.min-
|
|
11
|
-
import { u as Ee, l as mt } from "./discardConfirm-
|
|
10
|
+
import { D as q } from "./dayjs.min-B_7TJNn-.js";
|
|
11
|
+
import { u as Ee, l as mt } from "./discardConfirm-CNbn-98W.js";
|
|
12
12
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { r as pt } from "./publishMeta-CAbjnmmS.js";
|
|
14
14
|
function ze(V, v, l) {
|
|
@@ -2,14 +2,14 @@ import { defineComponent as j, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { j as q, b as P, f as ie, m as B, e as D, h as O, i as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-Cj0pR2T4.js";
|
|
6
|
+
import { j as q, b as P, f as ie, m as B, e as D, h as O, i as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ce } from "pinia";
|
|
9
|
-
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as me, l as de } from "./discardConfirm-
|
|
9
|
+
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DbnGp6QN.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-CNbn-98W.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-DZ4-dxHz.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ j({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-D_yLnxKQ.js";
|
|
5
5
|
const j = {
|
|
6
6
|
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, O = {
|