@feedmepos/mf-menu 0.32.17-dev → 0.32.17-prod
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-CS86owo3.js → App-BLdG3yG_.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DaUTgTs_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BG5DdrV6.js} +3 -3
- package/dist/{Catalog-DRNhdGGD.js → Catalog-B02NvTIp.js} +6 -6
- package/dist/{Category-mS09ECzt.js → Category-COGQxaeR.js} +4 -4
- package/dist/{Category-BNhbD0VA.js → Category-Ci6XGCQE.js} +6 -6
- package/dist/{CookingGuide-CtE-ueBG.js → CookingGuide-BWyPV6ad.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DCbTamf9.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DkCAw-nl.js} +1 -1
- package/dist/{Group-D2RLkrxZ.js → Group-DRporusW.js} +3 -3
- package/dist/{Group-CsurQlC9.js → Group-D_eyMiHS.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Chq5Pcnw.js → Group.vue_vue_type_script_setup_true_lang-CJ_QkBFJ.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ch9xYGvB.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DAMFUDli.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTKmyt73.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BFDGNXtA.js} +208 -208
- package/dist/{Ingredient-Civo_6ts.js → Ingredient-CCOAtq6x.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-LDadxBhp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-w9G4LRB7.js} +1052 -1052
- package/dist/{LinkProductSideSheet-8NK_5ryH.js → LinkProductSideSheet-CnGdSkv6.js} +3 -3
- package/dist/{MenuSetting-BnPspVfy.js → MenuSetting-C-t8hg1m.js} +5 -5
- package/dist/{PrintRoute-WToP4QnZ.js → PrintRoute-C2TWkEwm.js} +4 -4
- package/dist/{Product-D2pWNPhP.js → Product-CvDDiB1Q.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Cq42j791.js → Product.vue_vue_type_script_setup_true_lang-COmQsVeB.js} +12 -12
- package/dist/{ProductInternalTools-DzzhanaE.js → ProductInternalTools-zA3vMBzV.js} +6 -6
- package/dist/{Products-J9XiGz-3.js → Products-DlxGLmkD.js} +30 -30
- package/dist/{Publish-B0KcuZAD.js → Publish-qnmEJJ7J.js} +3 -3
- package/dist/{Recipe-C0hVFbp4.js → Recipe-KARGNDXh.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CpNKX-sg.js → RuleView.vue_vue_type_script_setup_true_lang-U6qSmI1-.js} +134 -134
- package/dist/{Scheduler-DsWzD3qp.js → Scheduler-Bo-Hv4fw.js} +3 -3
- package/dist/{ServingSequence-BvBJtPsT.js → ServingSequence-CbTYSCvC.js} +3 -3
- package/dist/{Setting-lZyb72vf.js → Setting-7FtAEnGE.js} +5 -5
- package/dist/{Subcategory-BdPHqNYT.js → Subcategory-DtUkoShD.js} +4 -4
- package/dist/{Takeaway-BGGKoWV5.js → Takeaway-BhTFixal.js} +1 -1
- package/dist/{Takeaway-1-_pOBc_.js → Takeaway-Gr9GCre8.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-yDE3yWDr.js → Takeaway.vue_vue_type_script_setup_true_lang-OwmHTwdG.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-h9yZ2fAu.js → Thumbnail.vue_vue_type_script_setup_true_lang-BtKnlI5c.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C3q_7RGw.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cp1E7qhU.js} +14 -14
- package/dist/{Unit-DnWI2GGt.js → Unit-Dn_3GaCR.js} +2 -2
- package/dist/{Variant-CBIO_Py6.js → Variant-CwQ7f-ii.js} +3 -3
- package/dist/{_id_-CWZxFATG.js → _id_-jxkngK66.js} +9 -9
- package/dist/{app-BoMEYIIR.js → app-DTr3CMpl.js} +26 -26
- package/dist/{app-DQFmgarT.js → app-Dew0eGCF.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-HhBW6D7W.js → linked-status-DKTsXZ56.js} +2 -2
- package/dist/assets/{menu-export-qkOR6zu5.js → menu-export-D47qne53.js} +2 -2
- package/dist/assets/{override-menu-ClYLJDqA.js → override-menu-CUL3ygMK.js} +2 -2
- package/dist/assets/{validate-menu-WQ3U3WZa.js → validate-menu-8wWvKEyO.js} +2 -2
- package/dist/{catalog-DDqEdble.js → catalog-K52JHxqj.js} +1 -1
- package/dist/{catalogSetting-CCmJsXTh.js → catalogSetting-DziPWl8O.js} +1 -1
- package/dist/{category-Dx7d5TEa.js → category-YEpzAad_.js} +1 -1
- package/dist/{currency-CM1RnQcP.js → currency-OxLDRHHy.js} +1 -1
- package/dist/{dayjs.min-Dk58BsuL.js → dayjs.min-Dwou9E9z.js} +1 -1
- package/dist/{index-CEen9P1H.js → index-BCDII2vQ.js} +4 -4
- package/dist/{index-Mlze1KnJ.js → index-BcUg07mo.js} +1 -1
- package/dist/{index-mCZY4RLs.js → index-elG5LP03.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-CvDwvRNY.js → index.vue_vue_type_script_setup_true_lang-CSGbbn37.js} +2272 -2272
- package/dist/{item-va1GmngO.js → item-WEDSI-Pw.js} +13 -13
- package/dist/{jszip.min-BwKJLdao.js → jszip.min-DiZSWmVy.js} +545 -545
- package/dist/{menu-C8VGzuie.js → menu-Bv2G2XDC.js} +1 -1
- package/dist/{menuV2-t3v9Mt48.js → menuV2-Qbwwp3h5.js} +85 -85
- package/dist/{priceTier-CfMNR5R4.js → priceTier-gEMtbmDv.js} +1 -1
- package/dist/{scheduler-Br2nYK4b.js → scheduler-C15D-Ptm.js} +4 -4
- package/dist/{subcategory-D9UJvB3z.js → subcategory-BF1n3a2C.js} +2 -2
- package/dist/{toExcel-BdhvLkrS.js → toExcel-CqpUcIAd.js} +2 -2
- package/dist/{unit-DfSNL7du.js → unit-Cby_WUJC.js} +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createElementBlock as R, openBlock as i, createElementVNode as F, defineComponent as ae, ref as A, computed as j, resolveComponent as x, createBlock as T, unref as u, withCtx as M, createVNode as y, toDisplayString as E, Fragment as z, renderList as X, createCommentVNode as J, withModifiers as oe, watch as re, renderSlot as pe } from "vue";
|
|
2
|
-
import { u as le, A as ue, I as ee, a4 as ve, J as ie } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as le, A as ue, I as ee, a4 as ve, J as ie } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
3
3
|
import { useI18n as se, ItemSelector as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as de, FmButtonVariant as Z } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as _e } from "./discardConfirm-BHni0LNu.js";
|
|
6
|
-
import { u as ye } from "./menuV2-
|
|
6
|
+
import { u as ye } from "./menuV2-Qbwwp3h5.js";
|
|
7
7
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { m as O, g as Re, h as be, b as ge, u as he, f as te } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { m as O, g as Re, h as be, b as ge, u as he, f as te } from "./RuleView.vue_vue_type_script_setup_true_lang-U6qSmI1-.js";
|
|
9
9
|
import { c as Ce } from "./check-C9mY6LiX.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
const Ae = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as X, ref as C, computed as $, watch as j, resolveComponent as g, createBlock as L, openBlock as d, unref as t, withCtx as y, createElementVNode as r, createVNode as u, createElementBlock as h, Fragment as q, renderList as Y, createCommentVNode as B, toDisplayString as A, withModifiers as oe } from "vue";
|
|
2
|
-
import { u as Z, J as K, a4 as ae, G as ne, B as re, I as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, J as K, a4 as ae, G as ne, B as re, I as le } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
3
3
|
import { useI18n as ee, useCoreStore as ie } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as te, FmButtonVariant as N, useDialog as ce, useSnackbar as ue, useBreakpoints as me, FmButtonColorThemeVariant as W } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as de, m as E, _ as Q, b as pe, c as _e, f as P } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as se } from "./app-
|
|
5
|
+
import { u as de, m as E, _ as Q, b as pe, c as _e, f as P } from "./RuleView.vue_vue_type_script_setup_true_lang-U6qSmI1-.js";
|
|
6
|
+
import { _ as se } from "./app-DTr3CMpl.js";
|
|
7
7
|
import { u as ve } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
|
-
import { C as z, a as M } from "./catalogSetting-
|
|
10
|
-
import { u as ge } from "./priceTier-
|
|
9
|
+
import { C as z, a as M } from "./catalogSetting-DziPWl8O.js";
|
|
10
|
+
import { u as ge } from "./priceTier-gEMtbmDv.js";
|
|
11
11
|
const be = {
|
|
12
12
|
class: "fm-typo-en-title-md-600 mr-auto"
|
|
13
13
|
}, ye = {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as J, ref as T, computed as f, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as H } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useSnackbar as te, useDialog as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as ae } from "./app-
|
|
6
|
-
import { I as j, J as le, M as Y, A as C, u as re, Q as se, G as ie, a4 as ue } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ae } from "./app-DTr3CMpl.js";
|
|
6
|
+
import { I as j, J as le, M as Y, A as C, u as re, Q as se, G as ie, a4 as ue } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-U6qSmI1-.js";
|
|
8
8
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as ce } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as ce } from "./LinkProductSideSheet-CnGdSkv6.js";
|
|
10
10
|
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
11
|
const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, fe = { class: "space-y-16" }, ve = { class: "flex items-center gap-8" }, ye = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex-1" }, he = { class: "grow overflow-y-auto" }, be = { 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" }, xe = { class: "px-16 py-8 flex-1" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ J({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as N, resolveComponent as O, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as a, createElementBlock as k, Fragment as pe, renderList as we, createCommentVNode as M, normalizeClass as ve, toDisplayString as K, withModifiers as fe, mergeModels as Ze, useModel as Xe, renderSlot as _e, watch as de, createTextVNode as et, watchEffect as tt, nextTick as Ae, resolveDynamicComponent as lt, onMounted as at, h as W, isRef as je, normalizeStyle as ft } from "vue";
|
|
2
|
-
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, ae as bt, af as _t, ag as Pe, ah as yt, R as ht, a4 as be, ai as Ee } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, ae as bt, af as _t, ag as Pe, ah as yt, R as ht, a4 as be, ai as Ee } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
3
3
|
import { useI18n as Ie, useCoreStore as ze, useCustomAttributes as xt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Se } from "./menu-
|
|
5
|
-
import { L as Ge } from "./LinkProductSideSheet-
|
|
6
|
-
import { r as Ct, _ as Le } from "./index-
|
|
7
|
-
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-
|
|
10
|
-
import { u as ot, C as It } from "./item-
|
|
4
|
+
import { u as Se } from "./menu-Bv2G2XDC.js";
|
|
5
|
+
import { L as Ge } from "./LinkProductSideSheet-CnGdSkv6.js";
|
|
6
|
+
import { r as Ct, _ as Le } from "./index-BcUg07mo.js";
|
|
7
|
+
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DkCAw-nl.js";
|
|
8
|
+
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BtKnlI5c.js";
|
|
9
|
+
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-Qbwwp3h5.js";
|
|
10
|
+
import { u as ot, C as It } from "./item-WEDSI-Pw.js";
|
|
11
11
|
import { b as qe, H as $t } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as rt, components as te, useDialog as Tt, FmButtonColorThemeVariant as q, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as Pt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, a as At } from "./app-
|
|
14
|
+
import { _ as De, a as At } from "./app-DTr3CMpl.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Rt } from "./index-
|
|
17
|
-
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Rt } from "./index-BCDII2vQ.js";
|
|
17
|
+
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BFDGNXtA.js";
|
|
18
18
|
import { c as zt } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as Dt } from "./currency-
|
|
19
|
+
import { f as Dt } from "./currency-OxLDRHHy.js";
|
|
20
20
|
import { w as Ot } from "./tooltip-B5BiPMx9.js";
|
|
21
21
|
function Bt(C, e, i = C) {
|
|
22
22
|
const n = F(!0), t = h(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { G as le, u as ie, J as D, a1 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-DiZSWmVy.js";
|
|
3
|
+
import { G as le, u as ie, J as D, a1 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { t as be, v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-Bv2G2XDC.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-COmQsVeB.js";
|
|
9
|
+
import { t as be, v as ve, w as _e } from "./item-WEDSI-Pw.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var qe = { firebase: { storageBucket: "image.
|
|
154
|
+
var qe = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const He = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref as
|
|
2
|
-
import { D as F } from "./dayjs.min-
|
|
3
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
4
|
-
import { u as J, G as W, B as R, H
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as O, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as j, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
+
import { D as F } from "./dayjs.min-Dwou9E9z.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-DiZSWmVy.js";
|
|
4
|
+
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BFDGNXtA.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { _ as me, a as
|
|
9
|
+
import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as pe, a as fe } from "./menu-
|
|
12
|
-
import { u as _e } from "./item-
|
|
13
|
-
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as
|
|
15
|
-
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as ye } from "./toExcel-
|
|
11
|
+
import { u as pe, a as fe } from "./menu-Bv2G2XDC.js";
|
|
12
|
+
import { u as _e } from "./item-WEDSI-Pw.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-COmQsVeB.js";
|
|
14
|
+
import { L as q } from "./LinkProductSideSheet-CnGdSkv6.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cp1E7qhU.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BtKnlI5c.js";
|
|
17
|
+
import { m as ye } from "./toExcel-CqpUcIAd.js";
|
|
18
18
|
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "flex justify-end gap-8" }, Se = /* @__PURE__ */ E({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
@@ -23,7 +23,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
25
|
setup(C) {
|
|
26
|
-
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k =
|
|
26
|
+
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k = O(""), r = Q(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
28
|
const p = M("FmTextField"), f = M("FmButton"), _ = M("FmForm");
|
|
29
29
|
return m(), y(_, {
|
|
@@ -66,7 +66,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
68
|
setup(C) {
|
|
69
|
-
const t = J(), S = K(), k = X(), { minor: r } = W(k), x =
|
|
69
|
+
const t = J(), S = K(), k = X(), { minor: r } = W(k), x = O(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
72
72
|
title: "Migrate to new version",
|
|
@@ -94,8 +94,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
94
94
|
const p = g(() => {
|
|
95
95
|
const f = S.restaurants.value;
|
|
96
96
|
if (!f.length) return "Required at least one restaurant to migrate";
|
|
97
|
-
const _ = f.filter((b) => !b.posVersion || !R.Pos.canUse({ feature:
|
|
98
|
-
return _.length ? `Upgrade POS to V${R.Pos.minVersionToUse(
|
|
97
|
+
const _ = f.filter((b) => !b.posVersion || !R.Pos.canUse({ feature: H.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
98
|
+
return _.length ? `Upgrade POS to V${R.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${_.map((b) => b.profile.name).join(", ")}` : null;
|
|
99
99
|
});
|
|
100
100
|
return g(() => p.value ? p.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (f, _) => {
|
|
101
101
|
const l = M("FmSnackbar");
|
|
@@ -111,7 +111,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), we = "/assets/menu-export-
|
|
114
|
+
}), we = "/assets/menu-export-D47qne53.js", Ce = { class: "flex-1 flex justify-between gap-8 pl-8" }, Fe = { class: "flex items-center" }, $e = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ee = { class: "flex gap-8" }, Je = /* @__PURE__ */ E({
|
|
115
115
|
__name: "Products",
|
|
116
116
|
setup(C) {
|
|
117
117
|
const { t } = le(), S = K(), k = W(X()), r = J(), x = g(() => r.rules.item), d = _e(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), f = g(() => ({
|
|
@@ -119,8 +119,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
119
119
|
_id: r.state.menu._id,
|
|
120
120
|
_rev: r.state.menu._rev
|
|
121
121
|
})), _ = g(() => {
|
|
122
|
-
const u =
|
|
123
|
-
return
|
|
122
|
+
const u = U.flatten(p.value.map((n) => n.items));
|
|
123
|
+
return U.uniqBy(u, (n) => n._id).length;
|
|
124
124
|
});
|
|
125
125
|
async function l(u, n) {
|
|
126
126
|
const v = new oe();
|
|
@@ -160,8 +160,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
160
160
|
}
|
|
161
161
|
const {
|
|
162
162
|
menuItems: T,
|
|
163
|
-
categories:
|
|
164
|
-
linkItemRules:
|
|
163
|
+
categories: D,
|
|
164
|
+
linkItemRules: I,
|
|
165
165
|
handleSubmit: N,
|
|
166
166
|
catalogManager: Y,
|
|
167
167
|
schedulerManager: B
|
|
@@ -187,11 +187,11 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
187
187
|
default: c(({ trigger: a }) => [
|
|
188
188
|
o(me, null, {
|
|
189
189
|
default: c(() => [
|
|
190
|
-
o(
|
|
190
|
+
o(z, {
|
|
191
191
|
label: e(t)("menu.products.actions.export"),
|
|
192
192
|
onClick: b
|
|
193
193
|
}, null, 8, ["label"]),
|
|
194
|
-
o(
|
|
194
|
+
o(z, {
|
|
195
195
|
label: e(t)("menu.products.actions.import"),
|
|
196
196
|
onClick: a
|
|
197
197
|
}, null, 8, ["label", "onClick"])
|
|
@@ -239,14 +239,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
239
239
|
label: e(t)("menu.products.actions.add"),
|
|
240
240
|
"prepend-icon": "add",
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
|
-
}, null, 8, ["label"])) : s.value ? (m(), y(
|
|
242
|
+
}, null, 8, ["label"])) : s.value ? (m(), y(q, {
|
|
243
243
|
key: 1,
|
|
244
244
|
"categorized-items": e(Y).linkableItems.value,
|
|
245
245
|
"initial-value": e(Y).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
|
-
categories: e(
|
|
249
|
-
"link-item-rules": e(
|
|
248
|
+
categories: e(D),
|
|
249
|
+
"link-item-rules": e(I),
|
|
250
250
|
"no-scheduler": s.value,
|
|
251
251
|
onSubmit: e(N)
|
|
252
252
|
}, {
|
|
@@ -258,14 +258,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
258
258
|
}, null, 8, ["label", "onClick"])
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(
|
|
261
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(q, {
|
|
262
262
|
key: 2,
|
|
263
263
|
"categorized-items": e(B).linkableItems.value,
|
|
264
264
|
"initial-value": e(B).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
|
-
categories: e(
|
|
268
|
-
"link-item-rules": e(
|
|
267
|
+
categories: e(D),
|
|
268
|
+
"link-item-rules": e(I),
|
|
269
269
|
"no-scheduler": s.value,
|
|
270
270
|
onSubmit: e(N)
|
|
271
271
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as W, ref as P, computed as N, onMounted as ie, resolveComponent as U, createElementBlock as M, openBlock as C, createVNode as p, createElementVNode as i, toDisplayString as z, unref as d, Fragment as H, renderList as q, createBlock as j, watch as de, withCtx as E, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as Ve, normalizeStyle as Ie, renderSlot as Pe, withModifiers as te, h as R, onUnmounted as Me } from "vue";
|
|
2
|
-
import { D as L } from "./dayjs.min-
|
|
2
|
+
import { D as L } from "./dayjs.min-Dwou9E9z.js";
|
|
3
3
|
import { useRouter as $e } from "vue-router";
|
|
4
4
|
import { O as Ue, b as Ae } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { B as Be, H as De, G as he, ac as Te, A as G, u as be, I as pe, J as Re, a4 as Oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as Be, H as De, G as he, ac as Te, A as G, u as be, I as pe, J as Re, a4 as Oe } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as Ne, RestaurantSelector as Ee } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as Le, useProxiedModel as ze, useDialog as _e, FmButtonVariant as fe, components as Q } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Je } from "./app-
|
|
9
|
+
import { _ as Je } from "./app-DTr3CMpl.js";
|
|
10
10
|
import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as ge } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, 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 { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-DTr3CMpl.js";
|
|
6
|
+
import { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-w9G4LRB7.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-Cby_WUJC.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__ */ z({
|
|
15
15
|
__name: "Form",
|