@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
|
@@ -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-CTVmj2s2.js";
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, u as useMenuNavigatorStatus, R as RouteName } from "./app-Cj0pR2T4.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-B6XUvI7o.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-D7VvCAQD.js";
|
|
14
|
+
import { u as useAppStore } from "./app-CCnyILTK.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) {
|
|
@@ -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-C2ENIvYn.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-D_yLnxKQ.js";
|
|
5
|
+
import { L as $ } from "./LinkProductSideSheet-CyfNHiCW.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-CTVmj2s2.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-CNbn-98W.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-B7ScMyxd.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-CTVmj2s2.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-CTVmj2s2.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-Cj0pR2T4.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-D_yLnxKQ.js";
|
|
10
|
+
import { _ as pe, a as Ee } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CZRL6oLu.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-DqkosGOo.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-_745fqJH.js";
|
|
15
15
|
const Re = /* @__PURE__ */ ue({
|
|
16
16
|
__name: "CatalogUsageTable",
|
|
17
17
|
props: {
|
|
@@ -80,7 +80,7 @@ const Re = /* @__PURE__ */ ue({
|
|
|
80
80
|
}), ze = { class: "space-y-32" }, je = {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: "pl-32 space-x-8"
|
|
83
|
-
}, Ge = { class: "pl-[60px] space-y-16" },
|
|
83
|
+
}, Ge = { class: "space-y-16" }, Ke = { class: "pl-[60px] space-y-16" }, We = { class: "space-x-16 flex items-center" }, Ye = { class: "flex-1 space-y-4" }, He = { class: "fm-typo-en-body-lg-400" }, qe = { class: "fm-typo-en-body-md-400" }, Je = { class: "flex gap-8 items-center justify-start" }, Qe = /* @__PURE__ */ ue({
|
|
84
84
|
__name: "Form",
|
|
85
85
|
setup(le, { expose: M }) {
|
|
86
86
|
const p = z(!1), w = z(!1), I = (i, s) => {
|
|
@@ -164,7 +164,7 @@ const Re = /* @__PURE__ */ ue({
|
|
|
164
164
|
"max-width": 560
|
|
165
165
|
}, {
|
|
166
166
|
"side-sheet-footer": g(() => [
|
|
167
|
-
_("div",
|
|
167
|
+
_("div", Je, [
|
|
168
168
|
n(U, {
|
|
169
169
|
loading: w.value,
|
|
170
170
|
label: e(r)("menu.common.actions.add"),
|
|
@@ -245,14 +245,16 @@ const Re = /* @__PURE__ */ ue({
|
|
|
245
245
|
label: e(r)("menu.catalog.form.statutory_charges.title")
|
|
246
246
|
}, {
|
|
247
247
|
default: g(() => [
|
|
248
|
-
(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
248
|
+
_("div", Ge, [
|
|
249
|
+
(m(!0), h(L, null, Y(D.value, (t) => (m(), k(l, {
|
|
250
|
+
key: t.code,
|
|
251
|
+
"model-value": A(t.code),
|
|
252
|
+
label: e(r)("menu.catalog.form.statutory_charges.waive", { name: t.name }),
|
|
253
|
+
"label-placement": "right",
|
|
254
|
+
sublabel: e(r)("menu.catalog.form.statutory_charges.sublabel"),
|
|
255
|
+
"onUpdate:modelValue": (v) => q(t.code, v)
|
|
256
|
+
}, null, 8, ["model-value", "label", "sublabel", "onUpdate:modelValue"]))), 128))
|
|
257
|
+
])
|
|
256
258
|
]),
|
|
257
259
|
_: 1
|
|
258
260
|
}, 8, ["label"])) : $("", !0)
|
|
@@ -302,7 +304,7 @@ const Re = /* @__PURE__ */ ue({
|
|
|
302
304
|
sublabel: e(r)("menu.catalog.form.markup.auto.sublabel"),
|
|
303
305
|
"onUpdate:modelValue": s[4] || (s[4] = (t) => u.value.markupOptions = t ? [] : null)
|
|
304
306
|
}, null, 8, ["model-value", "label", "sublabel"]),
|
|
305
|
-
_("div",
|
|
307
|
+
_("div", Ke, [
|
|
306
308
|
n(pe, {
|
|
307
309
|
categories: e(V).categories,
|
|
308
310
|
items: e(V).items,
|
|
@@ -337,16 +339,16 @@ const Re = /* @__PURE__ */ ue({
|
|
|
337
339
|
onClick: F
|
|
338
340
|
}, {
|
|
339
341
|
default: g(() => [
|
|
340
|
-
_("div",
|
|
341
|
-
_("div",
|
|
342
|
+
_("div", We, [
|
|
343
|
+
_("div", Ye, [
|
|
342
344
|
n(S, { class: "text-fm-color-typo-info bg-fm-color-system-info-100 font-semibold" }, {
|
|
343
345
|
default: g(() => [
|
|
344
346
|
he(E(e(r)("menu.catalog.form.markup.percentage", { value: t.percentage })), 1)
|
|
345
347
|
]),
|
|
346
348
|
_: 2
|
|
347
349
|
}, 1024),
|
|
348
|
-
_("p",
|
|
349
|
-
_("p",
|
|
350
|
+
_("p", He, E(e(r)("menu.catalog.form.markup.config", { number: v + 1 })), 1),
|
|
351
|
+
_("p", qe, E(t.includeItems ? e(r)("menu.catalog.form.markup.products", {
|
|
350
352
|
count: t.includeItems.length
|
|
351
353
|
}) : e(r)("menu.catalog.form.markup.all_items")), 1)
|
|
352
354
|
]),
|
|
@@ -379,35 +381,35 @@ const Re = /* @__PURE__ */ ue({
|
|
|
379
381
|
], 64);
|
|
380
382
|
};
|
|
381
383
|
}
|
|
382
|
-
}), fe =
|
|
384
|
+
}), fe = Qe, Xe = {
|
|
383
385
|
key: 0
|
|
384
|
-
}, Xe = {
|
|
385
|
-
class: "flex justify-end items-center"
|
|
386
386
|
}, Ze = {
|
|
387
|
-
class: "
|
|
387
|
+
class: "flex justify-end items-center"
|
|
388
388
|
}, ea = {
|
|
389
|
+
class: "w-[320px]"
|
|
390
|
+
}, aa = {
|
|
389
391
|
key: 1,
|
|
390
392
|
class: "flex-1 flex flex-col min-h-0"
|
|
391
|
-
}, aa = {
|
|
392
|
-
class: "p-8"
|
|
393
393
|
}, la = {
|
|
394
|
+
class: "p-8"
|
|
395
|
+
}, ta = {
|
|
394
396
|
class: "flex flex-1 flex-col min-h-0 overflow-scroll divide-y divide-fm-color-neutral-gray-100 pb-64"
|
|
395
|
-
},
|
|
397
|
+
}, oa = ["onClick"], na = {
|
|
396
398
|
class: "flex-1 space-y-4"
|
|
397
|
-
}, na = {
|
|
398
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
399
399
|
}, sa = {
|
|
400
400
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
401
401
|
}, ua = {
|
|
402
|
-
class: "fm-typo-en-body-
|
|
402
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
403
403
|
}, ra = {
|
|
404
|
-
class: "
|
|
404
|
+
class: "fm-typo-en-body-lg-600"
|
|
405
405
|
}, ia = {
|
|
406
|
-
class: "
|
|
406
|
+
class: "flex flex-row"
|
|
407
407
|
}, ca = {
|
|
408
|
+
class: "fm-typo-en-title-md-600"
|
|
409
|
+
}, ma = {
|
|
408
410
|
key: 0,
|
|
409
411
|
class: "space-y-24"
|
|
410
|
-
}, ne = "main",
|
|
412
|
+
}, ne = "main", Oa = /* @__PURE__ */ ue({
|
|
411
413
|
__name: "Catalog",
|
|
412
414
|
setup(le) {
|
|
413
415
|
const M = xe(), p = ge(), w = Ce(), I = _e(w), b = Ae(), V = ve(I), T = Se(), {
|
|
@@ -634,7 +636,7 @@ const Re = /* @__PURE__ */ ue({
|
|
|
634
636
|
_: 1
|
|
635
637
|
}, 8, ["subtitle", "title"])) : (m(), h(L, {
|
|
636
638
|
key: 1
|
|
637
|
-
}, [x.value ? (m(), h("div",
|
|
639
|
+
}, [x.value ? (m(), h("div", aa, [_("div", la, [n(O, {
|
|
638
640
|
autofocus: "",
|
|
639
641
|
modelValue: A.value,
|
|
640
642
|
"onUpdate:modelValue": a[3] || (a[3] = (c) => A.value = c),
|
|
@@ -642,11 +644,11 @@ const Re = /* @__PURE__ */ ue({
|
|
|
642
644
|
placeholder: e(d)("menu.common.labels.search_placeholder", {
|
|
643
645
|
type: e(d)("menu.catalog.title")
|
|
644
646
|
})
|
|
645
|
-
}, null, 8, ["modelValue", "placeholder"])]), _("div",
|
|
647
|
+
}, null, 8, ["modelValue", "placeholder"])]), _("div", ta, [(m(!0), h(L, null, Y(W.value, (c) => (m(), h("div", {
|
|
646
648
|
key: c.id,
|
|
647
649
|
class: "flex flex-row py-12 px-16 items-center",
|
|
648
650
|
onClick: (t) => J(c.id)
|
|
649
|
-
}, [_("div",
|
|
651
|
+
}, [_("div", na, [_("p", sa, " Tax calculation: " + E(c.taxMode), 1), _("p", ua, " Auto link product: " + E(c.autoLink), 1), _("p", ra, E(c.name), 1)]), _("div", ia, [n(S, {
|
|
650
652
|
"text-color": e(ae).NeutralGray400,
|
|
651
653
|
variant: e(H).Tertiary,
|
|
652
654
|
"prepend-icon": "file_copy",
|
|
@@ -656,7 +658,7 @@ const Re = /* @__PURE__ */ ue({
|
|
|
656
658
|
variant: e(H).Tertiary,
|
|
657
659
|
"prepend-icon": "delete",
|
|
658
660
|
onClick: Z((t) => i(c), ["stop"])
|
|
659
|
-
}, null, 8, ["text-color", "variant", "onClick"])])], 8,
|
|
661
|
+
}, null, 8, ["text-color", "variant", "onClick"])])], 8, oa))), 128))])])) : (m(), h("div", Xe, [_("div", Ze, [_("div", ea, [n(O, {
|
|
660
662
|
modelValue: A.value,
|
|
661
663
|
"onUpdate:modelValue": a[1] || (a[1] = (c) => A.value = c),
|
|
662
664
|
autofocus: "",
|
|
@@ -682,8 +684,8 @@ const Re = /* @__PURE__ */ ue({
|
|
|
682
684
|
"max-width": 1e3,
|
|
683
685
|
"dismiss-away": ""
|
|
684
686
|
}, {
|
|
685
|
-
"side-sheet-header": g(() => [_("p",
|
|
686
|
-
default: g(() => [D.value ? (m(), h("div",
|
|
687
|
+
"side-sheet-header": g(() => [_("p", ca, E(e(d)("menu.catalog.usage.title")), 1)]),
|
|
688
|
+
default: g(() => [D.value ? (m(), h("div", ma, [(m(!0), h(L, null, Y(q.value, (c, t) => (m(), k(Re, {
|
|
687
689
|
key: t,
|
|
688
690
|
catalog: c
|
|
689
691
|
}, null, 8, ["catalog"]))), 128))])) : $("", !0)]),
|
|
@@ -695,5 +697,5 @@ const Re = /* @__PURE__ */ ue({
|
|
|
695
697
|
}
|
|
696
698
|
});
|
|
697
699
|
export {
|
|
698
|
-
|
|
700
|
+
Oa as default
|
|
699
701
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Q, 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
2
|
import { useI18n as $, useCoreStore as Y } 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, Q as ne, O as P, u as le, b as oe, _ as j } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as se, l as ie } from "./discardConfirm-
|
|
4
|
+
import { _ as te } from "./app-Cj0pR2T4.js";
|
|
5
|
+
import { f as z, Q as ne, O as P, u as le, b as oe, _ as j } from "./index.vue_vue_type_script_setup_true_lang-CTVmj2s2.js";
|
|
6
|
+
import { u as se, l as ie } from "./discardConfirm-CNbn-98W.js";
|
|
7
7
|
const ue = { class: "fm-typo-en-title-md-600" }, ce = { class: "flex gap-8 items-center justify-start" }, de = /* @__PURE__ */ Q({
|
|
8
8
|
__name: "UpdateCatalogAssignmentDialog",
|
|
9
9
|
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 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-CTVmj2s2.js";
|
|
5
|
+
import { _ as G } from "./app-Cj0pR2T4.js";
|
|
6
|
+
import { u as B } from "./menu-B-kiQo1d.js";
|
|
7
|
+
import { an as H } from "./item-D7VvCAQD.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-CTVmj2s2.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-Cj0pR2T4.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-D7VvCAQD.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-B-kiQo1d.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-Cj0pR2T4.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-CTVmj2s2.js";
|
|
7
|
+
import { u as ge, l as _e } from "./discardConfirm-CNbn-98W.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-D_yLnxKQ.js";
|
|
10
|
+
import { L as Oe } from "./LinkProductSideSheet-CyfNHiCW.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-CTVmj2s2.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-Cz_OgBw3.js";
|
|
6
|
+
import { ao as b } from "./item-D7VvCAQD.js";
|
|
7
|
+
import { a as h } from "./menu-B-kiQo1d.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-CNbn-98W.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-CTVmj2s2.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-DhDGAjuD.js";
|
|
9
|
+
import { _ as nt } from "./app-Cj0pR2T4.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-DVDns9wB.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-D7VvCAQD.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-_745fqJH.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-vPn2WO6f.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-D_yLnxKQ.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-DqkosGOo.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-CyfNHiCW.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-CTVmj2s2.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const _e = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|