@feedmepos/mf-menu 0.32.82 → 0.32.83-dev.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-CP6dKdsG.js → App-CJtpyTsA.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CxKh2z62.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C01hHwqy.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-D5yV-KHS.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-4xmgAa5D.js} +3 -3
- package/dist/{Catalog-rmn_wi_K.js → Catalog-CTUtAc6s.js} +6 -6
- package/dist/{CatalogBinding-B6qmT4ZX.js → CatalogBinding-DQf2xYH8.js} +13 -13
- package/dist/{Category-DSWeQdzi.js → Category-DP6UnoXf.js} +4 -4
- package/dist/{Category-dZn4oK25.js → Category-Q9BCIS4J.js} +4 -4
- package/dist/{CookingGuide-BVTYWxaA.js → CookingGuide-GbojUPLO.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bjfql_55.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CBRNh-O-.js} +1 -1
- package/dist/{Group-CHi-dO5H.js → Group-CJqQLteU.js} +3 -3
- package/dist/{Group-B3C6clax.js → Group-Dsc8PGdX.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-UxVrkBuN.js → Group.vue_vue_type_script_setup_true_lang-FWqqHQ20.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Do1OBBQf.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BcQa7V0d.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CO-vKv_2.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Cb9tTsPG.js} +232 -215
- package/dist/{Ingredient-BiSrkQVk.js → Ingredient-DWEB328H.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-0w-RN_R_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Dab9-l-S.js} +2 -2
- package/dist/{LinkProductSideSheet-DocQGJPp.js → LinkProductSideSheet-BluWowSV.js} +4 -4
- package/dist/{MenuSetting-CtyVoKWq.js → MenuSetting-C_ZsIERs.js} +7 -7
- package/dist/{OrderPacing-D13DbuOg.js → OrderPacing-BZhIFo4P.js} +5 -5
- package/dist/{PrintRoute-Ci3Iys0w.js → PrintRoute-C5ZJs7tz.js} +5 -5
- package/dist/{Product-9OKt-6KX.js → Product-rESWzhq6.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-B2CRE8lH.js → Product.vue_vue_type_script_setup_true_lang-C-zJ0P53.js} +14 -14
- package/dist/{ProductInternalTools-Cpq_h_Jv.js → ProductInternalTools-tkLzH5hJ.js} +7 -7
- package/dist/{Products-BtUxMJgT.js → Products-DxpE9Hhz.js} +50 -50
- package/dist/Publish-3z09Tj11.js +1608 -0
- package/dist/{Recipe-BLPc5AMa.js → Recipe-Dqtj2Ye9.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BlgHu1wy.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CST9Gy_R.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DddG4OKH.js → RuleView.vue_vue_type_script_setup_true_lang-_MGk1b10.js} +609 -609
- package/dist/{Scheduler-xKSccoH0.js → Scheduler-BgkBxTeC.js} +3 -3
- package/dist/{ServingSequence-DskyUkTW.js → ServingSequence-D92cps_j.js} +3 -3
- package/dist/{Setting-k8Id6cHv.js → Setting-JUioq6ZT.js} +5 -5
- package/dist/{Subcategory-D17FTwWm.js → Subcategory-vjc6gzqd.js} +6 -6
- package/dist/{Takeaway-C3JIyMai.js → Takeaway-BXMBCjFg.js} +1 -1
- package/dist/Takeaway-DSOy02ma.js +64 -0
- package/dist/Takeaway.vue_vue_type_script_setup_true_lang-539rI3Ek.js +331 -0
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-DGbxQDG5.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-C37PZJuF.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CTco6ODU.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BjsExR0h.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CZhTqKW3.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dy-eMWb4.js} +602 -601
- package/dist/{Unit-Bhn4-m_i.js → Unit-_Eoj6ONR.js} +2 -2
- package/dist/{Variant-CElpkood.js → Variant-D1iCI3U5.js} +3 -3
- package/dist/{_id_-Cd1qbY0n.js → _id_-BUrZucNq.js} +10 -10
- package/dist/{app-UDWbW4OG.js → app-B8GiVUrR.js} +1 -1
- package/dist/{app-DsnkFZ-H.js → app-BJA5-4eB.js} +392 -392
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +25 -0
- package/dist/apps/mf-menu/src/components/feature/TakeAwayManager/Form.vue.d.ts +3 -3
- package/dist/apps/mf-menu/src/helper/takeawayOverride.d.ts +12 -0
- package/dist/apps/mf-menu/src/manager/menu/takeaway.d.ts +14 -0
- package/dist/apps/mf-menu/src/views/Publish/publishError.d.ts +20 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DgsdjPHB.js → linked-status-Bqmqi1JL.js} +3 -3
- package/dist/assets/{menu-export-BGMqa5WQ.js → menu-export-CfrN-LuH.js} +2 -2
- package/dist/assets/{override-menu-D4M8wytN.js → override-menu-Cy7YaK_1.js} +3 -3
- package/dist/assets/{validate-menu-BxFnQvZD.js → validate-menu-BPtUlI3H.js} +12 -12
- package/dist/{catalog-C0qDPI4x.js → catalog-B3YnChlG.js} +1 -1
- package/dist/{catalogSetting-CNiRVcRy.js → catalogSetting-BeiJ3_Fx.js} +1 -1
- package/dist/{currency-CBTIYnEv.js → currency-BKZrZwjw.js} +1 -1
- package/dist/{dayjs.min-Dibo6tEl.js → dayjs.min-WGRuZAMu.js} +2 -2
- package/dist/{discardConfirm-CY30eR1E.js → discardConfirm-CuLDiWC_.js} +1 -1
- package/dist/{index-B0ldk6F6.js → index-BYh87zkc.js} +5 -5
- package/dist/{index-BFShshS2.js → index-C36SngVC.js} +1 -1
- package/dist/{index-CB458_NN.js → index-CUzEne2b.js} +137 -131
- package/dist/{index.vue_vue_type_script_setup_true_lang-D1Voe2H_.js → index.vue_vue_type_script_setup_true_lang-BJZykcBx.js} +25295 -25669
- package/dist/{item-CYQbNtVH.js → item-BQYLe0DU.js} +1290 -1289
- package/dist/{jszip.min-vyjXBfka.js → jszip.min-kAXqpQrc.js} +483 -483
- package/dist/{linkProducts-CxJsNjEk.js → linkProducts-B3BYn9Cw.js} +4 -4
- package/dist/{memberPricing-BT91F3oY.js → memberPricing-DzPTdmS5.js} +1 -1
- package/dist/{menu-DC2L58Mr.js → menu-DUOE-Q12.js} +1 -1
- package/dist/{menuV2-BVrodTOd.js → menuV2-BO3LtBSw.js} +37 -37
- package/dist/{order_pacing-DlMGv564.js → order_pacing-DqVag6W3.js} +5 -5
- package/dist/{priceTier-tLHSa3f-.js → priceTier-BFauU3rd.js} +1 -1
- package/dist/{rules-SVD2wEfD.js → rules-B596A4CJ.js} +3 -3
- package/dist/{scheduler-DwdWTugd.js → scheduler-KT6kOtgK.js} +5 -5
- package/dist/{toExcel-Cw_mdmEb.js → toExcel-CgXzLIId.js} +2 -2
- package/dist/{unit-D7bZ5bN-.js → unit-BJeua1T7.js} +3 -3
- package/package.json +3 -4
- package/dist/Publish-syGXcNlA.js +0 -1582
- package/dist/Takeaway-Bpoi-oyf.js +0 -64
- package/dist/Takeaway.vue_vue_type_script_setup_true_lang-Cg6RnIkW.js +0 -324
|
@@ -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, u as useMenuNavigatorStatus, R as RouteName } 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-BJZykcBx.js";
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, u as useMenuNavigatorStatus, R as RouteName } from "./app-BJA5-4eB.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-Dy-eMWb4.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-BQYLe0DU.js";
|
|
14
|
+
import { u as useAppStore } from "./app-B8GiVUrR.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) {
|
|
@@ -13463,7 +13463,7 @@ registerAuth(
|
|
|
13463
13463
|
"Browser"
|
|
13464
13464
|
/* ClientPlatform.BROWSER */
|
|
13465
13465
|
);
|
|
13466
|
-
var define_appEndpoint_default = { firebase: { apiKey: "
|
|
13466
|
+
var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "image.feedmedev.cc", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } };
|
|
13467
13467
|
async function initFirebase() {
|
|
13468
13468
|
if (getApps().length) {
|
|
13469
13469
|
console.warn("mf-menu:firebase already initialized by another app");
|
|
@@ -13496,7 +13496,7 @@ const _hoisted_1 = {
|
|
|
13496
13496
|
async function m(x) {
|
|
13497
13497
|
try {
|
|
13498
13498
|
if (!S.value) {
|
|
13499
|
-
const T = "
|
|
13499
|
+
const T = "MaGoXrEWuEJNpWgKTqseee";
|
|
13500
13500
|
console.log(`Initialize feature flag with key *${T.slice(T.length - 4)}`), await p({ apiKey: T });
|
|
13501
13501
|
}
|
|
13502
13502
|
await f(x);
|
|
@@ -13551,7 +13551,7 @@ const _hoisted_1 = {
|
|
|
13551
13551
|
x && x === F_MENU_VERSION.enum.v4 && router.addRoute({
|
|
13552
13552
|
path: "/serving-sequence",
|
|
13553
13553
|
name: "serving-sequence",
|
|
13554
|
-
component: () => import("./ServingSequence-
|
|
13554
|
+
component: () => import("./ServingSequence-D92cps_j.js")
|
|
13555
13555
|
});
|
|
13556
13556
|
}
|
|
13557
13557
|
), 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 A, createBlock as D, Fragment as G, renderList as H } from "vue";
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { L as $ } from "./LinkProductSideSheet-
|
|
4
|
+
import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-_MGk1b10.js";
|
|
5
|
+
import { L as $ } from "./LinkProductSideSheet-BluWowSV.js";
|
|
6
6
|
import { u as q } from "./search-BAPEUu1R.js";
|
|
7
|
-
import { u as J, as as Q } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as J, as as Q } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.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-CuLDiWC_.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-C01hHwqy.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-BJZykcBx.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 ue, computed as C, resolveComponent as y, createBlock as k, openBlock as m, createVNode as n, ref as z, createElementBlock as h, Fragment as L, renderSlot as ke, unref as e, withCtx as g, createElementVNode as _, createCommentVNode as $, renderList as Y, createTextVNode as he, toDisplayString as E, markRaw as Ve, toRaw as Fe, h as X, withModifiers as Z, normalizeClass as Oe } from "vue";
|
|
2
2
|
import { useRouter as Se } from "vue-router";
|
|
3
|
-
import { u as ge, F as Me, j as ve, b as _e, m as ce, a as we, d as Te, l as N, f as oe, h as ye, i as be, R as me, _ as Ue } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as ge, F as Me, j as ve, b as _e, m as ce, a as we, d as Te, l as N, f as oe, h as ye, i as be, R as me, _ as Ue } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
4
4
|
import { useI18n as re, useCoreStore as xe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as Ce, components as se, FmButtonVariant as H, FmButtonColorThemeVariant as ae, useDialog as Ae, useBreakpoints as De } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Ne, R as de } from "./app-
|
|
6
|
+
import { _ as Ne, R as de } from "./app-BJA5-4eB.js";
|
|
7
7
|
import { _ as $e } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
8
|
import { _ as ee } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
9
|
-
import { _ as Le } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as pe, a as Ee } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Le } from "./RuleView.vue_vue_type_script_setup_true_lang-_MGk1b10.js";
|
|
10
|
+
import { _ as pe, a as Ee } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BcQa7V0d.js";
|
|
11
11
|
import { c as Ie } from "./check-C9mY6LiX.js";
|
|
12
|
-
import { C as P, a as R } from "./catalogSetting-
|
|
12
|
+
import { C as P, a as R } from "./catalogSetting-BeiJ3_Fx.js";
|
|
13
13
|
import { _ as Be } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
14
|
-
import { C as Pe } from "./catalog-
|
|
14
|
+
import { C as Pe } from "./catalog-B3YnChlG.js";
|
|
15
15
|
const Re = /* @__PURE__ */ ue({
|
|
16
16
|
__name: "CatalogUsageTable",
|
|
17
17
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as $, useCoreStore as
|
|
1
|
+
import { defineComponent as Y, computed as A, ref as h, resolveComponent as k, createBlock as T, openBlock as y, unref as n, withCtx as V, createVNode as r, createElementVNode as s, toDisplayString as d, watch as X, createElementBlock as B, Fragment as M, h as K, renderList as Z, withModifiers as G } from "vue";
|
|
2
|
+
import { useI18n as $, useCoreStore as H } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as ee, components as ae } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as te } from "./app-
|
|
5
|
-
import { f as z,
|
|
6
|
-
import { u as se, l as ie } from "./discardConfirm-
|
|
7
|
-
const ue = { class: "fm-typo-en-title-md-600" }, ce = { class: "flex gap-8 items-center justify-start" }, de = /* @__PURE__ */
|
|
4
|
+
import { _ as te } from "./app-BJA5-4eB.js";
|
|
5
|
+
import { f as z, P as ne, O as P, u as le, b as oe, _ as j } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
6
|
+
import { u as se, l as ie } from "./discardConfirm-CuLDiWC_.js";
|
|
7
|
+
const ue = { class: "fm-typo-en-title-md-600" }, ce = { class: "flex gap-8 items-center justify-start" }, de = /* @__PURE__ */ Y({
|
|
8
8
|
__name: "UpdateCatalogAssignmentDialog",
|
|
9
9
|
props: {
|
|
10
10
|
catalogs: {
|
|
@@ -105,7 +105,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, ce = { class: "flex gap-8 items
|
|
|
105
105
|
businessLevelMode: "RESTAURANT_MENU_NOT_SUPPORTED_IN_BUSINESS_LEVEL_MODE"
|
|
106
106
|
};
|
|
107
107
|
function re() {
|
|
108
|
-
const { t: w } = $(), t =
|
|
108
|
+
const { t: w } = $(), t = H(), f = h(null), i = A(() => {
|
|
109
109
|
var b;
|
|
110
110
|
const e = (b = t.currentBusiness.value) == null ? void 0 : b.id;
|
|
111
111
|
if (!e || !t.isRestaurantLevelMenu.value) return;
|
|
@@ -133,10 +133,10 @@ function re() {
|
|
|
133
133
|
}
|
|
134
134
|
return { scopeKey: i, assignment: f, read: C, save: x, describeError: p };
|
|
135
135
|
}
|
|
136
|
-
const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(100dvh-56px)] xs:max-h-[calc(100dvh-56px)]" }, ge = { class: "flex items-center xs:mb-8 mb-24" }, pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, fe = { class: "grow flex flex-col gap-4" }, be = { class: "fm-typo-en-body-lg-600" }, ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, q = "catalog-assignment", Se = /* @__PURE__ */
|
|
136
|
+
const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(100dvh-56px)] xs:max-h-[calc(100dvh-56px)]" }, ge = { class: "flex items-center xs:mb-8 mb-24" }, pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, fe = { class: "grow flex flex-col gap-4" }, be = { class: "fm-typo-en-body-lg-600" }, ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, q = "catalog-assignment", Se = /* @__PURE__ */ Y({
|
|
137
137
|
__name: "CatalogBinding",
|
|
138
138
|
setup(w) {
|
|
139
|
-
const { t } = $(), f = le(), i =
|
|
139
|
+
const { t } = $(), f = le(), i = H(), C = ee(), x = oe(C), { scopeKey: p, assignment: e, read: u, save: b, describeError: N } = re(), c = h(!1), E = h(!1), I = h(), m = A(() => c.value || x.checkIsLoading(q)), o = A(() => f.catalogs);
|
|
140
140
|
function v(a) {
|
|
141
141
|
var l;
|
|
142
142
|
return a ? ((l = o.value.find((S) => S._id === a)) == null ? void 0 : l.name) ?? t("menu.catalog_binding.catalog.invalid") : t("menu.catalog_binding.catalog.main");
|
|
@@ -214,7 +214,7 @@ const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(10
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
async function
|
|
217
|
+
async function J(a) {
|
|
218
218
|
try {
|
|
219
219
|
await x.minor(
|
|
220
220
|
async () => {
|
|
@@ -240,7 +240,7 @@ const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(10
|
|
|
240
240
|
},
|
|
241
241
|
{ immediate: !0 }
|
|
242
242
|
), (a, l) => {
|
|
243
|
-
const S = k("FmTable"), R = k("FmButton"),
|
|
243
|
+
const S = k("FmTable"), R = k("FmButton"), Q = k("FmListItem"), W = k("FmList");
|
|
244
244
|
return y(), B(M, null, [
|
|
245
245
|
s("div", me, [
|
|
246
246
|
s("div", ge, [
|
|
@@ -269,7 +269,7 @@ const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(10
|
|
|
269
269
|
separator: ""
|
|
270
270
|
}, {
|
|
271
271
|
default: V(() => [
|
|
272
|
-
(y(!0), B(M, null, Z(F.value, (_) => (y(), T(
|
|
272
|
+
(y(!0), B(M, null, Z(F.value, (_) => (y(), T(Q, {
|
|
273
273
|
key: _._id,
|
|
274
274
|
label: _.displayName,
|
|
275
275
|
style: { padding: "12px 0 !important" },
|
|
@@ -315,7 +315,7 @@ const me = { class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(10
|
|
|
315
315
|
ref_key: "dialogRef",
|
|
316
316
|
ref: I,
|
|
317
317
|
catalogs: o.value,
|
|
318
|
-
onOnComplete:
|
|
318
|
+
onOnComplete: J
|
|
319
319
|
}, null, 8, ["catalogs"])
|
|
320
320
|
], 64);
|
|
321
321
|
};
|
|
@@ -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 j } from "@feedmepos/ui-library";
|
|
4
|
-
import { b as F, j as T, u as I, s as Y, h as q, i 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 { an as H } from "./item-
|
|
4
|
+
import { b as F, j as T, u as I, s as Y, h as q, i as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
5
|
+
import { _ as G } from "./app-BJA5-4eB.js";
|
|
6
|
+
import { u as B } from "./menu-DUOE-Q12.js";
|
|
7
|
+
import { an as H } from "./item-BQYLe0DU.js";
|
|
8
8
|
const J = {
|
|
9
9
|
key: 0
|
|
10
10
|
}, Q = {
|
|
@@ -2,13 +2,13 @@ import { defineComponent as L, ref as $, computed as C, h as m, withModifiers as
|
|
|
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, j as D, h as ee, i as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as N, j as D, h as ee, i as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.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-BJA5-4eB.js";
|
|
8
8
|
import { c as le } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { A as se, an as R } from "./item-
|
|
9
|
+
import { A as se, an as R } from "./item-BQYLe0DU.js";
|
|
10
10
|
import { _ as re } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
11
|
-
import { u as j, a as ce } from "./menu-
|
|
11
|
+
import { u as j, a as ce } from "./menu-DUOE-Q12.js";
|
|
12
12
|
const ie = se, me = {
|
|
13
13
|
key: 0
|
|
14
14
|
}, ue = {
|
|
@@ -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 { f as ee, h as ue, i as re, J as pe, u as Ve, j 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-BJA5-4eB.js";
|
|
6
|
+
import { f as ee, h as ue, i as re, J as pe, u as Ve, j as Fe, b as Se, _ as Ie } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
7
|
+
import { u as ge, l as _e } from "./discardConfirm-CuLDiWC_.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-_MGk1b10.js";
|
|
10
|
+
import { L as Oe } from "./LinkProductSideSheet-BluWowSV.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-BJZykcBx.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({
|
|
@@ -2,9 +2,9 @@ import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref
|
|
|
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 { ao as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-FWqqHQ20.js";
|
|
6
|
+
import { ao as b } from "./item-BQYLe0DU.js";
|
|
7
|
+
import { a as h } from "./menu-DUOE-Q12.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) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as le, computed as v, resolveComponent as V, createBlock as $, openBlock as d, withCtx as C, createElementBlock as _, Fragment as L, renderList as oe, createElementVNode as f, normalizeClass as W, toDisplayString as A, createVNode as i, createCommentVNode as R, unref as u, ref as E, watch as De, h as H, mergeProps as Te, createSlots as Pe, withModifiers as Ee, isRef as Q, nextTick as fe } from "vue";
|
|
2
|
-
import { l as te } from "./discardConfirm-
|
|
2
|
+
import { l as te } from "./discardConfirm-CuLDiWC_.js";
|
|
3
3
|
import { d as Le } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
4
|
-
import { u as _e, j as Ue, b as je, F as ne, k as w, m as ze, _ as Be, a as Ke, i as ve, h as Ye } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as _e, j as Ue, b as je, F as ne, k as w, m as ze, _ as Be, a as Ke, i as ve, h as Ye } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
5
5
|
import { b as ge, H as He } from "./app-5fxKLAzS.js";
|
|
6
6
|
import { useI18n as be, useCoreStore as qe, useCustomAttributes as Qe } from "@feedmepos/mf-common";
|
|
7
7
|
import { useBreakpoints as he, useSnackbar as We, useDialog as Je, components as Xe, FmButtonVariant as Ze } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as et, a as tt } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as nt } from "./app-
|
|
8
|
+
import { _ as et, a as tt } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CBRNh-O-.js";
|
|
9
|
+
import { _ as nt } from "./app-BJA5-4eB.js";
|
|
10
10
|
import { _ as ot, a as lt } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { c as rt } from "./object-DVUNCr7w.js";
|
|
12
|
-
import { _ as at } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { O as ye, as as ut, at as st, ao as it, a8 as ct, a4 as mt, U as dt } from "./item-
|
|
12
|
+
import { _ as at } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-4xmgAa5D.js";
|
|
13
|
+
import { O as ye, as as ut, at as st, ao as it, a8 as ct, a4 as mt, U as dt } from "./item-BQYLe0DU.js";
|
|
14
14
|
import { _ as pt } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
15
15
|
import { u as ft } from "./search-BAPEUu1R.js";
|
|
16
16
|
import { c as vt } from "./check-C9mY6LiX.js";
|
|
17
|
-
import { C as gt, e as yt, d as _t } from "./catalog-
|
|
17
|
+
import { C as gt, e as yt, d as _t } from "./catalog-B3YnChlG.js";
|
|
18
18
|
const bt = /* @__PURE__ */ le({
|
|
19
19
|
__name: "ResponsiveContextMenu",
|
|
20
20
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as I, openBlock as b, ref as L, watch as W, withCtx as f, createElementBlock as F, createElementVNode as U, Fragment as q, renderList as X, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
|
|
2
2
|
import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
4
|
-
import { u as D } from "./priceTier-
|
|
4
|
+
import { u as D } from "./priceTier-BFauU3rd.js";
|
|
5
5
|
import { b as O } from "./app-5fxKLAzS.js";
|
|
6
6
|
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as j } from "@feedmepos/ui-library";
|
|
7
|
-
import { m as G, f as Y, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { L as R } from "./catalogSetting-
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
7
|
+
import { m as G, f as Y, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-_MGk1b10.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-BeiJ3_Fx.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-BluWowSV.js";
|
|
10
10
|
import { c as H } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as pe, f as J, $ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as pe, f as J, $ as ce } from "./index.vue_vue_type_script_setup_true_lang-BJZykcBx.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const _e = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|