@feedmepos/mf-menu 0.32.77 → 0.32.78
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-BHaFFKgj.js → App-DPCHWImL.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DVEtgCqE.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C4iacJky.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-3uCD_k5b.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-BWoRN4s5.js} +3 -3
- package/dist/{Catalog-DdV0gF_5.js → Catalog-CBYCvZ4i.js} +6 -6
- package/dist/{Category-fkh6uy_X.js → Category-CbNtnuBB.js} +4 -4
- package/dist/{Category-B4u7nW_n.js → Category-Dpc6jnS1.js} +14 -14
- package/dist/{CookingGuide-1BHECj2Q.js → CookingGuide-B848njOa.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-MYd4Yzd0.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CkNSC4k9.js} +1 -1
- package/dist/{Group-D8C1gd_3.js → Group-WQdbziVl.js} +1 -1
- package/dist/{Group-DEIB_rHc.js → Group-yhtx74q4.js} +8 -8
- package/dist/Group.vue_vue_type_script_setup_true_lang-Q0Z5rAEg.js +627 -0
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CLrQ5top.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-R2zzBkf0.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BHudLX0K.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-_R7RQdJk.js} +7 -7
- package/dist/{Ingredient-CnKzPizo.js → Ingredient-C5i01EIS.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DuKTQfLa.js → InventoryBinding.vue_vue_type_script_setup_true_lang-OpRB3dyV.js} +2 -2
- package/dist/{LinkProductSideSheet-B0PciGSP.js → LinkProductSideSheet-Dt78f3fG.js} +4 -4
- package/dist/{MenuSetting-D4lyi3VS.js → MenuSetting-LhwHiH3C.js} +7 -7
- package/dist/{OrderPacing-BchmVvhQ.js → OrderPacing-DXj4J7Sp.js} +5 -5
- package/dist/{PrintRoute-ltS-wCjr.js → PrintRoute-DZQYeMsQ.js} +5 -5
- package/dist/{Product-WZdmdoQr.js → Product--7aX0fcK.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BFqhhLvN.js → Product.vue_vue_type_script_setup_true_lang-BSsS2dqJ.js} +14 -14
- package/dist/{ProductInternalTools-CeDden2S.js → ProductInternalTools-C4_r1tAz.js} +6 -6
- package/dist/{Products-DcLtwbRO.js → Products-CmtzWP4r.js} +61 -61
- package/dist/{Publish-H3Liavuu.js → Publish-Bquodjpf.js} +4 -4
- package/dist/{Recipe-PL1QHaYe.js → Recipe-DanBt83W.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Czp_55oY.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Ck5gHsEQ.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-P6DLshs1.js → RuleView.vue_vue_type_script_setup_true_lang-xuzVQmfE.js} +3 -3
- package/dist/{Scheduler-CXoxVRBZ.js → Scheduler-CNQbEpCH.js} +3 -3
- package/dist/{ServingSequence-YhME6BpW.js → ServingSequence-BpLukp5s.js} +3 -3
- package/dist/{Setting-CI0xqqtI.js → Setting-CqtVbgEX.js} +5 -5
- package/dist/{Subcategory-BHPtwuUq.js → Subcategory-D05nSckm.js} +6 -6
- package/dist/{Takeaway-xwwcISfI.js → Takeaway-BojkiMWZ.js} +1 -1
- package/dist/{Takeaway-BzT_Th8V.js → Takeaway-o938dKSs.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Be9HV6dK.js → Takeaway.vue_vue_type_script_setup_true_lang-CyItVmUO.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-C1eTBdUl.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BrLUgeet.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CjlsCXDm.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BlgJ9HSX.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dl7sYg0Q.js +5971 -0
- package/dist/{Unit-ByhOcOYA.js → Unit-BO34czMi.js} +2 -2
- package/dist/{Variant-DHTF9Khv.js → Variant-9hYjzP27.js} +3 -3
- package/dist/{_id_-Baab0DQO.js → _id_-C9EPUJMN.js} +10 -10
- package/dist/{app-jJLYblaN.js → app-BJeTqtv9.js} +331 -331
- package/dist/{app-Cs8Id8Xm.js → app-Br1rwkSn.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +50 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/BaseForm.vue.d.ts +5 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/BaseForm.vue.d.ts +5 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +9 -0
- package/dist/apps/mf-menu/src/composable/groupHidden.d.ts +26 -0
- package/dist/apps/mf-menu/src/manager/menu/group.d.ts +12 -3
- package/dist/apps/mf-menu/src/manager/menu/groupExtraction.d.ts +17 -1
- package/dist/apps/mf-menu/src/manager/menu/groupImmutableFields.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-hOWb-U8t.js → linked-status-DeOWgUtC.js} +3 -3
- package/dist/assets/{menu-export-DYwNTsVD.js → menu-export-C4lP1SAy.js} +3 -3
- package/dist/assets/{linked-status-BSOqiFHd.js → override-menu-D_fBjnbT.js} +3 -3
- package/dist/assets/{validate-menu-DWZ_nQ9A.js → validate-menu-Cyw7mq4e.js} +2 -2
- package/dist/catalog-xBfYjm-n.js +235 -0
- package/dist/{catalogSetting-D1rTJ0IV.js → catalogSetting-CuHh62ii.js} +1 -1
- package/dist/{currency-CfklxgOo.js → currency-CSYrHGCM.js} +1 -1
- package/dist/{dayjs.min-s8Pn5XhH.js → dayjs.min-DMxeixDE.js} +2 -2
- package/dist/{discardConfirm-X1bjXonQ.js → discardConfirm-DEE_kXqK.js} +1 -1
- package/dist/{index-CSBbHVWU.js → index-CFAe9jDS.js} +1 -1
- package/dist/{index-BFLrHA28.js → index-CgR6vyM1.js} +5 -5
- package/dist/{index-DF1e-d79.js → index-nDpqIsxv.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-DKMwA-UJ.js → index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js} +6 -6
- package/dist/{item-D0GMSEFc.js → item-Cg4hkIm0.js} +4670 -4549
- package/dist/{jszip.min-CrG2EhWe.js → jszip.min-BGGp26Zm.js} +3 -3
- package/dist/{linkProducts-DOtgB1M6.js → linkProducts-rOzmlZmQ.js} +4 -4
- package/dist/{memberPricing-DINEsVxj.js → memberPricing-BVC55wej.js} +1 -1
- package/dist/{menu-DobV0-S0.js → menu-sD696lXn.js} +1 -1
- package/dist/{menuV2-CzU77NoT.js → menuV2-Cf41MUAw.js} +73 -73
- package/dist/{order_pacing-Cg41OjXP.js → order_pacing-D-VDq_AN.js} +5 -5
- package/dist/{priceTier-ByJqyA8e.js → priceTier-Dajfy9ll.js} +1 -1
- package/dist/{rules-DbQdfkh_.js → rules-BTp32qER.js} +3 -3
- package/dist/{scheduler-B-GZ_cxC.js → scheduler-Ct06dHRB.js} +5 -5
- package/dist/{toExcel-Bq4sIMSZ.js → toExcel-BOsLuO7C.js} +2 -2
- package/dist/{unit-BBPddYB3.js → unit-D-Sppjh0.js} +3 -3
- package/package.json +2 -2
- package/dist/Group.vue_vue_type_script_setup_true_lang-DfTwCDNq.js +0 -622
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cb-21rZW.js +0 -5865
- package/dist/catalog-AhHjSmxz.js +0 -199
|
@@ -2,16 +2,16 @@ var tt = Object.defineProperty;
|
|
|
2
2
|
var At = (t, e, A) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
|
|
3
3
|
var Te = (t, e, A) => At(t, typeof e != "symbol" ? e + "" : e, A);
|
|
4
4
|
import { readonly, ref, defineComponent, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, resolveComponent, normalizeClass, createSlots, withCtx, createElementVNode, createVNode, toDisplayString, createCommentVNode, onUnmounted, onMounted, Fragment } from "vue";
|
|
5
|
-
import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-
|
|
5
|
+
import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-BJeTqtv9.js";
|
|
7
7
|
import { installBusinessQueryStatePlugin, useCoreStore, RestaurantSelector, useI18n, FeedMeAuth, useLocale } from "@feedmepos/mf-common";
|
|
8
8
|
import { useBreakpoints } from "@feedmepos/ui-library";
|
|
9
9
|
import { createRouter, createWebHistory, useRouter } from "vue-router";
|
|
10
|
-
import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dl7sYg0Q.js";
|
|
11
11
|
import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
import { r as resolvePublishedAt } from "./publishMeta-CAbjnmmS.js";
|
|
13
|
-
import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-
|
|
14
|
-
import { u as useAppStore } from "./app-
|
|
13
|
+
import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-Cg4hkIm0.js";
|
|
14
|
+
import { u as useAppStore } from "./app-Br1rwkSn.js";
|
|
15
15
|
var flagsmith$1 = { exports: {} }, flagsmith = flagsmith$1.exports, hasRequiredFlagsmith;
|
|
16
16
|
function requireFlagsmith() {
|
|
17
17
|
return hasRequiredFlagsmith || (hasRequiredFlagsmith = 1, function(t, e) {
|
|
@@ -13549,7 +13549,7 @@ const _hoisted_1 = {
|
|
|
13549
13549
|
I && I === F_MENU_VERSION.enum.v4 && router.addRoute({
|
|
13550
13550
|
path: "/serving-sequence",
|
|
13551
13551
|
name: "serving-sequence",
|
|
13552
|
-
component: () => import("./ServingSequence-
|
|
13552
|
+
component: () => import("./ServingSequence-BpLukp5s.js")
|
|
13553
13553
|
});
|
|
13554
13554
|
}
|
|
13555
13555
|
), watch(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as n, isRef as q, createBlock as A, Fragment as D, renderList as G } from "vue";
|
|
2
2
|
import { useI18n as H } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as M } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { L as O } from "./LinkProductSideSheet-
|
|
4
|
+
import { _ as M } from "./RuleView.vue_vue_type_script_setup_true_lang-xuzVQmfE.js";
|
|
5
|
+
import { L as O } from "./LinkProductSideSheet-Dt78f3fG.js";
|
|
6
6
|
import { u as $ } from "./search-BAPEUu1R.js";
|
|
7
|
-
import { u as J, aq as Q } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as J, aq as Q } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
8
8
|
const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, ref as d, resolveComponent as f, createElementBlock as w, openBlock as z, Fragment as F, renderSlot as S, createVNode as l, unref as i, withCtx as r, createElementVNode as v, toDisplayString as B } from "vue";
|
|
2
|
-
import { l as _, u as D } from "./discardConfirm-
|
|
2
|
+
import { l as _, u as D } from "./discardConfirm-DEE_kXqK.js";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as x } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-C4iacJky.js";
|
|
6
6
|
import { c as O } from "./check-C9mY6LiX.js";
|
|
7
|
-
import { u as I } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as I } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
8
8
|
const N = { class: "fm-typo-en-title-md-600" }, P = { class: "flex gap-8 items-center justify-start" }, J = /* @__PURE__ */ C({
|
|
9
9
|
__name: "ApplyProductDialog",
|
|
10
10
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as j, createElementBlock as F, Fragment as G, renderSlot as xe, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as ke, toDisplayString as $, markRaw as Ce, toRaw as he, h as J, withModifiers as Q, normalizeClass as Fe } from "vue";
|
|
2
2
|
import { useRouter as Oe } from "vue-router";
|
|
3
|
-
import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, P as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, P as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
4
4
|
import { useI18n as ue, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as be, components as ne, FmButtonVariant as W, FmButtonColorThemeVariant as Z, useDialog as Te, useBreakpoints as we } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Ue, R as ce } from "./app-
|
|
6
|
+
import { _ as Ue, R as ce } from "./app-BJeTqtv9.js";
|
|
7
7
|
import { _ as Ae } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
8
|
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
9
|
-
import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-xuzVQmfE.js";
|
|
10
|
+
import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-R2zzBkf0.js";
|
|
11
11
|
import { c as $e } from "./check-C9mY6LiX.js";
|
|
12
|
-
import { C as B, a as R } from "./catalogSetting-
|
|
12
|
+
import { C as B, a as R } from "./catalogSetting-CuHh62ii.js";
|
|
13
13
|
import { _ as Le } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
14
|
-
import { C as Ee } from "./catalog-
|
|
14
|
+
import { C as Ee } from "./catalog-xBfYjm-n.js";
|
|
15
15
|
const Ie = /* @__PURE__ */ se({
|
|
16
16
|
__name: "CatalogUsageTable",
|
|
17
17
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as K, Fragment as P, renderList as U, toDisplayString as S, createBlock as V } from "vue";
|
|
2
2
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as M, useBreakpoints as $, useDialog as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { b as F, i as T, u as Y, s as j, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as G } from "./app-
|
|
6
|
-
import { u as B } from "./menu-
|
|
7
|
-
import {
|
|
4
|
+
import { b as F, i as T, u as Y, s as j, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
5
|
+
import { _ as G } from "./app-BJeTqtv9.js";
|
|
6
|
+
import { u as B } from "./menu-sD696lXn.js";
|
|
7
|
+
import { an as H } from "./item-Cg4hkIm0.js";
|
|
8
8
|
const J = {
|
|
9
9
|
key: 0
|
|
10
10
|
}, Q = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as L, ref as $, computed as
|
|
1
|
+
import { defineComponent as L, ref as $, computed as C, h as m, withModifiers as M, getCurrentInstance as G, resolveComponent as x, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as u, unref as o, withCtx as k, Fragment as q, renderList as H, toDisplayString as w, createBlock as y, createCommentVNode as J } from "vue";
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as S, useSnackbar as T, components as Q, FmButtonVariant as B, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
6
6
|
import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as ne } from "./app-
|
|
7
|
+
import { _ as ne } from "./app-BJeTqtv9.js";
|
|
8
8
|
import { c as le } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { A as se,
|
|
9
|
+
import { A as se, an as R } from "./item-Cg4hkIm0.js";
|
|
10
10
|
import { _ as re } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
11
|
-
import { u as z, a as ce } from "./menu-
|
|
11
|
+
import { u as z, a as ce } from "./menu-sD696lXn.js";
|
|
12
12
|
const ie = se, me = {
|
|
13
13
|
key: 0
|
|
14
14
|
}, ue = {
|
|
@@ -36,7 +36,7 @@ const ie = se, me = {
|
|
|
36
36
|
menuLoader: _
|
|
37
37
|
}), {
|
|
38
38
|
categories: i
|
|
39
|
-
} = z(), n = $(""), g =
|
|
39
|
+
} = z(), n = $(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
|
|
40
40
|
t: l
|
|
41
41
|
} = E(), V = $([{
|
|
42
42
|
accessorKey: "name",
|
|
@@ -130,7 +130,7 @@ const ie = se, me = {
|
|
|
130
130
|
initialValue: e
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
const U = W(), j =
|
|
133
|
+
const U = W(), j = C(() => U.breakpoints.value.xs);
|
|
134
134
|
return (e, t) => {
|
|
135
135
|
const r = x("FmSearch"), K = x("FmTable"), P = x("FmButton");
|
|
136
136
|
return j.value ? (c(), f("div", pe, [s("div", _e, [u(r, {
|
|
@@ -162,7 +162,7 @@ const ie = se, me = {
|
|
|
162
162
|
type: o(l)("menu.category.title")
|
|
163
163
|
})
|
|
164
164
|
}, null, 8, ["modelValue", "placeholder"])])]), u(ne, null, {
|
|
165
|
-
default:
|
|
165
|
+
default: k(() => [u(K, {
|
|
166
166
|
"column-defs": V.value,
|
|
167
167
|
draggable: !0,
|
|
168
168
|
"page-size": o(i).length,
|
|
@@ -178,18 +178,18 @@ const ie = se, me = {
|
|
|
178
178
|
})]));
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
}), xe = { class: "flex-1 flex justify-between gap-8 pl-8" },
|
|
181
|
+
}), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ce = { class: "flex items-center" }, ke = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, Re = /* @__PURE__ */ L({
|
|
182
182
|
__name: "Category",
|
|
183
183
|
setup(A) {
|
|
184
184
|
const d = S(), p = T(), h = N(p), _ = D(h), v = R({ dialog: d, menuLoader: _ }), { categories: i } = z(), { t: n } = E();
|
|
185
185
|
function g() {
|
|
186
186
|
v.create();
|
|
187
187
|
}
|
|
188
|
-
const l =
|
|
188
|
+
const l = C(() => i.value.length);
|
|
189
189
|
return ce().resetOnMount(), (V, b) => (c(), y(ae, {
|
|
190
190
|
heading: o(n)("menu.category.title")
|
|
191
191
|
}, {
|
|
192
|
-
default:
|
|
192
|
+
default: k(() => [
|
|
193
193
|
o(i).length > 0 ? (c(), y(be, { key: 0 })) : (c(), y(o(oe), {
|
|
194
194
|
key: 1,
|
|
195
195
|
action: {
|
|
@@ -200,10 +200,10 @@ const ie = se, me = {
|
|
|
200
200
|
title: o(n)("menu.category.empty.title")
|
|
201
201
|
}, null, 8, ["action", "subtitle", "title"]))
|
|
202
202
|
]),
|
|
203
|
-
"append-heading":
|
|
203
|
+
"append-heading": k(() => [
|
|
204
204
|
s("div", xe, [
|
|
205
|
-
s("div",
|
|
206
|
-
s("div",
|
|
205
|
+
s("div", Ce, [
|
|
206
|
+
s("div", ke, [
|
|
207
207
|
s("p", we, w(l.value), 1)
|
|
208
208
|
])
|
|
209
209
|
]),
|
|
@@ -2,12 +2,12 @@ import { defineComponent as ae, ref as F, computed as V, resolveComponent as x,
|
|
|
2
2
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as de, useSnackbar as me, useBreakpoints as he, useDialog as xe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ce } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as we } from "./app-
|
|
6
|
-
import { d as ee, g as ue, h as re, H as pe, u as Ve, i as Fe, b as Se, _ as Ie } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as ge, l as _e } from "./discardConfirm-
|
|
5
|
+
import { _ as we } from "./app-BJeTqtv9.js";
|
|
6
|
+
import { d as ee, g as ue, h as re, H as pe, u as Ve, i as Fe, b as Se, _ as Ie } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
7
|
+
import { u as ge, l as _e } from "./discardConfirm-DEE_kXqK.js";
|
|
8
8
|
import { d as $e } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
9
|
-
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { L as Oe } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-xuzVQmfE.js";
|
|
10
|
+
import { L as Oe } from "./LinkProductSideSheet-Dt78f3fG.js";
|
|
11
11
|
import { _ as Ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
12
|
const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = { class: "space-y-32" }, Be = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Te = { class: "px-16 py-8 grow" }, ze = { class: "px-16 py-8 w-[40%]" }, Ee = { class: "px-16 py-8 grow" }, Ue = { class: "space-y-16" }, Ae = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Re = /* @__PURE__ */ ae({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
|
|
2
2
|
import { useI18n as V } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
4
|
-
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-CDnlHcKS.js";
|
|
5
5
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
7
7
|
const X = /* @__PURE__ */ S({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as m, ref as p, createBlock as i, openBlock as
|
|
1
|
+
import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref as n, withCtx as a, createElementVNode as e, toDisplayString as c, createCommentVNode as u, createVNode as l } from "vue";
|
|
2
2
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import {
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-Q0Z5rAEg.js";
|
|
6
|
+
import { ao as b } from "./item-Cg4hkIm0.js";
|
|
7
|
+
import { a as h } from "./menu-sD696lXn.js";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, A = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|
|
11
11
|
const o = p(0), { t: r } = _();
|
|
12
|
-
return h().resetOnMount(), (V, s) => (
|
|
12
|
+
return h().resetOnMount(), (V, s) => (d(), i(g, {
|
|
13
13
|
heading: n(r)("menu.group.title")
|
|
14
14
|
}, {
|
|
15
15
|
default: a(() => [
|
|
16
|
-
|
|
16
|
+
l(y, {
|
|
17
17
|
"onUpdate:count": s[0] || (s[0] = (t) => o.value = t)
|
|
18
18
|
})
|
|
19
19
|
]),
|
|
@@ -25,9 +25,9 @@ const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "fle
|
|
|
25
25
|
])
|
|
26
26
|
]),
|
|
27
27
|
e("div", null, [
|
|
28
|
-
o.value > 0 ? (
|
|
28
|
+
o.value > 0 ? (d(), i(n(b), { key: 0 }, {
|
|
29
29
|
default: a(({ trigger: t }) => [
|
|
30
|
-
|
|
30
|
+
l(f, {
|
|
31
31
|
label: n(r)("menu.group.actions.add"),
|
|
32
32
|
"prepend-icon": "add",
|
|
33
33
|
type: "button",
|