@feedmepos/mf-menu 0.31.25-prod → 0.31.26-beta
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-Dh1pqMOa.js → App-CmVRrtzl.js} +20 -20
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-fMSzWXLm.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CCEY8zww.js} +2 -2
- package/dist/{Catalog-Dz2FWCF9.js → Catalog-hfPWMIqJ.js} +5 -5
- package/dist/{Category-DZMZp5Nt.js → Category-MHj2SHDY.js} +4 -4
- package/dist/{Category-CePNCz6K.js → Category-RWgR5RPC.js} +5 -5
- package/dist/{CookingGuide-X620J8BM.js → CookingGuide-D2IbZIM2.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-KrGcIPtk.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C3eUxz-L.js} +1 -1
- package/dist/{Group-BkX5h_LK.js → Group-4j_yrF1A.js} +3 -3
- package/dist/{Group--nU_rj9s.js → Group-C6dDhtam.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DK7DJi38.js → Group.vue_vue_type_script_setup_true_lang-D2b3lWnP.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B9M9SGm7.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DezcrneE.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CZDLJE-D.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CIOrpuZN.js} +10652 -10528
- package/dist/{Ingredient-DfhaZ-wr.js → Ingredient-BOM5f1Ro.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CiaFq05P.js → InventoryBinding.vue_vue_type_script_setup_true_lang-mnsufxZx.js} +2 -2
- package/dist/{LinkProductSideSheet-BKAP9Tyv.js → LinkProductSideSheet-CqRP7Dbg.js} +1 -1
- package/dist/{MenuSetting-DKLq8pGh.js → MenuSetting-BP_SRn7_.js} +4 -4
- package/dist/{PrintRoute-Cov4oghW.js → PrintRoute-Dx83MXq5.js} +3 -3
- package/dist/{Product-BgdoNBSK.js → Product-Dzj1sFSD.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-9E6_VC3G.js → Product.vue_vue_type_script_setup_true_lang-DiEDSXIy.js} +11 -11
- package/dist/{ProductInternalTools-C98zVdOZ.js → ProductInternalTools-mAsVWmtM.js} +6 -6
- package/dist/{Products-CLM1i5xG.js → Products-CS0DpqQ-.js} +10 -10
- package/dist/{Publish-5gruOuZx.js → Publish-BjHWdTkt.js} +3 -3
- package/dist/{Recipe-CYIpkOYQ.js → Recipe-B-wYnW0w.js} +4 -4
- package/dist/{Scheduler-Dq9MV_-G.js → Scheduler-DTvU9SnZ.js} +3 -3
- package/dist/{ServingSequence-CuCFy7F5.js → ServingSequence-DpNV6JL7.js} +3 -3
- package/dist/{Setting-MEmtR1ZU.js → Setting-DEMaXO6I.js} +4 -4
- package/dist/{Subcategory-DUoqN9M6.js → Subcategory-Bntu00RK.js} +4 -4
- package/dist/{Takeaway-CVmAgqzA.js → Takeaway-BHXbUNRi.js} +1 -1
- package/dist/{Takeaway-pFU8-TUG.js → Takeaway-DvdyfhDH.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cn9JgG5U.js → Takeaway.vue_vue_type_script_setup_true_lang-Dj6dHEU8.js} +5 -5
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B4DHOLSa.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0wvmU7EA.js} +13 -13
- package/dist/{Unit-C6TibREI.js → Unit-BHzKfnRa.js} +2 -2
- package/dist/{Variant-Ck0YGXis.js → Variant-3eXw7Ofo.js} +3 -3
- package/dist/{_id_-B8kMmYWo.js → _id_-YzFBsmdR.js} +9 -9
- package/dist/{app-BJ1KW8tq.js → app-B8wzphuq.js} +1 -1
- package/dist/{app-BsOc-hDy.js → app-D-txe13V.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +3 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-QB7vUygN.js → linked-status-rZ725JW4.js} +2 -2
- package/dist/assets/{override-menu-jClpu51E.js → override-menu-C-WbLa1W.js} +2 -2
- package/dist/assets/{validate-menu-5nm88Xyf.js → validate-menu-CMtuHFoh.js} +2 -2
- package/dist/{catalog-DDK-30Sr.js → catalog-D6N_vbUK.js} +1 -1
- package/dist/{catalogSetting-Cb7F67Pn.js → catalogSetting-DQ7QXUPB.js} +1 -1
- package/dist/{category-CpktXRmc.js → category-DQcwwieP.js} +1 -1
- package/dist/{currency-CR_0D_Ja.js → currency-2OYgsGeg.js} +1 -1
- package/dist/{dayjs.min-CoJvRvbv.js → dayjs.min-Dfg_PyYQ.js} +1 -1
- package/dist/{index-1EJqSZcC.js → index-BgWYUt5I.js} +3 -3
- package/dist/{index-DKFy67sf.js → index-CtkGKZ0h.js} +2 -2
- package/dist/{index-7wYavAQg.js → index-D8z0V2Kl.js} +1 -1
- package/dist/{item-C3_VwZTx.js → item-Z3PUu2TZ.js} +661 -661
- package/dist/{jszip.min--pyepd6o.js → jszip.min-C7i1HiyO.js} +245 -245
- package/dist/{menu-BQktlR6E.js → menu-CqCxxWlg.js} +1 -1
- package/dist/{menu-sy0LPoiL.js → menu-nEyQb4Ot.js} +615 -622
- package/dist/{priceTier-D4VFUf2Y.js → priceTier-n1wcq86O.js} +1 -1
- package/dist/{scheduler-0-eB982B.js → scheduler-DIuOrYvo.js} +3 -3
- package/dist/{subcategory-DkgpE61N.js → subcategory-CrzQifWh.js} +48 -48
- package/dist/{toExcel-BfmkRGuA.js → toExcel-Di4CzDxu.js} +2 -2
- package/dist/{unit-B92p9AYV.js → unit-DyNWTc81.js} +1 -1
- package/package.json +1 -1
|
@@ -1826,7 +1826,7 @@ const gi = [
|
|
|
1826
1826
|
{
|
|
1827
1827
|
path: "/product",
|
|
1828
1828
|
name: "$menu-products",
|
|
1829
|
-
component: y(() => import("./Products-
|
|
1829
|
+
component: y(() => import("./Products-CS0DpqQ-.js")),
|
|
1830
1830
|
meta: {
|
|
1831
1831
|
isNavItem: !0,
|
|
1832
1832
|
i18nId: "menu.products.title"
|
|
@@ -1836,7 +1836,7 @@ const gi = [
|
|
|
1836
1836
|
path: "/product-internal-tools",
|
|
1837
1837
|
name: "$menu-product-internal-tools",
|
|
1838
1838
|
component: pt(
|
|
1839
|
-
y(() => import("./ProductInternalTools-
|
|
1839
|
+
y(() => import("./ProductInternalTools-mAsVWmtM.js"))
|
|
1840
1840
|
),
|
|
1841
1841
|
meta: {
|
|
1842
1842
|
i18nId: "menu.productInternalTools.title",
|
|
@@ -1849,7 +1849,7 @@ const gi = [
|
|
|
1849
1849
|
{
|
|
1850
1850
|
path: "/category",
|
|
1851
1851
|
name: "$menu-category",
|
|
1852
|
-
component: y(() => import("./Category-
|
|
1852
|
+
component: y(() => import("./Category-RWgR5RPC.js")),
|
|
1853
1853
|
meta: {
|
|
1854
1854
|
isNavItem: !0,
|
|
1855
1855
|
i18nId: "menu.category.title"
|
|
@@ -1858,7 +1858,7 @@ const gi = [
|
|
|
1858
1858
|
{
|
|
1859
1859
|
path: "/subcategory",
|
|
1860
1860
|
name: "$menu-subcategory",
|
|
1861
|
-
component: y(() => import("./Subcategory-
|
|
1861
|
+
component: y(() => import("./Subcategory-Bntu00RK.js")),
|
|
1862
1862
|
meta: {
|
|
1863
1863
|
isNavItem: () => P.value,
|
|
1864
1864
|
i18nId: "menu.subcategory.title"
|
|
@@ -1867,7 +1867,7 @@ const gi = [
|
|
|
1867
1867
|
{
|
|
1868
1868
|
path: "/group",
|
|
1869
1869
|
name: "$menu-group",
|
|
1870
|
-
component: y(() => import("./Group-
|
|
1870
|
+
component: y(() => import("./Group-4j_yrF1A.js")),
|
|
1871
1871
|
meta: {
|
|
1872
1872
|
isNavItem: !0,
|
|
1873
1873
|
i18nId: "menu.group.title"
|
|
@@ -1876,7 +1876,7 @@ const gi = [
|
|
|
1876
1876
|
{
|
|
1877
1877
|
path: "/takeaway",
|
|
1878
1878
|
name: "$menu-takeaway",
|
|
1879
|
-
component: y(() => import("./Takeaway-
|
|
1879
|
+
component: y(() => import("./Takeaway-DvdyfhDH.js")),
|
|
1880
1880
|
meta: {
|
|
1881
1881
|
isNavItem: !0,
|
|
1882
1882
|
i18nId: "menu.takeaway.title"
|
|
@@ -1885,7 +1885,7 @@ const gi = [
|
|
|
1885
1885
|
{
|
|
1886
1886
|
path: "/scheduler",
|
|
1887
1887
|
name: "$menu-scheduler",
|
|
1888
|
-
component: y(() => import("./Scheduler-
|
|
1888
|
+
component: y(() => import("./Scheduler-DTvU9SnZ.js")),
|
|
1889
1889
|
meta: {
|
|
1890
1890
|
isNavItem: !0,
|
|
1891
1891
|
i18nId: "menu.scheduler.title"
|
|
@@ -1894,7 +1894,7 @@ const gi = [
|
|
|
1894
1894
|
{
|
|
1895
1895
|
path: "/variant",
|
|
1896
1896
|
name: "$menu-variant",
|
|
1897
|
-
component: y(() => import("./Variant-
|
|
1897
|
+
component: y(() => import("./Variant-3eXw7Ofo.js")),
|
|
1898
1898
|
meta: {
|
|
1899
1899
|
isNavItem: !0,
|
|
1900
1900
|
i18nId: "menu.variant.title"
|
|
@@ -1903,7 +1903,7 @@ const gi = [
|
|
|
1903
1903
|
{
|
|
1904
1904
|
path: "/recipe",
|
|
1905
1905
|
name: "$menu-recipe",
|
|
1906
|
-
component: y(() => import("./Recipe-
|
|
1906
|
+
component: y(() => import("./Recipe-B-wYnW0w.js")),
|
|
1907
1907
|
meta: {
|
|
1908
1908
|
isNavItem: () => !P.value,
|
|
1909
1909
|
i18nId: "menu.recipe.title"
|
|
@@ -1912,7 +1912,7 @@ const gi = [
|
|
|
1912
1912
|
{
|
|
1913
1913
|
path: "/ingredient",
|
|
1914
1914
|
name: "$menu-ingredient",
|
|
1915
|
-
component: y(() => import("./Ingredient-
|
|
1915
|
+
component: y(() => import("./Ingredient-BOM5f1Ro.js")),
|
|
1916
1916
|
meta: {
|
|
1917
1917
|
isNavItem: () => !P.value,
|
|
1918
1918
|
i18nId: "menu.ingredient.title"
|
|
@@ -1921,7 +1921,7 @@ const gi = [
|
|
|
1921
1921
|
{
|
|
1922
1922
|
path: "/unit",
|
|
1923
1923
|
name: "$menu-unit",
|
|
1924
|
-
component: y(() => import("./Unit-
|
|
1924
|
+
component: y(() => import("./Unit-BHzKfnRa.js")),
|
|
1925
1925
|
meta: {
|
|
1926
1926
|
isNavItem: () => !P.value,
|
|
1927
1927
|
i18nId: "menu.unit.title"
|
|
@@ -1930,7 +1930,7 @@ const gi = [
|
|
|
1930
1930
|
{
|
|
1931
1931
|
path: "/cooking-guide",
|
|
1932
1932
|
name: "$menu-cooking-guide",
|
|
1933
|
-
component: y(() => import("./CookingGuide-
|
|
1933
|
+
component: y(() => import("./CookingGuide-D2IbZIM2.js")),
|
|
1934
1934
|
meta: {
|
|
1935
1935
|
isNavItem: !0,
|
|
1936
1936
|
i18nId: "menu.cooking_guide.title"
|
|
@@ -1939,7 +1939,7 @@ const gi = [
|
|
|
1939
1939
|
{
|
|
1940
1940
|
path: "/print-route",
|
|
1941
1941
|
name: "$menu-print-route",
|
|
1942
|
-
component: y(() => import("./PrintRoute-
|
|
1942
|
+
component: y(() => import("./PrintRoute-Dx83MXq5.js")),
|
|
1943
1943
|
meta: {
|
|
1944
1944
|
isNavItem: !0,
|
|
1945
1945
|
i18nId: "menu.print_route.title"
|
|
@@ -1948,7 +1948,7 @@ const gi = [
|
|
|
1948
1948
|
{
|
|
1949
1949
|
path: "/serving-sequence",
|
|
1950
1950
|
name: "$menu-serving-sequence",
|
|
1951
|
-
component: y(() => import("./ServingSequence-
|
|
1951
|
+
component: y(() => import("./ServingSequence-DpNV6JL7.js")),
|
|
1952
1952
|
meta: {
|
|
1953
1953
|
isNavItem: () => P.value,
|
|
1954
1954
|
i18nId: "menu.serving_sequence.title"
|
|
@@ -1957,7 +1957,7 @@ const gi = [
|
|
|
1957
1957
|
{
|
|
1958
1958
|
path: "/publish",
|
|
1959
1959
|
name: "$menu-publish",
|
|
1960
|
-
component: y(() => import("./Publish-
|
|
1960
|
+
component: y(() => import("./Publish-BjHWdTkt.js")),
|
|
1961
1961
|
meta: {
|
|
1962
1962
|
isNavItem: !0,
|
|
1963
1963
|
i18nId: "menu.publish.title"
|
|
@@ -1970,7 +1970,7 @@ const gi = [
|
|
|
1970
1970
|
{
|
|
1971
1971
|
path: "/setting",
|
|
1972
1972
|
name: "$menu-menu-setting",
|
|
1973
|
-
component: y(() => import("./MenuSetting-
|
|
1973
|
+
component: y(() => import("./MenuSetting-BP_SRn7_.js")),
|
|
1974
1974
|
meta: {
|
|
1975
1975
|
isNavItem: !0,
|
|
1976
1976
|
i18nId: "menu.menu_setting.title"
|
|
@@ -1985,7 +1985,7 @@ const gi = [
|
|
|
1985
1985
|
{
|
|
1986
1986
|
path: "/catalog",
|
|
1987
1987
|
name: "$menu-catalog",
|
|
1988
|
-
component: y(() => import("./Catalog-
|
|
1988
|
+
component: y(() => import("./Catalog-hfPWMIqJ.js")),
|
|
1989
1989
|
meta: {
|
|
1990
1990
|
isNavItem: !0,
|
|
1991
1991
|
i18nId: "menu.catalog.title"
|
|
@@ -1993,7 +1993,7 @@ const gi = [
|
|
|
1993
1993
|
},
|
|
1994
1994
|
{
|
|
1995
1995
|
path: "/catalog/edit/:id",
|
|
1996
|
-
component: y(() => import("./_id_-
|
|
1996
|
+
component: y(() => import("./_id_-YzFBsmdR.js")),
|
|
1997
1997
|
name: "$menu-catalog-edit",
|
|
1998
1998
|
children: [
|
|
1999
1999
|
{
|
|
@@ -2005,31 +2005,31 @@ const gi = [
|
|
|
2005
2005
|
},
|
|
2006
2006
|
{
|
|
2007
2007
|
path: "/catalog/edit/:id/product",
|
|
2008
|
-
component: y(() => import("./Product-
|
|
2008
|
+
component: y(() => import("./Product-Dzj1sFSD.js")),
|
|
2009
2009
|
name: "$menu-catalog-edit-product"
|
|
2010
2010
|
/* EDIT_CATALOG_PRODUCT */
|
|
2011
2011
|
},
|
|
2012
2012
|
{
|
|
2013
2013
|
path: "/catalog/edit/:id/category",
|
|
2014
|
-
component: y(() => import("./Category-
|
|
2014
|
+
component: y(() => import("./Category-MHj2SHDY.js")),
|
|
2015
2015
|
name: "$menu-catalog-edit-category"
|
|
2016
2016
|
/* EDIT_CATALOG_CATEGORY */
|
|
2017
2017
|
},
|
|
2018
2018
|
{
|
|
2019
2019
|
path: "/catalog/edit/:id/group",
|
|
2020
|
-
component: y(() => import("./Group
|
|
2020
|
+
component: y(() => import("./Group-C6dDhtam.js")),
|
|
2021
2021
|
name: "$menu-catalog-edit-group"
|
|
2022
2022
|
/* EDIT_CATALOG_GROUP */
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
2025
|
path: "/catalog/edit/:id/takeaway",
|
|
2026
|
-
component: y(() => import("./Takeaway-
|
|
2026
|
+
component: y(() => import("./Takeaway-BHXbUNRi.js")),
|
|
2027
2027
|
name: "$menu-catalog-edit-takeaway"
|
|
2028
2028
|
/* EDIT_CATALOG_TAKEAWAY */
|
|
2029
2029
|
},
|
|
2030
2030
|
{
|
|
2031
2031
|
path: "/catalog/edit/:id/setting",
|
|
2032
|
-
component: y(() => import("./Setting-
|
|
2032
|
+
component: y(() => import("./Setting-DEMaXO6I.js")),
|
|
2033
2033
|
name: "$menu-catalog-edit-setting"
|
|
2034
2034
|
/* EDIT_CATALOG_SETTING */
|
|
2035
2035
|
}
|
|
@@ -2037,7 +2037,7 @@ const gi = [
|
|
|
2037
2037
|
}
|
|
2038
2038
|
], si = "treeEditorOpen", yi = () => {
|
|
2039
2039
|
window.postMessage({ type: si }, "*");
|
|
2040
|
-
}, bi = y(() => import("./App-
|
|
2040
|
+
}, bi = y(() => import("./App-CmVRrtzl.js"));
|
|
2041
2041
|
function hi(e, t) {
|
|
2042
2042
|
e.use(Wa);
|
|
2043
2043
|
}
|
package/dist/app.js
CHANGED
|
@@ -3,6 +3,7 @@ import { type WorkBook } from "xlsx";
|
|
|
3
3
|
import { FdoDinero } from "@feedmepos/core/entity";
|
|
4
4
|
import { FdoMenuV4, FdoMenuV4Category, FdoMenuV4Item, FdoMenuV4VariantGroup, FdoMenuV4Takeaway, FdoItemOverriderV4, FdoMenuV4Catalog, FdoItemVariant, F_ORDER_FROM } from "@feedmepos/menu/entity";
|
|
5
5
|
import type { FdoGroupOverriderV4 } from "@feedmepos/menu/entity";
|
|
6
|
+
import type { GroupItem } from "@/manager/menu/group";
|
|
6
7
|
interface ExportMenuDataRow {
|
|
7
8
|
_id: string;
|
|
8
9
|
code: string;
|
|
@@ -113,6 +114,7 @@ export declare class MenuExport {
|
|
|
113
114
|
}, combinationKey?: string | null | undefined): ExportMenuDataRow;
|
|
114
115
|
transformAddonGroup(): ExportAddonGroupRow[];
|
|
115
116
|
transformOverrideAddonGroup(data: FdoGroupOverriderV4[]): ExportAddonGroupRow[];
|
|
117
|
+
private mapCatalogAddonGroup;
|
|
116
118
|
private mapAddonGroup;
|
|
117
119
|
transformItemsLinkWithGroup(): {};
|
|
118
120
|
exportToExcel(): any[];
|
|
@@ -162,6 +164,7 @@ export declare class MenuImport {
|
|
|
162
164
|
[groupId: string]: GroupedAddon[];
|
|
163
165
|
}): any;
|
|
164
166
|
procesCatalogAddon(catalogAddons: ExportAddonGroupRow[][]): any;
|
|
167
|
+
generateUpdateItemWithVariant(itemOverriders: any[]): GroupItem[];
|
|
165
168
|
handleVariants(item: GroupedItem): FdoItemVariant;
|
|
166
169
|
deleteItem(groupedItems: {
|
|
167
170
|
[itemId: string]: GroupedItem;
|